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

/* ============================================================
   Mahamatrix — paleta dourado/roxo (espelha o frontend-agent)
   ============================================================ */
:root {
  /* Fundos roxo profundo */
  --bg: #120a1c;
  --bg-2: #0f0818;
  --card: #1a1028;
  --card-60: rgba(26, 16, 40, 0.65);

  /* Dourado primário (mesmo do agente) */
  --primary: #e8c87a;
  --primary-2: #d4b062;
  --primary-fg: #3a2610;
  --accent: #c9a84c;

  /* Texto */
  --fg: #ece6f5;
  --muted: #9a8fb0;
  --border: rgba(232, 200, 122, 0.10);
  --border-strong: rgba(232, 200, 122, 0.20);

  /* Tiers */
  --gold: #e8c87a;
  --silver: #c0b8a8;
  --bronze: #b8884a;
  --green: #7fc9a8;

  --radius: 0.75rem;

  /* Tipografia */
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* GLASS CARDS */
.glass-card {
  background: var(--card-60);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.glass-card-hover {
  background: var(--card-60);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.glass-card-hover:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 0 30px -5px rgba(232, 200, 122, 0.18);
}

/* GRADIENT TEXT — dourado puro (não mistura com azul) */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-serif);
  font-weight: 500;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-2) 100%);
  color: var(--primary-fg);
  border-radius: 9999px; padding: 0.75rem 1.5rem;
  font-weight: 600; font-size: 0.875rem;
  transition: all 0.3s; border: 1px solid rgba(232, 200, 122, 0.5); cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset,
              0 4px 14px rgba(180, 140, 60, 0.35);
}
.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset,
              0 6px 20px rgba(180, 140, 60, 0.5);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid var(--border-strong); color: var(--fg);
  border-radius: 9999px; padding: 0.75rem 1.5rem;
  font-weight: 600; font-size: 0.875rem;
  transition: all 0.3s; cursor: pointer; background: transparent;
}
.btn-ghost:hover {
  background: rgba(232, 200, 122, 0.08);
  border-color: rgba(232, 200, 122, 0.4);
  color: var(--primary);
}
.btn-outline {
  display: block; text-align: center;
  border: 1px solid var(--border-strong); color: var(--fg);
  border-radius: 9999px; padding: 0.625rem;
  font-weight: 600; font-size: 0.875rem;
  transition: all 0.3s; background: transparent;
}
.btn-outline:hover {
  border-color: rgba(232, 200, 122, 0.4);
  background: rgba(232, 200, 122, 0.06);
  color: var(--primary);
}

/* FADE-UP ANIMATION */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease forwards; opacity: 0; }

/* REVEAL ON SCROLL */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* PULSE */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all 0.3s;
}
.navbar.scrolled {
  background: rgba(18, 10, 28, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 4rem; padding: 0 1.5rem;
}
.logo {
  display: flex; align-items: center; gap: 0.5rem;
}
.logo-icon { color: var(--primary); transition: transform 0.3s; }
.logo:hover .logo-icon { transform: rotate(12deg); }
.logo span { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: 0.875rem; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--fg); }
.nav-right { display: flex; align-items: center; gap: 0.75rem; }
.nav-login { font-size: 0.875rem; color: var(--muted); transition: color 0.2s; }
.nav-login:hover { color: var(--fg); }
.nav-right .btn-primary { padding: 0.5rem 1.25rem; }
.mobile-toggle { display: none; background: none; border: none; color: var(--fg); cursor: pointer; }
.mobile-menu {
  display: none; flex-direction: column;
  background: rgba(18, 10, 28, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 1rem 1rem;
}
.mobile-menu a {
  padding: 0.75rem 0; color: var(--muted); border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--fg); }
.mobile-menu.open { display: flex; }

@media (max-width: 768px) {
  .nav-links, .nav-right { display: none; }
  .mobile-toggle { display: block; }
}

