/* --- Configuración de Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #050810;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Clase especial para la landing 3D que requiere scroll bloqueado */
.lock-scroll {
    overflow: hidden;
    height: 100vh;
}

/* --- Fondos Decorativos --- */
.bg-gradient {
    position: fixed;
    inset: 0;
    /* Imagen de fondo con una capa de color negro traslúcido (0.9) para oscurecer */
    background: linear-gradient(rgba(5, 8, 16, 0.9), rgba(5, 8, 16, 0.9)), 
                url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    filter: blur(150px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.12;
    pointer-events: none;
}

/* --- Navegación Glassmorphism --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 8%;
    background: rgba(5, 8, 16, 0.8);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 40px; cursor: pointer; }

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links a:hover { color: #f97316; }

.nav-links a.active {
    color: #f97316;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(249, 115, 22, 0.4);
}

.menu-toggle {
    display: none; /* Oculto en desktop */
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
    transition: 0.3s;
}

.btn-login {
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: white !important;
    padding: 0.7rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-login:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.5);
    filter: brightness(1.1);
}

/* --- Estructura Principal --- */
.main-container {
    display: flex;
    height: 100vh;
    width: 100%;
    align-items: center;
    padding-top: 80px;
}

/* Lado Izquierdo: Contenido e Interacción */
.info-side {
    flex: 1;
    padding: 0 5% 0 8%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tagline {
    color: #f97316;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 800;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    display: block;
}

.info-side h1 {
    font-size: 4.5rem;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 2rem;
}

.highlight {
    background: linear-gradient(to right, #f97316, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-side p {
    color: #94a3b8;
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 500px;
    margin-bottom: 3.5rem;
}

/* Botones Verticales */
.controls {
    position: absolute;
    left: -100px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 1000;
}

.controls button {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}

.controls button:hover {
    background: #f97316;
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.4);
}

/* --- Lado Derecho: Escenario 3D de Cards --- */
.visual-side {
    flex: 1.5;
    height: 100%;
    perspective: 3500px; /* Profundidad crítica para el efecto túnel */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible; /* IMPORTANTE: Permite que las cards no se corten al alejarse */
}

.stack-container {
    position: relative;
    width: 100%;
    max-width: 750px;
    height: 640px;
    transform-style: preserve-3d;
    margin: 0 auto;
}

/* Card Individual */
.course-card-3d {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.98);
    backdrop-filter: blur(30px);
    border-radius: 45px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 25px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 60px 120px rgba(0, 0, 0, 0.7);
    
    /* Transición de alta fluidez para el movimiento Z */
    transition: 
        transform 0.9s cubic-bezier(0.23, 1, 0.32, 1), 
        opacity 0.7s ease, 
        filter 0.7s ease;
    
    will-change: transform, opacity;
}

