:root {
    /* Colors - Navy Blue Theme */
    --primary-blue: #003064;
    --primary-blue-dark: #001a38;
    --primary-blue-light: #4facfe;
    --accent-gold: #E6E6E6;
    --accent-yellow: #E6E6E6;
    --bg-primary: #003064;
    --bg-secondary: #00254d;
    --bg-tertiary: #0d3a6e;
    --text-primary: #FFFFFF;
    --text-secondary: #E5E7EB;
    --text-tertiary: #9CA3AF;
    --border-color: rgba(255, 255, 255, 0.1);
    --success-green: #10B981;
    --success-green-light: rgba(16, 185, 129, 0.2);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html {
    background: #00327d;
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto !important;
}

/* Ensure sticky header doesn't cover anchors */
section[id] {
    scroll-margin-top: 100px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #00327d;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto !important;
}

/* =========================================
   FONDO AZUL OSCURO CON VIÑETA
   ========================================= */

/* Capa de Fondo Azul Oscuro con Viñeta Sutil */
.fixed-bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -20;
    background: #00327d;
    /* Viñeta sutil en los bordes */
    box-shadow: inset 0 0 150px 60px rgba(0, 0, 0, 0.4);
}

/* Ocultar capa aurora (no usada) */
.fixed-aurora-layer {
    display: none;
}


/* =========================================
   MOBILE MENU - Glassmorphism
   ========================================= */
.mobile-menu-glass {
    background: rgba(0, 20, 50, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 20px 60px -12px rgba(0, 0, 0, 0.5),
        0 0 40px -8px rgba(0, 85, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

/* Header - Efecto Glass */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0, 30, 60, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
}

.logo-container img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
}

.nav-link:hover {
    color: var(--primary-blue-light);
}

.cta-button {
    background: var(--accent-gold);
    color: var(--primary-blue);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #FFFFFF;
    color: var(--primary-blue);
    transform: translateY(-1px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--spacing-4xl) var(--spacing-xl) var(--spacing-3xl);
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--bg-secondary);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.hero-badge-emoji {
    font-size: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.hero-title-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, #E6E6FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Efecto Gradiente Animado para "IA" */
.text-gradient-ia {
    background: linear-gradient(90deg,
            #5EEAD4 0%,
            #60A5FA 33%,
            #8B5CF6 66%,
            #5EEAD4 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-flow 10s linear infinite;
}

@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-primary {
    background: var(--accent-gold);
    color: var(--primary-blue);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.0625rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.cta-primary:hover {
    background: #FFFFFF;
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.4);
}

.cta-secondary {
    color: var(--text-primary);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.0625rem;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
}

.cta-secondary:hover {
    border-color: var(--primary-blue-light);
    color: var(--primary-blue-light);
    background: rgba(255, 255, 255, 0.1);
}



/* Features Section - Glassmorphism Bento Grid */
.features {
    max-width: 1280px;
    margin: 0 auto;
    /* Aumentar el padding para dar aire */
    padding: 100px var(--spacing-xl);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    /* 4 Columnas para layout horizontal */
    grid-template-columns: repeat(4, 1fr);
    /* Gap generoso */
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
}

/* En tablet, 2 columnas */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* En mobile, 1 columna */
@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    /* Glassmorphism con blur */
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* Borde degradado sutil: brilla arriba-izquierda, se desvanece abajo-derecha */
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.02) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;

    /* Padding generoso */
    padding: 32px;

    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    /* Sombra sutil para profundidad */
    box-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.2);
}

.feature-card:hover {
    /* Efecto "Lift" */
    transform: translateY(-5px);
    /* Fondo ligeramente más visible al hover */
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
        linear-gradient(135deg, rgba(0, 240, 255, 0.4) 0%, rgba(0, 240, 255, 0.15) 50%, rgba(255, 255, 255, 0.05) 100%);
    /* Sombra más pronunciada */
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.4), 0 0 20px -5px rgba(0, 240, 255, 0.15);
}

.feature-icon-wrapper {
    margin-bottom: var(--spacing-md);
}

.feature-icon {
    /* Estilo Neon */
    width: 32px;
    height: 32px;
    stroke: #00f0ff;
    /* Efecto Glow "LED" */
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.6));
    stroke-width: 1.5;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.feature-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =========================================
   FEATURE SHOWCASE SPLIT-SCREEN
   ========================================= */

