/* ═══════════════════════════════════════════════════════════════
   DinerGrid Design System — v1.0
   dinergrid.com Marketing Site
   ═══════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
  /* Brand */
  --brand:         #FF6B2C;
  --brand-hover:   #E55A1B;
  --brand-glow:    rgba(255, 107, 44, 0.25);
  --brand-dim:     rgba(255, 107, 44, 0.08);
  --brand-gradient: linear-gradient(135deg, #FF6B2C 0%, #FF8F5C 100%);

  /* Semantic */
  --success:       #10B981;
  --success-dim:   rgba(16, 185, 129, 0.1);
  --warning:       #F59E0B;
  --error:         #EF4444;

  /* Typography */
  --font-body:     'Inter', system-ui, -apple-system, sans-serif;
  --font-display:  'Outfit', 'Inter', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing (4px base) */
  --space-1: 4px;   --space-2: 8px;   --space-3: 12px;
  --space-4: 16px;  --space-5: 20px;  --space-6: 24px;
  --space-8: 32px;  --space-10: 40px; --space-12: 48px;
  --space-16: 64px; --space-20: 80px; --space-24: 96px;
  --space-30: 120px; --space-40: 160px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Layout & Base */
  --max-w: 1200px;
  --nav-h: 72px;
}

:root[data-theme="dark"], :root {
  /* Surfaces (Dark Neumorphic) */
  --bg:            #292D32;
  --surface:       #292D32;
  --surface-2:     #24272C;
  --surface-elevated: #24272C;
  --border:        #1D2024;
  --border-subtle: #1D2024;
  --border-glow:   #353a40;

  /* Text */
  --text:          #FAFAFA;
  --text-secondary:#A1A1AA;
  --text-muted:    #71717A;
  --text-on-brand: #FFFFFF;

  /* Shadows */
  --shadow-sm:  4px 4px 8px #1d2024, -4px -4px 8px #353a40;
  --shadow-md:  8px 8px 16px #1d2024, -8px -8px 16px #353a40;
  --shadow-lg:  12px 12px 24px #1d2024, -12px -12px 24px #353a40;
  --shadow-xl:  20px 20px 40px #1d2024, -20px -20px 40px #353a40;
  --shadow-pressed: inset 6px 6px 10px 0 #1d2024, inset -6px -6px 10px 0 #353a40;
  --shadow-brand: 0 4px 20px rgba(255, 107, 44, 0.3);
  --shadow-brand-lg: 0 8px 40px rgba(255, 107, 44, 0.4);
}

:root[data-theme="light"] {
  /* Surfaces (Light Neumorphic) */
  --bg:            #E0E5EC;
  --surface:       #E0E5EC;
  --surface-2:     #E8EDF3;
  --surface-elevated: #E8EDF3;
  --border:        #D1D9E6;
  --border-subtle: #D1D9E6;
  --border-glow:   #ffffff;

  /* Text */
  --text:          #2D3748;
  --text-secondary:#718096;
  --text-muted:    #A0AEC0;
  --text-on-brand: #FFFFFF;

  /* Shadows */
  --shadow-sm:  4px 4px 8px #a3b1c6, -4px -4px 8px #ffffff;
  --shadow-md:  8px 8px 16px #a3b1c6, -8px -8px 16px #ffffff;
  --shadow-lg:  12px 12px 24px #a3b1c6, -12px -12px 24px #ffffff;
  --shadow-xl:  20px 20px 40px #a3b1c6, -20px -20px 40px #ffffff;
  --shadow-pressed: inset 6px 6px 10px 0 rgba(163, 177, 198, 0.7), inset -6px -6px 10px 0 rgba(255,255,255, 0.8);
  --shadow-brand: 0 4px 20px rgba(255, 107, 44, 0.3);
  --shadow-brand-lg: 0 8px 40px rgba(255, 107, 44, 0.4);
}

:root {

  /* Layout */
  --max-w: 1200px;
  --nav-h: 72px;

  /* Animation */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}

