/* ========================================================
   ARCHIVO DE LAYOUT - ESTRUCTURA Y DISEÑO GENERAL
   ======================================================== */

/* ==================== ESTILOS GLOBALES ==================== */
body {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 25%, #0f1419 50%, #1e1b2e 75%, #0a0e27 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: var(--text-primary);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Animación de gradiente de fondo */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Patrón de fondo sutil */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Efecto de luz ambiental */
body::after {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    animation: ambientLight 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes ambientLight {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    50% { transform: translate(10%, 10%) scale(1.1); opacity: 0.5; }
}

* {
    box-sizing: border-box;
}

/* ==================== NAVEGACIÓN ==================== */
.neon-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow-sm);
    gap: 20px;
    overflow: visible;
}

.neon-nav .logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    flex-shrink: 0;
    white-space: nowrap;
}

.neon-nav .logo i {
    color: var(--color-secondary);
    margin-right: 6px;
}

.neon-nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
    margin: 0;
    padding: 5px 5px;
    flex-wrap: nowrap;
    align-items: center;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
}

.neon-nav ul::-webkit-scrollbar {
    display: none;
}

/* Indicador de scroll en móvil */
@media (max-width: 768px) {
    .neon-nav ul::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 30px;
        background: linear-gradient(to left, var(--bg-secondary), transparent);
        pointer-events: none;
    }
}

.neon-nav li {
    flex-shrink: 0;
}

.neon-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 8px 14px;
    transition: all 0.2s ease;
    display: inline-block;
    position: relative;
    border-radius: 8px;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid transparent;
}

.neon-nav a:hover {
    color: var(--color-secondary);
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.2);
}

.neon-nav a:active {
    transform: scale(0.95);
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
}

/* Estilos para desktop grande */
@media (min-width: 1400px) {
    .neon-nav {
        padding: 18px 60px;
    }
    
    .neon-nav .logo {
        font-size: 1.4rem;
    }
    
    .neon-nav ul {
        gap: 15px;
    }
    
    .neon-nav a {
        font-size: 0.85rem;
        padding: 10px 16px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .neon-nav ul {
        gap: 10px;
    }
    
    .neon-nav a {
        font-size: 0.82rem;
        padding: 9px 15px;
    }
}

/* ==================== HERO SECTION ==================== */
.nike-hero {
    min-height: 65vh;
    background: 
        linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(26, 31, 58, 0.9) 50%, rgba(15, 20, 25, 0.95) 100%),
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    background-size: 200% 200%, 100% 100%, 100% 100%;
    animation: heroGradient 15s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    position: relative;
    overflow: hidden;
    padding: 50px 80px;
    border-radius: 0 0 40px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes heroGradient {
    0%, 100% { background-position: 0% 50%, center, center; }
    50% { background-position: 100% 50%, center, center; }
}

/* Efecto de brillo superior */
.nike-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.1), transparent);
    pointer-events: none;
}

/* Efecto de brillo inferior */
.nike-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(6, 182, 212, 0.08), transparent);
    pointer-events: none;
}

@keyframes cloudFloat {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    50% { 
        transform: translate(-80px, 60px) scale(1.15);
        opacity: 0.8;
    }
}

.hero-content {
    max-width: 1000px;
    width: 100%;
    z-index: 10;
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    padding: 50px 60px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(212, 175, 55, 0.2);
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { 
        transform: translateY(0px);
    }
    50% { 
        transform: translateY(-10px);
    }
}

/* Efecto de brillo sutil en el borde con movimiento */
.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.8), transparent);
    border-radius: 28px 28px 0 0;
    animation: shimmerLine 4s ease-in-out infinite;
}

@keyframes shimmerLine {
    0%, 100% { 
        opacity: 0.4;
        transform: translateX(-100%);
    }
    50% { 
        opacity: 1;
        transform: translateX(100%);
    }
}

