/* Variables y Configuración - Cyber Neon Sport Theme */
:root {
    --bg-dark: #050505;
    --bg-surface: #111111;
    --bg-surface-light: #1a1a1a;
    --neon-cyan: #00f3ff;
    --neon-pink: #ff003c;
    --neon-gold: #ffd700;
    --text-main: #d1d5db;
    --text-white: #ffffff;
    --font-heading: 'Orbitron', sans-serif;
    --font-subheading: 'Rajdhani', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

/* Tipografía */
h1, h2, h3, h4, h5 { color: var(--text-white); font-family: var(--font-heading); text-transform: uppercase; margin-bottom: 1rem; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); position: relative; display: inline-block; }
h3 { font-size: 1.5rem; font-family: var(--font-subheading); letter-spacing: 1px; }
p { margin-bottom: 1.2rem; }
a { text-decoration: none; color: inherit; }
ul, ol { margin-bottom: 1.2rem; }
img { max-width: 100%; height: auto; display: block; }

/* Utilidades de Diseño */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.py-80 { padding: 80px 0; }
.py-40 { padding: 40px 0; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-800 { max-width: 800px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.align-center { align-items: center; }
.section-dark { background-color: #090909; }

/* Acentos de Color */
.text-neon { color: var(--neon-cyan); text-shadow: 0 0 10px rgba(0, 243, 255, 0.4); }
.text-pink { color: var(--neon-pink); }
.text-cyan { color: var(--neon-cyan); }
.text-gold { color: var(--neon-gold); }

/* Header & Nav */
.cyber-header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(5, 5, 5, 0.9); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    transition: var(--transition); padding: 15px 0;
}
.header-flex { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 45px; }
.nav-links { list-style: none; display: flex; gap: 2rem; margin: 0; }
.nav-links a { 
    font-family: var(--font-subheading); font-size: 1.1rem; font-weight: 600; 
    text-transform: uppercase; letter-spacing: 1px; transition: var(--transition);
}
.nav-links a:hover { color: var(--neon-cyan); text-shadow: 0 0 8px var(--neon-cyan); }

/* Menú Móvil */
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; z-index: 1001; }
.mobile-toggle .bar { width: 30px; height: 3px; background-color: var(--neon-cyan); transition: var(--transition); }
.mobile-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.active .bar:nth-child(2) { opacity: 0; }
.mobile-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero Section */
.hero-section {
    position: relative; padding-top: 150px; padding-bottom: 80px; min-height: 90vh;
    display: flex; align-items: center; background: radial-gradient(circle at top right, rgba(0, 243, 255, 0.1), transparent 50%),
                radial-gradient(circle at bottom left, rgba(255, 0, 60, 0.1), transparent 50%);
}
.cyber-badge {
    display: inline-block; padding: 5px 15px; border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan); font-family: var(--font-subheading); text-transform: uppercase;
    letter-spacing: 2px; font-weight: 700; margin-bottom: 1.5rem; background: rgba(0, 243, 255, 0.05);
}
.hero-text-box { max-width: 800px; }
.cyber-btn {
    display: inline-block; padding: 15px 35px; background: transparent;
    color: var(--neon-cyan); font-family: var(--font-heading); font-size: 1.1rem;
    text-transform: uppercase; border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3), inset 0 0 15px rgba(0, 243, 255, 0.1);
    transform: skew(-10deg); transition: var(--transition); cursor: pointer;
}
.cyber-btn:hover {
    background: var(--neon-cyan); color: #000; box-shadow: 0 0 25px rgba(0, 243, 255, 0.6);
}

