/* style.css - Premium CediSmart Dark Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@600;700;800;900&display=swap');

:root {
  --bg-primary: #050d06;
  --bg-secondary: #0a170b;
  --surface: #0e2210;
  --surface-low: #081509;
  --surface-high: #132d16;
  --primary: #22c55e;
  --primary-glow: rgba(34, 197, 94, 0.15);
  --accent: #d97706;
  --accent-glow: rgba(217, 119, 6, 0.2);
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --border: rgba(255, 255, 255, 0.05);
  --border-glow: rgba(34, 197, 94, 0.25);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Gradients */
.glow-bg {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  z-index: 0;
  pointer-events: none;
  filter: blur(80px);
}

.glow-bg-left {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  bottom: 20%;
  left: -200px;
  z-index: 0;
  pointer-events: none;
  filter: blur(80px);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 13, 6, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  color: var(--text-primary);
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.btn-header {
  background: linear-gradient(135deg, var(--primary), #15803d);
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--primary-glow);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  animation: pulse-badge 3s infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #16a34a);
  color: #fff;
  font-weight: 600;
  padding: 16px 28px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 10px 20px -5px rgba(22, 163, 74, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -5px rgba(22, 163, 74, 0.5);
}

.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-weight: 600;
  padding: 16px 28px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
  background-color: var(--surface-high);
  border-color: var(--primary);
}

/* Smartphone Chassis Mockup */
.mockup-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-chassis {
  width: 320px;
  height: 640px;
  background-color: #000;
  border: 12px solid #1a1a1a;
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--border);
  overflow: hidden;
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background-color: var(--bg-secondary);
  display: flex;
  flex-direction: column;
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Social Proof Stats Bar ===== */
.stats-bar {
  padding: 48px 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  min-width: 140px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), #6ee7b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
  line-height: 1.2;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 6px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, rgba(34, 197, 94, 0.3), transparent);
}

