/* PIXVOGUE — TikTok-Native AI Tech Design System
   Aesthetic: Young, bold, high-contrast AI tech (TikTok × Linear × Runway)
   Audience: Global TikTok Shop brands & studios (Singapore + US aesthetic)
   Palette: Deep Carbon (#09090B), Elevated Slate (#121216), Crisp White (#FAFAFA),
            TikTok Electric Cyan (#25F4EE), TikTok Signal Rose (#FE2C55)
   Typography: Space Grotesk (Display) + Plus Jakarta Sans / PingFang SC (Body & UI + tabular-nums)
   Body scale strictly locked to 3 sizes: --text-heading, --text-body, --text-sm
*/

:root {
  --bg: #09090B;
  --surface: #121217;
  --surface-2: #1A1A22;
  --ink: #FAFAFA;
  --muted: #A1A1AA;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.22);

  --light-bg: #FAFAFA;
  --light-surface: #F1F1F4;
  --light-ink: #09090B;
  --light-muted: #52525B;
  --light-line: #E4E4E7;

  --cyan: #25F4EE;
  --rose: #FE2C55;
  --cyan-dim: rgba(37, 244, 238, 0.14);
  --rose-dim: rgba(254, 44, 85, 0.14);

  --ok: #22C55E;
  --ok-bg: rgba(34, 197, 94, 0.12);
  --warn: #FE2C55;
  --warn-bg: rgba(254, 44, 85, 0.12);

  --font-display: "Space Grotesk", "Plus Jakarta Sans", "PingFang SC", "Noto Sans SC", -apple-system, sans-serif;
  --font-sans: "Plus Jakarta Sans", "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", -apple-system, sans-serif;

  /* Strict 3-size body scale */
  --text-heading: clamp(2rem, 3.8vw, 3.35rem);
  --text-body: 1.0625rem; /* 17px */
  --text-sm: 0.875rem;    /* 14px */

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1220px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--ink);
  font-size: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
}

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

.tabular {
  font-variant-numeric: tabular-nums;
}

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

/* ==================== Navigation ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  border-bottom: 1px solid transparent;
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out), padding 200ms var(--ease-out);
}

.site-header.scrolled {
  background-color: rgba(9, 9, 11, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  padding: 13px 0;
}

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

.brand-wordmark {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-mark {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--cyan), var(--rose));
  display: inline-block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms var(--ease-out);
}

.nav-links a:hover {
  color: #FFFFFF;
}

.lang-switch {
  display: inline-flex;
  background-color: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}

.lang-switch input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lang-switch label {
  padding: 5px 11px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}

.lang-switch input[type="radio"]:checked + label {
  background-color: #FFFFFF;
  color: var(--bg);
}

.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background-color: var(--cyan);
  color: #09090B !important;
  font-size: var(--text-sm);
  font-weight: 700 !important;
  text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out);
}

.nav-cta:hover {
  background-color: #5CF8F3;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: #FFFFFF;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
}

/* ==================== Hero: TikTok-Native AI Tech Stage ==================== */
.hero {
  position: relative;
  padding: 132px 0 92px 0;
  overflow: hidden;
  background-color: var(--bg);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 420px at 18% 12%, rgba(37, 244, 238, 0.14), transparent 70%),
    radial-gradient(640px 420px at 84% 16%, rgba(254, 44, 85, 0.14), transparent 70%);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 15%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 15%, #000 30%, transparent 100%);
  pointer-events: none;
}

.hero-top {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
  margin: 0 auto 56px auto;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  margin-bottom: 22px;
}

.hero-accent-text {
  background: linear-gradient(95deg, var(--cyan) 0%, #FFFFFF 52%, var(--rose) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: var(--text-body);
  color: var(--muted);
  max-width: 56ch;
  margin: 0 auto 30px auto;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: inherit;
  font-size: var(--text-body);
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), background-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.btn-cyan {
  background-color: var(--cyan);
  color: #09090B;
}

.btn-cyan:hover {
  background-color: #62F9F4;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 244, 238, 0.24);
}

.btn-dark {
  background-color: #09090B;
  color: #FFFFFF;
}

.btn-dark:hover {
  background-color: #27272A;
  transform: translateY(-2px);
}

/* ==================== Interactive TikTok Live AI Engine Stage ==================== */
.stage-wrapper {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(26, 26, 34, 0.88), rgba(14, 14, 18, 0.96));
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.55);
}

