﻿:root {
    --ink: #0B1220;
    --ink-soft: #4A5578;
    --base: #F5F7FC;
    --card: #FFFFFF;
    --navy: #0D1730;
    --navy-2: #141F42;
    --blue: #2456F5;
    --blue-deep: #173BBD;
    --teal: #12B5A6;
    --wa-green: #25D366;
    --line: #E3E7F2;
    --radius: 14px;
    --bg: #ECEEF3;
    --surface: #FFFFFF;
    --border: #DDE1EA;
    --border-focus: #3B5BDB;
    --fg: #0F1628;
    --fg-mid: #3A4257;
    --fg-muted: #6B7385;
    --accent: #3B5BDB;
    --accent-light: #EEF1FD;
    --accent-hover: #2F4AC0;
    --red-dot: #E8463C;
    --error: #C92A2A;
    --error-bg: #FFF5F5;
    --card-shadow: 0 1px 2px rgba(15,22,40,.05), 0 4px 20px rgba(15,22,40,.08);
    --radius: 12px;
    --radius-sm: 7px;
    --font: 'Inter', system-ui, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html.home {
    scroll-behavior: smooth;
}

.home body {
    font-family: 'Inter', sans-serif;
    background: var(--base);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

.home h1, .home h2, .home h3, .home .display {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.home .mono {
    font-family: 'IBM Plex Mono', monospace;
}

.home a {
    color: inherit;
    text-decoration: none;
}

.home img {
    max-width: 100%;
    display: block;
}

.wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 32px;
}

@media(max-width:720px) {
    .home .wrap {
        padding: 0 20px;
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

:focus-visible {
 
}

/* ---------- NAV ---------- */
.home header.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(245,247,252,0.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.home .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    min-width: 1160px;
}

.home .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 20px;
    max-width: 160px;
}

.home .logo-mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: linear-gradient(155deg, var(--blue), var(--blue-deep));
    position: relative;
    flex-shrink: 0;
}

.home .logo-mark::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 11px;
    height: 11px;
    border-radius: 50% 50% 50% 4px;
    background: #fff;
    transform: rotate(-8deg);
    top: 9px;
    left: 9px;
}

.home nav.links {
    display: flex;
    gap: 34px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-soft);
}

.home nav.links a:hover {
    color: var(--ink);
}

.home .nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media(max-width:860px) {
    .home nav.links {
        display: none;
    }
}

.home .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14.5px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    white-space: nowrap;
}

.home .btn:hover {
    transform: translateY(-1px);
}

.home .btn-ghost {
    color: var(--ink);
    border-color: var(--line);
    background: transparent;
}

.home .btn-ghost:hover {
    background: #fff;
    border-color: #cfd6ea;
}

.home .btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(36,86,245,.65);
}

.home .btn-primary:hover {
    background: var(--blue-deep);
}

.home .btn-dark {
    background: var(--navy);
    color: #fff;
}

.home .btn-lg {
    padding: 15px 26px;
    font-size: 16px;
    border-radius: 12px;
}

/* ---------- HERO ---------- */
.hero {
    padding: 88px 0 60px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}

@media(max-width:900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-deep);
    background: #E9EEFE;
    border: 1px solid #D3DDFB;
    padding: 6px 12px 6px 8px;
    border-radius: 99px;
    margin-bottom: 22px;
}

    .eyebrow .dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--wa-green);
        animation: pulse 1.8s infinite;
    }

@keyframes pulse {
    0%,100% {
        opacity: 1;
    }

    50% {
        opacity: .35;
    }
}

.hero h1 {
    font-size: clamp(34px,4.6vw,56px);
    line-height: 1.06;
    font-weight: 700;
}

    .hero h1 span {
        color: var(--blue);
    }

.hero p.sub {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-meta {
    display: flex;
    gap: 28px;
    margin-top: 38px;
    flex-wrap: wrap;
}

    .hero-meta div {
        font-size: 13px;
        color: var(--ink-soft);
    }

    .hero-meta strong {
        display: block;
        font-family: 'Space Grotesk',sans-serif;
        font-size: 22px;
        color: var(--ink);
        font-weight: 700;
    }

/* ---- phone signature element ---- */
.phone-stage {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(36,86,245,.20), rgba(36,86,245,0) 70%);
    top: -40px;
    z-index: 0;
}