.card-img-wrapper {
    width: 100%;
    height: 75%;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.course-card-3d:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-content h3 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.card-content p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.btn-card {
    display: block;
    width: 100%;
    padding: 1.2rem;
    text-align: center;
    background: #f97316;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.4s;
}

.btn-card:hover {
    background: #ea580c;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.4);
}

/* --- Estilos de Promoción --- */
.price-promo { display: flex; align-items: center; gap: 12px; margin-bottom: 1.2rem; }
.price-promo.centered { justify-content: center; }
.price-old { text-decoration: line-through; color: #64748b; font-size: 0.95rem; }
.price-new { color: #f97316; font-weight: 800; font-size: 1.4rem; }
.badge-promo { background: #ef4444; color: white; padding: 4px 10px; border-radius: 8px; font-size: 0.75rem; font-weight: 900; letter-spacing: 1px; }

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 2rem;
    font-weight: 600;
    transition: 0.3s;
}

.btn-back:hover { color: #f97316; transform: translateX(-5px); }

/* --- Estilos para Catálogo y Detalle --- */
.page-content { padding: 120px 8% 50px; }

/* Contenedores de Carrusel Horizontal 3D */
.carousel-section {
    margin-bottom: 8rem;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 3000px;
    overflow: visible;
    margin-top: 2rem;
}

.carousel-stack {
    position: relative;
    width: 100%;
    max-width: 900px; /* Más ancho para mayor impacto visual */
    height: 100%;
    transform-style: preserve-3d;
}

.carousel-nav {
    position: absolute;
    width: 100%;
    max-width: 1150px; /* Espacio total para cubrir el contenedor de 900px más las flechas */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1100;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.carousel-nav.is-active {
    opacity: 1;
    visibility: visible;
}

.carousel-nav button {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(249, 115, 22, 0.4);
    color: #fff;
    width: 80px; /* Flechas más grandes */
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
    pointer-events: auto;
}

.carousel-nav button:hover {
    background: #f97316;
    border-color: #f97316;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.4);
}

/* Estilo Elegante para Títulos de Categoría */
.category-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 3rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(to bottom, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-bottom: 25px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.category-title:hover {
    letter-spacing: 8px;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.2));
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, transparent, #f97316, transparent);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-title:hover::after {
    width: 200px;
}

.detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.detail-img img { width: 100%; border-radius: 40px; }

/* --- Tarjetas Estilo Glassmorphism --- */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    padding: 2.5rem;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(249, 115, 22, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.glass-card h4 {
    font-size: 1.4rem;
    color: #f97316;
}

.syllabus-list { list-style: none; margin: 1.5rem 0; }
.syllabus-list li { 
    padding: 0.8rem; 
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #94a3b8;
}
.syllabus-list li::before { content: "▹ "; color: #f97316; }

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}
.gallery-grid img { width: 100%; border-radius: 15px; height: 150px; object-fit: cover; }

/* Formulario Styles */
.form-container {
    max-width: 850px;
    margin: 50px auto;
    background: rgba(255,255,255,0.02);
    padding: 4rem;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group.full-width { grid-column: span 2; }

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; color: #94a3b8; }

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    border-radius: 10px;
    outline: none;
    transition: 0.3s;
}

/* Estilo especial para Combobox (Select) */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23f97316'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    cursor: pointer;
}

.form-group select option {
    background: #0f172a;
    color: white;
}

.form-group input:focus, .form-group select:focus {
    border-color: #f97316;
    background: rgba(249, 115, 22, 0.05);
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.1);
}

.phone-input {
    display: flex;
    gap: 0.5rem;
}

.phone-input select { width: 120px; }

.payment-options {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.payment-method {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.payment-method:hover { 
    border-color: rgba(249, 115, 22, 0.5); 
    background: rgba(249, 115, 22, 0.02);
}

.payment-method:has(input:checked) {
    border-color: #f97316;
    background: rgba(249, 115, 22, 0.1);
}

.payment-method input { width: auto; margin-right: 10px; }

/* Estilos para la tabla de certificados */
.certificate-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}
.certificate-table th, .certificate-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #94a3b8;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.certificate-table th {
    background: rgba(249, 115, 22, 0.1); /* Fondo sutil para el encabezado */
    color: #f97316;
    font-weight: 600;
}
.certificate-table tbody tr:nth-child(even) {
    background: rgba(255,255,255,0.01); /* Ligero sombreado para filas pares */
}

/* --- Estilos para la sección Nosotros --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: 0.3s;
}

.value-item:hover {
    background: rgba(249, 115, 22, 0.05);
    border-color: rgba(249, 115, 22, 0.2);
    transform: translateY(-5px);
}

.value-item i {
    font-size: 2.5rem;
    color: #f97316;
    margin-bottom: 1rem;
}

.value-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.value-item p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.team-member-card {
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(249, 115, 22, 0.3);
}

.team-member-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid #f97316;
    box-shadow: 0 0 0 8px rgba(249, 115, 22, 0.2);
}

.team-member-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.team-member-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.team-member-card .social-wrapper {
    display: flex;
    gap: 0.8rem;
    margin-top: 0; /* Override default margin-top from .social-wrapper */
}

.team-member-card .social-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
}

/* --- Estilos de Contacto Elegante --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.info-item:hover {
    background: rgba(249, 115, 22, 0.05);
    border-color: rgba(249, 115, 22, 0.2);
    transform: translateX(10px);
}

.info-item i {
    font-size: 1.5rem;
    color: #f97316;
}

.info-text h4 { margin-bottom: 0.2rem; font-size: 1.1rem; }
.info-text p { color: #94a3b8; font-size: 0.9rem; }

.social-wrapper {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 45px; height: 45px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    color: #fff; text-decoration: none; transition: 0.3s;
}
.social-icon:hover { background: #f97316; transform: translateY(-3px); }

/* --- Media Queries (Responsividad) --- */

/* Tablets y Laptops Pequeñas */
@media (max-width: 1024px) {
    .main-container {
        flex-direction: column;
        height: auto;
        padding-top: 120px;
        padding-bottom: 50px;
    }

    .info-side {
        text-align: center;
        align-items: center;
        padding: 0 8%;
        margin-bottom: 4rem;
    }

    .info-side h1 {
        font-size: 3.5rem;
    }

    .info-side p {
        max-width: 100%;
    }

    .controls {
        position: absolute;
        left: 50%;
        top: auto;
        bottom: -75px; 
        transform: translateX(-50%);
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }

    .controls button {
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
    }

    .visual-side {
        width: 100%;
        height: 500px;
    }

    .stack-container {
        width: 90%;
        height: 500px;
    }

    .detail-container, .contact-grid, .form-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Menú Responsive activado desde 1024px */
    nav {
        padding: 1rem 5%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: rgba(5, 8, 16, 0.98);
        backdrop-filter: blur(30px);
        padding: 120px 8% 40px;
        transition: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 999;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        gap: 2rem;
    }

    .nav-links.active { right: 0; }

    .menu-toggle { 
        display: flex !important; 
        align-items: center;
        justify-content: center;
        order: 2;
        position: relative;
        visibility: visible;
        opacity: 1;
    }
    
    .logo { order: 1; }
}

/* Dispositivos Móviles */
@media (max-width: 768px) {

    .info-side h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .live-badge {
        display: none;
    }

    .page-content {
        padding: 100px 5% 40px;
    }

    .grid-courses {
        grid-template-columns: 1fr;
    }

    .stack-container {
        width: 90%; 
        height: 400px;
    }

    .course-card-3d {
        padding: 20px;
        border-radius: 25px;
    }

    .card-content h3 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }

    .card-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }

    .price-new {
        font-size: 1.4rem;
    }

    .btn-card {
        font-size: 1.1rem;
        padding: 1rem;
    }

    .card-img-wrapper {
        height: 60%;
        margin-bottom: 1rem;
    }

    .team-grid, .values-grid {
        grid-template-columns: 1fr;
    }

    .chat-trigger {
        bottom: 25px;
        right: 25px;
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .chat-widget {
        width: calc(100% - 40px);
        right: 20px;
        bottom: 95px;
        height: 450px;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Mejoras de Elegancia y Chat --- */

.floating-ornament {
    position: fixed;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: float-slow 15s infinite ease-in-out;
    pointer-events: none;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, -40px) scale(1.1); }
}

.live-badge {
    position: fixed;
    top: 100px;
    right: 40px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 10;
    color: #94a3b8;
}

.dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 12px #22c55e;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.2); }
}

/* Chat Widget Styles */
.chat-trigger {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.5);
    z-index: 2000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-trigger:hover { transform: scale(1.1) rotate(10deg); }

.chat-widget {
    position: fixed;
    bottom: 115px;
    right: 35px;
    width: 360px;
    height: 480px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    z-index: 1999;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    animation: slideUp 0.4s ease forwards;
}

.chat-widget.active { display: flex; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .info-side h1 {
        font-size: 2.2rem;
    }
    
    .stack-container {
        height: 350px;
    }
}