/* =========================================
   FIBEO — Comic Reading Platform
   Dark Theme Stylesheet
   ========================================= */

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

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a2e;
  --bg-card-hover: #22223a;
  --accent: #6366f1;
  --accent-glow: rgba(99, 102, 241, 0.3);
  --pink: #ec4899;
  --pink-glow: rgba(236, 72, 153, 0.2);
  --green: #22c55e;
  --orange: #f59e0b;
  --text-primary: #ffffff;
  --text-secondary: #a0a0b8;
  --text-muted: #6b6b80;
  --border: #2a2a3e;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --glow-accent: 0 0 40px rgba(99,102,241,0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: #818cf8; text-decoration: none; }

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

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
}

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

/* --- Section --- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-secondary); }
.section-head { text-align: center; margin-bottom: 64px; }
.section-head h2 { font-size: 40px; margin-bottom: 16px; letter-spacing: -0.5px; }
.section-head p { font-size: 18px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.section-head .label-tag {
  display: inline-block;
  background: rgba(99,102,241,0.12);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-brand {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary) !important;
  letter-spacing: -0.5px;
}
.navbar-brand span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { color: var(--text-secondary); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
  background: #818cf8;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--bg-card-hover);
  color: #fff;
  border-color: var(--accent);
}
.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--pink-glow), transparent 70%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content h1 {
  font-size: 56px;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero-content h1 .highlight {
  background: linear-gradient(135deg, var(--accent), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  font-size: 18px;
  margin-bottom: 32px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stat h4 { font-size: 28px; color: var(--text-primary); }
.hero-stat p { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* Hero Visual — Dashboard Mockup */
.hero-visual {
  position: relative;
  perspective: 1000px;
}
.dashboard-mockup {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow), var(--glow-accent);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s ease;
}
.dashboard-mockup:hover {
  transform: rotateY(0) rotateX(0);
}
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}
.dash-dots span:nth-child(1) { background: #ef4444; }
.dash-dots span:nth-child(2) { background: #f59e0b; }
.dash-dots span:nth-child(3) { background: #22c55e; }
.dash-url {
  background: var(--bg-primary);
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-muted);
  flex: 1;
  margin: 0 16px;
  text-align: center;
}
.dash-body { padding: 20px; }
.dash-featured {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 200px;
  background: linear-gradient(135deg, #1a1a3e, #2d1b4e, #1a2a4e);
  margin-bottom: 16px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.dash-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.dash-featured-text {
  position: relative;
  z-index: 1;
}
.dash-featured-text h4 { font-size: 18px; margin-bottom: 4px; }
.dash-featured-text p { font-size: 12px; color: var(--text-muted); margin: 0; }
.dash-featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--pink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 1;
}
.dash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.dash-comic {
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.dash-comic:hover { transform: translateY(-4px); }
.dash-comic-cover {
  height: 120px;
  background: linear-gradient(135deg, #2a1a3e, #1a2a4e);
  position: relative;
}
.dash-comic-cover.c1 { background: linear-gradient(135deg, #3b1a5e, #1a3a5e); }
.dash-comic-cover.c2 { background: linear-gradient(135deg, #5e1a3b, #2a1a4e); }
.dash-comic-cover.c3 { background: linear-gradient(135deg, #1a4e3b, #1a2a5e); }
.dash-comic-cover.c4 { background: linear-gradient(135deg, #4e3b1a, #3b1a4e); }
.dash-comic-info { padding: 8px 10px; }
.dash-comic-info h5 { font-size: 11px; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-comic-info span { font-size: 10px; color: var(--text-muted); }
.dash-progress {
  height: 3px;
  background: var(--bg-primary);
  border-radius: 2px;
  margin-top: 4px;
  overflow: hidden;
}
.dash-progress-bar {
  height: 100%;
  border-radius: 2px;
  background: var(--accent);
}

/* === COMIC LIBRARY === */
.comic-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.comic-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}
.comic-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--glow-accent);
}
.comic-cover {
  height: 260px;
  position: relative;
  overflow: hidden;
}
.comic-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.comic-card:hover .comic-cover-img {
  transform: scale(1.05);
}
.comic-cover-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--bg-card), transparent);
}
.comic-genre {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(99,102,241,0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}
.comic-new {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--pink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.comic-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(99,102,241,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}
.comic-card:hover .comic-hover-overlay { opacity: 1; }
.comic-hover-overlay span {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 24px;
  border: 2px solid #fff;
  border-radius: 8px;
}
.comic-info { padding: 16px; }
.comic-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comic-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.comic-progress-bar {
  height: 4px;
  background: var(--bg-primary);
  border-radius: 4px;
  overflow: hidden;
}
.comic-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--pink));
  border-radius: 4px;
  transition: width 0.5s ease;
}
.library-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-btn {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* === HOW IT WORKS === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--pink), transparent);
  z-index: 0;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}
.step-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--glow-accent);
}
.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 20px;
}
.step-card h3 { font-size: 20px; margin-bottom: 12px; }
.step-card p { font-size: 14px; color: var(--text-muted); }
.step-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

/* === DAILY USAGE (TIMELINE) === */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--pink), var(--accent));
}
.timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 36px;
  position: relative;
}
.timeline-dot {
  width: 56px;
  min-width: 56px;
  height: 56px;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  position: relative;
  z-index: 1;
}
.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  flex: 1;
  transition: all 0.3s ease;
}
.timeline-content:hover {
  border-color: var(--accent);
  box-shadow: var(--glow-accent);
}
.timeline-content h4 { font-size: 17px; margin-bottom: 6px; }
.timeline-content .time-label {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}
.timeline-content p { font-size: 14px; color: var(--text-muted); margin: 0; }
.timeline-note {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  background: rgba(99,102,241,0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(99,102,241,0.2);
  font-size: 15px;
  color: var(--text-secondary);
  font-style: italic;
}

/* === NOTIFICATIONS & EMAIL === */
.notif-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.notif-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s ease;
}
.notif-card:hover {
  border-color: var(--accent);
  box-shadow: var(--glow-accent);
}
.notif-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(99,102,241,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.notif-card h3 { font-size: 18px; margin-bottom: 8px; }
.notif-card p { font-size: 14px; color: var(--text-muted); }

/* === ACTIVITY FLOW === */
.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.flow-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  min-width: 180px;
  transition: all 0.3s ease;
}
.flow-step:hover {
  border-color: var(--accent);
  box-shadow: var(--glow-accent);
}
.flow-step-icon { font-size: 28px; margin-bottom: 10px; display: block; }
.flow-step h4 { font-size: 14px; margin-bottom: 4px; }
.flow-step p { font-size: 12px; color: var(--text-muted); margin: 0; }
.flow-arrow { font-size: 24px; color: var(--accent); }

