/* ═══════════════════════════════════════════════════════════
   ForgeSights Design System — 2026
   Premium Apple-ecosystem tech company aesthetic
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300..700;1,14..32,300..700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Custom Properties ─────────────────────────────────── */

:root {
  /* Backgrounds */
  --bg-0: #030307;
  --bg-1: #08080F;
  --bg-2: #0C0C15;
  --bg-3: #11111C;
  --bg-4: #161624;

  /* Borders */
  --border: rgba(255,255,255,0.06);
  --border-md: rgba(255,255,255,0.10);
  --border-lg: rgba(255,255,255,0.16);

  /* Brand */
  --violet: #7C3AED;
  --violet-mid: #8B5CF6;
  --violet-light: #A78BFA;
  --cyan: #06B6D4;
  --cyan-light: #22D3EE;

  /* Product palette */
  --autosolve: #F59E0B;
  --autosolve-dim: rgba(245,158,11,0.12);
  --focusflow: #10B981;
  --focusflow-dim: rgba(16,185,129,0.12);
  --skycast: #0EA5E9;
  --skycast-dim: rgba(14,165,233,0.12);
  --nutritrack: #F43F5E;
  --nutritrack-dim: rgba(244,63,94,0.12);
  --ccr: #7C3AED;
  --ccr-dim: rgba(124,58,237,0.12);

  /* Text */
  --t0: #FFFFFF;
  --t1: #F1F5F9;
  --t2: #94A3B8;
  --t3: #64748B;
  --t4: #475569;

  /* Fonts */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

  /* Radii */
  --r-sm: 8px;
  --r: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Shadows */
  --shadow-card: 0 0 0 1px var(--border), 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow-violet: 0 0 40px rgba(124,58,237,0.25);
  --shadow-glow-cyan: 0 0 40px rgba(6,182,212,0.2);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ─────────────────────────────────────────────── */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--sans);
  background: var(--bg-1);
  color: var(--t1);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, textarea { font-family: inherit; }

/* ── Typography ─────────────────────────────────────────── */

.t-display {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--t0);
}

.t-headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--t0);
}

.t-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--t0);
}

.t-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--t2);
}

.t-body { font-size: 1rem; line-height: 1.7; color: var(--t2); }
.t-small { font-size: 0.875rem; line-height: 1.5; color: var(--t3); }
.t-mono { font-family: var(--mono); }

/* Gradient text */
.t-gradient {
  background: linear-gradient(135deg, var(--violet-light) 0%, var(--cyan-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ─────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }

/* ── Navigation ─────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.nav.scrolled {
  background: rgba(8,8,15,0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo img { height: 28px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--t2);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
  letter-spacing: -0.01em;
}

.nav-links a:hover { color: var(--t0); background: var(--border); }
.nav-links a.active { color: var(--t0); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  color: #fff;
  transition: opacity 0.2s, transform 0.2s var(--ease-spring);
  white-space: nowrap;
}

.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

.nav-ghost {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--border-md);
  color: var(--t2);
  transition: all 0.2s;
}

.nav-ghost:hover { border-color: var(--border-lg); color: var(--t0); }

/* ── Hamburger (mobile) ──────────────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-burger span {
  width: 22px; height: 2px;
  background: var(--t2);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

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

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
}

.hero-orb-1 {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 110% 55% at 65% -5%, rgba(124,58,237,0.13) 0%, transparent 68%);
  pointer-events: none;
}

.hero-orb-2 {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 40% at 15% 90%, rgba(6,182,212,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-light);
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--violet-light);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-h1 {
  font-size: clamp(3.2rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.05em;
  color: var(--t0);
  margin-bottom: 24px;
}

.hero-h1 .word-dim { color: var(--t3); font-weight: 300; }

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-platforms {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-platforms-label { font-size: 0.75rem; font-weight: 500; color: var(--t4); letter-spacing: 0.06em; text-transform: uppercase; }

.platform-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--t3);
  padding: 4px 10px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 6px;
}

/* ── Buttons ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 14px 28px;
  border-radius: 100px;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--violet) 0%, var(--cyan) 100%);
  color: #fff;
  box-shadow: 0 0 24px rgba(124,58,237,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 32px rgba(124,58,237,0.4);
}

.btn-secondary {
  background: var(--bg-3);
  border: 1px solid var(--border-md);
  color: var(--t1);
}

.btn-secondary:hover {
  border-color: var(--border-lg);
  background: var(--bg-4);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--t2);
  border: 1px solid transparent;
}

.btn-ghost:hover { color: var(--t0); border-color: var(--border); }

.btn-sm { font-size: 0.875rem; padding: 10px 20px; }
.btn-lg { font-size: 1.0625rem; padding: 18px 36px; }

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* App Store button */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--t0);
  color: #000;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s var(--ease);
}

