/* ===== PULSE — Estudio de Entrenamiento | Demo LuKami-Studio ===== */

:root {
  --bg: #0a0a0a;
  --bg-soft: #131313;
  --surface: #1a1a1a;
  --text: #f5f5f0;
  --text-muted: #9a9a94;
  --lime: #c6ff3d;
  --lime-soft: #e2ffa3;
  --line: rgba(245, 245, 240, 0.1);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 14px;
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

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

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 700;
  margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--lime); }

.section { padding: 6rem 0; }
.section-head { max-width: 640px; margin-bottom: 3.2rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
.section-head p { color: var(--text-muted); margin-top: 1rem; font-size: 1.05rem; text-transform: none; font-family: var(--font-body); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--lime); color: #0a0a0a; }
.btn-primary:hover { transform: translateY(-2px); background: var(--lime-soft); }
.btn-outline { border-color: rgba(245,245,240,0.3); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }

.btn-demo-disabled { opacity: 0.5; cursor: not-allowed; }
.btn-demo-disabled:hover { transform: none; }

.demo-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.6rem; font-style: italic; text-transform: none; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1.3rem 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
#navbar.scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--lime); }
.nav-links { display: flex; align-items: center; gap: 2.2rem; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.nav-links a:not(.btn) { color: var(--text-muted); transition: color 0.2s ease; }
.nav-links a:not(.btn):hover { color: var(--text); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 210;
  padding: 0.4rem;
}
.hamburger span { width: 24px; height: 2px; background: var(--text); transition: all 0.3s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 190;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2rem;
  font-size: 1.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  transform: translateY(-100%);
  opacity: 0; visibility: hidden;
  transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../img/hero.jpg');
  background-size: cover;
  background-position: center 20%;
  transform: scale(1.05);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.96) 0%, rgba(10,10,10,0.7) 50%, rgba(10,10,10,0.35) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 700px; padding-top: 4rem; }
.hero h1 { font-size: clamp(3rem, 8vw, 6.2rem); margin-bottom: 1.4rem; }
.hero h1 span { color: var(--lime); -webkit-text-stroke: 0; }
.hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 480px; margin-bottom: 2.3rem; text-transform: none; font-family: var(--font-body); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-stats { display: flex; gap: 2.6rem; margin-top: 3.5rem; flex-wrap: wrap; }
.hero-stat span { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--lime); }
.hero-stat small { color: var(--text-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ===== PROGRAMAS / SERVICIOS ===== */
.programs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.program-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.program-card:hover { transform: translateY(-6px); border-color: rgba(198,255,61,0.4); }
.program-img { aspect-ratio: 4/5; overflow: hidden; position: relative; }
.program-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.program-card:hover .program-img img { transform: scale(1.08); }
.program-num {
  position: absolute; top: 1rem; left: 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--lime);
}
.program-body { padding: 1.3rem 1.3rem 1.5rem; }
.program-body h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.program-body p { color: var(--text-muted); font-size: 0.86rem; text-transform: none; font-family: var(--font-body); }

/* ===== POR QUE ELEGIRNOS ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text p { color: var(--text-muted); margin-bottom: 1.2rem; text-transform: none; font-family: var(--font-body); }
.feature-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.feature-item { display: flex; gap: 1rem; align-items: flex-start; }
.feature-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(198,255,61,0.12);
  color: var(--lime);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-item strong { display: block; font-size: 0.98rem; text-transform: none; font-family: var(--font-body); font-weight: 700; }
.feature-item span { color: var(--text-muted); font-size: 0.88rem; }

/* ===== PLANES ===== */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.plan-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.plan-card:hover { transform: translateY(-6px); }
.plan-card.featured { border-color: var(--lime); background: linear-gradient(180deg, rgba(198,255,61,0.08) 0%, var(--surface) 40%); position: relative; }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--lime); color: #0a0a0a;
  font-size: 0.7rem; font-weight: 800;
  padding: 0.3rem 1rem; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.plan-name { font-size: 1.1rem; margin-bottom: 1rem; }
.plan-price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: var(--lime); }
.plan-price span { font-size: 0.9rem; color: var(--text-muted); font-family: var(--font-body); text-transform: none; font-weight: 400; }
.plan-features { margin: 1.6rem 0 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; text-align: left; }
.plan-features li { display: flex; gap: 0.6rem; align-items: center; color: var(--text-muted); font-size: 0.9rem; }
.plan-features i { color: var(--lime); }

/* ===== TESTIMONIALS ===== */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.testimonial-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.1rem; }
.stars { color: var(--lime); letter-spacing: 0.15em; margin-bottom: 1rem; }
.testimonial-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.4rem; text-transform: none; font-family: var(--font-body); }
.testimonial-author { display: flex; align-items: center; gap: 0.8rem; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(198,255,61,0.16);
  color: var(--lime);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-family: var(--font-display);
}
.author-name { font-weight: 700; font-size: 0.9rem; text-transform: none; font-family: var(--font-body); }
.author-role { color: var(--text-muted); font-size: 0.78rem; text-transform: none; }

/* ===== CTA FINAL ===== */
.cta-section { position: relative; }
.cta-bg {
  position: absolute; inset: 0;
  background-image: url('../img/cta-bg.jpg');
  background-size: cover;
  background-position: center;
}
.cta-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.95) 0%, rgba(198,255,61,0.15) 100%);
}
.cta-inner { position: relative; z-index: 2; text-align: center; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.cta-inner p { color: var(--text-muted); margin: 1.1rem 0 2rem; text-transform: none; font-family: var(--font-body); }

/* ===== FOOTER ===== */
footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; display: block; text-transform: uppercase; }
.footer-logo span { color: var(--lime); }
.footer-col p { color: var(--text-muted); font-size: 0.9rem; }
.footer-col h4 { font-size: 0.8rem; margin-bottom: 1.1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--lime); }
.social-row { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.social-row a:hover { border-color: var(--lime); color: var(--lime); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.8rem;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.demo-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  background: rgba(198,255,61,0.1);
  color: var(--lime);
  font-size: 0.75rem;
  font-weight: 700;
}
.made-by-lukami {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.made-by-lukami img { border-radius: 4px; display: block; }
.made-by-lukami:hover { color: var(--text); border-color: rgba(198,255,61,0.4); }

/* ===== ANIMATIONS ===== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].visible { opacity: 1; transform: translateY(0); }
section[id] { scroll-margin-top: 90px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img { max-width: 420px; margin: 0 auto; }
  .plans-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .programs-grid, .plans-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.6rem; }
}