/* === EMAIL PREVIEW === */
.email-previews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.email-mockup {
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}
.email-mockup:hover { transform: translateY(-6px); }
.email-header-bar {
  background: #f5f5f5;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e5e5e5;
}
.email-header-bar .dot { width: 8px; height: 8px; border-radius: 50%; }
.email-header-bar .dot.r { background: #ef4444; }
.email-header-bar .dot.y { background: #f59e0b; }
.email-header-bar .dot.g { background: #22c55e; }
.email-body { padding: 24px; color: #333; }
.email-body .email-brand {
  font-size: 20px;
  font-weight: 800;
  color: #6366f1;
  margin-bottom: 16px;
  display: block;
}
.email-body h4 { font-size: 16px; color: #111; margin-bottom: 8px; }
.email-body p { font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 12px; }
.email-body .email-btn {
  display: inline-block;
  background: #6366f1;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
}
.email-body .email-divider {
  height: 1px;
  background: #eee;
  margin: 16px 0;
}
.email-body .email-footer-text {
  font-size: 11px;
  color: #999;
}
.email-body .email-summary-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
  color: #444;
}
.email-body .email-summary-icon {
  width: 32px;
  height: 32px;
  background: #f0f0ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.email-type-label {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* === USER CONTROL === */
.control-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.control-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}
.control-card:hover {
  border-color: var(--accent);
  box-shadow: var(--glow-accent);
}
.control-icon { font-size: 36px; margin-bottom: 16px; display: block; }
.control-card h3 { font-size: 18px; margin-bottom: 10px; }
.control-card p { font-size: 14px; color: var(--text-muted); }

/* Toggle switch UI */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.toggle-row:last-child { border-bottom: none; }
.toggle-row span { font-size: 14px; }
.toggle-switch {
  width: 44px;
  height: 24px;
  background: var(--border);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}
.toggle-switch.on { background: var(--accent); }
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
}
.toggle-switch.on::after { transform: translateX(20px); }

/* === PRICING === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-accent);
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: var(--glow-accent);
  transform: scale(1.05);
}
.pricing-card.featured:hover { transform: scale(1.05) translateY(-4px); }
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--pink));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
}
.pricing-card h3 { font-size: 22px; margin-bottom: 8px; }
.pricing-price {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 16px 0;
}
.pricing-price span { font-size: 16px; color: var(--text-muted); font-weight: 400; }
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  text-align: left;
}
.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
}
.pricing-features li.disabled { color: var(--text-muted); opacity: 0.5; }
.pricing-features li.disabled::before { content: '—'; color: var(--text-muted); }

/* === STATS === */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.stat-box h3 {
  font-size: 36px;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.stat-box p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* === TRUST === */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}
.trust-card:hover {
  border-color: var(--accent);
}
.trust-icon { font-size: 36px; margin-bottom: 16px; display: block; }
.trust-card h3 { font-size: 18px; margin-bottom: 10px; }
.trust-card p { font-size: 14px; color: var(--text-muted); }

/* === FINAL CTA === */
.cta-section {
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(236,72,153,0.08));
  pointer-events: none;
}
.cta-section h2 {
  font-size: 44px;
  margin-bottom: 16px;
  position: relative;
}
.cta-section p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-buttons { position: relative; display: flex; gap: 16px; justify-content: center; }

/* === FOOTER === */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.footer-brand h3 span { color: var(--accent); }
.footer-brand p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  transition: all 0.3s ease;
}
.footer-social a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); font-size: 14px; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--text-muted); }
.footer-legal a:hover { color: var(--text-primary); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-content h1 { font-size: 42px; }
  .comic-grid { grid-template-columns: repeat(3, 1fr); }
  .email-previews { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 28px; }
  .section-head p { font-size: 15px; }
  .hero-content h1 { font-size: 32px; }
  .hero-content p { font-size: 16px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .comic-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .comic-cover { height: 200px; }
  .notif-grid { grid-template-columns: 1fr; }
  .flow-steps { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .control-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .cta-section h2 { font-size: 30px; }
  .hero-cta { flex-direction: column; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .comic-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .comic-cover { height: 160px; }
  .comic-info { padding: 10px; }
  .comic-title { font-size: 13px; }
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