.btn-appstore:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.4); }

.btn-appstore-dark {
  background: var(--bg-3);
  border: 1px solid var(--border-md);
  color: var(--t1);
}

.btn-appstore-dark:hover { border-color: var(--border-lg); }

/* TestFlight button */
.btn-testflight {
  background: linear-gradient(135deg, #1C1C2E, #1C1C2E);
  border: 1px solid rgba(124,58,237,0.3);
  color: var(--violet-light);
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-testflight:hover {
  border-color: var(--violet-mid);
  background: rgba(124,58,237,0.08);
  transform: translateY(-1px);
}

/* ── Stats strip ─────────────────────────────────────────── */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-2);
}

.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-value {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--t0);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--t3);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ── Section headers ─────────────────────────────────────── */

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet-light);
  margin-bottom: 12px;
}

.section-header { margin-bottom: 56px; }
.section-header .t-headline { margin-bottom: 16px; }

/* ── Cards ───────────────────────────────────────────────── */

.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color 0.2s, transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s;
  background: linear-gradient(135deg, rgba(124,58,237,0.04), rgba(6,182,212,0.04));
}

.card:hover { border-color: var(--border-md); transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,0.4); }
.card:hover::before { opacity: 1; }

/* ── Product cards ───────────────────────────────────────── */

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

.product-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0; height: 1px;
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover { transform: translateY(-4px); box-shadow: 0 24px 64px rgba(0,0,0,0.5); }

/* Product color theming */
.product-card[data-product="autosolve"] { --product-color: var(--autosolve); --product-dim: var(--autosolve-dim); }
.product-card[data-product="focusflow"] { --product-color: var(--focusflow); --product-dim: var(--focusflow-dim); }
.product-card[data-product="skycast"]   { --product-color: var(--skycast);   --product-dim: var(--skycast-dim); }
.product-card[data-product="nutritrack"]{ --product-color: var(--nutritrack); --product-dim: var(--nutritrack-dim); }

.product-card:hover { border-color: rgba(var(--product-color-rgb, 255,255,255), 0.15); }
.product-card:hover::after { opacity: 1; background: var(--product-color); }

.product-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: var(--product-dim);
  border: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.product-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.product-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--t0);
}

.badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--bg-4);
  border: 1px solid var(--border);
  color: var(--t3);
}

.badge-new { background: rgba(124,58,237,0.12); border-color: rgba(124,58,237,0.2); color: var(--violet-light); }
.badge-beta { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.2); color: #FCD34D; }
.badge-dev { background: rgba(6,182,212,0.12); border-color: rgba(6,182,212,0.2); color: var(--cyan-light); }

.product-tagline {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--product-color);
}

.product-desc {
  font-size: 0.9375rem;
  color: var(--t2);
  line-height: 1.6;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-free {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--focusflow);
}

.price-pro {
  font-size: 1rem;
  font-weight: 700;
  color: var(--t0);
}

.price-period { font-size: 0.75rem; color: var(--t3); }

.product-platforms { display: flex; gap: 6px; }

.platform-pill {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--t3);
  padding: 3px 8px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 4px;
}

/* ── CCR Feature card (full-width) ───────────────────────── */

.ccr-card {
  background: linear-gradient(135deg, var(--bg-2) 0%, rgba(124,58,237,0.05) 100%);
  border: 1px solid rgba(124,58,237,0.15);
  border-radius: var(--r-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.ccr-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 70%);
  filter: blur(40px);
}

