:root{
  --bg:#0A0F1E;
  --bg-alt:#0D1428;
  --surface:#121B36;
  --surface-2:#16213F;
  --border:rgba(232,236,247,0.09);
  --border-strong:rgba(232,236,247,0.16);
  --text:#E8ECF7;
  --text-dim:#8B95B3;
  --text-faint:#5B6584;
  --cyan:#3FD0C9;
  --cyan-dim:rgba(63,208,201,0.14);
  --amber:#F2A93B;
  --amber-dim:rgba(242,169,59,0.14);
  --red:#E8636E;
  --radius:10px;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg); color:var(--text); font-family:'Inter',sans-serif; line-height:1.55; -webkit-font-smoothing:antialiased;
  min-height:100vh;
}
body::before{
  content:""; position:fixed; inset:0;
  background-image:
    radial-gradient(circle at 15% 8%, rgba(63,208,201,0.07), transparent 40%),
    radial-gradient(circle at 85% 92%, rgba(242,169,59,0.06), transparent 40%);
  pointer-events:none; z-index:0;
}
h1,h2,h3,h4{ font-family:'Space Grotesk',sans-serif; font-weight:600; letter-spacing:-0.01em; color:var(--text);}
code,.mono,.mono *{ font-family:'JetBrains Mono', monospace; }
a{ color:inherit; text-decoration:none; }
.wrap{ max-width:1160px; margin:0 auto; padding:0 32px; position:relative; z-index:1;}
section,main{ position:relative; z-index:1;}
.eyebrow{
  font-family:'JetBrains Mono', monospace; font-size:12px; letter-spacing:0.12em; text-transform:uppercase;
  color:var(--cyan); display:flex; align-items:center; gap:8px; margin-bottom:14px;
}
.eyebrow::before{ content:""; width:6px; height:6px; border-radius:50%; background:var(--cyan); box-shadow:0 0 8px var(--cyan);}
button{ font-family:inherit; cursor:pointer; }
.btn{
  display:inline-flex; align-items:center; gap:8px; padding:13px 22px; border-radius:8px; font-weight:600; font-size:14.5px;
  border:1px solid transparent; transition:transform .15s ease, background .15s ease, border-color .15s ease; background:none; color:inherit;
}
.btn-primary{ background:var(--cyan); color:#04211F; }
.btn-primary:hover{ transform:translateY(-1px); background:#5adcd5; }
.btn-ghost{ border-color:var(--border-strong); color:var(--text); }
.btn-ghost:hover{ border-color:var(--cyan); color:var(--cyan); }
.btn-block{ width:100%; justify-content:center; }
.btn[disabled]{ opacity:.5; cursor:not-allowed; }

/* NAV */
header{ position:sticky; top:0; z-index:50; background:rgba(10,15,30,0.86); backdrop-filter:blur(10px); border-bottom:1px solid var(--border);}
nav{ display:flex; align-items:center; justify-content:space-between; padding:18px 32px; max-width:1160px; margin:0 auto;}
.logo{ display:flex; align-items:center; gap:10px; font-family:'Space Grotesk'; font-weight:700; font-size:18px;}
.logo-mark{ width:26px; height:26px; position:relative;}
.logo-mark span{ position:absolute; border-radius:50%; border:2px solid var(--cyan);}
.logo-mark span:nth-child(1){ inset:0; opacity:1;}
.logo-mark span:nth-child(2){ inset:6px; border-color:var(--amber); opacity:.9;}
.navlinks{ display:flex; gap:34px; font-size:14.5px; color:var(--text-dim);}
.navlinks a:hover{ color:var(--text);}
.navlinks a.active{ color:var(--cyan);}
.navcta{ display:flex; gap:12px; align-items:center;}
@media (max-width:900px){ .navlinks{display:none;} }

/* CURRENCY SELECT */
.currency-select{
  background:var(--surface-2); border:1px solid var(--border-strong); color:var(--text);
  font-family:'JetBrains Mono'; font-size:12.5px; padding:9px 12px; border-radius:8px; appearance:none;
  -webkit-appearance:none; cursor:pointer;
}
.currency-bar{ display:flex; align-items:center; gap:10px; font-size:13px; color:var(--text-dim);}
.currency-note{ font-size:11.5px; color:var(--text-faint); margin-top:6px;}

/* PAGE HERO / SUB HEADER */
.page-head{ padding:64px 0 46px; border-bottom:1px solid var(--border);}
.page-head h1{ font-size:38px; margin-bottom:12px;}
.page-head p{ color:var(--text-dim); font-size:15.5px; max-width:560px;}

/* HERO (home) */
.hero{ padding:96px 0 70px; }
.hero-grid{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:64px; align-items:center;}
.hero h1{ font-size:52px; line-height:1.08; margin-bottom:22px;}
.hero h1 em{ font-style:normal; color:var(--cyan);}
.hero p.lead{ font-size:17px; color:var(--text-dim); max-width:480px; margin-bottom:32px;}
.hero-actions{ display:flex; gap:14px; margin-bottom:36px; flex-wrap:wrap;}
.hero-stats{ display:flex; gap:30px; font-family:'JetBrains Mono'; font-size:13px; color:var(--text-faint); flex-wrap:wrap;}
.hero-stats b{ display:block; color:var(--text); font-size:20px; font-family:'Space Grotesk'; font-weight:600;}

/* DEVICE DEMO */
.device{ background:var(--surface); border:1px solid var(--border-strong); border-radius:16px; padding:20px; box-shadow:0 30px 80px -30px rgba(0,0,0,0.7);}
.device-bar{ display:flex; align-items:center; justify-content:space-between; margin-bottom:16px;}
.device-dots{ display:flex; gap:6px;}
.device-dots i{ width:9px; height:9px; border-radius:50%; background:var(--border-strong); display:block;}
.status-pill{ display:flex; align-items:center; gap:7px; font-family:'JetBrains Mono'; font-size:12px; padding:6px 11px; border-radius:20px; border:1px solid var(--border-strong); color:var(--text-dim); transition:all .25s ease;}
.status-pill i{ width:7px; height:7px; border-radius:50%; background:var(--cyan); box-shadow:0 0 8px var(--cyan);}
.status-pill.offline{ border-color:rgba(242,169,59,0.4); color:var(--amber); }
.status-pill.offline i{ background:var(--amber); box-shadow:0 0 8px var(--amber);}
.device-screen{ background:var(--bg-alt); border-radius:10px; border:1px solid var(--border); padding:22px; min-height:230px;}
.device-app-header{ display:flex; align-items:center; gap:10px; margin-bottom:16px;}
.app-icon{ width:30px; height:30px; border-radius:7px; background:linear-gradient(135deg,var(--cyan),var(--amber)); flex-shrink:0;}
.app-name{ font-weight:600; font-size:14.5px;}
.app-sub{ font-size:12px; color:var(--text-faint);}
.cache-banner{ display:none; align-items:center; gap:8px; font-family:'JetBrains Mono'; font-size:11.5px; color:var(--amber); background:var(--amber-dim); border:1px solid rgba(242,169,59,0.3); border-radius:6px; padding:8px 10px; margin-bottom:14px;}
.demo-offline .cache-banner{ display:flex; }
.skeleton-row{ display:flex; gap:12px; align-items:center; padding:10px 0; border-bottom:1px solid var(--border);}
.skeleton-row:last-child{ border-bottom:none;}
.sk-thumb{ width:36px; height:36px; border-radius:6px; background:var(--surface-2); flex-shrink:0;}
.sk-lines{ flex:1;}
.sk-line{ height:8px; background:var(--surface-2); border-radius:4px; margin-bottom:6px; width:70%;}
.sk-line.short{ width:40%;}
.device-toggle{ display:flex; justify-content:center; margin-top:18px;}
.toggle-btn{ background:var(--surface-2); border:1px solid var(--border-strong); color:var(--text); border-radius:8px; padding:10px 18px; font-size:13px; font-family:'JetBrains Mono'; display:flex; gap:8px; align-items:center;}
.toggle-btn:hover{ border-color:var(--cyan); }

/* SIGNAL STRIP */
.strip{ border-top:1px solid var(--border); border-bottom:1px solid var(--border); background:var(--bg-alt);}
.strip-inner{ display:flex; justify-content:space-between; padding:22px 0; flex-wrap:wrap; gap:20px;}
.strip-item{ font-family:'JetBrains Mono'; font-size:12.5px; color:var(--text-dim); display:flex; gap:9px; align-items:baseline;}
.strip-item b{ color:var(--cyan); font-size:16px;}

/* SECTION HEAD */
.section-head{ max-width:600px; margin-bottom:48px;}
.section-head h2{ font-size:34px; margin-bottom:14px;}
.section-head p{ color:var(--text-dim); font-size:15.5px;}

/* ADVANTAGES GRID */
.adv{ padding:100px 0;}
.adv-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--border); border:1px solid var(--border); border-radius:14px; overflow:hidden;}
.adv-card{ background:var(--bg); padding:32px 28px;}
.adv-icon{ width:38px; height:38px; margin-bottom:18px; color:var(--cyan);}
.adv-card h3{ font-size:17px; margin-bottom:9px;}
.adv-card p{ font-size:14px; color:var(--text-dim);}
@media (max-width:820px){ .adv-grid{grid-template-columns:1fr;} .hero-grid{grid-template-columns:1fr;} .hero h1{font-size:38px;} }

