/* ================================
   PAEZ SPORT — ESTILOS GLOBALES
   Dark premium sports app
================================ */

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

:root {
  --bg-base:       #08090e;
  --bg-surface:    #0f1117;
  --bg-card:       #13151f;
  --bg-card-hover: #181b27;
  --border:        rgba(255,255,255,0.07);
  --border-bright: rgba(255,255,255,0.13);

  --cyan:          #00d4ff;
  --cyan-dim:      rgba(0,212,255,0.12);
  --cyan-glow:     rgba(0,212,255,0.25);
  --orange:        #ff6b2b;
  --orange-dim:    rgba(255,107,43,0.12);

  --text-primary:  #f0f2f8;
  --text-secondary:#8b92a8;
  --text-muted:    #4a5168;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --font-body:  'Inter', sans-serif;
  --font-head:  'Space Grotesk', sans-serif;

  --nav-h: 68px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(90deg, var(--cyan) 0%, #7b9cff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section shared */
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(0,212,255,0.2);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 17px;
}

/* ================================
   BUTTONS
================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--cyan) 0%, #0099cc 100%);
  color: #08090e;
  box-shadow: 0 0 24px var(--cyan-glow);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 36px rgba(0,212,255,0.4);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-bright);
}
.btn--outline:hover {
  background: var(--bg-card-hover);
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-bright);
}

.btn--nav {
  background: var(--cyan-dim);
  color: var(--cyan);
  border: 1px solid rgba(0,212,255,0.25);
  padding: 9px 18px;
  font-size: 14px;
}
.btn--nav:hover {
  background: var(--cyan);
  color: #08090e;
}

.btn--lg { padding: 15px 32px; font-size: 16px; }

.btn--full {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* ================================
   NAV
================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(8,9,14,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav.scrolled {
  background: rgba(8,9,14,0.97);
  border-bottom-color: var(--border-bright);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav__logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text-primary); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.25s;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px 24px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.nav__mobile a:last-of-type { border-bottom: none; }
.nav__mobile a.btn--primary {
  color: #08090e;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  text-align: center;
  justify-content: center;
  border-bottom: none;
  margin-top: 8px;
}

.mt-8 { margin-top: 8px; }
.w-full { width: 100%; }

/* ================================
   HERO
================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0,212,255,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(255,107,43,0.06) 0%, transparent 60%);
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 80px 0 80px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 28px;
}

.badge__dot {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-dot 2s infinite;
}

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

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(38px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 0 28px;
}
.stat:first-child { padding-left: 0; }

.stat__number {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
}

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

.stat__divider {
  width: 1px;
  height: 36px;
  background: var(--border-bright);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--border-bright), transparent);
  animation: scroll-hint 2s ease-in-out infinite;
}

@keyframes scroll-hint {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ================================
   FEATURES
================================ */
.features {
  padding: 100px 0;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}

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

.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all 0.25s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 46px;
  height: 46px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--cyan);
}

.feature-card h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.feature-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-dim);
  border: 1px solid rgba(255,107,43,0.25);
  padding: 3px 8px;
  border-radius: 99px;
}

/* ================================
   PRICING
================================ */
.pricing {
  padding: 100px 0;
  position: relative;
}

.pricing::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: border-color 0.25s;
}

.pricing-card--featured {
  background: linear-gradient(160deg, #0d1526 0%, #0f1520 100%);
  border-color: rgba(0,212,255,0.3);
  box-shadow: 0 0 60px rgba(0,212,255,0.06), inset 0 1px 0 rgba(0,212,255,0.15);
}

.pricing-card__badge-top {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #08090e;
  background: linear-gradient(90deg, var(--cyan), #7b9cff);
  padding: 4px 16px;
  border-radius: 99px;
  white-space: nowrap;
}

.pricing-card__header { margin-bottom: 28px; }

.pricing-card__plan {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.pricing-card--featured .pricing-card__plan {
  color: var(--cyan);
}

.pricing-card__price {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 14px;
}

.price__currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 8px;
}

.price__amount {
  font-family: var(--font-head);
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.pricing-card--featured .price__amount {
  background: linear-gradient(90deg, var(--cyan), #7b9cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price__period {
  font-size: 16px;
  color: var(--text-muted);
  align-self: flex-end;
  margin-bottom: 10px;
}

.pricing-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pricing-card__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-card__features li.disabled {
  color: var(--text-muted);
}

.check-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--cyan);
}

.pricing-card--featured .check-icon { color: var(--cyan); }

.x-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-muted);
}

.pricing__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ================================
   TRAINER
================================ */
.trainer {
  padding: 100px 0;
  position: relative;
}

.trainer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}

.trainer__inner {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  align-items: center;
}

.trainer__image-wrap {
  position: relative;
}

.trainer__image-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center, rgba(0,212,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.trainer__image {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-bright);
  object-fit: cover;
  aspect-ratio: 4/5;
}

.trainer__role {
  font-size: 15px;
  color: var(--cyan);
  font-weight: 500;
  margin-bottom: 20px;
}

.trainer__bio {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.trainer__highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.highlight__icon {
  font-size: 18px;
  width: 36px;
  text-align: center;
}

/* ================================
   CTA FINAL
================================ */
.cta-final {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}

.cta-final__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(0,212,255,0.07) 0%, transparent 70%);
}

.cta-final__content {
  position: relative;
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

.cta-final__content h2 {
  font-family: var(--font-head);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.cta-final__content p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-final__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================
   FOOTER
================================ */
.footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  margin-bottom: 48px;
  align-items: start;
}

.footer__logo {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 240px;
}

.footer__links {
  display: flex;
  gap: 60px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer__col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--text-primary); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .btn--nav { display: none; }
  .nav__burger { display: flex; }

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

  .trainer__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .trainer__image {
    max-width: 380px;
    margin: 0 auto;
    aspect-ratio: 3/4;
  }
}

@media (max-width: 640px) {
  .pricing__grid {
    grid-template-columns: 1fr;
  }

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

  .hero__actions { gap: 10px; }
  .hero__content { padding: 60px 0; }

  .stat { padding: 0 16px; }
  .stat__number { font-size: 22px; }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .footer__links { gap: 36px; }

  .pricing-card { padding: 28px 22px; }
  .price__amount { font-size: 48px; }
}

/* ================================
   REVEAL ANIMATIONS
================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-card.reveal { transition-delay: 0.1s; }
.pricing-card--featured.reveal { transition-delay: 0.2s; }

@media (max-width: 400px) {
  .hero__stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat__divider { display: none; }
  .stat { padding: 0; }
}
