/* ============================================
   ROCKETRETAIL — Marketing Site Stylesheet v2
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; transition: background-color 0.4s ease, color 0.4s ease; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* --- NOISE OVERLAY --- */
.noise-svg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.025;
  z-index: 9999;
}

/* --- CSS CUSTOM PROPERTIES (LIGHT MODE) --- */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-tertiary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --card-bg: #ffffff;
  --card-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --card-shadow-hover: 0 10px 40px rgba(0,0,0,0.08);
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --primary-bg: #eef2ff;
  --accent: #06b6d4;
  --accent-light: #22d3ee;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --gradient: linear-gradient(135deg, #6366f1, #8b5cf6);
  --gradient-text: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
  --nav-bg: rgba(255,255,255,0.8);
  --nav-border: rgba(226,232,240,0.8);
  --hero-bg: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  --mockup-bg: #f8fafc;
  --mockup-border: #e2e8f0;
  --code-bg: #f1f5f9;
  --section-alt: #f8fafc;
  --tag-bg: #eef2ff;
  --tag-color: #6366f1;
  --pricing-popular-bg: linear-gradient(135deg, #6366f1, #8b5cf6);
  --faq-hover: #f8fafc;
  --footer-bg: #0f172a;
  --footer-text: #94a3b8;
  --footer-heading: #f1f5f9;
  --cta-bg: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #7c3aed 100%);
  --glass-bg: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.12);
}

