:root {
    --navy-950:#070a1f;
    --navy-900:#0a0e27;
    --navy-800:#0f1538;
    --navy-700:#161d4a;
    --navy-600:#202a63;
    --line:#222a52;
    --blue-500:#2563eb;
    --blue-400:#3b82f6;
    --blue-300:#60a5fa;
    --blue-glow:#4f8dff;
    --white:#f5f7ff;
    --ghost:#8a92bd;
    --ghost-dim:#5e6592;
    --green:#34d399;
    --red:#f87171;
    --amber:#fbbf24;

    --display: 'Space Grotesk', sans-serif;
    --body: 'Inter', sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

* {
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body {
    background:var(--navy-900);
    color:var(--white);
    font-family:var(--body);
    line-height:1.5;
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
}

main {
    height:100vh;
    overflow-y:auto;
    scroll-behavior:smooth;
    scroll-snap-type:y proximity;
}

main > section {
    scroll-snap-align:start;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

body::before {
    content:"";
    position:fixed;
    inset:0;
    background:
        radial-gradient(ellipse 900px 600px at 15% -5%, rgba(37,99,235,.18), transparent 60%),
        radial-gradient(ellipse 700px 500px at 100% 15%, rgba(59,130,246,.12), transparent 55%);
    pointer-events:none;
    z-index:0;
}

.wrap {
    max-width:1180px;
    margin:0 auto;
    padding:0 32px;
}

section {
    position:relative;
    z-index:1;
}

a {
    color:inherit;
    text-decoration:none;
}

::selection {
    background:var(--blue-500);
    color:white;
}

h1,h2,h3,h4 {
    font-family:var(--display);
    font-weight:600;
    letter-spacing:-0.01em;
}

.eyebrow {
    font-family:var(--mono);
    font-size:12.5px;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:var(--blue-300);
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:18px;
}

.eyebrow::before {
    content:"";
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--blue-400);
    box-shadow:0 0 0 3px rgba(59,130,246,.2), 0 0 12px rgba(59,130,246,.6);
    flex-shrink:0;
}

.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    font-family:var(--body);
    font-weight:600;
    font-size:15px;
    padding:14px 26px;
    border-radius:8px;
    border:1px solid transparent;
    cursor:pointer;
    transition:.18s ease;
    white-space:nowrap;
}
.btn-primary {
    background:linear-gradient(135deg,var(--blue-400),var(--blue-500));
    color:white;
    box-shadow:0 1px 0 rgba(255,255,255,.25) inset, 0 8px 24px -8px rgba(37,99,235,.7);
}

.btn-primary:hover {
    transform:translateY(-1px);
    box-shadow:0 1px 0 rgba(255,255,255,.3) inset, 0 12px 28px -8px rgba(37,99,235,.85);
}

.btn-ghost {
    background:rgba(255,255,255,.03);
    border-color:var(--line);
    color:var(--white);
}

.btn-ghost:hover {
    background:rgba(255,255,255,.06);
    border-color:var(--blue-400);
}

/* ============ NAV ============ */
header {
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:100;
    background:rgba(7,10,31,.78);
    backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(255,255,255,.06);
}

nav.wrap {
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:72px;
}

.mobile-nav{
    display:none;
}

.logo {
    display:flex;
    align-items:center;
    gap:9px;
}

.logo img {
    height:45px;
    width:auto;
    display:block;
}

.logo .logo-text {
    font-family:var(--display);
    font-size:18px;
    font-weight:600;
    letter-spacing:.04em;
    color:var(--white);
}

.navlinks {
    display:flex;
    align-items:center;
    gap:36px;
}

.navlinks a {
    font-size:14.5px;
    font-weight:500;
    color:var(--ghost);
    transition:.15s;
    position:relative;
}

.navlinks a:hover {
    color:var(--white);
}

.nav-cta {
    display:flex;
    align-items:center;
    gap:18px;
}

.nav-cta .btn {
    padding:10px 20px;
    font-size:14px;
}

.navlinks-mobile-toggle {
    display:none;
}

ul {
    list-style: none;
    margin-bottom: 0px;
    margin-top: 0;
}

.mobile-nav-menu li {
    display: inline-block;
}

/* ============ HERO ============ */
.hero {
    padding:168px 0 88px;
    border-bottom:1px solid var(--line);
}

.hero-grid {
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:56px;
    align-items:center;
}

.hero h1 {
    font-size:clamp(34px,4.4vw,54px);
    line-height:1.08;
    margin-bottom:22px;
}

.hero h1 .accent {
    background:linear-gradient(100deg,var(--blue-300),var(--blue-400) 60%);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}

.hero p.lead {
    font-size:17.5px;
    color:var(--ghost);
    max-width:480px;
    margin-bottom:34px;
}

.hero-actions {
    display:flex;
    gap:14px;
    margin-bottom:36px;
    flex-wrap:wrap;
}

.hero-proof {
    display:flex;
    gap:28px;
    flex-wrap:wrap;
    font-family:var(--mono);
    font-size:12.5px;
    color:var(--ghost-dim);
}

.hero-proof span b {
    color:var(--blue-300);
    font-weight:600;
}

/* mini hero visual: stacked test status card */
.hero-card {
    background:linear-gradient(180deg,var(--navy-800),var(--navy-900));
    border:1px solid var(--line);
    border-radius:14px;
    padding:22px;
    box-shadow:0 30px 60px -30px rgba(0,0,0,.6);
}

.hero-card-head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:16px;
    padding-bottom:14px;
    border-bottom:1px solid var(--line);
}

