/* ═══════════════════════════════════════════════
   RESKIL — Your AI Career Shield
   Design System — Premium Polish
   ═══════════════════════════════════════════════ */

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

/* ─── Variables ─── */
:root {
  --indigo-900: #1e1b4b;
  --indigo-800: #312e81;
  --indigo-700: #3730a3;
  --indigo-600: #4338ca;
  --indigo-500: #4F46E5;
  --indigo-400: #6366f1;
  --indigo-300: #818cf8;
  --indigo-100: #e0e7ff;
  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;
  --green-400: #34d399;
  --green-500: #10b981;
  --bg: #f8f7fe;
  --bg-2: #f3f1fd;
  --bg-card: #ffffff;
  --bg-card-hover: #fafafc;
  --border: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.1);
  --text: #0f0e17;
  --text-muted: #52525b;
  --text-dim: #a1a1aa;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.03), 0 8px 24px rgba(79, 70, 229, 0.06), 0 20px 48px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 1px 2px rgba(0, 0, 0, 0.03), 0 6px 20px rgba(79, 70, 229, 0.08), 0 24px 64px rgba(0, 0, 0, 0.06);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ─── Base ─── */
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── Container ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Section ─── */
.section {
  padding: 88px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo-500);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(26px, 4.5vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── Gradient text ─── */
.gradient-text {
  background: linear-gradient(135deg, #818cf8 0%, #4F46E5 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════ BUTTONS ═══════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--indigo-500), var(--indigo-600));
  color: #fff;
  padding: 13px 24px;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.2), 0 4px 16px rgba(79, 70, 229, 0.12);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--indigo-400), var(--indigo-500));
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3), 0 8px 28px rgba(79, 70, 229, 0.2);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(99, 102, 241, 0.06);
  color: var(--indigo-600);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 13px 24px;
}
.btn-secondary:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--indigo-500);
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--indigo-600);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 13px 24px;
}
.btn-outline:hover {
  background: rgba(99, 102, 241, 0.06);
  border-color: rgba(99, 102, 241, 0.35);
  color: var(--indigo-500);
}

.btn-hero {
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 12px;
}

.btn-sm {
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .btn-sm {
    font-size: 11px;
    padding: 7px 12px;
  }
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Focus & accessibility */
.btn:focus-visible {
  outline: 2px solid var(--indigo-500);
  outline-offset: 2px;
}

.btn:disabled, .btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn:active:not(:disabled) {
  transform: translateY(0);
}

.btn-waitlist {
  padding: 15px 28px;
  font-size: 15px;
  white-space: nowrap;
}

/* Shield Max button — on-brand purple gradient */
.btn-max {
  background: linear-gradient(135deg, var(--indigo-400), var(--purple-500));
  border: none;
  font-weight: 700;
}
.btn-max:hover {
  background: linear-gradient(135deg, var(--indigo-300), var(--indigo-400));
}

/* ═══════════════ NAV ═══════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 247, 254, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.nav-logo-img {
  height: 30px;
  width: auto;
  border-radius: 6px;
  flex-shrink: 0;
  display: block;
}

.nav-logo .logo-text { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding: 80px 0 64px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 1;
}

.hero-blob-1 {
  width: 600px;
  height: 600px;
  top: -180px;
  left: -180px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1), rgba(79, 70, 229, 0.04));
}

.hero-blob-2 {
  width: 450px;
  height: 450px;
  bottom: -80px;
  right: -80px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08), rgba(124, 58, 237, 0.03));
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--indigo-600);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--green-400);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green-400);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

.hero-headline {
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 780px;
}

.hero-subheadline {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-subheadline strong {
  color: var(--indigo-600);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 28px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 28px;
}

.stat-num {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #818cf8, #4F46E5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-strong);
}

/* Score Card */
.hero-visual {
  width: 100%;
  max-width: 360px;
}

.score-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.score-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.score-card-icon {
  font-size: 36px;
  line-height: 1;
  display: flex;
}

.score-card-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}

.score-card-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.score-ring-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 20px;
}

.score-ring {
  width: 100%;
  height: 100%;
}

.score-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-num {
  font-size: 34px;
  font-weight: 900;
  color: var(--indigo-600);
  line-height: 1;
}

.score-tag {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 3px;
}

