/* style.css - Identidad Visual XP Gym (ACTUALIZADO V2) */

/* --- VARIABLES GLOBALES Y PALETA CYBER-KINETIC --- */
:root {
    --bg-deep-carbon: #121212;
    --bg-card: #1E1E1E;
    --xp-orange: #FF6600; /* Color primario de acción y energía */
    --cyber-magenta: #FF0099; /* Acento secundario para retos */
    --text-pure-white: #FFFFFF;
    --text-tech-grey: #8899A6;
    --border-dark: #333333;
    
    --font-main: 'Poppins', sans-serif; /* Moderna y geométrica */
    --transition-fast: 0.3s ease;
}

/* --- RESET BÁSICO --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-deep-carbon);
    color: var(--text-pure-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }

/* --- UTILIDADES --- */
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-gradient {
    background: linear-gradient(90deg, var(--xp-orange), var(--cyber-magenta));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.highlight-orange { color: var(--xp-orange); }

/* --- BOTONES MODERNOS --- */
.btn {
    display: inline-block; padding: 15px 35px; border-radius: 8px;
    font-weight: bold; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; border: none; transition: all var(--transition-fast);
}

.btn-primary {
    background-color: var(--xp-orange); color: #000;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.5);
    background-color: #ff751a;
}

.btn-outline {
    background-color: transparent; border: 2px solid var(--border-dark);
    color: var(--text-pure-white);
}
.btn-outline:hover { border-color: var(--xp-orange); color: var(--xp-orange); box-shadow: 0 0 10px rgba(255, 102, 0, 0.2); }

/* BOTONES DE TIENDA (NUEVOS - Estilo Store V2) */
.btn-store {
    background-color: #000; border: 2px solid var(--border-dark);
    padding: 15px;
}
.btn-store:hover { border-color: #555; transform: translateY(-3px); box-shadow: 0 4px 15px rgba(255,255,255,0.1); }

.store-txt-wrap { display: flex; flex-direction: column; text-align: left; }
.store-pre { font-size: 10px; color: #888; text-transform: uppercase; letter-spacing: 1px; }
.store-title { font-size: 16px; font-weight: bold; color: white; }

/* --- PLACEHOLDER DE IMÁGENES IA (ACTUALIZADO V2) --- */
.ai-image-placeholder {
    width: 100%; height: 100%; border: 2px dashed rgba(255, 102, 0, 0.3);
    border-radius: 12px; background-color: #181818; display: flex;
    flex-direction: column; justify-content: center; align-items: center;
    padding: 20px; text-align: center; color: var(--text-tech-grey);
    font-size: 14px; position: relative; overflow: hidden;
}
.ai-image-placeholder::before {
    content: 'IMAGEN IA REQUERIDA'; display: block;
    color: var(--xp-orange); font-weight: bold; font-size: 18px; margin-bottom: 10px;
}
.prompt-text {
    font-family: 'Courier New', monospace; background: #000; padding: 10px;
    border-radius: 5px; border: 1px solid #222; margin-top: 10px; max-width: 80%;
}

/* --- HEADER / NAV --- */
header {
    background-color: rgba(18, 18, 18, 0.95); padding: 15px 0;
    position: fixed; width: 100%; top: 0; z-index: 1000;
    border-bottom: 1px solid var(--border-dark); backdrop-filter: blur(10px);
}
nav { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 50px; } 

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--text-tech-grey); font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--text-pure-white); }
.nav-links a.active::after {
    content: ''; display: block; width: 100%; height: 2px; 
    background-color: var(--xp-orange); margin-top: 5px;
}

