:root {
  --bg: #07111f;
  --bg-2: #0c1830;
  --panel: rgba(13, 23, 38, 0.8);
  --panel-strong: #111f34;
  --panel-soft: #132540;
  --card: rgba(17, 30, 48, 0.92);
  --card-2: rgba(25, 39, 64, 0.9);
  --line: rgba(148, 163, 184, 0.18);
  --text: #eff6ff;
  --muted: #9db2cf;
  --primary: #6aa8ff;
  --primary-2: #7d6bff;
  --accent: #75f0d3;
  --accent-2: #31d0b0;
  --warning: #f7c75e;
  --shadow: rgba(9, 16, 26, 0.6);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.25), transparent 30%),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.2), transparent 25%),
    linear-gradient(180deg, #050d1a 0%, #0a1428 30%, #091421 100%);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(8, 14, 24, 0.7);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #09131e;
  background: linear-gradient(135deg, #72d4ff 0%, #7e8aff 35%, #7df7d8 100%);
  box-shadow: 0 10px 25px rgba(94, 110, 255, 0.45);
}

.brand-mark.small {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  font-size: 0.85rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  border-radius: 12px;
  padding: 0.82rem 1.3rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #061421;
  background: linear-gradient(135deg, #7ec8ff 0%, #8c7bff 55%, #85f7d7 100%);
  box-shadow: 0 18px 30px rgba(105, 126, 255, 0.3);
}

.btn-secondary,
.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.hero {
  padding: 84px 0 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 32px;
}

.eyebrow,
.section-label,
.feature-tagline {
  display: inline-block;
  margin-bottom: 18px;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  color: #a0d9ff;
  background: rgba(104, 151, 255, 0.12);
  border: 1px solid rgba(124, 174, 255, 0.2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slogan-block {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.slogan-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  line-height: 1.02;
}

.slogan-word {
  display: inline-block;
  font-size: clamp(2.2rem, 4.1vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, #dff5ff 0%, #8ec7ff 20%, #8d8bff 50%, #7fead9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 32px rgba(126, 155, 255, 0.2);
}

.divider {
  display: inline-block;
  width: 52px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(142, 199, 255, 0), rgba(142, 199, 255, 1), rgba(127, 234, 217, 1), rgba(127, 234, 217, 0));
  box-shadow: 0 0 16px rgba(127, 234, 217, 0.35);
}

.slogan-subtitle {
  display: block;
  font-size: clamp(1.2rem, 2vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #dfeaff;
  opacity: 0.92;
}

.hero-copy p {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.model-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.model-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 0.8rem;
  min-height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(163, 180, 212, 0.18);
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-panel {
  display: flex;
  justify-content: center;
}

.stat-card {
  position: relative;
  width: min(100%, 430px);
  border-radius: 26px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(17, 28, 46, 0.94) 0%, rgba(9, 16, 27, 0.98) 100%);
  border: 1px solid rgba(123, 148, 191, 0.18);
  box-shadow: 0 28px 60px var(--shadow);
}

.main-card::before {
  content: "";
  position: absolute;
  inset: auto 12% -30px 12%;
  height: 60px;
  filter: blur(30px);
  background: rgba(87, 124, 255, 0.3);
}

.card-head,
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.badge,
.pill,
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.badge.success {
  background: rgba(53, 211, 153, 0.14);
  color: #85f7d7;
  border: 1px solid rgba(53, 211, 153, 0.2);
}

.pill,
.status-badge {
  background: rgba(123, 118, 255, 0.12);
  color: #b7c3ff;
  border: 1px solid rgba(123, 118, 255, 0.18);
}

.metric-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
  padding: 18px 0;
}

.metric-block small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.metric-block strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.06em;
}

.mini-chart {
  height: 120px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 18px 10px 0;
  border-top: 1px solid rgba(149, 166, 200, 0.14);
}

.mini-chart span {
  display: block;
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #75f0d3 0%, #5aa8ff 100%);
  box-shadow: 0 8px 20px rgba(90, 168, 255, 0.2);
}

.status-list {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-list > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.dot-green {
  background: var(--accent);
  box-shadow: 0 0 18px rgba(117, 240, 211, 0.8);
}

.dot-purple {
  background: #7d6bff;
  box-shadow: 0 0 18px rgba(125, 107, 255, 0.8);
}

.dot-blue {
  background: #7fc3ff;
  box-shadow: 0 0 18px rgba(127, 195, 255, 0.8);
}

.section {
  padding: 72px 0;
}

.section-head {
  margin-bottom: 28px;
}

.section-head.center {
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: start;
}

.about-copy {
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.02rem;
}

.about-copy p {
  margin: 0 0 18px;
}

.info-cards {
  display: grid;
  gap: 16px;
}

.info-card {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(17, 28, 45, 0.75) 0%, rgba(12, 20, 32, 0.84) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.info-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #d7edff;
  background: linear-gradient(135deg, rgba(118, 156, 255, 0.25), rgba(127, 214, 193, 0.2));
  border: 1px solid rgba(143, 171, 255, 0.24);
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.promise-card {
  padding: 24px 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 23, 37, 0.86), rgba(15, 28, 42, 0.96));
}

.promise-card.accent {
  background: linear-gradient(135deg, rgba(67, 91, 255, 0.14), rgba(64, 223, 191, 0.1), rgba(13, 23, 37, 0.9));
}

.promise-icon {
  display: inline-block;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  color: #d9f4ff;
  background: rgba(113, 154, 255, 0.14);
  border: 1px solid rgba(132, 169, 255, 0.2);
  margin-bottom: 12px;
  font-weight: 700;
}

.promise-card h3 {
  margin: 0;
  line-height: 1.7;
  color: #edf5ff;
  font-size: 1.08rem;
}

.legal-box {
  margin-top: 34px;
  padding: 24px 26px;
  border-radius: 20px;
  background: rgba(10, 18, 29, 0.78);
  border: 1px solid var(--line);
  color: var(--muted);
}

.legal-title {
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
}

.legal-box p {
  margin: 0;
  line-height: 1.8;
}

.business-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 20px;
}

.feature-panel,
.models-panel {
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 22, 35, 0.9), rgba(11, 18, 31, 0.96));
}

