/* ---------- tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-elev: #f8f9fa;
  --bg-elev-2: #efe9fb;
  --border: rgba(17, 24, 39, 0.08);
  --border-strong: rgba(17, 24, 39, 0.16);
  --text: #111827;
  --text-muted: #4b5563;
  --text-dim: #6b7280;
  --accent: #7c3aed;
  --accent-2: #6d28d9;
  --accent-light: #6d28d9;
  --accent-soft: #a78bfa;
  --accent-pale: #d8b4fe;
  --logo-gradient: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-glow: 0 0 0 1px var(--border), 0 24px 60px -20px rgba(124, 58, 237, 0.25);
  --container: 1160px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0a0713;
  --bg-elev: #150e22;
  --bg-elev-2: #1c1330;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f2fb;
  --text-muted: #b7aecf;
  --text-dim: #8a7ea8;
  --accent: #a78bfa;
  --accent-2: #8b5cf6;
  --accent-light: #c4b5fd;
  --accent-soft: #a78bfa;
  --accent-pale: #4c1d95;
  --shadow-glow: 0 0 0 1px var(--border), 0 24px 60px -20px rgba(139, 92, 246, 0.4);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
::selection { background: rgba(139, 92, 246, 0.28); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn:focus-visible, .theme-toggle:focus-visible { border-radius: 999px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

h1, h2, h3, h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.28);
  padding: 6px 14px;
  border-radius: 999px;
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 38px);
  margin: 14px 0 12px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 17px;
}

section { padding: 100px 0; }
@media (max-width: 640px) {
  section { padding: 64px 0; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--logo-gradient);
  color: #fff;
  box-shadow: 0 8px 30px -8px rgba(139, 92, 246, 0.65);
}
.btn-primary:hover { box-shadow: 0 12px 34px -8px rgba(139, 92, 246, 0.8); }
.btn-ghost {
  background: rgba(17, 24, 39, 0.03);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(17, 24, 39, 0.06); }
:root[data-theme="dark"] .btn-ghost { background: rgba(255, 255, 255, 0.06); }
:root[data-theme="dark"] .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-white { background: #fff; color: var(--accent-2); box-shadow: none; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.nav.scrolled { box-shadow: 0 8px 24px -16px rgba(17, 24, 39, 0.25); }
:root[data-theme="dark"] .nav.scrolled { box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.7); }
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 18px;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-links a { position: relative; transition: color 0.15s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--logo-gradient);
}
.mobile-download { display: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(17, 24, 39, 0.03);
  color: var(--text);
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}
.theme-toggle:hover { background: rgba(17, 24, 39, 0.06); transform: rotate(-12deg); }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle { background: rgba(255, 255, 255, 0.06); }
:root[data-theme="dark"] .theme-toggle:hover { background: rgba(255, 255, 255, 0.1); }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text);
}
.nav-toggle .icon-close { display: none; }
.nav.open .nav-toggle .icon-menu { display: none; }
.nav.open .nav-toggle .icon-close { display: block; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
  }
  .nav.open .nav-links a { padding: 10px 0; width: 100%; display: block; }
  .nav.open .nav-links a.active::after { display: none; }
  .nav.open .nav-links a.active { color: var(--accent-2); }
  .nav.open .mobile-download {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
  }
  .nav.open .mobile-download a {
    color: var(--accent-2);
    font-weight: 700;
    padding: 4px 0;
  }
}

:root[data-theme="dark"] .nav { background: rgba(10, 7, 19, 0.78); }

@media (max-width: 560px) {
  .nav-actions .btn-sm { display: none; }
}

/* ---------- hero ---------- */
.hero {
  padding: 88px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(closest-side, rgba(124, 58, 237, 0.16), transparent 70%);
  pointer-events: none;
  animation: glow-breathe 7s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.85; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  margin: 18px 0 20px;
}
.hero h1 span {
  background: linear-gradient(120deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat strong {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--text);
}
.hero-stat span { font-size: 12.5px; color: var(--text-dim); }

/* phone mockup */
.phone-wrap { display: flex; justify-content: center; position: relative; }
.phone {
  width: 280px;
  height: 580px;
  border-radius: 42px;
  background: #111827;
  box-shadow: var(--shadow-glow);
  padding: 10px;
  position: relative;
  animation: phone-float 5s ease-in-out infinite;
}
.app-shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 34px;
}
@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.app-mock {
  /* The mockup represents a fixed app screenshot, so it stays light regardless
     of the page theme — locally re-declare the tokens its children read via var(). */
  --bg-elev: #f8f9fa;
  --border: rgba(17, 24, 39, 0.08);
  --text: #111827;
  --text-muted: #4b5563;
  --text-dim: #6b7280;
  --accent: #7c3aed;
  --accent-2: #6d28d9;

  width: 100%;
  height: 100%;
  border-radius: 34px;
  background: var(--bg-elev);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.app-header {
  background: var(--logo-gradient);
  padding: 22px 20px 20px;
  color: #fff;
}
.app-header-top { display: flex; align-items: flex-start; justify-content: space-between; }
.app-greet { font-size: 12px; opacity: 0.85; }
.app-title { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 19px; margin-top: 2px; }
.app-subtitle { font-size: 12px; opacity: 0.85; margin-top: 10px; }
.app-owl {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
}
.app-owl img { width: 100%; height: 100%; object-fit: cover; }
.live-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  border: 2px solid #fff;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: live-pulse 2.2s ease-out infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.app-body { flex: 1; padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.app-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}
.app-card-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-dim); font-weight: 600; }
.app-card-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 6px; }
.app-condition { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 16px; color: var(--text); }
.app-confidence { font-size: 13px; font-weight: 700; color: var(--accent-2); }
.app-card-sub { font-size: 11.5px; color: var(--text-dim); margin-top: 4px; }

