/* ============================================================
   ONENETWORK SOLUTIONS — styles.css
   Inter + compact mega-menu header + editorial footer
   ============================================================ */

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg:     #07111f;
  --bg-2:   #0a1628;
  --panel:  #0e1c30;
  --panel-2:#122540;
  --ink:    #f0f6ff;
  --muted:  #7d94ad;
  --line:   rgba(255,255,255,.1);
  --accent: #47f0c2;
  --accent-2:#8ea7ff;
  --warm:   #f6c177;
  --danger: #ff7a90;
  --max:    1180px;
  --radius: 26px;
  --shadow: 0 24px 80px rgba(0,0,0,.38);
  --font:   'Inter', ui-sans-serif, system-ui, sans-serif;

  /* header */
  --hdr-h:  56px;
  --hdr-bg: #040d1a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(circle at 8%  0%, rgba(71,240,194,.18), transparent 32rem),
    radial-gradient(circle at 82% 12%, rgba(142,167,255,.20), transparent 32rem),
    linear-gradient(180deg, #07111f 0%, #08152a 44%, #07111f 100%);
  line-height: 1.6;
  overflow-x: hidden;
}
a  { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
address { font-style: normal; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px;
  color: #d0ffef; background: rgba(71,240,194,.07);
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent); box-shadow: 0 0 14px var(--accent), 0 0 28px rgba(71,240,194,.4);
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announce-bar {
  background: linear-gradient(90deg,rgba(71,240,194,.09),rgba(142,167,255,.07),rgba(246,193,119,.06));
  border-bottom: 1px solid rgba(71,240,194,.16);
  padding: 9px 0;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: #c8f0e3;
  position: relative;
  z-index: 52;
}
.announce-bar a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.announce-bar a:hover { color: #fff; }
.announce-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--muted); cursor: pointer;
  font-size: 16px; padding: 4px 7px; border-radius: 5px; font-family: inherit;
  transition: color .15s;
}
.announce-close:hover { color: #fff; }
.announce-bar.dismissed { display: none; }

/* ============================================================
   HEADER / TOPBAR  — compact, distinctive, not generic
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--hdr-bg);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .25s ease, box-shadow .25s ease;
}
/* gradient accent line under header */
.topbar::after {
  content: "";
  position: absolute; bottom: -2px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(71,240,194,.35) 30%, rgba(142,167,255,.25) 65%, transparent);
  pointer-events: none;
}
.topbar.scrolled {
  background: rgba(3,9,18,.97);
  box-shadow: 0 2px 48px rgba(0,0,0,.55);
}
.nav {
  height: var(--hdr-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}

/* Logo */
.logo-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo  { width: 140px; height: auto; max-height: 30px; object-fit: contain; }

/* Nav links row */
.navlinks {
  display: flex; align-items: center; gap: 0;
  flex: 1; justify-content: center;
}

/* Plain nav links */
.navlinks > a {
  color: rgba(200,215,230,.65);
  font-size: 12.5px; font-weight: 500;
  padding: 5px 9px; border-radius: 6px;
  transition: color .14s ease;
  white-space: nowrap; letter-spacing: -.01em;
}
.navlinks > a:hover  { color: rgba(255,255,255,.9); }
.navlinks > a.active { color: var(--accent); }

/* ── MEGA MENU TRIGGER ───────────────────────────────────── */
.has-mega { position: relative; }

/* Bridge: invisible hover zone that fills the gap between trigger and panel */
.has-mega::after {
  content: ""; position: absolute;
  left: -16px; right: -16px;
  bottom: -12px; height: 12px;
  background: transparent;
}

.mega-trigger {
  display: flex; align-items: center; gap: 3px;
  color: rgba(200,215,230,.65);
  font-size: 12.5px; font-weight: 500; letter-spacing: -.01em;
  padding: 5px 9px; border-radius: 6px;
  background: none; border: none; cursor: pointer;
  transition: color .14s ease;
  white-space: nowrap; font-family: var(--font);
}
.mega-trigger:hover { color: rgba(255,255,255,.9); }
.has-mega.active > .mega-trigger { color: var(--accent); }

.mega-chevron {
  flex-shrink: 0; opacity: .5;
  transition: transform .18s ease;
}
.has-mega:hover .mega-chevron,
.has-mega:focus-within .mega-chevron { transform: rotate(180deg); }

/* ── MEGA PANELS ─────────────────────────────────────────── */
.mega-panel {
  position: absolute;
  top: calc(100% + 12px); /* gap is bridged by .has-mega::after */
  left: 50%; transform: translateX(-50%) translateY(-4px);
  background: #060f1d;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  box-shadow: 0 32px 90px rgba(0,0,0,.7), 0 0 0 1px rgba(71,240,194,.05);
  padding: 18px;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 200;
}
.has-mega:hover > .mega-panel,
.has-mega:focus-within > .mega-panel {
  opacity: 1; pointer-events: auto; visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Services mega — 3 columns */
.mega-services { width: 640px; }
.mega-grid-services { display: grid; grid-template-columns: 1fr 1fr 220px; gap: 6px 14px; }

.mega-col { display: flex; flex-direction: column; gap: 3px; }
.mega-col-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); padding: 0 10px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px;
}
.mega-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 10px; border-radius: 11px;
  transition: background .15s ease;
}
.mega-item:hover { background: rgba(71,240,194,.07); }
.mega-item svg { flex-shrink: 0; margin-top: 1px; color: var(--accent); opacity: .7; }
.mega-item strong { display: block; font-size: 13px; font-weight: 700; color: #e8f4ff; margin-bottom: 2px; }
.mega-item span   { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.35; }

/* Promo column in services mega */
.mega-promo {
  background: linear-gradient(145deg, rgba(71,240,194,.1), rgba(142,167,255,.06));
  border: 1px solid rgba(71,240,194,.15);
  border-radius: 13px; padding: 18px 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.mega-promo-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); opacity: .7;
}
.mega-promo strong { font-size: 17px; font-weight: 700; line-height: 1.2; color: #fff; }
.mega-promo p { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.5; flex: 1; }

/* Products mega — 2 product cards */
.mega-products { width: 400px; }
.mega-grid-products { display: flex; flex-direction: column; gap: 8px; }

.mega-product-card {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  transition: background .15s ease, border-color .15s ease;
  position: relative;
}
.mega-product-card:hover { background: rgba(71,240,194,.07); border-color: rgba(71,240,194,.2); }
.mp-icon {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center;
}
.mp-teal { background: rgba(71,240,194,.12); border: 1px solid rgba(71,240,194,.2); color: var(--accent); }
.mp-warm { background: rgba(246,193,119,.12); border: 1px solid rgba(246,193,119,.2); color: var(--warm); }
.mp-body { flex: 1; }
.mp-body strong { display: block; font-size: 14px; font-weight: 700; color: #e8f4ff; margin-bottom: 2px; }
.mp-body span   { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; }
.mp-badge {
  font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(71,240,194,.15); color: var(--accent); border: 1px solid rgba(71,240,194,.2);
  white-space: nowrap; flex-shrink: 0;
}
.mp-badge-warm {
  background: rgba(246,193,119,.15); color: var(--warm); border-color: rgba(246,193,119,.2);
}
.mega-all-products {
  display: block; text-align: center; font-size: 12.5px; font-weight: 700;
  color: var(--muted); padding: 10px; border-radius: 10px; margin-top: 6px;
  transition: color .15s ease, background .15s ease;
}
.mega-all-products:hover { color: var(--accent); background: rgba(71,240,194,.06); }

/* ── NAV CTA ─────────────────────────────────────────────── */
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-status {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 11px; border: 1px solid rgba(71,240,194,.2); border-radius: 999px;
  font-size: 12px; font-weight: 700; color: var(--accent);
  background: rgba(71,240,194,.06); white-space: nowrap;
}
.nav-status em {
  display: block; width: 6px; height: 6px; border-radius: 50%; font-style: normal;
  background: var(--accent); flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(71,240,194,.15);
  animation: navpulse 2.5s ease infinite;
}
@keyframes navpulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(71,240,194,.15); }
  50%      { box-shadow: 0 0 0 6px rgba(71,240,194,.06), 0 0 14px var(--accent); }
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 10px; padding: 10px 18px;
  font: 700 13.5px/1 var(--font); background: var(--accent); color: #041912;
  box-shadow: 0 8px 28px rgba(71,240,194,.22);
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover   { transform: translateY(-1px); box-shadow: 0 14px 38px rgba(71,240,194,.3); }
.btn:active  { transform: translateY(0); }
.btn.secondary {
  background: rgba(255,255,255,.07); border-color: var(--line);
  color: #ddeeff; box-shadow: none;
}
.btn.secondary:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.18); }
.btn.warm   { background: var(--warm); color: #1a0e00; box-shadow: 0 8px 28px rgba(246,193,119,.22); }
.btn.warm:hover { box-shadow: 0 14px 38px rgba(246,193,119,.3); }
.btn.ghost  { background: transparent; border-color: rgba(71,240,194,.3); color: var(--accent); box-shadow: none; }
.btn.ghost:hover { background: rgba(71,240,194,.08); }
.btn-sm { padding: 8px 13px; font-size: 12.5px; border-radius: 8px; }

/* Mobile hamburger */
.menu-btn {
  display: none; background: rgba(255,255,255,.07); border: 1px solid var(--line);
  color: var(--ink); border-radius: 9px; padding: 8px 10px; cursor: pointer;
  font-family: inherit; align-items: center; justify-content: center;
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 92px 0 76px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
h1 {
  font-family: var(--font); font-size: clamp(36px, 4.8vw, 58px);
  line-height: .96; letter-spacing: -.04em; margin: 20px 0; color: #fff; font-weight: 700;
}
h2 { font-family: var(--font); font-weight: 700; }
h3 { font-family: var(--font); font-weight: 600; }
.h1-soft {
  background: linear-gradient(95deg, var(--accent) 0%, var(--accent-2) 50%, var(--warm) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%; animation: gradshift 5s ease infinite;
}
@keyframes gradshift { 0%,100%{background-position:0%} 50%{background-position:100%} }
.lede { font-size: clamp(16px,2.1vw,19px); color: #a8bdd4; max-width: 720px; margin: 0 0 26px; line-height: 1.68; font-weight: 400; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.hero-proof { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 28px; }
.proof-card {
  padding: 18px 16px; border: 1px solid var(--line); border-radius: 18px;
  background: rgba(255,255,255,.04); backdrop-filter: blur(8px);
  transition: border-color .2s ease;
}
.proof-card:hover { border-color: rgba(71,240,194,.2); }
.proof-card strong { display: block; font-size: 24px; font-weight: 700; color: #fff; letter-spacing: -.03em; }
.proof-card span   { color: var(--muted); font-size: 12px; line-height: 1.4; display: block; margin-top: 3px; }

/* Signal / orbit board */
.signal-board {
  position: relative; min-height: 540px;
  border: 1px solid rgba(71,240,194,.16); border-radius: 34px; padding: 18px;
  background: linear-gradient(135deg,rgba(255,255,255,.09),rgba(255,255,255,.02));
  box-shadow: var(--shadow), 0 0 0 1px rgba(71,240,194,.07); overflow: hidden;
}
.signal-board::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg,#000,transparent 90%);
}
.signal-board::after {
  content: ""; position: absolute;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle,rgba(71,240,194,.16),transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none;
}
.orbit { position: absolute; inset: 58px; border: 1px dashed rgba(71,240,194,.18); border-radius: 42% 58% 45% 55%; animation: spin 26s linear infinite; }
.orbit.o2 { inset: 112px; animation-duration: 36s; border-radius: 58% 42% 55% 45%; border-color: rgba(142,167,255,.18); }
.orbit.o3 { inset: 178px; animation-duration: 18s; border-style: solid; opacity: .25; border-color: rgba(246,193,119,.2); }
@keyframes spin { to { transform: rotate(360deg); } }
.node {
  position: absolute; width: 190px; padding: 16px 14px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 20px;
  background: rgba(7,14,26,.84); backdrop-filter: blur(14px);
  box-shadow: 0 10px 32px rgba(0,0,0,.3);
}
.node strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.node span   { font-size: 12px; color: var(--muted); line-height: 1.4; }
.node .dot   { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent); margin-bottom: 9px; }
.node.n1 { top: 42px; left: 28px; }
.node.n2 { top: 68px; right: 30px; }
.node.n3 { bottom: 64px; right: 48px; }
.node.n4 { bottom: 38px; left: 48px; }
.node.center {
  top: 50%; left: 50%; transform: translate(-50%,-50%); width: 224px; text-align: center;
  background: linear-gradient(160deg,rgba(71,240,194,.14),rgba(142,167,255,.08));
  border-color: rgba(71,240,194,.22);
  box-shadow: 0 0 0 1px rgba(71,240,194,.08), 0 22px 56px rgba(0,0,0,.4);
}
.node.center .dot { margin: 0 auto 10px; background: var(--warm); box-shadow: 0 0 18px var(--warm); }

/* ============================================================
   SECTIONS & LAYOUT
   ============================================================ */
section { padding: 80px 0; }
.section-head { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(28px,4.4vw,52px); line-height: 1.04; letter-spacing: -.04em; margin: 10px 0 0; }
.section-head p  { color: var(--muted); max-width: 500px; margin: 0; font-size: 15px; line-height: 1.65; }

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

/* Cards */
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.025));
  padding: 26px; box-shadow: 0 10px 36px rgba(0,0,0,.14);
  transition: border-color .22s, transform .22s, box-shadow .22s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(135deg,rgba(71,240,194,.07),transparent 50%);
  opacity: 0; transition: opacity .22s; pointer-events: none;
}
.card:hover { border-color: rgba(71,240,194,.2); transform: translateY(-3px); box-shadow: 0 22px 56px rgba(0,0,0,.22), 0 0 0 1px rgba(71,240,194,.08); }
.card:hover::before { opacity: 1; }
.card h3 { margin: 12px 0 7px; font-size: 20px; letter-spacing: -.025em; line-height: 1.18; font-weight: 700; }
.card p  { color: var(--muted); margin: 0; font-size: 14px; line-height: 1.65; }
.card .icon {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(71,240,194,.1); border: 1px solid rgba(71,240,194,.17); font-size: 20px;
}
.icon-svg { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(71,240,194,.1); border: 1px solid rgba(71,240,194,.17); }
.icon-svg.warm { background: rgba(246,193,119,.1); border-color: rgba(246,193,119,.17); }
.icon-svg.blue { background: rgba(142,167,255,.1); border-color: rgba(142,167,255,.17); }