.stage-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background-color: rgba(255, 255, 255, 0.02);
}

.stage-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #FFFFFF;
}

.stage-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.segmented {
  display: inline-flex;
  background-color: #09090B;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}

.segmented input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented label {
  padding: 6px 14px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}

.segmented input[type="radio"]:checked + label {
  background-color: var(--surface-2);
  color: #FFFFFF;
  font-weight: 600;
}

.segmented.on-light {
  background-color: var(--light-surface);
  border-color: var(--light-line);
}

.segmented.on-light label {
  color: var(--light-muted);
}

.segmented.on-light input[type="radio"]:checked + label {
  background-color: var(--light-ink);
  color: #FFFFFF;
}

.stage-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
}

/* Left: TikTok 9:16 Live Room Feed Simulation */
.tiktok-room {
  position: relative;
  min-height: 500px;
  background-color: #000000;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  overflow: hidden;
}

.tiktok-room-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.tiktok-room-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 9, 11, 0.72) 0%,
    rgba(9, 9, 11, 0.15) 45%,
    rgba(9, 9, 11, 0.92) 100%
  );
  pointer-events: none;
}

.room-top,
.room-bottom {
  position: relative;
  z-index: 2;
}

.room-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.room-handle {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #FFFFFF;
}

.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
}

.waveform span {
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--rose));
  animation: eq 1.1s ease-in-out infinite;
}

.waveform span:nth-child(1) { height: 7px; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 16px; animation-delay: 0.12s; }
.waveform span:nth-child(3) { height: 11px; animation-delay: 0.24s; }
.waveform span:nth-child(4) { height: 18px; animation-delay: 0.36s; }
.waveform span:nth-child(5) { height: 9px; animation-delay: 0.48s; }

@keyframes eq {
  0%, 100% { transform: scaleY(0.45); opacity: 0.7; }
  50% { transform: scaleY(1.15); opacity: 1; }
}

.comment-stream {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.comment-line {
  background: rgba(9, 9, 11, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.92);
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out);
}

.comment-line.active-comment {
  border-color: var(--rose);
  background: rgba(254, 44, 85, 0.16);
}

.comment-user {
  color: var(--cyan);
  font-weight: 600;
  margin-right: 6px;
}

.product-card {
  background: rgba(255, 255, 255, 0.95);
  color: #09090B;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.product-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #09090B;
}

.product-meta {
  font-size: var(--text-sm);
  color: #52525B;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rose);
  white-space: nowrap;
}

/* Right: AI Gateway Real-Time Decision Engine */
.ai-engine {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.decision-card {
  padding: 16px 20px;
  border-radius: 12px;
  background-color: var(--ok-bg);
  border-left: 3px solid var(--ok);
}

.decision-card.is-warn {
  background-color: var(--warn-bg);
  border-left-color: var(--rose);
}

.decision-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #4ADE80;
  margin-bottom: 4px;
}

.decision-card.is-warn .decision-title {
  color: #FF6B86;
}

.decision-desc {
  font-size: var(--text-sm);
  color: #E4E4E7;
}

/* ==================== Interactive TikTok Data Dashboard Section ==================== */
.dash-shell {
  background-color: #FFFFFF;
  border: 1px solid var(--light-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(9, 9, 11, 0.06);
}

.dash-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--light-line);
  background-color: var(--light-surface);
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--light-line);
}

.dash-kpi {
  padding: 22px 28px;
}

.dash-kpi + .dash-kpi {
  border-left: 1px solid var(--light-line);
}