.hero-card-head .dots {
    display:flex;
    gap:6px;
}

.hero-card-head .dots span {
    width:9px;
    height:9px;
    border-radius:50%;
}

.hero-card-head .dots span:nth-child(1) {
    background:#f87171;
}

.hero-card-head .dots span:nth-child(2) {
    background:#fbbf24;
}

.hero-card-head .dots span:nth-child(3) {
    background:#34d399;
}

.hero-card-head .url {
    font-family:var(--mono);
    font-size:11.5px;
    color:var(--ghost-dim);
}

.hero-checks {
    display:flex;
    flex-direction:column;
    gap:11px;
}

.hero-check {
    display:flex;
    align-items:center;
    gap:11px;
    font-family:var(--mono);
    font-size:13px;
    color:var(--ghost);
    padding:9px 12px;
    border-radius:7px;
    background:rgba(255,255,255,.018);
    border:1px solid rgba(255,255,255,.04);
    opacity:0;
    animation:checkIn .5s ease forwards;
}

.hero-check .ic {
    width:16px;
    height:16px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    font-size:10px;
}

.hero-check.ok .ic {
    background:rgba(52,211,153,.15);
    color:var(--green);
}

.hero-check.pending .ic {
    background:rgba(255,255,255,.06);
    color:var(--ghost-dim);
}

.hero-check .t {
    color:var(--white);
}

.hero-check .ms {
    margin-left:auto;
    color:var(--ghost-dim);
    font-size:11.5px;
}

@keyframes checkIn {
    to {
        opacity:1;
    }
}

/* ============ LOGOS / TRUST STRIP ============ */
main > section.trust {
    display: flow-root;
}

.trust {
    padding:36px 0;
    border-bottom:1px solid var(--line);
    min-height: auto;
}

.trust .wrap {
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:18px;
}

.trust-label {
    font-family:var(--mono);
    font-size:12px;
    color:var(--ghost-dim);
    letter-spacing:.08em;
    text-transform:uppercase;
}

.trust-items {
    display:flex;
    gap:34px;
    flex-wrap:wrap;
    font-size:13.5px;
    color:var(--ghost-dim);
    font-family:var(--mono);
}

.trust-item {
    display:flex;
    align-items:center;
    gap:8px;
}

/* ============ SECTION HEAD pattern ============ */
.sec-head {
    /* max-width:620px; */
    margin-bottom:48px;
}

.sec-head h2 {
    font-size:clamp(26px,3.2vw,38px);
    line-height:1.15;
    margin-bottom:14px;
}

.sec-head p {
    color:var(--ghost);
    font-size:16px;
}

.sec {
    padding:96px 0;
    border-bottom:1px solid var(--line);
}

/* ============ DEMO SECTION ============ */
#demo {
    background:var(--navy-950);
}

#demo .wrap {
    margin: 0 166px;
}

.demo-controls {
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:28px;
    flex-wrap:wrap;
}

.demo-tab {
    font-family:var(--mono);
    font-size:12.5px;
    padding:9px 16px;
    border-radius:7px;
    border:1px solid var(--line);
    color:var(--ghost-dim);
    cursor:pointer;
    transition:.15s;
    background:transparent;
}

.demo-tab.active {
    border-color:var(--blue-400);
    color:var(--blue-300);
    background:rgba(37,99,235,.08);
}

.demo-tab:hover:not(.active) {
    color:var(--ghost);
    border-color:var(--navy-600);
}

.demo-stage{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0;
    border:1px solid var(--line);
    border-radius:14px;
    overflow:hidden;
    background:var(--navy-900);
}


/* left: browser mock */
.browser {
    border-right:1px solid var(--line);
    display:flex;
    flex-direction:column;
    min-height:420px;
}

.browser-chrome {
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px 16px;
    background:var(--navy-800);
    border-bottom:1px solid var(--line);
}

.browser-chrome .dots {
    display:flex;
    gap:6px;
}