.phone {
    position: relative;
    z-index: 1;
    width: 300px;
    height: 610px;
    border-radius: 38px;
    background: var(--navy);
    padding: 12px;
    box-shadow: 0 30px 60px -20px rgba(13,23,48,.45), 0 8px 20px -8px rgba(13,23,48,.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    background: #EAF0FB;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.phone-bar {
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-notch {
    width: 80px;
    height: 16px;
    background: var(--navy);
    border-radius: 0 0 12px 12px;
}

.home .chat-head {
    background: var(--navy-2);
    color: #fff;
    padding: 12px 16px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.home .chat-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(155deg,var(--blue),var(--teal));
    flex-shrink: 0;
}

.home .chat-head .name {
    font-size: 14px;
    font-weight: 600;
    font-family: 'Space Grotesk',sans-serif;
}

.home .chat-head .status {
    font-size: 11px;
    color: #9FB0E8;
}

.home .chat-body {
    flex: 1;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-image: radial-gradient(#D9E1F5 1px, transparent 1px);
    background-size: 14px 14px;
    background-color: #EFF3FB;
}

.home .bubble {
    max-width: 82%;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 12.5px;
    line-height: 1.45;
    box-shadow: 0 1px 1px rgba(13,23,48,.05);
    opacity: 0;
    transform: translateY(6px);
    animation: rise .45s forwards;
}

@keyframes rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home .bubble.in {
    background: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.home .bubble.out {
    background: #DCF4E3;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    color: #0B1220;
}

.home .bubble .tag {
    display: block;
    font-family: 'IBM Plex Mono',monospace;
    font-size: 9.5px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--blue-deep);
    margin-bottom: 4px;
    font-weight: 500;
}

.home .bubble .time {
    display: block;
    margin-top: 5px;
    font-size: 10px;
    color: #8A93AE;
    text-align: right;
}

.home .bubble.out .time {
    color: #5c8f6b;
}

.home .chat-input {
    padding: 10px 12px 14px;
    background: #EFF3FB;
    display: flex;
    gap: 8px;
    align-items: center;
}

.home .chat-input .field {
    flex: 1;
    height: 34px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
}

.home .chat-input .send {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--blue);
    flex-shrink: 0;
}

.home .float-card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 12px 24px -10px rgba(13,23,48,.2);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.home .float-card .ic {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    flex-shrink: 0;
}

.home .float-1 {
    top: 60px;
    left: -18px;
}

.home .float-1 .ic {
    background: var(--teal);
}

.home .float-2 {
    bottom: 90px;
    right: -22px;
}

.home .float-2 .ic {
    background: var(--blue);
}

@media(max-width:900px) {
    .home .float-1, .float-2 {
        display: none;
    }
}

/* ---------- LOGO STRIP ---------- */
.strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 26px 0;
    background: #fff;
}

    .strip .wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 18px;
    }

    .strip .label {
        font-size: 12.5px;
        color: var(--ink-soft);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .06em;
    }

    .strip .figs {
        display: flex;
        gap: 44px;
        flex-wrap: wrap;
    }

        .strip .figs div {
            font-size: 13px;
            color: var(--ink-soft);
        }

        .strip .figs strong {
            font-family: 'Space Grotesk',sans-serif;
            color: var(--ink);
            font-size: 19px;
            display: block;
        }

/* ---------- SECTION HEADS ---------- */
section {
    padding: 96px 0;
}

.sec-head {
    max-width: 620px;
    margin-bottom: 56px;
}

    .sec-head .eyebrow-plain {
        font-size: 13px;
        font-weight: 700;
        color: var(--blue-deep);
        text-transform: uppercase;
        letter-spacing: .06em;
        margin-bottom: 14px;
        display: block;
    }

    .sec-head h2 {
        font-size: clamp(26px,3.2vw,38px);
        font-weight: 700;
        line-height: 1.15;
    }

    .sec-head p {
        margin-top: 14px;
        color: var(--ink-soft);
        font-size: 16px;
        line-height: 1.6;
    }

/* ---------- PRODUCT PILLARS ---------- */
.pillars {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}