/* --- DARK MODE --- */
[data-theme="dark"] {
  --bg-primary: #0b0f1a;
  --bg-secondary: #141b2d;
  --bg-tertiary: #1e293b;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --text-muted: #64748b;
  --border: #1e293b;
  --border-light: #141b2d;
  --card-bg: #141b2d;
  --card-shadow: 0 1px 3px rgba(0,0,0,0.4), 0 4px 12px rgba(0,0,0,0.3);
  --card-shadow-hover: 0 10px 40px rgba(0,0,0,0.5);
  --primary-bg: rgba(99,102,241,0.12);
  --nav-bg: rgba(11,15,26,0.88);
  --nav-border: rgba(30,41,59,0.8);
  --hero-bg: linear-gradient(180deg, #0b0f1a 0%, #141b2d 100%);
  --mockup-bg: #141b2d;
  --mockup-border: #1e293b;
  --code-bg: #1e293b;
  --section-alt: #0f1525;
  --tag-bg: rgba(99,102,241,0.15);
  --tag-color: #818cf8;
  --faq-hover: #141b2d;
  --footer-bg: #060912;
  --glass-bg: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
}

body { background-color: var(--bg-primary); color: var(--text-primary); }

/* --- LAYOUT --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; }
.section { padding: 100px 0; }

/* --- TYPOGRAPHY --- */
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.1rem; font-weight: 700; line-height: 1.3; }

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { margin-bottom: 16px; }
.section-subtitle { font-size: 1.15rem; color: var(--text-tertiary); max-width: 600px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--tag-bg);
  color: var(--tag-color);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  padding: 12px 24px;
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-sm { padding: 8px 18px; font-size: 0.875rem; border-radius: 10px; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; border-radius: 14px; }
.btn-block { width: 100%; justify-content: center; }

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s;
}
.btn:hover .btn-icon { transform: translateX(4px); }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 15px rgba(99,102,241,0.3);
}
.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(99,102,241,0.45);
  transform: translateY(-2px);
}
.btn-glass {
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-glass:hover {
  border-color: var(--primary-light);
  color: var(--primary);
  background: var(--primary-bg);
  transform: translateY(-2px);
}
.btn-ghost {
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-bg);
}
.btn-outline {
  color: var(--primary);
  border: 2px solid var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: #6366f1;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.btn-ghost-light {
  color: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

/* --- NAVIGATION --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nav-border);
  transition: all 0.3s ease;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
}
.logo-mark {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--primary-bg);
}
.logo-mark svg {
  width: 24px;
  height: 24px;
}
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  transition: all 0.2s;
}
.theme-toggle:hover { background: var(--bg-tertiary); color: var(--text-primary); }
.theme-toggle svg { width: 20px; height: 20px; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- HERO --- */
.hero {
  position: relative;
  padding: 140px 0 100px;
  background: var(--hero-bg);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-mesh {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99,102,241,0.12), transparent 70%);
}
[data-theme="dark"] .hero-mesh {
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99,102,241,0.2), transparent 70%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: #6366f1;
  top: -200px;
  right: -100px;
  opacity: 0.12;
}
.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: #06b6d4;
  bottom: -100px;
  left: -100px;
  opacity: 0.1;
}
.hero-orb-3 {
  width: 350px;
  height: 350px;
  background: #8b5cf6;
  top: 40%;
  right: 25%;
  opacity: 0.08;
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--primary-bg);
  color: var(--primary);
  border: 1px solid rgba(99,102,241,0.15);
  margin-bottom: 24px;
}
.hero-badge-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  margin-right: 10px;
  flex-shrink: 0;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-tertiary);
  margin-top: 20px;
  max-width: 520px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-proof-avatars { display: flex; }
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  margin-right: -8px;
  border: 2.5px solid var(--bg-primary);
  background: var(--c, #818cf8);
}
.hero-proof p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Hero Visual + Mockup */
.hero-visual {
  position: relative;
}
.mockup-wrapper {
  perspective: 1200px;
  position: relative;
}
.mockup-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.12), transparent 70%);
  filter: blur(30px);
  z-index: 0;
  border-radius: 50%;
}
[data-theme="dark"] .mockup-glow {
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.2), transparent 70%);
}
.mockup {
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow-hover);
  overflow: hidden;
  position: relative;
  z-index: 1;
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s ease;
}
.mockup-wrapper:hover .mockup {
  transform: rotateY(0) rotateX(0);
}
.mockup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #10b981; }
.mockup-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}
.mockup-body {
  display: flex;
  padding: 20px;
  gap: 16px;
  min-height: 280px;
}
.mockup-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 40px;
}
.mockup-nav-item {
  height: 36px;
  border-radius: 8px;
  background: var(--bg-tertiary);
  transition: background 0.2s;
}
.mockup-nav-item.active { background: var(--primary); opacity: 0.8; }
.mockup-main { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.mockup-stats { display: flex; gap: 12px; }
.mockup-stat {
  flex: 1;
  padding: 14px;
  background: var(--bg-secondary);
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--border);
}
.mockup-stat-value {
  font-size: 1.1rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
}
.stat-green .mockup-stat-value { color: #10b981; }
.stat-blue .mockup-stat-value { color: #3b82f6; }
.stat-purple .mockup-stat-value { color: #8b5cf6; }
.mockup-stat-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.mockup-stat-trend {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  color: #10b981;
  margin-top: 4px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(16,185,129,0.1);
}
.mockup-chart {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 12px;
  background: var(--bg-secondary);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.mockup-bar {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 4px 4px 0 0;
  background: var(--gradient);
  min-height: 16px;
  animation: barGrow 1.5s ease-out forwards;
  transform-origin: bottom;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.mockup-bar:hover { opacity: 1; }
@keyframes barGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow-hover);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  z-index: 10;
  white-space: nowrap;
}
.floating-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.fb-1 {
  bottom: 18%;
  left: -20px;
  animation: floatBadge1 4s ease-in-out infinite;
}
.fb-1 svg { color: #10b981; }
.fb-2 {
  top: 12%;
  right: -16px;
  animation: floatBadge2 4s ease-in-out infinite;
  animation-delay: 2s;
}
.fb-2 svg { color: var(--primary); }
@keyframes floatBadge1 {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}
@keyframes floatBadge2 {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
}

/* --- TRUST / LOGOS BAR --- */
.section-logos {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}
.logos-inner {
  text-align: center;
}
.logos-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.logos-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.logo-tag {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.logo-tag:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}
.logo-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.5;
  flex-shrink: 0;
}

/* --- PROBLEM SECTION --- */
.section-problem { background: var(--bg-primary); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.problem-card {
  padding: 36px 28px;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent, var(--error));
  opacity: 0;
  transition: opacity 0.35s ease;
}
.problem-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-6px);
}
.problem-card:hover::before { opacity: 1; }
.problem-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  transition: all 0.35s ease;
}
.problem-card:hover .problem-icon-wrap {
  border-color: var(--accent, var(--error));
}
.problem-icon-wrap svg {
  width: 24px;
  height: 24px;
  color: var(--accent, var(--error));
}
.problem-card h3 { margin-bottom: 10px; }
.problem-card p { color: var(--text-tertiary); font-size: 0.95rem; line-height: 1.7; }