.feature-showcase {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px var(--spacing-xl) 100px;
}

.feature-showcase .section-header {
    margin-bottom: var(--spacing-xl);
}

.showcase-container-centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Centered Visual */
.showcase-visual-centered {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    max-width: 960px;
}

/* Dot Indicators */
.showcase-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: var(--spacing-xl);
}

.showcase-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.showcase-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.showcase-dot.active {
    background: #0055ff;
    box-shadow: 0 0 10px rgba(0, 85, 255, 0.5);
    transform: scale(1.2);
}

/* Arrow Buttons */
.showcase-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 5;
}

.showcase-arrow:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 240, 255, 0.3);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 85, 255, 0.25);
}

.showcase-arrow-prev {
    left: -60px;
}

.showcase-arrow-next {
    right: -60px;
}

@media (max-width: 1024px) {
    .showcase-arrow-prev {
        left: -50px;
    }

    .showcase-arrow-next {
        right: -50px;
    }

    .showcase-arrow {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 768px) {
    .showcase-arrow-prev {
        left: -8px;
    }

    .showcase-arrow-next {
        right: -8px;
    }

    .showcase-arrow {
        width: 34px;
        height: 34px;
        background: rgba(0, 0, 0, 0.4);
    }
}

.feature-card-showcase {
    display: flex;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Slightly lighter border */
    position: relative;
    overflow: hidden;
    opacity: 0.6;
    /* Increased base opacity */
    backdrop-filter: blur(8px);
    /* Base glass effect */
    -webkit-backdrop-filter: blur(8px);
}

.feature-card-showcase:hover {
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.04);
}

/* Active Card - Premium Styling */
.feature-card-showcase.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--spacing-lg);
    border-color: transparent;
    box-shadow:
        0 8px 32px -8px rgba(0, 85, 255, 0.25),
        inset 0 0 0 1px rgba(0, 240, 255, 0.15);
}

/* Animated Gradient Border for Active Card */
.feature-card-showcase.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, #0055ff, #00f0ff, #0055ff, #00f0ff);
    background-size: 300% 300%;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: gradient-border-flow 3s linear infinite;
    opacity: 0.6;
}

@keyframes gradient-border-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Progress Timer Bar */
.feature-card-showcase .progress-timer {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #0055ff, #00f0ff);
    width: 0%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card-showcase.active .progress-timer {
    opacity: 1;
    animation: timer-progress 6s linear forwards;
}

@keyframes timer-progress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.feature-card-indicator {
    width: 3px;
    min-height: 100%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    margin-right: var(--spacing-md);
    transition: all 0.5s ease;
    flex-shrink: 0;
    opacity: 0.5;
}

.feature-card-showcase.active .feature-card-indicator {
    background: linear-gradient(180deg, #0055ff 0%, #00f0ff 100%);
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.6);
    opacity: 1;
}

.feature-card-content {
    flex: 1;
}

.feature-card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0;
    transition: all 0.4s ease;
}

.feature-card-showcase.active .feature-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--spacing-xs);
}

.feature-card-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-card-showcase.active .feature-card-description {
    max-height: 100px;
    opacity: 1;
}

