/* ================================================================
   DEALSYNC LANDING — Design System
   Light mode, matches the /app dashboard aesthetic:
   - Background: #f4f5f7 (warm light gray)
   - Cards: #ffffff with subtle shadow
   - Sidebar dark: #0f1117
   - Accent green: #16a34a
   - Typography: Space Grotesk (display) + DM Sans (body)
================================================================ */

/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ---------------------------------------------------------------- */
/* TOKENS */
/* ---------------------------------------------------------------- */
:root {
  --bg:              #f4f5f7;
  --bg-surface:      #ffffff;
  --bg-elevated:     #f8f9fb;
  --bg-dark:         #0f1117;
  --bg-dark-card:    #1a1d27;

  --fg:              #0f1117;
  --fg-secondary:    #5c6170;
  --fg-muted:        #9ba3b2;
  --fg-dim:          #c4cbd8;

  --accent:          #16a34a;
  --accent-light:    #dcfce7;
  --accent-mid:      #bbf7d0;
  --accent-text:     #15803d;
  --accent-glow:     rgba(22, 163, 74, 0.12);

  --border:          #e5e7eb;
  --border-strong:   #d1d5db;

  --shadow-sm:       0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:       0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:       0 10px 40px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.06);
  --shadow-green:    0 4px 20px rgba(22, 163, 74, 0.20);

  --font-display:    'Space Grotesk', system-ui, sans-serif;
  --font-body:       'DM Sans', system-ui, sans-serif;

  --radius-sm:       6px;
  --radius:          10px;
  --radius-lg:       14px;
  --radius-xl:       20px;

  --max-w:           1160px;
  --gap:             7vw;
}

/* ---------------------------------------------------------------- */
/* RESET */
/* ---------------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ---------------------------------------------------------------- */
/* SHARED UTILITIES */
/* ---------------------------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
  background: var(--accent-light);
  border: 1px solid var(--accent-mid);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 20px;
}

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

/* ================================================================
   NAV
================================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(244, 245, 247, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gap);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-mark {
  width: 30px;
  height: 30px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
}

.nav-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}

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

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-secondary);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover {
  color: var(--fg);
  background: var(--bg-elevated);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--accent-text);
  transform: translateY(-1px);
  box-shadow: var(--shadow-green);
}

.btn-primary.btn-lg {
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: var(--radius-lg);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-surface);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: var(--fg-muted);
  box-shadow: var(--shadow-sm);
}

/* ================================================================
   HERO
================================================================ */
.hero {
  min-height: 100vh;
  padding: 120px var(--gap) 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

/* subtle page-level background accents */
.hero::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(22,163,74,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(22,163,74,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.hero-copy { max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  background: var(--accent-light);
  border: 1px solid var(--accent-mid);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 32px;
  width: fit-content;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero h1 .accent {
  color: var(--accent);
  display: inline-block;
  position: relative;
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--fg-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
}

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

.hero-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-muted);
  font-size: 0.85rem;
}

.hero-proof-avatars {
  display: flex;
}

.hero-proof-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -8px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-text);
}
.hero-proof-avatars .hero-proof-avatar:first-child { margin-left: 0; }

/* Dashboard preview card */
.hero-visual {
  position: relative;
}

.dashboard-preview {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-3deg) rotateX(2deg);
  transition: transform 0.4s ease;
}
.dashboard-preview:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