/* Stack items */
.stack { counter-reset: step; }
.stack-item {
  position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 18px;
  padding: 22px; border: 1px solid var(--line); border-radius: 22px;
  background: rgba(255,255,255,.04); margin-bottom: 12px;
  transition: border-color .2s, background .2s;
}
.stack-item:hover { border-color: rgba(71,240,194,.18); background: rgba(71,240,194,.03); }
.stack-item::before {
  counter-increment: step; content: "0" counter(step);
  width: 50px; height: 50px; border-radius: 15px;
  background: rgba(142,167,255,.1); display: grid; place-items: center;
  color: #c8d4ff; font-weight: 700; font-size: 17px; letter-spacing: -.02em;
}
.stack-item h3 { margin: 0 0 5px; font-size: 17px; }
.stack-item p  { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Venture cards */
.venture {
  position: relative; overflow: hidden; min-height: 360px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.venture::after {
  content: ""; position: absolute; right: -48px; top: -48px;
  width: 170px; height: 170px; border-radius: 50%;
  background: radial-gradient(circle,rgba(71,240,194,.28),transparent 65%); pointer-events: none;
}
.venture small { color: var(--accent); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }
.venture h3    { font-size: 30px; letter-spacing: -.04em; margin: 9px 0 10px; }
.venture ul    { padding-left: 18px; color: #b8ccdf; line-height: 1.8; }
.venture li    { margin: 4px 0; font-size: 14px; }
.venture .btn  { align-self: flex-start; margin-top: 18px; }

/* Split layout */
.split { display: grid; grid-template-columns: .84fr 1.16fr; gap: 22px; align-items: start; }
.panel {
  border: 1px solid var(--line); border-radius: 32px;
  background: rgba(255,255,255,.05); padding: 30px; box-shadow: var(--shadow);
}

/* Price tabs */
.price-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.price-tabs button {
  border: 1px solid var(--line); background: rgba(255,255,255,.06);
  color: var(--ink); border-radius: 9px; padding: 10px 15px; font-weight: 700;
  cursor: pointer; font-family: var(--font); font-size: 13px;
  transition: background .18s, border-color .18s;
}
.price-tabs button.active { background: var(--accent); color: #041912; border-color: transparent; }
.price-group { display: none; }
.price-group.active { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.price { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: rgba(7,17,31,.4); }
.price h3 { margin: 0; font-size: 18px; }
.rate { font-size: 36px; font-weight: 700; letter-spacing: -.04em; margin: 10px 0; color: #fff; }
.rate span { font-size: 16px; color: var(--muted); font-weight: 500; margin-left: 2px; }
.price ul { padding-left: 18px; color: #b8ccdf; font-size: 14px; }
.price li { margin: 8px 0; }

/* Timeline */
.timeline { position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(var(--accent), var(--accent-2), var(--warm));
}
.timeline-item { position: relative; padding-left: 76px; margin-bottom: 28px; }
.timeline-item::before {
  content: ""; position: absolute; left: 15px; top: 3px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--accent);
}
.timeline-item h3 { margin: 0 0 4px; font-size: 17px; }
.timeline-item p  { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* CTA band */
.cta-band {
  border: 1px solid var(--line); border-radius: 36px; padding: 42px;
  background: linear-gradient(130deg,rgba(71,240,194,.13),rgba(142,167,255,.09),rgba(246,193,119,.08));
  display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; right: -56px; top: -56px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle,rgba(71,240,194,.22),transparent 70%); pointer-events: none;
}
.cta-band h2 { font-size: clamp(26px,3.5vw,48px); line-height: 1.06; letter-spacing: -.04em; margin: 0 0 8px; }
.cta-band p  { color: #c8def4; margin: 0; max-width: 660px; font-size: 15px; line-height: 1.65; }

/* Feature table */
.feature-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.feature-table th { text-align: left; color: #fff; font-size: 12.5px; padding: 12px 15px; font-weight: 700; letter-spacing: .02em; }
.feature-table td {
  padding: 15px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.04); color: #b8ccdf; font-size: 14px;
}
.feature-table td:first-child { border-left: 1px solid var(--line); border-radius: 13px 0 0 13px; color: #fff; font-weight: 700; }
.feature-table td:last-child  { border-right: 1px solid var(--line); border-radius: 0 13px 13px 0; }

/* Contact form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form label { display: block; color: #c8d8f0; font-weight: 700; font-size: 12.5px; letter-spacing: .01em; }
.form input, .form textarea, .form select {
  width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255,255,255,.06); color: #fff; padding: 12px 14px;
  font: inherit; outline: none; font-size: 14px;
  transition: border-color .2s, background .2s;
}
.form input:focus, .form textarea:focus, .form select:focus {
  border-color: rgba(71,240,194,.38); background: rgba(71,240,194,.04);
}
.form textarea  { min-height: 130px; resize: vertical; }
.form .full     { grid-column: 1/-1; }
.form button    { border: 0; }
.notice {
  display: none; margin-top: 12px;
  border: 1px solid rgba(71,240,194,.28); background: rgba(71,240,194,.08);
  color: #d2fff4; border-radius: 14px; padding: 13px; font-size: 14px;
}
.notice.error   { border-color: rgba(255,96,96,.3); background: rgba(255,96,96,.07); color: #ffd8d8; }

/* Legal */
.legal { max-width: 880px; }
.legal h2    { font-size: 26px; letter-spacing: -.035em; margin-top: 34px; }
.legal p, .legal li { color: #b0c4da; line-height: 1.72; font-size: 15px; }
.legal ul    { padding-left: 20px; }

/* Project tiles */
.project-marquee { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.project-tile {
  min-height: 210px; border: 1px solid var(--line); border-radius: 26px; padding: 22px;
  background: rgba(255,255,255,.04); display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color .2s, transform .2s;
}
.project-tile:hover { border-color: rgba(71,240,194,.18); transform: translateY(-2px); }
.project-tile b    { font-size: 21px; letter-spacing: -.03em; font-weight: 700; }
.project-tile span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.project-tile a    { color: var(--accent); font-size: 13px; font-weight: 700; margin-top: 12px; display: inline-block; }
.project-tile a:hover { text-decoration: underline; }

/* Page hero */
.page-hero { padding: 76px 0 42px; }
.page-hero h1 { max-width: 840px; }

/* ── SPLIT HERO (text + SVG illustration) ─────────────────── */
.hero-split {
  padding: 76px 0 64px;
  position: relative; overflow: hidden;
}
.hero-split::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 78% 40%, rgba(71,240,194,.12), transparent 52%),
    radial-gradient(ellipse at 18% 80%, rgba(142,167,255,.10), transparent 48%);
}
.hero-split-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center; position: relative; z-index: 1;
}
.hero-split-text { max-width: 560px; }
.hero-split-text h1 { margin: 16px 0 20px; }
.hero-split-art {
  display: flex; align-items: center; justify-content: center;
}
.hero-split-art svg {
  width: 100%; max-width: 460px; height: auto;
  filter: drop-shadow(0 4px 40px rgba(71,240,194,.07));
}
@media(max-width:900px) {
  .hero-split-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-split-art  { display: none; }
  .hero-split-text { max-width: 100%; }
}

.breadcrumb {
  display: flex; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 18px; align-items: center;
}
.breadcrumb::before { content: "/"; color: var(--muted); }
.breadcrumb a { color: #c4daf4; }
.breadcrumb a:hover { color: var(--accent); }
.kicker-list { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 22px; }
.pill {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px;
  color: #c8d8f0; background: rgba(255,255,255,.05); font-weight: 600; font-size: 13px;
}

/* Stats strip */
.stats-strip {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1px;
  border: 1px solid var(--line); border-radius: 24px;
  background: var(--line); overflow: hidden; margin: 0;
}
.stat-item { padding: 26px 22px; background: var(--bg-2); text-align: center; }
.stat-item strong { display: block; font-size: 34px; font-weight: 700; letter-spacing: -.04em; color: #fff; margin-bottom: 3px; }
.stat-item span   { color: var(--muted); font-size: 12.5px; line-height: 1.4; }

/* Trust strip */
.trust-strip-row {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 26px 0;
}
.trust-badge { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 700; }

/* Pre-footer */
.pre-footer {
  border-top: 1px solid var(--line); padding: 50px 0;
  background: linear-gradient(180deg,transparent,rgba(0,0,0,.1));
  position: relative;
}
.pre-footer::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg,transparent,rgba(71,240,194,.25),transparent); pointer-events: none;
}
.pre-footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.pre-footer h3 { font-size: clamp(22px,2.8vw,34px); letter-spacing: -.04em; margin: 0 0 7px; }
.pre-footer p  { color: var(--muted); margin: 0; max-width: 540px; font-size: 15px; line-height: 1.6; }
.pre-footer-btns { display: flex; gap: 11px; flex-wrap: wrap; }

/* ============================================================
   FOOTER — editorial, distinctive, not generic
   ============================================================ */
.footer { position: relative; overflow: hidden; }

/* Top statement band */
.footer-statement {
  background: #040d1a;
  border-top: 1px solid rgba(255,255,255,.07);
  position: relative; overflow: hidden;
  padding: 56px 0 48px;
}
/* big watermark */
.footer-statement::before {
  content: "ONENETWORK";
  position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  font-size: clamp(80px,13vw,180px); font-weight: 700; letter-spacing: -.04em;
  color: rgba(255,255,255,.025); pointer-events: none; white-space: nowrap;
  line-height: 1; user-select: none;
}
/* gradient line at top of statement band */
.footer-statement::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(71,240,194,.3) 40%, rgba(142,167,255,.2) 70%, transparent);
}
.footer-statement-inner {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  position: relative; z-index: 1;
}
.footer-statement-text .footer-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(71,240,194,.6); display: block; margin-bottom: 14px;
}
.footer-statement-text h2 {
  font-size: clamp(34px, 5.5vw, 72px); font-weight: 700;
  letter-spacing: -.05em; line-height: .96; margin: 0;
  color: rgba(255,255,255,.18);
  background: linear-gradient(120deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,.4) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-statement-right { text-align: right; flex-shrink: 0; }
.footer-social { display: flex; gap: 8px; justify-content: flex-end; }
.social-btn {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.1); border-radius: 9px;
  display: grid; place-items: center; color: var(--muted); background: rgba(255,255,255,.04);
  transition: .18s ease;
}
.social-btn:hover { border-color: rgba(71,240,194,.3); color: var(--accent); background: rgba(71,240,194,.07); }
.footer-contact-line { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }
.footer-contact-line a { color: var(--muted); transition: color .15s; }
.footer-contact-line a:hover { color: var(--accent); }

/* Body columns */
.footer-body {
  background: #040d1a;
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 40px 0 36px;
}
.footer-body-inner {
  display: grid;
  grid-template-columns: 220px 1fr 1fr 1fr 180px;
  gap: 0 40px;
  align-items: start;
}
.footer-brand-col { padding-right: 8px; }
.footer-brand-col .brand-logo { width: 130px; max-height: 28px; object-fit: contain; }
.footer-brand-col p {
  color: var(--muted); font-size: 13px; line-height: 1.65; margin: 14px 0 12px;
  max-width: 200px;
}
.footer-flags { display: flex; flex-direction: column; gap: 5px; }
.footer-flags span { color: rgba(255,255,255,.3); font-size: 12px; }

.footer-col-heading {
  font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: rgba(255,255,255,.28); margin: 0 0 14px; display: block;
}
.footer-links-col, .footer-offices-col { padding-top: 2px; }
.footer-links-col a {
  display: block; color: rgba(255,255,255,.45); font-size: 13px; font-weight: 400;
  margin: 9px 0; transition: color .14s; line-height: 1;
}
.footer-links-col a:hover { color: rgba(255,255,255,.85); }
.footer-offices-col address {
  color: rgba(255,255,255,.38); font-size: 12.5px; line-height: 1.75; margin-bottom: 16px;
}
.footer-offices-col address strong { color: rgba(255,255,255,.58); display: block; font-size: 12.5px; font-weight: 600; }

/* Bottom fine print */
.footer-fine {
  background: rgba(2,7,14,.7);
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 14px 0;
}
.footer-fine-inner {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center;
  font-size: 12px; color: rgba(255,255,255,.25);
}
.footer-fine-inner a { color: rgba(255,255,255,.25); transition: color .15s; }
.footer-fine-inner a:hover { color: rgba(255,255,255,.55); }

/* ============================================================
   CHECKOUT
   ============================================================ */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; }
.security-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 16px; }
.security-strip span { border: 1px solid var(--line); border-radius: 14px; padding: 10px 13px; background: rgba(255,255,255,.04); color: var(--muted); font-size: 13px; }
.checkout-hero { padding: 68px 0 32px; position: relative; overflow: hidden; }
.checkout-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 74% 20%,rgba(71,240,194,.16),transparent 28rem),radial-gradient(circle at 18% 70%,rgba(246,193,119,.09),transparent 26rem); pointer-events: none; }
.checkout-hero-wrap { position: relative; display: grid; grid-template-columns: 1.06fr .94fr; gap: 26px; align-items: stretch; }
.checkout-copy h1 { font-size: clamp(34px,4.2vw,58px); line-height: .94; letter-spacing: -.05em; margin: 18px 0 16px; max-width: 860px; }
.checkout-command-card {
  border: 1px solid var(--line); background: linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.035));
  box-shadow: var(--shadow); border-radius: 32px; padding: 30px; min-height: 370px;
  display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden;
}
.checkout-command-card::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 999px; background: rgba(71,240,194,.13); right: -76px; top: -76px; filter: blur(8px); }
.checkout-command-card::after  { content: ""; position: absolute; inset: 20px; border: 1px solid rgba(255,255,255,.06); border-radius: 24px; pointer-events: none; }
.checkout-command-card small   { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.checkout-command-card strong  { font-size: 48px; font-weight: 700; line-height: 1; letter-spacing: -.05em; margin: 9px 0 11px; position: relative; z-index: 1; display: block; }
.checkout-command-card p       { color: var(--muted); position: relative; z-index: 1; font-size: 14px; }
.status-dot { position: absolute; top: 26px; right: 26px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 7px rgba(71,240,194,.09), 0 0 22px var(--accent); }
.compact-strip { grid-template-columns: 1fr; margin-top: 16px; position: relative; z-index: 1; }
.compact-strip span { background: rgba(7,17,31,.5); }
.checkout-layout { display: grid; grid-template-columns: .76fr 1.24fr; gap: 24px; align-items: start; }
.checkout-aside { display: grid; gap: 14px; position: sticky; top: calc(var(--hdr-h) + 20px); }
.glass-card, .mini-office-card, .checkout-steps { border: 1px solid var(--line); background: rgba(255,255,255,.05); border-radius: 24px; padding: 22px; box-shadow: 0 10px 36px rgba(0,0,0,.14); }
.support-card h2 { font-size: 32px; line-height: 1.02; letter-spacing: -.05em; margin: 14px 0 10px; }
.support-card p, .mini-office-card p { color: var(--muted); font-size: 13.5px; }
.mini-office-card h3 { margin: 0 0 7px; font-size: 16px; }
.checkout-steps { display: grid; gap: 9px; }
.checkout-steps div { display: grid; grid-template-columns: 44px 1fr; gap: 11px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 11px; background: rgba(255,255,255,.04); }
.checkout-steps b    { color: var(--accent); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; }
.checkout-steps span { color: #c8d8f0; font-weight: 600; font-size: 13.5px; }
.checkout-form { padding: 28px; background: linear-gradient(160deg,rgba(255,255,255,.08),rgba(255,255,255,.04)); }
.form-title-row { display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 4px; }
.form-title-row h2 { font-size: 38px; line-height: 1; letter-spacing: -.05em; margin: 14px 0 0; }
.form-title-row p  { color: var(--muted); max-width: 270px; margin: 0; font-size: 13.5px; line-height: 1.55; }
.checkout-submit-row { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; margin-top: 4px; }
.checkout-submit-row span { color: var(--muted); font-size: 12.5px; }
.project-marquee-clean { grid-template-columns: repeat(4,1fr); }
.project-marquee-clean .project-tile { min-height: 290px; }
.project-tile.featured-project { background: linear-gradient(145deg,rgba(71,240,194,.11),rgba(255,255,255,.04)); border-color: rgba(71,240,194,.25); }
.project-tile.warm-project { background: linear-gradient(145deg,rgba(246,193,119,.12),rgba(255,255,255,.04)); border-color: rgba(246,193,119,.24); }

/* Decorative */
.section-deco { position: absolute; pointer-events: none; opacity: .06; z-index: 0; }
.glow-orb { position: absolute; border-radius: 50%; pointer-events: none; background: radial-gradient(circle,var(--c) 0%,transparent 70%); filter: blur(40px); }

/* Animations */
@keyframes fadeUp { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }
.fade-up { animation: fadeUp .55s ease both; }
.fade-up.d1 { animation-delay: .1s; }
.fade-up.d2 { animation-delay: .2s; }
.fade-up.d3 { animation-delay: .3s; }
.fade-up.d4 { animation-delay: .4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:1120px) {
  .brand-logo { width: 124px; }
  .navlinks > a, .mega-trigger { font-size: 12.5px; padding: 5px 8px; }
  .nav-status { display: none; }
  .project-marquee-clean { grid-template-columns: repeat(2,1fr); }
  .footer-body-inner { grid-template-columns: 1fr 1fr 1fr; gap: 0 28px; }
  .footer-brand-col  { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; align-items: start; padding-right: 0; margin-bottom: 4px; }
  .footer-offices-col { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
}
@media(max-width:960px) {
  .hero-grid,.split,.cta-band,.checkout-hero-wrap,.checkout-layout { grid-template-columns: 1fr; }
  .signal-board { min-height: 440px; }
  .grid-3,.grid-4,.price-group.active,.project-marquee { grid-template-columns: repeat(2,1fr); }
  .section-head { display: block; }
  .pre-footer-inner { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2,1fr); }
  .checkout-aside { position: static; }
  .checkout-command-card { min-height: 270px; }
  .footer-statement-inner { flex-direction: column; align-items: flex-start; }
  .footer-statement-right { text-align: left; }
  .footer-social { justify-content: flex-start; }

  /* Mobile nav */
  .navlinks {
    position: absolute; left: 12px; right: 12px;
    top: calc(var(--hdr-h) + 6px);
    display: none; flex-direction: column; align-items: stretch;
    background: #06111f; border: 1px solid rgba(255,255,255,.12); border-radius: 16px;
    padding: 8px; box-shadow: 0 24px 64px rgba(0,0,0,.7); z-index: 200;
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .navlinks.open { display: flex; }

  .navlinks > a {
    padding: 11px 14px; border-radius: 9px;
    font-size: 14px; font-weight: 500; width: 100%; display: block;
    color: rgba(220,230,245,.8);
  }
  .navlinks > a:hover { background: rgba(255,255,255,.07); color: #fff; }
  .navlinks > a.active { color: var(--accent); }

  .has-mega { width: 100%; }

  /* Trigger button: full width, matches link style */
  .mega-trigger {
    padding: 11px 14px; border-radius: 9px;
    font-size: 14px; font-weight: 500; width: 100%; text-align: left;
    color: rgba(220,230,245,.8); justify-content: space-between;
  }
  .mega-trigger:hover { background: rgba(255,255,255,.07); color: #fff; }
  .has-mega.active > .mega-trigger { color: var(--accent); }

  /* Mega panel: inline, visible when .open, solid bg for readability */
  .mega-panel {
    position: static !important;
    transform: none !important;
    opacity: 1 !important; visibility: visible !important; pointer-events: auto !important;
    box-shadow: none; border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04); border-radius: 12px;
    padding: 8px; margin: 4px 0 4px 14px;
    display: none; /* shown via .has-mega.open below */
  }
  .has-mega.open > .mega-panel { display: block; }

  /* Services mega: single column, no promo */
  .mega-grid-services { display: block; }
  .mega-col { display: block; margin-bottom: 4px; }
  .mega-col-label { display: none; }
  .mega-promo { display: none; }

  /* mega-item: compact single row */
  .mega-item { padding: 9px 10px; }
  .mega-item strong { font-size: 13px; }
  .mega-item span   { display: none; } /* hide description on mobile, too verbose */

  /* Products mega: stacked cards */
  .mega-grid-products { display: flex; flex-direction: column; gap: 6px; }
  .mega-product-card { padding: 10px 12px; }
  .mp-body span { display: none; } /* hide subtitle on mobile */

  .menu-btn { display: inline-flex; }
  .nav-cta .btn.secondary { display: none; }
  .nav-status { display: none; }
}

@media(max-width:680px) {
  .container { width: min(var(--max), calc(100% - 24px)); }
  .hero { padding-top: 50px; }
  .hero-proof,.grid-2,.grid-3,.grid-4,.price-group.active,.project-marquee,.stats-strip { grid-template-columns: 1fr; }
  .signal-board { min-height: 500px; }
  .node { width: 154px; padding: 12px; }
  .node.n2 { right: 12px; }
  .node.n3 { right: 18px; }
  .node.n4 { left: 14px; }
  .node.center { width: 180px; }
  .form { grid-template-columns: 1fr; }
  .cta-band { padding: 24px; grid-template-columns: 1fr; }
  .stack-item { grid-template-columns: 1fr; }
  .feature-table thead { display: none; }
  .feature-table,.feature-table tbody,.feature-table tr,.feature-table td { display: block; width: 100%; }
  .feature-table tr { margin-bottom: 10px; }
  .feature-table td { border: 1px solid var(--line); border-radius: 11px !important; margin-bottom: -1px; }
  .feature-table td::before { content: attr(data-label); display: block; color: var(--accent); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; font-weight: 800; }

  /* Footer mobile: brand spans full width, then 2-col links */
  .footer-body-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
  }
  .footer-brand-col {
    grid-column: 1 / -1;  /* full width at top */
    padding-right: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; align-items: start;
  }
  .footer-brand-col .brand-logo { margin-bottom: 8px; }
  .footer-brand-col p { font-size: 12.5px; }
  .footer-offices-col {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px;
  }
  .footer-offices-col address { font-size: 12px; }

  .footer-fine-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
  .checkout-copy h1 { font-size: 40px; }
  .checkout-command-card strong { font-size: 34px; }
  .form-title-row { display: block; }
  .form-title-row p { margin-top: 9px; }
  .checkout-form { padding: 18px; }
  .project-marquee-clean { grid-template-columns: 1fr; }
  .project-marquee-clean .project-tile { min-height: 220px; }
  .announce-bar { font-size: 12px; padding: 8px 34px 8px 14px; }
  .pre-footer-btns { flex-direction: column; }
  .footer-statement-text h2 { font-size: clamp(28px, 10vw, 52px); }
}


/* ============================================================
   Stripe Checkout Integration
   ============================================================ */
.stripe-checkout-hero .checkout-command-card strong { color: #fff; }
.stripe-checkout-layout { grid-template-columns: .68fr 1.32fr; }
.stripe-payment-form { overflow: hidden; }
.stripe-plan-fieldset { border: 0; padding: 0; margin: 0; }
.stripe-plan-fieldset legend {
  color: var(--ink); font-size: 16px; font-weight: 800; margin-bottom: 14px;
}
.stripe-pricing-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.stripe-plan-card {
  position: relative; display: grid; gap: 10px; padding: 18px; min-height: 250px;
  border: 1px solid var(--line); border-radius: 22px; cursor: pointer;
  background: linear-gradient(160deg, rgba(7,17,31,.68), rgba(255,255,255,.035));
  box-shadow: 0 12px 30px rgba(0,0,0,.14);
  transition: border-color .18s ease, transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.stripe-plan-card:hover { transform: translateY(-2px); border-color: rgba(71,240,194,.28); box-shadow: 0 18px 45px rgba(0,0,0,.2); }
.stripe-plan-card input {
  position: absolute; inset: 16px 16px auto auto; width: 18px; height: 18px; accent-color: var(--accent);
}
.stripe-plan-card:has(input:checked) {
  border-color: rgba(71,240,194,.65);
  background: linear-gradient(160deg, rgba(71,240,194,.12), rgba(255,255,255,.055));
  box-shadow: 0 18px 50px rgba(71,240,194,.08), 0 0 0 1px rgba(71,240,194,.16) inset;
}
.plan-topline { display: flex; gap: 8px; align-items: center; padding-right: 26px; color: var(--muted); font-size: 11.5px; font-weight: 700; }
.plan-topline em { font-style: normal; color: #041912; background: var(--accent); border-radius: 999px; padding: 4px 8px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.stripe-plan-card strong { color: var(--ink); font-size: 19px; line-height: 1.1; }
.plan-price { color: #fff; font-size: 32px; font-weight: 800; letter-spacing: -.05em; }
.plan-price small { font-size: 14px; color: var(--muted); margin-left: 2px; font-weight: 700; }
.plan-desc { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.stripe-plan-card ul { margin: 0; padding-left: 18px; color: #bdd0e3; font-size: 13px; line-height: 1.45; }
.stripe-plan-card li { margin: 5px 0; }
.stripe-plan-custom { border-style: dashed; }
.custom-payment-box {
  display: none; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end;
  border: 1px solid rgba(246,193,119,.22); border-radius: 20px; padding: 18px;
  background: rgba(246,193,119,.065); margin-top: 2px;
}
.custom-payment-box.active { display: grid; }
.custom-payment-box h3 { margin: 10px 0 0; font-size: 19px; line-height: 1.15; letter-spacing: -.03em; }
.custom-payment-fields { display: grid; grid-template-columns: .65fr 1fr; gap: 12px; }
.payment-trust-strip {
  border: 1px solid rgba(71,240,194,.14); border-radius: 14px; padding: 12px 14px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: rgba(71,240,194,.045);
}
.payment-trust-strip span { color: var(--muted); font-size: 12px; font-weight: 700; }
.payment-trust-strip b { color: #fff; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 5px 10px; background: rgba(255,255,255,.07); font-size: 12px; }
.payment-trust-strip em { color: var(--accent); font-style: normal; font-size: 12px; font-weight: 800; margin-left: auto; }
.terms-check { display: grid !important; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; color: var(--muted) !important; font-weight: 600 !important; line-height: 1.55; }
.terms-check input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--accent); }
.terms-check a { color: var(--accent); text-decoration: none; }
.stripe-submit-row .btn { min-width: min(100%, 310px); }
.stripe-submit-row [data-selected-plan-summary] { flex: 1; }
.stripe-result-page { min-height: 100vh; display: grid; place-items: center; padding: 28px 0; background: radial-gradient(circle at 50% 0,rgba(71,240,194,.14),transparent 26rem), var(--bg); }
.stripe-result-card { max-width: 760px; border: 1px solid var(--line); border-radius: 32px; padding: clamp(26px,4vw,48px); background: linear-gradient(160deg,rgba(255,255,255,.09),rgba(255,255,255,.04)); box-shadow: var(--shadow); text-align: center; }
.stripe-result-card h1 { font-size: clamp(34px,5vw,58px); line-height: .98; letter-spacing: -.055em; margin: 16px 0; }
.stripe-result-card p { color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 620px; margin: 0 auto 22px; }
.stripe-result-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-size: 34px; font-weight: 900; margin-bottom: 18px; }
.stripe-result-icon.success { background: rgba(71,240,194,.14); color: var(--accent); box-shadow: 0 0 0 8px rgba(71,240,194,.05); }
.stripe-result-icon.cancel { background: rgba(246,193,119,.14); color: var(--warm); box-shadow: 0 0 0 8px rgba(246,193,119,.05); }
.stripe-receipt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; text-align: left; }
.stripe-receipt-grid div { border: 1px solid var(--line); border-radius: 16px; padding: 14px; background: rgba(7,17,31,.45); }
.stripe-receipt-grid small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; margin-bottom: 7px; }
.stripe-receipt-grid strong { color: var(--ink); font-size: 15px; overflow-wrap: anywhere; }

@supports not selector(:has(*)) {
  .stripe-plan-card input:checked { outline: 3px solid var(--accent); }
}

@media(max-width:960px) {
  .stripe-checkout-layout { grid-template-columns: 1fr; }
  .stripe-pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width:680px) {
  .stripe-pricing-grid, .custom-payment-box, .custom-payment-fields, .stripe-receipt-grid { grid-template-columns: 1fr; }
  .stripe-plan-card { min-height: unset; }
  .payment-trust-strip em { margin-left: 0; }
  .stripe-result-card { border-radius: 24px; }
}
