/* ═══════════════════════════════════════
   GAUGE — Custom Landing Page Theme
   Dark charcoal + amber energy
   Space Grotesk + DM Sans
═══════════════════════════════════════ */

:root {
  --bg: #0D0F14;
  --surface-1: #13151A;
  --surface-2: #1A1D24;
  --surface-3: #22262F;
  --border: #252830;
  --border-light: #2E3239;
  --amber: #F59E0B;
  --amber-dim: #B47808;
  --amber-glow: rgba(245, 158, 11, 0.15);
  --amber-glow-strong: rgba(245, 158, 11, 0.3);
  --green: #22c55e;
  --purple: #a78bfa;
  --text-1: #F0F0EC;
  --text-2: #8A8F9C;
  --text-3: #5A6070;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

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

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-1);
  letter-spacing: -0.02em;
}

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

.nav-tag {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ── Hero ── */
.hero {
  padding: 80px 0 0;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-1);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 460px;
}

.hero-gauge-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  max-width: 340px;
}

.gauge-label-small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.gauge-bar-wrap {
  height: 6px;
  background: var(--surface-3);
  border-radius: 3px;
  overflow: hidden;
}

.gauge-bar-fill {
  width: 78%;
  height: 100%;
  background: linear-gradient(90deg, var(--amber-dim), var(--amber));
  border-radius: 3px;
  box-shadow: 0 0 12px var(--amber-glow);
  animation: bar-grow 1.5s ease-out forwards;
}

@keyframes bar-grow {
  from { width: 0%; }
  to { width: 78%; }
}

.gauge-reading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.reading-high {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--amber);
}

.reading-num {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--amber);
}

/* ── Hero Visual (Gauge + Cards) ── */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.gauge-widget {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px 20px;
  width: 100%;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  box-shadow: 0 0 60px var(--amber-glow), 0 20px 60px rgba(0,0,0,0.4);
}

.gauge-display {
  position: relative;
  width: 200px;
}

.gauge-svg {
  width: 100%;
  overflow: visible;
}

.needle {
  transform-origin: 100px 110px;
  animation: needle-swing 2s ease-out forwards;
}

@keyframes needle-swing {
  from { transform: rotate(-90deg); }
  to { transform: rotate(0deg); }
}

.gauge-readout {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.readout-value {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}

.readout-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 2px;
}

.gauge-ticks {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 200px;
  font-size: 10px;
  color: var(--text-3);
  font-family: var(--font-head);
}

.tick-mid { color: var(--text-2); }

.gauge-zones {
  display: flex;
  gap: 0;
  width: 100%;
}

.zone {
  flex: 1;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 0;
  border-top: 2px solid transparent;
}

.zone-low { color: var(--text-3); border-color: var(--surface-3); }
.zone-mid { color: #6B7280; border-color: #3D3020; }
.zone-high { color: var(--amber); border-color: var(--amber-dim); }

/* ── Mini Cards ── */
.hero-card-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 280px;
}

.mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  animation: card-slide-in 0.6s ease-out backwards;
}

.card-1 { animation-delay: 0.3s; }
.card-2 { animation-delay: 0.45s; }
.card-3 { animation-delay: 0.6s; }

@keyframes card-slide-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.mc-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mc-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mc-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-1);
}

.mc-sub {
  font-size: 11px;
  color: var(--text-3);
}

/* ── Hero Bottom Bar ── */
.hero-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 32px;
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.bottom-tag {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
}

.bottom-divider {
  color: var(--border-light);
  font-size: 16px;
}

/* ── Proof ── */
.proof {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.proof-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.proof-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 36px;
}

.proof-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.proof-item {
  flex: 1;
  text-align: center;
  padding: 0 48px;
}

.proof-stat {
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.03em;
}

.proof-desc {
  font-size: 14px;
  color: var(--text-2);
  margin-top: 8px;
  line-height: 1.5;
}