.browser-chrome .dots span {
    width:10px;
    height:10px;
    border-radius:50%;
}

.browser-chrome .dots span:nth-child(1) {
    background:#f87171;
}

.browser-chrome .dots span:nth-child(2) {
    background:#fbbf24;
}

.browser-chrome .dots span:nth-child(3) {
    background:#34d399;
}

.browser-bar {
    flex:1;
    font-family:var(--mono);
    font-size:11.5px;
    color:var(--ghost-dim);
    background:var(--navy-900);
    border:1px solid var(--line);
    border-radius:6px;
    padding:6px 12px;
    display:flex;
    align-items:center;
    gap:8px;
}

.browser-bar .lock {
    color:var(--green);
    font-size:10px;
}

.browser-viewport {
    flex:1;position:relative;
    background:linear-gradient(var(--navy-800),var(--navy-800));
    padding:24px;
    overflow:hidden;
}

.mock-page {
    background:#fff;
    border-radius:8px;
    height:100%;
    padding:20px;
    position:relative;
    color:#1a1a2e;
    font-size:12px;
}

.mock-header-bar {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding-bottom:14px;
    border-bottom:1px solid #eee;
    margin-bottom:18px;
}

.mock-logo {
    width:70px;
    height:9px;
    background:#d8dcf0;
    border-radius:3px;
}

.mock-nav {
    display:flex;
    gap:14px;
}

.mock-nav span {
    width:34px;
    height:7px;
    background:#e5e8f5;
    border-radius:3px;
}

.mock-field-label {
    font-size:10.5px;
    color:#8990b3;
    margin-bottom:5px;
    font-family:var(--body);
}

.mock-input {
    width:100%;
    border:1.5px solid #e3e6f5;
    border-radius:6px;
    padding:9px 11px;
    font-size:11.5px;
    color:#1a1a2e;
    margin-bottom:14px;
    font-family:var(--body);
    position:relative;
    background:#fff;
}

.mock-input.active {
    border-color:var(--blue-400);
    box-shadow:0 0 0 3px rgba(59,130,246,.15);
}

.mock-btn {
    background:linear-gradient(135deg,var(--blue-400),var(--blue-500));
    color:white;
    border:none;
    border-radius:6px;
    padding:10px 18px;
    font-size:11.5px;
    font-weight:600;
    font-family:var(--body);
    display:inline-flex;
    align-items:center;
    gap:6px;
    cursor:default;
}
.cursor-dot {
    position:absolute;
    width:16px;
    height:16px;
    pointer-events:none;
    z-index:5;
    transition:left .55s cubic-bezier(.65,0,.35,1), top .55s cubic-bezier(.65,0,.35,1);
}
.cursor-dot svg {
    filter:drop-shadow(0 2px 4px rgba(0,0,0,.35));
}

.mock-toast {
    position:absolute;
    bottom:16px;
    right:16px;
    background:#0f1538;
    color:#fff;
    padding:10px 16px;
    border-radius:8px;
    font-size:11px;
    font-family:var(--body);
    display:flex;
    align-items:center;
    gap:8px;
    opacity:0;
    transform:translateY(8px);
    transition:.3s ease;
    box-shadow:0 10px 24px -8px rgba(0,0,0,.4);
}

.mock-toast.show {
    opacity:1;
    transform:translateY(0);
}

.mock-toast .dot {
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--green);
    flex-shrink:0;
}

.mock-radio-row {
    display:flex;
    align-items:center;
    gap:10px;
    font-size:11.5px;
    color:#3a3f5c;
    padding:9px 11px;
    margin-bottom:7px;
    border:1.5px solid #e3e6f5;
    border-radius:7px;
    font-family:var(--body);
    transition:.15s;
}

.mock-radio-row.checked {
    border-color:var(--blue-400);
    background:rgba(59,130,246,.06);
}

.mock-radio {
    width:14px;
    height:14px;
    border-radius:50%;
    border:1.5px solid #c8cde8;
    flex-shrink:0;
    position:relative;
    transition:.15s;
}

.mock-radio-row.checked .mock-radio {
    border-color:var(--blue-400);
}

.mock-radio-row.checked .mock-radio::after {
    content:"";
    position:absolute;
    inset:2.5px;
    border-radius:50%;
    background:var(--blue-400);
}

/* right: terminal */
.terminal {
    display:flex;
    flex-direction:column;
    min-height:420px;
}

.terminal-chrome {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:12px 16px;
    background:var(--navy-800);
    border-bottom:1px solid var(--line);
}

.terminal-chrome .title {
    font-family:var(--mono);
    font-size:11.5px;
    color:var(--ghost-dim);
}

.terminal-chrome .status {
    display:flex;
    align-items:center;
    gap:7px;
    font-family:var(--mono);
    font-size:11px;
    color:var(--green);
}