/* Right Column: Visual with MacBook Mockup */
.showcase-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Blue Glow Background */
.mockup-glow {
    position: absolute;
    width: 80%;
    height: 70%;
    background: radial-gradient(ellipse at center, rgba(0, 85, 255, 0.25) 0%, rgba(0, 240, 255, 0.1) 40%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
    animation: glow-pulse 4s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* MacBook Mockup */
.macbook-mockup {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.macbook-screen {
    background: #ffffff;
    border-radius: 12px 12px 0 0;
    border: 2px solid #2a2a2a;
    border-bottom: none;
    overflow: hidden;
    box-shadow:
        0 40px 100px -20px rgba(0, 0, 0, 0.6),
        /* Deeper drop shadow */
        0 0 60px -15px rgba(0, 85, 255, 0.3);
    transition: box-shadow 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Dynamic shadow based on active feature - Deepened */
.macbook-mockup[data-active="0"] .macbook-screen {
    box-shadow:
        -15px 40px 100px -20px rgba(0, 0, 0, 0.6),
        0 0 70px -15px rgba(0, 85, 255, 0.35);
}

.macbook-mockup[data-active="1"] .macbook-screen {
    box-shadow:
        -5px 35px 100px -20px rgba(0, 0, 0, 0.6),
        0 0 70px -15px rgba(0, 240, 255, 0.3);
}

.macbook-mockup[data-active="2"] .macbook-screen {
    box-shadow:
        5px 35px 100px -20px rgba(0, 0, 0, 0.6),
        0 0 70px -15px rgba(0, 85, 255, 0.35);
}

.macbook-mockup[data-active="3"] .macbook-screen {
    box-shadow:
        15px 40px 100px -20px rgba(0, 0, 0, 0.6),
        0 0 70px -15px rgba(0, 240, 255, 0.3);
}

.browser-bar {
    background: rgba(40, 40, 45, 0.85);
    /* Semi-transparent */
    backdrop-filter: blur(8px);
    /* Glassmorphism */
    -webkit-backdrop-filter: blur(8px);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #1a1a1a;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-dots .dot.red {
    background: #ff5f57;
}

.browser-dots .dot.yellow {
    background: #ffbd2e;
}

.browser-dots .dot.green {
    background: #28ca41;
}

.browser-url {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    font-family: 'Inter', monospace;
}

.screen-content {
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

/* Glass reflection overlay */
.screen-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0) 50%,
            rgba(255, 255, 255, 0.03) 100%);
    pointer-events: none;
    z-index: 10;
}

/* Cross-fade transition for images */
.showcase-image {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.showcase-image.active {
    opacity: 1;
    position: relative;
}

.macbook-base {
    background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 50%, #1a1a1a 100%);
    height: 14px;
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    border: 2px solid #2a2a2a;
    border-top: none;
}

.macbook-notch {
    width: 80px;
    height: 4px;
    background: #1a1a1a;
    border-radius: 0 0 4px 4px;
    margin-top: -1px;
}





/* Responsive */
@media (max-width: 1024px) {
    .showcase-visual-centered {
        width: 90%;
    }

    .macbook-mockup {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .feature-showcase {
        padding: 60px var(--spacing-lg) 80px;
    }

    .showcase-visual-centered {
        width: 95%;
    }

    .macbook-mockup {
        max-width: 100%;
    }

    .browser-bar {
        padding: 8px 10px;
    }

    .browser-dots .dot {
        width: 8px;
        height: 8px;
    }

    .browser-url {
        font-size: 0.6875rem;
        padding: 4px 8px;
    }
}

/* AI Tutor Section */
.ai-tutor-section {
    padding: var(--spacing-4xl) var(--spacing-xl);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: white;
}

.ai-tutor-section .section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.ai-tutor-section .section-title {
    color: white;
}

.ai-tutor-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.ai-feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.3s ease;
}

.ai-feature-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.ai-feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    display: block;
}

.ai-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: white;
}

.ai-feature-card p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Subjects Section */
.subjects {
    background: var(--bg-secondary);
    padding: var(--spacing-4xl) var(--spacing-xl);
}

.subjects-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.subject-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: all 0.2s ease;
}

.subject-card:hover {
    border-color: var(--primary-blue-light);
    box-shadow: 0 0 15px rgba(79, 172, 254, 0.15);
    transform: translateX(4px);
}