/* ─── Aurora Background ─── */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(255, 107, 44, 0.15), transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(225, 29, 72, 0.1), transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.12), transparent 50%);
  filter: blur(80px);
  animation: auroraAnim 20s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes auroraAnim {
  0% { transform: scale(1) rotate(0deg); opacity: 0.7; }
  50% { transform: scale(1.1) rotate(3deg); opacity: 1; }
  100% { transform: scale(1) rotate(-3deg); opacity: 0.7; }
}

/* Removed dark mode media query as we are defaulting to dark mode */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  background: none;
}

ul, ol { list-style: none; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }

p { color: var(--text-secondary); line-height: 1.7; }

/* ─── Immersive Effects ─── */
.text-gradient {
  background: linear-gradient(135deg, var(--brand) 0%, #FF8F5C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2s ease-in-out infinite;
}

/* ─── Layout ─── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-10);
}

.section {
  padding: var(--space-30) 0;
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--surface);
  border: none;
  box-shadow: var(--shadow-sm);
  transition: background var(--duration-normal), border-color var(--duration-normal);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-10);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-md);
  padding: 12px 24px;
  transition: all var(--duration-normal) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: var(--text-on-brand);
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  background: var(--brand-hover);
  box-shadow: var(--shadow-brand-lg);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-pressed);
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 12px 16px;
}

.btn-ghost:hover {
  color: var(--brand);
  background: var(--surface);
  box-shadow: var(--shadow-pressed);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8125rem;
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--duration-fast);
}

.btn:hover .btn-icon {
  transform: translateX(2px);
}

.btn-theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease);
  box-shadow: var(--shadow-sm);
  border: none;
}
.btn-theme-toggle:hover {
  color: var(--text);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.btn-theme-toggle:active {
  box-shadow: var(--shadow-pressed);
  transform: translateY(2px);
}
.btn-theme-toggle svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + var(--space-20)) var(--space-10) var(--space-20);
  overflow: hidden;
}

/* Removed obsolete .hero::before */

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-10);
  animation: fadeUp 0.6s var(--ease) both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--success);
}

.hero h1 {
  margin-bottom: var(--space-6);
  animation: fadeUp 0.6s var(--ease) 0.1s both;
}

.hero-sub {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-12);
  line-height: 1.7;
  font-weight: 400;
  animation: fadeUp 0.6s var(--ease) 0.2s both;
}

/* Email capture inline form */
.hero-form {
  display: flex;
  gap: var(--space-3);
  max-width: 480px;
  margin: 0 auto;
  animation: fadeUp 0.6s var(--ease) 0.3s both;
}

.hero-form input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--duration-fast);
}

.hero-form input[type="email"]::placeholder {
  color: var(--text-muted);
}

.hero-form input[type="email"]:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-dim);
}

.hero-form .btn-primary {
  flex-shrink: 0;
}

.hero-trust {
  margin-top: var(--space-8);
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  animation: fadeUp 0.6s var(--ease) 0.4s both;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.hero-trust-icon {
  width: 14px;
  height: 14px;
  color: var(--success);
}

/* ─── Stats Bar ─── */
.stats-bar {
  border: none;
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}

.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
}

.stat {
  text-align: center;
  padding: var(--space-12) var(--space-6);
  position: relative;
}

.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: transparent;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-value .stat-highlight {
  color: var(--brand);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ─── Pain Points / Bento Grid ─── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-16);
}

.bento-card {
  position: relative;
  padding: var(--space-10);
  background: var(--surface);
  border: none;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease);
  box-shadow: var(--shadow-md);
}

.bento-card:hover {
  border-color: rgba(255, 107, 44, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 107, 44, 0.1);
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.bento-icon svg {
  width: 24px;
  height: 24px;
  color: var(--brand);
}

.bento-card h3 {
  margin-bottom: var(--space-3);
}

.bento-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Featured bento card (spans 2 cols) */
.bento-card-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

.bento-card-featured .bento-content {
  padding-right: var(--space-6);
}

.bento-card-featured .bento-visual {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ─── How It Works ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-16);
}

.step {
  text-align: center;
  padding: var(--space-10) var(--space-6);
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-dim);
  color: var(--brand);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  border: 2px solid var(--brand);
}

