/* StoCu brand system */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("/assets/fonts/inter-tight-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #060C39;
  --navy-muted: #383D61;
  --cyan: #17D0F3;
  --cyan-deep: #0FA8C6;
  --cyan-soft: #8BE7F9;
  --green: #2ECC71;
  --green-deep: #1A9B50;
  --gray: #6A6D88;
  --gray-light: #A7AABA;
  --border: #E7E7EF;
  --surface: #FFFFFF;
  --surface-alt: #F9F9FB;
  --surface-dim: #F4F4F6;
  --grad: linear-gradient(108deg, #17D0F3, #8BE7F9);
  --radius: 22px;
  --font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--cyan-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

::selection { background: rgba(23, 208, 243, 0.3); }

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

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(1180px, calc(100% - 32px));
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(231, 231, 239, 0.7);
  box-shadow: 0 8px 32px rgba(6, 12, 57, 0.10);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 12px 40px rgba(6, 12, 57, 0.16); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 14px 10px 20px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.nav-brand:hover { text-decoration: none; }
.nav-brand img { width: 34px; height: 34px; }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--navy-muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--navy); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: var(--grad);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(23, 208, 243, 0.35);
}
.btn-primary:hover { box-shadow: 0 14px 36px rgba(23, 208, 243, 0.5); }
.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.14); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 150px 24px 0;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.orb-1 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(23, 208, 243, 0.55), transparent 65%);
  top: -220px; left: -160px;
  animation: drift-a 22s ease-in-out infinite alternate;
}
.orb-2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(139, 231, 249, 0.35), transparent 65%);
  top: 10%; right: -180px;
  animation: drift-b 26s ease-in-out infinite alternate;
}
.orb-3 {
  width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(15, 168, 198, 0.4), transparent 65%);
  bottom: -280px; left: 30%;
  animation: drift-c 30s ease-in-out infinite alternate;
}
@keyframes drift-a { from { transform: translate(0, 0); } to { transform: translate(70px, 50px); } }
@keyframes drift-b { from { transform: translate(0, 0); } to { transform: translate(-60px, 70px); } }
@keyframes drift-c { from { transform: translate(0, 0) scale(1); } to { transform: translate(50px, -40px) scale(1.08); } }

.hero-inner {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(23, 208, 243, 0.12);
  border: 1px solid rgba(23, 208, 243, 0.35);
  color: var(--cyan-soft);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 28px;
}
.hero-badge:hover { text-decoration: none; background: rgba(23, 208, 243, 0.2); }
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 740px;
  margin: 0 auto 36px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-trust {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--gray-light);
  margin-bottom: 64px;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { flex-shrink: 0; }

.hero-media {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}
.hero-media .media-frame {
  border-radius: 20px 20px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: none;
  box-shadow: 0 -20px 120px rgba(23, 208, 243, 0.22);
  overflow: hidden;
  background: var(--navy);
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 0;
  animation: marquee 36s linear infinite;
}
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
  font-weight: 500;
}
.marquee span::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.7;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats {
  background: var(--surface-alt);
  padding: 72px 24px;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(108deg, var(--cyan-deep), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.stat-label { color: var(--gray); font-size: 0.95rem; font-weight: 500; margin-top: 6px; }

/* ---------- Sections ---------- */
.section { padding: 110px 24px; }
.section-alt { background: var(--surface-alt); }
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  margin-bottom: 16px;
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 18px;
}
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.lead { color: var(--navy-muted); font-size: 1.1rem; }

/* ---------- Checkout mega card ---------- */
.mega-card {
  background: var(--navy);
  border-radius: 28px;
  padding: 72px 56px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mega-card .orb-mega {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 208, 243, 0.35), transparent 65%);
  filter: blur(80px);
  top: -300px; right: -200px;
  pointer-events: none;
}
.mega-head { position: relative; max-width: 700px; margin: 0 auto 40px; text-align: center; }
.mega-head .eyebrow { color: var(--cyan); }
.mega-head h2 { color: #fff; }
.mega-head p { color: rgba(255, 255, 255, 0.75); font-size: 1.08rem; }
.mega-chips {
  position: relative;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.mega-img {
  position: relative;
  border-radius: 16px 16px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: none;
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
}
.mega-note {
  position: relative;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  padding: 0 24px 28px;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Feature rows ---------- */
.feature {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: center;
  padding: 72px 0;
}
.feature.reverse .feature-text { order: 2; }
.feature.reverse .feature-media { order: 1; }
.feature h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.feature p { color: var(--navy-muted); margin-bottom: 22px; }
.check-list { list-style: none; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--navy-muted);
  font-size: 0.98rem;
  font-weight: 500;
  padding: 7px 0;
}
.check-list svg { flex-shrink: 0; margin-top: 4px; }

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 70px rgba(6, 12, 57, 0.14);
  background: var(--navy);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.feature-media .media-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 90px rgba(6, 12, 57, 0.2);
}
.media-frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Surfaces ---------- */
.surface-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.surface-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.surface-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(6, 12, 57, 0.1);
  border-color: rgba(23, 208, 243, 0.5);
}
.surface-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(23, 208, 243, 0.16), rgba(139, 231, 249, 0.16));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.surface-card h4 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.surface-card p { color: var(--gray); font-size: 0.93rem; }
.tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
}
.tag-plus { background: rgba(6, 12, 57, 0.08); color: var(--navy-muted); }
.tag-new { background: rgba(46, 204, 113, 0.14); color: var(--green-deep); }