/* Tabla Comparativa */
.table-wrapper { overflow-x: auto; background: var(--bg-surface); padding: 2px; border-radius: 8px; }
.neon-border { position: relative; }
.neon-border::before {
    content: ''; position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px;
    background: linear-gradient(45deg, var(--neon-cyan), transparent, var(--neon-pink));
    z-index: -1; border-radius: 9px; opacity: 0.5;
}
.cyber-table { width: 100%; border-collapse: collapse; text-align: left; }
.cyber-table th, .cyber-table td { padding: 18px 20px; border-bottom: 1px solid #222; }
.cyber-table th { font-family: var(--font-subheading); color: var(--text-white); font-size: 1.1rem; background: rgba(0,0,0,0.5); }
.brand-name { font-family: var(--font-heading); color: var(--neon-gold); }
.highlight-fast { color: #00ff66; font-weight: bold; }
.cyber-table tr:hover { background: rgba(255,255,255,0.02); }

/* Análisis Tabs */
.cyber-tabs { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.tab-btn {
    background: var(--bg-surface); border: 1px solid #333; color: #888;
    padding: 12px 30px; font-family: var(--font-heading); font-size: 1rem;
    cursor: pointer; transition: var(--transition); transform: skew(-5deg);
}
.tab-btn:hover { border-color: #666; color: #fff; }
.tab-btn.active { background: #111; color: var(--text-white); border-color: var(--neon-cyan); box-shadow: 0 0 10px rgba(0, 243, 255, 0.3); }

.tab-pane { display: none; animation: fadeIn 0.5s ease forwards; }
.tab-pane.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Imágenes Neón */
.neon-frame { position: relative; padding: 10px; background: var(--bg-surface); border-radius: 12px; }
.neon-frame img { border-radius: 8px; }
.frame-pink { border: 1px solid var(--neon-pink); box-shadow: 0 0 20px rgba(255,0,60,0.2); }
.frame-cyan { border: 1px solid var(--neon-cyan); box-shadow: 0 0 20px rgba(0,243,255,0.2); }
.frame-gold { border: 1px solid var(--neon-gold); box-shadow: 0 0 20px rgba(255,215,0,0.2); }
.neon-frame figcaption { margin-top: 15px; font-size: 0.85rem; text-align: center; color: #888; font-style: italic; }

/* Ventajas y Desventajas */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.pros h4 { color: #00ff66; }
.cons h4 { color: var(--neon-pink); }
.pros ul, .cons ul { list-style: none; }
.pros ul li, .cons ul li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 0.95rem; }
.pros ul li::before { content: '✓'; position: absolute; left: 0; color: #00ff66; }
.cons ul li::before { content: '✕'; position: absolute; left: 0; color: var(--neon-pink); }

/* Cajas y Listas Cibernéticas */
.cyber-alert { background: rgba(0, 243, 255, 0.05); border-left: 4px solid var(--neon-cyan); padding: 20px; }
.cyber-alert h4 { margin-bottom: 10px; font-family: var(--font-subheading); }
.cyber-box { background: var(--bg-surface); border: 1px dashed #444; border-radius: 8px; }
.step-card { background: var(--bg-surface); padding: 30px; border-top: 3px solid var(--neon-gold); }
.cyber-list { padding-left: 20px; }
.cyber-list li { margin-bottom: 10px; font-family: var(--font-subheading); font-size: 1.05rem; }
.cyber-list li::marker { color: var(--neon-gold); font-weight: bold; }

/* Tarjetas de Perfil */
.profile-card { background: var(--bg-surface); padding: 30px; transition: var(--transition); border-top: 3px solid; }
.profile-card:hover { transform: translateY(-5px); background: var(--bg-surface-light); }
.border-pink { border-color: var(--neon-pink); }
.border-cyan { border-color: var(--neon-cyan); }
.border-gold { border-color: var(--neon-gold); }
.disclaimer-box { border: 1px solid #333; padding: 20px; font-size: 0.9rem; color: #888; }

/* Acordeón FAQ */
.accordion { border-top: 1px solid #333; }
.acc-item { border-bottom: 1px solid #333; }
.acc-header {
    width: 100%; padding: 20px 0; background: transparent; border: none; text-align: left;
    color: var(--text-white); font-family: var(--font-subheading); font-size: 1.2rem;
    font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    transition: var(--transition);
}
.acc-header:hover { color: var(--neon-cyan); }
.acc-header .icon { font-size: 1.5rem; color: var(--neon-cyan); transition: transform 0.3s; }
.acc-item.active .acc-header .icon { transform: rotate(45deg); }
.acc-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.acc-item.active .acc-content { padding-bottom: 20px; }

/* Veredicto & Footer */
.verdict-box { background: rgba(255, 215, 0, 0.05); border: 1px solid var(--neon-gold); padding: 30px; border-radius: 8px; }
.cyber-footer { background: #020202; border-top: 1px solid #222; }
.footer-logo { height: 40px; filter: grayscale(100%); opacity: 0.5; transition: var(--transition); }
.footer-logo:hover { filter: none; opacity: 1; }
.copyright { font-size: 0.85rem; color: #666; }

/* JS Reveal Classes */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.6s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 992px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 2rem; }
    .pros-cons { grid-template-columns: 1fr; gap: 1rem; }
    .tab-btn { padding: 10px 20px; font-size: 0.9rem; }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed; top: 75px; left: -100%; width: 100%; height: calc(100vh - 75px);
        background: rgba(5,5,5,0.98); flex-direction: column; justify-content: center;
        align-items: center; transition: var(--transition);
    }
    .main-nav.active { left: 0; }
    .nav-links { flex-direction: column; text-align: center; gap: 2.5rem; }
    .nav-links a { font-size: 1.5rem; }
    .mobile-toggle { display: flex; }
    
    h1 { font-size: 2rem; }
    .hero-section { padding-top: 120px; text-align: center; }
}