:root {
    --gold-primary: #F7931A;
    --gold-bright: #FFD700;
    --gold-dark: #E38B29;
    --orange-vibrant: #FF8C00;
    --black-deep: #0a0a0a;
    --gray-dark: #1a1a1a;
    --white-pure: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

/* Accessibility: Skip link */
.skip-link {
    position: fixed;
    top: -100px;
    left: 0;
    background: var(--gold-primary);
    color: #000;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 700;
    z-index: 10000;
    border-radius: 0 0 4px 0;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow: auto;
    width: 100vw;
    height: 100vh;
    background: var(--black-deep);
    color: var(--white-pure);
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

/* Canvas Three.js - Fondo completo */
#threejs-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.7;
    will-change: transform;
}

/* Overlay con gradiente de colores: Azul a Naranja */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(10, 20, 40, 0.88) 0%,
        rgba(15, 25, 45, 0.75) 20%,
        rgba(5, 10, 15, 0.5) 50%,
        rgba(30, 15, 5, 0.75) 80%,
        rgba(40, 20, 5, 0.88) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* Vignette con tintes de color */
.overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
}

.container {
    display: flex;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    position: relative;
    z-index: 3;
}

/* Glass Morphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.4);
}

/* Logo en las secciones */
.logo-container {
    display: block;
    margin-bottom: 40px;
    text-align: left;
    animation: fadeIn 1.5s cubic-bezier(0.23, 1, 0.32, 1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.logo-container.logo-left {
    filter: drop-shadow(0 5px 20px rgba(136, 187, 255, 0.4));
}

.logo-container.logo-right {
    filter: drop-shadow(0 5px 20px rgba(247, 147, 26, 0.4));
}

.logo-container:hover {
    transform: translateY(-5px) scale(1.05);
}

.logo-container.logo-left:hover {
    filter: drop-shadow(0 8px 30px rgba(136, 187, 255, 0.6));
}

.logo-container.logo-right:hover {
    filter: drop-shadow(0 8px 30px rgba(247, 147, 26, 0.6));
}

.logo {
    width: 200px;
    height: auto;
    display: block;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Lado Izquierdo - Antes (AZUL) */
.left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    position: relative;
    background: radial-gradient(ellipse at 30% 50%, rgba(20, 40, 80, 0.3) 0%, transparent 70%);
}

.left-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 30, 60, 0.4) 0%, rgba(10, 20, 40, 0.2) 100%);
    pointer-events: none;
}

.left-content {
    max-width: 520px;
    text-align: left;
}

.label {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 6px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 25px;
    display: inline-block;
    position: relative;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9);
}

.label::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 50%;
    width: 20px;
    height: 1px;
    background: currentColor;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 7rem;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 35px;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.9));
}

.left-section .section-title {
    background: linear-gradient(135deg, #88BBFF 0%, #5588CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 30px rgba(136, 187, 255, 0.5));
}

.section-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.45rem;
    line-height: 1.9;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.9);
}

.left-section .section-text {
    color: rgba(200, 230, 255, 0.85);
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.95), 0 0 25px rgba(136, 187, 255, 0.2);
}

/* Línea divisoria central animada */
.center-divider {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
    z-index: 5;
    pointer-events: none;
}

.center-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%,
        var(--gold-bright) 50%,
        transparent 100%
    );
    transform: translateX(-50%);
    animation: dividerPulse 3s ease-in-out infinite;
    box-shadow: 0 0 20px var(--gold-bright), 0 0 40px var(--gold-primary);
}

@keyframes dividerPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Lado Derecho - Después (NARANJA/DORADO) */
.right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    position: relative;
    background: radial-gradient(ellipse at 70% 50%, rgba(247, 147, 26, 0.25) 0%, transparent 70%);
}

.right-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(80, 40, 10, 0.2) 0%, rgba(120, 60, 15, 0.35) 100%);
    pointer-events: none;
}

.right-content {
    max-width: 520px;
    text-align: left;
}

.left-section .label {
    color: #99CCFF;
    opacity: 1;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9), 0 0 20px rgba(153, 204, 255, 0.5);
}

.right-section .label {
    color: var(--gold-bright);
    opacity: 1;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 215, 0, 0.5);
}

.right-section .section-title {
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-primary) 50%, var(--orange-vibrant) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(247, 147, 26, 0.5));
}

.right-section .section-text {
    color: rgba(255, 255, 255, 0.85);
}