.also-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.also-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 28px;
}
.also-card h5 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.also-card p { color: var(--gray); font-size: 0.9rem; }

/* ---------- Pricing ---------- */
.price-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 26px;
  padding: 3px;
  background-image: linear-gradient(var(--surface), var(--surface)), linear-gradient(120deg, #17D0F3, #8BE7F9, #17D0F3);
  background-origin: border-box;
  background-clip: content-box, border-box;
  box-shadow: 0 30px 80px rgba(6, 12, 57, 0.12);
}
.price-inner { padding: 48px; text-align: center; }
.price-plan {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-deep);
}
.price-amount {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 10px 0 2px;
}
.price-amount small { font-size: 1.2rem; font-weight: 600; color: var(--gray); letter-spacing: 0; }
.price-trial { color: var(--green-deep); font-weight: 700; margin-bottom: 30px; }
.price-list {
  list-style: none;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
  margin-bottom: 34px;
}
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--navy-muted);
  padding: 5px 0;
}
.price-list svg { flex-shrink: 0; margin-top: 4px; }
.price-foot { margin-top: 18px; font-size: 0.85rem; color: var(--gray-light); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--cyan-deep);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 20px; color: var(--navy-muted); font-size: 0.97rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 120px 24px;
  overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255, 255, 255, 0.75); max-width: 620px; margin: 0 auto 36px; }
.cta-band .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-band .founder-note {
  margin-top: 40px;
  font-size: 0.92rem;
  color: var(--gray-light);
}
.cta-band .founder-note a { color: var(--cyan-soft); }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 24px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 14px;
}
.footer-brand img { width: 36px; height: 36px; }
.footer-tagline { font-size: 0.92rem; max-width: 280px; color: rgba(255, 255, 255, 0.55); }
.footer h6 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: rgba(255, 255, 255, 0.75); font-size: 0.93rem; }
.footer ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-x { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.6); }
.footer-x:hover { color: #fff; text-decoration: none; }

/* ---------- Legal pages ---------- */
.legal-hero {
  background: var(--navy);
  color: #fff;
  padding: 150px 24px 64px;
  text-align: center;
}
.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.legal-hero p { color: var(--gray-light); margin-top: 10px; }
.legal-body { max-width: 760px; margin: 0 auto; padding: 72px 24px 110px; }
.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 40px 0 14px;
}
.legal-body p { color: var(--navy-muted); margin-bottom: 16px; }
.legal-body ul { margin: 0 0 16px 22px; color: var(--navy-muted); }
.legal-body li { margin-bottom: 10px; }
.legal-body strong { color: var(--navy); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; gap: 36px; padding: 48px 0; }
  .feature.reverse .feature-text { order: 1; }
  .feature.reverse .feature-media { order: 2; }
  .surface-grid { grid-template-columns: 1fr 1fr; }
  .also-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mega-card { padding: 56px 28px 0; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 20px; }
  .hero { padding-top: 120px; }
  .price-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .surface-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .orb-mega, .pulse-dot { animation: none; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .media-frame, .surface-card { transition: none; }
}