/* ========== HERO ========== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; overflow: hidden; padding-top: 4rem;
}
.hero-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(120px);
  animation: pulse 4s ease-in-out infinite;
}
.orb-1 { top: 25%; left: 25%; width: 24rem; height: 24rem; background: rgba(59,130,246,0.1); }
.orb-2 { bottom: 33%; right: 25%; width: 20rem; height: 20rem; background: rgba(245,158,11,0.05); animation-delay: 2s; }
.orb-3 { top: 50%; left: 50%; transform: translate(-50%,-50%); width: 37rem; height: 37rem; background: rgba(59,130,246,0.05); filter: blur(150px); }
.hero-grid-dots {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.03;
  background-image: radial-gradient(circle at 1px 1px, var(--fg) 1px, transparent 0);
  background-size: 40px 40px;
}
.hero-content { position: relative; z-index: 10; max-width: 56rem; margin: 0 auto; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 1rem; border-radius: 9999px;
  border: 1px solid rgba(59,130,246,0.2);
  background: rgba(59,130,246,0.05);
  color: var(--primary); font-size: 0.875rem; margin-bottom: 2rem;
}
.badge-dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--primary); animation: pulse 2s infinite;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 4.25rem); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem); color: var(--muted);
  max-width: 40rem; margin: 0 auto 2.5rem; line-height: 1.7;
}
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.hero-ctas .btn-primary, .hero-ctas .btn-ghost { font-size: 1rem; }

/* Chat mockup */
.chat-mockup { margin-top: 4rem; position: relative; max-width: 40rem; margin-left: auto; margin-right: auto; }
.chat-mockup .glass-card { padding: 0.25rem; box-shadow: 0 25px 50px -12px rgba(59,130,246,0.1); }
.chat-inner { background: var(--card); border-radius: calc(var(--radius) - 2px); padding: 1rem; }
.chat-header {
  display: flex; align-items: center; gap: 0.5rem;
  padding-bottom: 0.75rem; margin-bottom: 0.75rem; border-bottom: 1px solid var(--border);
}
.dot { width: 0.75rem; height: 0.75rem; border-radius: 50%; }
.dot.red { background: rgba(239,68,68,0.6); }
.dot.yellow { background: rgba(245,158,11,0.6); }
.dot.green { background: rgba(34,197,94,0.6); }
.chat-title { margin-left: 0.5rem; font-size: 0.75rem; color: var(--muted); }
.chat-messages { display: flex; flex-direction: column; gap: 0.75rem; }
.msg { padding: 0.5rem 1rem; font-size: 0.875rem; max-width: 80%; border-radius: 1rem; }
.msg-user {
  align-self: flex-end; background: rgba(59,130,246,0.15);
  color: var(--fg); border-bottom-right-radius: 0.25rem;
}
.msg-ai {
  align-self: flex-start; background: rgba(255,255,255,0.05);
  color: var(--muted); border-bottom-left-radius: 0.25rem;
}
.chat-glow {
  position: absolute; bottom: -1rem; left: 50%; transform: translateX(-50%);
  width: 75%; height: 2rem; background: rgba(59,130,246,0.1);
  filter: blur(16px); border-radius: 9999px;
}

/* ========== SLIDER ========== */
.slider-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  max-height: 900px;
  overflow: hidden;
  background: var(--bg);
  margin-top: 0;
}

/* Empurra o conteúdo do slide para não ficar atrás do navbar */
.slide-inner {
  padding-top: 4.5rem;
}

.slider-track { width: 100%; height: 100%; }

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
.slide.active {
  opacity: 1;
  pointer-events: all;
}

