/* ============================================================
   Bombómetro Landing Page — v2
   Standalone CSS — no dependency on the app's styles
   ============================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  color: #6B4A44;
  background-color: #F6E9DC;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.section {
  padding: 80px 0;
}

/* --- Shared typography --- */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #6B4A44;
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.3;
}

.section-text {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #6B4A44;
  max-width: 680px;
  margin: 0 auto 16px;
  text-align: center;
}

.section-text:last-child {
  margin-bottom: 0;
}

.section-text--highlight {
  font-weight: 600;
  font-size: 1.2rem;
  color: #8A5A52;
  font-style: italic;
}

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(
    180deg,
    #F6E9DC 0%,
    #F0DFD0 50%,
    #EAD5C4 100%
  );
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138,90,82,0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin-bottom: 28px;
  filter: drop-shadow(0 4px 24px rgba(138,90,82,0.18));
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #6B4A44;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero-tagline {
  font-size: 1.15rem;
  font-weight: 400;
  color: #8A5A52;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 32px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-tagline strong {
  font-weight: 600;
  color: #6B4A44;
}

.hero-microcopy {
  font-size: 0.88rem;
  color: #8A7A74;
  margin-top: 16px;
  animation: fadeInUp 0.8s ease-out 0.55s both;
}

.hero-social-proof {
  font-size: 0.92rem;
  font-weight: 600;
  color: #8A5A52;
  margin-top: 20px;
  animation: fadeInUp 0.8s ease-out 0.65s both;
}

/* --- CTA Button --- */
.cta-button {
  display: inline-block;
  padding: 16px 40px;
  background-color: #8A5A52;
  color: #FFFCFA;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(138,90,82,0.25);
  animation: fadeInUp 0.8s ease-out 0.45s both;
}

.cta-button:hover {
  background-color: #A67069;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(138,90,82,0.3);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(138,90,82,0.2);
}

.cta-button--secondary {
  animation: none;
}

/* ============================================================
   ANDROID DOWNLOAD BANNER
   ============================================================ */
.android-banner {
  background: linear-gradient(135deg, #3ddc84 0%, #2cb567 100%);
  padding: 16px 0;
}

.android-banner-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.android-banner-icon {
  width: 32px;
  height: 32px;
  color: #fff;
  flex-shrink: 0;
}

.android-banner-text {
  display: flex;
  flex-direction: column;
  color: #fff;
  line-height: 1.4;
}

.android-banner-text strong {
  font-size: 1rem;
  font-weight: 700;
}

.android-banner-text span {
  font-size: 0.85rem;
  opacity: 0.9;
}

.android-banner-btn {
  display: inline-block;
  padding: 8px 20px;
  background: #fff;
  color: #2cb567;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.android-banner-btn:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

/* ============================================================
   SECTION 3 — EL PROBLEMA
   ============================================================ */
.section-problem {
  background-color: #F6E9DC;
}

.problem-content {
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================================
   SECTION 4 — CÓMO FUNCIONA (3 pasos)
   ============================================================ */
.section-steps {
  background-color: #FFFCFA;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.step-card {
  text-align: center;
  padding: 8px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #8A5A52;
  color: #FFFCFA;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #6B4A44;
  margin-bottom: 10px;
}

.step-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #8A7A74;
}

.steps-cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   SECTION 5 — PARA QUIÉN ES
   ============================================================ */
.section-audience {
  background-color: #F6E9DC;
}

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

.audience-card {
  background: #FFFCFA;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(217,203,191,0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(138,90,82,0.1);
}

.audience-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  color: #8A5A52;
}

.audience-icon svg {
  width: 100%;
  height: 100%;
}

.audience-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #6B4A44;
  margin-bottom: 10px;
}

.audience-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #8A7A74;
}

/* ============================================================
   SECTION 6 — FUNCIONES PRINCIPALES
   ============================================================ */
.section-features {
  background-color: #FFFCFA;
}

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

.feature-card {
  background: #F6E9DC;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(217,203,191,0.5);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(138,90,82,0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: #8A5A52;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #6B4A44;
  margin-bottom: 12px;
}

.feature-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #8A7A74;
}

/* ============================================================
   SECTION 7 — QUIÉN LO HIZO (Autoridad)
   ============================================================ */
.section-authority {
  background: linear-gradient(135deg, #6B4A44 0%, #8A5A52 100%);
  color: #FFFCFA;
}

.section-authority .section-title {
  color: #FFFCFA;
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.authority-card {
  background: rgba(255,252,250,0.08);
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid rgba(255,252,250,0.12);
}

.authority-name {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,252,250,0.6);
  margin-bottom: 8px;
}

.authority-person {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFCFA;
  margin-bottom: 16px;
}

.authority-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,252,250,0.85);
  margin-bottom: 16px;
}

