:root {
    color-scheme: light;
    --ink: #111827;
    --muted: #697386;
    --line: #e5e9f0;
    --blue: #2563eb;
    --blue-dark: #174bb8;
    --blue-soft: #edf4ff;
    --green: #22a45d;
    --surface: #ffffff;
    --page: #f7f9fc;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--ink);
    background: var(--page);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* Homepage */
.home-page { overflow-x: hidden; }

.site-header {
    width: min(1180px, calc(100% - 40px));
    height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    font-size: 19px;
    font-weight: 850;
    letter-spacing: -.025em;
    text-decoration: none;
}

.brand-name {
    display: grid;
    gap: 3px;
    line-height: 1;
}

.brand-name > span { white-space: nowrap; }
.brand-name b { color: var(--blue); font-weight: 850; }
.brand-name small {
    color: #68758a;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(145deg, #4285f4, #2058c9);
    box-shadow: 0 8px 18px rgba(37, 99, 235, .22);
    display: grid;
    place-items: center;
    font-size: 17px;
    font-weight: 900;
}

.header-action {
    padding: 10px 16px;
    border: 1px solid #dce3ef;
    border-radius: 9px;
    color: #2a3547;
    background: rgba(255,255,255,.75);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: border-color .2s ease, transform .2s ease;
}

.header-action:hover { border-color: #aebdd3; transform: translateY(-1px); }

.hero-section {
    min-height: 680px;
    position: relative;
    isolation: isolate;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: -82px 0 0;
    z-index: -3;
    background:
        linear-gradient(90deg, rgba(247,249,252,.98) 0%, rgba(247,249,252,.92) 44%, rgba(247,249,252,.35) 72%, rgba(247,249,252,.8) 100%),
        radial-gradient(circle at 82% 32%, #eaf2ff 0, transparent 42%);
}

.hero-glow {
    position: absolute;
    z-index: -2;
    border-radius: 999px;
    filter: blur(2px);
    pointer-events: none;
}

.hero-glow-blue {
    width: 430px;
    height: 430px;
    right: 5%;
    top: 65px;
    background: rgba(66,133,244,.11);
}

.hero-glow-green {
    width: 220px;
    height: 220px;
    right: 30%;
    bottom: 20px;
    background: rgba(52,168,83,.08);
}

.hero-content {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(470px, .95fr);
    align-items: center;
    gap: 54px;
    padding: 36px 0 76px;
}

.hero-copy { max-width: 650px; position: relative; z-index: 2; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 17px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.eyebrow i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34a853;
    box-shadow: 0 0 0 4px rgba(52,168,83,.12);
}

.hero-copy h1 {
    max-width: 640px;
    margin: 0;
    font-size: clamp(44px, 5.4vw, 72px);
    line-height: .99;
    letter-spacing: -.058em;
}

.hero-copy h1 > span {
    color: transparent;
    background: linear-gradient(100deg, #2563eb 5%, #4285f4 72%);
    background-clip: text;
    -webkit-background-clip: text;
}

.hero-copy > p {
    max-width: 580px;
    margin: 24px 0 29px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.primary-link,
.public-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 52px;
    border: 0;
    border-radius: 10px;
    padding: 0 23px;
    color: #fff;
    background: linear-gradient(135deg, #2f72ed, #245bd0);
    box-shadow: 0 13px 30px rgba(37, 99, 235, .24);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.primary-link:hover,
.public-button:hover { transform: translateY(-2px); box-shadow: 0 17px 34px rgba(37,99,235,.3); }
.primary-link > span { font-size: 20px; line-height: 1; }
.helper-text { color: #7b8595; font-size: 12px; font-weight: 650; }

.trust-row {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 27px;
    color: #536074;
    font-size: 12px;
    font-weight: 700;
}

.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row i { color: var(--green); font-style: normal; font-weight: 900; }

.product-stage {
    width: 100%;
    height: 540px;
    position: relative;
    z-index: 1;
}

.stage-orbit {
    position: absolute;
    border: 1px solid rgba(66,133,244,.14);
    border-radius: 50%;
    pointer-events: none;
}

.orbit-one { width: 430px; height: 430px; right: 22px; top: 40px; }
.orbit-two { width: 330px; height: 330px; right: 74px; top: 91px; }

.product-shadow {
    position: absolute;
    width: 370px;
    height: 75px;
    right: 40px;
    bottom: 50px;
    border-radius: 50%;
    background: rgba(29,43,69,.16);
    filter: blur(28px);
    transform: rotate(-4deg);
}

.product-card {
    position: absolute;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 26px rgba(21, 34, 58, .18));
    user-select: none;
}

.product-card-blue {
    width: 345px;
    left: 0;
    top: 142px;
    z-index: 1;
    transform: rotate(-8deg);
}

.product-card-black {
    width: 390px;
    right: -4px;
    top: 52px;
    z-index: 2;
    transform: rotate(6deg);
}

.floating-note {
    position: absolute;
    right: 15px;
    bottom: 57px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 10px;
    color: #344158;
    background: rgba(255,255,255,.88);
    box-shadow: 0 10px 28px rgba(23,37,62,.13);
    backdrop-filter: blur(12px);
    font-size: 11px;
    font-weight: 800;
}

.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #34a853; box-shadow: 0 0 0 4px rgba(52,168,83,.13); }

.purchase-panel {
    width: min(620px, calc(100% - 40px));
    margin: -48px auto 48px;
    padding: 18px;
    position: relative;
    z-index: 4;
    border: 1px solid rgba(211, 220, 234, .9);
    border-radius: 18px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 18px 48px rgba(31, 50, 84, .10);
    backdrop-filter: blur(14px);
}

.purchase-heading {
    margin-bottom: 13px;
    text-align: center;
}

.purchase-heading > span {
    display: block;
    margin-bottom: 3px;
    color: #7b8595;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.purchase-heading h2 {
    margin: 0;
    color: #1a2537;
    font-size: 18px;
    letter-spacing: -.025em;
}

.purchase-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.purchase-option {
    min-height: 78px;
    padding: 11px 15px;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.purchase-option:hover {
    transform: translateY(-2px);
    border-color: #c8d3e4;
    box-shadow: 0 10px 24px rgba(25, 42, 75, .09);
}

.purchase-icon {
    width: 54px;
    height: 54px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 13px;
}

.whatsapp-icon { background: #eafaf0; }
.whatsapp-icon svg { width: 34px; height: 34px; fill: #22a45d; }
.daraz-icon { width: 72px; background: #fff7f2; overflow: hidden; }
.daraz-icon img { width: 68px; height: 46px; display: block; object-fit: contain; }

.purchase-copy { min-width: 0; display: grid; gap: 4px; }
.purchase-copy strong { color: #1e293b; font-size: 14px; }
.purchase-copy small { color: #697386; font-size: 11px; font-weight: 650; line-height: 1.25; }
.purchase-whatsapp:hover { border-color: rgba(34,164,93,.35); }
.purchase-daraz:hover { border-color: rgba(226,84,13,.35); }

.steps-section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 90px 0 100px;
    border-top: 1px solid var(--line);
}

.section-heading { max-width: 640px; margin-bottom: 38px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 45px); line-height: 1.1; letter-spacing: -.04em; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.step-card {
    min-height: 220px;
    padding: 27px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(255,255,255,.74);
    box-shadow: 0 10px 28px rgba(25,40,70,.045);
}

.step-number {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 31px;
    border-radius: 10px;
    color: var(--blue);
    background: var(--blue-soft);
    font-size: 12px;
    font-weight: 850;
}

.step-card h3 { margin: 0 0 9px; font-size: 18px; letter-spacing: -.02em; }
.step-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.steps-cta {
    margin-top: 18px;
    padding: 24px 27px;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(105deg, #17243c, #1c3158);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.steps-cta > div { display: grid; gap: 5px; }
.steps-cta strong { font-size: 17px; }
.steps-cta span { color: #afbdd5; font-size: 12px; }
.secondary-link { flex: none; padding: 11px 15px; border-radius: 8px; color: #17243c; background: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }

.site-footer {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 25px 0 36px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #7b8595;
    font-size: 11px;
}

/* Customer configuration page */
.configure-page {
    background:
        radial-gradient(circle at 12% 12%, rgba(66, 133, 244, .12), transparent 34%),
        radial-gradient(circle at 90% 85%, rgba(52, 168, 83, .09), transparent 32%),
        var(--page);
}

.configure-shell {
    width: min(620px, calc(100% - 32px));
    margin: auto;
    padding: 40px 0 70px;
}

.brand-link {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--ink);
    font-weight: 850;
    text-decoration: none;
}

.configure-card {
    padding: clamp(26px, 6vw, 48px);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 22px 60px rgba(34, 52, 91, .12);
}

.configure-card h1 { margin: 0; font-size: clamp(30px, 6vw, 44px); line-height: 1.05; letter-spacing: -.04em; }
.intro { margin: 16px 0 26px; color: var(--muted); line-height: 1.6; }
.configure-form { display: grid; gap: 17px; }
.configure-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 750; }
.configure-form input {
    width: 100%;
    min-height: 47px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 13px;
    color: var(--ink);
    background: #fff;
    font: inherit;
    outline: none;
}
.configure-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(40,104,232,.1); }
.public-button { width: 100%; margin-top: 4px; }
.public-alert { margin-bottom: 20px; padding: 12px 14px; border-radius: 8px; font-size: 14px; line-height: 1.45; }
.public-success { color: #176b36; background: #e9f8ef; }
.public-error { color: #9a251f; background: #fdeceb; }
.security-note { margin: 20px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }

@media (max-width: 980px) {
    .hero-content { grid-template-columns: 1fr; gap: 5px; padding-top: 70px; }
    .hero-copy { max-width: 720px; text-align: center; margin: auto; }
    .hero-copy > p { margin-left: auto; margin-right: auto; }
    .hero-actions, .trust-row { justify-content: center; }
    .product-stage { width: min(570px, 100%); margin: 0 auto; }
    .purchase-panel { margin-top: -18px; }
    .steps-section { padding-top: 65px; }
}

@media (max-width: 700px) {
    .site-header { width: min(100% - 28px, 1180px); height: 70px; }
    .header-action { padding: 9px 11px; font-size: 11px; }
    .hero-content { width: min(100% - 28px, 1180px); padding: 55px 0 45px; }
    .hero-copy h1 { font-size: clamp(40px, 13vw, 58px); }
    .hero-copy > p { font-size: 16px; }
    .hero-actions { flex-direction: column; gap: 12px; }
    .primary-link { width: 100%; max-width: 360px; }
    .trust-row { gap: 13px; }
    .product-stage { height: 420px; margin-top: 15px; }
    .product-card-blue { width: 270px; left: 0; top: 127px; }
    .product-card-black { width: 310px; right: -4px; top: 45px; }
    .orbit-one { width: 340px; height: 340px; right: 5px; }
    .orbit-two { width: 255px; height: 255px; right: 48px; }
    .floating-note { right: 4px; bottom: 25px; }
    .purchase-panel { width: min(100% - 28px, 620px); margin-top: -4px; padding: 14px; }
    .purchase-options { grid-template-columns: 1fr; }
    .purchase-option { min-height: 72px; }
    .steps-section { width: min(100% - 28px, 1180px); padding: 60px 0 70px; }
    .steps-grid { grid-template-columns: 1fr; }
    .step-card { min-height: auto; }
    .steps-cta { align-items: flex-start; flex-direction: column; }
    .secondary-link { width: 100%; text-align: center; }
    .site-footer { width: min(100% - 28px, 1180px); flex-direction: column; gap: 6px; }
}

@media (max-width: 430px) {
    .site-brand { gap: 7px; font-size: 13px; }
    .brand-mark { width: 30px; height: 30px; border-radius: 9px; font-size: 14px; }
    .brand-name small { font-size: 7px; letter-spacing: .12em; }
    .product-stage { height: 355px; }
    .product-card-blue { width: 220px; top: 110px; }
    .product-card-black { width: 255px; top: 40px; }
    .orbit-one { width: 285px; height: 285px; }
    .orbit-two { width: 215px; height: 215px; }
    .floating-note { bottom: 5px; }
}