/* ===== Features Grid ===== */
.features {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-card {
  background-color: var(--surface-low);
  border: 1px solid var(--border);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(34, 197, 94, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
}

.feature-icon-wrapper.accent {
  background-color: rgba(217, 119, 6, 0.1);
  color: var(--accent);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 100px 0;
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

.step-card {
  background: var(--surface-low);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  flex: 1;
  max-width: 320px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(34, 197, 94, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(34, 197, 94, 0.3);
  padding-top: 80px;
  flex-shrink: 0;
}

/* ===== Interactive Masking Preview Card ===== */
.preview-section {
  padding: 100px 0;
}

.preview-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.card-mockup {
  background-color: #122214;
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

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

.card-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.card-btn {
  background-color: rgba(255, 255, 255, 0.15);
  border: none;
  padding: 6px 14px;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.2s;
}

.card-btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.card-amount {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 16px;
}

.card-footer-item h4 {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}

.card-footer-item p {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

/* ===== App Screenshot Showcase ===== */
.showcase {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.showcase-gallery {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.showcase-item {
  text-align: center;
  flex: 0 0 auto;
}

.showcase-phone {
  width: 240px;
  height: 480px;
  border-width: 8px;
  border-radius: 32px;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.showcase-item:hover .showcase-phone {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 40px 60px -20px rgba(34, 197, 94, 0.2), 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.showcase-caption {
  margin-top: 24px;
}

.showcase-caption h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.showcase-caption p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ===== Testimonials ===== */
.testimonials {
  padding: 100px 0;
  background-color: var(--bg-primary);
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--surface-low);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.15);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #15803d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}

.author-role {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ===== Pricing Section ===== */
.pricing {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 40px auto 0 auto;
}

.pricing-card {
  background-color: var(--surface-low);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
}

.pricing-card.free-plan {
  border-color: rgba(156, 163, 175, 0.15);
}

.pricing-card.free-plan:hover {
  border-color: rgba(156, 163, 175, 0.3);
}

.pricing-card.premium-plan {
  border-color: rgba(217, 119, 6, 0.3);
}

.pricing-card.premium-plan:hover {
  border-color: var(--accent);
}

.pricing-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background-color: var(--primary);
  color: var(--bg-primary);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-badge.free-badge {
  background-color: rgba(156, 163, 175, 0.2);
  color: var(--text-secondary);
}

.pricing-badge.business-badge {
  background-color: var(--accent);
  color: #fff;
}

.pricing-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-cost {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-cost span {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 400;
}

.pricing-desc {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 32px;
  min-height: 42px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.pricing-features li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-features li.unsupported {
  opacity: 0.4;
  text-decoration: line-through;
}

/* ===== Download Cards ===== */
.download-card {
  background-color: var(--surface-low);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: var(--radius-xl);
  text-align: left;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  transition: border-color 0.3s ease;
}

.download-card:hover {
  border-color: var(--border-glow);
}

/* ===== CTA Banner ===== */
.cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(217, 119, 6, 0.05) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.cta-content p {
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  justify-content: center;
}

/* ===== FAQ Accordion ===== */
.faq {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--surface-low);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  text-align: left;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question svg {
  transition: transform 0.3s;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  padding: 0 24px;
}

.faq-item.active {
  border-color: rgba(34, 197, 94, 0.2);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-item.active .faq-answer {
  padding-bottom: 24px;
}

/* ===== Footer ===== */
footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
  background-color: var(--bg-primary);
  font-size: 14px;
  color: var(--text-secondary);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
}

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

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 14px;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 12px;
}

/* ===== Hamburger Menu Button ===== */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
  padding: 0;
}

.hamburger-menu span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Open states for spans */
.hamburger-menu.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile-only styles */
.mobile-only {
  display: none;
}

/* ===== Scroll Reveal Animations ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger children within grids */
  .features-grid .reveal-on-scroll:nth-child(2) { transition-delay: 0.1s; }
  .features-grid .reveal-on-scroll:nth-child(3) { transition-delay: 0.2s; }
  .features-grid .reveal-on-scroll:nth-child(4) { transition-delay: 0.3s; }
  .features-grid .reveal-on-scroll:nth-child(5) { transition-delay: 0.4s; }
  .features-grid .reveal-on-scroll:nth-child(6) { transition-delay: 0.5s; }

  .testimonials-grid .reveal-on-scroll:nth-child(2) { transition-delay: 0.15s; }
  .testimonials-grid .reveal-on-scroll:nth-child(3) { transition-delay: 0.3s; }

  .pricing-grid .reveal-on-scroll:nth-child(2) { transition-delay: 0.12s; }
  .pricing-grid .reveal-on-scroll:nth-child(3) { transition-delay: 0.24s; }

  .showcase-gallery .reveal-on-scroll:nth-child(2) { transition-delay: 0.15s; }
  .showcase-gallery .reveal-on-scroll:nth-child(3) { transition-delay: 0.3s; }
}

/* ===== Responsive Rules ===== */
@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 64px;
  }
  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-content p {
    margin: 0 auto 40px;
  }
  .hero-actions {
    justify-content: center;
  }
  .preview-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .preview-info {
    text-align: center;
  }
  .steps-grid {
    flex-direction: column;
    align-items: center;
  }
  .step-connector {
    transform: rotate(90deg);
    padding-top: 0;
  }
  .step-card {
    max-width: 400px;
    width: 100%;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }

  .hamburger-menu {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(5, 13, 6, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--border);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: right 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    z-index: 1050;
    padding: 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    font-size: 18px;
    font-weight: 600;
  }

  .btn-header {
    display: none;
  }

  .stats-grid {
    gap: 24px;
  }
  .stat-divider {
    display: none;
  }
  .stat-number {
    font-size: 32px;
  }

  .showcase-gallery {
    gap: 32px;
  }
  .showcase-phone {
    width: 200px;
    height: 400px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 40px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions a {
    width: 100%;
    justify-content: center;
  }
  .section-header h2 {
    font-size: 32px;
  }
  .cta-content h2 {
    font-size: 32px;
  }
  .pricing-cost {
    font-size: 36px;
  }
  .stat-item {
    min-width: 100px;
  }
}