.terminal-chrome .status .pulse{
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--green);
    box-shadow:0 0 0 3px rgba(52,211,153,.2);
    animation:pulse 1.6s infinite;
}

@keyframes pulse {
    0%,100% {
        opacity:1;
    }
    50% {
        opacity:.4;
    }
}

.terminal-body {
    flex:1;
    padding:18px 20px;
    font-family:var(--mono);
    font-size:12.5px;
    line-height:1.85;
    overflow-y:auto;
    max-height:420px;
}

.term-line {
    display:flex;
    gap:10px;
    opacity:0;
    animation:lineIn .35s ease forwards;
}

@keyframes lineIn {
    from {
        opacity:0;
        transform:translateY(3px);
    }
    to {
        opacity:1;
        transform:translateY(0);
    }
}

.term-line .tag {
    flex-shrink:0;
    width:14px;
    text-align:center;
}

.term-line.run .tag {
    color:var(--blue-300);
}

.term-line.ok .tag {
    color:var(--green);
}

.term-line.info .tag {
    color:var(--ghost-dim);
}

.term-line .msg {
    color:var(--ghost);
}

.term-line.ok .msg {
    color:var(--white);
}

.term-line .msg b {
    color:var(--blue-300);
    font-weight:500;
}

.term-line .msg .dim {
    color:var(--ghost-dim);
}

.term-cursor {
    display:inline-block;
    width:7px;
    height:14px;
    background:var(--blue-400);
    animation:blink 1s step-end infinite;
    vertical-align:middle;
    margin-left:2px;
}

@keyframes blink {
    50% {
        opacity:0;
    }
}

.demo-footer-note {
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-top:20px;
    flex-wrap:wrap;
    gap:14px;
}

.demo-footer-note p {
    font-size:13.5px;
    color:var(--ghost-dim);
}

.demo-footer-note a {
    font-size:13.5px;
    color:var(--blue-300);
    font-weight:600;
}

/* ============ FEATURES ============ */
.features-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1px;
    background:var(--line);
    border:1px solid var(--line);
    border-radius:14px;
    overflow:hidden;
}

.feature {
    background:var(--navy-900);
    padding:30px 26px;
}

.feature .fi {
    width:38px;
    height:38px;
    border-radius:9px;
    background:rgba(37,99,235,.12);
    border:1px solid rgba(59,130,246,.25);
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:18px;
    color:var(--blue-300);
}

.feature h3 {
    font-size:16.5px;
    margin-bottom:9px;
    font-weight:600;
}

.feature p {
    font-size:14px;
    color:var(--ghost);
    line-height:1.6;
}

/* ============ TEST CATALOG ============ */
#catalog {
    background:var(--navy-950);
}

#catalog .wrap {
    margin: 0 166px;
}

.catalog-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
}

.catalog-grid-perf {
    margin-top: 15px;
}

.catalog-item{
    border:1px solid var(--line);
    border-radius:10px;
    padding:16px 18px;
    display:flex;
    align-items:center;
    gap:12px;
    font-size:13.5px;
    transition:.15s;
}

.catalog-item:hover {
    border-color:var(--blue-400);
    background:rgba(37,99,235,.04);
}

.catalog-item .n {
    font-family:var(--mono);
    font-size:10.5px;
    color:var(--ghost-dim);
    width:20px;
    flex-shrink:0;
}

.catalog-item.perf {
    border-style:dashed;
}

.catalog-item.perf .n {
    color:var(--amber);
}

/* ============ PRICING ============ */
#pricing .wrap {
    margin: 0 166px;
}

.pricing-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
    align-items:stretch;
}

.price-card{
    background:var(--navy-800);
    border:1px solid var(--line);
    border-radius:14px;
    padding:28px 24px;
    display:flex;flex-direction:column;
    position:relative;
}

.price-card.feat {
    border-color:var(--blue-400);
    background:linear-gradient(180deg,rgba(37,99,235,.08),var(--navy-800) 40%);
    box-shadow:0 24px 50px -24px rgba(37,99,235,.45);
}

.price-card .badge {
    position:absolute;
    top:-12px;
    right:24px;
    background:linear-gradient(135deg,var(--blue-400),var(--blue-500));
    color:white;
    font-size:11px;
    font-weight:700;
    font-family:var(--mono);
    padding:5px 12px;
    border-radius:99px;
    letter-spacing:.04em;
}

.price-card h3 {
    font-size:19px;
    margin-bottom:6px;
}

.price-card .sub {
    font-size:13px;
    color:var(--ghost-dim);
    margin-bottom:22px;
}

.price-card .amt {
    font-family:var(--display);
    font-size:15px;
    color:var(--ghost);
    margin-bottom:24px;
    font-weight:500;
}

