/* =============================================
   PUNTAJEX — ESTILOS v2.0
   Gaming competitive. Dark. No friction.
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #6D28D9;
  --primary-light: #8B5CF6;
  --primary-dark: #4C1D95;
  --blue: #3B82F6;
  --blue-dark: #1D4ED8;
  --orange: #F97316;
  --orange-light: #FB923C;
  --neon: #F59E0B;
  --success: #10B981;
  --danger: #EF4444;
  --bg: #070A12;
  --bg-2: #0C0F1C;
  --bg-card: #0F1623;
  --bg-card-2: #141B2D;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(139,92,246,0.5);
  --text: #F0F4FF;
  --text-muted: #8B9BB4;
  --text-dim: #4B5675;
  --gradient-main: linear-gradient(90deg, #4F46E5 -10%, #7C3AED 110%);
  --gradient-hero: linear-gradient(135deg, #3B82F6, #6D28D9, #F97316);
  --gradient-text: linear-gradient(90deg, #60A5FA, #8B5CF6, #F97316);
  --glow-primary: 0 0 40px rgba(109,40,217,0.35);
  --glow-orange: 0 0 30px rgba(249,115,22,0.25);
  --shadow-card: 0 8px 40px rgba(0,0,0,0.5);
  --radius-sm: 8px; --radius-md: 16px; --radius-lg: 24px;
  --font: 'Outfit', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 99px; }

/* ---- GRADIENT TEXT ---- */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 700; font-size: 0.95rem;
  border-radius: 99px; cursor: pointer; transition: var(--transition);
  white-space: nowrap; padding: 12px 26px; border: none;
}
.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 20px rgba(109,40,217,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(109,40,217,0.55); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border); backdrop-filter: blur(8px);
}
.btn-outline:hover { border-color: var(--primary-light); color: var(--primary-light); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.05); color: var(--text-muted); }
.btn-ghost:hover { background: rgba(255,255,255,0.09); color: var(--text); transform: translateY(-2px); }
.btn-lg { font-size: 1.05rem; padding: 14px 32px; }
.btn-full { width: 100%; justify-content: center; }