/* PRODUCTS */
.products{ padding:70px 0 100px;}
.product-main{ display:grid; grid-template-columns:1.3fr 1fr; gap:0; border:1px solid var(--border-strong); border-radius:16px; overflow:hidden; background:var(--surface); margin-bottom:24px;}
.product-main-copy{ padding:44px 44px;}
.product-main-copy .tag{ display:inline-block; font-family:'JetBrains Mono'; font-size:11.5px; color:var(--cyan); background:var(--cyan-dim); border:1px solid rgba(63,208,201,0.3); padding:4px 10px; border-radius:20px; margin-bottom:16px;}
.product-main-copy h3{ font-size:26px; margin-bottom:12px;}
.product-main-copy p{ color:var(--text-dim); font-size:14.5px; margin-bottom:22px; max-width:420px;}
.feature-list{ list-style:none; margin-bottom:26px;}
.feature-list li{ display:flex; gap:10px; font-size:14px; color:var(--text); padding:6px 0; align-items:flex-start;}
.feature-list li svg{ flex-shrink:0; margin-top:3px; color:var(--cyan);}
.product-price-panel{ background:var(--surface-2); padding:44px 36px; display:flex; flex-direction:column; justify-content:center; border-left:1px solid var(--border);}
.price-big{ font-family:'Space Grotesk'; font-size:44px; font-weight:700;}
.price-big span{ font-size:16px; color:var(--text-faint); font-weight:500;}
.price-note{ font-size:13px; color:var(--text-dim); margin:8px 0 24px;}
.addon-row{ display:flex; justify-content:space-between; align-items:center; padding:14px 16px; background:var(--bg-alt); border:1px solid var(--border); border-radius:8px; margin-bottom:20px; font-size:13.5px;}
.addon-row .amt{ font-family:'JetBrains Mono'; color:var(--amber); font-weight:600;}

