/* ==========================================================
   Reply Botz — dark high-tech theme
   Brand palette taken from the robot logo:
   blue body, orange goggle rims / antenna tips, pink accents,
   cyan lenses, deep navy outline.
   ========================================================== */

/* ---------- Self-hosted fonts (SIL Open Font License, see assets/fonts) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #070b16;
  --bg-2: #0b1222;
  --surface: #101a30;
  --surface-2: #142140;
  --line: rgba(120, 170, 230, 0.14);
  --line-strong: rgba(120, 170, 230, 0.28);

  --text: #eef4ff;
  --muted: #9cb0cf;

  --blue: #2a9fe0;
  --blue-deep: #1a5f9e;
  --orange: #ff8a1f;
  --pink: #e8459a;
  --cyan: #4fd8ff;
  --navy: #0f2a44;

  --grad-brand: linear-gradient(120deg, var(--orange) 0%, var(--pink) 50%, var(--blue) 100%);
  --grad-btn: linear-gradient(120deg, var(--orange), var(--pink));

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 18px;
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; }
button { font: inherit; cursor: pointer; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 1.15em; height: 1em; fill: currentColor; vertical-align: -0.125em; flex-shrink: 0; overflow: visible; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 2000;
  background: var(--orange); color: #111; padding: 8px 14px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.acc-blue { --accent: var(--blue); }
.acc-orange { --accent: var(--orange); }
.acc-pink { --accent: var(--pink); }
.acc-cyan { --accent: var(--cyan); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: .7rem 1.3rem; border-radius: 12px; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap;
}
.btn-lg { padding: .95rem 1.7rem; font-size: 1.02rem; }
.btn-primary {
  background: var(--grad-btn); color: #fff;
  box-shadow: 0 8px 28px -8px rgba(255, 110, 60, .6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -8px rgba(232, 69, 154, .65); }
.btn-ghost { background: rgba(255,255,255,.03); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--nav-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7, 11, 22, .82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 40px; height: 40px; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; }
.brand-name span { color: var(--orange); }

.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-link {
  display: block; padding: .5rem .85rem; border-radius: 10px;
  color: var(--muted); font-size: .93rem; font-weight: 500; transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(255,255,255,.06); }
.nav-links-cta { display: none; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-login { padding: .6rem 1rem; }
.footer-login { margin-bottom: 4px; }

.hamburger {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 10px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 30%, transparent 80%);
  opacity: .6;
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; }
.orb-blue { width: 520px; height: 520px; background: var(--blue); top: -120px; right: -80px; opacity: .35; }
.orb-orange { width: 360px; height: 360px; background: var(--orange); bottom: -80px; right: 25%; opacity: .2; }
.orb-pink { width: 380px; height: 380px; background: var(--pink); top: 30%; left: -160px; opacity: .2; }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }


.hero-title { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 700; margin-bottom: 22px; }
.hero-lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions.center { justify-content: center; margin-bottom: 0; }


.hero-visual { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 520px; width: 100%; margin-inline: auto; }
.hero-mascot {
  position: relative; z-index: 2; width: 72%; height: auto;
  filter: drop-shadow(0 30px 50px rgba(42,159,224,.35)) drop-shadow(0 0 40px rgba(255,138,31,.15));
  animation: float 6s ease-in-out infinite;
}
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--line-strong); }
.ring-1 { inset: 6%; border-style: dashed; animation: spin 40s linear infinite; }
.ring-2 { inset: 18%; border-color: rgba(255,138,31,.25); box-shadow: inset 0 0 80px rgba(42,159,224,.15); }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px;
  background: rgba(16,26,48,.85); border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.6);
  font-size: .8rem; animation: float 7s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .82rem; }
.float-card span { color: var(--muted); }
.fc-icon { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.fc-blue { background: rgba(42,159,224,.18); color: var(--blue); }
.fc-orange { background: rgba(255,138,31,.18); color: var(--orange); }
.fc-pink { background: rgba(232,69,154,.18); color: var(--pink); }
.fc-1 { top: 10%; left: -4%; animation-delay: -1s; }
.fc-2 { top: 46%; right: -6%; animation-delay: -3s; }
.fc-3 { bottom: 8%; left: 4%; animation-delay: -5s; }

/* ---------- Trust bar ---------- */
.trust { border-block: 1px solid var(--line); background: var(--bg-2); padding: 40px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 720px; gap: 24px; text-align: center; }
.trust-num { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
.trust-item:nth-child(1) .trust-num { color: var(--orange); }
.trust-item:nth-child(2) .trust-num { color: var(--cyan); }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2, .split-copy h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; }
.tag {
  display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px;
}
.tag::before { content: "// "; color: var(--orange); }
.section-lead { color: var(--muted); font-size: 1.07rem; }
.section-lead.left { margin-bottom: 28px; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: linear-gradient(180deg, var(--surface), rgba(16,26,48,.55));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent, var(--blue)), transparent);
  opacity: .0; transition: opacity .35s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent, var(--blue)) 45%, transparent);
  box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--accent, var(--blue)) 55%, transparent);
}
.card:hover::after { opacity: 1; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.icon-box {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); margin-bottom: 20px;
}
.feature h3 { font-size: 1.35rem; margin-bottom: 10px; }
.feature p { color: var(--muted); margin-bottom: 18px; }
.checks li { position: relative; padding-left: 26px; color: var(--text); font-size: .93rem; margin-bottom: 8px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: .8rem; height: .8rem; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 58px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange), var(--pink), var(--cyan)); opacity: .35;
}
.step {
  position: relative; text-align: center; padding: 28px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.step-num { position: absolute; top: 12px; right: 16px; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--muted); opacity: .6; }
