:root {
  --bg: #030711;
  --bg-soft: #08101d;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f6fb;
  --muted: #a6b0c3;
  --accent: #67dce2;
  --accent-2: #7c6bff;
  --green: #3cd47f;
  --orange: #ff9f2f;
  --blue: #65a9ff;
  --header: rgba(3, 7, 17, 0.82);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
  --radius: 26px;
  --container: 1180px;
  --header-h: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 18px); }
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  background:
    radial-gradient(circle at 74% 9%, rgba(184, 46, 94, 0.28), transparent 24%),
    radial-gradient(circle at 57% 30%, rgba(34, 178, 198, 0.12), transparent 20%),
    linear-gradient(180deg, #02050f 0%, #030711 38%, #02050f 100%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.container { width: min(var(--container), calc(100% - 52px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.header-inner {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.logo img { width: 34px; height: 34px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: #dbe3ef; transition: color 0.18s ease, opacity 0.18s ease; }
.nav a:hover, .nav a.active { color: #fff; }
.mobile-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  font-size: 0;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.mobile-toggle:hover { background: rgba(255, 255, 255, 0.075); border-color: rgba(255, 255, 255, 0.16); }
.mobile-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.mobile-toggle.open .mobile-toggle-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open .mobile-toggle-line:nth-child(2) { opacity: 0; }
.mobile-toggle.open .mobile-toggle-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.page { padding-top: 0; }
.section { padding: 72px 0; }
.hero {
  min-height: calc(100svh - var(--header-h));
  padding: 80px 0 84px;
  display: flex;
  align-items: center;
}
.hero-grid, .waitlist-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 58px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 3; padding: 10px 0; }
.hero h1, .page-hero h1 {
  margin: 0 0 28px;
  font-size: clamp(3.2rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
}
.lead {
  max-width: 560px;
  margin: 0 0 40px;
  color: var(--muted);
  font-size: 1.32rem;
  line-height: 1.42;
}
.section-intro { margin-bottom: 28px; padding: 8px 0 22px; }
.section-heading {
  margin: 0 0 14px;
  font-size: clamp(2.45rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.section-subtitle {
  margin: 0;
  color: #ced7e7;
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  letter-spacing: 0.01em;
}
.center { text-align: center; }
.button-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn {
  position: relative;
  display: inline-flex;
  min-height: 58px;
  padding: 0 26px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 760;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  transform: translateY(0) scale(1);
  transition: transform 0.18s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}
.btn:hover { transform: translateY(-2px) scale(1.015); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); filter: brightness(1.03); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-primary { color: #051018; background: var(--accent); }
.btn-secondary { color: #fff; border-color: rgba(255, 255, 255, 0.34); }
.btn-dark { color: #fff; background: #07101c; border-color: rgba(255, 255, 255, 0.1); }
.btn:disabled { opacity: 0.65; cursor: wait; }

.device-stage {
  position: relative;
  min-height: 430px;
}
.hero-device-stage { opacity: 1; transform: none; }
.device-composition {
  position: absolute;
  inset: 0;
  transform: translateY(-32px);
}
.device-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 24%, rgba(198, 54, 100, 0.38), transparent 24%),
    radial-gradient(circle at 47% 72%, rgba(60, 205, 224, 0.24), transparent 19%);
  filter: blur(10px);
}
.device-stage .laptop-img {
  position: absolute;
  top: 50%;
  right: -1%;
  z-index: 1;
  width: 88%;
  transform: translateY(-50%);
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.28));
}
.device-stage .phone-angle {
  position: absolute;
  top: 52%;
  left: -1%;
  z-index: 2;
  width: 33%;
  transform: translateY(-50%);
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.38));
}

.feature-showcase-section { padding-top: 58px; }
.feature-stack { display: grid; gap: 18px; }
.showcase-row {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}
.showcase-meta, .showcase-demo {
  border: 1px solid rgba(103, 220, 226, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(6, 12, 24, 0.95), rgba(3, 8, 18, 0.92));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}
.showcase-meta { display: flex; padding: 22px 20px; align-items: center; }
.showcase-meta h3 { margin: 0 0 12px; font-size: 1.1rem; line-height: 1.2; letter-spacing: 0.01em; }
.showcase-meta p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.showcase-demo { display: grid; gap: 16px; padding: 18px; overflow: hidden; }

/* Performance chart */
.simple-graph-demo { grid-template-columns: minmax(0, 1fr) 170px; align-items: stretch; }
.simple-chart-card, .stat-card, .insight-score-panel, .insight-meaning-panel, .study-v6-card,
.focus-forcefield-card, .home-widget-preview, .sync-icon-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(10, 16, 29, 0.98), rgba(6, 11, 21, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.018);
}
.simple-chart-card { padding: 15px; }
.simple-chart-wrap {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border-radius: 15px;
  background: #050b15;
}
.simple-chart-grid span, .simple-chart-vertical span { position: absolute; display: block; background: rgba(255, 255, 255, 0.055); }
.simple-chart-grid span { left: 34px; right: 46px; height: 1px; }
.simple-chart-grid span:nth-child(1) { top: 17%; }
.simple-chart-grid span:nth-child(2) { top: 39%; }
.simple-chart-grid span:nth-child(3) { top: 61%; }
.simple-chart-grid span:nth-child(4) { top: 83%; }
.simple-chart-vertical span { top: 18px; bottom: 31px; width: 1px; }
.simple-chart-vertical span:nth-child(1) { left: 20%; }
.simple-chart-vertical span:nth-child(2) { left: 50%; }
.simple-chart-vertical span:nth-child(3) { left: 80%; }
.simple-chart-axis span { position: absolute; top: var(--top); right: 11px; color: #8290a5; font-size: 0.67rem; transform: translateY(14px); }
.simple-chart-months { position: absolute; right: 50px; bottom: 8px; left: 36px; height: 18px; }
.simple-chart-months span { position: absolute; color: #7d8ba0; font-size: 0.68rem; transform: translateX(-50%); }
.simple-chart-svg { position: absolute; inset: 12px 50px 30px 34px; width: calc(100% - 84px); height: calc(100% - 42px); overflow: visible; }
.simple-line {
  fill: none;
  stroke-width: 3.2;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
}
.line-bio { stroke: #55d8ee; }
.line-chem { stroke: #8c75ff; }
.line-eng { stroke: #ff7aa9; }
.bio-dots { fill: #55d8ee; stroke: #55d8ee; }
.chem-dots { fill: #8c75ff; stroke: #8c75ff; }
.eng-dots { fill: #ff7aa9; stroke: #ff7aa9; }
.simple-dots { opacity: 0; }
.simple-chart-legend { display: flex; flex-wrap: wrap; gap: 16px; padding: 13px 4px 0; color: #c5d0e0; font-size: 0.76rem; }
.legend-dot { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; }
.legend-dot.biology { background: #55d8ee; }
.legend-dot.chemistry { background: #8c75ff; }
.legend-dot.english { background: #ff7aa9; }
.stat-card { padding: 18px; }
.overall-stat-card { display: flex; flex-direction: column; justify-content: center; }
.eyebrow { color: #dbe5f5; font-size: 0.72rem; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.92; }
.eyebrow strong { color: #fff; }
.big-stat { margin: 10px 0; font-size: clamp(2.15rem, 3vw, 2.8rem); font-weight: 820; line-height: 1; }
.stat-positive { color: #4fe58b; font-weight: 700; }
.split-top { display: flex; justify-content: space-between; gap: 10px; margin-top: 28px; }
.reveal-card { opacity: 0; transform: translateX(18px); }

/* Result insight */
.insight-v6-demo { grid-template-columns: minmax(220px, 0.76fr) minmax(0, 1.24fr); }
.insight-score-panel, .insight-meaning-panel { padding: 20px; }
.insight-score-panel-green { background: linear-gradient(180deg, rgba(10, 32, 28, 0.96), rgba(6, 19, 19, 0.98)); }
.insight-v6-header { display: flex; align-items: center; gap: 12px; }
.insight-v6-header h4 { margin: 0 0 4px; font-size: 1.02rem; }
.insight-book-icon {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid rgba(91, 231, 174, 0.22);
  border-radius: 11px;
  background: rgba(91, 231, 174, 0.08);
}
.insight-book-icon::before, .insight-book-icon::after {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 9px;
  width: 9px;
  border: 1.6px solid #6ceab6;
}
.insight-book-icon::before { left: 9px; border-radius: 4px 0 0 4px; }
.insight-book-icon::after { right: 9px; border-radius: 0 4px 4px 0; }
.insight-v6-meta { display: flex; flex-wrap: wrap; gap: 4px 9px; color: #8ea19e; font-size: 0.72rem; }
.insight-v6-rule { height: 1px; margin: 18px 0; background: rgba(255, 255, 255, 0.06); }
.insight-v6-label { color: #95a3b6; font-size: 0.68rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.insight-v6-score-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.insight-v6-score-row strong { font-size: 3rem; line-height: 1; }
.insight-grade { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; color: #b8ffe0; background: rgba(68, 220, 143, 0.12); border: 1px solid rgba(68, 220, 143, 0.22); font-weight: 800; }
.insight-score-track, .comparison-track { overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.075); }
.insight-score-track { height: 7px; margin-top: 18px; }
.insight-score-track span, .comparison-track span { display: block; width: 0; height: 100%; border-radius: inherit; }
.insight-score-track span { background: linear-gradient(90deg, #48d991, #72efb6); }
.insight-green-panel { background: linear-gradient(180deg, rgba(9, 23, 21, 0.98), rgba(6, 14, 17, 0.98)); }
.insight-meaning-head { display: flex; align-items: center; gap: 12px; }
.insight-check-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #b5ffda; background: rgba(74, 222, 146, 0.11); border: 1px solid rgba(74, 222, 146, 0.21); font-weight: 900; }
.insight-meaning-head h5 { margin: 4px 0 0; font-size: 1.05rem; }
.insight-meaning-copy { margin: 18px 0; color: #b9c6d3; font-size: 0.9rem; line-height: 1.55; }
.insight-study-comparison { padding: 15px; border-radius: 15px; background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.055); }
.study-comparison-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.study-comparison-head span { display: block; color: #8494aa; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.07em; }
.study-comparison-head strong { display: block; margin-top: 3px; color: #e6edf7; font-size: 0.8rem; }
.study-comparison-badge { flex: 0 0 auto; padding: 6px 8px; border-radius: 999px; color: #b1f4d2; background: rgba(65, 205, 132, 0.09); border: 1px solid rgba(65, 205, 132, 0.18); font-size: 0.65rem; font-weight: 800; }
.study-comparison-bars { display: grid; gap: 10px; margin-top: 16px; }
.comparison-label { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 5px; color: #99a7b9; font-size: 0.7rem; }
.comparison-label strong { color: #dce4ee; }
.comparison-track { height: 6px; }
.current-prep .comparison-track span { background: linear-gradient(90deg, #4ddf9d, #70efc0); }
.usual-prep .comparison-track span { background: #617083; }

/* Study streak */
.study-v6-demo { grid-template-columns: 1fr; }
.study-v6-card { padding: 20px; }
.study-streak-wide { display: grid; grid-template-columns: minmax(170px, 0.62fr) minmax(0, 1.38fr); gap: 20px; align-items: stretch; }
.study-streak-summary { display: flex; flex-direction: column; justify-content: center; padding: 8px 8px 8px 4px; }
.study-streak-title { display: flex; align-items: center; gap: 9px; color: #ffbf6f; font-weight: 800; }
.flame-icon { width: 28px; height: 28px; overflow: visible; filter: drop-shadow(0 0 12px rgba(255, 126, 28, 0.3)); }
.study-streak-number { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 4px; }
.study-streak-number strong { font-size: 3.2rem; line-height: 0.9; }
.study-streak-number span { color: #a7b2c2; font-weight: 700; }
.study-streak-summary p { margin: 8px 0 0; color: #8998ab; font-size: 0.85rem; }
.study-week-panel { padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.055); }
.study-week-heading { display: flex; justify-content: space-between; gap: 12px; color: #94a3b6; font-size: 0.75rem; }
.study-week-heading strong { color: #e6edf8; }
.study-week-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 9px; margin-top: 18px; }
.week-day { display: grid; gap: 7px; justify-items: center; }
.week-day label { color: #7f8ea2; font-size: 0.68rem; }
.week-day > span { position: relative; display: grid; width: 34px; height: 34px; place-items: center; overflow: hidden; border-radius: 11px; background: rgba(255, 255, 255, 0.055); }
.week-fill { position: absolute; inset: auto 0 0; height: 0; background: linear-gradient(180deg, #ffb04d, #ff6b20); }
.week-tick { position: relative; z-index: 2; color: #fff8e9; font-size: 0.75rem; opacity: 0; transform: scale(0.7); }
.study-week-progress { height: 7px; margin-top: 18px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.07); }
.study-week-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff9f32, #ff5f20); }

/* Focus restriction animation */
.focus-v7-demo { grid-template-columns: 1fr; }
.focus-forcefield-card { min-height: 300px; padding: 16px; overflow: hidden; }
.focus-forcefield-stage { position: relative; min-height: 268px; display: grid; place-items: center; }
.forcefield-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(94, 160, 255, 0.12); opacity: 0; transform: scale(0.65); }
.forcefield-ring-outer { width: 260px; height: 260px; }
.forcefield-ring-inner { width: 190px; height: 190px; border-color: rgba(106, 224, 230, 0.16); }
.focus-lock-core { position: relative; z-index: 3; width: 140px; height: 156px; display: grid; place-items: center; }
.focus-lock-aura { position: absolute; inset: 15px; border-radius: 50%; background: radial-gradient(circle, rgba(91, 137, 255, 0.25), transparent 68%); opacity: 0; transform: scale(0.6); }
.focus-lock-svg-v7 { position: relative; z-index: 2; width: 116px; height: 132px; overflow: visible; }
.lock-shackle-v7 { fill: none; stroke: #92b4ff; stroke-width: 13; stroke-linecap: round; transform-box: view-box; transform-origin: 43px 78px; transform: rotate(-24deg) translateY(-8px); }
.lock-body-v7 { fill: #314c86; stroke: rgba(190, 215, 255, 0.7); stroke-width: 2; }
.lock-keyhole-v7, .lock-key-stem-v7 { fill: #dce8ff; }
.focus-satellite { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; min-width: 120px; padding: 11px 13px; opacity: 0; border-radius: 14px; background: rgba(8, 15, 29, 0.92); border: 1px solid rgba(127, 164, 255, 0.16); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24); }
.focus-apps-satellite { left: 7%; top: 24%; transform: translateX(-20px); }
.focus-sites-satellite { right: 7%; bottom: 22%; transform: translateX(20px); }
.satellite-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: rgba(109, 145, 255, 0.1); }
.satellite-icon svg { width: 18px; height: 18px; fill: none; stroke: #9eb8ff; stroke-width: 1.7; }
.focus-satellite strong { display: block; font-size: 0.78rem; }
.focus-satellite small { display: block; margin-top: 1px; color: #7fd7b1; font-size: 0.66rem; }

/* Widgets */
.widgets-v7-demo { grid-template-columns: 1fr; }
.widget-preview-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.65fr); gap: 16px; }
.home-widget-preview { min-height: 214px; padding: 19px; opacity: 0; transform: translateY(18px) scale(0.97); }
.weekly-goal-widget { background: linear-gradient(180deg, rgba(19, 38, 71, 0.98), rgba(8, 17, 32, 0.98)); }
.widget-preview-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.widget-preview-header strong { font-size: 0.92rem; }
.widget-preview-header span { color: #7fd9df; font-size: 0.7rem; }
.weekly-goal-main { display: flex; justify-content: space-between; align-items: end; gap: 14px; margin-top: 36px; }
.weekly-goal-copy strong { display: block; font-size: 2rem; line-height: 1; }
.weekly-goal-copy span { display: block; margin-top: 6px; color: #8d9db1; font-size: 0.75rem; }
.weekly-goal-percent { font-size: 1.8rem; font-weight: 820; }
.weekly-goal-track { height: 9px; margin-top: 22px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.08); }
.weekly-goal-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #56dce8, #7184ff); }
.weekly-goal-scale { display: flex; justify-content: space-between; margin-top: 8px; color: #67758a; font-size: 0.62rem; }
.subject-average-widget { display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(180deg, rgba(24, 29, 57, 0.98), rgba(9, 13, 27, 0.98)); }
.subject-widget-title { font-size: 0.88rem; font-weight: 800; }
.subject-widget-ring-wrap { position: relative; display: grid; width: 132px; height: 132px; margin: 12px auto 0; place-items: center; }
.subject-widget-ring { width: 132px; height: 132px; transform: rotate(-90deg); }
.subject-ring-track, .subject-ring-progress, .subject-ring-comparison { fill: none; stroke-width: 9; }
.subject-ring-track { stroke: rgba(255, 255, 255, 0.08); }
.subject-ring-progress { stroke: url(#subjectRingGradient); stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; }
.subject-ring-comparison { stroke: rgba(255, 255, 255, 0.65); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; }
.subject-widget-ring-wrap strong { position: absolute; font-size: 1.65rem; }

/* Sync */
.sync-v9-demo { grid-template-columns: 1fr; }
.sync-icon-card { min-height: 286px; padding: 20px; display: grid; grid-template-columns: 1fr 260px 1fr; align-items: center; gap: 16px; }
.sync-icon-node { display: grid; justify-items: center; gap: 10px; opacity: 0; transform: translateY(12px); }
.sync-device-icon { display: grid; place-items: center; width: 104px; height: 104px; border-radius: 24px; background: rgba(93, 143, 229, 0.08); border: 1px solid rgba(124, 176, 255, 0.14); }
.sync-device-icon svg { fill: none; stroke: #90b8ff; stroke-width: 4; }
.mac-icon svg { width: 74px; }
.phone-icon svg { width: 46px; }
.sync-icon-node strong { color: #dce8f8; font-size: 0.82rem; }
.sync-loop-stage { position: relative; width: 260px; height: 210px; display: grid; place-items: center; }
.sync-loop-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sync-loop-arrow { fill: none; stroke: url(#syncArrowGradient); stroke-width: 6; stroke-linecap: butt; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sync-loop-arrow-tip { fill: #80afff; opacity: 0; }
.sync-cloud-icon { position: relative; z-index: 2; display: grid; width: 110px; height: 84px; place-items: center; }
.sync-cloud-icon svg { width: 94px; fill: rgba(95, 143, 236, 0.22); stroke: #90b7ff; stroke-width: 2; }
.sync-cloud-icon span { position: absolute; display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; color: #dffcff; background: #437fca; font-size: 0.75rem; font-weight: 900; box-shadow: 0 0 20px rgba(91, 151, 245, 0.45); }
.sync-simple-status { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 2px; color: #91a0b4; font-size: 0.78rem; }
.sync-simple-status span { width: 8px; height: 8px; border-radius: 50%; background: #52d99a; box-shadow: 0 0 12px rgba(82, 217, 154, 0.55); }

/* CTA and pricing */
.pre-pricing-cta-section { padding-top: 54px; padding-bottom: 54px; }
.launch-cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 26px 28px; border: 1px solid rgba(103, 220, 226, 0.15); border-radius: 24px; background: radial-gradient(circle at 88% 20%, rgba(103, 220, 226, 0.1), transparent 28%), linear-gradient(180deg, rgba(12, 22, 39, 0.94), rgba(7, 13, 25, 0.96)); }
.launch-cta-mark { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 16px; background: rgba(255, 255, 255, 0.045); }
.launch-cta-mark img { width: 31px; height: 31px; object-fit: contain; }
.launch-cta-copy h2 { margin: 0 0 6px; font-size: clamp(1.3rem, 2.5vw, 2rem); }
.launch-cta-copy p { margin: 0; color: var(--muted); }
.launch-cta-button { color: #061117; background: var(--accent); }
.pricing-v3 { padding: 82px 0 96px; }
.pricing-v3 .pricing-intro { max-width: 920px; margin: 0 auto; padding: 0 0 34px; }
.pricing-v3 .pricing-heading { margin: 0 auto 16px; }
.pricing-subtitle { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 1.08rem; line-height: 1.55; }
.pricing-v3-shell { max-width: 1120px; margin: 0 auto; }
.pricing-v3-cards { display: grid; grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr); gap: 18px; align-items: stretch; }
.pricing-v3-card { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; padding: 31px 32px 29px; border: 1px solid rgba(255, 255, 255, 0.075); border-radius: 25px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.046), rgba(255, 255, 255, 0.024)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025); }
.pricing-v3-card::after { content: ""; position: absolute; right: -100px; bottom: -145px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.065), transparent 68%); pointer-events: none; }
.pricing-v3-premium { border-color: rgba(103, 220, 226, 0.2); background: radial-gradient(circle at 91% 8%, rgba(103, 220, 226, 0.13), transparent 33%), linear-gradient(180deg, rgba(14, 28, 44, 0.93), rgba(6, 13, 25, 0.96)); }
.pricing-v3-card-head { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.pricing-v3-label { display: block; margin-bottom: 7px; color: #7e90a7; font-size: 0.68rem; font-weight: 850; letter-spacing: 0.09em; text-transform: uppercase; }
.pricing-v3-premium .pricing-v3-label { color: #9ceef2; }
.pricing-v3-card h3 { margin: 0; font-size: 1.45rem; }
.pricing-v3-price { text-align: right; }
.pricing-v3-price strong { display: block; font-size: 2.65rem; line-height: 0.9; letter-spacing: -0.04em; }
.pricing-v3-price span { display: block; margin-top: 7px; color: #8d9caf; font-size: 0.7rem; }
.pricing-v3-description { position: relative; z-index: 1; margin: 24px 0 0; color: #a4b0c1; font-size: 0.9rem; line-height: 1.55; }
.pricing-v3-list { position: relative; z-index: 1; display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.pricing-v3-list li { position: relative; padding-left: 23px; color: #d3dce8; font-size: 0.86rem; }
.pricing-v3-list li::before { content: "✓"; position: absolute; left: 0; color: #76dfe5; font-weight: 900; }
.pricing-v3-premium-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 25px; }
.pricing-v3-premium-grid > div { position: relative; min-width: 0; padding: 18px 17px 17px 52px; border: 1px solid rgba(103, 220, 226, 0.105); border-radius: 17px; background: rgba(3, 11, 24, 0.25); }
.pricing-v3-icon { position: absolute; top: 17px; left: 16px; display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid rgba(103, 220, 226, 0.18); border-radius: 9px; background: rgba(103, 220, 226, 0.09); color: #9bf3f6; font-size: 0.78rem; font-weight: 850; }
.pricing-v3-premium-grid strong { display: block; color: #eaf2fb; font-size: 0.88rem; line-height: 1.25; }
.pricing-v3-premium-grid p { margin: 6px 0 0; color: #91a0b6; font-size: 0.76rem; line-height: 1.42; }

/* Waitlist and shared forms */
.page-hero { min-height: calc(100svh - var(--header-h)); padding: 86px 0; display: flex; align-items: center; }
.glass-card { padding: 34px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 26px; background: linear-gradient(180deg, rgba(14, 23, 39, 0.9), rgba(7, 13, 24, 0.94)); box-shadow: var(--shadow); }
.form-stack { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { color: #c8d3e3; font-size: 0.8rem; font-weight: 750; }
.field input {
  width: 100%;
  min-height: 54px;
  padding: 0 15px;
  color: #eef4fb;
  caret-color: var(--accent);
  background: rgba(6, 14, 26, 0.94);
  border: 1px solid rgba(126, 153, 187, 0.2);
  border-radius: 13px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.field input::placeholder { color: #64748a; }
.field input:hover { background: rgba(8, 18, 32, 0.98); border-color: rgba(126, 186, 208, 0.26); }
.field input:focus { background: #081423; border-color: rgba(103, 220, 226, 0.72); box-shadow: 0 0 0 4px rgba(103, 220, 226, 0.09); }
.form-note { margin: -2px 0 0; color: #8290a4; font-size: 0.76rem; line-height: 1.45; }
.waitlist-status { min-height: 1.2em; margin: -6px 0 0; font-size: 0.8rem; }
.waitlist-status.success { color: #78e2ae; }
.waitlist-status.error { color: #ff8f9e; }
.waitlist-phone-wrap { display: grid; place-items: center; }
.waitlist-phone { max-height: 560px; margin: 0 auto; filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.35)); }

.site-footer { padding: 30px 0 36px; border-top: 1px solid rgba(255, 255, 255, 0.055); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.footer-copy { color: #7e8ba0; font-size: 0.78rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; color: #a4b0c1; font-size: 0.78rem; }
.footer-links a:hover { color: #fff; }

/* Viewport-triggered reveal states. Nothing lower on the page animates until it enters view. */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.62s ease, transform 0.62s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.full-picture-row.visible .simple-line { animation: drawChartLine 1.05s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.full-picture-row.visible .line-chem { animation-delay: 0.12s; }
.full-picture-row.visible .line-eng { animation-delay: 0.24s; }
.full-picture-row.visible .simple-dots { animation: fadeDots 0.35s ease 0.86s forwards; }
.full-picture-row.visible .reveal-card { opacity: 1; transform: translateX(0); transition: opacity 0.55s ease 0.3s, transform 0.55s ease 0.3s; }
.insight-v6-row.visible .insight-score-track span { width: 94%; transition: width 0.9s ease 0.22s; }
.insight-v6-row.visible .current-prep .comparison-track span { width: 92%; transition: width 0.85s ease 0.4s; }
.insight-v6-row.visible .usual-prep .comparison-track span { width: 57%; transition: width 0.85s ease 0.52s; }
.study-v6-row.visible .week-fill { height: 100%; transition: height 0.48s cubic-bezier(0.2, 0.8, 0.2, 1); }
.study-v6-row.visible .week-day:nth-child(2) .week-fill { transition-delay: 0.06s; }
.study-v6-row.visible .week-day:nth-child(3) .week-fill { transition-delay: 0.12s; }
.study-v6-row.visible .week-day:nth-child(4) .week-fill { transition-delay: 0.18s; }
.study-v6-row.visible .week-day:nth-child(5) .week-fill { transition-delay: 0.24s; }
.study-v6-row.visible .week-day:nth-child(6) .week-fill { transition-delay: 0.30s; }
.study-v6-row.visible .week-day:nth-child(7) .week-fill { transition-delay: 0.36s; }
.study-v6-row.visible .week-tick { opacity: 1; transform: scale(1); transition: opacity 0.2s ease 0.4s, transform 0.2s ease 0.4s; }
.study-v6-row.visible .study-week-progress span { width: 100%; transition: width 0.9s ease 0.28s; }
.focus-v7-row.visible .forcefield-ring { opacity: 1; transform: scale(1); transition: opacity 0.42s ease 0.32s, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.32s; }
.focus-v7-row.visible .forcefield-ring-inner { transition-delay: 0.42s; }
.focus-v7-row.visible .focus-lock-aura { opacity: 1; transform: scale(1); transition: opacity 0.45s ease 0.3s, transform 0.7s ease 0.3s; }
.focus-v7-row.visible .lock-shackle-v7 { transform: rotate(0deg) translateY(0); transition: transform 0.7s cubic-bezier(0.2, 0.85, 0.25, 1) 0.12s; }
.focus-v7-row.visible .focus-satellite { opacity: 1; transform: translateX(0); transition: opacity 0.42s ease 0.58s, transform 0.52s ease 0.58s; }
.widgets-v7-row.visible .home-widget-preview { opacity: 1; transform: translateY(0) scale(1); transition: opacity 0.5s ease 0.12s, transform 0.6s ease 0.12s; }
.widgets-v7-row.visible .subject-average-widget { transition-delay: 0.24s; }
.widgets-v7-row.visible .weekly-goal-track span { width: 73%; transition: width 0.9s ease 0.42s; }
.widgets-v7-row.visible .subject-ring-progress { stroke-dashoffset: 46.2; transition: stroke-dashoffset 1.1s ease 0.36s; }
.widgets-v7-row.visible .subject-ring-comparison { stroke-dashoffset: 80.9; transition: stroke-dashoffset 1.1s ease 0.52s; }
.sync-v9-row.visible .sync-icon-node { opacity: 1; transform: translateY(0); transition: opacity 0.5s ease 0.12s, transform 0.55s ease 0.12s; }
.sync-v9-row.visible .sync-phone-node { transition-delay: 0.24s; }
.sync-v9-row.visible .sync-loop-arrow-top { animation: syncArrowDraw 0.9s cubic-bezier(0.2, 0.75, 0.25, 1) 0.45s forwards; }
.sync-v9-row.visible .sync-loop-arrow-bottom { animation: syncArrowDraw 0.9s cubic-bezier(0.2, 0.75, 0.25, 1) 0.62s forwards; }
.sync-v9-row.visible .sync-loop-arrow-tip-top { animation: syncArrowheadReveal 0.16s ease-out 1.24s forwards; }
.sync-v9-row.visible .sync-loop-arrow-tip-bottom { animation: syncArrowheadReveal 0.16s ease-out 1.41s forwards; }
@keyframes drawChartLine { to { stroke-dashoffset: 0; } }
@keyframes fadeDots { to { opacity: 1; } }
@keyframes syncArrowDraw { to { stroke-dashoffset: 0; } }
@keyframes syncArrowheadReveal { to { opacity: 1; } }

@media (max-width: 1024px) {
  :root { --header-h: 78px; }
  .mobile-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(4, 8, 18, 0.98);
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 13px; border-radius: 11px; }
  .nav a:hover, .nav a.active { background: rgba(255, 255, 255, 0.055); }
  .hero { min-height: auto; padding: 74px 0 82px; }
  .hero-grid, .waitlist-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-copy { max-width: 720px; }
  .device-stage { min-height: 470px; }
  .device-composition { transform: translateY(-10px); }
  .device-stage .laptop-img { width: 82%; right: 5%; }
  .device-stage .phone-angle { width: 28%; left: 8%; }
  .showcase-row { grid-template-columns: 1fr; }
  .showcase-meta { min-height: 130px; }
  .pricing-v3-cards { grid-template-columns: 1fr; }
  .waitlist-phone { max-height: 490px; }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .container { width: min(var(--container), calc(100% - 28px)); }
  .site-header { height: var(--header-h); }
  .logo { gap: 9px; font-size: 1.28rem; }
  .logo img { width: 30px; height: 30px; }
  .mobile-toggle { width: 44px; height: 40px; }
  .nav { top: calc(100% + 8px); }
  .hero {
    min-height: auto;
    padding: 56px 0 62px;
  }
  .hero-grid { gap: 30px; }
  .hero-copy { padding: 0; }
  .hero h1, .page-hero h1 { margin-bottom: 21px; font-size: clamp(3rem, 16vw, 4.4rem); }
  .lead { margin-bottom: 30px; font-size: 1.04rem; }
  .button-row { flex-direction: column; }
  .btn { width: 100%; min-height: 55px; }
  .device-stage {
    min-height: 270px;
    margin-top: 6px;
    overflow: visible;
  }
  .device-composition {
    inset: 0 -10px;
    transform: none;
  }
  .device-stage .laptop-img {
    top: 48%;
    right: -2%;
    width: 96%;
  }
  .device-stage .phone-angle {
    top: 51%;
    left: -1%;
    width: 34%;
  }
  .section { padding: 54px 0; }
  .feature-showcase-section { padding-top: 42px; }
  .section-intro { margin-bottom: 20px; padding-bottom: 12px; }
  .section-heading { font-size: clamp(2.25rem, 11vw, 3.35rem); }
  .section-subtitle { font-size: 1.05rem; }
  .showcase-meta { min-height: auto; padding: 20px; }
  .showcase-demo { padding: 12px; }
  .simple-graph-demo, .insight-v6-demo, .widget-preview-layout { grid-template-columns: 1fr; }
  .simple-chart-wrap { min-height: 230px; }
  .simple-chart-svg { right: 38px; width: calc(100% - 72px); }
  .stat-card { min-height: 145px; }
  .study-streak-wide { grid-template-columns: 1fr; }
  .study-streak-summary { padding: 2px 4px 8px; }
  .study-week-panel { padding: 14px 11px; }
  .study-week-days { gap: 5px; }
  .week-day > span { width: 31px; height: 31px; border-radius: 9px; }
  .focus-forcefield-card { min-height: 310px; }
  .focus-forcefield-stage { min-height: 278px; }
  .forcefield-ring-outer { width: 230px; height: 230px; }
  .forcefield-ring-inner { width: 166px; height: 166px; }
  .focus-apps-satellite { top: 8%; left: 4%; }
  .focus-sites-satellite { right: 4%; bottom: 7%; }
  .focus-satellite { min-width: 106px; padding: 9px 10px; }
  .sync-icon-card { grid-template-columns: 1fr 150px 1fr; gap: 4px; min-height: 240px; padding: 14px 8px; }
  .sync-loop-stage { width: 150px; height: 150px; }
  .sync-loop-svg { transform: scale(0.7); transform-origin: center; }
  .sync-cloud-icon { transform: scale(0.76); }
  .sync-device-icon { width: 66px; height: 66px; border-radius: 18px; }
  .mac-icon svg { width: 47px; }
  .phone-icon svg { width: 31px; }
  .sync-simple-status { padding: 0 10px; text-align: center; }
  .launch-cta { grid-template-columns: auto 1fr; padding: 22px; }
  .launch-cta-button { grid-column: 1 / -1; }
  .pricing-v3 { padding: 62px 0 72px; }
  .pricing-v3-card { padding: 25px 21px 23px; }
  .pricing-v3-card-head { align-items: flex-start; }
  .pricing-v3-price strong { font-size: 2.2rem; }
  .pricing-v3-premium-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: auto; padding: 54px 0 70px; }
  .glass-card { padding: 24px 20px; }
  .waitlist-grid { gap: 28px; }
  .waitlist-phone { max-height: 420px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 24px); }
  .hero { padding-top: 48px; }
  .device-stage { min-height: 236px; }
  .device-stage .laptop-img { width: 100%; }
  .device-stage .phone-angle { width: 36%; }
  .simple-chart-axis { display: none; }
  .simple-chart-svg { right: 16px; width: calc(100% - 50px); }
  .simple-chart-grid span { right: 16px; }
  .simple-chart-months { right: 18px; }
  .study-week-heading { flex-direction: column; gap: 4px; }
  .study-week-days { gap: 3px; }
  .week-day > span { width: 29px; height: 29px; }
  .focus-satellite { min-width: 98px; }
  .satellite-icon { width: 28px; height: 28px; }
  .sync-icon-card { grid-template-columns: 1fr 118px 1fr; }
  .sync-loop-stage { width: 118px; }
  .sync-device-icon { width: 58px; height: 58px; }
  .launch-cta-mark { width: 46px; height: 46px; }
}

/* Phone-only device removal. All visible iPad and desktop positioning above is the unchanged v35 layout. */
@media (max-width: 600px) {
  .hero-device-stage,
  .waitlist-phone-wrap {
    display: none !important;
  }

  .hero-grid,
  .waitlist-grid {
    gap: 0;
  }
}

/* Hide the same previews on landscape iPhones without affecting iPad landscape. */
@media (max-height: 500px) and (hover: none) and (pointer: coarse) {
  .hero-device-stage,
  .waitlist-phone-wrap {
    display: none !important;
  }

  .hero-grid,
  .waitlist-grid {
    gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal.visible, .reveal-card, .home-widget-preview, .sync-icon-node, .focus-satellite { opacity: 1 !important; transform: none !important; }
  .simple-line, .sync-loop-arrow { stroke-dashoffset: 0 !important; }
  .simple-dots, .sync-loop-arrow-tip { opacity: 1 !important; }
}