/* --- NUEVO HERO SPLIT (REQUERIMIENTO 2 - Estilo V2) --- */
.hero-split {
    padding: 160px 0 100px; min-height: 90vh;
    display: flex; align-items: center; justify-content: center;
}
.hero-split .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-text-col { text-align: left; }
.hero-text-col h1 { font-size: 56px; font-weight: 800; margin-bottom: 20px; line-height: 1.1; }
.hero-text-col p { color: var(--text-tech-grey); font-size: 18px; max-width: 600px; margin-bottom: 40px; }
.hero-download-wrap { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.hero-image-col { height: 500px; }

/* --- FEATURES CARD (Gamer Style) --- */
.features { padding: 100px 0; background-color: #101010; }
.section-title { text-align: center; font-size: 36px; margin-bottom: 60px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card {
    background-color: var(--bg-card); padding: 40px; border-radius: 16px;
    border: 1px solid var(--border-dark); transition: var(--transition-fast);
    position: relative; overflow: hidden; text-align: center;
}
.feature-card:hover { border-color: var(--xp-orange); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(255, 102, 0, 0.2); }
.feature-icon { font-size: 40px; margin-bottom: 25px; display: block; }
.feature-card h3 { font-size: 20px; margin-bottom: 15px; color: var(--text-pure-white); }
.feature-card p { color: var(--text-tech-grey); font-size: 15px; }

/* --- SOCIAL SECTION (REQUERIMIENTO 3 - Divertido y Social) --- */
.social-section { padding: 100px 0; text-align: center; }
.social-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.social-text { text-align: left; }
.social-text p { color: var(--text-tech-grey); margin-bottom: 25px; font-size: 16px; }
.social-image { height: 400px; }

/* --- TRIBES/PROGRESS SECTION (REQUERIMIENTO 1 - Grupos y Retos - Imagen 1 reference) --- */
.tribes-section { padding: 100px 0; background-color: #0F0F0F; border-top: 1px solid #222; border-bottom: 1px solid #222;}
.tribes-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.tribes-image { height: 500px; order: 1; } /* Imagen a la izquierda */
.tribes-text { order: 2; text-align: left; }
.tribes-text p { color: var(--text-tech-grey); margin-bottom: 25px; font-size: 16px; }
.tribe-list { margin-top: 30px; }
.tribe-item { display: flex; gap: 15px; align-items: start; margin-bottom: 20px; }
.tribe-icon { background-color: rgba(255, 102, 0, 0.1); color: var(--xp-orange); border-radius: 50%; padding: 10px; font-weight: bold;}

/* --- FINAL CTA --- */
.final-cta { padding: 100px 0; text-align: center; background: linear-gradient(180deg, #121212 0%, #000 100%); }

/* --- NUEVO FOOTER PROFESIONAL (REQUERIMIENTO 4 - Estilo V2) --- */
footer {
    background-color: #0A0A0A; padding: 80px 0 40px; border-top: 1px solid var(--border-dark);
}
.footer-grid {
    display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; margin-bottom: 60px;
}
.footer-logo-col p { color: var(--text-tech-grey); font-size: 14px; margin-top: 15px; max-width: 300px; }
.footer-links-col h4 { font-size: 16px; font-weight: bold; color: var(--text-pure-white); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links-col ul li { margin-bottom: 12px; }
.footer-links-col ul a { color: var(--text-tech-grey); font-size: 14px; }
.footer-links-col ul a:hover { color: var(--xp-orange); padding-left: 5px; }

.footer-bottom {
    border-top: 1px solid #222; padding-top: 30px;
    display: flex; justify-content: space-between; align-items: center;
    color: #444; font-size: 12px;
}
.footer-legal { display: flex; gap: 20px; }

/* --- RESPONSIVE BASICO --- */
@media (max-width: 992px) {
    .hero-split .container, .social-content, .tribes-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-text-col, .social-text, .tribes-text { text-align: center; }
    .hero-text-col h1 { font-size: 42px; }
    .hero-download-wrap { justify-content: center; }
    .tribes-image, .tribes-text { order: initial; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .hero-text-col h1 { font-size: 32px; }
    .hero-download-wrap { flex-direction: column; align-items: center; }
    .features-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; } /* Ocultar menú en móvil para MVP */
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center;}
}