/* ==========================================================================
   SPORTIFPRO — Landing Informativa Bono Debut (Chile)
   ========================================================================== */

:root {
  --bg-deep: #080824;
  --bg-alt: #0e0d2f;
  --bg-navbar: rgba(11, 10, 44, 0.92);
  --surface-card: rgba(35, 30, 71, 0.78);
  --surface-stat: rgba(23, 21, 61, 0.88);
  --surface-callout: rgba(44, 37, 81, 0.72);
  --surface-accordion: rgba(36, 31, 70, 0.78);
  --border-subtle: rgba(175, 155, 255, 0.14);
  --border-callout: #9b82f3;
  --text-white: #ffffff;
  --text-accent: #b5a5ec;
  --text-eyebrow: #a998e6;
  --text-muted: #b5b0d4;
  --text-dim: #8b85ad;
  --btn-grad: linear-gradient(90deg, #a768f8 0%, #7d5cf6 52%, #6052f4 100%);
  --btn-grad-hover: linear-gradient(90deg, #b57aff 0%, #8b6dff 52%, #6e61ff 100%);
  --badge-grad: linear-gradient(135deg, #9158fa 0%, #6842ef 100%);
  --cta-banner-grad: linear-gradient(95deg, #3c228d 0%, #2a2489 50%, #1a2b87 100%);
  --container-max: 1080px;
  --container-narrow: 760px;
  --radius-card: 16px;
  --radius-btn: 11px;
}

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

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

body {
  background-color: var(--bg-deep);
  color: var(--text-white);
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   Containers
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Top Navbar
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-navbar);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.navbar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--text-white);
}

.brand-diamond {
  width: 10px;
  height: 10px;
  background: #ffffff;
  transform: rotate(45deg);
  display: inline-block;
  border-radius: 1.5px;
  flex-shrink: 0;
}

.brand-pro {
  color: #8870ff;
}

.nav-link {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  background-color: #0d0a2c;
  background-image:
    radial-gradient(circle at 8% 18%, rgba(92, 36, 178, 0.45) 0%, transparent 45%),
    radial-gradient(circle at 90% 62%, rgba(14, 52, 160, 0.52) 0%, transparent 50%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 58px 0 66px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 44px;
}

.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-eyebrow);
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(2.15rem, 3.8vw, 3.15rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text-white);
  margin-bottom: 18px;
}

.hero-title-accent {
  color: var(--text-accent);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(45, 32, 92, 0.55);
  border: 1px solid rgba(175, 155, 255, 0.22);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #e4ddff;
  margin-bottom: 18px;
}

.hero-description {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 24px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--radius-btn);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-align: center;
}

.btn-primary {
  background: var(--btn-grad);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 26px rgba(105, 72, 245, 0.34);
}

.btn-primary:hover {
  background: var(--btn-grad-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(114, 82, 255, 0.46);
}

.btn-secondary {
  background: rgba(14, 11, 40, 0.72);
  color: var(--text-white);
  border: 1px solid rgba(175, 155, 255, 0.24);
}

.btn-secondary:hover {
  background: rgba(32, 26, 74, 0.85);
  border-color: rgba(190, 172, 255, 0.4);
  transform: translateY(-1px);
}

.hero-legal {
  font-size: 0.74rem;
  color: var(--text-dim);
  line-height: 1.45;
}

/* Hero Right Image Card */
.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-frame {
  width: 100%;
  max-width: 460px;
  border-radius: 18px;
  overflow: hidden;
  background: #0d0a2c;
  border: 1px solid rgba(175, 155, 255, 0.18);
  box-shadow:
    0 24px 55px rgba(3, 2, 18, 0.7),
    0 0 40px rgba(98, 66, 245, 0.18);
}

.hero-card-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ==========================================================================
   Shared Section Headers & Callouts
   ========================================================================== */

.section-steps {
  background-color: var(--bg-deep);
  padding: 68px 0;
}

.section-rules {
  background-color: var(--bg-alt);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 68px 0;
}

.section-terms {
  background-color: var(--bg-deep);
  padding: 68px 0;
}

.section-title {
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* ==========================================================================
   Section 2: 3 Steps Grid
   ========================================================================== */

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

.step-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.step-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--badge-grad);
  color: var(--text-white);
  font-size: 0.82rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(114, 65, 255, 0.32);
}

.step-title {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
  line-height: 1.3;
}

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

.step-text strong {
  color: var(--text-white);
  font-weight: 700;
}

.step-text-line + .step-text-line {
  margin-top: 4px;
}

/* Callout Alert Box */
.callout-box {
  margin-top: 18px;
  background: var(--surface-callout);
  border: 1px solid var(--border-subtle);
  border-left: 3.5px solid var(--border-callout);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 0.88rem;
  color: #dbd6f2;
  line-height: 1.55;
}

.callout-box strong {
  color: var(--text-white);
  font-weight: 700;
}

/* ==========================================================================
   Section 3: 4 Rules / Stats Grid
   ========================================================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--surface-stat);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 22px 20px 24px;
}

.stat-value {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   Section 4: Términos y Condiciones (Accordions)
   ========================================================================== */

.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: var(--surface-accordion);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.accordion-item[open] {
  background: rgba(40, 35, 76, 0.85);
  border-color: rgba(175, 155, 255, 0.22);
}

.accordion-summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}

.accordion-summary::-webkit-details-marker {
  display: none;
}

.accordion-summary::before {
  content: "▸";
  font-size: 0.85rem;
  color: var(--text-white);
  transition: transform 0.18s ease;
  display: inline-block;
}

.accordion-item[open] .accordion-summary::before {
  content: "▾";
}

.accordion-content {
  padding: 0 22px 22px 40px;
  font-size: 0.88rem;
  color: #d0cbe8;
  line-height: 1.65;
}

.terms-list {
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.terms-list li::marker {
  color: #b49ef8;
}

.terms-list strong {
  color: var(--text-white);
  font-weight: 700;
}

/* ==========================================================================
   Section 5: Bottom CTA Banner
   ========================================================================== */

.section-cta {
  background-color: #0b0a29;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 58px 0;
}

.cta-banner {
  background: var(--cta-banner-grad);
  border: 1px solid rgba(175, 155, 255, 0.2);
  border-radius: 22px;
  padding: 48px 28px;
  text-align: center;
  box-shadow: 0 22px 55px rgba(4, 3, 20, 0.55);
}

.cta-banner .eyebrow {
  color: #c8bbf7;
  margin-bottom: 8px;
}

.cta-title {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.cta-subtitle {
  font-size: 0.94rem;
  color: #d3cef0;
  margin-bottom: 24px;
}

.cta-footnote {
  margin-top: 18px;
  font-size: 0.74rem;
  color: #a39dc9;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.76rem;
  color: var(--text-dim);
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font-size: 0.75rem;
}

.footer-link {
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--text-white);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-media {
    justify-content: flex-start;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .hero-section,
  .section-steps,
  .section-rules,
  .section-terms,
  .section-cta {
    padding: 48px 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 36px 20px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}
