/* RepSave Landing Page — Apple-clean fitness aesthetic */

/* ── Tokens ────────────────────────────────────── */
:root {
  --blue:      #3B82F6;
  --blue-lt:   #60A5FA;
  --charcoal:  #0F172A;
  --soft-gray: #F5F6F8;
  --white:     #FFFFFF;
  --border:    #E5E7EB;
  --text:      #374151;
  --text-muted:#6B7280;
  --radius:    12px;
  --radius-sm: 8px;
}

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

body {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  background: var(--soft-gray);
  color: var(--charcoal);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout helpers ─────────────────────────────── */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Header ─────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}

.header-nav a:hover { color: var(--blue); }

.btn-ghost {
  padding: 8px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal) !important;
  transition: background 0.15s, border-color 0.15s !important;
}

.btn-ghost:hover {
  background: var(--white);
  border-color: var(--blue) !important;
}

/* ── Hero ───────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  background: var(--white);
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.hero-logo {
  height: 56px;
  width: auto;
  display: block;
}

.hero-tagline {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 16px;
  line-height: 1.7;
}

.hero-tagline strong {
  color: var(--charcoal);
  font-weight: 600;
}

.hero-headline {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 500px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

/* ── Waitlist form ──────────────────────────────── */
.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto 14px;
  justify-content: center;
}

.waitlist-form input {
  flex: 1;
  padding: 13px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.975rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  background: var(--soft-gray);
}

.waitlist-form input:focus {
  border-color: var(--blue);
  background: var(--white);
}

.waitlist-form button {
  padding: 13px 26px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 0.975rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}

.waitlist-form button:hover { background: #2563EB; }
.waitlist-form button:active { transform: scale(0.98); }

.hero-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── Section label ──────────────────────────────── */
.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 40px;
  text-align: center;
}

/* ── How it works ───────────────────────────────── */
.how-it-works {
  padding: 80px 0;
  background: var(--soft-gray);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step {
  position: relative;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Features ──────────────────────────────────── */
.features {
  padding: 80px 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  padding: 32px 28px;
  background: var(--soft-gray);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: var(--blue-lt);
  box-shadow: 0 4px 24px rgba(59,130,246,0.08);
}

.feature-icon {
  color: var(--blue);
  margin-bottom: 18px;
  display: flex;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── CTA section ────────────────────────────────── */
.cta-section {
  padding: 96px 0;
  text-align: center;
  background: var(--charcoal);
}

.cta-section h2 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 14px;
}

.cta-section > .container > p {
  font-size: 1rem;
  color: #94A3B8;
  margin-bottom: 44px;
}

.cta-section .waitlist-form input {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--white);
}

.cta-section .waitlist-form input::placeholder { color: #64748B; }
.cta-section .waitlist-form input:focus {
  border-color: var(--blue-lt);
  background: rgba(255,255,255,0.12);
}

.cta-section .waitlist-form button {
  background: var(--blue);
}

.cta-section .waitlist-form button:hover { background: #2563EB; }

/* ── Footer ─────────────────────────────────────── */
.site-footer {
  padding: 28px 0;
  text-align: center;
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-brand {
  font-weight: 600;
  color: var(--white);
  font-size: 0.9rem;
}

.footer-sep { color: #475569; margin: 0 8px; }
.footer-brand + .footer-sep + span,
.footer-brand ~ span { color: #64748B; font-size: 0.85rem; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 700px) {
  .header-nav a:not(.btn-ghost) { display: none; }
  .steps-grid, .features-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero { padding: 72px 0 64px; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form button { width: 100%; }
  .cta-section h2 { font-size: 1.9rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-headline { font-size: 2rem; }
}