.preview-topbar {
  background: var(--bg-dark);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.preview-dots {
  display: flex;
  gap: 6px;
}
.preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.preview-dot.red { background: #ff5f56; }
.preview-dot.yellow { background: #ffbd2e; }
.preview-dot.green { background: #27c93f; }

.preview-bar {
  flex: 1;
  height: 22px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-body);
}

.preview-body {
  display: flex;
  height: 340px;
}

.preview-sidebar {
  width: 52px;
  background: var(--bg-dark);
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.preview-sidebar-dot {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255,255,255,0.06);
}
.preview-sidebar-dot.active {
  background: var(--accent);
  opacity: 0.9;
}

.preview-content {
  flex: 1;
  background: var(--bg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.preview-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.preview-kpi {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.preview-kpi-label {
  font-size: 0.62rem;
  color: var(--fg-muted);
  font-family: var(--font-body);
  margin-bottom: 6px;
  font-weight: 500;
}

.preview-kpi-val {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
}
.preview-kpi-val.green { color: var(--accent); }

.preview-kpi.featured {
  background: var(--accent);
  border-color: transparent;
  grid-column: span 2;
}
.preview-kpi.featured .preview-kpi-label { color: rgba(255,255,255,0.7); }
.preview-kpi.featured .preview-kpi-val { color: #fff; font-size: 1.3rem; }

.preview-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.preview-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.preview-card-title {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--fg-muted);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.preview-bar-track {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}

.preview-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  width: 72%;
}

.preview-bar-fill.warn {
  background: #d97706;
  width: 48%;
}

.preview-line {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  margin-bottom: 8px;
}
.preview-line:last-child { margin-bottom: 0; width: 70%; }

.preview-deal-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.62rem;
}
.preview-deal-row:last-child { border-bottom: none; }
.preview-deal-row span:last-child { color: var(--accent); font-weight: 600; font-family: var(--font-display); }

/* Floating accent chips around preview */
.hero-float-chip {
  position: absolute;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-display);
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-float-chip.chip-1 {
  top: -24px;
  right: -20px;
  color: var(--accent);
  animation-delay: 0s;
}
.hero-float-chip.chip-2 {
  bottom: 40px;
  left: -30px;
  color: var(--fg);
  animation-delay: 1.5s;
}
.hero-float-chip .chip-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}
.hero-float-chip.chip-2 .chip-icon {
  background: #fef3c7;
}

/* ================================================================
   SOCIAL PROOF TICKER (thin strip)
================================================================ */
.proof-strip {
  background: var(--bg-dark);
  padding: 12px var(--gap);
  overflow: hidden;
}

.proof-strip-inner {
  display: flex;
  gap: 48px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  font-family: var(--font-body);
  font-weight: 500;
}

.proof-item strong {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
}

.proof-dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* ================================================================
   FEATURE SECTIONS
================================================================ */
.features-section {
  padding: 120px var(--gap);
  max-width: var(--max-w);
  margin: 0 auto;
}

.features-intro {
  text-align: center;
  margin-bottom: 80px;
}

.features-intro .section-sub {
  margin: 0 auto;
  max-width: 480px;
}

/* 2-column feature rows, alternating sides */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.feature-row:last-child { margin-bottom: 0; }

.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon-wrap svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-text);
  stroke-width: 2;
  fill: none;
}

.feature-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 14px;
  line-height: 1.15;
}

.feature-copy p {
  font-size: 1rem;
  color: var(--fg-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--fg-secondary);
  font-weight: 500;
}

.feature-bullets li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-light);
  border: 1.5px solid var(--accent-mid);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%2316a34a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='2,6 5,9 10,3'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Feature mock UIs */
.feature-visual {
  position: relative;
}

.mock-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.mock-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #4ade80);
}

.mock-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.mock-card-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
}

.mock-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-text);
  background: var(--accent-light);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--accent-mid);
}

.mock-big-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}

.mock-label {
  font-size: 0.82rem;
  color: var(--fg-muted);
  margin-bottom: 24px;
}

.mock-progress-wrap {
  margin-bottom: 16px;
}

.mock-progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.8rem;
}

.mock-progress-header span { color: var(--fg-secondary); }
.mock-progress-header strong { color: var(--fg); font-family: var(--font-display); font-weight: 600; }

.mock-track {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.mock-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), #4ade80);
  transition: width 0.5s ease;
}

.mock-tier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
}
.mock-tier-row:last-child { border-bottom: none; }

.mock-tier-label { color: var(--fg-secondary); }
.mock-tier-val { font-family: var(--font-display); font-weight: 700; color: var(--fg); }
.mock-tier-status {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 100px;
  font-weight: 600;
}
.mock-tier-status.done { background: var(--accent-light); color: var(--accent-text); }
.mock-tier-status.next { background: #fef3c7; color: #92400e; }
.mock-tier-status.locked { background: var(--bg); color: var(--fg-muted); border: 1px solid var(--border); }

/* Deal logger mock */
.mock-deal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mock-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mock-input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
}

.mock-input-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.mock-input-val {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
}

.mock-submit {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.mock-deal-list {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Payroll check mock */
.mock-check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
}
.mock-check-row:last-child { border-bottom: none; }

.mock-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}
.mock-check-icon.ok { background: var(--accent-light); color: var(--accent-text); }
.mock-check-icon.warn { background: #fee2e2; color: #dc2626; }

.mock-check-text { flex: 1; color: var(--fg-secondary); }
.mock-check-val { font-family: var(--font-display); font-weight: 700; color: var(--fg); }
.mock-check-val.red { color: #dc2626; }

/* Pace tracker mock */
.mock-pace-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.mock-pace-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}
.mock-pace-status.on-pace { background: var(--accent-light); color: var(--accent-text); }
.mock-pace-status.behind { background: #fee2e2; color: #dc2626; }

.mock-pace-big {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.mock-pace-caption { font-size: 0.8rem; color: var(--fg-muted); margin-bottom: 20px; }

.mock-day-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 16px;
}

.mock-day {
  height: 28px;
  border-radius: 4px;
  background: var(--border);
}
.mock-day.sold { background: var(--accent-mid); }
.mock-day.today { background: var(--accent); }

/* ================================================================
   HOW IT WORKS
================================================================ */
.how-section {
  background: var(--bg-dark);
  padding: 120px var(--gap);
  overflow: hidden;
}

.how-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.how-intro {
  text-align: center;
  margin-bottom: 80px;
}

.how-intro .section-label {
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.1);
}

.how-intro .section-heading {
  color: #fff;
}

.how-intro .section-sub {
  color: rgba(255,255,255,0.55);
  margin: 0 auto;
  max-width: 480px;
}

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

/* connector line */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(33.33% - 20px);
  right: calc(33.33% - 20px);
  height: 1px;
  background: linear-gradient(90deg, rgba(22,163,74,0.4) 0%, rgba(22,163,74,0.8) 50%, rgba(22,163,74,0.4) 100%);
  z-index: 0;
}