.feature-panel h3 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2vw, 2.1rem);
  letter-spacing: -0.04em;
}

.feature-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.feature-panel ul {
  margin: 20px 0 0;
  padding-left: 20px;
  color: #ddeaff;
  display: grid;
  gap: 10px;
}

.model-table {
  margin-top: 16px;
}

.table-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 1.2fr;
  gap: 14px;
  padding: 13px 12px;
  border-bottom: 1px solid rgba(152, 173, 212, 0.12);
  color: var(--muted);
  font-size: 0.76rem;
}

.table-row.header-row {
  font-weight: 700;
  color: #dfeafd;
  background: rgba(142, 164, 212, 0.06);
  border-radius: 12px 12px 0 0;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.reason-card {
  padding: 24px 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(13, 22, 37, 0.94), rgba(10, 18, 30, 0.9));
  border: 1px solid var(--line);
}

.reason-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(118, 156, 255, 0.18), rgba(125, 107, 255, 0.18));
  border: 1px solid rgba(142, 171, 255, 0.18);
  color: #d2e4ff;
  font-weight: 700;
}

.reason-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.reason-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.vision-box {
  padding: 38px 26px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(25, 38, 60, 0.98), rgba(10, 20, 34, 0.96));
  border: 1px solid rgba(144, 168, 206, 0.16);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.2);
}

.vision-box h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}

.vision-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  max-width: 880px;
}

.vision-quote {
  margin-top: 26px;
  padding: 20px 22px;
  border-left: 3px solid var(--primary);
  border-radius: 14px;
  background: rgba(106, 168, 255, 0.08);
  line-height: 1.8;
  color: #dfebff;
  font-size: 1.08rem;
}

.faq-section {
  padding-bottom: 40px;
}

.faq-grid {
  display: grid;
  gap: 18px;
}

.faq-item {
  padding: 22px 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(12, 20, 31, 0.92), rgba(15, 25, 38, 0.9));
  border: 1px solid var(--line);
}

.faq-question {
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
}

.faq-answer {
  color: var(--muted);
  line-height: 1.85;
}

.footer {
  padding: 24px 0 42px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr;
  gap: 20px;
  align-items: start;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
}

.footer-brand-block p {
  margin: 0;
  color: var(--muted);
}

.footer-meta {
  display: grid;
  gap: 12px;
}

.footer-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}

.footer-row span {
  min-width: 90px;
  color: #dfeafc;
}

.footer-row strong {
  font-weight: 600;
  color: var(--muted);
}

.footer-tagline {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  text-align: right;
  color: #dfeafc;
  line-height: 1.8;
  gap: 2px;
}

.footer-tagline a {
  color: rgba(223, 234, 252, 0.82);
  text-decoration: none;
  font-size: 0.8rem;
}

.footer-tagline a:hover {
  color: #a9d6ff;
}

@media (max-width: 960px) {
  .nav {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .hero-grid,
  .about-grid,
  .business-grid,
  .reasons-grid,
  .promise-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-tagline {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 54px;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .table-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 10px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

/* =========================================================
   Motion & polish
   ========================================================= */

@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

section[id] {
  scroll-margin-top: 84px;
}

::selection {
  color: #fff;
  background: rgba(126, 140, 255, 0.55);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 3px;
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, #7ec8ff, #8c7bff, #85f7d7);
  box-shadow: 0 0 12px rgba(126, 200, 255, 0.6);
}

.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: orbFloat 18s ease-in-out infinite alternate;
}

.orb-1 {
  top: -160px;
  left: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.55), transparent 65%);
}