.ccr-terminal {
  background: var(--bg-0);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 12px;
  overflow: hidden;
  font-family: var(--mono);
  position: relative;
  z-index: 1;
}

.terminal-bar {
  background: var(--bg-3);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28CA41; }

.terminal-title {
  font-size: 0.75rem;
  color: var(--t3);
  flex: 1;
  text-align: center;
  font-family: var(--mono);
}

.terminal-body { padding: 20px; font-size: 0.8125rem; line-height: 1.8; }
.terminal-line { display: flex; align-items: flex-start; gap: 8px; }
.terminal-prompt { color: var(--violet-light); flex-shrink: 0; }
.terminal-cmd { color: var(--t1); }
.terminal-out { color: var(--t3); margin-left: 16px; }
.terminal-success { color: var(--focusflow); }
.terminal-cursor { display: inline-block; width: 8px; height: 14px; background: var(--violet-light); animation: blink 1.2s step-end infinite; vertical-align: middle; margin-left: 2px; }

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ── Features grid ───────────────────────────────────────── */

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

.features-grid .feature-card:nth-child(1) { grid-column: span 3; }
.features-grid .feature-card:nth-child(2) { grid-column: span 3; }
.features-grid .feature-card:nth-child(3) { grid-column: span 2; }
.features-grid .feature-card:nth-child(4) { grid-column: span 2; }
.features-grid .feature-card:nth-child(5) { grid-column: span 2; }
.features-grid .feature-card:nth-child(6) { grid-column: span 6; }

.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px;
  transition: all 0.25s var(--ease);
}

.feature-card:hover { border-color: var(--border-md); transform: translateY(-2px); }

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--t0);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--t2);
  line-height: 1.6;
}

/* ── "Why ForgeSights" ────────────────────────────────────── */

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.pillar {
  background: var(--bg-2);
  padding: 36px 28px;
  transition: background 0.2s;
}

.pillar:hover { background: var(--bg-3); }

.pillar-icon { font-size: 2rem; margin-bottom: 16px; }
.pillar-title { font-size: 1rem; font-weight: 600; color: var(--t0); margin-bottom: 8px; }
.pillar-desc { font-size: 0.875rem; color: var(--t3); line-height: 1.5; }

/* ── Newsletter ──────────────────────────────────────────── */

.newsletter-card {
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.newsletter-glow {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
  top: -100px; right: -100px;
  filter: blur(60px);
  pointer-events: none;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.input {
  flex: 1;
  min-width: 200px;
  background: var(--bg-0);
  border: 1px solid var(--border-md);
  border-radius: 100px;
  padding: 12px 20px;
  font-size: 0.9375rem;
  color: var(--t1);
  outline: none;
  transition: border-color 0.2s;
}

.input::placeholder { color: var(--t4); }
.input:focus { border-color: rgba(124,58,237,0.4); }

/* ── Footer ──────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--t3);
  line-height: 1.6;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 16px;
}

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

.footer-col a {
  font-size: 0.875rem;
  color: var(--t3);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--t1); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.8rem; color: var(--t4); }

.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.8rem; color: var(--t4); transition: color 0.2s; }
.footer-links a:hover { color: var(--t2); }

/* ── Page hero (interior pages) ──────────────────────────── */

.page-hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% -20%, rgba(124,58,237,0.1) 0%, transparent 70%);
}

/* ── Divider ─────────────────────────────────────────────── */

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-md), transparent);
  margin: 0;
}

/* ── Scroll reveal ───────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible { opacity: 1; transform: none; }

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ── Utility ─────────────────────────────────────────────── */

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 680px; }

/* ── CCR Page Specifics ──────────────────────────────────── */

.ccr-hero {
  background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.install-block {
  background: var(--bg-0);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--r-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 0.9375rem;
  color: var(--t1);
  max-width: 480px;
  transition: border-color 0.2s;
}

.install-block:hover { border-color: rgba(124,58,237,0.4); }

.install-cmd { flex: 1; }
.install-prompt { color: var(--t3); margin-right: 8px; }
.install-command { color: var(--cyan-light); }

.copy-btn {
  background: var(--bg-3);
  border: 1px solid var(--border-md);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--t2);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--sans);
}

