/* ============================================
   FLOWADS AI — Theme CSS
   ============================================ */

:root {
  /* === Tema NEGRO LUJO === */
  --purple-darkest: #000000;
  --purple-dark:    #050505;
  --purple-card:    #0a0a0a;
  --purple-card2:   #0d0d0d;
  --purple-main:    #FFD700;
  --purple-mid:     #B8860B;
  --purple-light:   #FFD700;
  --purple-glow:    rgba(255, 215, 0, 0.2);
  --gold-dark:      #B8860B;
  --gold-main:      #D4AF37;
  --gold-light:     #FFD700;
  --gold-glow:      rgba(212, 175, 55, 0.3);
  --text-white:     #FFFFFF;
  --text-light:     #d4d4d4;
  --text-muted:     #888888;
  --border-purple:  rgba(255, 215, 0, 0.15);
  --border-gold:    rgba(212, 175, 55, 0.45);
  --radius-lg:      16px;
  --radius-xl:      24px;
  --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--purple-darkest);
  color: var(--text-white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── ANIMATED BG ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255,215,0,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 100%, rgba(255,215,0,0.03) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

#page-wrapper { position: relative; z-index: 1; }

/* ── NAVBAR ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 48px;
  background: rgba(8, 0, 31, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-purple);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: var(--text-white);
}

.nav-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--purple-main), var(--purple-mid));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 20px var(--purple-glow);
}

.nav-logo span { color: var(--purple-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--text-white); }

.btn-nav {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-main));
  color: #000;
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px var(--gold-glow);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-login {
  color: var(--text-muted);
  border: 1px solid var(--border-purple);
  padding: 9px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all var(--transition);
}
.btn-login:hover {
  color: var(--text-white);
  border-color: var(--purple-light);
  background: rgba(139, 92, 246, 0.1);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
  gap: 64px;
}

.hero-content { flex: 1; max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.35);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--purple-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--purple-main), var(--purple-mid));
  color: #fff;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 8px 30px var(--purple-glow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--purple-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid var(--border-purple);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(124, 58, 237, 0.1);
  border-color: var(--purple-mid);
}

.hero-stats {
  display: flex;
  gap: 32px;
}

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

.hero-stat-number {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple-light), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── DASHBOARD MOCKUP ── */
.hero-visual { flex: 1; max-width: 580px; }

.dashboard-mockup {
  background: var(--purple-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-purple);
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--border-purple),
    0 40px 80px rgba(0,0,0,0.5),
    0 0 60px var(--purple-glow);
  transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
  transition: transform var(--transition);
}

.dashboard-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.dash-topbar {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--border-purple);
  gap: 8px;
}

.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-dot.red { background: #FF5F57; }
.dash-dot.yellow { background: #FEBC2E; }
.dash-dot.green { background: #28C840; }

.dash-url {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 11px;
  color: var(--text-muted);
  margin: 0 12px;
}

.dash-body {
  display: flex;
  height: 380px;
}

.dash-sidebar {
  width: 180px;
  background: rgba(0,0,0,0.2);
  border-right: 1px solid var(--border-purple);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-logo {
  font-size: 14px;
  font-weight: 800;
  color: var(--purple-light);
  padding: 0 8px 16px;
  border-bottom: 1px solid var(--border-purple);
  margin-bottom: 8px;
}

.dash-nav-item {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition);
}

.dash-nav-item.active {
  background: rgba(124, 58, 237, 0.2);
  color: var(--purple-light);
}

.dash-nav-icon { font-size: 14px; }

.dash-main {
  flex: 1;
  padding: 20px;
  overflow: hidden;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.dash-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
}

.dash-btn-new {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-main));
  color: #000;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.dash-stat-card {
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid var(--border-purple);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.dash-stat-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--purple-light);
}

.dash-stat-lbl {
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 2px;
}

.dash-campaign-row {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-purple);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-campaign-name { font-size: 11px; font-weight: 600; color: var(--text-light); }
.dash-campaign-meta { font-size: 10px; color: var(--text-muted); }

.dash-status {
  padding: 3px 8px;
  border-radius: 100px;
  font-size: 9px;
  font-weight: 700;
}

