/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080808;
  --surface: #111111;
  --border: #1e1e1e;
  --text: #f0f0f0;
  --muted: #555;
  --accent: #e8ff47;
  --radius: 12px;
  --max: 760px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* TYPOGRAPHY */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
p  { color: #999; }

.label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

/* LAYOUT */
section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 24px;
}

/* NAV & BRANDING */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.85; }

.logo-icon {
  height: 28px;
  width: auto;
  display: block;
}

.logo-text {
  height: 20px;
  width: auto;
  display: block;
}

.nav-cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 6px;
  transition: border-color 0.2s, color 0.2s;
}
.nav-cta:hover { border-color: var(--accent); color: var(--accent); }

/* HERO */
.hero {
  padding-top: 140px;
  padding-bottom: 100px;
  text-align: center;
}

.hero .sub {
  max-width: 480px;
  margin: 20px auto 40px;
  font-size: 1.05rem;
  color: #777;
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  letter-spacing: -0.01em;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  padding: 10px 20px;
  border-radius: 6px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  margin-top: 32px;
}
.btn-secondary:hover { color: var(--text); border-color: #444; }

/* DRILL SECTION */
.drill-section { text-align: center; }

.drill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: left;
  margin-top: 8px;
  min-height: 320px;
  position: relative;
}

.drill-context {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
}

.drill-prompt {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.drill-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option {
  background: transparent;
  border: 1px solid var(--border);
  color: #ccc;
  padding: 14px 18px;
  border-radius: 8px;
  text-align: left;
  font-size: 0.95rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.option:hover { border-color: #444; color: var(--text); background: #161616; }
.option.selected { border-color: var(--accent); color: var(--accent); background: rgba(232,255,71,0.05); }

/* RESULT */
.result-pattern {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.result-text {
  font-size: 1rem;
  color: #bbb;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}

.result-bar-block .label { margin-bottom: 14px; }

.bars { display: flex; flex-direction: column; gap: 10px; }

.bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
}

.bar-label { color: #777; width: 200px; flex-shrink: 0; }

.bar-track {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  width: 0%;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-pct { color: var(--muted); width: 32px; text-align: right; font-size: 0.78rem; }

/* HOW IT WORKS */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
  margin-top: 8px;
}

.step-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 12px;
}

.step h3 { color: var(--text); }
.step p  { font-size: 0.88rem; color: #666; }

/* PATTERNS */
.patterns { text-align: center; }

.pattern-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
}

.pattern-tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #666;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 100px;
  transition: color 0.2s, border-color 0.2s;
}
.pattern-tag:hover { color: #aaa; border-color: #333; }
.pattern-tag.highlight { color: var(--accent); border-color: rgba(232,255,71,0.3); }

/* WAITLIST */
.waitlist { text-align: center; }

.waitlist h2 { margin-bottom: 40px; }

.waitlist-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.waitlist-form input {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.95rem;
  width: 280px;
  outline: none;
  transition: border-color 0.2s;
}
.waitlist-form input:focus { border-color: #444; }
.waitlist-form input::placeholder { color: var(--muted); }

.waitlist-thanks {
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--accent) !important;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 40px;
  text-align: center;
}
footer .logo {
  justify-content: center;
  margin-bottom: 12px;
}
footer .logo-icon { height: 22px; }
footer .logo-text { height: 16px; }
footer p { font-size: 0.8rem; color: var(--muted); }

/* UTILS */
.hidden { display: none !important; }