.lb-head{ margin:64px 0 26px; display:flex; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; gap:14px;}
.lb-head h3{ font-size:24px;}
.lb-head p{ color:var(--text-dim); font-size:14px; max-width:420px;}
.lb-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
.lb-card{ background:var(--surface); border:1px solid var(--border-strong); border-radius:14px; padding:30px 26px; display:flex; flex-direction:column;}
.lb-card.featured{ border-color:var(--amber); box-shadow:0 0 0 1px var(--amber), 0 20px 50px -25px rgba(242,169,59,0.3);}
.lb-badge{ font-family:'JetBrains Mono'; font-size:10.5px; color:var(--amber); text-transform:uppercase; letter-spacing:.08em; margin-bottom:10px;}
.lb-card h4{ font-size:18px; margin-bottom:6px;}
.lb-price{ font-family:'Space Grotesk'; font-size:28px; font-weight:700; margin:10px 0 4px;}
.lb-price span{ font-size:13px; color:var(--text-faint); font-weight:500;}
.lb-sub{ font-size:12.5px; color:var(--text-faint); margin-bottom:18px;}
.lb-list{ list-style:none; margin-bottom:22px; flex:1;}
.lb-list li{ font-size:13.5px; color:var(--text-dim); padding:5px 0; display:flex; gap:8px;}
.lb-list li::before{ content:"→"; color:var(--cyan); flex-shrink:0;}
@media (max-width:900px){ .product-main{grid-template-columns:1fr;} .product-price-panel{border-left:none; border-top:1px solid var(--border);} .lb-grid{grid-template-columns:1fr;} }