.cta-container {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.cta-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    color: var(--gold-bright);
    margin-bottom: 35px;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.9), 0 0 30px rgba(247, 147, 26, 0.6);
    text-transform: uppercase;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.btn {
    padding: 22px 55px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border: 3px solid;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 10;
    will-change: transform;
}

/* Focus states for accessibility */
.btn:focus-visible,
a:focus-visible,
.logo-container:focus-visible {
    outline: 3px solid var(--gold-bright);
    outline-offset: 4px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.23, 1, 0.32, 1), 
                height 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-bright) 100%);
    color: #000;
    border-color: var(--gold-bright);
    box-shadow: 0 10px 40px rgba(247, 147, 26, 0.4);
}

.btn-primary::before {
    background: linear-gradient(135deg, var(--orange-vibrant) 0%, var(--gold-bright) 100%);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 60px rgba(247, 147, 26, 0.6);
    border-color: var(--orange-vibrant);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-bright);
    border-color: var(--gold-bright);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2);
}

.btn-secondary::before {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-bright) 100%);
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    color: #000;
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.5);
}

/* Partículas flotantes decorativas */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold-bright);
    border-radius: 50%;
    opacity: 0;
    animation: float 10s infinite;
    box-shadow: 0 0 10px var(--gold-bright);
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .section-title {
        font-size: 6rem;
    }
    
    .section-text {
        font-size: 1.35rem;
    }
    
    .cta-text {
        font-size: 1.5rem;
    }

    .logo {
        width: 170px;
    }
}

@media (max-width: 968px) {
    .container {
        flex-direction: column;
    }

    .overlay {
        background: linear-gradient(180deg, 
            rgba(10, 20, 40, 0.88) 0%,
            rgba(15, 25, 45, 0.75) 20%,
            rgba(5, 10, 15, 0.5) 50%,
            rgba(30, 15, 5, 0.75) 80%,
            rgba(40, 20, 5, 0.88) 100%
        );
    }

    .center-divider {
        left: 0;
        top: 50%;
        width: 100%;
        height: 2px;
        transform: translateY(-50%);
    }

    .center-divider::before {
        background: linear-gradient(90deg, 
            transparent 0%,
            var(--gold-bright) 50%,
            transparent 100%
        );
    }

    .left-section,
    .right-section {
        padding: 50px 40px;
    }

    .glass-card {
        padding: 35px;
    }

    .label {
        font-size: 1rem;
        letter-spacing: 5px;
    }

    .section-title {
        font-size: 5rem;
    }

    .section-text {
        font-size: 1.3rem;
    }

    .cta-text {
        font-size: 1.45rem;
    }

    .btn {
        padding: 20px 45px;
        font-size: 1.1rem;
    }

    .logo {
        width: 140px;
    }

    .logo-container {
        margin-bottom: 30px;
    }
}

@media (max-width: 568px) {
    .left-section,
    .right-section {
        padding: 40px 25px;
    }

    .glass-card {
        padding: 30px;
        border-radius: 20px;
    }

    .label {
        font-size: 0.95rem;
        letter-spacing: 4px;
    }

    .section-title {
        font-size: 3.5rem;
        letter-spacing: 2px;
    }

    .section-text {
        font-size: 1.15rem;
        line-height: 1.7;
    }

    .cta-text {
        font-size: 1.25rem;
        letter-spacing: 1.5px;
    }

    .buttons {
        gap: 16px;
    }

    .btn {
        padding: 18px 40px;
        font-size: 1rem;
    }

    .label::before {
        left: -20px;
        width: 15px;
    }

    .logo {
        width: 110px;
    }

    .logo-container {
        margin-bottom: 25px;
    }
}

/* Animaciones de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.left-content {
    animation: fadeInLeft 1s cubic-bezier(0.23, 1, 0.32, 1) 0.5s backwards;
}

.right-content {
    animation: fadeInRight 1s cubic-bezier(0.23, 1, 0.32, 1) 0.7s backwards;
}

.btn {
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) backwards;
}

.btn:nth-child(1) {
    animation-delay: 1.2s;
}

.btn:nth-child(2) {
    animation-delay: 1.4s;
}

/* Accessibility: Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .floating-particles,
    .particle {
        display: none;
    }
}

/* Accessibility: High contrast mode */
@media (prefers-contrast: high) {
    .section-text,
    .left-section .section-text {
        color: var(--white-pure);
    }
    
    .btn {
        border-width: 4px;
    }
}

/* Performance: Reduce animations on low-end devices */
@media (max-width: 568px) {
    .floating-particles {
        display: none;
    }
}

