/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #0d0f14;
  --bg2:          #13161e;
  --bg3:          #1a1e2a;
  --card:         #1f2433;
  --border:       #2a2f3f;
  --text:         #e8eaf0;
  --text-muted:   #8890a8;
  --green:        #22d47a;
  --green-bg:     rgba(34,212,122,0.10);
  --red:          #f04d4d;
  --accent:       #4f8ef7;
  --glass-bg:     rgba(31,36,51,0.55);
  --glass-border: rgba(255,255,255,0.07);
  --glow-green:   rgba(34,212,122,0.14);
  --glow-blue:    rgba(79,142,247,0.12);
  --font:         'Outfit', system-ui, sans-serif;
  --mono:         'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Layout ── */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px;  margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  background: var(--green);
  color: #0d0f14;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-sm   { padding: 8px 18px; font-size: 14px; }
.btn-lg   { padding: 14px 36px; font-size: 16px; }

/* ── Nav ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,15,20,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

/* ── Orbs ── */
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(40px, -30px) scale(1.08); }
  66%       { transform: translate(-25px, 20px) scale(0.95); }
}
@keyframes orb-drift-alt {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(-35px, 25px) scale(1.05); }
  70%       { transform: translate(20px, -18px) scale(0.97); }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  will-change: transform;
  z-index: 0;
}
.orb--green {
  background: radial-gradient(circle, rgba(34,212,122,0.30) 0%, transparent 70%);
  animation: orb-drift 14s ease-in-out infinite;
}
.orb--blue {
  background: radial-gradient(circle, rgba(79,142,247,0.22) 0%, transparent 70%);
  animation: orb-drift-alt 17s ease-in-out infinite;
}
.orb--purple {
  background: radial-gradient(circle, rgba(130,100,240,0.18) 0%, transparent 70%);
  animation: orb-drift 20s ease-in-out infinite;
  animation-delay: -7s;
}

/* ── Hero ── */
.hero {
  padding: 120px 0 100px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 65% 0%, rgba(34,212,122,0.07) 0%, transparent 60%),
    radial-gradient(circle, rgba(255,255,255,0.016) 1px, transparent 1px);
  background-size: auto, 32px 32px;
}
.hero > .container { position: relative; z-index: 1; }
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 24px;
}
.hero-headline {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-sub-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}
.hero-accent {
  color: var(--green);
  font-weight: 600;
}

/* ── Sections ── */
.section { padding: 90px 0; border-bottom: 1px solid var(--border); }
.section-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 32px;
}
.section-heading {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 48px;
}

/* ── Problem Grid ── */
.section-problem { background: var(--bg2); }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}
.problem-card {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.problem-card:hover {
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}
.problem-icon { display: block; margin-bottom: 16px; }
.problem-card p { color: var(--text-muted); font-size: 15px; line-height: 1.65; }

/* ── Score Grid ── */
.section-concept {
  background: var(--bg3);
  position: relative;
  overflow: hidden;
}
.section-concept > .container { position: relative; z-index: 1; }
.score-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.score-card {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 36px 28px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.score-card:hover {
  border-color: rgba(34,212,122,0.22);
  box-shadow: 0 12px 48px rgba(0,0,0,0.35), 0 0 32px rgba(34,212,122,0.07);
}
.score-weight {
  font-family: var(--mono);
  font-size: 64px;
  font-weight: 600;
  color: var(--green);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 12px;
}
.score-name {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
}
.score-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Steps ── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  padding-top: 3px;
}
.step-content h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}
.step-content p { font-size: 15px; color: var(--text-muted); line-height: 1.65; }

/* ── Founder Quote ── */
.section-founder { background: var(--bg2); }
.founder-quote {
  border-left: 3px solid var(--green);
  padding: 8px 0 8px 32px;
}
.founder-quote p {
  font-size: 20px;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  margin-bottom: 20px;
}
.founder-attribution {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-muted);
}
.founder-link {
  color: var(--green);
  transition: opacity 0.15s;
}
.founder-link:hover { opacity: 0.75; }

