/* ============================================================
   MercadoPago Alerts — Marketing Website
   V3: EMERALD MONEY — Green + Dark + Gold
   Fonts: Space Grotesk (headings) + Plus Jakarta Sans (body)
   ============================================================ */

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  color: #111827;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* --- CSS Variables (Emerald Money) --- */
:root {
  --emerald: #059669;
  --emerald-hover: #047857;
  --emerald-dark: #065f46;
  --emerald-light: #d1fae5;
  --emerald-50: #ecfdf5;
  --gold: #f59e0b;
  --gold-dark: #d97706;
  --gold-light: #fef3c7;
  --dark: #111827;
  --dark-card: #1f2937;
  --dark-border: rgba(255,255,255,0.08);
  --dark-deeper: #0f172a;
  --success: #22c55e;
  --error: #ef4444;
  --error-light: #fee2e2;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --bg-warm: #fffbeb;
  --text: #111827;
  --text-muted: #4b5563;
  --text-light: #9ca3af;
  --text-on-dark: #f9fafb;
  --text-muted-dark: #9ca3af;
  --border: #e5e7eb;
  --whatsapp: #25D366;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --radius-pill: 999px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-emerald: 0 8px 32px rgba(5, 150, 105, 0.2);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

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

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-title.on-dark { color: var(--text-on-dark); }

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-subtitle.on-dark { color: var(--text-muted-dark); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0 24px;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 16px rgba(5, 150, 105, 0.08);
}

@supports (backdrop-filter: blur(12px)) {
  .navbar.scrolled {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.85);
  }
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: white;
  transition: color var(--transition);
  flex-shrink: 0;
}

.navbar.scrolled .navbar-logo { color: var(--text); }

.brand-sub {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  opacity: 0.65;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-top: -2px;
}

.icon-windows { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.85; }

.navbar-logo svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--emerald);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-nav a {
  padding: 8px 16px;
  border-radius: var(--radius-xs);
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition), background var(--transition);
}

.navbar.scrolled .navbar-nav a { color: var(--text-muted); }
.navbar-nav a:hover { color: white; background: rgba(255,255,255,0.1); }
.navbar.scrolled .navbar-nav a:hover { color: var(--text); background: var(--bg-alt); }

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  padding: 3px;
  transition: background var(--transition);
}

.navbar.scrolled .lang-switcher { background: var(--bg-alt); }

.lang-btn {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}

.navbar.scrolled .lang-btn { color: var(--text-muted); }

.lang-btn.active {
  background: white;
  color: var(--emerald);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.navbar.scrolled .lang-btn.active {
  background: var(--emerald);
  color: white;
}

/* Navbar Download Button */
.btn-nav-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: var(--radius-xs);
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--transition);
}

.btn-nav-download:hover { background: rgba(255,255,255,0.25); }

.navbar.scrolled .btn-nav-download {
  background: var(--emerald);
  color: white;
  border-color: var(--emerald);
}

.navbar.scrolled .btn-nav-download:hover {
  background: var(--emerald-hover);
}

.btn-nav-download svg { width: 16px; height: 16px; }

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  color: white;
  transition: color var(--transition);
}

.navbar.scrolled .mobile-toggle { color: var(--text); }
.mobile-toggle svg { width: 24px; height: 24px; }

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-menu.open { opacity: 1; }

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: white;
  padding: 24px;
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
}

.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  margin-left: auto;
  margin-bottom: 24px;
  color: var(--text-muted);
}

.mobile-menu-close:hover { background: var(--bg-alt); }
.mobile-menu-close svg { width: 24px; height: 24px; }

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.mobile-menu-nav a {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-xs);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

.mobile-menu-nav a:hover { background: var(--bg-alt); }

.mobile-menu-lang {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}

.mobile-lang-btn {
  flex: 1;
  padding: 10px;
  text-align: center;
  border-radius: var(--radius-xs);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-alt);
  transition: all var(--transition);
}

.mobile-lang-btn.active {
  background: var(--emerald);
  color: white;
}

.mobile-menu-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--emerald);
  color: white;
  font-size: 1rem;
  font-weight: 600;
}

.mobile-menu-download svg { width: 18px; height: 18px; }

/* ============================================================
   HERO — Dark Background with Emerald Accents
   ============================================================ */
.hero {
  background: var(--dark);
  padding: 110px 24px 80px;
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}

/* Ambient glow — top */
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* Ambient glow — bottom-right */
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content { position: relative; z-index: 1; }

.hero-tagline {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  padding: 6px 14px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-pill);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero h1 .text-emerald {
  color: var(--emerald);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted-dark);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 520px;
}