/* --- SOLUTION SECTION --- */
.section-solution {
  background: var(--section-alt);
}
.solution-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.solution-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.solution-stat { text-align: center; }
.solution-stat-number {
  display: inline;
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.02em;
}
.solution-stat-plus {
  display: inline;
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.solution-stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* --- FEATURES SECTION --- */
.section-features { background: var(--bg-primary); }
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}
.feature-block:last-child { margin-bottom: 0; }
.feature-block-reverse { direction: rtl; }
.feature-block-reverse > * { direction: ltr; }
.feature-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fb, var(--primary));
  border: 1px solid var(--fb, var(--primary));
  background: transparent;
  margin-bottom: 16px;
  opacity: 0.9;
}
.feature-content h3 { margin-bottom: 14px; }
.feature-content > p { color: var(--text-tertiary); line-height: 1.7; margin-bottom: 24px; }
.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Check icon for feature lists */
.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: rgba(16,185,129,0.12);
  margin-top: 2px;
}
.check-icon::before {
  content: '';
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2310b981'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Delivery tags */
.delivery-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.delivery-tag {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-tertiary);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* --- FEATURE MOCKUPS --- */
.feature-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-mockup-wrap {
  perspective: 900px;
  width: 100%;
  max-width: 480px;
}
.feature-mockup {
  width: 100%;
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow-hover);
  overflow: hidden;
  font-size: 0.85rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.feature-mockup-wrap:hover .feature-mockup {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
[data-theme="dark"] .feature-mockup-wrap:hover .feature-mockup {
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* Restaurant Mockup */
.restaurant-mockup {
  display: grid;
  grid-template-columns: 80px 1fr 160px;
  min-height: 300px;
}
.fm-sidebar {
  background: var(--bg-secondary);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--border);
}
.fm-cat {
  padding: 8px 6px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  transition: all 0.2s;
}
.fm-cat.active { background: var(--primary); color: #fff; }
.fm-grid {
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-content: start;
}
.fm-item {
  padding: 12px 10px;
  border-radius: 8px;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}
.fm-item:hover { border-color: var(--primary-light); }
.fm-item span { font-weight: 600; font-size: 0.75rem; color: var(--text-primary); }
.fm-item small { color: var(--primary); font-weight: 700; font-size: 0.75rem; }
.fm-cart {
  background: var(--bg-secondary);
  padding: 12px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.fm-cart-header {
  font-weight: 700;
  font-size: 0.75rem;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.fm-cart-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  padding: 6px 0;
  color: var(--text-secondary);
}
.fm-cart-item span { font-weight: 600; color: var(--text-primary); }
.fm-cart-total {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-weight: 800;
  font-size: 0.85rem;
}
.fm-cart-btn {
  margin-top: 10px;
  padding: 8px;
  background: var(--gradient);
  color: #fff;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
  font-size: 0.75rem;
}

/* Retail Mockup */
.retail-mockup { padding: 16px; }
.fm-scanner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}
.fm-scanner svg { width: 20px; height: 20px; color: var(--text-muted); flex-shrink: 0; }
.fm-scanner span { color: var(--text-muted); font-size: 0.8rem; }
.fm-products { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.fm-product {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  background: var(--bg-secondary);
  font-size: 0.8rem;
  font-weight: 600;
}
.fm-product-color { width: 8px; height: 32px; border-radius: 4px; flex-shrink: 0; }
.fm-product small { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.7rem; margin-top: 2px; }
.fm-product.alert small { color: var(--warning); }
.fm-retail-total {
  padding: 14px;
  background: var(--bg-secondary);
  border-radius: 10px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.fm-retail-total div { display: flex; justify-content: space-between; padding: 4px 0; }
.fm-retail-total span { font-weight: 600; }
.fm-retail-grand {
  border-top: 1px solid var(--border);
  padding-top: 8px !important;
  margin-top: 4px;
  font-weight: 800 !important;
  font-size: 1rem !important;
  color: var(--text-primary);
}
.fm-retail-grand span { color: var(--primary); }

/* Kiosk Mockup */
.kiosk-mockup { padding: 0; }
.fm-kiosk-screen { padding: 20px; }
.fm-kiosk-header {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.fm-kiosk-face {
  text-align: center;
  padding: 20px;
  background: var(--bg-secondary);
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}
.fm-kiosk-face svg { width: 60px; height: 60px; margin: 0 auto 8px; color: var(--primary); }
.fm-kiosk-face small { color: var(--success); font-weight: 600; font-size: 0.8rem; }
.fm-kiosk-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.fm-kiosk-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}
.fm-kiosk-item span { color: var(--primary); }
.fm-kiosk-item.age { border-left: 3px solid var(--success); }
.fm-kiosk-item em { font-style: normal; font-size: 0.7rem; color: var(--success); font-weight: 700; }
.fm-kiosk-pay {
  text-align: center;
  padding: 16px;
  background: var(--gradient);
  color: #fff;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.05rem;
}

/* Ecommerce Mockup */
.ecommerce-mockup { padding: 0; }
.fm-ecom-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.fm-ecom-logo { font-weight: 800; font-size: 0.85rem; }
.fm-ecom-nav { font-size: 0.75rem; color: var(--text-muted); }
.fm-ecom-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 18px;
}
.fm-ecom-card {
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-secondary);
  transition: transform 0.2s;
}
.fm-ecom-card:hover { transform: translateY(-2px); }
.fm-ecom-img { height: 80px; }
.fm-ecom-info { padding: 10px; font-size: 0.8rem; line-height: 1.4; }
.fm-ecom-info strong { color: var(--primary); }
.fm-ecom-delivery {
  padding: 14px 18px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  text-align: center;
}
.fm-ecom-delivery small { color: var(--text-muted); font-size: 0.7rem; }
.fm-ecom-services { font-weight: 600; font-size: 0.8rem; color: var(--text-secondary); margin-top: 4px; }

/* Loyalty Mockup */
.loyalty-mockup { padding: 20px; }
.fm-loyalty-card {
  padding: 24px;
  background: var(--gradient);
  border-radius: 16px;
  color: #fff;
}
.fm-loyalty-header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.fm-loyalty-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}
.fm-loyalty-name { font-weight: 700; font-size: 1rem; }
.fm-loyalty-tier {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 2px;
}
.fm-loyalty-points { text-align: center; margin-bottom: 18px; }
.fm-loyalty-points-num { font-size: 2.5rem; font-weight: 900; font-family: 'JetBrains Mono', monospace; }
.fm-loyalty-bar {
  height: 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 8px;
}
.fm-loyalty-bar-fill {
  height: 100%;
  background: #fff;
  border-radius: 100px;
  transition: width 1.5s ease-out;
}
.fm-loyalty-bar-label { font-size: 0.75rem; opacity: 0.7; text-align: center; margin-bottom: 20px; }
.fm-loyalty-stats {
  display: flex;
  justify-content: space-around;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 0.8rem;
  text-align: center;
}
.fm-loyalty-stats strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }

/* Dashboard Mockup */
.dashboard-mockup { padding: 16px; }
.fm-dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.fm-dash-card {
  padding: 14px;
  background: var(--bg-secondary);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.fm-dash-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  background: var(--primary-bg);
  color: var(--ic, #818cf8);
}
.fm-dash-card-icon svg { width: 16px; height: 16px; }
.fm-dash-card-label { font-size: 0.7rem; color: var(--text-muted); }
.fm-dash-card-value { font-size: 1.1rem; font-weight: 800; margin-top: 2px; font-family: 'JetBrains Mono', monospace; }
.fm-dash-card-change { font-size: 0.7rem; font-weight: 700; margin-top: 4px; }
.fm-dash-card-change.up { color: var(--success); }
.fm-dash-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fm-dash-modules span {
  padding: 6px 10px;
  background: var(--bg-secondary);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* --- MORE FEATURES --- */
.section-more { background: var(--section-alt); }
.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.more-card {
  padding: 32px 24px;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.more-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--mc, var(--gradient));
  opacity: 0;
  transition: opacity 0.35s ease;
}
.more-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-6px);
}
.more-card:hover::before { opacity: 1; }
.more-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: var(--mc, var(--gradient));
  color: #fff;
}
.more-icon svg { width: 24px; height: 24px; }
.more-card h4 { margin-bottom: 8px; }
.more-card p { color: var(--text-tertiary); font-size: 0.9rem; line-height: 1.6; }