.copy-btn:hover { background: var(--bg-4); color: var(--t0); border-color: var(--border-lg); }
.copy-btn.copied { color: var(--focusflow); border-color: rgba(16,185,129,0.3); }

/* ── Apps page grid ──────────────────────────────────────── */

.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.app-detail-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.app-detail-card:hover { border-color: var(--border-md); transform: translateY(-3px); box-shadow: 0 20px 56px rgba(0,0,0,0.4); }

.app-header { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.app-icon { width: 72px; height: 72px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 36px; flex-shrink: 0; }
.app-info { flex: 1; }
.app-name { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; color: var(--t0); margin-bottom: 4px; }
.app-tagline-sm { font-size: 0.875rem; color: var(--t3); }

.app-features { margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }

.app-feature-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--t2);
}

.app-feature-row::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--product-color);
  flex-shrink: 0;
}

.app-pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}

.pricing-tier {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
}

.pricing-tier.featured {
  border-color: var(--product-color);
  background: linear-gradient(135deg, var(--product-dim), var(--bg-3));
}

.tier-name { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--t3); margin-bottom: 4px; }
.tier-price { font-size: 1.25rem; font-weight: 700; color: var(--t0); }
.tier-period { font-size: 0.75rem; color: var(--t3); font-weight: 400; }

.app-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ── Privacy / Support pages ─────────────────────────────── */

.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--t0);
  letter-spacing: -0.02em;
  margin: 40px 0 12px;
}

.prose p { font-size: 0.9375rem; color: var(--t2); line-height: 1.8; margin-bottom: 16px; }
.prose ul { margin: 16px 0 16px 20px; }
.prose li { font-size: 0.9375rem; color: var(--t2); line-height: 1.7; margin-bottom: 6px; list-style: disc; }
.prose a { color: var(--violet-light); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.prose a:hover { border-color: var(--violet-light); }

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1024px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid .feature-card:nth-child(n) { grid-column: span 1; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ccr-card { grid-template-columns: 1fr; }
  .newsletter-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .products-grid, .apps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .ccr-card { padding: 28px; }
  .hero-h1 { letter-spacing: -0.04em; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-actions .btn { display: none; }
  .nav-actions .nav-cta { display: inline-flex; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 20px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-card { padding: 28px 20px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ── Mobile Nav Drawer ────────────────────────────────────── */

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(3,3,7,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 80px 24px 24px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--t2);
  padding: 12px 24px;
  border-radius: var(--r);
  width: 100%;
  text-align: center;
  transition: color 0.2s, background 0.2s;
}

.mobile-nav a:hover { color: var(--t0); background: var(--border); }

.mobile-nav-close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 1.5rem;
  color: var(--t2);
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.mobile-nav-close:hover { color: var(--t0); background: var(--border); }

/* ═══════════════════════════════════════════════════════════
   FixitFirst brand token
═══════════════════════════════════════════════════════════ */

:root {
  --fixitfirst: #0A84FF;
  --fixitfirst-mid: #0066CC;
  --fixitfirst-dim: rgba(10,132,255,0.1);
  --fixitfirst-border: rgba(10,132,255,0.25);
}

/* ── iPhone device frame ────────────────────────────────── */

.iphone-frame {
  position: relative;
  display: inline-block;
  aspect-ratio: 393 / 852;
  border-radius: 44px;
  background: #1C1C1E;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12),
    0 0 0 10px #1C1C1E,
    0 0 0 11px rgba(255,255,255,0.08),
    0 40px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(0,0,0,0.4);
  padding: 14px;
  flex-shrink: 0;
  overflow: hidden;
}

.iphone-frame::before {
  content: '';
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 38%; height: 11px;
  background: #000;
  border-radius: 100px;
  z-index: 2;
}

.iphone-frame img {
  display: block;
  border-radius: 30px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.iphone-frame-sm  { width: 200px; }
.iphone-frame-md  { width: 260px; }
.iphone-frame-lg  { width: 320px; }

/* ── Two-product home layout ───────────────────────────── */

.product-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

.product-spotlight:last-of-type { border-bottom: none; }

.product-spotlight.reverse { direction: rtl; }
.product-spotlight.reverse > * { direction: ltr; }

.spotlight-text { display: flex; flex-direction: column; gap: 24px; }

.spotlight-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.spotlight-heading {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--t0);
}

.spotlight-sub {
  font-size: 1.0625rem;
  color: var(--t2);
  line-height: 1.7;
  max-width: 480px;
}

.spotlight-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}

.spotlight-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--t2);
  line-height: 1.5;
}

.spotlight-feature-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.spotlight-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}