.score-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.action-item {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

.action-green { background: rgba(52, 211, 153, 0.1); color: #34d399; }
.action-indigo { background: rgba(99, 102, 241, 0.1); color: #818cf8; }
.action-purple { background: rgba(139, 92, 246, 0.1); color: #a78bfa; }

/* ═══════════════ HOW IT WORKS ═══════════════ */
.how-it-works {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-2) 100%);
}

.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.step-card {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}

.step-card:hover {
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.step-num {
  position: absolute;
  top: -12px;
  left: 24px;
  background: linear-gradient(135deg, var(--indigo-500), var(--purple-500));
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 100px;
}

.step-icon {
  font-size: 40px;
  line-height: 1;
  display: flex;
  flex-shrink: 0;
  grid-column: 1;
  grid-row: 1;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 8px;
}

.step-connector {
  font-size: 28px;
  color: var(--indigo-400);
  padding: 0 14px;
  font-weight: 300;
  opacity: 0.4;
  flex-shrink: 0;
}

/* ═══════════════ FEATURES ═══════════════ */
.features {
  background: var(--bg);
}

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

.feature-card-large {
  grid-column: span 1;
  grid-row: span 2;
}

.feature-card-wide {
  grid-column: span 2;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  row-gap: 8px;
  align-items: start;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--indigo-500), var(--purple-500));
  opacity: 0;
  transition: opacity 0.25s;
}

.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  border-color: rgba(99, 102, 241, 0.2);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.feature-emoji {
  font-size: 36px;
  line-height: 1;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  margin-bottom: 0;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  grid-column: 1 / -1;
  grid-row: 2;
}

.feature-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo-500);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 100px;
  padding: 3px 10px;
  margin-top: 0;
  grid-column: 1 / -1;
  grid-row: 3;
  align-self: start;
  justify-self: start;
}

/* ═══════════════ STATS ═══════════════ */
.stats-section {
  background: var(--bg-2);
}

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

.stat-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.2s;
}

.stat-card:hover { transform: translateY(-2px); }

.stat-card-featured {
  background: linear-gradient(145deg, #ffffff, #f5f3ff);
  border-color: var(--indigo-500);
  box-shadow: 0 0 32px rgba(79, 70, 229, 0.1);
}

.stat-big {
  font-size: clamp(48px, 6vw, 60px);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #818cf8, #4F46E5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-card-featured .stat-big {
  background: linear-gradient(135deg, #818cf8, #4F46E5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-desc {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.stat-source {
  font-size: 12px;
  color: var(--text-dim);
  font-style: italic;
}

.cta-nudge {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
}

.cta-nudge-link {
  color: var(--indigo-400);
  border-bottom: 1px solid rgba(99, 102, 241, 0.3);
  transition: color 0.2s, border-color 0.2s;
}

.cta-nudge-link:hover {
  color: var(--text);
  border-color: var(--text);
}

/* ═══════════════ PRICING ═══════════════ */
.pricing-section {
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(79, 70, 229, 0.08);
}

.pricing-featured {
  background: linear-gradient(145deg, #ffffff, #f5f3ff);
  border-color: var(--indigo-500);
  box-shadow: 0 0 48px rgba(79, 70, 229, 0.1);
  transform: scale(1.02);
}
.pricing-featured:hover {
  transform: scale(1.02) translateY(-2px);
}

/* Shield Max dark card */
.pricing-max {
  background: linear-gradient(160deg, #1e1b4b 0%, #2d1b69 100%);
  border-color: rgba(129, 140, 248, 0.2);
  color: #fff;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--indigo-500), var(--purple-500));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

/* Shield Max badge — on-brand gradient instead of orange */
.pricing-badge-max {
  background: linear-gradient(135deg, var(--indigo-300), var(--purple-500));
}

/* "Coming Soon" inline badge */
.pricing-soon-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 4px;
  vertical-align: 1px;
}

.pricing-tier {
  font-size: 13px;
  font-weight: 700;
  color: var(--indigo-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}

.price-amount {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-features li {
  font-size: 13px;
  padding: 2px 0;
  line-height: 1.4;
}

.feat-yes { color: var(--text); }
.feat-yes::first-letter { color: var(--green-400); }
.feat-no { color: var(--text-dim); }

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 24px;
}

/* ═══════════════ WAITLIST ═══════════════ */
.waitlist-section {
  background: var(--bg-2);
}

.waitlist-inner {
  max-width: 580px;
  margin: 0 auto;
  position: relative;
  padding: 0 20px;
  overflow: hidden;
}

.waitlist-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(79, 70, 229, 0.12), transparent 70%);
  pointer-events: none;
}

.waitlist-form {
  margin: 32px 0 20px;
}

.form-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.form-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  min-width: 0;
}

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

.form-input:focus {
  border-color: var(--indigo-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.08);
}

.form-privacy {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 10px;
  text-align: center;
}

.form-success {
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: var(--radius-sm);
  color: var(--green-500);
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  margin-top: 14px;
}

.form-error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-sm);
  color: #f87171;
  padding: 12px 16px;
  font-size: 13px;
  text-align: center;
  margin-top: 12px;
}

.waitlist-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 12px;
  color: var(--text-dim);
  flex-wrap: wrap;
}

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  background: #0f0e17;
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 0;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}

.footer-brand {
  max-width: 260px;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 12px;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  opacity: 1;
  flex-shrink: 0;
  display: block;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  gap: 56px;
}

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

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 4px;
}

.footer-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.footer-link:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* ═══════════════ RESPONSIVE ═══════════════ */