.step h3 {
  margin-bottom: var(--space-3);
}

.step p {
  font-size: 0.9375rem;
}

/* Connector line between steps */
.step + .step::before {
  content: '';
  position: absolute;
  top: 64px;
  left: -16px;
  width: 32px;
  height: 2px;
  background: var(--border);
}

/* ─── Feature Highlights ─── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding: var(--space-20) 0;
}

.feature-row + .feature-row {
  border-top: none;
}

.feature-row:nth-child(even) {
  direction: rtl;
}

.feature-row:nth-child(even) > * {
  direction: ltr;
}

.feature-content h2 {
  margin-bottom: var(--space-4);
}

.feature-content p {
  margin-bottom: var(--space-8);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.feature-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--success-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-check svg {
  width: 12px;
  height: 12px;
  color: var(--success);
}

.feature-visual {
  background: var(--surface);
  border: none;
  border-radius: var(--radius-xl);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ─── Pricing Preview ─── */
.pricing-preview {
  margin-top: var(--space-16);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.pricing-card {
  padding: var(--space-10);
  background: var(--surface);
  border: none;
  border-radius: var(--radius-xl);
  position: relative;
  transition: all var(--duration-normal) var(--ease);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card-popular {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), 0 0 40px rgba(255, 107, 44, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--brand-gradient);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-tier {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: -0.03em;
}

/* Pricing Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border);
  transition: .3s var(--ease);
  border-radius: 34px;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s var(--ease);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
input:checked + .toggle-slider {
  background-color: var(--brand);
}
input:focus + .toggle-slider {
  box-shadow: 0 0 1px var(--brand);
}
input:checked + .toggle-slider:before {
  transform: translateX(22px);
}

.pricing-price .currency {
  font-size: 1.25rem;
  font-weight: 600;
  vertical-align: super;
  margin-right: 2px;
}

.pricing-price .period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pricing-feature .feature-check {
  width: 18px;
  height: 18px;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

/* ─── CTA Section ─── */
.cta-section {
  text-align: center;
  padding: var(--space-30) 0;
  position: relative;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  margin-bottom: var(--space-4);
}

.cta-section p {
  max-width: 480px;
  margin: 0 auto var(--space-10);
}

/* ─── Footer ─── */
.footer {
  border: none;
  box-shadow: var(--shadow-sm);
  padding: var(--space-16) 0 var(--space-10);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

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

.footer-brand .nav-logo {
  margin-bottom: var(--space-4);
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: var(--space-1) 0;
  transition: color var(--duration-fast);
}

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

.footer-bottom {
  padding-top: var(--space-8);
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-legal {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: var(--space-6);
}

.footer-legal-links a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color var(--duration-fast);
}

.footer-legal-links a:hover {
  color: var(--text-secondary);
}

/* ─── Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

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

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

/* Stagger children */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.4s; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-card-featured { grid-column: span 2; }
  .feature-row { gap: var(--space-10); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 64px;
  }

  .container { padding: 0 var(--space-5); }
  .section { padding: var(--space-20) 0; }

  /* Nav */
  .nav-links { display: none; }
  .nav-inner { padding: 0 var(--space-5); }

  /* Hero */
  .hero { padding: calc(var(--nav-h) + var(--space-12)) var(--space-5) var(--space-12); min-height: auto; }
  .hero-form { flex-direction: column; }
  .hero-form .btn-primary { width: 100%; }
  .hero-trust { flex-direction: column; gap: var(--space-2); }

  /* Stats */
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat::before { display: none; }
  .stat { padding: var(--space-8) var(--space-4); border-bottom: 1px solid var(--border); }

  /* Bento */
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card-featured { grid-column: span 1; grid-template-columns: 1fr; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .step + .step::before { display: none; }

  /* Features */
  .feature-row { grid-template-columns: 1fr; }
  .feature-row:nth-child(even) { direction: ltr; }
  .feature-visual { min-height: 280px; }

  /* Pricing */
  .pricing-cards { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-4); text-align: center; }
}
/* ─── Utils ─── */
.feature-check-icon {
  width: 12px;
  height: 12px;
  background-color: var(--success);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
}