.orb-2 {
  top: 22%;
  right: -140px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.42), transparent 65%);
  animation-duration: 22s;
  animation-delay: -6s;
}

.orb-3 {
  bottom: -180px;
  left: 30%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(117, 240, 211, 0.3), transparent 65%);
  animation-duration: 26s;
  animation-delay: -12s;
}

.grid-fx {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  animation: gridDrift 24s linear infinite;
}

/* ---------- Topbar ---------- */

.topbar {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.topbar.is-scrolled {
  background: rgba(6, 11, 20, 0.88);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.nav {
  transition: min-height 0.3s ease;
}

.topbar.is-scrolled .nav {
  min-height: 64px;
}

.brand-mark {
  animation: brandGlow 4s ease-in-out infinite;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #7ec8ff, #85f7d7);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--text);
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.5;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}

.btn-primary:hover {
  box-shadow: 0 20px 40px rgba(105, 126, 255, 0.45);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  z-index: -1;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}

.btn-primary:hover::after {
  left: 130%;
}

.btn-secondary:hover,
.btn-ghost:hover {
  background: rgba(126, 200, 255, 0.08);
  border-color: rgba(126, 200, 255, 0.45);
}

.ripple {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  pointer-events: none;
  animation: ripple 0.65s ease-out forwards;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 78px);
  min-height: calc(100svh - 78px);
  padding: 56px 0 120px;
  overflow: hidden;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  transform: translateX(-50%);
  transition: color 0.25s ease;
}

.scroll-hint:hover {
  color: var(--text);
}

.scroll-hint small {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
}

.scroll-hint .mouse {
  position: relative;
  width: 24px;
  height: 38px;
  border: 2px solid currentColor;
  border-radius: 14px;
  opacity: 0.8;
}

.scroll-hint .wheel {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--accent);
  animation: wheel 1.8s ease-in-out infinite;
}

.js .scroll-hint {
  opacity: 0;
}

.is-loaded .scroll-hint {
  animation:
    fadeIn 0.8s ease 1.4s forwards,
    hintBounce 2.4s ease-in-out 2.2s infinite;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.hero-copy,
.hero-panel {
  min-width: 0;
}

.eyebrow {
  position: relative;
  overflow: hidden;
}

.eyebrow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(160, 217, 255, 0.35), transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 3.6s ease-in-out infinite;
}

.slogan-word {
  background-size: 220% 220%;
  animation: gradientShift 8s ease infinite;
}

.slogan-subtitle .char {
  display: inline-block;
  opacity: 0;
  filter: blur(6px);
  transform: translateY(0.35em);
  transition: opacity 0.45s ease, filter 0.45s ease, transform 0.45s ease;
}