@media(max-width:980px) {
    .pillars {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:560px) {
    .pillars {
        grid-template-columns: 1fr;
    }
}

.pillar {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    .pillar:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 34px -18px rgba(13,23,48,.18);
        border-color: #D3DDFB;
    }

    .pillar .icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        margin-bottom: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
    }

    .pillar h3 {
        font-size: 17px;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .pillar p {
        font-size: 14px;
        color: var(--ink-soft);
        line-height: 1.55;
    }

    .pillar .tag {
        display: inline-block;
        margin-top: 14px;
        font-size: 11px;
        font-family: 'IBM Plex Mono',monospace;
        color: var(--ink-soft);
    }

.ic-bulk {
    background: var(--blue);
}

.ic-key {
    background: #7C5CFC;
}

.ic-otp {
    background: #F5A524;
}

.ic-pay {
    background: var(--teal);
}

/* ---------- HOW IT WORKS ---------- */
.how {
    background: var(--navy);
    color: #fff;
    border-radius: 28px;
    padding: 72px 0;
    margin: 0 32px;
}

@media(max-width:900px) {
    .how {
        margin: 0 16px;
        padding: 56px 0;
    }
}

.how .wrap {
}

.how .sec-head h2, .how .sec-head p {
    color: #fff;
}

.how .sec-head p {
    color: #AEB9DE;
}

.how .sec-head .eyebrow-plain {
    color: #7FA0FF;
}

.home .steps {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 0;
    position: relative;
}

@media(max-width:820px) {
    .home .steps {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

.home .steps::before {
    content: "";
    position: absolute;
    top: 19px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #33437A, transparent);
}

@media(max-width:820px) {
    .home .steps::before {
        display: none;
    }
}

.home .step {
    padding: 0 22px;
    position: relative;
}

.home .step:first-child {
    padding-left: 0;
}

.home .step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy-2);
    border: 1px solid #33437A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'IBM Plex Mono',monospace;
    font-size: 13px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
    color: #7FA0FF;
}

.home .step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.home .step p {
    font-size: 14.5px;
    color: #AEB9DE;
    line-height: 1.6;
}

/* ---------- SPLIT FEATURE ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media(max-width:900px) {
    .split {
        grid-template-columns: 1fr;
    }
}

.split.reverse .split-copy {
    order: 2;
}

@media(max-width:900px) {
    .split.reverse .split-copy {
        order: 1;
    }
}

.split-copy .eyebrow-plain {
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-deep);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 14px;
    display: block;
}

.split-copy h2 {
    font-size: clamp(24px,2.8vw,32px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.split-copy p {
    color: var(--ink-soft);
    font-size: 15.5px;
    line-height: 1.65;
    margin-bottom: 22px;
}

.home .check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home .check-list li {
    display: flex;
    gap: 10px;
    font-size: 14.5px;
    color: var(--ink);
    align-items: flex-start;
}

.home .check-list .chk {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: #E9EEFE;
    color: var(--blue-deep);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-top: 1px;
}

.visual-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 24px 50px -28px rgba(13,23,48,.25);
}

    .visual-card .header-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 18px;
    }

        .visual-card .header-row .title {
            font-family: 'Space Grotesk',sans-serif;
            font-weight: 600;
            font-size: 15px;
        }

.home .pill {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 99px;
}

    .home .pill.green {
        background: #E1F7E7;
        color: #1C8A44;
    }

    .home .pill.blue {
        background: #E9EEFE;
        color: var(--blue-deep);
    }

.bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 12.5px;
}

    .bar-row .lbl {
        width: 88px;
        color: var(--ink-soft);
        flex-shrink: 0;
    }

.bar-track {
    flex: 1;
    height: 8px;
    background: #EEF1F9;
    border-radius: 99px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 99px;
    background: var(--blue);
}

.bar-row .val {
    width: 36px;
    text-align: right;
    font-family: 'IBM Plex Mono',monospace;
    color: var(--ink-soft);
    font-size: 11px;
}

.home .kw-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

.home .kw-row:last-child {
    border-bottom: none;
}

.home .kw-row .k {
    font-family: 'IBM Plex Mono',monospace;
    background: #EFF3FB;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
}

    .kw-row .a {
        color: var(--ink-soft);
    }

/* ---------- STATS BAND ---------- */
.home .stats {
    background: var(--base);
}

.home .stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 24px;
    text-align: center;
}