/* ── Waitlist ── */
.section-waitlist {
  text-align: center;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
.section-waitlist > .container { position: relative; z-index: 1; }
.section-waitlist .section-heading { margin-bottom: 12px; }
.section-waitlist .section-body { margin-bottom: 36px; }
.waitlist-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.waitlist-input {
  padding: 14px 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 15px;
  font-family: var(--font);
  width: 300px;
  outline: none;
  transition: border-color 0.15s;
}
.waitlist-input:focus { border-color: var(--green); }
.waitlist-note { font-size: 13px; color: var(--text-muted); }

/* ── Footer ── */
.footer {
  padding: 40px 0;
  text-align: center;
}
.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-logo {
  display: block;
  opacity: 0.85;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: var(--text-muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--text-muted); }

/* ── Screenshot Frame ── */
.screenshot-frame {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  position: relative;
}
.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.screenshot-frame--glow {
  box-shadow:
    0 32px 80px rgba(0,0,0,0.55),
    0 0 80px rgba(34,212,122,0.15),
    0 0 1px rgba(34,212,122,0.4) inset;
  border-color: rgba(34,212,122,0.18);
}
.screenshot-frame--centered {
  margin: 0 auto;
  max-width: 960px;
}

/* ── Hero Split ── */
.hero__split {
  display: grid;
  grid-template-columns: 48fr 52fr;
  gap: 64px;
  align-items: center;
  text-align: left;
}
.hero__split .hero-sub {
  margin-left: 0;
  margin-right: 0;
}
.hero__visual {
  position: relative;
}
.hero__visual::before {
  content: '';
  position: absolute;
  inset: -30% -20%;
  background: radial-gradient(ellipse, rgba(34,212,122,0.09) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ── Hero 3D Tilt ── */
.hero__tilt {
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ── Gradient Text ── */
.gradient-text {
  background: linear-gradient(95deg, var(--text) 20%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── How It Works Layout ── */
.how-layout {
  max-width: 640px;
  margin: 0 auto;
}
.section-how { text-align: center; }
.section-how .section-heading { margin-bottom: 48px; }
.section-how .step { text-align: left; }

/* ── Every Month Section ── */
.section-months {
  padding: 90px 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 48px;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.section-months .container { max-width: 100%; padding: 0 40px; }
.months-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.month-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.month-caption {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.5;
}

/* Month card color variants */
.month-card--green .screenshot-frame {
  box-shadow:
    0 24px 56px rgba(0,0,0,0.45),
    0 0 50px rgba(34,212,122,0.13);
  border-color: rgba(34,212,122,0.2);
}
.month-card--red .screenshot-frame {
  box-shadow:
    0 24px 56px rgba(0,0,0,0.45),
    0 0 50px rgba(240,77,77,0.11);
  border-color: rgba(240,77,77,0.16);
}
.month-card--mixed .screenshot-frame {
  box-shadow: 0 24px 56px rgba(0,0,0,0.45);
}

/* ── Feature Showcase Section ── */
.section-features {
  padding: 90px 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.features-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 720px;
  margin: 0 auto;
}

/* ── Full Picture Section ── */
.section-report {
  padding: 90px 0;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.section-report .section-title { margin-bottom: 40px; }
.section-report__caption {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 24px auto 0;
  line-height: 1.75;
}

/* ── Share Callout ── */
.share-callout {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 28px auto 0;
  padding: 10px 22px;
  background: rgba(34,212,122,0.07);
  border: 1px solid rgba(34,212,122,0.18);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.5;
}
.share-callout svg { flex-shrink: 0; color: var(--green); }

/* ── Footer Disclaimer ── */
.footer-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 540px;
  text-align: center;
  opacity: 0.55;
  line-height: 1.65;
}

/* ── Fade-up Scroll Animation ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 400ms ease-out, transform 400ms ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav { padding: 16px 20px; }
  .hero { padding: 72px 0 60px; }
  .problem-grid { grid-template-columns: 1fr; }
  .score-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }

  .hero__split {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero__split .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__tilt {
    transform: none;
  }
  .months-grid { grid-template-columns: 1fr; }
  .section-months,
  .section-features,
  .section-report { padding: 64px 0; }
}

@media (max-width: 480px) {
  .hero-headline { letter-spacing: -0.5px; }
  .waitlist-input { width: 100%; }
  .waitlist-form { flex-direction: column; align-items: stretch; }
  .waitlist-form .btn { width: 100%; text-align: center; }
}