/* Backgrounds por tema — todos em tons roxo/dourado */
.slide[data-bg="blue"] .slide-bg {
  background: radial-gradient(ellipse 80% 70% at 70% 50%, rgba(74, 46, 112, 0.30) 0%, transparent 70%),
              radial-gradient(ellipse 50% 60% at 10% 80%, rgba(232, 200, 122, 0.10) 0%, transparent 60%),
              linear-gradient(135deg, #1a0f2e 0%, #120a1c 100%);
}
.slide[data-bg="blue"] { color: #e8c87a; }

.slide[data-bg="purple"] .slide-bg {
  background: radial-gradient(ellipse 80% 70% at 65% 40%, rgba(99, 56, 145, 0.32) 0%, transparent 70%),
              radial-gradient(ellipse 50% 60% at 20% 90%, rgba(232, 200, 122, 0.08) 0%, transparent 60%),
              linear-gradient(135deg, #1d0e2f 0%, #120a1c 100%);
}
.slide[data-bg="purple"] { color: #d4b062; }

.slide[data-bg="gold"] .slide-bg {
  background: radial-gradient(ellipse 80% 70% at 70% 50%, rgba(232, 200, 122, 0.18) 0%, transparent 70%),
              radial-gradient(ellipse 40% 50% at 15% 75%, rgba(180, 140, 60, 0.12) 0%, transparent 60%),
              linear-gradient(135deg, #1c1224 0%, #120a1c 100%);
}
.slide[data-bg="gold"] { color: #e8c87a; }

.slide[data-bg="teal"] .slide-bg {
  background: radial-gradient(ellipse 80% 70% at 68% 48%, rgba(127, 201, 168, 0.14) 0%, transparent 70%),
              radial-gradient(ellipse 50% 60% at 15% 80%, rgba(232, 200, 122, 0.10) 0%, transparent 60%),
              linear-gradient(135deg, #14102a 0%, #120a1c 100%);
}
.slide[data-bg="teal"] { color: #c0e0c8; }

/* Fundo do slide (full cover) */
.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Orbs animados dentro de cada slide */
.slide-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: pulse 5s ease-in-out infinite;
  pointer-events: none;
}
.slide[data-bg="blue"]    .slide-orb-a { width: 50vw; height: 50vw; top: -10%; right: -5%; background: rgba(74, 46, 112, 0.20); }
.slide[data-bg="blue"]    .slide-orb-b { width: 30vw; height: 30vw; bottom: 0; left: 5%;  background: rgba(232, 200, 122, 0.07); animation-delay: 2s; }
.slide[data-bg="purple"]  .slide-orb-a { width: 55vw; height: 55vw; top: -15%; right: -10%; background: rgba(99, 56, 145, 0.22); }
.slide[data-bg="purple"]  .slide-orb-b { width: 25vw; height: 25vw; bottom: 5%; left: 0;  background: rgba(232, 200, 122, 0.06); animation-delay: 1.5s; }
.slide[data-bg="gold"]    .slide-orb-a { width: 50vw; height: 50vw; top: -5%; right: 0%;  background: rgba(232, 200, 122, 0.14); }
.slide[data-bg="gold"]    .slide-orb-b { width: 35vw; height: 35vw; bottom: -10%; left: 5%; background: rgba(180, 140, 60, 0.10); animation-delay: 3s; }
.slide[data-bg="teal"]    .slide-orb-a { width: 50vw; height: 50vw; top: -10%; right: -5%; background: rgba(127, 201, 168, 0.10); }
.slide[data-bg="teal"]    .slide-orb-b { width: 30vw; height: 30vw; bottom: 0%; left: 3%;  background: rgba(232, 200, 122, 0.06); animation-delay: 2.5s; }

/* Grid dots overlay */
.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.025) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Símbolo SVG decorativo (lado direito) */
.slide-symbol {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(45vw, 480px);
  height: min(45vw, 480px);
  opacity: 0.7;
  color: currentColor;
  z-index: 1;
  transition: transform 1s ease;
  animation: symbol-float 8s ease-in-out infinite;
}
@keyframes symbol-float {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  50%       { transform: translateY(calc(-50% - 12px)) rotate(2deg); }
}

/* Conteúdo do slide */
.slide-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding-top: 0;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: currentColor;
  opacity: 0.7;
  margin-bottom: 20px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid currentColor;
  opacity: 0.55;
}
.slide.active .slide-tag { animation: fadeUp 0.7s 0.1s ease both; }

.slide-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 22px;
  color: var(--fg);
}
.slide.active .slide-title { animation: fadeUp 0.7s 0.2s ease both; }

.slide-desc {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 36px;
}
.slide.active .slide-desc { animation: fadeUp 0.7s 0.3s ease both; }

.slide-ctas {
  display: flex;
  align-items: center;
  gap: 18px;
}
.slide.active .slide-ctas { animation: fadeUp 0.7s 0.4s ease both; }

.slide-level { font-size: 14px; font-weight: 700; }
.slide-level .badge-gold   { color: var(--gold); }
.slide-level .badge-silver { color: var(--silver); }
.slide-level .badge-bronze { color: var(--bronze); }

/* Número do slide */
.slide-number {
  position: absolute;
  bottom: 48px;
  right: 48px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--muted);
  opacity: 0.5;
  z-index: 3;
}

/* Setas de navegação */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(26, 16, 40, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.slider-arrow:hover {
  background: rgba(232, 200, 122, 0.16);
  border-color: rgba(232, 200, 122, 0.4);
  color: var(--primary);
  transform: translateY(-50%) scale(1.08);
}
.slider-prev { left: 24px; }
.slider-next { right: 24px; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.slider-dot.active {
  width: 28px;
  background: var(--primary);
}

/* Barra de progresso */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.06);
  z-index: 10;
}
.slider-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  width: 0%;
  transition: width linear;
}

/* ── Tema indigo (slide 1 — apresentação) → agora roxo/dourado ── */
.slide[data-bg="indigo"] .slide-bg {
  background: radial-gradient(ellipse 75% 65% at 72% 50%, rgba(99, 56, 145, 0.28) 0%, transparent 70%),
              radial-gradient(ellipse 50% 55% at 10% 80%, rgba(232, 200, 122, 0.10) 0%, transparent 60%),
              radial-gradient(ellipse 35% 40% at 50% 5%, rgba(74, 46, 112, 0.14) 0%, transparent 60%),
              linear-gradient(160deg, #1a0f2e 0%, #120a1c 100%);
}
.slide[data-bg="indigo"] { color: #e8c87a; }
.slide[data-bg="indigo"] .slide-orb-a { width: 55vw; height: 55vw; top: -20%; right: -8%; background: rgba(99, 56, 145, 0.16); }
.slide[data-bg="indigo"] .slide-orb-b { width: 30vw; height: 30vw; bottom: -5%; left: 5%; background: rgba(232, 200, 122, 0.08); animation-delay: 2.5s; }
.slide[data-bg="indigo"] .slide-title { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.75rem); }

/* Responsivo */
@media (max-width: 768px) {
  .slider-section { height: auto; min-height: 100svh; max-height: none; }
  .slide-symbol { width: 70vw; height: 70vw; right: -15%; opacity: 0.25; top: 15%; transform: none; }
  @keyframes symbol-float { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(2deg); } }
  .slide-inner { max-width: 100%; padding: 100px 1.25rem 120px; }
  .slide-number { bottom: 56px; right: 24px; }
  .slider-prev { left: 12px; }
  .slider-next { right: 12px; }
  .slide-hero-inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 80px !important; }
  .slide-hero-mockup { display: none; }
  .slide-hero-title { font-size: clamp(1.8rem, 6vw, 2.8rem); }
}

/* ========== SECTIONS ========== */
.section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.section-header p { color: var(--muted); max-width: 32rem; margin: 0 auto; }

/* FEATURES */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 64rem; margin: 0 auto;
}
.feature-icon {
  width: 3rem; height: 3rem; border-radius: var(--radius);
  background: rgba(232, 200, 122, 0.10); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; color: var(--primary);
  transition: background 0.3s;
  border: 1px solid rgba(232, 200, 122, 0.18);
}
.glass-card-hover:hover .feature-icon { background: rgba(232, 200, 122, 0.18); }
.glass-card-hover h3 { font-family: var(--font-serif); }
.glass-card-hover h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.glass-card-hover p, .features-grid p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* STEPS */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  max-width: 56rem; margin: 0 auto; position: relative;
}
.step-connector {
  display: none; position: absolute; top: 2rem;
  left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.3), transparent);
}
.step { text-align: center; position: relative; }
.step-icon-wrap { position: relative; display: inline-block; margin-bottom: 1rem; }
.step-icon {
  width: 4rem; height: 4rem; border-radius: 1rem;
  background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); position: relative; z-index: 1;
}
.step-num {
  position: absolute; top: -0.5rem; right: -0.5rem;
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--primary); color: var(--primary-fg);
  font-size: 0.75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; z-index: 2;
}
.step h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.step p { font-size: 0.875rem; color: var(--muted); }