.subject-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.subject-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Pricing Section */
.pricing {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--spacing-4xl) var(--spacing-xl);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--primary-blue-light);
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.2);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success-green);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.pricing-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.pricing-tagline {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.pricing-price-original {
    font-size: 1.125rem;
    color: var(--text-tertiary);
    text-decoration: line-through;
    margin-bottom: var(--spacing-xs);
}

.pricing-period {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-top: var(--spacing-xs);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.pricing-feature-icon {
    color: var(--success-green);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-button {
    width: 100%;
    background: var(--accent-gold);
    color: var(--primary-blue);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pricing-button:hover {
    background: #FFFFFF;
    color: var(--primary-blue);
    transform: translateY(-1px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.pricing-card.featured .pricing-button {
    background: linear-gradient(135deg, #4facfe 0%, #00f2ea 100%);
    color: var(--primary-blue-dark);
}

/* FAQ Section */
.faq {
    padding: var(--spacing-4xl) var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.faq-item {
    background: rgba(0, 40, 80, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: rgba(79, 172, 254, 0.4);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: var(--spacing-lg);
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--primary-blue-light);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

.faq-answer p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer - Efecto Glass */
.footer {
    background: rgba(0, 30, 60, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-primary);
    padding: var(--spacing-3xl) var(--spacing-xl) var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-section p,
.footer-section a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-bottom {
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--bg-secondary);
    margin: 10% auto;
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    max-width: 450px;
    width: 90%;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.modal-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.modal-input {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    transition: all 0.2s ease;
}

.modal-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.modal-button {
    width: 100%;
    background: var(--primary-blue);
    color: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-button:hover {
    background: var(--primary-blue-dark);
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 1999;
    padding: var(--spacing-xl);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.nav-mobile.active {
    transform: translateX(0);
}

.nav-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-2xl);
}

.nav-mobile-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.nav-mobile-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    transition: background 0.2s ease;
}

.nav-mobile-link:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-blue-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-mobile {
        display: block;
    }

    .hero {
        padding: 100px var(--spacing-lg) var(--spacing-xl);
        min-height: auto;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-sm);
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .stats-container {
        gap: var(--spacing-xl);
    }

    .features,
    .pricing,
    .faq {
        padding: var(--spacing-2xl) var(--spacing-lg);
        scroll-margin-top: 100px;
    }

    .feature-showcase {
        scroll-margin-top: 100px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .subjects-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: var(--spacing-md) var(--spacing-md);
    }

    .logo-container img {
        height: 32px;
    }

    .logo-text {
        font-size: 1.125rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.875rem;
    }

    .stat-label {
        font-size: 0.875rem;
    }
}

/* Launch Banner */
.launch-banner {
    background: rgba(0, 30, 60, 0.6);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    z-index: 999;
}

.launch-banner-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.launch-banner-content span {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-right: 50px;
    display: inline-block;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* App Showcase Section */
.app-showcase {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4xl);
    margin-top: var(--spacing-3xl);
}

.app-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-3xl);
}

.app-feature:nth-child(even) {
    flex-direction: row-reverse;
}

.app-feature-content {
    flex: 1;
}

.app-feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.app-feature-image img {
    max-width: 100%;
    height: auto;
    /* Use drop-shadow instead of box-shadow to respect PNG transparency */
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.app-feature:hover .app-feature-image img {
    transform: translateY(-5px);
    filter: drop-shadow(0 30px 50px rgba(79, 172, 254, 0.3));
}

.app-feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.app-feature-text {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Vertical Feature Layout (for the last item) */
.app-feature-vertical {
    flex-direction: column !important;
    /* Override alternating layout */
    text-align: center;
    align-items: center;
    gap: var(--spacing-xl);
}

.app-feature-vertical .app-feature-content {
    width: 100%;
    max-width: 800px;
}

.app-feature-vertical .app-feature-group-images {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    width: 100%;
    max-width: 1000px;
}

.app-feature-vertical .app-feature-group-images img {
    width: calc(50% - var(--spacing-lg)/2);
    max-width: 400px;
}

.app-feature-group-images {
    display: flex;
    gap: var(--spacing-md);
}

.app-feature-group-images img {
    width: calc(50% - var(--spacing-md)/2);
}

@media (max-width: 768px) {

    .app-feature,
    .app-feature:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xl);
    }

    .app-feature-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .app-feature-group-images {
        justify-content: center;
    }

    .app-feature-vertical .app-feature-group-images {
        flex-direction: column;
        align-items: center;
    }

    .app-feature-vertical .app-feature-group-images img {
        width: 100%;
        max-width: 350px;
    }

    .app-feature-vertical .app-feature-group-images img {
        width: 100%;
        max-width: 350px;
    }
}

/* Scrollytelling Styles */
.scrolly-container {
    position: relative;
    height: 500vh;
    /* 500% viewport height for scroll track */
    margin-top: var(--spacing-3xl);
}

.scrolly-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* Use dvh for mobile address bar stability */
    height: 100dvh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scrolly-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.6s step-end;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-xl);
}

.scrolly-item.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.6s step-start;
}

.scrolly-content-wrapper {
    max-width: 1280px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-2xl);
}

.scrolly-text {
    flex: 1;
    max-width: 500px;
    z-index: 2;
}

/* Modifiers for desktop layout */
.scrolly-content-wrapper.is-reverse {
    flex-direction: row-reverse;
}

.scrolly-content-wrapper.is-vertical {
    flex-direction: column;
    text-align: center;
}

/* Fix: Disable flex-grow in vertical mode to prevent pushing content out */
.scrolly-content-wrapper.is-vertical .scrolly-text,
.scrolly-content-wrapper.is-vertical .scrolly-media {
    flex: 0 0 auto;
}

.scrolly-content-wrapper.is-vertical .scrolly-text-title {
    margin-bottom: 0;
    max-width: 800px;
}

.scrolly-content-wrapper.is-vertical .scrolly-text {
    max-width: 800px;
}

.scrolly-media {
    flex: 1;
    display: flex;
    justify-content: center;
    z-index: 1;
}

/* Re-use refined image styles */
/* Scrollytelling Image Animations */
.scrolly-media img {
    max-width: 100%;
    height: auto;
    max-height: 80vh;
    max-height: 80dvh;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));

    /* Animation Initial State (Waiting to enter) */
    opacity: 0;
    transform: translateX(100px) scale(0.95);
    /* Enter from Right */
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Active State (Visible - Center) */
.scrolly-item.active .scrolly-media img {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Scrolled Past State (Exit to Left) */
.scrolly-item.scrolled-past .scrolly-media img {
    opacity: 0;
    transform: translateX(-100px) scale(0.95);
}

/* Reverse Layout: Come from Left, Exit to Right */
.scrolly-content-wrapper.is-reverse .scrolly-media img {
    transform: translateX(-100px) scale(0.95);
    /* Enter from Left */
}

.scrolly-item.active .scrolly-content-wrapper.is-reverse .scrolly-media img {
    transform: translateX(0) scale(1);
}

.scrolly-item.scrolled-past .scrolly-content-wrapper.is-reverse .scrolly-media img {
    transform: translateX(100px) scale(0.95);
    /* Exit to Right */
}

/* Group Images Split Animation */
.scrolly-group-images {
    display: flex;
    gap: var(--spacing-md);
}

.scrolly-group-images img {
    width: calc(50% - var(--spacing-md)/2);
    max-height: 70vh;
    max-height: 70dvh;
}

/* Left Image: Enter Left -> Center -> Exit Right */
.scrolly-content-wrapper.is-vertical .scrolly-group-images img:nth-child(1) {
    transform: translateX(-100px) scale(0.95);
}

/* Right Image: Enter Right -> Center -> Exit Left */
.scrolly-content-wrapper.is-vertical .scrolly-group-images img:nth-child(2) {
    transform: translateX(100px) scale(0.95);
}

/* Reset both on active */
.scrolly-item.active .scrolly-content-wrapper.is-vertical .scrolly-group-images img {
    transform: translateX(0) scale(1);
}

/* Scrolled Past Group */
.scrolly-item.scrolled-past .scrolly-content-wrapper.is-vertical .scrolly-group-images img:nth-child(1) {
    transform: translateX(100px) scale(0.95);
    /* Exit Right */
}

.scrolly-item.scrolled-past .scrolly-content-wrapper.is-vertical .scrolly-group-images img:nth-child(2) {
    transform: translateX(-100px) scale(0.95);
    /* Exit Left */
}

/* Mobile Responsive for Scrollytelling */
@media (max-width: 768px) {
    .scrolly-container {
        height: 600vh;
        /* A bit more scrolling space for mobile */
    }

    .scrolly-content-wrapper {
        flex-direction: column-reverse;
        text-align: center;
        justify-content: center;
        gap: var(--spacing-lg);
    }

    /* Ensure reverse items also stack correctly on mobile */
    .scrolly-content-wrapper.is-reverse {
        flex-direction: column-reverse;
    }

    /* Keep vertical items vertical on mobile */
    .scrolly-content-wrapper.is-vertical {
        flex-direction: column;
    }

    .scrolly-text {
        flex: 0 0 auto;
        margin-top: var(--spacing-md);
    }

    .scrolly-media {
        flex: 0 0 auto;
        width: 100%;
        align-items: center;
    }

    .scrolly-media img {
        max-height: 45vh;
        max-height: 45dvh;
    }

    .scrolly-group-images img {
        max-height: 40vh;
        max-height: 40dvh;
    }
}

/* =============================================
   HIGH-FIDELITY 3D GLASS CARD
   Estilo: Glassmorphism Premium, Levitación, Sin Fondo
   ============================================= */

/* --------------------------------------------- */
/* CONTENEDOR 3D HERO */
/* --------------------------------------------- */
.hero-graphic-container {
    perspective: 1200px;
    background: transparent !important;
    overflow: visible !important;
    transform-style: preserve-3d;
}

/* --------------------------------------------- */
/* TARJETA 3D PRINCIPAL */
/* --------------------------------------------- */
.lex-card-3d {
    width: 340px;
    background: rgba(255, 255, 255, 0.08);
    /* Más visible */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Borde más notorio */
    border-radius: 20px;
    padding: 24px;

    /* Posición 3D y Sombra de Levitación */
    transform: rotateY(-15deg) rotateX(5deg);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        /* Sombra profunda actualizada */
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;

    /* Animación de Levitación */
    animation: levitate 6s ease-in-out infinite;

    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 10;
}

/* Reflejo/Brillo en la esquina superior izquierda */
.lex-card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0.05) 30%,
            transparent 100%);
    pointer-events: none;
    z-index: 1;
}