/* ---- SECTION COMMONS ---- */
.section-container { max-width: 1200px; margin: 0 auto; padding: 100px 24px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.25);
  color: var(--primary-light); font-size: 0.72rem; font-weight: 800;
  padding: 5px 14px; border-radius: 99px; margin-bottom: 16px;
  letter-spacing: 2px; text-transform: uppercase;
}
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 900; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 16px; }
.section-subtitle { font-size: 1rem; color: var(--text-muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* ---- FADE ANIMATIONS ---- */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   NAVBAR
   ============================================= */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: var(--transition); }
.nav.scrolled {
  background: rgba(7,10,18,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 72px; display: flex; align-items: center; gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 900; letter-spacing: -0.5px; }
.logo-icon-img { height: 56px; width: auto; object-fit: contain; }
.logo-x { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav-links a { font-size: 0.88rem; font-weight: 600; color: var(--text-muted); transition: var(--transition); letter-spacing: 0.3px; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 99px; transition: var(--transition); }
.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 { display: none; background: rgba(7,10,18,0.97); backdrop-filter: blur(20px); border-top: 1px solid var(--border); padding: 16px 24px 24px; }
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu li a { display: block; padding: 12px 0; font-size: 1rem; font-weight: 500; color: var(--text-muted); border-bottom: 1px solid var(--border); transition: var(--transition); }
.mobile-menu li a:hover { color: var(--text); }
.mobile-cta { margin-top: 16px; width: 100%; text-align: center; display: block; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative; min-height: 100vh; display: flex;
  flex-direction: column; justify-content: center;
  padding: 120px 24px 80px; overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(109,40,217,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(109,40,217,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.3; animation: float-orb 8s ease-in-out infinite alternate; }
.hero-orb-1 { width: 480px; height: 480px; background: radial-gradient(circle, #4F46E5, transparent); top: -80px; left: -80px; }
.hero-orb-2 { width: 380px; height: 380px; background: radial-gradient(circle, #F97316, transparent); bottom: -60px; right: -60px; animation-delay: -4s; }
.hero-orb-3 { width: 280px; height: 280px; background: radial-gradient(circle, #6D28D9, transparent); top: 40%; right: 15%; animation-delay: -2s; opacity: 0.2; }
@keyframes float-orb { from { transform: translate(0,0) scale(1); } to { transform: translate(18px,18px) scale(1.07); } }

.hero-container { position: relative; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(109,40,217,0.12); border: 1px solid rgba(109,40,217,0.3);
  color: var(--primary-light); font-size: 0.82rem; font-weight: 600;
  padding: 6px 16px; border-radius: 99px; margin-bottom: 24px; width: fit-content;
  animation: badge-glow 3s ease-in-out infinite;
}
.badge-dot { width: 7px; height: 7px; background: var(--success); border-radius: 50%; animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.6; } }
@keyframes badge-glow { 0%,100% { box-shadow: 0 0 0 rgba(109,40,217,0); } 50% { box-shadow: 0 0 18px rgba(109,40,217,0.35); } }

.hero-title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; line-height: 1.08; letter-spacing: -2.5px; margin-bottom: 20px; }
.hero-subtitle { font-size: 1.05rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 36px; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-social-proof { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 0.88rem; }
.hero-social-proof strong { color: var(--text); }
.avatars { display: flex; align-items: center; }
.avatar { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--bg); display: flex; align-items: center; justify-content: center; font-size: 0.68rem; font-weight: 700; margin-left: -7px; }
.avatar:first-child { margin-left: 0; }
.av1 { background: #4F46E5; } .av2 { background: #F97316; } .av3 { background: #6D28D9; } .av4 { background: #10B981; } .av5 { background: var(--bg-card-2); color: var(--text-muted); font-size: 0.6rem; }

/* ---- HUB CARD ---- */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hub-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px; width: 100%; max-width: 340px;
  box-shadow: var(--shadow-card), 0 0 60px rgba(109,40,217,0.1);
  animation: card-float 5s ease-in-out infinite; position: relative; z-index: 2;
}
@keyframes card-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hub-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.hub-greeting { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 6px; }
.hub-level-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(109,40,217,0.2); border: 1px solid rgba(109,40,217,0.35); border-radius: 99px; padding: 3px 10px; }
.level-num { font-size: 0.8rem; font-weight: 800; color: var(--primary-light); }
.level-tier { font-size: 0.7rem; color: var(--text-muted); }
.hub-streak { display: flex; align-items: center; gap: 4px; background: rgba(249,115,22,0.12); border: 1px solid rgba(249,115,22,0.25); border-radius: 99px; padding: 5px 10px; }
.streak-num { font-size: 1rem; font-weight: 900; color: var(--orange); line-height: 1; }
.streak-lbl { font-size: 0.68rem; color: var(--text-muted); }

.hub-xp-wrap { margin-bottom: 16px; }
.hub-xp-labels { display: flex; justify-content: space-between; font-size: 0.72rem; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.hub-xp-track { height: 5px; background: rgba(255,255,255,0.07); border-radius: 99px; overflow: hidden; }
.hub-xp-fill { height: 100%; width: 68%; background: var(--gradient-main); border-radius: 99px; transition: width 1s ease; }

.hub-main-btn {
  width: 100%; background: var(--gradient-main); color: #fff;
  border: none; border-radius: 10px; padding: 12px;
  font-family: var(--font); font-size: 0.9rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-bottom: 14px; transition: var(--transition);
  box-shadow: 0 4px 16px rgba(109,40,217,0.3);
}
.hub-main-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(109,40,217,0.45); }

.hub-quick { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 14px; }
.hub-quick-item {
  background: var(--bg-card-2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 6px;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  font-size: 0.7rem; font-weight: 600; color: var(--text-muted);
  cursor: pointer; transition: var(--transition);
}
.hub-quick-item:hover { border-color: var(--primary-light); color: var(--primary-light); }
.hub-quick-item svg { color: var(--text-muted); }

.hub-challenge { background: rgba(249,115,22,0.06); border: 1px solid rgba(249,115,22,0.2); border-radius: 10px; padding: 12px; }
.hub-challenge-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.challenge-tag { font-size: 0.65rem; font-weight: 800; letter-spacing: 1.5px; color: var(--orange); text-transform: uppercase; }
.challenge-xp { font-size: 0.75rem; font-weight: 700; color: var(--orange); background: rgba(249,115,22,0.15); padding: 2px 8px; border-radius: 99px; }
.challenge-title { font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.challenge-dots { display: flex; gap: 6px; }
.cdot { width: 24px; height: 6px; border-radius: 99px; background: rgba(255,255,255,0.1); transition: var(--transition); }
.cdot-done { background: var(--orange); }

/* Floating stats */
.stat-float {
  position: absolute; background: var(--bg-card-2); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 10px 14px;
  display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-card); z-index: 3;
}
.stat-float--1 { top: 0; left: -40px; animation: card-float 5s ease-in-out infinite; }
.stat-float--2 { bottom: 20px; right: -40px; animation: card-float 6s ease-in-out 1s infinite; }
.stat-float--3 { top: 45%; right: -50px; animation: card-float 4.5s ease-in-out 0.5s infinite; }
.stat-val { font-size: 1.1rem; font-weight: 800; color: var(--text); line-height: 1; }
.stat-lbl { font-size: 0.68rem; color: var(--text-muted); margin-top: 2px; }

.scroll-indicator { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 13px; display: flex; justify-content: center; padding-top: 7px; }
.scroll-dot { width: 4px; height: 7px; background: var(--primary-light); border-radius: 99px; animation: scroll-down 2s ease-in-out infinite; }
@keyframes scroll-down { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(11px); opacity: 0; } }

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 32px 24px; }
.stats-container { max-width: 1000px; margin: 0 auto; display: flex; align-items: center; justify-content: space-around; gap: 24px; flex-wrap: wrap; }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 900; background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.stat-suffix { font-size: 2.5rem; font-weight: 900; background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 44px; background: var(--border); }

/* =============================================
   ECOSISTEMA
   ============================================= */
.ecosystem { background: var(--bg-2); }
.ecosystem-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.eco-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 28px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.eco-card:hover { transform: translateY(-5px); border-color: var(--border-hover); box-shadow: var(--glow-primary); }
.eco-card--main { border-color: rgba(109,40,217,0.3); background: linear-gradient(160deg, rgba(109,40,217,0.1), var(--bg-card)); }
.eco-card--highlight { border-color: rgba(249,115,22,0.35); background: linear-gradient(160deg, rgba(249,115,22,0.06), var(--bg-card)); }
.eco-number { font-size: 0.68rem; font-weight: 800; color: var(--text-dim); letter-spacing: 2.5px; margin-bottom: 12px; text-transform: uppercase; }
.eco-icon { margin-bottom: 14px; color: var(--primary-light); }
.eco-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.eco-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.eco-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.eco-tags span { background: rgba(109,40,217,0.12); border: 1px solid rgba(109,40,217,0.25); color: var(--primary-light); font-size: 0.7rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; }
.eco-tag-accent { background: rgba(249,115,22,0.12) !important; border-color: rgba(249,115,22,0.25) !important; color: var(--orange) !important; }

/* =============================================
   MODO PRÁCTICA
   ============================================= */
.practice-section { background: var(--bg); }
.practice-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.practice-steps { display: flex; flex-direction: column; gap: 0; margin: 28px 0; }
.pstep { display: flex; align-items: flex-start; gap: 16px; }
.pstep-num { width: 36px; height: 36px; border-radius: 50%; background: rgba(109,40,217,0.15); border: 1px solid rgba(109,40,217,0.3); display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 800; color: var(--primary-light); flex-shrink: 0; }
.pstep-body h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.pstep-body p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.pstep-line { width: 1px; height: 24px; background: rgba(109,40,217,0.25); margin: 4px 0 4px 18px; }
.practice-meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 32px; }
.pmeta { display: flex; flex-direction: column; gap: 2px; }
.pmeta-n { font-size: 1.8rem; font-weight: 900; background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.pmeta-l { font-size: 0.75rem; color: var(--text-muted); }

/* Practice Question Card */
.pcard-wrap { display: flex; justify-content: center; }
.pcard {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px; width: 100%; max-width: 360px;
  box-shadow: var(--shadow-card), 0 0 50px rgba(109,40,217,0.08);
  animation: card-float 5s ease-in-out 1s infinite;
}
.pcard-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; gap: 8px; }
.pcard-subject { font-size: 0.75rem; font-weight: 700; color: var(--primary-light); background: rgba(109,40,217,0.15); border: 1px solid rgba(109,40,217,0.25); padding: 4px 12px; border-radius: 99px; white-space: nowrap; }
.pcard-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.pbar-wrap { display: flex; align-items: center; gap: 8px; }
.pbar-track { width: 70px; height: 4px; background: rgba(255,255,255,0.08); border-radius: 99px; overflow: hidden; }
.pbar-fill { height: 100%; background: var(--gradient-main); border-radius: 99px; }
.pbar-lbl { font-size: 0.68rem; font-weight: 700; color: var(--text-dim); white-space: nowrap; }
.pcard-diff { font-size: 0.65rem; font-weight: 800; letter-spacing: 1px; color: var(--orange); background: rgba(249,115,22,0.12); border: 1px solid rgba(249,115,22,0.25); padding: 2px 8px; border-radius: 99px; }
.pcard-q { font-size: 0.92rem; font-weight: 600; line-height: 1.55; margin-bottom: 16px; }
.pcard-opts { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.pcard-opt {
  padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.85rem; font-weight: 500; color: var(--text-muted); cursor: pointer; transition: var(--transition);
}
.pcard-opt:hover { border-color: var(--primary-light); color: var(--text); }
.pcard-opt--correct { background: rgba(16,185,129,0.08); border-color: var(--success); color: var(--success); font-weight: 700; }
.pcard-opt--wrong { background: rgba(239,68,68,0.08); border-color: var(--danger); color: var(--danger); animation: shake 0.35s ease; }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.pcard-feedback {
  display: flex; flex-direction: column; gap: 6px;
  background: rgba(16,185,129,0.06); border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 12px;
}
.fb-mark { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 700; color: var(--success); }
.fb-exp { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }
.pcard-xp {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.78rem; font-weight: 700; color: var(--orange);
  background: rgba(249,115,22,0.1); border: 1px solid rgba(249,115,22,0.2);
  width: fit-content; padding: 4px 10px; border-radius: 99px;
}

/* =============================================
   ANALYTICS
   ============================================= */
.analytics-section { background: var(--bg-2); position: relative; overflow: hidden; }
.analytics-bg-orb { position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(249,115,22,0.06), transparent); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; }
.analytics-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.analytics-dashboard {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow-card);
}
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.dash-title { font-size: 0.9rem; font-weight: 700; }
.dash-period { font-size: 0.72rem; color: var(--text-dim); background: var(--bg-card-2); padding: 3px 10px; border-radius: 99px; }
.skill-bars { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.skill-row { display: flex; align-items: center; gap: 10px; }
.skill-name { font-size: 0.78rem; font-weight: 500; color: var(--text-muted); width: 150px; flex-shrink: 0; display: flex; align-items: center; gap: 6px; }
.weak-tag { font-size: 0.6rem; font-weight: 800; letter-spacing: 1px; color: var(--danger); background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.25); padding: 1px 5px; border-radius: 3px; }
.skill-track { flex: 1; height: 6px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; }
.skill-fill { height: 100%; background: var(--gradient-main); border-radius: 99px; transition: width 1.2s ease; }
.skill-fill--weak { background: linear-gradient(90deg, #F97316, #EF4444); }
.skill-pct { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); width: 36px; text-align: right; flex-shrink: 0; }
.pct-weak { color: var(--danger); }
.rec-card {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(249,115,22,0.07); border: 1px solid rgba(249,115,22,0.22);
  border-radius: 10px; padding: 14px; margin-bottom: 16px;
}
.rec-label { font-size: 0.65rem; font-weight: 800; letter-spacing: 1.5px; color: var(--orange); margin-bottom: 4px; }
.rec-text { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }
.score-proj { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--border); padding-top: 14px; }
.proj-label { font-size: 0.72rem; color: var(--text-dim); }
.proj-score { font-size: 2rem; font-weight: 900; background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.proj-pts { font-size: 1rem; }
.proj-pct { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.analytics-perks { display: flex; flex-direction: column; gap: 20px; margin: 24px 0 32px; }
.analytics-perks li { display: flex; align-items: flex-start; gap: 12px; }
.aperk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gradient-main); flex-shrink: 0; margin-top: 5px; }
.analytics-perks strong { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 2px; }
.analytics-perks p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* =============================================
   RANKING + LIGAS
   ============================================= */
.ranking-section { background: var(--bg); }
.ranking-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ranking-content .section-tag, .ranking-content .section-title, .ranking-content .section-subtitle { text-align: left; max-width: none; margin-left: 0; }
.liga-system { display: flex; align-items: center; gap: 8px; margin: 24px 0; flex-wrap: wrap; }
.liga-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--border);
  position: relative; transition: var(--transition);
}
.liga-name { font-size: 0.78rem; font-weight: 700; }
.liga-bronze { border-color: rgba(180,83,9,0.4); } .liga-bronze .liga-name { color: #B45309; }
.liga-silver { border-color: rgba(148,163,184,0.4); } .liga-silver .liga-name { color: #94A3B8; }
.liga-gold { border-color: rgba(245,158,11,0.5); background: rgba(245,158,11,0.06); } .liga-gold .liga-name { color: #F59E0B; }
.liga-elite { border-color: rgba(139,92,246,0.5); } .liga-elite .liga-name { color: var(--primary-light); }
.liga-active { box-shadow: 0 0 20px rgba(245,158,11,0.2); }
.liga-you { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--gradient-main); color: #fff; font-size: 0.58rem; font-weight: 800; padding: 2px 6px; border-radius: 99px; white-space: nowrap; }
.liga-arr { font-size: 1.1rem; color: var(--text-dim); }
.ranking-perks { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.ranking-perks li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text-muted); }
.rperk-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gradient-main); flex-shrink: 0; }
.ranking-board { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.ranking-board-header { background: linear-gradient(90deg, rgba(109,40,217,0.25), rgba(249,115,22,0.08)); padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); font-size: 0.88rem; font-weight: 700; }
.ranking-week { font-size: 0.72rem; font-weight: 500; color: var(--text-muted); background: rgba(255,255,255,0.05); padding: 3px 10px; border-radius: 99px; }
.ranking-list { padding: 6px 0; }
.rank-item { display: flex; align-items: center; gap: 10px; padding: 10px 18px; transition: var(--transition); }
.rank-item:hover { background: rgba(255,255,255,0.02); }
.rank-item--gold { background: rgba(245,158,11,0.05); }
.rank-item--silver { background: rgba(148,163,184,0.03); }
.rank-item--bronze { background: rgba(180,83,9,0.03); }
.rank-item--you { background: rgba(109,40,217,0.1); border-top: 1px dashed rgba(109,40,217,0.3); border-bottom: 1px dashed rgba(109,40,217,0.3); }
.rank-pos { font-size: 0.82rem; font-weight: 800; color: var(--text-muted); width: 22px; text-align: center; flex-shrink: 0; }
.rank-avatar { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; flex-shrink: 0; }
.av-gold { background: rgba(245,158,11,0.2); color: #F59E0B; border: 1px solid rgba(245,158,11,0.4); }
.av-silver { background: rgba(148,163,184,0.2); color: #94A3B8; border: 1px solid rgba(148,163,184,0.4); }
.av-bronze { background: rgba(180,83,9,0.2); color: #B45309; border: 1px solid rgba(180,83,9,0.4); }
.av-4 { background: rgba(59,130,246,0.15); color: var(--blue); border: 1px solid rgba(59,130,246,0.3); }
.av-you { background: var(--gradient-main); color: #fff; font-size: 0.6rem; }
.rank-info { flex: 1; min-width: 0; }
.rank-name { font-size: 0.84rem; font-weight: 600; }
.rank-school { font-size: 0.68rem; color: var(--text-dim); }
.rank-xp { font-size: 0.78rem; font-weight: 700; color: var(--primary-light); white-space: nowrap; }

/* =============================================
   RETENCIÓN
   ============================================= */
.retention-section { background: var(--bg-2); }
.retention-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.ret-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; transition: var(--transition); }
.ret-card:hover { transform: translateY(-4px); border-color: var(--border-hover); }
.ret-icon { width: 48px; height: 48px; background: rgba(255,255,255,0.04); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.ret-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.ret-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 18px; }
.xp-breakdown { display: flex; flex-direction: column; gap: 8px; }
.xp-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--text-muted); border-bottom: 1px solid var(--border); padding-bottom: 7px; }
.xp-row:last-child { border-bottom: none; padding-bottom: 0; }
.xp-val { font-weight: 700; color: var(--orange); }
.streak-week { display: flex; gap: 5px; margin-top: 4px; }
.sw-day { width: 32px; height: 32px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 0.68rem; font-weight: 700; background: rgba(255,255,255,0.04); color: var(--text-dim); }
.sw-done { background: rgba(249,115,22,0.2); color: var(--orange); border: 1px solid rgba(249,115,22,0.3); }
.sw-today { background: var(--orange); color: #fff; }
.retos-list { display: flex; flex-direction: column; gap: 8px; }
.reto-item { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: var(--bg-card-2); border-radius: var(--radius-sm); font-size: 0.8rem; }
.reto-tag { font-size: 0.62rem; font-weight: 800; letter-spacing: 1px; color: var(--orange); background: rgba(249,115,22,0.1); padding: 2px 7px; border-radius: 4px; flex-shrink: 0; }
.reto-tag-w { color: var(--blue); background: rgba(59,130,246,0.1); }
.reto-txt { flex: 1; color: var(--text-muted); }
.reto-xp { font-weight: 700; color: var(--orange); white-space: nowrap; }

/* =============================================
   PRICING
   ============================================= */
.pricing { background: var(--bg); }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: start; }
.price-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; position: relative; transition: var(--transition); }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.price-card--featured { background: linear-gradient(160deg, rgba(109,40,217,0.12), var(--bg-card)); border-color: var(--primary); transform: scale(1.03); box-shadow: 0 0 50px rgba(109,40,217,0.18), var(--shadow-card); }
.price-card--featured:hover { transform: scale(1.03) translateY(-4px); }
.price-card--intensivo { background: linear-gradient(160deg, rgba(249,115,22,0.07), var(--bg-card)); border-color: rgba(249,115,22,0.4); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gradient-main); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 4px 14px; border-radius: 99px; white-space: nowrap; }
.price-badge--fire { background: linear-gradient(90deg, #F97316, #EF4444); }
.price-plan-name { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
.price-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.price-currency { font-size: 1.1rem; font-weight: 700; color: var(--text-muted); }
.price-val { font-size: 3rem; font-weight: 900; color: var(--text); line-height: 1; }
.price-period { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 24px; }
.price-features { display: flex; flex-direction: column; gap: 9px; margin-bottom: 26px; }
.pf-yes, .pf-no { font-size: 0.84rem; padding-left: 4px; }
.pf-yes { color: var(--text-muted); }
.pf-yes::before { content: '✓ '; color: var(--success); font-weight: 700; }
.pf-no { color: var(--text-dim); text-decoration: line-through; }
.pf-no::before { content: '✗ '; color: var(--text-dim); }

/* =============================================
   CTA
   ============================================= */
.cta-section { background: var(--bg-2); position: relative; overflow: hidden; padding: 0; }
.cta-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.18; }
.cta-orb-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; left: -100px; }
.cta-orb-2 { width: 300px; height: 300px; background: var(--orange); bottom: -80px; right: -80px; }
.cta-inner { position: relative; text-align: center; max-width: 620px; margin: 0 auto; }
.cta-badge { display: inline-block; background: rgba(249,115,22,0.12); border: 1px solid rgba(249,115,22,0.3); color: var(--orange); font-size: 0.72rem; font-weight: 800; padding: 5px 16px; border-radius: 99px; margin-bottom: 22px; text-transform: uppercase; letter-spacing: 1.5px; }
.cta-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; letter-spacing: -1.5px; line-height: 1.12; margin-bottom: 16px; }
.cta-subtitle { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 36px; }
.waitlist-form .form-group { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.form-input { flex: 1; min-width: 180px; max-width: 230px; padding: 13px 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 99px; color: var(--text); font-family: var(--font); font-size: 0.92rem; outline: none; transition: var(--transition); }
.form-input::placeholder { color: var(--text-dim); }
.form-input:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(109,40,217,0.15); }
.form-disclaimer { font-size: 0.75rem; color: var(--text-dim); margin-top: 12px; }
.waitlist-success { padding: 40px; animation: fade-in-up 0.4s ease; }
.success-icon { display: flex; justify-content: center; margin-bottom: 16px; }
.waitlist-success h3 { font-size: 1.7rem; font-weight: 800; margin-bottom: 10px; }
.waitlist-success p { color: var(--text-muted); line-height: 1.7; }
@keyframes fade-in-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--bg); border-top: 1px solid var(--border); }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 60px 24px 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); margin: 14px 0 20px; max-width: 270px; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; }
.social-link { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: var(--transition); }
.social-link:hover { border-color: var(--primary-light); color: var(--primary-light); transform: translateY(-2px); }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.footer-col h4 { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { font-size: 0.84rem; color: var(--text-muted); transition: var(--transition); }
.footer-col ul a:hover { color: var(--primary-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 0.78rem; color: var(--text-dim); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-subtitle { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-social-proof { justify-content: center; }
  .ecosystem-grid { grid-template-columns: repeat(2,1fr); }
  .practice-inner, .analytics-inner, .ranking-inner { grid-template-columns: 1fr; gap: 48px; }
  .ranking-content .section-tag, .ranking-content .section-title, .ranking-content .section-subtitle { text-align: center; margin-left: auto; }
  .ranking-perks { align-items: center; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .price-card--featured { transform: none; }
  .retention-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .stats-container { gap: 16px; }
  .stat-divider { display: none; }
  .footer-links { grid-template-columns: repeat(2,1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .waitlist-form .form-group { flex-direction: column; align-items: center; }
  .form-input { max-width: 100%; width: 100%; }
  .liga-system { justify-content: center; }
  .practice-meta { justify-content: center; }
}

@media (max-width: 480px) {
  .hero { padding: 100px 16px 60px; }
  .section-container { padding: 64px 16px; }
  .footer-links { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