.step-card {
  background: var(--bg-dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  z-index: 1;
  transition: border-color 0.25s ease;
}

.step-card:hover { border-color: rgba(22,163,74,0.4); }

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.step-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* ================================================================
   COMPARISON TABLE
================================================================ */
.comparison-section {
  padding: 120px var(--gap);
  max-width: var(--max-w);
  margin: 0 auto;
}

.comparison-intro {
  text-align: center;
  margin-bottom: 60px;
}

.comparison-intro .section-sub { margin: 0 auto; }

.comparison-table-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
}

.comp-table th, .comp-table td {
  padding: 16px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.comp-table thead tr { background: var(--bg); }

.comp-table th:first-child, .comp-table td:first-child {
  text-align: left;
  width: 38%;
  color: var(--fg-secondary);
}

.comp-table th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--fg);
}

.comp-table th.highlight-col {
  background: var(--accent-light);
  color: var(--accent-text);
}

.comp-table tr:last-child td { border-bottom: none; }

.comp-table tbody tr:hover { background: var(--bg-elevated); }

.check { color: var(--accent); font-size: 1.1rem; }
.cross { color: var(--fg-dim); font-size: 1.1rem; }
.partial { color: #d97706; font-size: 0.8rem; font-weight: 600; }

.comp-table td.highlight-col {
  background: rgba(22,163,74,0.04);
  font-weight: 600;
  color: var(--fg);
}

.comp-table .feature-name {
  font-weight: 500;
  color: var(--fg);
}

.comp-best-col {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* ================================================================
   TESTIMONIALS
================================================================ */
.testimonials-section {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 120px var(--gap);
}

.testimonials-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.testimonials-intro {
  text-align: center;
  margin-bottom: 64px;
}

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

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
  color: #f59e0b;
  font-size: 1rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--fg);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-text);
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 2px;
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.testimonials-tagline {
  text-align: center;
  margin-top: 56px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: -0.01em;
}
.testimonials-tagline span {
  color: var(--accent);
}

/* ================================================================
   FAQ
================================================================ */
.faq-section {
  padding: 120px var(--gap);
  max-width: 800px;
  margin: 0 auto;
}

.faq-intro {
  text-align: center;
  margin-bottom: 64px;
}

.faq-intro .section-sub { margin: 0 auto; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  transition: box-shadow 0.15s;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item + .faq-item {
  margin-top: 8px;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-q-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.15s;
  font-size: 0.65rem;
  color: var(--fg-muted);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--accent-light);
  border-color: var(--accent-mid);
  color: var(--accent-text);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s ease;
}

.faq-item.open .faq-a {
  max-height: 400px;
}

.faq-a-inner {
  padding: 0 24px 22px;
  font-size: 0.9rem;
  color: var(--fg-secondary);
  line-height: 1.75;
}

/* ================================================================
   CTA SECTION
================================================================ */
.cta-section {
  background: var(--bg-dark);
  padding: 120px var(--gap);
  text-align: center;
  overflow: hidden;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(22,163,74,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-section .section-heading {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}

.cta-section .section-heading .accent {
  color: var(--accent);
}

.cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.8);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

/* ================================================================
   FOOTER
================================================================ */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 56px var(--gap) 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand-block {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo-mark {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
}

.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  max-width: 240px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.footer-links a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

.footer-accent {
  font-size: 0.8rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
}

/* ================================================================
   SCROLL ANIMATIONS
================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 100px var(--gap) 60px;
  }
  .hero-visual {
    display: none;
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-visual { order: unset; }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid::before { display: none; }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 700px) {
  :root { --gap: 5vw; }
  .nav-inner { padding: 0 5vw; }
  .hero h1 { font-size: 2.4rem; }
  .comparison-table-wrap { overflow-x: auto; }
  .comp-table { min-width: 560px; }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-ctas { flex-direction: column; }
  .cta-btns { flex-direction: column; align-items: center; }
}