.price-card .amt b {
    font-size:15px;
}

.price-card ul {
    list-style:none;
    margin-bottom:28px;
    flex:1;
}

.price-card li {
    display:flex;
    align-items:flex-start;
    gap:10px;
    font-size:13.8px;
    color:var(--ghost);
    padding:8px 0;
    border-bottom:1px solid rgba(255,255,255,.04);
}

.price-card li:last-child {
    border-bottom:none;
}

.price-card li .chk {
    color:var(--blue-300);
    flex-shrink:0;
    margin-top:1px;
}

.price-card .btn {
    width:100%;
}

.pricing-addon {
    margin-top:22px;
    border:1px dashed var(--line);
    border-radius:12px;
    padding:18px 22px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;gap:14px;
}

.pricing-addon .l {
    display:flex;
    align-items:center;
    gap:14px;
}

.pricing-addon .l .fi {
    width:34px;
    height:34px;
    border-radius:8px;
    background:rgba(251,191,36,.12);
    border:1px solid rgba(251,191,36,.3);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--amber);
    flex-shrink:0;
}
.pricing-addon strong {
    font-size:14.5px;
    display:block;
    margin-bottom:2px;
}

.pricing-addon span {
    font-size:13px;
    color:var(--ghost-dim);
}

.delivery-toggle {
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:18px;
    font-size:13.5px;
    color:var(--ghost-dim);
    flex-wrap:wrap;
}

.delivery-toggle .pill {
    display:flex;
    background:var(--navy-800);
    border:1px solid var(--line);
    border-radius:99px;
    padding:3px;
}

.delivery-toggle .pill button {
    font-family:var(--body);
    font-size:13px;
    font-weight:600;
    padding:7px 16px;
    border-radius:99px;
    border:none;
    background:transparent;
    color:var(--ghost-dim);
    cursor:pointer;
    transition:.15s;
}

.delivery-toggle .pill button.active {
    background:var(--blue-500);
    color:white;
}

.order-mode-note {
    font-size:13.5px;
    color:var(--ghost-dim);
    margin-bottom:28px;
}

.order-mode-note b {
    color:var(--blue-300);
}

.setup-fee-box {
    border:1px solid var(--line);
    border-radius:14px;
    padding:24px 26px;
    margin-bottom:36px;
    background:linear-gradient(180deg,rgba(251,191,36,.04),var(--navy-800) 60%);
}

.sfb-head {
    display:flex;
    gap:14px;
    margin-bottom:18px;
}

.sfb-icon {
    width:34px;
    height:34px;
    border-radius:9px;
    flex-shrink:0;
    background:rgba(251,191,36,.12);
    border:1px solid rgba(251,191,36,.3);
    display:flex;
    align-items:center;
    justify-content:center;
    color: var(--amber);
}

.sfb-head strong {
    display:block;
    font-size:15px;
    margin-bottom:4px;
}

.sfb-head span {
    font-size:13.5px;
    color:var(--ghost-dim);
    line-height:1.55;
}

.sfb-table {
    border:1px solid var(--line);
    border-radius:10px;
    overflow:hidden;
    margin-bottom:14px;
}

.sfb-row {
    display:grid;
    grid-template-columns:1.4fr 1fr .8fr;
    padding:11px 16px;
    font-size:13.5px;
    border-bottom:1px solid var(--line);
}

.sfb-row:last-child {
    border-bottom:none;
}

.sfb-row span:last-child {
    text-align:right;
    font-family:var(--mono);
}

.sfb-row-head {
    background:rgba(255,255,255,.02);
    font-family:var(--mono);
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.05em;
    color:var(--ghost-dim);
    font-weight:600;
}

.sfb-row-head span:last-child {
    text-align:right;
}

.sfb-row:not(.sfb-row-head) span:first-child {
    color:var(--white);
    font-weight:500;
}

.sfb-row:not(.sfb-row-head) span:last-child {
    color:#0165fb;
    font-weight:600;
}

.sfb-note {
    font-size:12.5px;
    color:var(--ghost-dim);
}

/*   .duration-toggle{
display:flex;align-items:center;gap:10px;margin-bottom:34px;
font-size:13.5px;color:var(--ghost-dim);flex-wrap:wrap;
}
.duration-toggle .pill{
display:flex;background:var(--navy-800);border:1px solid var(--line);border-radius:99px;padding:3px;
flex-wrap:wrap;
}
.duration-toggle .pill button{
font-family:var(--body);font-size:12.5px;font-weight:600;
padding:7px 14px;border-radius:99px;border:none;background:transparent;color:var(--ghost-dim);cursor:pointer;
transition:.15s;display:flex;align-items:center;gap:6px;
}
.duration-toggle .pill button.active{background:var(--blue-500);color:white;}
.duration-toggle .save-tag{
font-size:9.5px;background:rgba(52,211,153,.18);color:var(--green);
padding:2px 6px;border-radius:99px;font-weight:700;letter-spacing:.02em;
}
.duration-toggle .pill button:not(.active) .save-tag{display:none;}
*/

