/* ===================================================================
   AI Income Lab — Main Stylesheet
   Theme: Dark editorial. Charcoal + amber. No hype, no pastels.
   Fonts: Instrument Serif (display) + Syne (UI/body)
=================================================================== */

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

:root {
  --bg:          #111110;
  --bg-surface:  #1a1918;
  --bg-raised:   #222120;
  --accent:      #e8a320;
  --accent-dim:  rgba(232, 163, 32, 0.15);
  --text:        #f0ece4;
  --text-muted:  #8a8580;
  --text-dim:    #5a5650;
  --border:      rgba(240, 236, 228, 0.08);
  --border-med:  rgba(240, 236, 228, 0.14);
  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   16px;
  --max-w:       1120px;
  --transition:  0.22s ease;
}

html { scroll-behavior: smooth; }

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

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

/* ─── TYPOGRAPHY HELPERS ─────────────────────────────────────────── */

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-headline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 48px;
}

/* ─── NAV ────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 17, 16, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.brand-lab {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand-tag {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.nav-cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--bg);
  background: var(--accent);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity var(--transition);
}

.nav-cta:hover { opacity: 0.85; }

/* ─── HERO ───────────────────────────────────────────────────────── */

.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

/* Subtle noise texture via SVG filter */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232, 163, 32, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(232, 163, 32, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.pill-dim {
  border-color: var(--border-med);
  color: var(--text-muted);
}

.hero-headline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 28px;
  max-width: 900px;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-cta-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.btn-primary {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--bg);
  background: var(--accent);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 24px rgba(232, 163, 32, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 163, 32, 0.4);
}

.hero-cta-meta {
  font-size: 13px;
  color: var(--text-dim);
}

/* ─── TICKER ─────────────────────────────────────────────────────── */

.hero-ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
  background: var(--bg-surface);
}

.ticker-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.ticker-track span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.ticker-dot {
  color: var(--accent) !important;
  font-size: 8px !important;
  align-self: center;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── WHAT SECTION ───────────────────────────────────────────────── */

.what-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

.what-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.what-card {
  background: var(--bg-surface);
  padding: 40px 36px;
  transition: background var(--transition);
}

.what-card:hover { background: var(--bg-raised); }

.what-number {
  font-family: 'Instrument Serif', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 20px;
}

.what-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.what-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── FOR WHO ────────────────────────────────────────────────────── */

.forwho-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

.forwho-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}

.forwho-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.forwho-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

.check {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 3px;
}

.forwho-callout {
  position: sticky;
  top: 80px;
}

.callout-inner {
  background: var(--bg-surface);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

/* Amber glow behind callout */
.callout-inner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(232, 163, 32, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.callout-stat {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 56px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}

.callout-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.callout-divider {
  width: 40px;
  height: 1px;
  background: var(--border-med);
  margin: 28px 0;
}

/* ─── SUBSCRIBE ──────────────────────────────────────────────────── */

.subscribe-section {
  padding: 100px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.subscribe-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.subscribe-headline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}

.subscribe-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

.subscribe-form-wrap {
  background: var(--bg);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-raised);
  border: 1px solid var(--border-med);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input::placeholder { color: var(--text-dim); }

.form-group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 163, 32, 0.12);
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(232, 163, 32, 0.25);
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(232, 163, 32, 0.35);
}

.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.form-note {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.5;
}

/* Success state */
.subscribe-success {
  text-align: center;
  padding: 20px;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.subscribe-success h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
}

.subscribe-success p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── SOCIAL PROOF ───────────────────────────────────────────────── */

.proof-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.proof-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color var(--transition);
}

.proof-card:hover { border-color: var(--border-med); }

.proof-quote {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 17px;
  font-style: italic;
  color: var(--text);
  line-height: 1.65;
  flex: 1;
}

.proof-attr {
  display: flex;
  align-items: center;
  gap: 12px;
}

.proof-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(232, 163, 32, 0.3);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.proof-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.proof-role {
  font-size: 12px;
  color: var(--text-muted);
}

.proof-disclaimer {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
}

/* ─── FOOTER ─────────────────────────────────────────────────────── */

.footer {
  padding: 48px 0;
  background: var(--bg);
}

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

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--text);
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
}

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

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--accent); }

.footer-legal {
  font-size: 12px;
  color: var(--text-dim);
  width: 100%;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .what-grid {
    grid-template-columns: 1fr;
  }

  .forwho-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .forwho-callout { position: static; }

  .subscribe-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero { padding-top: 60px; }
  .hero-headline { letter-spacing: -0.01em; }
  .hero-cta-wrap { flex-direction: column; align-items: flex-start; }
  .what-section, .forwho-section, .subscribe-section, .proof-section { padding: 64px 0; }
  .subscribe-form-wrap { padding: 28px 20px; }
  .callout-inner { padding: 28px 24px; }
  .what-card { padding: 28px 24px; }
}