.spotlight-screens {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  justify-content: center;
}

.spotlight-screens .iphone-frame:nth-child(2) {
  transform: translateY(-32px);
}

/* FixitFirst accent */
.accent-fixitfirst { color: var(--fixitfirst); }
.bg-fixitfirst { background: var(--fixitfirst-dim); border-color: var(--fixitfirst-border); }

.btn-fixitfirst {
  background: var(--fixitfirst);
  color: #fff;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s var(--ease);
  box-shadow: 0 0 24px rgba(10,132,255,0.3);
}

.btn-fixitfirst:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 32px rgba(10,132,255,0.45);
}

/* Testimonial card */
.testimonial {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px 28px;
  position: relative;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 12px; left: 20px;
  font-size: 3rem;
  line-height: 1;
  color: var(--border-md);
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--t1);
  line-height: 1.6;
  margin-bottom: 14px;
  padding-top: 12px;
}

.testimonial-author {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Pricing pill */
.pricing-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.price-pill {
  background: var(--bg-3);
  border: 1px solid var(--border-md);
  border-radius: var(--r);
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 130px;
}

.price-pill-amount {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--t0);
}

.price-pill-label {
  font-size: 0.75rem;
  color: var(--t3);
  font-weight: 500;
}

.price-pill-trial {
  font-size: 0.7rem;
  color: var(--focusflow);
  font-weight: 600;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .product-spotlight {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 64px 0;
  }
  .product-spotlight.reverse { direction: ltr; }
  .spotlight-screens { justify-content: flex-start; }
}

@media (max-width: 540px) {
  .spotlight-screens .iphone-frame-md { width: 200px; }
  .spotlight-screens .iphone-frame:nth-child(2) { transform: translateY(-20px); }
}

/* ═══════════════════════════════════════════════════════════
   Home page extensions — components added for index.html
═══════════════════════════════════════════════════════════ */

/* ── 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: 0; }

.gradient-text {
  background: linear-gradient(
    160deg,
    #A78BFA 0%,
    #8B78F8 18%,
    #6C6CF5 36%,
    #4B6CF0 52%,
    #2E82E8 66%,
    #22B0E8 80%,
    #22D3EE 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Nav (home page variant) ─────────────────────────────── */
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--t2);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
  letter-spacing: -0.01em;
}
.nav-link:hover { color: var(--t0); background: var(--border); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--t2);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 98;
    background: rgba(3,3,7,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 80px 24px 24px;
  }
  .nav-menu.open { display: flex; }
  .nav-menu .nav-link { font-size: 1.5rem; font-weight: 600; width: 100%; text-align: center; padding: 14px 24px; border-radius: var(--r); }
  .nav-menu .btn { width: auto; margin-top: 16px; }
}

/* ── Hero (home page) ────────────────────────────────────── */
.hero-heading {
  font-size: clamp(3.2rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.05em;
  color: var(--t0);
  margin-bottom: 24px;
  text-wrap: balance;
  font-optical-sizing: auto;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--t0);
}
.stat-label { font-size: 0.75rem; color: var(--t3); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.stat-divider { width: 1px; height: 36px; background: var(--border-md); }

/* ── Section common ──────────────────────────────────────── */
.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--t0);
  margin-bottom: 16px;
  text-wrap: balance;
  font-optical-sizing: auto;
}

.section-sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--t2);
  line-height: 1.7;
  max-width: 560px;
}

.section-dark { background: var(--bg-0); }