.dash-kpi-val {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--light-ink);
  line-height: 1.1;
  margin-bottom: 4px;
}

.dash-kpi-val.up {
  color: #059669;
}

.dash-kpi-label {
  font-size: var(--text-sm);
  color: var(--light-muted);
}

.dash-body {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
}

.dash-chart-pane {
  padding: 28px;
  border-right: 1px solid var(--light-line);
}

.dash-chart-pane svg {
  width: 100%;
  height: auto;
  display: block;
}

.dash-insight-pane {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background-color: #FAFAFA;
}

.dash-note {
  padding: 16px 18px;
  border-radius: 12px;
  background-color: #FFFFFF;
  border: 1px solid var(--light-line);
}

.dash-note p {
  font-size: var(--text-sm);
  color: var(--light-muted);
  margin-top: 6px;
}

.dash-sync-box {
  padding: 16px 18px;
  border-radius: 12px;
  background-color: #09090B;
  color: #FFFFFF;
}

.dash-sync-box p {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: 6px;
}

@media (max-width: 980px) {
  .dash-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-kpi:nth-child(3) {
    border-left: none;
    border-top: 1px solid var(--light-line);
  }
  .dash-kpi:nth-child(4) {
    border-top: 1px solid var(--light-line);
  }
  .dash-body {
    grid-template-columns: 1fr;
  }
  .dash-chart-pane {
    border-right: none;
    border-bottom: 1px solid var(--light-line);
  }
}

.reply-card {
  padding: 20px 22px;
  border-radius: 12px;
  background-color: var(--surface-2);
  border: 1px solid var(--line);
  margin-top: 14px;
}

.reply-meta {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 8px;
}

.reply-body {
  font-size: var(--text-body);
  color: #FFFFFF;
  line-height: 1.6;
}

.telemetry-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.tel-num {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 6px;
}

.tel-label {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: 8px;
}

.bar-track {
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--rose));
  transition: width 320ms var(--ease-out);
}

.sim-form {
  display: flex;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.sim-input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background-color: #09090B;
  color: #FFFFFF;
  font-family: inherit;
  font-size: var(--text-sm);
}

.sim-input:focus {
  outline: 2px solid var(--cyan);
  border-color: var(--cyan);
}

.sim-btn {
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  background-color: #FFFFFF;
  color: #09090B;
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}

.sim-btn:hover {
  background-color: var(--cyan);
  transform: translateY(-1px);
}

/* ==================== Shared Sections ==================== */
.section {
  padding: 112px 0;
}

.section-surface {
  background-color: var(--surface);
}

.section-light {
  background-color: var(--light-bg);
  color: var(--light-ink);
}

h2 {
  font-family: var(--font-display);
  font-size: var(--text-heading);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 22ch;
  margin-bottom: 18px;
}

h3 {
  font-size: var(--text-body);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

.section-intro {
  font-size: var(--text-body);
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: 52px;
}

.section-light .section-intro {
  color: var(--light-muted);
}

/* ==================== Dual-Engine Architecture ==================== */
.split-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.visual-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 3 / 2;
  background-color: var(--surface-2);
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}

.visual-card:hover img {
  transform: scale(1.03);
}

.spec-rows {
  list-style: none;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}

.spec-rows li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-body);
}

.spec-rows li span:first-child {
  color: var(--muted);
}

.spec-rows li span:last-child {
  font-weight: 600;
  color: #FFFFFF;
  text-align: right;
}

/* ==================== Interactive Lifecycle & Before/After ==================== */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.slider-panel {
  background-color: #FFFFFF;
  border: 1px solid var(--light-line);
  border-radius: 16px;
  padding: 36px;
}

.compare-range {
  width: 100%;
  accent-color: var(--rose);
  margin: 22px 0 26px 0;
  cursor: pointer;
}

.compare-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.compare-box {
  padding: 20px;
  border-radius: 12px;
  background-color: var(--light-surface);
  border: 1px solid var(--light-line);
  transition: opacity 200ms var(--ease-out), border-color 200ms var(--ease-out);
}