.step-icon {
  width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem;
  color: var(--accent); background: var(--bg); border: 2px solid var(--accent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 40%, transparent);
  position: relative; z-index: 1;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .93rem; }


/* ---------- Copilot ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.copilot-list { display: grid; gap: 18px; }
.copilot-list li { display: flex; gap: 14px; align-items: flex-start; }
.copilot-list .icon {
  padding: 11px;
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center;
  color: var(--orange); background: rgba(255,138,31,.12); border: 1px solid rgba(255,138,31,.25);
}
.copilot-list strong { display: block; font-family: var(--font-head); }
.copilot-list span { color: var(--muted); font-size: .92rem; }

.chat-demo {
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 22px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(42,159,224,.08), 0 0 60px -20px rgba(42,159,224,.35);
}
.chat-top { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: rgba(42,159,224,.06); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .8rem; background: var(--grad-btn); }
.chat-who { flex: 1; min-width: 0; }
.chat-who strong { display: block; font-size: .95rem; }
.chat-who span { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc97; display: inline-block; }
.sentiment { font-size: .75rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; color: var(--orange); background: rgba(255,138,31,.12); border: 1px solid rgba(255,138,31,.3); white-space: nowrap; }
.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: .88rem; line-height: 1.5; }
.msg .who { display: block; font-size: .7rem; font-weight: 600; margin-bottom: 3px; }
.msg-user { align-self: flex-end; background: linear-gradient(120deg, var(--blue), var(--blue-deep)); border-bottom-right-radius: 4px; }
.msg-bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--muted); }
.msg-bot .who { color: var(--cyan); }
.msg-agent { align-self: flex-start; background: rgba(232,69,154,.1); border: 1px solid rgba(232,69,154,.3); border-bottom-left-radius: 4px; }
.msg-agent .who { color: var(--pink); }
.copilot-panel { padding: 16px 18px 18px; border-top: 1px solid var(--line); background: rgba(7,11,22,.5); }
.copilot-head { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; display: flex; gap: 8px; align-items: center; }
.suggest {
  display: block; width: 100%; text-align: left; margin-bottom: 8px; padding: 10px 12px;
  border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.02);
  color: var(--muted); font-size: .84rem; transition: border-color .2s, color .2s, background .2s;
}
.suggest:hover, .suggest.active { border-color: rgba(79,216,255,.5); color: var(--text); background: rgba(79,216,255,.06); }
.extract { font-size: .78rem; color: var(--muted); margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.extract code { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .74rem; padding: 2px 8px; border-radius: 6px; background: rgba(42,159,224,.14); color: var(--cyan); }

/* ---------- Embed & API ---------- */
.split-copy .hero-actions { margin-top: 28px; }
.code-wrap { position: relative; padding-bottom: 56px; min-width: 0; }
.code-card {
  background: #0a1020; border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 60px -20px rgba(232,69,154,.3);
}
.code-top { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.code-dots { display: flex; gap: 6px; }
.code-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.code-dots i:nth-child(1) { background: var(--pink); }
.code-dots i:nth-child(2) { background: var(--orange); }
.code-dots i:nth-child(3) { background: var(--blue); }
.code-file { font-size: .78rem; color: var(--muted); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; }
.code { margin: 0; padding: 20px; overflow-x: auto; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .85rem; line-height: 1.75; color: var(--text); }
.c-tag { color: var(--pink); }
.c-attr { color: var(--orange); }
.c-str { color: var(--cyan); }
.c-com { color: #8195b8; font-style: italic; }
.c-hl { display: inline-block; margin: 2px -8px; padding: 2px 8px; border-radius: 6px; background: rgba(255,138,31,.1); box-shadow: inset 2px 0 0 var(--orange); }
.code-note { display: flex; gap: 8px; align-items: center; padding: 12px 20px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.code-note .icon { color: var(--cyan); }
.widget-preview { position: absolute; right: 8px; bottom: 0; display: flex; align-items: flex-end; gap: 10px; animation: float 6s ease-in-out infinite; }
.widget-msg { background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 14px 14px 4px 14px; padding: 10px 14px; font-size: .85rem; box-shadow: 0 16px 40px -12px rgba(0,0,0,.6); }
.widget-btn { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-btn); box-shadow: 0 12px 30px -8px rgba(232,69,154,.6); flex-shrink: 0; }

/* ---------- Benefits ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit {
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--line);
  background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%), var(--surface);
  transition: transform .35s var(--ease), border-color .35s;
}
.benefit:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.benefit .icon { display: block; font-size: 1.5rem; color: var(--accent); margin-bottom: 16px; }
.benefit h3 { font-size: 1.15rem; margin-bottom: 6px; }
.benefit p { color: var(--muted); font-size: .93rem; }

/* ---------- Audience ---------- */
.audience { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.audience span {
  display: inline-flex; align-items: center; gap: 10px; padding: .8rem 1.2rem;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: .93rem;
}
.audience .icon { color: var(--orange); }

/* ---------- Pricing ---------- */
.pricing .y { display: none; }
.pricing[data-billing="annual"] .m { display: none; }
.pricing[data-billing="annual"] .y { display: revert; }
.pricing[data-billing="annual"] .plan-feats li.y { display: flex; }

.billing-toggle {
  display: flex; width: fit-content; margin: -24px auto 40px; padding: 5px; gap: 4px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
}
.billing-opt {
  display: inline-flex; align-items: center; gap: 8px; padding: .6rem 1.3rem; border-radius: 999px;
  border: 0; background: transparent; color: var(--muted); font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  transition: background .25s, color .25s;
}
.billing-opt:hover { color: var(--text); }
.billing-opt[aria-pressed="true"] { background: var(--grad-btn); color: #fff; box-shadow: 0 8px 24px -10px rgba(232,69,154,.7); }
.save { font-size: .7rem; font-weight: 600; padding: .15rem .5rem; border-radius: 999px; background: rgba(79,216,255,.14); color: var(--cyan); }
.billing-opt[aria-pressed="true"] .save { background: rgba(255,255,255,.2); color: #fff; }

.carousel-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.carousel-hint { color: var(--muted); font-size: .85rem; }
.carousel-nav { display: flex; gap: 8px; }
.car-btn {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); transition: border-color .2s, color .2s, opacity .2s;
}
.car-btn:hover:not(:disabled) { border-color: var(--orange); color: var(--orange); }
.car-btn:disabled { opacity: .35; cursor: default; }

.plan-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding: 6px 2px 18px; scroll-padding-inline: 2px; scrollbar-width: none;
}
.plan-track::-webkit-scrollbar { display: none; }
.plan { scroll-snap-align: start; min-width: 0; }
.plan article {
  height: 100%; display: flex; flex-direction: column; padding: 26px 24px;
  background: linear-gradient(180deg, var(--surface), rgba(16,26,48,.55));
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.plan article:hover { border-color: rgba(255,138,31,.45); transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(255,138,31,.45); }
.plan-name { font-size: 2rem; font-weight: 700; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; width: fit-content; }
.plan-sub { color: var(--muted); font-size: .82rem; margin-bottom: 18px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; font-variant-numeric: tabular-nums; }
.pricing[data-billing="annual"] .plan-price.y { display: flex; }
.plan-price .amount { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; }
.plan-price .per { color: var(--muted); font-size: .9rem; }
.plan-note { color: var(--muted); font-size: .78rem; min-height: 1.3em; margin-bottom: 20px; }
.plan-feats { display: grid; gap: 10px; margin-bottom: 24px; flex: 1; align-content: start; padding-top: 18px; border-top: 1px dashed var(--line-strong); }
.plan-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
.plan-feats li.y { display: none; }
.plan-feats .icon { color: var(--cyan); margin-top: .25em; }
.plan-btn { width: 100%; }
.plan article:hover .plan-btn { background: var(--grad-btn); border-color: transparent; color: #fff; }

.car-progress { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.car-progress span { display: block; height: 100%; width: 30%; border-radius: 3px; background: var(--grad-btn); transition: transform .2s linear, width .2s; }


@media (max-width: 1080px) { .plan-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); } }
@media (max-width: 900px) {
  .plan-track { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (max-width: 600px) {
  .plan-track { grid-auto-columns: 82%; gap: 14px; }
  .carousel-nav { display: none; }
  .billing-toggle { margin-top: -28px; }
  .billing-opt { padding: .55rem 1rem; font-size: .9rem; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .25s; }
.faq details[open] { border-color: rgba(79,216,255,.35); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-family: var(--font-head); font-weight: 600; font-size: 1.04rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--orange); transition: transform .25s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }
.faq details p a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA ---------- */
.cta { padding-top: 40px; }
.cta-box {
  position: relative; text-align: center; padding: 64px 32px; border-radius: 28px; overflow: hidden;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(42,159,224,.25), transparent 70%),
    radial-gradient(50% 60% at 100% 100%, rgba(232,69,154,.18), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(255,138,31,.16), transparent 70%),
    var(--surface);
  border: 1px solid var(--line-strong);
}
.cta-logo { width: 96px; height: 96px; margin: 0 auto 20px; animation: float 6s ease-in-out infinite; }
.cta-box h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 14px; }
.cta-box p { color: var(--muted); max-width: 560px; margin: 0 auto 30px; font-size: 1.07rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 64px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); font-size: .92rem; margin: 14px 0 18px; max-width: 300px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--muted); transition: color .2s, border-color .2s; }
.socials a:hover { color: var(--orange); border-color: var(--orange); }
.footer-title { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.site-footer nav li { margin-bottom: 8px; }
.site-footer nav a { color: var(--muted); font-size: .92rem; transition: color .2s; }
.site-footer nav a:hover { color: var(--cyan); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* ---------- Reveal ---------- */
/* Hidden state applies only when JS runs (html.js), so content is never lost without it */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1080px) {
  .nav-actions { display: none; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 24px 24px; margin: 0;
    background: rgba(7, 11, 22, .97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--nav-h)); max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav-links.open { opacity: 1; transform: none; visibility: visible; }
  .nav-link { padding: .85rem 1rem; font-size: 1rem; }
  .nav-links-cta { display: block; margin-top: 8px; }
  .nav-links-cta .btn { width: 100%; }
  .nav-links-cta + .nav-links-cta { margin-top: 0; }
  .site-header.menu-open { background: rgba(7, 11, 22, .97); border-bottom-color: var(--line); }

  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; max-width: 380px; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding: 84px 0; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero { padding-top: calc(var(--nav-h) + 16px); min-height: auto; }
  .hero-visual { max-width: 300px; }
  .float-card { font-size: .72rem; padding: 8px 10px; }
  .fc-icon { width: 26px; height: 26px; }
  .fc-1 { top: 2%; left: -8%; }
  .fc-2 { top: auto; bottom: 4%; right: -8%; }
  .fc-3 { display: none; }
  .hero-actions .btn { width: 100%; }
  .steps, .benefit-grid, .trust-grid { grid-template-columns: 1fr; }
  .card, .benefit { padding: 24px; }
  .cta-box { padding: 48px 20px; }
  .code { font-size: .74rem; padding: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .section { padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