.proof-sep {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Manifesto ── */
.manifesto {
  padding: 100px 0;
  background: var(--surface-1);
}

.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
}

.manifesto-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.manifesto-headline {
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-1);
  margin-bottom: 32px;
}

.manifesto-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 60px;
}

.manifesto-body p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 680px;
}

.manifesto-visual {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.mv-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 140px;
}

.mv-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.06em;
}

.mv-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  line-height: 1.4;
}

.mv-arrow {
  opacity: 0.5;
  flex-shrink: 0;
}

/* ── Validation Flow ── */
.validation-flow {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

.vf-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.vf-header {
  text-align: center;
  margin-bottom: 60px;
}

.vf-headline {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-1);
  margin-bottom: 16px;
}

.vf-sub {
  font-size: 17px;
  color: var(--text-2);
}

.vf-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.vf-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.vf-card:hover {
  border-color: var(--border-light);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.vf-icon {
  margin-bottom: 20px;
}

.vf-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.vf-card p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── Closing ── */
.closing {
  padding: 100px 0;
  background: var(--surface-1);
}

.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-1);
  max-width: 700px;
}

.closing-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 500px;
  line-height: 1.6;
}

.cv-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cv-gauge-svg {
  width: 180px;
  overflow: visible;
}

.cv-needle {
  transform-origin: 80px 88px;
  animation: cv-swing 1.5s ease-out forwards;
}

@keyframes cv-swing {
  from { transform: rotate(-90deg); }
  to { transform: rotate(20deg); }
}

.cv-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.closing-cta {
  display: inline-block;
  background: var(--amber);
  color: var(--bg);
  text-decoration: none;
  border-radius: 8px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
  margin-top: 16px;
}

.closing-cta:hover {
  background: #d97706;
}

.closing-cta:active {
  transform: scale(0.98);
}

/* ── Waitlist Form ── */
.waitlist-form {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  width: 100%;
  max-width: 420px;
}

.waitlist-input {
  flex: 1;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text-1);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.waitlist-input::placeholder {
  color: var(--text-3);
}

.waitlist-input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-glow);
}

.waitlist-submit {
  background: var(--amber);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}

.waitlist-submit:hover {
  background: #d97706;
}

.waitlist-submit:active {
  transform: scale(0.98);
}

.waitlist-success {
  font-size: 16px;
  font-weight: 600;
  color: var(--green);
  margin-top: 8px;
}

.waitlist-error {
  font-size: 14px;
  color: #ef4444;
  margin-top: 6px;
}

@media (max-width: 480px) {
  .waitlist-form {
    flex-direction: column;
  }

  .waitlist-input,
  .waitlist-submit {
    width: 100%;
  }
}

/* ── Footer ── */
.footer {
  padding: 60px 0 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 48px;
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-1);
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-3);
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}

.footer-link {
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover { color: var(--text-1); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-3);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    order: -1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .gauge-widget { max-width: 220px; }
  .hero-card-stack { max-width: 200px; }

  .proof-items {
    flex-direction: column;
    gap: 32px;
  }

  .proof-sep {
    width: 48px;
    height: 1px;
  }

  .vf-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links { gap: 32px; }

  .hero-bottom-bar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .manifesto-visual {
    flex-direction: column;
    align-items: flex-start;
  }

  .mv-arrow { transform: rotate(90deg); }
}

@media (max-width: 480px) {
  .nav-inner { padding: 14px 20px; }
  .hero-inner { padding: 48px 20px 48px; }
  .hero-gauge-preview { max-width: 100%; }
  .gauge-widget { max-width: 100%; }
  .hero-card-stack { max-width: 100%; }
  .proof-inner { padding: 0 20px; }
  .manifesto-inner { padding: 0 20px; }
  .vf-inner { padding: 0 20px; }
  .closing-inner { padding: 0 20px; }
  .footer-inner { padding: 0 20px 32px; }
  .footer-bottom { padding: 16px 20px; }
}