@media (min-width: 769px) { .step-connector { display: block; } }
@media (max-width: 768px) { .steps { grid-template-columns: 1fr; } }

/* MODULES */
.modules-scroll {
  display: flex; gap: 1.5rem; overflow-x: auto; padding-bottom: 1rem;
  max-width: 64rem; margin: 0 auto; scroll-snap-type: x mandatory;
  -ms-overflow-style: none; scrollbar-width: none;
}
.modules-scroll::-webkit-scrollbar { display: none; }
.module-card { min-width: 16rem; flex-shrink: 0; scroll-snap-align: start; }
.module-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.25rem; }
.module-card p { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.75rem; }
.badge-gold { font-size: 0.75rem; font-weight: 600; color: var(--gold); }
.badge-silver { font-size: 0.75rem; font-weight: 600; color: var(--silver); }
.badge-bronze { font-size: 0.75rem; font-weight: 600; color: var(--bronze); }

/* PRICING */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  max-width: 64rem; margin: 0 auto; align-items: start;
}
.pricing-card { padding: 1.5rem; position: relative; }
.pricing-highlighted {
  border-color: rgba(59,130,246,0.4) !important;
  box-shadow: 0 10px 40px -10px rgba(59,130,246,0.1);
  transform: scale(1.02);
}
.plan-badge {
  position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%);
  padding: 0.25rem 0.75rem; background: var(--primary); color: var(--primary-fg);
  font-size: 0.75rem; font-weight: 600; border-radius: 9999px; white-space: nowrap;
}
.plan-name { font-weight: 600; font-size: 0.875rem; margin-bottom: 0.25rem; }
.plan-desc { font-size: 0.75rem; color: var(--muted); margin-bottom: 1rem; }
.plan-price { margin-bottom: 1.5rem; display: flex; align-items: baseline; gap: 0.25rem; }
.plan-price span { font-size: 2.25rem; font-weight: 700; }
.plan-price small { font-size: 0.875rem; color: var(--muted); }
.plan-features { margin-bottom: 2rem; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.875rem; color: var(--muted); padding: 0.375rem 0;
}
.plan-features li svg { flex-shrink: 0; margin-top: 0.125rem; }
.pricing-tip { text-align: center; font-size: 0.875rem; color: var(--muted); margin-top: 2rem; }