.price-card .amt .per {
    font-size:13px;
    color:var(--ghost-dim);
    font-weight:400;
}

.price-card .amt b {
    transition:opacity .15s;
}

.price-card.perf-card {
    border-style:dashed;
    background:linear-gradient(180deg,rgba(251,191,36,.05),var(--navy-800) 40%);
}

.price-card.perf-card h3 {
    color:var(--amber);
}

.pricing-note {
    margin-top:24px;
    display:flex;
    gap:14px;
    border:1px solid var(--line);
    border-radius:12px;
    padding:18px 22px;
    background:rgba(255,255,255,.015);
}

.pn-icon {
    width:24px;
    height:24px;
    border-radius:50%;
    flex-shrink:0;
    background:rgba(59,130,246,.15);
    color:var(--blue-300);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
    font-weight:700;
    font-family:var(--mono);
}

.pricing-note p {
    font-size:13.5px;
    color:var(--ghost-dim);
    line-height:1.7;
}

.pricing-note p b {
    color:var(--ghost);
    font-weight:600;
}

.pricing-note code {
    font-family:var(--mono);
    background:var(--navy-900);
    padding:1px 6px;
    border-radius:4px;
    font-size:12.5px;
    color:var(--blue-300);
}

/* ---- order flow: step indicator ---- */
.order-steps{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:44px;
    flex-wrap:wrap;
}

.order-step {
    display:flex;
    align-items:center;
    gap:9px;
    font-size:13.5px;
    font-weight:600;
    color:var(--ghost-dim);
    transition:.2s;
}

.order-step .os-num {
    width:26px;
    height:26px;
    border-radius:50%;
    background:var(--navy-800);
    border:1.5px solid var(--line);
    display:flex;
    align-items:center;
    justify-content:center;
    font-family:var(--mono);
    font-size:12px;
    color:var(--ghost-dim);
    transition:.2s;
}

.order-step.active {
    color:var(--white);
}

.order-step.active .os-num {
    background:var(--blue-500);
    border-color:var(--blue-500);
    color:white;
}

.order-step.done .os-num {
    background:rgba(52,211,153,.15);
    border-color:var(--green);
    color:var(--green);
}

.order-step.done .os-num::before {
    content:"✓";
}

.order-step-line {
    width:36px;
    height:1px;
    background:var(--line);
    flex-shrink:0;
}


/* ---- order panels ---- */
.order-panel {
    display:none;
}

.order-panel.active {
    display:block;
    animation:panelIn .35s ease;
}

@keyframes panelIn {
    from {
        opacity:0;
        transform:translateY(8px);
    }
    to {
        opacity:1;
        transform:translateY(0);
    }
}

.order-back {
    background:none;border:none;color:var(--blue-300);
    font-size:13.5px;font-weight:600;cursor:pointer;
    margin-bottom:22px;padding:0;
    display:flex;align-items:center;gap:6px;
}

.order-back:hover {
    color:var(--blue-400);
}

.order-summary-chip {
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:var(--navy-800);
    border:1px solid var(--line);
    border-radius:99px;
    padding:8px 18px;
    font-size:13.5px;
    color:var(--ghost-dim);
    margin-bottom:28px;
}

.order-summary-chip b {
    color:var(--blue-300);
}

.order-subhead {
    font-size:21px;
    margin-bottom:6px;
}

.order-subhead-note {
    font-size:14px;
    color:var(--ghost-dim);
    margin-bottom:28px;
}

.duration-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
    margin-bottom:32px;
}

.duration-card {
    background:var(--navy-800);
    border:1.5px solid var(--line);
    border-radius:12px;
    padding:22px 16px;
    text-align:center;
    cursor:pointer;
    display:flex;
    flex-direction:column;
    gap:6px;
    align-items:center;
    transition:.18s;
    position:relative;
    font-family:var(--body);
}

.duration-card:hover {
    border-color:var(--blue-400);
}

.duration-card.selected {
    border-color:var(--blue-400);
    background:linear-gradient(180deg,rgba(37,99,235,.1),var(--navy-800));
    box-shadow:0 0 0 3px rgba(59,130,246,.12);
}

.duration-card.recommended {
    border-color:var(--blue-600);
}

.dc-tag {
    position:absolute;
    top:-11px;
    left:50%;
    transform:translateX(-50%);
    background:linear-gradient(135deg,var(--blue-400),var(--blue-500));
    color:white;
    font-size:10px;
    font-weight:700;
    font-family:var(--mono);
    padding:4px 10px;
    border-radius:99px;
    white-space:nowrap;
}