.authority-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,252,250,0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,252,250,0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.authority-link:hover {
  color: #FFFCFA;
  border-color: #FFFCFA;
}

/* ============================================================
   SECTION 8 — PLANES
   ============================================================ */
.section-plans {
  background-color: #F6E9DC;
}

.section-plans .section-text {
  margin-bottom: 40px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 720px;
  margin: 0 auto;
}

.plan-card {
  background: #FFFCFA;
  border-radius: 16px;
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(138,90,82,0.1);
}

.plan-card-premium {
  border-color: #8A5A52;
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #8A5A52;
  color: #FFFCFA;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.plan-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(138,90,82,0.12);
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #6B4A44;
  margin-bottom: 4px;
}

.plan-price {
  font-size: 1.15rem;
  color: #8A5A52;
  font-weight: 700;
}

.plan-sublabel {
  font-size: 0.85rem;
  color: #8A7A74;
  font-weight: 400;
  margin-top: 6px;
  line-height: 1.4;
}

.plan-features {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  line-height: 1.5;
  color: #6B4A44;
  padding: 6px 0;
}

.plan-feature.disabled {
  color: #A89F96;
}

.check {
  color: #8A5A52;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.cross {
  color: #CFC5BB;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.plan-cta {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
  font-family: 'Open Sans', sans-serif;
}

.plan-cta-free {
  background: transparent;
  color: #8A5A52;
  border: 2px solid #8A5A52;
}

.plan-cta-free:hover {
  background: rgba(138,90,82,0.06);
}

.plan-cta-premium {
  background: #8A5A52;
  color: #FFFCFA;
  border: 2px solid #8A5A52;
  box-shadow: 0 4px 16px rgba(138,90,82,0.2);
}

.plan-cta-premium:hover {
  background: #A67069;
  border-color: #A67069;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(138,90,82,0.25);
}

.plan-cta-subtitle {
  text-align: center;
  margin-top: 10px;
  font-size: 0.82rem;
  color: #FFFCFA;
  opacity: 0.85;
  font-weight: 400;
}

.plans-trust {
  text-align: center;
  margin-top: 28px;
  font-size: 0.88rem;
  color: #8A7A74;
}

/* ============================================================
   SECTION 9 — CTA FINAL
   ============================================================ */
.section-cta {
  background: linear-gradient(180deg, #F0DFD0 0%, #EAD5C4 100%);
}

.cta-container {
  text-align: center;
}

.section-cta .section-text {
  margin-bottom: 32px;
}

.section-cta .cta-button {
  animation: none;
}

.section-cta .hero-microcopy {
  animation: none;
}

/* ============================================================
   SECTION 10 — FOOTER
   ============================================================ */
.footer {
  background-color: #6B4A44;
  color: #F6E9DC;
  text-align: center;
  padding: 32px 24px;
  font-size: 0.9rem;
}

.footer a {
  color: #F6E9DC;
  text-decoration: underline;
}

.footer a:hover {
  opacity: 0.8;
}

.footer-origin {
  margin-top: 8px;
  opacity: 0.7;
  font-size: 0.85rem;
}

.footer-year {
  margin-top: 4px;
  opacity: 0.5;
  font-size: 0.85rem;
}

.footer-legal-links {
  margin-top: 14px;
  font-size: 0.8rem;
}

.footer-legal-links a {
  color: #F6E9DC;
  text-decoration: none;
  opacity: 0.65;
  transition: opacity 0.2s ease;
}

.footer-legal-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-legal-links .separator {
  margin: 0 8px;
  opacity: 0.4;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(138,90,82,0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 8px rgba(138,90,82,0);
  }
}

/* ============================================================
   RESPONSIVE — TABLET (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  /* Hero */
  .hero-title {
    font-size: 2rem;
  }

  .hero-tagline {
    font-size: 1.05rem;
  }

  /* Steps */
  .steps-grid {
    gap: 20px;
  }

  /* Audience */
  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .audience-card {
    padding: 24px 16px;
  }

  /* Features */
  .features-grid {
    gap: 20px;
  }

  /* Authority */
  .authority-grid {
    gap: 20px;
  }

  .authority-card {
    padding: 28px 24px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-text {
    font-size: 1rem;
  }

  .section-text--highlight {
    font-size: 1.05rem;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 80px 24px 60px;
  }

  .hero-logo {
    width: 120px;
    height: 120px;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .cta-button {
    padding: 14px 32px;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Audience */
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .audience-card {
    padding: 24px 20px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  /* Authority */
  .authority-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .authority-card {
    padding: 24px 20px;
  }

  /* Plans */
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 360px;
  }

  .plan-card {
    padding: 32px 20px 24px;
  }

  /* Android banner */
  .android-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .android-banner-icon {
    width: 28px;
    height: 28px;
  }

  .android-banner-btn {
    width: 100%;
    max-width: 200px;
    text-align: center;
  }
}