/* ── Product grid (home) ─────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.product-card-inner { display: flex; flex-direction: column; gap: 12px; height: 100%; }

.product-platform {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--t3);
  padding: 3px 8px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.product-ctas { margin-top: auto; padding-top: 16px; }

/* Per-product color theming via class (home page uses classes not data-attrs) */
.product-autosolve { --product-color: var(--autosolve); --product-dim: var(--autosolve-dim); }
.product-autosolve .product-icon { color: var(--autosolve); }
.product-autosolve .product-tagline { color: var(--autosolve); }

.product-focusflow { --product-color: var(--focusflow); --product-dim: var(--focusflow-dim); }
.product-focusflow .product-icon { color: var(--focusflow); }
.product-focusflow .product-tagline { color: var(--focusflow); }

.product-skycast { --product-color: var(--skycast); --product-dim: var(--skycast-dim); }
.product-skycast .product-icon { color: var(--skycast); }
.product-skycast .product-tagline { color: var(--skycast); }

.product-nutritrack { --product-color: var(--nutritrack); --product-dim: var(--nutritrack-dim); }
.product-nutritrack .product-icon { color: var(--nutritrack); }
.product-nutritrack .product-tagline { color: var(--nutritrack); }

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

/* ── CCR Spotlight (two-col home section) ────────────────── */
.ccr-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ccr-spotlight-text .section-sub { margin-top: 16px; }

.ccr-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.ccr-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--t2);
}

.ccr-features li svg { color: var(--violet-light); flex-shrink: 0; }

@media (max-width: 900px) {
  .ccr-spotlight { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Terminal block (home CCR spotlight) ─────────────────── */
.terminal-block {
  background: var(--bg-0);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 14px;
  overflow: hidden;
  font-family: var(--mono);
}

.terminal-header {
  background: var(--bg-3);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.terminal-dots { display: flex; gap: 6px; }

.terminal-body {
  padding: 20px;
  font-size: 0.8125rem;
  line-height: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.terminal-output { color: var(--t3); padding-left: 20px; }
.terminal-comment { color: var(--t4); font-style: italic; }

/* Override: .terminal-title is already defined, supplement it */
.terminal-header .terminal-title {
  flex: 1;
  text-align: center;
}

/* ── Pillars grid (about section) ────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.pillars-grid .pillar {
  background: var(--bg-2);
  padding: 36px 28px;
  transition: background 0.2s;
}

.pillars-grid .pillar:hover { background: var(--bg-3); }

.pillar-icon {
  color: var(--violet-light);
  margin-bottom: 16px;
}

@media (max-width: 900px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .pillars-grid { grid-template-columns: 1fr; } }

/* ── Newsletter (home) ───────────────────────────────────── */
.newsletter-section { background: var(--bg-0); }

.newsletter-content { max-width: 480px; }

.newsletter-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--t0);
  margin-bottom: 12px;
}

.newsletter-sub { font-size: 0.9375rem; color: var(--t2); line-height: 1.6; }

.newsletter-input-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.newsletter-input {
  flex: 1;
  min-width: 200px;
  background: var(--bg-0);
  border: 1px solid var(--border-md);
  border-radius: 100px;
  padding: 13px 20px;
  font-size: 0.9375rem;
  color: var(--t1);
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-input::placeholder { color: var(--t4); }
.newsletter-input:focus { border-color: rgba(124,58,237,0.4); }

.newsletter-legal { font-size: 0.75rem; color: var(--t4); margin-top: 10px; }

/* ── Footer (home variant) ───────────────────────────────── */
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 48px;
}

.footer-tagline { font-size: 0.875rem; color: var(--t3); margin-top: 10px; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 6px;
}

.footer-col a { font-size: 0.875rem; color: var(--t3); transition: color 0.2s; }
.footer-col a:hover { color: var(--t1); }

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

.footer-legal { font-size: 0.8rem; color: var(--t4); }

.footer-badges { display: flex; gap: 12px; }

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--t3);
  padding: 6px 12px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: color 0.2s, border-color 0.2s;
}
.footer-badge:hover { color: var(--t1); border-color: var(--border-md); }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 540px) {
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-inner { gap: 32px; }
}