.dc-label {
    font-size:14px;
    font-weight:600;
    color:var(--white);
    margin-top:6px;
}

.dc-price {
    font-family:var(--display);
    font-size:19px;
    font-weight:600;
    color:var(--blue-300);
}

.dc-discount {
    font-size:11.5px;
    color:var(--ghost-dim);
}

.dc-discount.save {
    color:var(--green);
    font-weight:600;
}

.order-continue {
    width:100%;
    max-width:340px;
}

.order-continue:disabled {
    opacity:.4;
    cursor:not-allowed;
}

.order-summary-box {
    background:var(--navy-800);
    border:1px solid var(--line);
    border-radius:12px;
    padding:18px 22px;
    margin-bottom:28px;
}

.osb-row {
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:14px;
    color:var(--ghost-dim);
    padding:9px 0;
    border-bottom:1px solid rgba(255,255,255,.05);
}

.osb-row:last-child {
    border-bottom:none;
}

.osb-row b {
    color:var(--white);
    font-weight:600;
}

.osb-row.total {
    padding-top:13px;
}

.osb-row.total span {
    color:var(--white);
    font-weight:600;
}

.osb-row.total b {
    color:var(--blue-300);
    font-family:var(--display);
    font-size:17px;
}

/* .order-form{max-width:560px;} */

.setup-fee-reminder {
    font-size:13px;
    color:var(--ghost-dim);
    background:rgba(251,191,36,.06);
    border:1px solid rgba(251,191,36,.25);
    border-radius:10px;
    padding:13px 16px;
    margin-bottom:26px;
    /* max-width:560px; */
    line-height:1.6;
}

.setup-fee-reminder b {
    color:var(--amber);
}

.order-done {
    text-align:center;
    padding:30px 0;
}

.order-done .ic {
    font-size:44px;
    margin-bottom:16px;
}

.order-done h3 {
    font-size:23px;
    margin-bottom:10px;
}

.order-done p {
    font-size:15px;
    color:var(--ghost-dim);
    max-width:420px;
    margin:0 auto;
}

/* ============ ABOUT ============ */
.about-grid {
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:64px;
    align-items:center;
}

.about-stats {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
    margin-top:8px;
}

.stat {
    border:1px solid var(--line);
    border-radius:12px;
    padding:20px;
}

.stat b {
    font-family:var(--display);
    font-size:28px;
    display:block;
    color:var(--blue-300);
    margin-bottom:4px;
}

.stat span {
    font-size:12.5px;
    color:var(--ghost-dim);
}

.about-text p {
    color:var(--ghost);
    font-size:15.5px;
    margin-bottom:16px;
}

.about-text p:last-child {
    margin-bottom:0;
}

/* ============ CONTACT ============ */
#contact {
    background:var(--navy-950);
    border-bottom:none;
}

.contact-grid {
    display:grid;
    grid-template-columns:.85fr 1.15fr;
    gap:60px;
    align-items:start;
}

.contact-intro h2 {
    font-size:clamp(26px,3.2vw,36px);
    margin-bottom:14px;
    line-height:1.18;
}

.contact-intro p {
    color:var(--ghost);
    font-size:15.5px;
    margin-bottom:32px;
}

.contact-meta-list {
    display:flex;
    flex-direction:column;
    gap:18px;
}

.cm-item {
    display:flex;
    align-items:flex-start;
    gap:14px;
}

.cm-ic {
    width:36px;
    height:36px;
    border-radius:9px;
    flex-shrink:0;
    background:rgba(37,99,235,.1);
    border:1px solid var(--line);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:15px;
}

.cm-item b {
    display:block;
    font-size:13.5px;
    color:var(--white);
    margin-bottom:2px;
}

.cm-item span {
    font-size:13px;
    color:var(--ghost-dim);
}

.contact-form {
    background:var(--navy-800);
    border:1px solid var(--line);
    border-radius:16px;
    padding:32px;
}