@media(max-width:760px) {
    .home .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.home .stat {
    padding: 32px 16px;
}

.home .stat strong {
    display: block;
    font-family: 'Space Grotesk',sans-serif;
    font-size: clamp(28px,3.4vw,40px);
    font-weight: 700;
    color: var(--blue-deep);
}

.home .stat span {
    font-size: 13.5px;
    color: var(--ink-soft);
    margin-top: 8px;
    display: block;
}

/* ---------- TESTIMONIAL ---------- */
.home .quote-card {
    background: linear-gradient(155deg, var(--navy), var(--navy-2));
    border-radius: 24px;
    padding: 56px;
    color: #fff;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 0 32px;
}

@media(max-width:900px) {
    .home .quote-card {
        grid-template-columns: 1fr;
        margin: 0 16px;
        padding: 36px 26px;
    }
}

.home .quote-card blockquote {
    font-family: 'Space Grotesk',sans-serif;
    font-size: clamp(20px,2.4vw,27px);
    line-height: 1.4;
    font-weight: 500;
}

.home .quote-card .who {
    margin-top: 24px;
    font-size: 14px;
    color: #AEB9DE;
}

.home .quote-card .who strong {
    color: #fff;
}

.home .quote-mini {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.home .quote-stat {
    border-left: 2px solid #33437A;
    padding-left: 16px;
}

.home .quote-stat strong {
    font-family: 'Space Grotesk',sans-serif;
    font-size: 24px;
    display: block;
}

.home .quote-stat span {
    font-size: 12.5px;
    color: #AEB9DE;
}

/* ---------- PRICING ---------- */
.home .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
}

@media(max-width:900px) {
    .home .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.home .price-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
}

.home .price-card.featured {
    border-color: var(--blue);
    box-shadow: 0 22px 46px -24px rgba(36,86,245,.35);
    position: relative;
}

.home .price-card.featured::before {
    content: "Most popular";
    position: absolute;
    top: -13px;
    left: 28px;
    background: var(--blue);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 99px;
}

.home .price-card h3 {
    font-size: 16px;
    font-weight: 600;
}

.home .price-card .amount {
    font-family: 'Space Grotesk',sans-serif;
    font-size: 38px;
    font-weight: 700;
    margin: 14px 0 4px;
}

.home .price-card .amount span {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
}

.home .price-card .desc {
    font-size: 13.5px;
    color: var(--ink-soft);
    margin-bottom: 22px;
}

.home .price-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 26px;
    flex: 1;
}

.home .price-card li {
    font-size: 13.5px;
    display: flex;
    gap: 9px;
}

.home .price-card li::before {
    content: "✓";
    color: var(--blue-deep);
    font-weight: 700;
}

/* ---------- FINAL CTA ---------- */
.home .final-cta {
    text-align: center;
    padding: 100px 0 110px;
}

.home .final-cta h2 {
    font-size: clamp(28px,4vw,44px);
    font-weight: 700;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.15;
}

.home .final-cta p {
    color: var(--ink-soft);
    font-size: 16px;
    margin: 18px auto 32px;
    max-width: 460px;
}

.home .final-cta .hero-actions {
    justify-content: center;
}

/* ---------- FOOTER ---------- */
.home footer {
    background: var(--navy);
    color: #AEB9DE;
    padding: 64px 0 28px;
}
.home footer a {
    color: #fff;
}


.home .foot-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3,1fr);
    gap: 40px;
    padding-bottom: 44px;
    border-bottom: 1px solid #26315C;
}

@media(max-width:760px) {
    .home .foot-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.home .foot-brand .logo {
    color: #fff;
}

.home .foot-brand p {
    font-size: 13.5px;
    margin-top: 14px;
    max-width: 240px;
    line-height: 1.6;
}

.home footer h4 {
    color: #fff;
    font-size: 13px;
    margin-bottom: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.home footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13.5px;
}

.home footer a:hover {
    color: #fff;
}

.home .foot-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    font-size: 12.5px;
    flex-wrap: wrap;
    gap: 12px;
}



