/* ============================================================
   Quantum Hosting — Landing page
   ============================================================ */
:root {
  --brand: #2f6bff;        /* electric blue */
  --brand-600: #245ff0;
  --brand-700: #1d4fd6;
  --cyan: #1ad1e6;         /* primary accent (no purple) */
  --cyan-2: #22e0d0;
  --teal: #0fb6c9;

  --ink: #0b2138;          /* darkest heading on light */
  --ink-2: #163554;        /* hero heading on sky */
  --slate: #4d6486;        /* body text */
  --slate-2: #6b80a3;      /* muted */
  --line: rgba(16, 42, 75, 0.10);

  --surface: #f5f9ff;
  --white: #ffffff;

  --radius: 18px;
  --maxw: 1180px;
  --shadow-sm: 0 6px 18px -10px rgba(18, 49, 80, 0.40);
  --shadow-md: 0 18px 40px -22px rgba(18, 49, 80, 0.45);
  --shadow-lg: 0 40px 90px -30px rgba(20, 50, 90, 0.50);
  --grad: linear-gradient(100deg, #2f6bff 0%, #1ad1e6 55%, #22e0d0 100%);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; }

/* ============================================================
   Sky background + drifting clouds
   ============================================================ */
.sky { position: fixed; inset: 0; z-index: -2; background: url("assets/bg.png") center top / cover no-repeat; }
.sky::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background: linear-gradient(to bottom, rgba(245,249,255,0) 0%, rgba(245,249,255,0.92) 80%, var(--surface) 100%);
}
.cloud {
  position: absolute; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,0.9), rgba(255,255,255,0));
  filter: blur(8px); opacity: 0.6; animation: drift linear infinite;
}
.cloud--1 { width: 320px; height: 120px; top: 16%; left: -10%; animation-duration: 70s; }
.cloud--2 { width: 240px; height: 90px;  top: 40%; left: -20%; animation-duration: 95s; animation-delay: -30s; opacity: .45; }
.cloud--3 { width: 380px; height: 140px; top: 8%;  left: -30%; animation-duration: 120s; animation-delay: -60s; opacity: .35; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(170vw); } }

/* ============================================================
   Navigation — shrinks into a glass pill on scroll
   ============================================================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 18px 16px; transition: padding .35s cubic-bezier(.4,0,.2,1); }
.nav__bar {
  width: 100%; max-width: var(--maxw); display: flex; align-items: center; gap: 28px;
  padding: 14px 22px; border-radius: 18px; border: 1px solid transparent;
  transition: max-width .45s cubic-bezier(.4,0,.2,1), padding .35s cubic-bezier(.4,0,.2,1),
              background .35s ease, box-shadow .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.nav.scrolled { padding: 10px 16px; }
.nav.scrolled .nav__bar {
  max-width: 920px; padding: 9px 18px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-color: rgba(255, 255, 255, 0.7); box-shadow: 0 10px 30px -14px rgba(18, 49, 80, 0.45);
}

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--brand); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; transition: font-size .35s ease; }
.nav.scrolled .brand { font-size: 19px; }
.brand__icon { width: 34px; height: 34px; display: grid; place-items: center; color: var(--brand); transition: width .35s, height .35s; }
.brand__icon svg { width: 30px; height: 30px; animation: spin 26s linear infinite; }
.brand__icon img { width: 34px; height: 34px; object-fit: contain; }
@keyframes spin { to { transform: rotate(360deg); } }
.nav.scrolled .brand__icon { width: 30px; height: 30px; }
.brand__name { display: inline-flex; align-items: baseline; gap: 6px; }
.brand__sub { color: var(--ink-2); opacity: .7; font-weight: 700; }

.nav__links { display: flex; align-items: center; gap: 30px; margin-left: 8px; }
.nav__links a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; opacity: 0.88; position: relative; transition: color .2s, opacity .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--cyan); border-radius: 2px; transition: right .25s ease; }
.nav__links a:hover { opacity: 1; color: var(--brand); }
.nav__links a:hover::after { right: 0; }

.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 15px; line-height: 1;
  text-decoration: none; border: none; border-radius: 11px; padding: 11px 18px; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
}
.btn--ghost { color: var(--ink-2); background: transparent; }
.btn--ghost:hover { color: var(--brand); }
.btn--primary { color: #fff; background: linear-gradient(120deg, var(--brand) 0%, var(--teal) 100%); box-shadow: 0 12px 26px -10px rgba(47, 107, 255, 0.7), inset 0 1px 0 rgba(255,255,255,0.28); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(26, 209, 230, 0.8); }
.btn--soft { color: var(--ink-2); background: rgba(255,255,255,0.85); box-shadow: inset 0 0 0 1px rgba(18,49,80,0.09), 0 6px 18px -12px rgba(18,49,80,0.5); }
.btn--soft:hover { background: #fff; transform: translateY(-2px); }
.btn--white { color: var(--brand); background: #fff; box-shadow: 0 14px 30px -14px rgba(0,0,0,0.4); }
.btn--white:hover { transform: translateY(-2px); }
.btn--outline { color: #fff; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.55); }
.btn--outline:hover { background: rgba(255,255,255,0.12); }
.btn--lg { padding: 15px 26px; font-size: 16px; border-radius: 13px; }
.btn--block { width: 100%; }

/* hamburger */
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.nav__burger span { width: 24px; height: 2px; background: var(--ink-2); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav.open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero { max-width: var(--maxw); margin: 0 auto; padding: 168px 24px 0; text-align: center; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.72); border: 1px solid rgba(255,255,255,0.95);
  box-shadow: 0 8px 22px -12px rgba(18,49,80,0.5); color: var(--slate); font-size: 14px; font-weight: 500;
  padding: 8px 16px; border-radius: 999px; backdrop-filter: blur(8px);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(26,209,230,0.22); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(26,209,230,0.5); } 50% { box-shadow: 0 0 0 7px rgba(26,209,230,0); } }