.slogan-subtitle .char.show {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

.js .hero-copy > *,
.js .hero-panel {
  opacity: 0;
}

.is-loaded .hero-copy > * {
  animation: riseIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: calc(var(--i, 0) * 120ms);
}

.is-loaded .hero-panel {
  animation:
    riseIn 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s forwards,
    floatY 6s ease-in-out 1.4s infinite;
}

.is-loaded .slogan-word {
  animation:
    wordIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both,
    gradientShift 8s ease infinite;
}

.is-loaded .slogan-word:nth-child(2) {
  animation-delay: 0.15s, 0s;
}

.is-loaded .slogan-word:nth-child(3) {
  animation-delay: 0.3s, 0s;
}

.model-strip.marquee {
  display: block;
  max-width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.model-strip.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.model-strip span {
  white-space: nowrap;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.model-strip span:hover {
  color: var(--text);
  background: rgba(126, 200, 255, 0.1);
  border-color: rgba(126, 200, 255, 0.4);
}

.stat-card {
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
  will-change: transform;
}

.main-card::after,
.promise-card.accent::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(from var(--angle), transparent 0 55%, #7ec8ff 72%, #85f7d7 84%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: spinAngle 6s linear infinite;
}

.mini-chart span {
  transform-origin: 50% 100%;
  animation:
    barGrow 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both,
    barWave 2.8s ease-in-out infinite;
  animation-delay:
    calc(var(--i, 0) * 80ms + 0.6s),
    calc(var(--i, 0) * 160ms + 1.8s);
}

.dot {
  position: relative;
}

.dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid currentColor;
  border-radius: 50%;
  animation: ping 2.2s ease-out infinite;
}

.dot-green {
  color: var(--accent);
}

.dot-purple {
  color: #7d6bff;
}

.dot-blue {
  color: #7fc3ff;
}

.dot-purple::after {
  animation-delay: 0.7s;
}

.dot-blue::after {
  animation-delay: 1.4s;
}

/* ---------- Scroll reveal ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0ms);
}

html.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Cards ---------- */

.promise-card {
  position: relative;
}

.spot {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(126, 200, 255, 0.15), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.spot:hover::before {
  opacity: 1;
}

.spot:hover {
  transform: translateY(-6px);
  border-color: rgba(126, 200, 255, 0.35);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.spot > * {
  position: relative;
}

.feature-panel.spot:hover,
.models-panel.spot:hover {
  transform: none;
}

.info-card .icon,
.reason-icon,
.promise-icon {
  transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1), background 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover .icon,
.reason-card:hover .reason-icon {
  transform: rotate(-8deg) scale(1.12);
  background: linear-gradient(135deg, rgba(126, 200, 255, 0.45), rgba(133, 247, 215, 0.35));
  box-shadow: 0 10px 24px rgba(117, 240, 211, 0.25);
}

.promise-card:hover .promise-icon {
  transform: scale(1.08);
  box-shadow: 0 0 24px rgba(126, 200, 255, 0.35);
}

.table-row:not(.header-row) {
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.table-row:not(.header-row):hover {
  color: var(--text);
  background: rgba(126, 200, 255, 0.07);
  transform: translateX(4px);
}

.table-row:not(.header-row):hover span:first-child {
  color: var(--accent);
}

.status-badge {
  animation: badgePulse 2.4s ease-in-out infinite;
}

.vision-box {
  position: relative;
  overflow: hidden;
}

.vision-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(126, 200, 255, 0.08), transparent);
  transform: skewX(-18deg);
  animation: sweep 7s ease-in-out infinite;
  pointer-events: none;
}

.vision-box h2 {
  background: linear-gradient(120deg, #ffffff 0%, #8ec7ff 30%, #8d8bff 60%, #7fead9 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s ease infinite;
}

/* ---------- FAQ accordion ---------- */

.js .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
  cursor: pointer;
  user-select: none;
}

.js .faq-question::after {
  content: "+";
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--accent);
  border: 1px solid rgba(117, 240, 211, 0.3);
  border-radius: 50%;
  transition: transform 0.35s ease, background 0.35s ease;
}

.js .faq-item.open .faq-question::after {
  transform: rotate(135deg);
  background: rgba(117, 240, 211, 0.12);
}

.js .faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
}

.js .faq-item.open .faq-answer {
  margin-top: 12px;
  opacity: 1;
}

.js .faq-item.open {
  border-color: rgba(117, 240, 211, 0.3);
}

/* ---------- Back to top ---------- */

.back-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 150;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #061421;
  background: linear-gradient(135deg, #7ec8ff, #8c7bff, #85f7d7);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(105, 126, 255, 0.4);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.back-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.back-top:hover {
  transform: translateY(-3px);
}

/* ---------- Keyframes ---------- */

@keyframes orbFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(60px, 40px, 0) scale(1.1);
  }
  100% {
    transform: translate3d(-40px, 80px, 0) scale(0.95);
  }
}

@keyframes gridDrift {
  to {
    background-position: 56px 56px, 56px 56px;
  }
}

@keyframes brandGlow {
  50% {
    box-shadow: 0 10px 35px rgba(117, 240, 211, 0.55);
    filter: hue-rotate(25deg);
  }
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes ripple {
  to {
    opacity: 0;
    transform: scale(2.6);
  }
}

@keyframes shimmer {
  60%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes wordIn {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(0.4em) scale(0.96);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}

@keyframes wheel {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes hintBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes marquee {
  to {
    transform: translateX(calc(-50% - 5px));
  }
}

@keyframes spinAngle {
  to {
    --angle: 360deg;
  }
}

@keyframes barGrow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes barWave {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.82);
  }
}

@keyframes ping {
  0% {
    opacity: 0.9;
    transform: scale(0.6);
  }
  100% {
    opacity: 0;
    transform: scale(2);
  }
}

@keyframes badgePulse {
  50% {
    box-shadow: 0 0 0 6px rgba(123, 118, 255, 0);
    background: rgba(123, 118, 255, 0.22);
  }
}

@keyframes sweep {
  0%,
  20% {
    left: -60%;
  }
  80%,
  100% {
    left: 130%;
  }
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
    padding: 56px 0 72px;
  }

  .scroll-hint {
    display: none;
  }
}

@media (max-width: 640px) {
  .back-top {
    right: 16px;
    bottom: 18px;
  }

  .orb {
    filter: blur(60px);
    opacity: 0.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .hero-copy > *,
  .js .hero-panel,
  .js .scroll-hint,
  html.js .reveal,
  .slogan-subtitle .char {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}