/* Onboarding */
/* ── Progress ── */
.onboarding-progress-bar {
    display: flex;
    align-items: flex-start;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}
.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 13px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--border);
    z-index: 0;
    transition: background .25s;
}
.step-item.done:not(:last-child)::after {
    background: var(--accent);
}
.step-dot {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--fg-muted);
    position: relative;
    z-index: 1;
    transition: all .25s;
}
.step-item.active .step-dot {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}
.step-item.done .step-dot {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}
.step-label {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--fg-muted);
    margin-top: 5px;
    text-align: center;
    letter-spacing: .1px;
}
.step-item.active .step-label,
.step-item.done .step-label {
    color: var(--accent);
}

/* ── Card ── */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    padding: 32px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--fg);
    margin-bottom: 4px;
    letter-spacing: -.2px;
}

.card-subtitle {
    color: var(--fg-muted);
    font-size: 13.5px;
    margin-bottom: 26px;
}

/* ── Form ── */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
}

    .form-group.span-2 {
        grid-column: span 2;
    }

label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--fg-mid);
    letter-spacing: .1px;
    text-align: left;
}

    label .req {
        color: var(--accent);
        margin-left: 2px;
    }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font);
    font-size: 14px;
    transition: border-color .18s, box-shadow .18s;
    outline: none;
    appearance: none;
}

    input:focus, select:focus, textarea:focus {
        border-color: var(--border-focus);
        box-shadow: 0 0 0 3px rgba(59,91,219,.13);
    }

textarea {
    resize: vertical;
    min-height: 82px;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7385' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 11px center;
    padding-right: 34px;
    cursor: pointer;
}

.field-hint {
    font-size: 11.5px;
    text-align: left;
    color: var(--fg-muted);
}

.field-error {
    font-size: 11.5px;
    color: var(--error);
    display: none;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: var(--error);
}

.form-group.has-error .field-error {
    display: block;
}

/* ── Scenario cards ── */
.scenario-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.scenario-card {
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    transition: border-color .18s, background .18s;
    position: relative;
}

    .scenario-card:hover {
        border-color: var(--accent);
        background: var(--accent-light);
    }

    .scenario-card.selected {
        border-color: var(--accent);
        background: var(--accent-light);
        box-shadow: 0 0 0 3px rgba(59,91,219,.1);
    }

    .scenario-card input[type="radio"] {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

.scenario-radio {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    transition: border-color .18s;
}

.scenario-card.selected .scenario-radio {
    border-color: var(--accent);
}

.scenario-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    transition: opacity .18s;
}

.scenario-card.selected .scenario-radio::after {
    opacity: 1;
}

.scenario-body {
    flex: 1;
    min-width: 0;
}

.scenario-badge {
    display: inline-block;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-light);
    border: 1px solid var(--accent);
    border-radius: 4px;
    padding: 1px 6px;
    margin-bottom: 5px;
}

.scenario-card.selected .scenario-badge {
    background: var(--accent);
    color: #fff;
}

.scenario-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--fg);
    margin-bottom: 2px;
}

.scenario-desc {
    font-size: 12.5px;
    color: var(--fg-muted);
    line-height: 1.5;
}

/* ── Conditional section ── */
.conditional-section {
    display: none;
    padding: 16px;
    background: var(--accent-light);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-top: 4px;
}

    .conditional-section.visible {
        display: block;
    }

    .conditional-section .section-label {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .6px;
        text-transform: uppercase;
        color: var(--accent);
        margin-bottom: 12px;
    }

/* ── Info notice ── */
.info-notice {
    display: flex;
    gap: 10px;
    background: var(--accent-light);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    margin-top: 8px;
}

    .info-notice svg {
        flex-shrink: 0;
        color: var(--accent);
        margin-top: 1px;
    }

    .info-notice p {
        font-size: 12.5px;
        color: var(--fg-mid);
        line-height: 1.5;
    }

/* ── Nav ── */
.form-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all .18s;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

    .btn-primary:hover {
        background: var(--accent-hover);
    }

.btn-secondary {
    background: transparent;
    color: var(--fg-mid);
    border: 1.5px solid var(--border);
}

    .btn-secondary:hover {
        border-color: var(--accent);
        color: var(--accent);
    }

