/* ============================================
   REACHLIFT — CUSTOM STYLES
   ============================================ */

/* --- Reset & Variables --- */
:root {
  --bg: #111111;
  --surface: #1a1a1a;
  --surface-2: #222222;
  --fg: #ffffff;
  --fg-muted: #888888;
  --accent: #CCFF00;
  --accent-dim: rgba(204, 255, 0, 0.12);
  --border: #2a2a2a;
  --font-display: 'Syne', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  background: rgba(17,17,17,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.nav-tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(204,255,0,0.25);
  padding: 4px 10px;
  border-radius: 2px;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

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

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(204,255,0,0.2);
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 28px;
  width: fit-content;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 460px;
  font-weight: 300;
}

/* Pipeline demo block */
.pipeline-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 32px;
}

.pipeline-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.pipeline-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.pipeline-item:last-child { border-bottom: none; }

.pipeline-item.highlight {
  background: var(--accent-dim);
  border-radius: 4px;
  padding: 10px 12px;
  margin: 4px -12px 0;
}

.pip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #333;
  flex-shrink: 0;
}

.pip-dot.active { background: #444; }

.pip-dot.pulse {
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(204,255,0,0.4);
  animation: pulse-dot 1.5s ease-out infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(204,255,0,0.4); }
  70% { box-shadow: 0 0 0 6px rgba(204,255,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(204,255,0,0); }
}

.pip-text {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 400;
}

.highlight .pip-text {
  color: var(--fg);
  font-weight: 600;
}

/* --- Proof Bar --- */
.proof {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px;
}

.proof-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.proof-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.proof-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 400;
  line-height: 1.4;
}

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

/* --- How --- */
.how {
  padding: 120px 48px;
}

.how-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.how-header { margin-bottom: 64px; }

.how-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--fg);
  max-width: 600px;
}

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

.how-card {
  background: var(--bg);
  padding: 48px;
}

.how-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 20px;
}

.how-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.how-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* --- Pipeline --- */
.pipeline {
  padding: 120px 48px;
  border-top: 1px solid var(--border);
}

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

.pipeline-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 20px;
}

.pipeline-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
}

.pipeline-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}

.pipeline-row {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 16px;
}

.pipeline-row-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 400;
}

.pipeline-row-bar {
  height: 4px;
  background: var(--surface-2);
  border-radius: 2px;
  overflow: hidden;
}

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

.bar-fill.w60 { width: 60%; }
.bar-fill.w70 { width: 70%; }
.bar-fill.w80 { width: 80%; }
.bar-fill.w95 { width: 95%; }

.pipeline-row-val {
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-weight: 500;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

/* --- Closing --- */
.closing {
  padding: 140px 48px;
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 4vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 28px;
}

.closing-body {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
  font-weight: 300;
  max-width: 640px;
  margin: 0 auto;
}

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

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.footer-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(204,255,0,0.2);
  padding: 3px 8px;
  border-radius: 2px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 300;
}

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

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

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

  .proof-divider { display: none; }

  .nav { padding: 16px 24px; }
  .hero { padding: 120px 24px 60px; }
  .how { padding: 80px 24px; }
  .pipeline { padding: 80px 24px; }
  .closing { padding: 80px 24px; }
  .proof { padding: 48px 24px; }
  .footer { padding: 32px 24px; }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .pipeline-row {
    grid-template-columns: 120px 1fr auto;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .pipeline-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .pipeline-row-bar { display: none; }
}