.cf-row {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.cf-field {
    margin-bottom:18px;
    display:flex;
    flex-direction:column;
    gap:7px;
}

.cf-field label {
    font-size:12.5px;
    font-weight:600;
    color:var(--ghost);
}

.cf-field input,.cf-field select,.cf-field textarea {
    font-family:var(--body);
    font-size:14px;
    color:var(--white);
    background:var(--navy-900);
    border:1px solid var(--line);
    border-radius:8px;
    padding:11px 13px;
    transition:.15s;
}

.cf-field input::placeholder,.cf-field textarea::placeholder {
    color:var(--ghost-dim);
}

.cf-field input:focus,.cf-field select:focus,.cf-field textarea:focus {
    outline:none;
    border-color:var(--blue-400);
    box-shadow:0 0 0 3px rgba(59,130,246,.15);
}
.cf-field textarea {
    resize:vertical;
    min-height:90px;
    font-family:var(--body);
}

.cf-field select {
    cursor:pointer;
}

.cf-submit {
    width:100%;
    margin-top:4px;
}

.cf-note {
    font-size:11.5px;
    color:var(--ghost-dim);
    text-align:center;
    margin-top:14px;
}

.cf-success {
    display:none;
    text-align:center;
    padding:40px 20px;
}
.cf-success.show {
    display:block;
}

.cf-success .ic {
    font-size:38px;
    margin-bottom:14px;
}

.cf-success h3 {
    font-size:19px;
    margin-bottom:8px;
}

.cf-success p {
    font-size:14px;
    color:var(--ghost-dim);
}

/* ============ FOOTER ============ */
footer {
    padding:40px 0;
    scroll-snap-align:end;
    scroll-snap-stop:always;
}

footer .wrap {
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:16px;
}

.footer-logo {
    display:flex;
    align-items:center;
    gap:9px;
}

.footer-logo img {
    height:24px;
}

.footer-logo .logo-text {
    font-family:var(--display);
    font-size:15px;
    font-weight:600;
    letter-spacing:.04em;
    color:var(--ghost);
}

footer .fdim {
    font-size:13px;
    color:var(--ghost-dim);
}

.footer-links {
    display:flex;
    gap:24px;
}

.footer-links a {
    font-size:13px;
    color:var(--ghost-dim);
}

.footer-links a:hover {
    color:var(--white);
}

/* scroll-margin so anchored sections land below fixed header */
section[id] {
    scroll-margin-top:88px;
}

@media (max-width:880px){
    .hero-grid {
        grid-template-columns:1fr;
    }

    .hero {
        padding:140px 0 64px;
    }

    .about-grid {
        grid-template-columns:1fr;
    }

    .pricing-grid {
        grid-template-columns:1fr;
    }

    .features-grid {
        grid-template-columns:1fr;
    }

    .contact-box {
        padding:36px 24px;
    }
}

@media (max-width:880px) {
    .navlinks {
        display:none;
    }
    .nav-cta .btn-ghost {
        display:none;
    }
}

@media (max-width:1080px){
    nav.wrap{
        display:none;
    }

    .mobile-nav{
        display:flex;
    }
}

@media only screen and (max-width: 479px) {
    .mobile-nav {
        height: 70px;
    }
}

@media (max-width: 991.98px) {
    .mobile-nav-menu {
        display: none;
    }
}

@media only screen and (max-width: 992px) {
    #demo .wrap {
        margin: 0 !important;
    }

    #catalog .wrap {
        margin: 0 !important;
    }

    #pricing .wrap {
        margin: 0 !important;
    }
}

@media (max-width:900px) {
    .demo-stage {
        grid-template-columns:1fr;
    }
}

@media (max-width:780px) {
    .features-grid {
        grid-template-columns:1fr;
    }
}

@media (max-width:900px) {
    .catalog-grid {
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:520px) {
    .catalog-grid {
        grid-template-columns:1fr;
    }
}

@media (max-width:1080px) {
    .pricing-grid {
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:600px) {
    .pricing-grid {
        grid-template-columns:1fr;
        max-width:420px;
        margin:0 auto;
    }
}

@media (max-width:560px) {
    .sfb-row {
        grid-template-columns:1.2fr .9fr .7fr;
        font-size:12.5px;
        padding:10px 12px;
    }
}

@media (max-width:600px) {
    .order-step span:not(.os-num) {
        display:none;
    }

    .order-step-line {
        width:18px;
    }
}

@media (max-width:780px) {
    .duration-grid {
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:880px) {
    .about-grid {
        grid-template-columns:1fr;
        gap:36px;
    }
}

@media (max-width:880px) {
    .contact-grid {
        grid-template-columns:1fr;
        gap:36px;
    }
}

@media (max-width:520px) {
    .cf-row {
        grid-template-columns:1fr;
    }
}

.mobile-nav #mobile-nav-menu {
  display: none;
  background: var(--navy-900);
}

.mobile-nav a {
  color: var(--white);
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
}

.mobile-nav .logo {
    margin: 10px 0;
}

.mobile-nav a.icon {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  margin: 15px 10px;
}

#mobile-nav-menu a:hover {
    background: rgba(7, 10, 31, .78);
    color: var(--white);
}

#mobile-nav-menu {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;
  background-color: #1a1a1a;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.mobile-nav .icon {
  display: block;
  position: absolute;
  right: 15px;
  top: 15px;
}

@media (max-width: 1080px) {
  .mobile-container {
    position: relative;
    width: 100%;
  }
}