.dash-status.active { background: rgba(34,197,94,0.15); color: #22C55E; }
.dash-status.paused { background: rgba(234,179,8,0.15); color: #EAB308; }

.dash-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.dash-img-card {
  aspect-ratio: 1;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(212,175,55,0.1));
  border: 1px solid var(--border-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* ── SECTION BASE ── */
section { padding: 96px 48px; }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid var(--border-purple);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  color: var(--purple-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

.text-center { text-align: center; margin-left: auto; margin-right: auto; }

/* ── HOW IT WORKS ── */
.how-it-works { background: rgba(13, 5, 32, 0.8); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-mid), transparent);
}

.step-card {
  text-align: center;
  padding: 40px 32px;
  background: var(--purple-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-purple);
  position: relative;
  transition: all var(--transition);
}

.step-card:hover {
  border-color: var(--purple-mid);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px var(--purple-glow);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--purple-main), var(--purple-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 0 20px var(--purple-glow);
}

.step-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-white);
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.feature-card {
  padding: 32px;
  background: var(--purple-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-purple);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--purple-mid);
  background: var(--purple-card2);
  transform: translateY(-2px);
}

.feature-icon {
  width: 52px; height: 52px;
  background: rgba(124, 58, 237, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  border: 1px solid var(--border-purple);
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-white);
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── PRICING ── */
.pricing { background: rgba(13, 5, 32, 0.8); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 64px auto 0;
}

.pricing-card {
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-purple);
  background: var(--purple-card);
  position: relative;
  transition: all var(--transition);
}

.pricing-card.featured {
  border-color: var(--gold-main);
  background: linear-gradient(160deg, rgba(212,175,55,0.07) 0%, var(--purple-card) 60%);
  box-shadow: 0 0 0 1px rgba(212,175,55,0.3), 0 30px 60px rgba(0,0,0,0.4), 0 0 40px var(--gold-glow);
}

.pricing-card:not(.featured):hover {
  border-color: var(--border-purple);
  opacity: 0.8;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  color: #000;
  padding: 5px 20px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.pricing-plan {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.pricing-plan.gold { color: var(--gold-main); }

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.pricing-currency {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-main);
}

.pricing-amount {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -3px;
  color: var(--text-white);
  line-height: 1;
}

.pricing-period {
  font-size: 16px;
  color: var(--text-muted);
}

.pricing-trial {
  font-size: 13px;
  color: var(--purple-light);
  font-weight: 600;
  margin-bottom: 28px;
  padding: 6px 12px;
  background: rgba(124, 58, 237, 0.15);
  border-radius: 8px;
  display: inline-block;
}

.pricing-divider {
  height: 1px;
  background: var(--border-purple);
  margin: 24px 0;
}

.pricing-features { list-style: none; margin-bottom: 32px; }

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-light);
}

.pricing-features li .check {
  width: 20px; height: 20px;
  background: rgba(124, 58, 237, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  color: var(--purple-light);
}

.pricing-features li.gold-feature .check {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-main);
}

.btn-gold {
  width: 100%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  color: #000;
  padding: 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: all var(--transition);
  box-shadow: 0 8px 25px var(--gold-glow);
  cursor: pointer;
  border: none;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px var(--gold-glow);
}

.btn-coming-soon {
  width: 100%;
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  padding: 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  display: block;
  border: 1px solid var(--border-purple);
  cursor: not-allowed;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-main);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-disabled { opacity: 0.6; }

/* ── FAQ ── */
.faq-list { max-width: 700px; margin: 48px auto 0; }

.faq-item {
  border: 1px solid var(--border-purple);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover { border-color: var(--purple-mid); }

.faq-question {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--purple-card);
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--purple-light);
  transition: transform var(--transition);
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  background: var(--purple-card);
}

.faq-item.open .faq-answer { display: block; }

/* ── FOOTER ── */
.footer {
  padding: 48px;
  border-top: 1px solid var(--border-purple);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-white);
}