.compare-box.highlight {
  background-color: #09090B;
  color: #FFFFFF;
  border-color: #09090B;
}

.compare-box p {
  font-size: var(--text-sm);
  color: var(--light-muted);
  margin-top: 6px;
}

.compare-box.highlight p {
  color: var(--muted);
}

.step-list {
  border-top: 1px solid var(--light-line);
}

.step-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--light-line);
}

.step-item p {
  color: var(--light-muted);
}

/* ==================== Enterprise Proof ==================== */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

.proof-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.4vw, 3.85rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.proof-num.cyan {
  color: var(--cyan);
}

.proof-num.rose {
  color: var(--rose);
}

.proof-col p {
  color: var(--muted);
}

/* ==================== Security & Official TikTok APIs ==================== */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.pillar {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.pillar.cyan-top {
  border-top: 2px solid var(--cyan);
}

.pillar p {
  color: var(--muted);
}

/* ==================== Pricing ==================== */
.pricing-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px;
}

.pricing-head .section-intro {
  margin-bottom: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
}

.plan-col {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.plan-col + .plan-col {
  border-left: 1px solid var(--light-line);
}

.plan-col.featured {
  background-color: #09090B;
  color: #FFFFFF;
}

.plan-price {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3.1rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 10px 0 4px 0;
}

.plan-col.featured .plan-price {
  color: var(--cyan);
}

.plan-period {
  font-size: var(--text-sm);
  color: var(--light-muted);
  margin-bottom: 18px;
}

.plan-col.featured .plan-period {
  color: var(--muted);
}

.plan-desc {
  color: var(--light-muted);
}

.plan-col.featured .plan-desc {
  color: #D4D4D8;
}

.plain-list {
  list-style: none;
}

.plain-list li {
  padding: 7px 0 7px 18px;
  position: relative;
}

.plain-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--rose);
  position: absolute;
  left: 0;
  top: 17px;
}

.plan-col.featured .plain-list li::before {
  background-color: var(--cyan);
}

/* ==================== Pilot Form & Footer ==================== */
.pilot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.pilot-form {
  background-color: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 36px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.field input,
.field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background-color: #09090B;
  color: #FFFFFF;
  font-family: inherit;
  font-size: var(--text-body);
}

.field input:focus,
.field select:focus {
  outline: 2px solid var(--cyan);
  border-color: var(--cyan);
}

.form-status {
  margin-top: 14px;
  font-size: var(--text-sm);
  color: var(--cyan);
  min-height: 22px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
  font-size: var(--text-sm);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms var(--ease-out);
}

.footer-links a:hover {
  color: #FFFFFF;
}

/* ==================== Reveal Animation ==================== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 460ms var(--ease-out), transform 460ms var(--ease-out);
}

.js-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(20px);
}

/* ==================== Responsive ==================== */
@media (max-width: 980px) {
  .stage-grid,
  .split-layout,
  .compare-grid,
  .proof-grid,
  .three-col,
  .pricing-grid,
  .pilot-grid {
    grid-template-columns: 1fr;
  }
  .tiktok-room {
    border-right: none;
    border-bottom: 1px solid var(--line);
    min-height: 360px;
  }
  .plan-col + .plan-col {
    border-left: none;
    border-top: 1px solid var(--light-line);
  }
}

@media (max-width: 760px) {
  .container {
    padding: 0 20px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    background-color: var(--bg);
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
  .nav-links.open {
    display: flex;
  }
  .hero {
    padding: 108px 0 64px 0;
  }
  .hero h1 {
    font-size: clamp(2.15rem, 9.5vw, 3.2rem);
  }
  .section {
    padding: 76px 0;
  }
  .ai-engine,
  .slider-panel,
  .pilot-form {
    padding: 20px;
  }
  .telemetry-bars,
  .compare-cols {
    grid-template-columns: 1fr;
  }
  .sim-form {
    flex-direction: column;
  }
  .segmented {
    max-width: 100%;
    flex-wrap: wrap;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
