:root {
    --ka-accent: #FFCC00; /* Electric Gold Aura */
    --ka-accent-glow: rgba(255, 204, 0, 0.3);
    --dark-bg: #070708;
    --light-text: #F5F5F5;
    --font-main: 'Sora', sans-serif;
    --ka-radius: 16px;
    --ka-blur: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body.no-scroll {
    overflow: hidden !important;
    height: 100% !important;
    position: fixed !important;
    width: 100% !important;
}

/* ─── Soporte para Safe Areas en iPhone (Notch) ─── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 5vw, 4rem);line-height: 1.2; }
h3 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h4 { font-size: clamp(1.2rem, 3vw, 1.8rem); }

/* Landing Page Split Layout */
.landing-container {
    position: relative;
    display: flex;
    min-height: 100dvh; 
    width: 100%; 
}

.split-section {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: flex 0.5s ease, background-color 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.split-section:last-child {
    border-right: none;
}

.split-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 1;
}

.marketing::before {
    background-image: url('../images/marketing-bg.svg');
    background-size: cover;
    background-position: center;
}

.school::before {
    background-image: url('../images/school-bg.svg');
    background-size: cover;
    background-position: center;
}

.studio::before {
    background-image: url('../images/studio-bg.svg');
    background-size: cover;
    background-position: center;
}

.content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.split-section h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: #fff;
}

.cta-btn {
    padding: 1rem 2rem;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 5px;
    display: inline-block;
    margin-top: 1rem;
    opacity: 0;
    /* Hidden by default code, shown on hover */
    transform: translateY(20px);
}

/* Hover Effects */
.split-section:hover {
    flex: 2;
}

.split-section:hover::before {
    opacity: 0.6;
    transform: scale(1.05);
}

.split-section:hover .content {
    transform: translateY(-10px);
}

.split-section:hover .cta-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Theme Colors on Hover (Unified Aura) */
.marketing:hover, .school:hover, .studio:hover {
    border-color: var(--ka-accent);
}

.marketing:hover h2, .school:hover h2, .studio:hover h2 {
    color: var(--ka-accent);
    text-shadow: 0 0 15px rgba(255, 204, 0, 0.5);
}

.marketing .cta-btn:hover, .school .cta-btn:hover, .studio .cta-btn:hover {
    background-color: var(--ka-accent);
    border-color: var(--ka-accent);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.4);
}



/* Mobile Responsiveness */
@media (max-width: 768px) {
    .landing-container {
        flex-direction: column;
    }

    .split-section {
        flex: 1;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .split-section:hover {
        flex: 1.5;
    }

    .cta-btn {
        opacity: 1;
        transform: translateY(0);
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .split-section h2 {
        font-size: 1.8rem;
    }

    /* Push marketing content down to clear the absolute logo (mobile only) */
    .marketing .content {
        padding-top: 8rem;
    }
}

/* ─── Global Vitreous Buttons (Mobile Touch Targets) ─── */
.btn, .btn-primary, .btn-krash-home, .cta-btn, .hero-btn-primary, .hero-btn-secondary, .vc-btn, .btn-demo, .btn-whatsapp, .enroll-btn-primary, .enroll-btn-secondary, .btn-warning {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-top-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border-radius: 50rem !important;
    padding: 12px 24px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 0.85rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    position: relative;
    overflow: hidden;
    min-height: 48px !important; /* Touch target min area rule */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Primary Accent (Neon) */
.btn-krash-home, .btn-warning, .hero-btn-primary, .enroll-btn-primary {
    background: rgba(255, 204, 0, 0.1) !important;
    border-color: rgba(255, 204, 0, 0.3) !important;
    color: var(--ka-accent) !important;
}

.btn:hover, .btn-primary:hover, .btn-krash-home:hover, .cta-btn:hover, .hero-btn-primary:hover, .hero-btn-secondary:hover, .vc-btn:hover, .btn-demo:hover, .btn-whatsapp:hover, .enroll-btn-primary:hover, .enroll-btn-secondary:hover, .btn-warning:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.1) !important;
}

/* Hover Accent */
.btn-krash-home:hover, .btn-warning:hover, .hero-btn-primary:hover, .enroll-btn-primary:hover {
    background: rgba(255, 204, 0, 0.2) !important;
    border-color: rgba(255, 204, 0, 0.6) !important;
    box-shadow: 0 10px 30px rgba(255, 204, 0, 0.2), 0 0 15px rgba(255, 204, 0, 0.1) !important;
}

/* Outline/Secondary */
.btn-outline, .btn-outline-light, .hero-btn-secondary, .vc-btn-demo {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}