.footer-logo span { color: var(--purple-light); }

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

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

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--purple-light); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav { padding: 8px 16px; gap: 8px; flex-wrap: wrap; }
  /* Los links se muestran en segunda fila, centrados */
  .nav-links {
    order: 99;
    width: 100%;
    flex-basis: 100%;
    justify-content: center;
    gap: 14px;
    padding: 6px 0 4px;
    border-top: 1px solid rgba(255,215,0,.08);
    margin-top: 4px;
  }
  .nav-links li { list-style: none; }
  .nav-links a {
    font-size: 12px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 4px 6px;
    transition: color .15s;
  }
  .nav-links a:hover { color: var(--gold-light); }
  .nav-logo { font-size: 16px; gap: 0 !important; flex-shrink: 1; min-width: 0; }
  .nav-logo .nav-logo-icon { width: 56px !important; height: 56px !important; margin-right: -10px !important; flex-shrink: 0; }
  .meta-logo-img { width: 20px; height: 20px; }
  .nav-actions { gap: 6px; flex-shrink: 0; }
  .btn-login { padding: 7px 12px; font-size: 12px; white-space: nowrap; }
  .btn-nav { padding: 8px 14px; font-size: 12px; font-weight: 700; white-space: nowrap; }
  .hero { flex-direction: column; padding: 100px 24px 60px; }
  section { padding: 64px 24px; }
  .steps-grid, .features-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .footer { flex-direction: column; text-align: center; padding: 32px 24px; }
  .hero-visual { width: 100%; }
  .dashboard-mockup { transform: none; }
  .dash-body { height: 300px; }
  .dash-sidebar { width: 130px; }
}

/* Pantallas medianas-pequeñas: simplificar el brand text */
@media (max-width: 640px) {
  .nav { padding: 4px 12px 0 !important; min-height: 0; flex-wrap: wrap !important; row-gap: 0 !important; align-items: center; }
  .nav-logo .nav-logo-icon { width: 30px !important; height: 30px !important; margin-right: -4px !important; }
  .nav-logo { gap: 0 !important; }
  .logo-text { font-size: 14px; }
  /* Mostrar todo el branding en una sola línea con tamaños mobile */
  .nav-logo { white-space: nowrap; flex-wrap: nowrap; }
  .nav-logo .meta-logo-img { display: inline-block; width: 13px !important; height: 13px !important; margin-left: 2px; }
  .nav-logo .logo-ai-meta  { display: inline-block; font-size: 10px; letter-spacing: -.2px; margin-left: 2px; white-space: nowrap; }
  .nav-logo .logo-ai-meta .logo-meta-word { letter-spacing: -.2px; }
  .btn-login { padding: 4px 9px; font-size: 11px; }
  .btn-nav { padding: 5px 10px; font-size: 11px; }
  .nav-actions { gap: 5px; }
  /* Links de menu como segunda fila debajo del logo+botones (compacto) */
  .nav-links {
    display: flex !important;
    order: 99;
    width: 100%;
    flex-basis: 100%;
    justify-content: space-around;
    gap: 4px;
    padding: 0 4px 2px;
    border-top: 1px solid rgba(255,215,0,.10);
    margin: -14px -8px 0;
    list-style: none;
  }
  .nav-links li { list-style: none; }
  .nav-links a {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    padding: 2px 4px;
    white-space: nowrap;
    text-decoration: none;
  }
  .nav-links a:hover { color: var(--gold-light); }

  /* Hero: padding-top suficiente para no quedar tapado por el navbar fijo (2 filas) */
  .hero { padding: 156px 20px 30px !important; }
  .hero h1 { font-size: 28px !important; line-height: 1.15 !important; letter-spacing: -.8px !important; margin-bottom: 14px !important; }
  .hero-subtitle { font-size: 14px !important; margin-bottom: 22px !important; line-height: 1.5; }
  .hero-badge { font-size: 11px; padding: 5px 12px; margin-bottom: 14px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions a { width: 100%; text-align: center; }
  .hero-stats { gap: 18px; margin-top: 24px; flex-wrap: wrap; justify-content: space-around; }
  .hero-stat-number { font-size: 26px !important; }
  .hero-stat-label { font-size: 11px !important; }
}

/* Pantallas muy pequeñas (iPhone SE) */
@media (max-width: 380px) {
  .nav { padding: 0 10px !important; }
  .nav-logo .nav-logo-icon { width: 26px !important; height: 26px !important; margin-right: -3px !important; }
  .logo-text { font-size: 13px; }
  .btn-login { padding: 3px 8px; font-size: 10px; }
  .btn-nav { padding: 4px 9px; font-size: 10px; }
  .hero { padding: 120px 18px 28px !important; }
  .hero h1 { font-size: 24px !important; }
  .hero-subtitle { font-size: 13px !important; }
}

/* ── NAVBAR LOGO ACTUALIZADO ── */
.nav-logo { gap: 2px !important; }
.logo-text { color: var(--text-white); font-weight: 800; letter-spacing: -0.5px; }
.logo-ads  { color: var(--purple-light); }
.logo-ai-meta { font-weight: 800; color: var(--text-white); letter-spacing: -0.3px; }
.logo-meta-word { color: var(--gold-main); }

.meta-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(0,130,251,0.5));
}

