/* ══════════════════════════════════════════
   Delta Fitness Marathon 3.0 — Styles
   ══════════════════════════════════════════ */

/* ─── VARIABLES ─── */
:root {
  --primary: #ff8a32;
  --primary-light: #fff3e8;
  --dark: #0a1c2a;
  --secondary: #17417a;
  --white: #ffffff;
  --muted-bg: #f5f6f8;
  --muted-text: #5a6a7a;
  --border-color: #e2e8f0;
  --radius: 0.75rem;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ─── CONTAINER ─── */
.container {
  width: min(1120px, 100% - 2rem);
  margin: 0 auto;
}
.container--sm { max-width: 520px; }

@media (min-width: 1024px) {
  .container {
    width: min(1120px, 100% - 4rem);
  }
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(10,28,42,0.82); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.navbar__inner {
  min-height: 68px; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.navbar__brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--white); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.02em;
}
.navbar__logo {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  /* border: 2px solid rgba(255,255,255,0.3); */
}
.navbar__toggle {
  width: 42px; height: 42px; border: 1px solid rgba(255,255,255,0.25);
  border-radius: 0.5rem; background: transparent; cursor: pointer;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
}
.navbar__toggle span {
  display: block; width: 18px; height: 2px; background: var(--white); transition: transform 0.2s ease, opacity 0.2s ease;
}
.navbar__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.navbar__links {
  position: absolute; top: 100%; left: 1rem; right: 1rem;
  display: none; flex-direction: column; gap: 0.75rem;
  background: rgba(10,28,42,0.98); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 0.9rem;
  color: rgba(255,255,255,0.92); font-size: 0.95rem; font-weight: 500;
}
.navbar__links.is-open { display: flex; }
.navbar__links a {
  padding: 0.15rem 0;
  transition: color 0.2s ease;
}
.navbar__links a:hover { color: var(--primary); }

@media (min-width: 768px) {
  .navbar__toggle { display: none; }
  .navbar__brand { font-size: 1rem; }
  .navbar__logo {
    width: 44px; height: 44px;
    border-color: rgba(255,255,255,0.38);
  }
  .navbar__links {
    position: static; display: flex; flex-direction: row; gap: 1.5rem;
    margin-left: auto;
    border: none; background: transparent; padding: 0;
    font-size: 0.92rem;
  }
}

@media (max-width: 767px) {
  .navbar__brand span { display: none; }
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1rem;
  padding: 0.875rem 2rem; border-radius: var(--radius); border: none;
  cursor: pointer; transition: all 0.2s ease; text-decoration: none;
}
.btn--primary { background: var(--primary); color: var(--white); }
.btn--primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn--outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn--outline:hover { background: rgba(255,255,255,0.1); }
.btn--lg { font-size: 1.125rem; padding: 1rem 2.5rem; }
.btn--full { width: 100%; }
.btn--glow {
  box-shadow: 0 0 0 0 rgba(255,138,50,0.4);
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,138,50,0.4); }
  50% { box-shadow: 0 0 20px 8px rgba(255,138,50,0.2); }
}

/* ─── SECTIONS ─── */
.section { padding: 3.5rem 0; }
.section--white { background: var(--white); }
.section--dark { background: var(--dark); color: var(--white); }
.section--muted { background: var(--muted-bg); }

.section__title {
  font-size: 1.5rem; font-weight: 900; text-align: center; margin-bottom: 2rem;
}
.section__title--light { color: var(--white); }
.section__title--left { text-align: left; margin-bottom: 1.25rem; }

/* ─── GRID ─── */
.grid { display: grid; gap: 1rem; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 768px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .section__title { font-size: 2rem; }
}

@media (min-width: 1024px) {
  .section {
    padding: 4.25rem 0;
  }
}

/* ═══════════════════════════
   HERO
   ═══════════════════════════ */
.hero {
  position: relative; min-height: 100vh; display: flex;
  align-items: center; justify-content: center; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,28,42,0.8), rgba(10,28,42,0.6), rgba(10,28,42,0.9));
}
.hero__content {
  position: relative; z-index: 2; text-align: center;
  padding: 6rem 1.5rem 3rem; max-width: 600px;
}
.hero__badge {
  color: var(--primary); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 1rem;
}
.hero__title {
  font-size: 2.5rem; font-weight: 900; color: var(--white);
  line-height: 1.1; margin-bottom: 0.75rem;
}
.hero__tagline {
  font-size: 1.25rem; color: var(--primary); font-weight: 600;
  font-style: italic; margin-bottom: 1.5rem;
}
.hero__info {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.75rem; color: rgba(255,255,255,0.85); font-size: 0.9rem; margin-bottom: 2rem;
}
.hero__info i { color: var(--primary); margin-right: 0.25rem; }
.hero__divider { display: none; color: rgba(255,255,255,0.3); }
.hero__actions { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }
.hero-countdown {
  margin-top: 1.25rem;
  display: none;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.9rem;
  padding: 0.8rem 0.9rem;
}
.hero-countdown__title {
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}
.hero-countdown__timer { display: flex; gap: 0.55rem; }
.hero-countdown__unit {
  background: rgba(10,28,42,0.46);
  min-width: 70px;
  border-radius: 0.6rem;
  padding: 0.35rem 0.45rem;
}
.hero-countdown__value {
  display: block;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
}
.hero-countdown__label {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 0.68rem;
}