/* DOCS */
.docs{ padding:70px 0 100px;}
.docs-panel{ border:1px solid var(--border-strong); border-radius:14px; overflow:hidden; background:var(--bg);}
.docs-tabs{ display:flex; border-bottom:1px solid var(--border); background:var(--surface); overflow-x:auto;}
.docs-tab{ padding:15px 22px; font-family:'JetBrains Mono'; font-size:13px; color:var(--text-faint); border-right:1px solid var(--border); border-bottom:2px solid transparent; white-space:nowrap;}
.docs-tab.active{ color:var(--cyan); border-bottom:2px solid var(--cyan); background:var(--bg);}
.docs-body{ display:none; padding:34px; }
.docs-body.active{ display:block; }
.docs-body h4{ font-size:16px; margin-bottom:10px;}
.docs-body p{ color:var(--text-dim); font-size:14px; margin-bottom:16px;}
.resource-list{ list-style:none; }
.resource-list li{ border:1px solid var(--border); border-radius:10px; padding:16px 18px; margin-bottom:12px; background:var(--surface);}
.resource-list a{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; flex-wrap:wrap;}
.resource-title{ color:var(--text); font-weight:600; font-size:14.5px;}
.resource-list a:hover .resource-title{ color:var(--cyan);}
.resource-src{ font-family:'JetBrains Mono'; font-size:11.5px; color:var(--text-faint);}
.resource-list li p{ margin:8px 0 0; font-size:13px; color:var(--text-dim);}
.code-block{ background:var(--surface); border:1px solid var(--border); border-radius:8px; padding:18px 20px; font-size:13px; overflow-x:auto; color:#C7D0E8; line-height:1.7;}
.code-block .k{ color:var(--amber);}
.code-block .s{ color:var(--cyan);}
.code-block .c{ color:var(--text-faint);}
table.endpoints{ width:100%; border-collapse:collapse; font-size:13.5px;}
table.endpoints th{ text-align:left; font-family:'JetBrains Mono'; font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:var(--text-faint); padding:10px 12px; border-bottom:1px solid var(--border-strong);}
table.endpoints td{ padding:12px 12px; border-bottom:1px solid var(--border); vertical-align:top;}
table.endpoints tr:last-child td{ border-bottom:none;}
.method{ font-family:'JetBrains Mono'; font-size:11.5px; font-weight:600; padding:2px 8px; border-radius:5px; display:inline-block;}
.method.get{ background:var(--cyan-dim); color:var(--cyan);}
.method.post{ background:var(--amber-dim); color:var(--amber);}
.path{ font-family:'JetBrains Mono'; font-size:13px; color:var(--text);}

/* PRICING TABLE */
.pricing{ padding:20px 0 100px;}
.pricing-table{ width:100%; border-collapse:collapse; border:1px solid var(--border-strong); border-radius:14px; overflow:hidden;}
.pricing-table th{ text-align:left; background:var(--surface); font-family:'JetBrains Mono'; font-size:11.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--text-faint); padding:16px 20px; border-bottom:1px solid var(--border-strong);}
.pricing-table td{ padding:18px 20px; border-bottom:1px solid var(--border); font-size:14.5px;}
.pricing-table tr:last-child td{ border-bottom:none;}
.pricing-table .amt{ font-family:'JetBrains Mono'; color:var(--cyan); font-weight:600;}
.pricing-table .buy-link{ font-size:13px; color:var(--cyan);}

/* CTA */
.cta-band{ padding:90px 0; text-align:center;}
.cta-band h2{ font-size:36px; margin-bottom:16px;}
.cta-band p{ color:var(--text-dim); margin-bottom:32px;}
.cta-actions{ display:flex; justify-content:center; gap:14px; flex-wrap:wrap;}

footer{ border-top:1px solid var(--border); padding:40px 0; }
.footer-inner{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;}
.footer-inner p{ color:var(--text-faint); font-size:13px;}
.footer-links{ display:flex; gap:24px; font-size:13px; color:var(--text-dim);}