.btn svg {
    width: 15px;
    height: 15px;
}

/* ── Review ── */
.review-section {
    margin-bottom: 18px;
}

.review-section-title {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
    color: var(--fg-muted);
    margin-bottom: 8px;
}

.review-table {
    width: 100%;
    border-collapse: collapse;
}

    .review-table tr {
        border-bottom: 1px solid var(--border);
    }

        .review-table tr:last-child {
            border-bottom: none;
        }

    .review-table td {
        padding: 8px 0;
        font-size: 13.5px;
        vertical-align: top;
    }

        .review-table td:first-child {
            color: var(--fg-muted);
            font-weight: 500;
            width: 40%;
            padding-right: 14px;
        }

        .review-table td:last-child {
            color: var(--fg);
        }

.edit-link {
    font-size: 11.5px;
    color: var(--accent);
    cursor: pointer;
    text-decoration: underline;
    float: right;
}

/* ── Consent ── */
.consent-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 15px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin-top: 4px;
}

    .consent-wrap input[type="checkbox"] {
        width: 17px;
        height: 17px;
        min-width: 17px;
        border: 2px solid var(--border);
        border-radius: 4px;
        cursor: pointer;
        accent-color: var(--accent);
        margin-top: 1px;
    }

.consent-text {
    font-size: 12.5px;
    color: var(--fg-mid);
    line-height: 1.55;
}

/* ── Success ── */
.success-screen {
    text-align: center;
    padding: 12px 0 4px;
}

.success-screen p{
    text-align:left;
}

.success-icon {
    width: 68px;
    height: 68px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

    .success-icon svg {
        width: 34px;
        height: 34px;
    }

.success-screen h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--fg);
    margin-bottom: 10px;
    text-wrap: balance;
}

.success-screen p {
    color: var(--fg-mid);
/*    max-width: 420px;*/
    margin: 0 auto 20px;
    line-height: 1.6;
}

.success-steps {
    text-align: left;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin: 0 auto 8px;
    max-width: 420px;
}

.success-step {
    display: flex;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--fg-mid);
}

    .success-step:last-child {
        border-bottom: none;
    }

.success-step-num {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

/* ── Footer ── */
.footer {
    text-align: center;
    font-size: 12px;
    color: var(--fg-muted);
    padding-block: 4px;
}

    .footer a {
        color: var(--accent);
        text-decoration: none;
    }

/* ── Responsive ── */
@media (max-width: 500px) {
    .card {
        padding: 20px 16px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.span-2 {
        grid-column: span 1;
    }

    .header h1 {
        font-size: 22px;
    }

    body {
        padding-block: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
    }
}



/* Preloader */
.loader-mask {
    background: rgba(255, 255, 255, 0.8);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    color: var(--primary);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

    .loader-mask.active {
        opacity: 1;
        display: flex;
        transition: all 0.5s ease-in-out;
    }

    .loader-mask.absolute {
        position: absolute !important;
    }

    .loader-mask.fixed {
        position: fixed !important;
    }

    .loader-mask .loader {
        max-width: 45px;
    }

        .loader-mask .loader img {
            max-width: 100%;
        }

form .loader-mask {
    background: background: #F6F6F699;
}
/* Preloader */

.otp-validation,
.otp-validation-wrapper {
    display: none;
    margin-top: 1rem;
}
.otp-validation.active,
.otp-validation-wrapper.active{
    display: block;
}
.otp-validation .counter {
    font-size: 0.7rem;
}
.otp-validation .counter.bg-danger {
    border-radius: 5px;
    padding: 5px 10px;
    font-weight: 600;
}
.otp-validation .counter b {
    visibility: inherit;
}
.otp-resend {
    position: absolute;
    right: 10px;
    top: auto;
    z-index: 10;
    cursor: pointer;
    bottom: 34px;
}
.reviewed,
.meta-form-wrapper {
    display: none;
}
.reviewed.active,
.meta-form-wrapper.active {
    display: block;
}
.meta-form-wrapper .meta-validation {
    visibility: visible;
}
.meta-form-wrapper .meta-validation button {
    visibility: visible;
}
.meta-form-wrapper #whatsappStatus {
    visibility: visible;
}
.btn-block{
   width:100%;
}