/* ---------- Animated headline (word mask reveal) ---------- */
.hero__title {
  margin-top: 26px; font-size: clamp(36px, 5.6vw, 66px); line-height: 1.05;
  letter-spacing: -0.035em; font-weight: 900; color: var(--ink-2);
  text-shadow: 0 2px 24px rgba(255,255,255,0.5);
}
.hero__title .line { display: block; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.hero__title .w > span { display: inline-block; transform: translateY(115%); opacity: 0; }
.hero__title.play .w > span { animation: wordUp .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero__title .w:nth-child(1) > span { animation-delay: .05s; }
.hero__title .w:nth-child(2) > span { animation-delay: .13s; }
.hero__title .w:nth-child(3) > span { animation-delay: .21s; }
.hero__title .w:nth-child(4) > span { animation-delay: .29s; }
.hero__title .line:nth-child(2) .w:nth-child(1) > span { animation-delay: .37s; }
.hero__title .line:nth-child(2) .w:nth-child(2) > span { animation-delay: .45s; }
.hero__title .line:nth-child(2) .w:nth-child(3) > span { animation-delay: .53s; }
@keyframes wordUp { to { transform: translateY(0); opacity: 1; } }

.grad {
  background: linear-gradient(100deg, #1138d8 0%, #2f6bff 38%, #00a6d6 78%, #0091c2 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 3px 9px rgba(8, 34, 80, 0.32));
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

.hero__subtitle { max-width: 620px; margin: 22px auto 0; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.62; color: var(--slate); font-weight: 400; }
.hero__cta { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Showcase: banner sliding under next section ---------- */
.hero__showcase { position: relative; max-width: 1100px; margin: 56px auto 0; }
.showcase__glow { position: absolute; left: 50%; top: 20px; transform: translateX(-50%); width: 72%; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(26,209,230,0.4), rgba(47,107,255,0)); filter: blur(34px); z-index: -1; }
.showcase__frame { border-radius: 20px 20px 0 0; overflow: hidden; box-shadow: 0 -4px 40px -10px rgba(20,50,90,0.18), 0 40px 90px -30px rgba(20,50,90,0.5); border: 1px solid rgba(200,215,240,0.5); border-bottom: none; }
.showcase__frame img { display: block; width: 100%; height: auto; }
.showcase__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(to bottom, rgba(245,249,255,0) 0%, rgba(245,249,255,0.75) 60%, var(--surface) 100%); pointer-events: none; }

/* ============================================================
   Surface + shared section bits
   ============================================================ */
.surface { position: relative; background: var(--surface); }
.section { padding: 96px 0; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.section__head h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; color: var(--ink); }
.section__head p { margin-top: 16px; font-size: 18px; line-height: 1.6; color: var(--slate); }

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

/* ============================================================
   Logo marquee
   ============================================================ */
.marquee { padding: 54px 0 6px; overflow: hidden; }
.marquee__label { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 26px; }
.marquee__track { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__row { display: flex; gap: 60px; width: max-content; animation: marquee 32s linear infinite; }
.marquee__row span { font-weight: 800; font-size: 22px; color: var(--ink-2); opacity: 0.32; letter-spacing: -0.02em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Bento features
   ============================================================ */
/* split layout: intro copy (left) + showcase cards (right) */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.features__intro { max-width: 520px; }
.features__intro h2 { font-size: clamp(26px, 3.1vw, 40px); line-height: 1.14; letter-spacing: -0.03em; font-weight: 800; color: var(--ink); }
.features__lead { margin-top: 18px; font-size: 17.5px; line-height: 1.62; color: var(--slate); }

.featurelist { list-style: none; margin-top: 34px; display: flex; flex-direction: column; gap: 22px; }
.featurelist li { display: flex; align-items: flex-start; gap: 15px; }
.featurelist__icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  color: var(--brand); background: linear-gradient(135deg, rgba(47,107,255,0.12), rgba(26,209,230,0.12));
  border: 1px solid rgba(47,107,255,0.14);
}
.featurelist__icon svg { width: 21px; height: 21px; }
.featurelist h4 { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.featurelist li p { margin-top: 4px; font-size: 14.5px; line-height: 1.55; color: var(--slate); }

.features__cards { display: flex; flex-direction: column; gap: 20px; }
.features__cards .tile--lg { flex: 1; }

.tile {
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(26,209,230,0.4); }
/* cursor spotlight */
.tile::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; opacity: 0; transition: opacity .3s ease; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(26,209,230,0.16), transparent 60%);
}
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.tile p { margin-top: 8px; color: var(--slate); line-height: 1.55; font-size: 14.5px; }
.tile p b { color: var(--ink); }
.tile__head { position: relative; z-index: 1; }

.tile--lg { grid-column: span 2; grid-row: span 2; }
.tile--globe { grid-row: span 2; }
.tile--metric { grid-column: span 2; }

.tile__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px; color: #fff; }
.tile__icon svg { width: 24px; height: 24px; }
.ic--blue { background: linear-gradient(135deg, #2f6bff, #5aa0ff); }
.ic--cyan { background: linear-gradient(135deg, #1ad1e6, #5eead4); }
.ic--teal { background: linear-gradient(135deg, #0fb6c9, #22e0d0); }

/* terminal */
.terminal { margin-top: 22px; flex: 1; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: #0b1729; box-shadow: 0 24px 50px -28px rgba(8,18,40,0.9); border: 1px solid rgba(255,255,255,0.06); }
.terminal__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #0f2036; border-bottom: 1px solid rgba(255,255,255,0.06); }
.terminal__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.terminal__bar i:nth-child(2) { background: #febc2e; }
.terminal__bar i:nth-child(3) { background: #28c840; }
.terminal__bar span { margin-left: auto; font-size: 12px; color: #6b86ad; font-weight: 500; }
.terminal__body { flex: 1; margin: 0; padding: 18px 20px; font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.7; color: #cfe1ff; min-height: 150px; white-space: pre-wrap; }
.terminal__body .ok { color: #34e3a4; }
.terminal__body .mut { color: #6b86ad; }
.terminal__body .url { color: #1ad1e6; }
.caret { display: inline-block; width: 8px; height: 15px; background: #1ad1e6; vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* globe */
.tile--globe { align-items: center; text-align: center; justify-content: flex-end; }
.globe { position: relative; width: 150px; height: 150px; margin: 2px auto auto; flex: 1; display: grid; place-items: center; }
.globe__core { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #5eead4, #0fb6c9); box-shadow: 0 0 24px rgba(26,209,230,0.8); }
.globe__ring { position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 1.5px solid rgba(47,107,255,0.35); }
.globe__ring--2 { width: 78px; height: 78px; border-color: rgba(26,209,230,0.45); }
.globe__sat { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); top: 50%; left: 50%; margin: -4.5px; transform-origin: 4.5px 4.5px; }
.globe__sat--1 { animation: orbit 7s linear infinite; --r: 60px; }
.globe__sat--2 { animation: orbit 4.6s linear infinite reverse; --r: 39px; background: var(--brand); box-shadow: 0 0 12px var(--brand); }
@keyframes orbit { from { transform: rotate(0) translateX(var(--r)) rotate(0); } to { transform: rotate(360deg) translateX(var(--r)) rotate(-360deg); } }

/* metric bars */
.tile--metric { flex-direction: row; align-items: center; gap: 28px; min-height: 320px; }
.tile--metric .tile__head { flex: 1; }
.bars { flex: 1; display: flex; align-items: flex-end; gap: 8px; height: 180px; }
.bars span { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #1ad1e6, #2f6bff); opacity: .85; transform-origin: bottom; animation: barPulse 2.6s ease-in-out infinite; }
.bars span:nth-child(odd) { animation-delay: .4s; }
.bars span:nth-child(3n) { animation-delay: .8s; }
@keyframes barPulse { 0%,100% { transform: scaleY(.7); } 50% { transform: scaleY(1); } }

/* ============================================================
   Stats
   ============================================================ */
.stats { padding: 24px 0; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: linear-gradient(120deg, #143a8f 0%, #2f6bff 55%, #0fb6c9 120%); border-radius: 24px;
  padding: 44px 28px; box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.stats__grid::before { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(255,255,255,0.18), transparent 70%) 85% -30%/55% 130% no-repeat; }
.stat { text-align: center; color: #fff; position: relative; }
.stat b { display: block; font-size: clamp(30px, 4vw, 46px); font-weight: 900; letter-spacing: -0.03em; }
.stat span { display: block; margin-top: 6px; font-size: 14.5px; opacity: 0.85; font-weight: 500; }

/* ============================================================
   Steps with animated connector
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.steps__line { position: absolute; top: 49px; left: 14%; right: 14%; height: 2px; background: rgba(16,42,75,0.10); border-radius: 2px; overflow: hidden; }
.steps__line i { display: block; height: 100%; width: 0; background: var(--grad); transition: width 1.3s ease .3s; }
.steps.in .steps__line i { width: 100%; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); position: relative; transition: transform .3s ease, box-shadow .3s ease; text-align: center; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step__node { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 21px; color: #fff; background: var(--grad); margin: 0 auto 18px; box-shadow: 0 10px 24px -10px rgba(26,209,230,0.7); border: 4px solid var(--surface); }
.step h3 { font-size: 19px; font-weight: 700; color: var(--ink); }
.step p { margin-top: 10px; color: var(--slate); line-height: 1.6; font-size: 15.5px; }

/* ============================================================
   Showcase band
   ============================================================ */
.showband { padding: 96px 0; }
.showband__inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: center; }
.showband__text h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; color: var(--ink); }
.showband__text > p { margin-top: 16px; color: var(--slate); line-height: 1.65; font-size: 17px; }
.showband__img { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.showband__glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(60% 50% at 80% 0%, rgba(26,209,230,0.18), transparent 70%); }
.showband__img img { display: block; width: 100%; height: auto; }

.checks { list-style: none; margin: 22px 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink); font-size: 15.5px; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: rgba(26,209,230,0.16); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 6px; width: 7px; height: 4px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

/* ============================================================
   Pricing
   ============================================================ */
.toggle { position: relative; display: inline-flex; margin: 0 auto 40px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px; box-shadow: var(--shadow-sm); left: 50%; transform: translateX(-50%); }
.toggle__opt { position: relative; z-index: 1; border: none; background: none; cursor: pointer; font-family: var(--font); font-weight: 600; font-size: 14.5px; color: var(--slate); padding: 9px 22px; border-radius: 999px; transition: color .25s; }
.toggle__opt em { font-style: normal; color: var(--teal); font-weight: 700; }
.toggle__opt.is-active { color: #fff; }
.toggle__opt.is-active em { color: rgba(255,255,255,0.85); }
.toggle__slider { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--grad); transition: transform .3s cubic-bezier(.4,0,.2,1); z-index: 0; }
.toggle.yearly .toggle__slider { transform: translateX(100%); }

.pricing { align-items: stretch; }
.price { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price--featured { border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: 0 26px 54px -28px rgba(47,107,255,0.5); position: relative; z-index: 1; }
.price--featured:hover { transform: translateY(-6px); }
.price__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 999px; letter-spacing: .02em; box-shadow: 0 8px 18px -8px rgba(47,107,255,0.6); }
.price__name { font-size: 14px; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; }
.price__amt { display: flex; align-items: baseline; gap: 3px; margin: 14px 0 8px; min-height: 50px; color: var(--ink); }
.price__cur { font-size: 22px; font-weight: 800; align-self: flex-start; margin-top: 6px; }
.price__amt b { font-size: 48px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.price__custom { font-size: 32px; letter-spacing: -0.03em; }
.price__per { font-size: 16px; font-weight: 600; color: var(--slate-2); }
.price__desc { color: var(--slate); font-size: 15px; margin-bottom: 6px; }
.price .checks { flex: 1; }

/* ============================================================
   Testimonials
   ============================================================ */
.quote { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s; }
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(26,209,230,0.4); }
.quote::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; opacity: 0; transition: opacity .3s; pointer-events: none; background: radial-gradient(360px circle at var(--mx,50%) var(--my,0%), rgba(26,209,230,0.14), transparent 60%); }
.quote:hover::before { opacity: 1; }
.stars { color: #ffb020; letter-spacing: 2px; font-size: 15px; margin-bottom: 12px; }
.quote p { color: var(--ink); font-size: 16.5px; line-height: 1.62; font-weight: 500; position: relative; z-index: 1; }
.quote figcaption { margin-top: 22px; display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad); }
.quote figcaption b { display: block; color: var(--ink); font-size: 15px; }
.quote figcaption i { display: block; color: var(--slate-2); font-size: 13.5px; font-style: normal; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 16.5px; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq__chev { width: 11px; height: 11px; border-right: 2px solid var(--slate); border-bottom: 2px solid var(--slate); transform: rotate(45deg); transition: transform .25s ease; flex: none; }
.faq details[open] .faq__chev { transform: rotate(-135deg); }
.faq details p { padding: 0 0 20px; color: var(--slate); line-height: 1.65; }

/* ============================================================
   Final CTA + footer
   ============================================================ */
.cta-band { padding: 40px 0 110px; }
.cta-band__inner { text-align: center; color: #fff; border-radius: 28px; padding: 64px 28px; background: radial-gradient(120% 140% at 50% 0%, #2f6bff 0%, #1b46c9 50%, #0e8aa0 120%); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-band__inner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(26,209,230,0.3), transparent 70%) 18% -50%/60% 140% no-repeat; }
.cta-band__inner h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; letter-spacing: -0.03em; position: relative; }
.cta-band__inner p { margin-top: 14px; font-size: 18px; opacity: 0.92; position: relative; }
.cta-band__inner .hero__cta { margin-top: 30px; position: relative; }

.footer { background: #0b2138; color: #cdd9ec; padding: 64px 0 30px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; }
.brand--footer { color: #fff; }
.brand--footer .brand__icon, .brand--footer .brand__name { color: #fff; }
.brand--footer .brand__sub { color: #9fb3d1; }
.footer__brand p { margin-top: 14px; color: #93a6c4; line-height: 1.6; max-width: 320px; font-size: 15px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer__cols h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer__cols a { display: block; color: #93a6c4; text-decoration: none; font-size: 15px; padding: 6px 0; transition: color .2s; }
.footer__cols a:hover { color: #fff; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; color: #7c91b3; font-size: 14px; }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { color: #7c91b3; text-decoration: none; transition: color .2s; }
.footer__legal a:hover { color: #fff; }

/* ============================================================
   Scroll-reveal
   ============================================================ */
/* Driven by a keyframe `animation` (not transition) so each card's own
   `transition` + `transform` stay free for smooth hover lifts. */
.reveal { opacity: 0; }
.reveal.in { animation: revealUp .7s cubic-bezier(.2,.6,.2,1) both; }
@keyframes revealUp { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
.reveal[data-delay="1"].in { animation-delay: .08s; }
.reveal[data-delay="2"].in { animation-delay: .16s; }
.reveal[data-delay="3"].in { animation-delay: .24s; }
.reveal[data-delay="4"].in { animation-delay: .32s; }
.reveal[data-delay="5"].in { animation-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; animation: none; translate: none; }
  .cloud, .grad, .pill__dot, .brand__icon svg, .globe__sat, .bars span, .marquee__row, .caret { animation: none; }
  .hero__title .w > span { transform: none; opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .showband__inner { grid-template-columns: 1fr; gap: 36px; }
  .price--featured { transform: none; }
  .price--featured:hover { transform: translateY(-6px); }
  .features { grid-template-columns: 1fr; gap: 44px; align-items: start; }
  .features__intro { max-width: 640px; }
}

@media (max-width: 860px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; }
  .nav.open .nav__bar { background: rgba(255,255,255,0.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow-lg); flex-wrap: wrap; }
  .nav.open .nav__links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; margin: 8px 0 4px; order: 3; }
  .nav.open .nav__links a { padding: 10px 4px; width: 100%; }
  .nav.open .nav__actions { display: flex; width: 100%; order: 4; }
  .nav.open .nav__actions .btn { flex: 1; }

  .hero { padding-top: 110px; }
  .hero__showcase { height: 240px; margin-top: 50px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps__line { display: none; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ---- Mobile: hide non-essential, tighten layout ---- */
@media (max-width: 640px) {
  /* Hide marquee, showband image, features cards, stats */
  .marquee { display: none; }
  .showband__img { display: none; }
  .features__cards { display: none; }
  .stats { display: none; }

  /* Showband: text only, tighter padding */
  .showband { padding: 56px 0 40px; }
  .showband__inner { grid-template-columns: 1fr; gap: 0; }
  .showband__text h2 { font-size: 26px; }
  .showband__text > p { font-size: 15px; }

  /* Hero: compact */
  .hero { padding-top: 100px; }
  .hero__showcase { height: 160px; margin-top: 36px; }
  .hero__subtitle { font-size: 15px; margin-top: 16px; }
  .hero__cta { margin-top: 24px; gap: 10px; }
  .hero__cta .btn { width: 100%; }

  /* Features: text only, less padding */
  .section { padding: 56px 0; }
  .features { gap: 28px; }
  .featurelist { gap: 18px; margin-top: 24px; }

  /* Pricing: single column */
  .grid--3 { grid-template-columns: 1fr; }
  .section__head { margin-bottom: 36px; }
  .section__head h2 { font-size: 26px; }
  .section__head p { font-size: 15px; }

  /* Testimonials: single column */
  /* already handled by grid--3 -> 1fr */

  /* FAQ */
  .faq summary { font-size: 15px; }

  /* CTA band */
  .cta-band { padding: 24px 0 72px; }
  .cta-band__inner { padding: 44px 20px; }
  .cta-band__inner h2 { font-size: 24px; }
  .cta-band__inner p { font-size: 15px; }

  /* Footer */
  .footer { padding: 44px 0 24px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer__brand p { display: none; }

  /* Stats grid fallback if visible elsewhere */
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 16px 8px; padding: 32px 20px; }

  /* Tiles */
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile--lg, .tile--metric, .tile--globe { grid-column: span 1; grid-row: auto; }
  .tile--metric { flex-direction: column; align-items: stretch; }
  .bars { height: 90px; }
  .terminal { min-height: 200px; }
}