.app-quick-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-dim); font-weight: 600; }
.app-quick-actions { display: flex; gap: 10px; margin-top: -6px; }
.app-quick {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
}
.app-quick-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qi-blue { background: #eff6ff; color: #2563eb; }
.qi-cyan { background: #ecfeff; color: #0891b2; }
.qi-violet { background: #f5f3ff; color: #7c3aed; }

.app-notice {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 11px;
  text-align: center;
  border-radius: 10px;
  padding: 8px 10px;
}
.app-bottom-nav {
  display: flex;
  justify-content: space-around;
  padding: 12px 0 16px;
  border-top: 1px solid var(--border);
  background: #fff;
  color: var(--text-dim);
}
.app-bottom-nav .active { color: var(--accent); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone-wrap { order: -1; margin-bottom: 12px; }
}

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
  overflow: hidden;
  padding: 15px 0;
}
.marquee-track { display: flex; width: max-content; animation: marquee-scroll 32s linear infinite; }
.marquee-seq { display: flex; align-items: center; white-space: nowrap; }
.marquee-seq span:not(.dot) {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0 14px;
}
.marquee-seq .dot { color: var(--accent-soft); }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- notice bar ---------- */
.notice-bar { background: #fffbeb; border-top: 1px solid #fde68a; border-bottom: 1px solid #fde68a; padding: 16px 0; margin: 32px 0; }
.notice-inner { display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; flex-wrap: wrap; }
.notice-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fef3c7;
  color: #b45309;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notice-icon.sm { width: 20px; height: 20px; }
.notice-inner p { font-size: 13.5px; color: #92400e; }
.notice-inner strong { color: #78350f; }

:root[data-theme="dark"] .notice-bar { background: rgba(217, 119, 6, 0.12); border-color: rgba(217, 119, 6, 0.35); }
:root[data-theme="dark"] .notice-icon { background: rgba(217, 119, 6, 0.22); color: #fbbf24; }
:root[data-theme="dark"] .notice-inner p { color: #fcd34d; }
:root[data-theme="dark"] .notice-inner strong { color: #fde68a; }

/* ---------- features ---------- */
/* 6-column track: three cards on the first row, the last two split the second row evenly */
.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.features-grid > .card { grid-column: span 2; }
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid > .card,
  .features-grid > .card:nth-child(n + 4) { grid-column: auto; }
  .features-grid > .card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(124, 58, 237, 0.35); }
.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.card:hover .icon { transform: scale(1.1) rotate(-6deg); }
.icon-blue { background: #eff6ff; color: #2563eb; }
.icon-violet { background: #f5f3ff; color: #7c3aed; }
.icon-cyan { background: #ecfeff; color: #0891b2; }
.icon-green { background: #f0fdf4; color: #16a34a; }
.icon-orange { background: #fff7ed; color: #ea580c; }
:root[data-theme="dark"] .icon-blue { background: rgba(37, 99, 235, 0.16); color: #60a5fa; }
:root[data-theme="dark"] .icon-violet { background: rgba(124, 58, 237, 0.18); color: #a78bfa; }
:root[data-theme="dark"] .icon-cyan { background: rgba(8, 145, 178, 0.16); color: #22d3ee; }
:root[data-theme="dark"] .icon-green { background: rgba(22, 163, 74, 0.16); color: #4ade80; }
:root[data-theme="dark"] .icon-orange { background: rgba(234, 88, 12, 0.16); color: #fb923c; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 14.5px; }

/* ---------- ai model ---------- */
.model-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: stretch;
}
@media (max-width: 900px) { .model-grid { grid-template-columns: 1fr; gap: 36px; } }

.model-copy h2 { font-size: clamp(26px, 3.6vw, 34px); margin-bottom: 16px; }
.model-copy p { color: var(--text-muted); margin-bottom: 16px; }
.model-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}
.model-fact {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.model-fact .num { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 20px; color: var(--accent-light); }
.model-fact .lbl { font-size: 12.5px; color: var(--text-dim); margin-top: 2px; }

.chart-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 20px;
  display: flex;
  flex-direction: column;
}
/* Card stretches to the copy column's height; spread the bars to fill it */
#chart { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; }
.chart-card .chart-title { font-size: 13px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 22px; }
.bar-row {
  display: grid;
  grid-template-columns: 118px 1fr 52px;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13.5px;
}
.bar-row .bar-label { color: var(--text-muted); }
.bar-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.07);
  overflow: hidden;
  position: relative;
}
:root[data-theme="dark"] .bar-track { background: rgba(255, 255, 255, 0.08); }
.bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  width: 0;
  transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.bar-row .bar-value { text-align: right; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.chart-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.chart-note .notice-icon { background: rgba(124, 58, 237, 0.1); color: var(--accent-2); }
.chart-note p { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }
.chart-note strong { color: var(--text); }
:root[data-theme="dark"] .chart-note .notice-icon { background: rgba(167, 139, 250, 0.18); color: var(--accent-light); }

/* ---------- process ---------- */
.process { background: var(--bg-elev-2); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 700px) { .process-grid { grid-template-columns: 1fr; } }
.process-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}
:root[data-theme="dark"] .process-card { background: var(--bg-elev); }
.process-num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--logo-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 18px;
  transition: transform 0.25s ease;
}
.process-card:hover .process-num { transform: scale(1.12); }
.process-card h3 { font-size: 17px; margin-bottom: 8px; }
.process-card p { color: var(--text-muted); font-size: 14.5px; }

/* ---------- team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  text-align: center;
  padding: 28px 18px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.team-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--logo-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 18px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.team-card:hover .avatar { transform: scale(1.1) rotate(-4deg); }
.team-card h3 { font-size: 15.5px; margin-bottom: 4px; }
.team-card p { color: var(--text-dim); font-size: 13px; }

/* ---------- cta ---------- */
.cta-section { padding-bottom: 100px; }
.cta {
  background: var(--logo-gradient);
  border-radius: var(--radius-lg);
  margin: 0 24px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.cta h2 { font-size: clamp(26px, 4vw, 36px); color: #fff; margin-bottom: 14px; }
.cta p { color: rgba(255, 255, 255, 0.85); max-width: 520px; margin: 0 auto 30px; font-size: 16px; }
.cta .btn-primary { background: #fff; color: var(--accent-2); box-shadow: none; }
.cta .btn-ghost { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .cta-section { padding-bottom: 72px; }
  .cta { padding: 44px 24px; margin: 0 16px; }
}

/* ---------- footer ---------- */
footer { padding: 60px 0 36px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: "Poppins", sans-serif; font-weight: 700; }
.footer-brand img { width: 30px; height: 30px; border-radius: 8px; }
.footer-note { color: var(--text-dim); font-size: 13px; max-width: 420px; margin-top: 10px; }
.footer-right { text-align: right; }
.footer-meta { color: var(--text-dim); font-size: 13px; max-width: 320px; margin-left: auto; }
.footer-cta-links { display: flex; gap: 20px; justify-content: flex-end; margin-top: 14px; }
.footer-cta-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}
.footer-cta-links a:hover { color: var(--accent-2); }
@media (max-width: 700px) {
  .footer-right { text-align: left; }
  .footer-meta { margin-left: 0; }
  .footer-cta-links { justify-content: flex-start; }
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-dim);
  font-size: 12.5px;
}

/* reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Demo video: 16:9 cut on desktop, 9:16 cut on phones (see <source media> in index.html) */
.demo-video {
  max-width: 1040px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #07040f;
  box-shadow: var(--shadow-glow);
}
.demo-video video { width: 100%; height: 100%; display: block; object-fit: contain; background: #07040f; }
@media (max-width: 640px) {
  .demo-video {
    aspect-ratio: 9 / 16;
    width: 100%;
    max-width: min(100%, calc(80svh * 9 / 16));
    border-radius: var(--radius-md);
  }
}