/* --- STEPS --- */
.section-steps { background: var(--bg-primary); }
.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.step-card {
  flex: 1;
  max-width: 320px;
  padding: 36px 28px;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.35s ease;
}
.step-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-6px);
}
.step-number {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step-card h3 { margin-bottom: 10px; }
.step-card p { color: var(--text-tertiary); font-size: 0.9rem; line-height: 1.6; }
.step-connector {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 8px;
}
.step-line {
  width: 60px;
  height: 2px;
  background: var(--border);
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}
.step-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--gradient);
  border-radius: 1px;
  transition: width 1s ease 0.3s;
}
.step-connector.visible .step-line::after {
  width: 100%;
}

/* --- PRICING --- */
.section-pricing { background: var(--section-alt); }
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}
.pricing-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}
.pricing-label.active { color: var(--text-primary); }
.pricing-save {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(16,185,129,0.1);
  color: var(--success);
}
.pricing-switch {
  width: 52px;
  height: 28px;
  border-radius: 100px;
  background: var(--bg-tertiary);
  border: 2px solid var(--border);
  position: relative;
  transition: all 0.3s;
  cursor: pointer;
}
.pricing-switch.active {
  background: var(--primary);
  border-color: var(--primary);
}
.pricing-switch-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}
.pricing-switch.active .pricing-switch-knob { transform: translateX(24px); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.pricing-card {
  padding: 36px 28px;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s ease;
}
.pricing-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-6px);
}
.pricing-card-popular {
  background: var(--pricing-popular-bg);
  color: #fff;
  border: none;
  box-shadow: 0 20px 60px rgba(99,102,241,0.3);
  transform: scale(1.04);
}
[data-theme="dark"] .pricing-card-popular {
  box-shadow: 0 20px 60px rgba(99,102,241,0.2);
}
.pricing-card-popular:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: 0 25px 70px rgba(99,102,241,0.4);
}
.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  border-radius: 100px;
  background: #fff;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  white-space: nowrap;
}
.pricing-card-header h3 { font-size: 1.3rem; margin-bottom: 6px; }
.pricing-card-header p {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 24px;
}
.pricing-card-popular .pricing-card-header p { color: rgba(255,255,255,0.8); }
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 4px;
}
.pricing-currency { font-size: 1.5rem; font-weight: 700; opacity: 0.6; }
.pricing-amount {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  font-family: 'JetBrains Mono', monospace;
}
.pricing-period { font-size: 1rem; opacity: 0.6; font-weight: 500; }
.pricing-yearly-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: all 0.3s;
}
.pricing-yearly-note.visible {
  opacity: 1;
  height: auto;
  margin-bottom: 24px;
}
.pricing-card-popular .pricing-yearly-note { color: rgba(255,255,255,0.6); }