.hero-subtitle-mobile { display: none; }

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

/* Download Button — Emerald */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--emerald);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 1.0625rem;
  font-weight: 700;
  box-shadow: var(--shadow-emerald);
  transition: all var(--transition);
}

.btn-download:hover {
  transform: translateY(-2px);
  background: var(--emerald-hover);
  box-shadow: 0 12px 40px rgba(5, 150, 105, 0.3);
}

.btn-download svg { width: 20px; height: 20px; }

.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border: 2px solid rgba(255,255,255,0.2);
  color: var(--text-on-dark);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition);
}

.btn-outline-hero:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.4);
}

.hero-download-note {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--text-muted-dark);
  opacity: 0.7;
}

/* ============================================================
   HERO — Animated Payment Demo
   ============================================================ */
.hero-visual {
  position: relative;
  z-index: 1;
}

.demo-monitor {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.demo-screen {
  background: #1a1a2e;
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 12px 12px 0 0;
  padding: 24px 20px;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}

/* Fake desktop content lines */
.demo-screen::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  height: 120px;
  background: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,0.04) 0px,
    rgba(255,255,255,0.04) 8px,
    transparent 8px,
    transparent 20px
  );
  border-radius: 4px;
}

/* Animated notification popup */
.demo-notification {
  position: absolute;
  bottom: 20px;
  right: 16px;
  background: linear-gradient(135deg, #065f46, #047857);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(5, 150, 105, 0.3);
  animation: notif-slide-in 0.8s ease 1.5s both, notif-glow 2s ease-in-out 2.3s infinite;
}

.demo-notif-icon {
  width: 36px;
  height: 36px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.demo-notif-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.demo-notif-amount {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.demo-notif-name {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
}

.demo-notif-badge {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--success);
  background: rgba(34, 197, 94, 0.15);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-top: 4px;
  display: inline-block;
}

.demo-stand {
  width: 40%;
  height: 16px;
  margin: 0 auto;
  background: rgba(255,255,255,0.06);
  border-radius: 0 0 8px 8px;
  border: 2px solid rgba(255,255,255,0.1);
  border-top: none;
}

.demo-base {
  width: 60%;
  height: 6px;
  margin: 0 auto;
  background: rgba(255,255,255,0.04);
  border-radius: 0 0 4px 4px;
}

@keyframes notif-slide-in {
  0% { transform: translateX(120%) scale(0.9); opacity: 0; }
  60% { transform: translateX(-5%) scale(1.02); opacity: 1; }
  100% { transform: translateX(0) scale(1); opacity: 1; }
}

@keyframes notif-glow {
  0%, 100% { box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(5, 150, 105, 0.3); }
  50% { box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 40px rgba(5, 150, 105, 0.5); }
}

/* ============================================================
   COMIC STRIP — 4 Panels Storytelling
   ============================================================ */
.comic {
  padding: 80px 24px;
  background: var(--bg);
}

.comic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.comic-panel {
  background: white;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

/* Color coding panels */
.comic-panel.danger { border-color: #fecaca; }
.comic-panel.warning { border-color: #fed7aa; }
.comic-panel.solution { border-color: #bae6fd; }
.comic-panel.safe { border-color: #bbf7d0; }

.comic-illustration {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.comic-panel.danger .comic-illustration { background: linear-gradient(180deg, #fef2f2 0%, #fee2e2 100%); }
.comic-panel.warning .comic-illustration { background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%); }
.comic-panel.solution .comic-illustration { background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%); }
.comic-panel.safe .comic-illustration { background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%); }

.comic-number {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  color: white;
}

.comic-panel.danger .comic-number { background: var(--error); }
.comic-panel.warning .comic-number { background: var(--gold-dark); }
.comic-panel.solution .comic-number { background: #3b82f6; }
.comic-panel.safe .comic-number { background: var(--emerald); }

.comic-body {
  padding: 20px;
}

.comic-panel-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.comic-panel-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Arrow between panels (desktop only) */
.comic-arrow {
  display: none;
}

/* ============================================================
   STATS SECTION — Dark with Big Numbers
   ============================================================ */
.stats {
  padding: 64px 24px;
  background: var(--dark);
  position: relative;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.05) 0%, rgba(245, 158, 11, 0.03) 100%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--emerald);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-number.gold { color: var(--gold); }

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

/* ============================================================
   FEATURES — Light Background, Colorful Icons
   ============================================================ */
.features {
  padding: 80px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #ecfdf5 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.feature-icon svg { width: 28px; height: 28px; }

/* Unique colors for each feature */
.feature-card:nth-child(1) .feature-icon { background: var(--emerald-light); color: var(--emerald); }
.feature-card:nth-child(2) .feature-icon { background: #dbeafe; color: #2563eb; }
.feature-card:nth-child(3) .feature-icon { background: var(--gold-light); color: var(--gold-dark); }
.feature-card:nth-child(4) .feature-icon { background: #fce7f3; color: #db2777; }
.feature-card:nth-child(5) .feature-icon { background: #cffafe; color: #0891b2; }
.feature-card:nth-child(6) .feature-icon { background: #ede9fe; color: #7c3aed; }

.feature-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   SECURITY STRIP — Dark with Emerald Icons
   ============================================================ */
.security {
  padding: 40px 24px;
  background: var(--dark);
}

.security-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.security-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted-dark);
  font-size: 0.9375rem;
  font-weight: 500;
}

.security-item svg {
  width: 22px;
  height: 22px;
  color: var(--emerald);
  flex-shrink: 0;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: 80px 24px;
  background: white;
}

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

.pricing-card {
  background: var(--bg-alt);
  padding: 40px 28px;
  border-radius: var(--radius);
  text-align: center;
  border: 2px solid var(--border);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.pricing-card.popular {
  border-color: var(--emerald);
  background: white;
  box-shadow: var(--shadow-emerald);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 20px;
  background: var(--emerald);
  color: white;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.pricing-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-card.popular .pricing-price { color: var(--emerald-dark); }

.pricing-period {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.pricing-save {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 14px;
  background: var(--gold-light);
  color: var(--gold-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
}

.pricing-note {
  text-align: center;
  margin-top: 40px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.pricing-note a {
  color: var(--whatsapp);
  font-weight: 600;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 80px 24px;
  background: var(--emerald-50);
  text-align: center;
}

.contact-card {
  max-width: 520px;
  margin: 0 auto;
  background: white;
  padding: 48px 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-card .section-title { margin-bottom: 12px; }

.contact-desc {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  background: var(--whatsapp);
  color: white;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.25);
  transition: all var(--transition);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp svg { width: 18px; height: 18px; }

/* ============================================================
   FOOTER — Dark Emerald
   ============================================================ */
.footer {
  padding: 40px 24px 28px;
  background: var(--dark-deeper);
  color: #94a3b8;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: white;
}

.footer-logo svg { width: 28px; height: 28px; }

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

.footer-nav a {
  font-size: 0.875rem;
  color: #94a3b8;
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--emerald); }

.footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: #64748b;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: #475569;
  text-align: right;
}

/* ============================================================
   GUIDE PAGE
   ============================================================ */
.guide-page {
  padding: 120px 24px 80px;
  background: var(--bg-alt);
  min-height: 100vh;
}

.guide-container {
  max-width: 800px;
  margin: 0 auto;
}

.guide-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.guide-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 56px;
  line-height: 1.6;
}

.guide-step {
  margin-bottom: 56px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 36px;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.step-number {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald);
  color: white;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.step-image {
  background: var(--bg-alt);
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 56px 32px;
  text-align: center;
  color: var(--text-light);
  font-size: 0.875rem;
  margin: 20px 0;
}

.step-image svg {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  color: var(--border);
}

.step-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.step-tip {
  margin-top: 20px;
  background: var(--emerald-50);
  border-left: 4px solid var(--emerald);
  padding: 16px 20px;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  font-size: 0.9375rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.step-tip-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.guide-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--emerald);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 32px;
  transition: gap var(--transition);
}

.guide-back:hover { gap: 12px; }
.guide-back svg { width: 18px; height: 18px; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .animate { opacity: 1; transform: none; transition: none; }
  .demo-notification { animation: none !important; opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE — Tablet (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero p { margin-left: auto; margin-right: auto; }
  .hero-tagline { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 400px; width: 100%; margin: 0 auto; }

  .comic-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE — Mobile (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  .navbar-nav,
  .navbar-actions { display: none; }
  .mobile-toggle { display: flex; }
  .brand-sub { display: none; }

  /* Hero — mobile compact: H1 → DEMO → short subtitle → CTA */
  .hero { padding: 100px 16px 36px; }
  .hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
  .hero-content { display: contents; }
  .hero-tagline { display: none; }
  .hero h1 { order: 1; font-size: clamp(1.5rem, 6.5vw, 2.25rem); margin-bottom: 0; width: 100%; line-height: 1.25; }
  .hero-visual { order: 2; max-width: 280px; width: 100%; position: relative; }
  /* Emerald glow under the demo monitor */
  .hero-visual::after {
    content: '';
    display: block;
    width: 70%;
    height: 30px;
    margin: -12px auto 0;
    background: radial-gradient(ellipse, rgba(5, 150, 105, 0.35) 0%, transparent 70%);
    filter: blur(12px);
    pointer-events: none;
  }
  /* Hide desktop subtitle, show compact mobile version */
  .hero-content > p:not(.hero-download-note):not(.hero-subtitle-mobile) { display: none; }
  .hero-subtitle-mobile { display: block; order: 3; font-size: 0.9375rem; margin-bottom: 0; line-height: 1.65; max-width: 420px; color: rgba(255,255,255,0.6); }
  .hero-actions { order: 4; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; max-width: 340px; }
  .hero-download-note { display: none; }
  .hero::before, .hero::after { display: none; }
  .demo-screen { min-height: 150px; padding: 12px; }
  /* CTA swap: "Ver Precios" = primary green with glow, "Download" = subtle text link */
  .btn-outline-hero {
    order: -1;
    background: linear-gradient(135deg, var(--emerald), #047857);
    color: white;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 24px rgba(5, 150, 105, 0.4), 0 0 0 1px rgba(5, 150, 105, 0.2);
    padding: 15px 28px;
    font-size: 1rem;
    justify-content: center;
    width: 100%;
    border-radius: var(--radius-sm);
    letter-spacing: 0.01em;
  }
  .btn-outline-hero:hover { background: linear-gradient(135deg, var(--emerald-hover), #065f46); }
  .btn-download {
    background: transparent;
    box-shadow: none;
    color: rgba(255,255,255,0.45);
    font-size: 0.8125rem;
    padding: 4px 12px;
    width: auto;
    justify-content: center;
    font-weight: 500;
    letter-spacing: 0.01em;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    border-radius: 0;
  }
  .btn-download:hover { background: transparent; transform: none; box-shadow: none; color: rgba(255,255,255,0.7); border-bottom-color: rgba(255,255,255,0.3); }

  /* Comic — horizontal: illustration left, text right */
  .comic-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 380px;
    margin: 0 auto;
  }
  .comic-panel {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    align-items: center;
    position: relative;
    overflow: visible;
    border-width: 1px;
    padding: 11px 13px;
  }
  .comic-illustration {
    position: static;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xs);
    margin: 0;
    overflow: visible;
    padding: 5px;
  }
  .comic-illustration svg { width: 100%; height: auto; }
  .comic-number {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1;
  }
  .comic-body { padding: 2px 0; }
  .comic-panel-title { font-size: 0.875rem; margin-bottom: 2px; }
  .comic-panel-text { font-size: 0.8125rem; line-height: 1.45; color: var(--text-muted); }

  /* Stats */
  .stats { padding: 40px 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Features — clean list on mobile (no card borders) */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 0;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
  }
  .feature-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 2px;
    padding: 16px 18px;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
  }
  .feature-card:last-child { border-bottom: none; }
  .feature-card:hover { transform: none; box-shadow: none; }
  .feature-icon {
    grid-row: 1 / -1;
    width: 44px;
    height: 44px;
    margin-bottom: 0;
    align-self: center;
  }
  .feature-icon svg { width: 22px; height: 22px; }
  .feature-title { font-size: 0.9375rem; margin-bottom: 0; align-self: end; }
  .feature-desc { font-size: 0.8125rem; line-height: 1.5; align-self: start; color: var(--text-muted); }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; max-width: 300px; }

  /* Secciones — spacing reducido */
  .comic, .features, .pricing, .contact { padding: 40px 16px; }
  .section-header { margin-bottom: 28px; }

  /* Footer — compacto */
  .footer { padding: 28px 16px 20px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 16px; }
  .footer-nav { justify-content: center; gap: 16px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; margin-top: 16px; padding-top: 12px; }
  .footer-disclaimer { text-align: center; max-width: none; }

  /* Contact & Guide */
  .contact-card { padding: 28px 20px; }
  .contact-desc { margin-bottom: 20px; }
  .btn-whatsapp { padding: 12px 24px; font-size: 0.9375rem; }
  .btn-whatsapp svg { width: 18px; height: 18px; }
  .guide-step { padding: 24px; }

  /* Security strip */
  .security { padding: 28px 16px; }
  .security-grid { gap: 16px 24px; }

  /* No hover effects on touch */
  .feature-card:hover,
  .pricing-card:hover,
  .comic-panel:hover {
    transform: none;
    box-shadow: none;
  }

  .animate { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVE — Phone (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero { padding: 92px 12px 28px; }
  .hero-inner { gap: 22px; }
  .hero h1 { font-size: clamp(1.25rem, 5.5vw, 1.75rem); }
  .hero-subtitle-mobile { font-size: 0.875rem; }
  .hero-visual { max-width: 240px; }
  .btn-outline-hero { padding: 14px 24px; font-size: 0.9375rem; }
  .btn-download { font-size: 0.75rem; }
  .hero-actions { max-width: 300px; gap: 10px; }
  .demo-screen { min-height: 130px; padding: 12px; }
  .demo-notification { padding: 10px 14px; min-width: 170px; gap: 10px; }
  .demo-notif-icon { width: 28px; height: 28px; font-size: 0.8125rem; }
  .demo-notif-amount { font-size: 1rem; }
  .demo-notif-badge { font-size: 0.5625rem; }

  .stats-grid { gap: 12px; }
  .stat-number { font-size: clamp(1.5rem, 5vw, 2rem); }
  .stat-label { font-size: 0.8125rem; }

  .pricing-grid { max-width: 280px; }
  .pricing-card { padding: 28px 20px; }
  .pricing-price { font-size: 2rem; }

  .section-title { font-size: clamp(1.375rem, 5vw, 1.75rem); }
  .section-subtitle { font-size: 0.9375rem; }

  .feature-card { grid-template-columns: 40px 1fr; padding: 14px 16px; column-gap: 12px; }
  .feature-icon { width: 40px; height: 40px; }
  .feature-icon svg { width: 20px; height: 20px; }
  .feature-title { font-size: 0.875rem; }
  .feature-desc { font-size: 0.75rem; }

  /* Comic — phone */
  .comic-grid { max-width: 340px; gap: 8px; }
  .comic-panel { column-gap: 12px; padding: 10px 12px; }
  .comic-illustration { width: 56px; height: 56px; padding: 4px; }
  .comic-number { width: 22px; height: 22px; font-size: 0.6875rem; top: -7px; left: -7px; }
  .comic-panel-title { font-size: 0.8125rem; }
  .comic-panel-text { font-size: 0.75rem; }

  /* Footer — phone */
  .footer-nav { gap: 12px; }
  .footer-bottom { gap: 4px; }

  /* Contact — phone */
  .contact-card { padding: 24px 16px; }
  .contact-desc { margin-bottom: 16px; font-size: 0.9375rem; }
  .btn-whatsapp { padding: 11px 20px; font-size: 0.875rem; gap: 6px; }
  .btn-whatsapp svg { width: 16px; height: 16px; }
}

/* ============================================================
   RESPONSIVE — Small Mobile (max-width: 380px)
   ============================================================ */
@media (max-width: 380px) {
  .hero { padding: 88px 10px 24px; }
  .hero-inner { gap: 18px; }
  .hero h1 { font-size: clamp(1.125rem, 5vw, 1.5rem); }
  .hero-subtitle-mobile { font-size: 0.8125rem; }
  .hero-visual { max-width: 210px; }
  .btn-outline-hero { padding: 13px 20px; font-size: 0.875rem; }
  .btn-download { font-size: 0.6875rem; }
  .hero-actions { max-width: 260px; gap: 8px; }
  .demo-screen { min-height: 110px; padding: 10px; }
  .demo-notification { padding: 8px 12px; min-width: 150px; gap: 8px; }
  .demo-notif-icon { width: 24px; height: 24px; font-size: 0.75rem; }
  .demo-notif-amount { font-size: 0.9375rem; }
  .pricing-card { padding: 24px 16px; }
  .pricing-price { font-size: 1.75rem; }
  .stats-grid { gap: 10px; }
  .stat-number { font-size: 1.5rem; }
  .security-grid { gap: 12px; }
  .security-item { font-size: 0.75rem; }
  .guide-step { padding: 16px 12px; }
  .comic-grid { max-width: 300px; gap: 7px; }
  .comic-panel { column-gap: 10px; padding: 9px 10px; }
  .comic-illustration { width: 48px; height: 48px; padding: 3px; }
  .comic-number { width: 20px; height: 20px; font-size: 0.625rem; top: -6px; left: -6px; }
  .comic-panel-title { font-size: 0.75rem; }
  .comic-panel-text { font-size: 0.6875rem; }
  .feature-card { grid-template-columns: 36px 1fr; padding: 12px 14px; column-gap: 10px; }
  .feature-icon { width: 36px; height: 36px; }
  .feature-icon svg { width: 18px; height: 18px; }
  .feature-title { font-size: 0.8125rem; }

  /* Contact — small phone */
  .contact-card { padding: 20px 14px; }
  .btn-whatsapp { padding: 10px 18px; }
}