/* ── PRICING EMOCIONAL ── */
.pricing-trial-warning {
  font-size: 12px;
  color: var(--gold-light);
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 8px;
  padding: 8px 14px;
  margin-top: 8px;
  text-align: center;
}

.btn-gold-emotion {
  font-size: 17px !important;
  padding: 18px 32px !important;
  letter-spacing: 0.3px;
  box-shadow: 0 0 30px rgba(212,175,55,0.4), 0 8px 24px rgba(212,175,55,0.3) !important;
  animation: gold-pulse 2.5s ease-in-out infinite;
}

@keyframes gold-pulse {
  0%, 100% { box-shadow: 0 0 30px rgba(212,175,55,0.4), 0 8px 24px rgba(212,175,55,0.3); }
  50%       { box-shadow: 0 0 50px rgba(212,175,55,0.7), 0 12px 35px rgba(212,175,55,0.5); }
}

.pricing-emotion-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
  font-style: italic;
}

.whatsapp-feature .whatsapp-link {
  color: #25D366;
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}
.whatsapp-feature .whatsapp-link:hover { color: #20ba58; text-decoration: underline; }

/* ── BOTON FLOTANTE WHATSAPP ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: all 0.3s ease;
  animation: wa-bounce 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  background: #20ba58;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
  color: white;
  text-decoration: none;
}
.whatsapp-float-icon { font-size: 22px; line-height: 1; }
.whatsapp-float-text { display: flex; flex-direction: column; line-height: 1.2; }
.whatsapp-float-title { font-size: 13px; font-weight: 700; }
.whatsapp-float-sub   { font-size: 11px; font-weight: 400; opacity: 0.9; }

@keyframes wa-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

@media (max-width: 600px) {
  .whatsapp-float { padding: 12px 16px; }
  .whatsapp-float-text { display: none; }
  .whatsapp-float { border-radius: 50%; width: 56px; height: 56px; justify-content: center; padding: 0; }
}

/* ── MOBILE LANDING — REFINEMENTS ── */
.btn-text-short { display: none; }

@media (max-width: 640px) {
  /* Navbar: swap textos largos por cortos */
  .btn-text-long  { display: none; }
  .btn-text-short { display: inline; }
  .btn-login, .btn-nav { white-space: nowrap; }
  .nav-actions { gap: 8px; }

  /* Padding general menor para liberar ancho */
  section { padding: 56px 16px; }
  .hero { padding: 156px 16px 30px !important; }
  .testimonials { padding: 56px 16px 24px; }
  .ads-showcase  { padding: 56px 0 40px; }
  .ads-showcase > div:first-child { padding: 0 16px; }

  /* Section title más compacto */
  .section-title { font-size: 26px !important; letter-spacing: -.6px !important; }
  .section-subtitle { font-size: 14px; line-height: 1.55; }

  /* HERO STATS: tighter */
  .hero-stats { gap: 12px !important; padding-top: 4px; }
  .hero-stat-number { font-size: 24px !important; }

  /* DASHBOARD MOCKUP: ocultar sidebar, ajustar contenido a la pantalla */
  .dashboard-mockup { transform: none !important; margin: 0 auto; max-width: 100%; }
  .dash-topbar { padding: 8px 12px; gap: 6px; }
  .dash-url { font-size: 10px; padding: 3px 8px; margin: 0 6px; }
  .dash-dot { width: 8px; height: 8px; }
  .dash-body { height: auto !important; min-height: 280px; }
  .dash-sidebar { display: none !important; }
  .dash-main { padding: 14px; }
  .dash-header { margin-bottom: 12px; }
  .dash-title { font-size: 13px; }
  .dash-btn-new { padding: 5px 10px; font-size: 10px; }
  .dash-stats { gap: 6px; margin-bottom: 12px; }
  .dash-stat-card { padding: 10px 6px; }
  .dash-stat-num { font-size: 18px; }
  .dash-stat-lbl { font-size: 9px; }
  .dash-campaign-row { padding: 8px 10px; }
  .dash-campaign-name { font-size: 11px; }
  .dash-campaign-meta { font-size: 9px; }
  .dash-status { padding: 2px 7px; font-size: 8px; }
  .dash-images { gap: 5px; margin-top: 10px; }

  /* TESTIMONIOS: padding más compacto */
  .testimonial-card { padding: 18px; border-radius: 14px; }
  .testimonial-quote { font-size: 13px; line-height: 1.55; margin-bottom: 16px; }
  .testimonial-avatar-wrap { width: 46px; height: 46px; }
  .testimonial-name { font-size: 13px; }
  .testimonial-role { font-size: 11px; }

  /* PRICING */
  .pricing-card { padding: 24px 20px !important; border-radius: 16px; }
  .pricing-grid { gap: 20px; margin-top: 40px; }
  .pricing-currency { font-size: 20px; }
  .pricing-amount  { font-size: 38px !important; letter-spacing: -1.5px !important; }
  .pricing-period  { font-size: 13px; }
  .pricing-trial   { font-size: 12px; padding: 6px 10px; margin-bottom: 18px; }
  .pricing-trial-warning { font-size: 11px; padding: 7px 10px; line-height: 1.45; }
  .pricing-features li { font-size: 13px; padding: 6px 0; gap: 10px; }
  .pricing-features li .check { width: 18px; height: 18px; font-size: 10px; }
  .btn-gold-emotion { font-size: 15px !important; padding: 14px 18px !important; }
  .pricing-emotion-sub { font-size: 11px; }
  /* Plan MAX: encabezado en una línea */
  .pricing-card.pricing-disabled > div:first-child { font-size: 24px !important; letter-spacing: 1.5px !important; }
  .coming-soon-badge { font-size: 10px; padding: 5px 11px; letter-spacing: .8px; }
  .btn-coming-soon { font-size: 13px; padding: 14px; }

  /* FAQ */
  .faq-list { margin-top: 32px; }
  .faq-question { padding: 16px 18px; font-size: 14px; line-height: 1.4; }
  .faq-answer   { padding: 0 18px 18px; font-size: 13px; }

  /* HOW IT WORKS / FEATURES tarjetas más compactas */
  .step-card, .feature-card { padding: 24px 20px; }
  .step-title, .feature-title { font-size: 17px; }
  .step-desc, .feature-desc   { font-size: 13px; }

  /* FOOTER: vertical, links wrap, sin truncar */
  /* Padding-bottom extra para que el botón flotante de WhatsApp no tape el copy */
  .footer { padding: 28px 16px 96px; gap: 18px; }
  .footer-logo { font-size: 16px; }
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
  }
  .footer-links a {
    display: inline-block;
    width: auto;
    white-space: nowrap;
    font-size: 13px;
    padding: 4px 8px;
  }
  .footer-copy { font-size: 11px; line-height: 1.5; padding: 0 8px; }

  /* Carruseles de anuncios un poco más pequeños */
  .ads-card { width: 160px !important; height: 160px !important; }
  .ads-marquee { mask-image: linear-gradient(to right,transparent 0,#000 4%,#000 96%,transparent 100%); -webkit-mask-image: linear-gradient(to right,transparent 0,#000 4%,#000 96%,transparent 100%); }

  /* Hero buttons: más respiración */
  .hero-actions { gap: 12px !important; margin-top: 6px; }
  .btn-primary, .btn-secondary { padding: 14px 18px; font-size: 14px; }
}

@media (max-width: 380px) {
  section, .testimonials { padding-left: 14px; padding-right: 14px; }
  .hero { padding: 150px 14px 24px !important; }
  .pricing-card { padding: 22px 16px !important; }
  .pricing-amount { font-size: 32px !important; }
  .pricing-card.pricing-disabled > div:first-child { font-size: 22px !important; }
  .section-title { font-size: 23px !important; }
  .ads-card { width: 140px !important; height: 140px !important; }
  .nav-actions { gap: 6px; }
  .btn-login { padding: 4px 8px !important; font-size: 11px !important; }
  .btn-nav   { padding: 5px 9px !important; font-size: 11px !important; }
}