@media (max-width: 768px) { .pricing-grid { grid-template-columns: 1fr; } .pricing-highlighted { transform: none; } }

/* COMMUNITY */
.community-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: center; max-width: 64rem; margin: 0 auto;
}
.community-mockup { padding: 1rem; }
.community-posts { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.community-post { display: flex; align-items: flex-start; gap: 0.75rem; }
.avatar {
  width: 2rem; height: 2rem; border-radius: 50%;
  background: rgba(59,130,246,0.15); display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: var(--primary); flex-shrink: 0;
}
.community-post strong { font-size: 0.875rem; }
.community-post small { font-size: 0.75rem; color: var(--muted); }
.community-text h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; }
.community-text > p { color: var(--muted); line-height: 1.7; margin-bottom: 2rem; }
.stats { display: flex; gap: 2rem; }
.stat { text-align: center; }
.stat svg { margin: 0 auto 0.25rem; display: block; }
.stat strong { font-size: 1.25rem; display: block; }
.stat small { font-size: 0.75rem; color: var(--muted); }

@media (max-width: 768px) { .community-grid { grid-template-columns: 1fr; } }

/* TESTIMONIALS */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  max-width: 64rem; margin: 0 auto;
}
.testimonial { padding: 1.5rem; }
.stars { color: var(--accent); margin-bottom: 1rem; letter-spacing: 0.15em; }
.testimonial p { font-size: 0.875rem; color: var(--muted); margin-bottom: 1rem; line-height: 1.6; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-author span { font-size: 0.875rem; font-weight: 500; }

@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* CTA BANNER */
.cta-banner { padding: 3rem; text-align: center; position: relative; overflow: hidden; max-width: 56rem; margin: 0 auto; }
.cta-gradient {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(59,130,246,0.1), transparent, rgba(245,158,11,0.05));
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; }
.cta-content p { color: var(--muted); max-width: 32rem; margin: 0 auto 2rem; }

@media (min-width: 769px) { .cta-banner { padding: 4rem; } }

/* FOOTER */
.site-footer { border-top: 1px solid var(--border); padding: 3rem 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem;
}
.footer-brand p { font-size: 0.875rem; color: var(--muted); margin-top: 0.75rem; }
.footer-col h4 { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.75rem; }
.footer-col a { display: block; font-size: 0.875rem; color: var(--muted); padding: 0.25rem 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
}
.footer-bottom span { font-size: 0.75rem; color: var(--muted); }
.social-links { display: flex; gap: 1rem; }
.social-links a { color: var(--muted); transition: color 0.2s; }
.social-links a:hover { color: var(--fg); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