.hero-content h4 {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 14px;
    color: var(--color-secondary);
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.5);
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    animation: fadeInUp 1s ease-out 0.2s both;
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.3));
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    line-height: 1.6;
    margin-bottom: 35px;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-btns {
    display: flex;
    gap: 16px;
    align-items: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* ==================== SECCIONES ==================== */
section {
    display: none;
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

section.active {
    display: block;
}

/* ==================== CONTENEDORES ==================== */
.company-values {
    padding: 80px 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    margin-top: 40px;
    box-shadow: var(--shadow-md);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 60px;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* ==================== TABLAS ==================== */
table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

td, th {
    border: 1px solid var(--border-light);
    padding: 16px 15px;
    text-align: center;
    height: 85px;
}

th {
    background: var(--bg-primary);
    color: var(--text-primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 18px 15px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .neon-nav {
        padding: 12px 15px;
        gap: 12px;
    }
    
    .neon-nav .logo {
        font-size: 1rem;
    }
    
    .neon-nav ul {
        gap: 6px;
        overflow-x: auto;
        padding-right: 10px;
    }
    
    .neon-nav a {
        font-size: 0.75rem;
        padding: 7px 12px;
    }
    
    .nike-hero {
        padding: 40px 20px;
        min-height: 65vh;
    }
    
    .hero-content {
        padding: 40px 30px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.35);
        backdrop-filter: blur(15px) saturate(180%);
        -webkit-backdrop-filter: blur(15px) saturate(180%);
    }
    
    .hero-content h1 {
        font-size: 3rem;
        line-height: 1.15;
        margin-bottom: 20px;
    }
    
    .hero-content p {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .company-values {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .neon-nav {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .neon-nav .logo {
        font-size: 0.9rem;
    }
    
    .neon-nav .logo i {
        margin-right: 4px;
        font-size: 0.9rem;
    }
    
    .neon-nav ul {
        gap: 5px;
    }
    
    .neon-nav a {
        font-size: 0.7rem;
        padding: 6px 10px;
    }
    
    .nike-hero {
        padding: 30px 15px;
        min-height: 60vh;
    }
    
    .hero-content {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .hero-content h4 {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-btns button {
        width: 100%;
    }
}


/* ==================== CONTENIDO PRINCIPAL ==================== */
main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

section {
    position: relative;
    padding: 40px 20px;
    margin: 20px auto;
    max-width: 1400px;
}

/* Efecto de profundidad para secciones */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    pointer-events: none;
    z-index: -1;
}

/* ==================== PARTÍCULAS FLOTANTES DE FONDO ==================== */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(10px, -10px); }
    50% { transform: translate(-10px, -20px); }
    75% { transform: translate(-20px, -10px); }
}

/* Partículas decorativas en el fondo */
.background-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    animation: floatSlow 20s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.bg-particle:nth-child(2n) {
    background: rgba(6, 182, 212, 0.3);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
    animation-duration: 25s;
    animation-delay: -5s;
}

.bg-particle:nth-child(3n) {
    background: rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
    animation-duration: 30s;
    animation-delay: -10s;
}

/* ==================== EFECTOS DE LUZ ==================== */
.light-beam {
    position: fixed;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.1), transparent);
    animation: beamMove 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes beamMove {
    0%, 100% { left: 10%; opacity: 0.3; }
    50% { left: 90%; opacity: 0.6; }
}

.light-beam:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 12s;
}

.light-beam:nth-child(3) {
    animation-delay: -6s;
    animation-duration: 15s;
}

/* ==================== GRID DE FONDO ==================== */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* ==================== EFECTOS DE BRILLO ==================== */
.glow-orb {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: orbFloat 15s ease-in-out infinite;
}

.glow-orb-1 {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent);
    top: 10%;
    left: 10%;
}

.glow-orb-2 {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15), transparent);
    top: 60%;
    right: 10%;
    animation-delay: -5s;
}

.glow-orb-3 {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent);
    bottom: 10%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    section {
        padding: 30px 15px;
        margin: 15px auto;
    }
    
    .glow-orb {
        width: 200px;
        height: 200px;
        filter: blur(60px);
    }
}