@keyframes levitate {

    0%,
    100% {
        transform: rotateY(-15deg) rotateX(5deg) translateY(0);
    }

    50% {
        transform: rotateY(-15deg) rotateX(5deg) translateY(-20px);
    }
}

/* --------------------------------------------- */
/* CABECERA: STATUS */
/* --------------------------------------------- */
.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #00f0ff;
    border-radius: 50%;
    box-shadow: 0 0 8px #00f0ff;
}

.status-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --------------------------------------------- */
/* CONTENIDO CENTRAL */
/* --------------------------------------------- */
.card-body {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.card-icon {
    width: 32px;
    height: 32px;
    color: #00f0ff;
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.5));
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.2), transparent 70%);
}

.card-info {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2px;
}

.info-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* --------------------------------------------- */
/* FOOTER: PROGRESO */
/* --------------------------------------------- */
.card-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}

.progress-wrapper {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00f0ff, #3b82f6);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meta-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.meta-icon {
    width: 16px;
    height: 16px;
    color: #00f0ff;
}

/* --------------------------------------------- */
/* RESPONSIVE */
/* --------------------------------------------- */
@media (max-width: 1024px) {
    .lex-card-3d {
        transform: rotateY(0) rotateX(0);
        /* Remove tilt on smaller screens if needed, or keep it */
        width: 300px;
    }
}