@media (min-width: 768px) {
  .hero__title { font-size: 3.75rem; }
  .hero__tagline { font-size: 1.5rem; }
  .hero__divider { display: inline; }
  .hero__actions { flex-direction: column; justify-content: center; }
  .hero-countdown { display: inline-block; }
}

/* ═══════════════════════════
   HIGHLIGHT CARDS
   ═══════════════════════════ */
.highlight-card {
  background: var(--muted-bg); border-radius: var(--radius);
  padding: 1.25rem; text-align: center; transition: all 0.3s ease;
}
.highlight-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.highlight-card__icon {
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--primary-light); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 0.75rem;
}
.highlight-card__icon i { color: var(--primary); font-size: 1.25rem; }
.highlight-card h3 { font-size: 0.8rem; font-weight: 700; margin-bottom: 0.25rem; }
.highlight-card p { font-size: 0.7rem; color: var(--muted-text); }

/* ═══════════════════════════
   FEATURE (BANNER + WHY JOIN)
   ═══════════════════════════ */
.section--feature { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.feature {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center;
}
.feature__media {
  width: 100%;
  max-width: 560px;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature__img {
  width: auto;
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: transparent;
}
.feature__content {
  width: 100%;
  max-width: 560px;
  justify-self: center;
}
.feature__content .checklist__item {
  background: var(--white);
}
@media (min-width: 992px) {
  .feature {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2rem;
  }
}

/* ═══════════════════════════
   MID CTA
   ═══════════════════════════ */
.mid-cta {
  background: var(--primary);
  text-align: center;
  padding: 0.9rem 0;
}
.mid-cta a {
  color: var(--white);
  font-weight: 700;
  font-size: 0.98rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.2rem 0.25rem;
}
.mid-cta a:hover { text-decoration: underline; }

/* ═══════════════════════════
   RACE CARDS
   ═══════════════════════════ */
.race-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 1.25rem; text-align: center;
  transition: all 0.3s ease;
}
.race-card:hover { background: rgba(255,255,255,0.1); }
.race-card__icon {
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.75rem; transition: transform 0.3s ease;
}
.race-card:hover .race-card__icon { transform: scale(1.1); }
.race-card__icon i { color: var(--white); font-size: 1.25rem; }
.race-card__icon--orange { background: linear-gradient(135deg, var(--primary), #e06a10); }
.race-card__icon--blue { background: linear-gradient(135deg, var(--secondary), #0d2d5a); }
.race-card__icon--green { background: linear-gradient(135deg, #10b981, #047857); }
.race-card__icon--pink { background: linear-gradient(135deg, #ec4899, #e11d48); }
.race-card__km { font-size: 1.5rem; font-weight: 900; color: var(--primary); }
.race-card__name { font-size: 0.85rem; font-weight: 600; }
.race-card__desc { font-size: 0.7rem; color: rgba(255,255,255,0.6); margin-top: 0.25rem; }

/* ═══════════════════════════
   BENEFIT ITEMS
   ═══════════════════════════ */
.benefit-item {
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--primary-light); border-radius: var(--radius);
  padding: 1rem; transition: box-shadow 0.3s ease;
}
.benefit-item:hover { box-shadow: var(--shadow); }
.benefit-item__icon {
  width: 2.5rem; height: 2.5rem; border-radius: 0.5rem;
  background: var(--primary); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.benefit-item__icon i { color: var(--white); font-size: 0.9rem; }
.benefit-item span { font-size: 0.85rem; font-weight: 600; }

/* ═══════════════════════════
   PRIZES
   ═══════════════════════════ */
.prizes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem; max-width: 480px; margin: 0 auto;
  align-items: end;
}
.prize-card {
  text-align: center; border-radius: var(--radius); padding: 1.25rem;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
}
.prize-card--gold {
  background: rgba(255,255,255,0.1); border: 2px solid var(--primary);
  transform: scale(1.08); padding: 1.5rem;
}
.prize-card__emoji { font-size: 2rem; }
.prize-card__amount { font-size: 1.25rem; font-weight: 900; color: var(--primary); margin-top: 0.5rem; }
.prize-card__sub { font-size: 0.7rem; color: rgba(255,255,255,0.6); margin-top: 0.25rem; }

@media (min-width: 768px) {
  .prize-card__emoji { font-size: 2.5rem; }
  .prize-card__amount { font-size: 1.5rem; }
}

/* ═══════════════════════════
   CHECKLIST
   ═══════════════════════════ */
.checklist { display: flex; flex-direction: column; gap: 0.75rem; }
.checklist__item {
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--muted-bg); border-radius: var(--radius); padding: 1rem;
}
.checklist__item i { color: var(--primary); font-size: 1.1rem; flex-shrink: 0; }
.checklist__item span { font-size: 0.85rem; font-weight: 500; }

/* ═══════════════════════════
   IMAGE SLIDER
   ═══════════════════════════ */
.slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.slider__viewport {
  overflow: hidden;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  border-radius: var(--radius);
}
.slider__track {
  display: flex;
  transition: transform 0.35s ease;
}
.slider__img {
  width: 100%;
  flex: 0 0 100%;
  aspect-ratio: 5 / 4;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: transparent;
}
.slider__nav {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--white);
  color: var(--dark);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.slider__nav:hover { color: var(--primary); }
@media (min-width: 768px) {
  .slider__nav { display: inline-flex; }
  .slider__img { max-height: 360px; }
}

/* ═══════════════════════════
   FAQ
   ═══════════════════════════ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq__item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.faq__question {
  width: 100%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
}
.faq__question i {
  color: var(--primary);
  transition: transform 0.2s ease;
}
.faq__answer {
  display: none;
  padding: 0 1rem 1rem;
  color: var(--muted-text);
  font-size: 0.9rem;
}
.faq__item.is-open .faq__answer {
  display: block;
}
.faq__item.is-open .faq__question i {
  transform: rotate(45deg);
}

/* ═══════════════════════════
   SPONSORS
   ═══════════════════════════ */
.sponsors {
  display: flex; align-items: center; justify-content: center; gap: 3rem;
}
.sponsor { text-align: center; }
.sponsor__icon {
  width: 7rem;
  height: 7rem;
  background: transparent;
  border-radius: 0;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 0.5rem;
}
.sponsor__icon i { font-size: 1.5rem; color: var(--secondary); }
.sponsor__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sponsor p { font-size: 0.75rem; font-weight: 600; color: var(--muted-text); }

/* ═══════════════════════════
   TESTIMONIALS
   ═══════════════════════════ */
.testimonial {
  background: var(--white); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: var(--shadow);
}
.testimonial__stars { margin-bottom: 0.75rem; }
.testimonial__stars i { color: var(--primary); font-size: 0.8rem; }
.testimonial__stars i.dim { color: var(--border-color); }
.testimonial__text { font-size: 0.85rem; color: var(--muted-text); font-style: italic; margin-bottom: 0.75rem; }
.testimonial__name { font-size: 0.8rem; font-weight: 700; }

/* ═══════════════════════════
   WARNING BOX
   ═══════════════════════════ */
.warning-box {
  background: var(--primary-light); border: 2px solid rgba(255,138,50,0.3);
  border-radius: var(--radius); padding: 1.25rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.warning-box__item {
  display: flex; align-items: flex-start; gap: 0.75rem;
}
.warning-box__item i { color: var(--primary); margin-top: 0.15rem; flex-shrink: 0; }
.warning-box__item span { font-size: 0.85rem; font-weight: 500; }

/* ═══════════════════════════
   FINAL CTA
   ═══════════════════════════ */
.final-cta {
  background: var(--dark); color: var(--white); text-align: center;
  padding: 5rem 1rem 0;
}
.final-cta__title { font-size: 2rem; font-weight: 900; margin-bottom: 1rem; }
.final-cta__sub { color: rgba(255,255,255,0.7); margin-bottom: 2rem; }

@media (min-width: 768px) {
  .final-cta__title { font-size: 2.5rem; }
}

/* ═══════════════════════════
   FOOTER
   ═══════════════════════════ */
.footer {
  background: var(--dark); color: rgba(255,255,255,0.8);
  padding: 2.5rem 1rem 6rem; text-align: center;
}
.footer__brand { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.footer__links {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.75rem; font-size: 0.85rem; margin-bottom: 1.5rem;
}
.footer__links a:hover { color: var(--primary); }
.footer__links i { margin-right: 0.5rem; }
.footer__copy { font-size: 0.7rem; color: rgba(255,255,255,0.4); }

@media (min-width: 768px) {
  .footer { padding-bottom: 2.5rem; }
  .footer__links { flex-direction: row; justify-content: center; }
}

/* ═══════════════════════════
   STICKY MOBILE CTA
   ═══════════════════════════ */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.98);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -8px 24px rgba(10,28,42,0.12);
  padding: 0.65rem 0.75rem;
}
.sticky-cta__inner {
  max-width: 960px; margin: 0 auto;
}
.sticky-cta__note {
  font-size: 0.72rem; color: var(--muted-text); text-align: center; margin-bottom: 0.5rem;
}
.sticky-cta__content {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
}
.sticky-cta__timer {
  display: flex; align-items: center; gap: 0.45rem;
}
.sticky-cta__unit {
  min-width: 58px; background: #f3f4f6; border-radius: 0.55rem; padding: 0.35rem 0.3rem;
  text-align: center;
}
.sticky-cta__value {
  display: block; font-size: 1.2rem; font-weight: 800; line-height: 1.1; color: var(--dark);
}
.sticky-cta__label {
  display: block; margin-top: 0.15rem; font-size: 0.72rem; color: var(--muted-text); font-weight: 500;
}
.sticky-cta__button {
  flex-shrink: 0;
  min-width: 130px;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  font-size: 1rem;
}
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ═══════════════════════════
   FADE IN ANIMATION
   ═══════════════════════════ */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1; transform: translateY(0);
}