/* LOGIN */
.login-shell{ min-height:calc(100vh - 140px); display:flex; align-items:center; justify-content:center; padding:70px 24px;}
.login-card{ width:100%; max-width:420px; background:var(--surface); border:1px solid var(--border-strong); border-radius:16px; padding:40px 36px; box-shadow:0 30px 80px -30px rgba(0,0,0,0.7);}
.login-card .eyebrow{ justify-content:center;}
.login-card h1{ font-size:24px; text-align:center; margin-bottom:8px;}
.login-card p.sub{ text-align:center; color:var(--text-dim); font-size:13.5px; margin-bottom:30px;}
.field{ margin-bottom:18px;}
.field label{ display:block; font-family:'JetBrains Mono'; font-size:11.5px; color:var(--text-faint); text-transform:uppercase; letter-spacing:.06em; margin-bottom:8px;}
.field .input-wrap{ display:flex; align-items:center; background:var(--bg-alt); border:1px solid var(--border-strong); border-radius:8px; padding:0 12px;}
.field .input-wrap:focus-within{ border-color:var(--cyan);}
.field .input-wrap span{ color:var(--text-faint); font-family:'JetBrains Mono'; font-size:13.5px;}
.field input{ flex:1; background:none; border:none; outline:none; color:var(--text); padding:12px 6px; font-size:14px; font-family:'JetBrains Mono';}
.field input::placeholder{ color:var(--text-faint);}
.divider{ display:flex; align-items:center; gap:12px; margin:24px 0; color:var(--text-faint); font-size:12px; font-family:'JetBrains Mono'; text-transform:uppercase; letter-spacing:.08em;}
.divider::before,.divider::after{ content:""; flex:1; height:1px; background:var(--border-strong);}
.gh-btn{ display:flex; align-items:center; justify-content:center; gap:10px; width:100%; background:#161B22; border:1px solid #30363D; color:#fff; padding:13px; border-radius:8px; font-weight:600; font-size:14px;}
.gh-btn:hover{ background:#1c2128;}
.login-note{ margin-top:22px; font-size:12px; color:var(--text-faint); text-align:center; line-height:1.6;}
.login-note b{ color:var(--text-dim);}
.login-status{ display:none; margin-top:18px; font-family:'JetBrains Mono'; font-size:12.5px; color:var(--cyan); background:var(--cyan-dim); border:1px solid rgba(63,208,201,0.3); border-radius:8px; padding:10px 12px; text-align:center;}
.login-status.show{ display:block;}

/* CHECKOUT */
.checkout-grid{ display:grid; grid-template-columns:1.3fr 1fr; gap:28px; align-items:start; padding:50px 0 100px;}
@media (max-width:900px){ .checkout-grid{grid-template-columns:1fr;} }
.pay-panel-wrap{ background:var(--surface); border:1px solid var(--border-strong); border-radius:16px; overflow:hidden;}
.pay-tabs{ display:grid; grid-template-columns:repeat(6,1fr); border-bottom:1px solid var(--border); background:var(--surface-2);}
.pay-tab{ padding:14px 6px; text-align:center; font-size:11.5px; font-family:'JetBrains Mono'; color:var(--text-faint); border-right:1px solid var(--border); border-bottom:2px solid transparent; display:flex; flex-direction:column; align-items:center; gap:6px;}
.pay-tab:last-child{ border-right:none;}
.pay-tab.active{ color:var(--cyan); border-bottom:2px solid var(--cyan); background:var(--bg);}
.pay-tab.disabled{ opacity:.4; cursor:not-allowed;}
.pay-panel{ display:none; padding:34px;}
.pay-panel.active{ display:block;}
.pay-panel h4{ font-size:16px; margin-bottom:6px;}
.pay-panel p.hint{ font-size:13px; color:var(--text-dim); margin-bottom:22px;}
.pay-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px;}
.pay-row.single{ grid-template-columns:1fr;}
.network-pick{ display:flex; gap:10px; margin-bottom:20px; flex-wrap:wrap;}
.network-chip{ padding:8px 14px; border:1px solid var(--border-strong); border-radius:20px; font-size:12.5px; color:var(--text-dim); font-family:'JetBrains Mono';}
.network-chip.selected{ border-color:var(--cyan); color:var(--cyan); background:var(--cyan-dim);}
.crypto-box{ display:flex; gap:16px; align-items:center; background:var(--bg-alt); border:1px solid var(--border); border-radius:10px; padding:18px; margin-bottom:18px;}
.qr-placeholder{ width:76px; height:76px; border-radius:8px; background:repeating-conic-gradient(var(--text) 0% 25%, var(--bg-alt) 0% 50%) 0 0/12px 12px; flex-shrink:0;}
.order-summary{ background:var(--surface); border:1px solid var(--border-strong); border-radius:16px; padding:30px; position:sticky; top:96px;}
.order-summary h3{ font-size:16px; margin-bottom:20px;}
.order-line{ display:flex; justify-content:space-between; font-size:13.5px; color:var(--text-dim); padding:9px 0; border-bottom:1px solid var(--border);}
.order-line.total{ color:var(--text); font-weight:600; font-size:15px; border-bottom:none; padding-top:16px;}
.order-line .amt{ font-family:'JetBrains Mono'; color:var(--text);}
.order-line.total .amt{ color:var(--cyan); font-size:20px;}
.select-plan{ width:100%; background:var(--bg-alt); border:1px solid var(--border-strong); color:var(--text); border-radius:8px; padding:11px 12px; font-size:13.5px; margin-bottom:18px; font-family:'Inter';}
.secure-note{ display:flex; gap:8px; align-items:center; font-size:12px; color:var(--text-faint); margin-top:18px;}