.pricing-features {
  flex: 1;
  margin-bottom: 28px;
}
.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.pricing-features li.included::before {
  background-color: rgba(16,185,129,0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2310b981'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
}
.pricing-features li.excluded {
  opacity: 0.4;
}
.pricing-features li.excluded::before {
  background-color: var(--bg-tertiary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2394a3b8'%3E%3Cpath fill-rule='evenodd' d='M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z'/%3E%3C/svg%3E");
}
/* Popular card overrides */
.pricing-card-popular .pricing-features li.included::before {
  background-color: rgba(255,255,255,0.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
}
.pricing-card-popular .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.pricing-card-popular .btn-primary:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* --- FAQ --- */
.section-faq { background: var(--bg-primary); }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}
.faq-item.open { border-color: var(--primary-light); box-shadow: 0 4px 20px rgba(99,102,241,0.08); }
[data-theme="dark"] .faq-item.open { box-shadow: 0 4px 20px rgba(99,102,241,0.15); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}
.faq-question:hover { background: var(--faq-hover); }
.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s, color 0.3s;
}
.faq-item.open .faq-question svg { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-tertiary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* --- CTA --- */
.section-cta {
  position: relative;
  padding: 120px 0;
  background: var(--cta-bg);
  color: #fff;
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; }
.cta-mesh {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255,255,255,0.08), transparent 70%);
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.cta-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.06);
  top: -200px;
  left: -100px;
}
.cta-orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(6,182,212,0.12);
  bottom: -150px;
  right: -100px;
}
.cta-inner {
  text-align: center;
  position: relative;
}
.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}
.cta-inner p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 36px;
  line-height: 1.7;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- FOOTER --- */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { max-width: 300px; }
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand .nav-logo span { color: var(--footer-heading); }
.footer-brand .logo-mark { background: rgba(99,102,241,0.15); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 { color: var(--footer-heading); font-size: 0.9rem; margin-bottom: 4px; }
.footer-links a { font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(148,163,184,0.15);
  text-align: center;
  font-size: 0.85rem;
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.reveal-right {
  transform: translateX(40px) translateY(0);
}
.reveal.reveal-right.visible {
  transform: translateX(0) translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-subtitle { margin: 20px auto 0; }
  .hero-ctas { justify-content: center; }
  .hero-proof { justify-content: center; }
  .hero-visual { order: -1; }
  .mockup-body { min-height: 220px; }
  .mockup { transform: none; }
  .mockup-wrapper:hover .mockup { transform: none; }

  .feature-block,
  .feature-block-reverse { grid-template-columns: 1fr; gap: 40px; }
  .feature-block-reverse { direction: ltr; }
  .feature-visual { justify-content: center; }
  .feature-mockup-wrap { max-width: 420px; }

  .floating-badge { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-menu-btn { display: flex; }

  /* Mobile nav dropdown */
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--nav-border);
    padding: 20px 24px;
    gap: 16px;
  }
  .nav-links.mobile-open a::after { display: none; }

  .hero { padding: 120px 0 60px; }
  .problem-grid { grid-template-columns: 1fr; }
  .more-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .pricing-card-popular { transform: none; }
  .pricing-card-popular:hover { transform: translateY(-6px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .steps-grid { flex-direction: column; gap: 0; }
  .step-connector { padding: 12px 0; }
  .step-line { width: 2px; height: 40px; }
  .step-card { max-width: 100%; width: 100%; }

  .solution-stats { gap: 28px; }

  .restaurant-mockup { grid-template-columns: 1fr; min-height: auto; }
  .fm-sidebar { flex-direction: row; border-right: none; border-bottom: 1px solid var(--border); }
  .fm-cart { border-left: none; border-top: 1px solid var(--border); }

  .logos-track { gap: 8px; }
  .logo-tag { padding: 6px 14px; font-size: 0.8rem; }
  .logo-divider { display: none; }

  .section-logos { padding: 30px 0; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  .container { padding: 0 16px; }
  .more-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .solution-stats { flex-direction: column; gap: 16px; }
  .section-header { margin-bottom: 40px; }
}

/* --- PRINT --- */
@media print {
  .nav, .section-cta, .theme-toggle, .noise-svg { display: none; }
  .reveal { opacity: 1; transform: none; }
  .floating-badge { display: none; }
}