/* Tablet-ish: pricing 2-col */
@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 640px;
    margin: 0 auto;
  }
  .pricing-featured { transform: scale(1); }
  .pricing-featured:hover { transform: translateY(-2px); }
}

/* Mid screens */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card-large { grid-column: span 1; grid-row: span 1; }
  .feature-card-wide { grid-column: span 2; }

  .stats-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto 36px;
  }

  .steps-grid { flex-direction: column; align-items: stretch; }
  .step-connector { transform: rotate(90deg); padding: 6px 0; text-align: center; }
  .step-card { max-width: 100%; }
}

/* Mobile */
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .section-sub { font-size: 15px; }
  .section-title { font-size: clamp(24px, 6vw, 32px); }

  /* Nav mobile */
  .nav-inner { height: 56px; padding: 0 16px; }
  .nav-actions .nav-link:not(.nav-link-login) { display: none; }
  .nav-actions { gap: 12px; }
  .nav-link-login { font-size: 13px; font-weight: 500; }
  .nav-logo-img { height: 26px; }
  .nav-logo { font-size: 16px; gap: 8px; font-weight: 800; }

  /* Hero mobile */
  .hero { padding: 56px 0 48px; min-height: auto; }
  .hero-inner { width: 100%; }
  .hero-badge { margin-bottom: 20px; font-size: 11px; padding: 6px 14px; }
  .hero-headline {
    font-size: clamp(32px, 9vw, 48px);
    width: 100%;
    line-height: 1.1;
    margin-bottom: 16px;
  }
  .hero-subheadline {
    width: 100%;
    max-width: 100%;
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.6;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 0;
    width: 100%;
    margin-bottom: 32px;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
    font-size: 15px;
    padding: 14px 20px;
  }
  .hero-stats {
    padding: 14px 16px;
    width: 100%;
    margin-bottom: 36px;
    gap: 0;
  }
  .stat-pill { padding: 6px 14px; }
  .stat-num { font-size: 20px; }
  .stat-label { font-size: 10px; }
  .stat-divider { height: 28px; }
  .hero-visual { max-width: 300px; }
  .score-card { padding: 20px; }

  /* Pricing mobile */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
    gap: 14px;
  }
  .pricing-card { padding: 24px 20px; }
  .price-amount { font-size: 32px; }

  /* Form mobile */
  .form-row { flex-direction: column; gap: 10px; }
  .btn-waitlist { width: 100%; justify-content: center; }

  /* Features mobile */
  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card-wide { grid-column: span 1; }
  .feature-card { padding: 24px 20px; }

  /* Steps mobile */
  .step-card { padding: 28px 20px; }

  /* Stats mobile */
  .stat-card { padding: 28px 20px; }
  .stat-big { font-size: 44px; }
  .cta-nudge { font-size: 16px; }

  /* Footer mobile */
  .footer { padding-top: 40px; }
  .footer-inner {
    flex-direction: column;
    gap: 28px;
    padding-bottom: 28px;
  }
  /* Footer nav: 2-column grid on mobile for balanced layout */
  .footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 32px;
    width: 100%;
  }
  .footer-brand {
    max-width: 100%;
    width: 100%;
  }
  .footer-col {
    gap: 10px;
  }
  .footer-col-title {
    font-size: 11px;
    margin-bottom: 6px;
  }
  .footer-link {
    font-size: 13px;
  }
}

/* Small mobile (375px) */
@media (max-width: 400px) {
  .container { padding: 0 18px; }

  .hero-headline { font-size: 30px; }
  .hero-badge { font-size: 10px; padding: 5px 12px; }
  .hero-subheadline { font-size: 14px; }

  .stat-pill { padding: 5px 10px; }
  .stat-num { font-size: 18px; }
  .stat-label { font-size: 9px; }

  .pricing-card { padding: 22px 18px; }
  .pricing-features li { font-size: 12px; }

  .step-title { font-size: 16px; }
  .step-desc { font-size: 13px; }
  .feature-title { font-size: 16px; }
  .feature-desc { font-size: 13px; }

  .waitlist-inner { padding: 0 8px; }
  .form-input { padding: 13px 14px; font-size: 14px; }
  .btn-waitlist { padding: 13px 20px; font-size: 14px; }

  /* Footer: keep 2-column grid tight on ultra-small screens */
  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
    width: 100%;
  }
  .footer-col-title {
    font-size: 10px;
  }
  .footer-link {
    font-size: 12px;
  }
}

/* ═══════════════ FOCUS STATES ═══════════════ */
.form-input:focus-visible {
  outline: none;
  border-color: var(--indigo-500);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.08);
}

a:focus-visible {
  outline: 2px solid var(--indigo-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ═══════════════ SMOOTH TRANSITIONS ═══════════════ */
.feature-card,
.step-card,
.stat-card,
.pricing-card {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════ UTILITY ═══════════════ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--indigo-800); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--indigo-600); }