@media (max-width: 768px) {

    /* Ocultar en móvil según requerimiento original, o ajustar si se desea mostrar */
    .hero-graphic-container {
        display: flex !important;
        justify-content: center;
        align-items: center;
        margin-top: 40px;
        margin-bottom: 20px;
        transform: scale(0.9);
        height: auto !important;
        min-height: 480px;
    }
}

/* --------------------------------------------- */
/* --------------------------------------------- */
/* FOOTER: RECOMENDACIONES IA */
/* --------------------------------------------- */
.ai-recommendations {
    display: flex;
    flex-direction: column;
    /* Vertical List */
    gap: 6px;
    margin-top: 10px;
    align-items: flex-start;
}

.ai-footer-header {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.8px;
    margin-bottom: 6px;
    margin-top: 4px;
    opacity: 0;
    transform: translateY(3px);
    transition: all 0.5s ease;
}

.ai-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);

    /* List Item Style */
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle border */
    padding: 8px 12px;
    border-radius: 6px;

    display: flex;
    align-items: center;
    gap: 8px;

    opacity: 0;
    /* Inicialmente oculto */
    transform: translateY(5px);
    transition: all 0.5s ease;
}

.ai-tag:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
    cursor: default;
}

.ai-tag-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    /* Mint Green Bullet */
    box-shadow: 0 0 5px rgba(16, 185, 129, 0.4);
    flex-shrink: 0;
}