/* ============================================
   ASSISTAIR ULTRA MODERN STYLES
   Design inspired by premium SaaS platforms
   ============================================ */

/* ========== ROOT VARIABLES - ULTRA COLOR SYSTEM ========== */

/* ========== SECTION DIVIDER ========== */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--divider-color) 50%, transparent 100%);
    margin: 0;
    padding: 0;
    border: none;
    opacity: 0.6;
}

.section-divider-wrapper {
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

:root {
    /* Primary Colors - Aviation Tech */
    --primary-blue: #7DD3FC;
    --primary-blue-dark: #38BDF8;
    --primary-blue-light: #BAE6FD;
    --primary-blue-lighter: #E0F2FE;
    
    /* Accent Colors */
    --accent-purple: #A855F7;
    --accent-purple-dark: #9333EA;
    --accent-green: #10B981;
    --accent-orange: #F59E0B;
    --accent-red: #EF4444;
    
    /* Neutrals - Premium Light */
    --dark-900: #E0F2FE;
    --dark-800: #BAE6FD;
    --dark-700: #7DD3FC;
    --dark-600: #38BDF8;
    --dark-500: #0EA5E9;
    
    /* Glass Effect */
    --glass-bg: rgba(186, 230, 253, 0.3);
    --glass-border: rgba(125, 211, 252, 0.4);
    --glass-hover: rgba(224, 242, 254, 0.5);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #BAE6FD 0%, #7DD3FC 100%);
    --gradient-warm: linear-gradient(135deg, #FDE68A 0%, #FCD34D 100%);
    --gradient-success: linear-gradient(135deg, #A7F3D0 0%, #6EE7B7 100%);
    
    /* Shadows - Dramatic */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-glow-blue: 0 0 40px rgba(186, 230, 253, 0.6);
    --shadow-glow-purple: 0 0 40px rgba(196, 181, 253, 0.6);
    --shadow-glow-orange: 0 0 40px rgba(253, 224, 71, 0.6);
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    
    /* Section Divider */
    --divider-color: #7DD3FC;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== GLOBAL RESETS ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    max-width: 100%;
}

body {
    font-family: var(--font-main);
    background: #F0F9FF;
    color: #0C4A6E;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    padding-top: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== ANNOUNCEMENT BAR ========== */
.announcement-bar {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    color: white;
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.announcement-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    max-width: 100%;
}

.announcement-bar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 12px;
    flex-shrink: 0;
}

.announcement-bar strong {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.announcement-mobile-text {
    display: none;
}

.announcement-bar-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

/* ========== HEADER LAYOUT ADJUSTMENTS ========== */
/* Ajustar header para que esté debajo de la barra de anuncio */
.main-header {
    position: fixed !important;
    top: 65px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 4rem) !important;
    max-width: 1200px !important;
    z-index: 1001 !important;
}

.main-header.scrolled {
    top: 65px !important;
    width: calc(100% - 4rem) !important;
}

/* Agregar padding al body para compensar el espacio del header fijo */
body {
    padding-top: 165px !important;
}

/* Ajustar el hero para que comience desde arriba */
.hero-ultra {
    margin-top: -165px !important;
    padding-top: calc(165px + 6rem) !important;
}

/* Hacer el header más transparente al hacer scroll */
.main-header.scrolled .header-container {
    background: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
}

/* Agregar borde celeste al header */
.header-container {
    border: 2px solid rgba(14, 165, 233, 0.4) !important;
    box-shadow: 0 8px 32px rgba(186, 230, 253, 0.3),
                0 2px 8px rgba(125, 211, 252, 0.15),
                0 0 0 1px rgba(14, 165, 233, 0.1) inset !important;
}

.main-header.scrolled .header-container {
    border-color: rgba(14, 165, 233, 0.5) !important;
}

/* Forzar botón Agendar Demo con color oscuro */
.header-btn-primary {
    background: linear-gradient(135deg, #0C4A6E 0%, #083344 100%) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(12, 74, 110, 0.5) !important;
}

.header-btn-primary:hover {
    background: linear-gradient(135deg, #083344 0%, #0C4A6E 100%) !important;
    box-shadow: 0 6px 20px rgba(12, 74, 110, 0.7) !important;
}

/* Animación de escritura para hero */
.hero-title,
.hero-subtitle {
    opacity: 1 !important;
    min-height: 1em;
}

.hero-ctas,
.hero-trust {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.hero-ctas.show,
.hero-trust.show {
    opacity: 1 !important;
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background-color: #FFFFFF;
    margin-left: 4px;
    animation: blink 0.7s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== HERO SECTION - ULTRA MODERN ========== */

/* --- 1. Layout & Content Container --- */
.hero-ultra {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem 0 1.5rem;
    overflow: hidden;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.6) 100%),
        linear-gradient(135deg, rgba(186, 230, 253, 0.20) 0%, rgba(125, 211, 252, 0.15) 100%), 
        url('../img/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Layout con dos columnas */
.hero-split-layout {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 1rem;
}

.hero-content-left {
    text-align: left;
    padding-top: 0.5rem;
}

.hero-content-left .hero-badge {
    justify-content: flex-start;
}

.hero-content-left .hero-ctas {
    justify-content: flex-start;
}

.hero-content-left .hero-trust {
    justify-content: flex-start;
}

.hero-image-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: auto;
    margin-top: -80px;
}

.hero-main-image {
    width: 85%;
    height: auto;
    border-radius: 1.5rem;
    transition: transform var(--transition-base);
    position: relative;
    z-index: 2;
}

.hero-main-image:hover {
    transform: translateY(-10px);
}

/* Im�genes superpuestas (mockups m�viles) */
.hero-overlay-image {
    position: absolute;
    width: 35%;
    height: auto;
    border-radius: 1rem;
    transition: transform var(--transition-base);
    z-index: 3;
}

.hero-overlay-1 {
    bottom: 5%;
    right: 5%;
}

.hero-overlay-image:hover {
    transform: scale(1.05);
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, transparent 70%);
    z-index: -1;
    opacity: 0.5;
}

/* --- 2. Background Elements & Effects --- */
.hero-bg-grid {
    display: none;
}

.hero-gradient-orb {
    display: none;
}

.hero-gradient-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

.hero-gradient-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation-delay: -10s;
}

/* --- 3. Typography --- */
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    background: transparent;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    backdrop-filter: none;
    box-shadow: none;
    border: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title-gradient {
    color: #0066CC !important;
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
    max-width: 550px;
    font-weight: 600;
    background: transparent;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    backdrop-filter: none;
    box-shadow: none;
    border: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle strong {
    color: #FFFFFF;
    font-weight: 900;
    font-size: 1.05em;
}

/* --- 4. Action Buttons (CTA) --- */
.hero-ctas {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.btn-ultra {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-base);
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
}

.btn-ultra-primary {
    background: var(--gradient-primary);
    color: #0C4A6E;
    box-shadow: var(--shadow-glow-blue);
}

.btn-ultra-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(14, 165, 233, 0.5);
}

.btn-ultra-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid #0C4A6E;
    color: #083344;
    font-weight: 700;
}

.btn-ultra-glass:hover {
    background: var(--glass-hover);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-ultra-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.btn-ultra-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn-ultra:hover .btn-ultra-glow {
    transform: translateX(100%);
}

/* --- 5. Visuals (Removed Dashboard) --- */
/* Dashboard visual elements removed for cleaner hero section */

/* --- 7. Animations --- */
@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

/* ========== PLATFORMS OVERVIEW SECTION ========== */
.platforms-overview-section {
    padding: 3rem 0 7rem;
    background: linear-gradient(180deg, #0C4A6E 0%, #083344 50%, #0C4A6E 100%);
    position: relative;
    overflow: visible;
}

.platforms-overview-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background: #BAE6FD;
    clip-path: polygon(
        0 40%,
        5% 35%,
        10% 30%,
        15% 28%,
        20% 30%,
        25% 35%,
        30% 42%,
        35% 48%,
        40% 50%,
        45% 48%,
        50% 42%,
        55% 35%,
        60% 30%,
        65% 28%,
        70% 30%,
        75% 35%,
        80% 40%,
        85% 43%,
        90% 42%,
        95% 38%,
        100% 35%,
        100% 100%,
        0 100%
    );
    z-index: 10;
}



.platforms-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.platform-overview-card {
    background: rgba(8, 51, 68, 0.6);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(186, 230, 253, 0.2);
    border-radius: 24px;
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(186, 230, 253, 0.1),
        inset 0 1px 0 rgba(186, 230, 253, 0.1);
    position: relative;
}

.platform-overview-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, 
        rgba(186, 230, 253, 0.3) 0%, 
        rgba(125, 211, 252, 0.15) 25%,
        transparent 50%,
        rgba(125, 211, 252, 0.15) 75%,
        rgba(186, 230, 253, 0.3) 100%);
    border-radius: 24px;
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
    filter: blur(15px);
}

.platform-overview-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(186, 230, 253, 0.2),
        0 0 120px rgba(125, 211, 252, 0.15),
        inset 0 1px 0 rgba(186, 230, 253, 0.2);
    border-color: rgba(186, 230, 253, 0.3);
}

.platform-overview-card:hover::before {
    opacity: 1;
}

.platform-overview-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
}

.platform-overview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.platform-overview-card:hover .platform-overview-image img {
    transform: scale(1.05);
}

.platform-coming-soon-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 74, 110, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 1;
    transition: all var(--transition-base);
}

.coming-soon-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    background: var(--gradient-warm);
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 800;
    color: #0C4A6E;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
    animation: comingSoonPulse 2s ease-in-out infinite;
}

.coming-soon-badge i {
    font-size: 1.25rem;
    animation: rocketFloat 2s ease-in-out infinite;
}

.launch-date {
    font-size: 1rem;
    font-weight: 700;
    color: #BAE6FD;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@keyframes comingSoonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes rocketFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.platform-overview-card-coming-soon {
    opacity: 0.95;
}

.platform-overview-card-coming-soon:hover {
    transform: translateY(-5px);
}

.platform-overview-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(186, 230, 253, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(186, 230, 253, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #BAE6FD;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.platform-overview-badge i {
    color: #7DD3FC;
}

.platform-overview-badge-orange {
    background: rgba(253, 224, 138, 0.15);
    border-color: rgba(253, 224, 138, 0.3);
    color: #FDE68A;
}

.platform-overview-badge-orange i {
    color: #FCD34D;
}

.platform-overview-content {
    padding: 1.25rem;
    background: rgba(8, 51, 68, 0.4);
}

.platform-overview-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #E0F2FE;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.platform-overview-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #BAE6FD;
    margin-bottom: 1rem;
}

.platform-overview-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 0;
    list-style: none;
}

.platform-overview-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #BAE6FD;
    font-weight: 500;
}

.platform-overview-features i {
    color: #10B981;
    font-size: 1rem;
    flex-shrink: 0;
}

.btn-platform-overview {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: var(--gradient-primary);
    color: #0C4A6E;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

.btn-platform-overview:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

.btn-platform-overview i {
    transition: transform var(--transition-base);
}

.btn-platform-overview:hover i {
    transform: translateX(4px);
}

.btn-platform-overview-disabled {
    background: linear-gradient(135deg, #94A3B8 0%, #64748B 100%);
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-platform-overview-disabled:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

.btn-platform-overview-disabled:hover i {
    transform: none;
}

/* Responsive - Platforms Overview */
@media (max-width: 992px) {
    .platforms-overview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .platform-overview-image {
        height: 240px;
    }
}

@media (max-width: 768px) {
    /* Announcement Bar Responsive */
    .announcement-bar {
        padding: 10px 15px;
        font-size: 12px;
    }

    .announcement-bar-content {
        gap: 6px;
    }

    .announcement-bar-icon {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .announcement-bar strong {
        font-size: 12px;
    }

    .announcement-bar-badge {
        padding: 3px 8px;
        font-size: 10px;
        margin-left: 4px;
    }

    /* Header and Body Responsive */
    .announcement-bar {
        display: none;
    }

    .main-header {
        top: 0.5rem !important;
        width: calc(100% - 1rem) !important;
    }

    .main-header.scrolled {
        top: 0.25rem !important;
        width: calc(100% - 1rem) !important;
    }

    body {
        padding-top: 75px !important;
    }

    .hero-ultra {
        margin-top: -75px !important;
        padding-top: calc(75px + 1.5rem) !important;
    }

    /* Hero responsive */
    .hero-split-layout {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding-top: 0;
    }
    
    .hero-image-container {
        margin-top: 0; /* Reset negative margin for mobile to avoid overlap */
        max-width: 320px; /* Limit size on mobile so it fits nicely */
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-content-left {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Orden en m�viles: t�tulo primero */
    .hero-content-left .hero-title {
        order: 1;
        margin-bottom: 2rem;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Im�genes en segundo lugar */
    .hero-image-right {
        order: 2;
    }
    
    /* Subt�tulo despu�s de im�genes */
    .hero-content-left .hero-subtitle {
        order: 3;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* CTAs despu�s del subt�tulo */
    .hero-content-left .hero-ctas {
        order: 4;
        justify-content: center;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Trust indicators al final */
    .hero-content-left .hero-trust {
        order: 5;
        justify-content: center;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Badge tambi�n con orden */
    .hero-content-left .hero-badge {
        order: 0;
        justify-content: center;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .platforms-overview-section {
        padding: 4rem 0;
    }
    
    .platform-overview-title {
        font-size: 1.5rem;
    }
    
    .platform-overview-image {
        height: 200px;
    }
}

/* ========== PAIN POINTS SECTION ========== */
.pain-points-ultra {
    padding: 5rem 0 3rem;
    position: relative;
    background: #BAE6FD;
    margin-top: 0;
}

.section-header-ultra {
    margin-bottom: 2rem;
}

.section-header-ultra.center {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge-ultra {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--primary-blue-light);
}

.section-badge-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--accent-orange);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.section-badge-warning i {
    font-size: 1rem;
}

.section-badge-primary {
    background: rgba(186, 230, 253, 0.15);
    border-color: rgba(186, 230, 253, 0.3);
    color: #BAE6FD;
}

.section-badge-primary i {
    color: #7DD3FC;
}

.section-title-ultra {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    color: #0C4A6E;
}

/* Override for dark backgrounds */
.platforms-overview-section .section-title-ultra {
    color: #E0F2FE;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Override for dark backgrounds */
.platforms-overview-section .gradient-text {
    background: linear-gradient(135deg, #E0F2FE 0%, #7DD3FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle-ultra {
    font-size: 1.05rem;
    color: #0369A1;
    line-height: 1.5;
}

/* Override for dark backgrounds */
.platforms-overview-section .section-subtitle-ultra {
    color: #BAE6FD;
}

/* Pain Grid */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.25rem;
}

.pain-card {
    position: relative;
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 24px;
    transition: all var(--transition-base);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pain-card-featured {
    border-width: 2px;
}

.pain-card:hover {
    transform: translateY(-8px);
    border-color: rgba(125, 211, 252, 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.pain-card-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(186, 230, 253, 0.15);
    line-height: 1;
    font-family: var(--font-main);
}

.pain-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.pain-card:hover .pain-card-glow {
    opacity: 0.1;
}

.pain-card-glow-red {
    background: radial-gradient(circle, var(--accent-red) 0%, transparent 70%);
}

.pain-card-glow-orange {
    background: radial-gradient(circle, var(--accent-orange) 0%, transparent 70%);
}

.pain-card-glow-purple {
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
}

.pain-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 1;
}

.pain-icon-red {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%);
    color: var(--accent-red);
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.pain-icon-orange {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.15) 100%);
    color: var(--accent-orange);
    border: 2px solid rgba(245, 158, 11, 0.3);
}

.pain-icon-purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(147, 51, 234, 0.15) 100%);
    color: var(--accent-purple);
    border: 2px solid rgba(168, 85, 247, 0.3);
}

.pain-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0C4A6E;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.pain-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #0369A1;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.pain-description strong {
    color: #0C4A6E;
    font-weight: 700;
}

.pain-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(186, 230, 253, 0.08) 0%, rgba(224, 242, 254, 0.08) 100%);
    border-radius: 12px;
    border: 1px solid rgba(186, 230, 253, 0.2);
    position: relative;
    z-index: 1;
}

.pain-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pain-stat-number {
    font-size: 1.75rem;
    font-weight: 900;
    color: #0C4A6E;
    line-height: 1;
    font-family: var(--font-main);
}

.pain-stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #0369A1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pain-impact {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 1;
}

.impact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.impact-badge i {
    font-size: 0.9rem;
}

.impact-badge-critical {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%);
    color: var(--accent-red);
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.impact-badge-high {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.15) 100%);
    color: var(--accent-orange);
    border: 2px solid rgba(245, 158, 11, 0.3);
}

.impact-badge-revenue {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(147, 51, 234, 0.15) 100%);
    color: var(--accent-purple);
    border: 2px solid rgba(168, 85, 247, 0.3);
}

.impact-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0C4A6E;
}

/* ========== PLATFORMS SECTION ========== */
.platforms-ultra {
    padding: 5rem 0 3rem;
    position: relative;
    background: linear-gradient(180deg, #0C4A6E 0%, #083344 50%, #0C4A6E 100%);
    overflow: visible;
    margin-top: 3rem;
}

.platforms-ultra::before {
    content: '';
    position: absolute;
    top: -79px;
    left: 0;
    width: 100%;
    height: 80px;
    background: #0C4A6E;
    clip-path: polygon(
        0 40%,
        5% 35%,
        10% 30%,
        15% 28%,
        20% 30%,
        25% 35%,
        30% 42%,
        35% 48%,
        40% 50%,
        45% 48%,
        50% 42%,
        55% 35%,
        60% 30%,
        65% 28%,
        70% 30%,
        75% 35%,
        80% 40%,
        85% 43%,
        90% 42%,
        95% 38%,
        100% 35%,
        100% 100%,
        0 100%
    );
    z-index: 5;
}

.platforms-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.platforms-bg-orb-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.3) 0%, transparent 70%);
    top: 10%;
    left: -20%;
}

.platforms-bg-orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, transparent 70%);
    bottom: 10%;
    right: -10%;
}

.platform-showcase {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 6rem;
}

.platform-showcase-wide {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.platform-showcase-wide .platform-showcase-content {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.platform-showcase-wide .platform-visual-container {
    width: 100%;
}

.platform-visual-container {
    position: relative;
}

/* Role Selector Tabs */
.role-selector {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: rgba(8, 51, 68, 0.6);
    padding: 0.5rem;
    border-radius: 16px;
    border: 1px solid rgba(186, 230, 253, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 10;
}

.role-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    background: transparent;
    border: none;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #BAE6FD;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-main);
    white-space: nowrap;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.role-tab:hover {
    background: rgba(186, 230, 253, 0.1);
    color: #E0F2FE;
}

.role-tab.active {
    background: var(--gradient-primary);
    color: #0C4A6E;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.role-tab i {
    font-size: 1rem;
}

/* Role Content */
.role-content {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    animation: fadeIn 0.3s ease-in-out;
}

.role-content.active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    position: relative;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.platform-visual-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
}

.platform-visual-glow-orange {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
}

.platform-visual-window {
    position: relative;
    background: #083344;
    border: 1px solid rgba(186, 230, 253, 0.2);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.window-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(12, 74, 110, 0.8);
    border-bottom: 1px solid rgba(186, 230, 253, 0.2);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #FCA5A5; }
.window-dots span:nth-child(2) { background: #FCD34D; }
.window-dots span:nth-child(3) { background: #6EE7B7; }

.window-title {
    font-size: 0.875rem;
    color: #BAE6FD;
}

.window-content {
    padding: 2rem;
    min-height: 400px;
    position: relative;
}

/* Demo Interface */
.demo-interface {
    display: flex;
    gap: 1.5rem;
}

/* Role Preview Iframe */
.role-preview-iframe {
    width: 100% !important;
    height: 800px;
    border: 1px solid rgba(186, 230, 253, 0.2);
    border-radius: 12px;
    background: white;
    box-shadow: var(--shadow-lg);
    display: block;
    margin: 0;
}

.demo-sidebar {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.demo-sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.875rem;
    color: rgba(186, 230, 253, 0.6);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.demo-sidebar-item:hover {
    background: rgba(186, 230, 253, 0.1);
    color: #BAE6FD;
}

.demo-sidebar-item.active {
    background: var(--gradient-primary);
    color: #0C4A6E;
}

.demo-main {
    flex: 1;
}

.demo-stat-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.demo-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: rgba(186, 230, 253, 0.08);
    border: 1px solid rgba(186, 230, 253, 0.2);
    border-radius: 12px;
    text-align: center;
}

.demo-stat-card i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.demo-stat-card.blue { color: #7DD3FC; }
.demo-stat-card.green { color: var(--accent-green); }
.demo-stat-card.purple { color: var(--accent-purple); }

.demo-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #E0F2FE;
}

.demo-stat-label {
    font-size: 0.875rem;
    color: #BAE6FD;
}

/* Maintenance Alerts */
.maintenance-alerts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    border-left: 3px solid;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.alert-info {
    background: rgba(125, 211, 252, 0.15);
    border-color: #7DD3FC;
    color: #7DD3FC;
}

/* ========== CASE STUDY SECTION ========== */
.case-study-ultra {
    padding: 3rem 0;
    background: #BAE6FD;
}

.case-study-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.story-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 2rem;
}

.testimonial-ultra {
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--primary-blue);
    border-radius: 16px;
    font-size: 1rem;
    line-height: 1.7;
    color: #0C4A6E;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-ultra strong {
    color: #075985;
    font-weight: 700;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    font-size: 1.5rem;
}

.author-name {
    font-size: 1rem;
    font-weight: 700;
    color: #0C4A6E;
    display: block;
}

.author-role {
    font-size: 0.875rem;
    color: #0369A1;
    display: block;
}

.case-study-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.metric-card {
    padding: 1.25rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    text-align: center;
    transition: all var(--transition-base);
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.metric-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border-radius: 16px;
    font-size: 1.75rem;
}

.metric-icon-blue {
    background: rgba(14, 165, 233, 0.2);
    color: var(--primary-blue-light);
}

.metric-icon-green {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-green);
}

.metric-icon-purple {
    background: rgba(168, 85, 247, 0.2);
    color: var(--accent-purple);
}

.metric-icon-orange {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent-orange);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1rem;
    font-weight: 700;
    color: #0C4A6E;
    margin-bottom: 0.5rem;
}

.metric-description {
    font-size: 0.875rem;
    color: #0369A1;
}

/* ========== WHY ASSISTAIR SECTION ========== */
.why-assistair-ultra {
    padding: 3rem 0;
    position: relative;
    background: #E0F2FE;
}

.why-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(168, 85, 247, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.why-card {
    position: relative;
    padding: 1.75rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: all var(--transition-base);
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-glow-purple);
}

.why-card-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(125, 211, 252, 0.2);
}

.why-card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.why-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #0C4A6E;
}

.why-card-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #0369A1;
}

/* ========== FINAL CTA SECTION ========== */
.final-cta-ultra {
    padding: 3.5rem 0;
    position: relative;
    background: #BAE6FD;
    overflow: hidden;
}

.cta-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.cta-bg-orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    top: -20%;
    left: 10%;
}

.cta-bg-orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    bottom: -20%;
    right: 10%;
}

.cta-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cta-icon-mega {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 30px;
    font-size: 3rem;
    box-shadow: var(--shadow-glow-blue);
    animation: ctaIconPulse 3s ease-in-out infinite;
}

@keyframes ctaIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-description {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #0369A1;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.cta-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #0C4A6E;
}

.cta-benefit i {
    color: var(--accent-green);
    font-size: 1.25rem;
}

.btn-ultra-cta {
    font-size: 1.25rem;
    padding: 1.5rem 3rem;
    margin-bottom: 2rem;
}

.cta-footer-text {
    font-size: 1rem;
    color: #0369A1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.cta-footer-text strong {
    color: #0C4A6E;
}

/* ========== RESPONSIVE DESIGN ========== */

@media (max-width: 1200px) {
    /* Hero visual removed - no adjustments needed */
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .platform-showcase,
    .case-study-body {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .platform-showcase-reverse {
        direction: ltr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title-ultra {
        font-size: 2.5rem;
    }
    
    .platform-title {
        font-size: 2rem;
    }
    
    .pain-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .trust-divider {
        width: 100%;
        height: 1px;
    }
    
    .case-study-metrics {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .demo-interface {
        flex-direction: column;
    }
    
    .demo-sidebar {
        width: 100%;
    }
    
    .demo-stat-cards {
        grid-template-columns: 1fr;
    }
    
    /* Role Selector Responsive */
    .role-selector {
        flex-wrap: wrap;
        gap: 0.375rem;
    }
    
    .role-tab {
        flex: 1 1 calc(50% - 0.375rem);
        min-width: 120px;
        padding: 0.75rem 0.875rem;
        font-size: 0.8rem;
    }
    
    .role-tab span {
        display: none;
    }
    
    .role-tab i {
        font-size: 1.125rem;
    }
    
    .role-tab.active span {
        display: inline;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-ultra {
        width: 100%;
    }
    
    .cta-benefits {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========== AOS LIBRARY LINK ========== */
@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

.platform-visual-simple {
    position: relative;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}

.platform-visual-simple .window-content {
    padding: 0;
    min-height: auto;
    background: transparent;
}

.platform-visual-simple {
    background: #083344;
    border-radius: 16px; /* Keep some radius so it looks nice as a block */
}

.platform-visual-simple .demo-interface:not([data-role='pilotos']) {
    padding: 2rem;
}

.platform-visual-simple {
    border: 1px solid rgba(186, 230, 253, 0.2);
    box-shadow: var(--shadow-xl);
}


/* ========== SECCI�N DE ESCALABILIDAD ========== */
.escalabilidad-section {
    background: linear-gradient(180deg, #f8fafc 0%, #e0f2fe 100%);
    padding: 50px 0;
}

.escalabilidad-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Encabezado */
.escalabilidad-header {
    text-align: center;
    margin-bottom: 40px;
}

.escalabilidad-subtitle {
    color: #0066CC;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.escalabilidad-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.brand-color {
    color: #0066CC;
}

/* Grid de cards */
.escalabilidad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

.escalabilidad-card {
    background: white;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.escalabilidad-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}

/* �cono circular */
.card-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.escalabilidad-card:hover .card-icon {
    transform: scale(1.1);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

/* T�tulo de card */
.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #0066CC;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

/* Descripci�n */
.card-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Footer de secci�n */
.escalabilidad-footer {
    text-align: center;
    margin-top: 30px;
}

.footer-text {
    font-size: 16px;
    color: #475569;
}

.footer-link {
    color: #0066CC;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #0052A3;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .escalabilidad-section {
        padding: 40px 0;
    }
    
    .escalabilidad-title {
        font-size: 26px;
    }
    
    .escalabilidad-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-icon {
        width: 100px;
        height: 100px;
    }
    
    .separator-title {
        font-size: 28px;
    }
    
    .separator-subtitle {
        font-size: 16px;
    }
}

/* ===== SECCI�N ELEVE SU OPERACI�N ===== */

section.operacion-section {
    background-color: #ffffff !important;
    padding: 50px 0 !important;
    position: relative;
    z-index: 1;
    display: block;
}

.operacion-section .operacion-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header de la secci�n */
.operacion-section .operacion-header {
    text-align: center;
    margin-bottom: 40px;
}

.operacion-section .operacion-title {
    font-size: 32px;
    font-weight: 700;
    color: #0066CC !important;
    margin: 0;
}

.operacion-section .operacion-subtitle {
    font-size: 16px;
    color: #1e293b !important;
    margin: 0;
}

.operacion-section .operacion-subtitle strong {
    color: #0066CC !important;
}

/* Grid de caracter�sticas */
.operacion-section .operacion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

/* Card individual */
.operacion-section .operacion-card {
    background: #f8fafc !important;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.operacion-section .operacion-card:hover {
    background: #ffffff !important;
    border-color: #0066CC !important;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
}

/* C�rculo del �cono */
.operacion-section .card-icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.operacion-section .operacion-card:hover .card-icon-circle {
    transform: scale(1.1);
}

.operacion-section .card-icon-circle .material-icons {
    font-size: 40px !important;
    color: #ffffff !important;
    user-select: none;
    line-height: 1;
}

/* T�tulo de la card */
.operacion-section .operacion-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #0066CC !important;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

/* Texto de la card */
.operacion-section .operacion-card-text {
    font-size: 14px;
    color: #64748b !important;
    line-height: 1.5;
    margin: 0;
}

/* Footer de secci�n */
.operacion-section .operacion-footer {
    text-align: center;
    margin-top: 30px;
}

.operacion-section .operacion-footer-text {
    font-size: 16px;
    color: #475569;
}

.operacion-section .operacion-footer-link {
    color: #0066CC;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.operacion-section .operacion-footer-link:hover {
    color: #0052A3;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    section.operacion-section {
        padding: 40px 0 !important;
    }
    
    .operacion-section .operacion-title {
        font-size: 26px;
    }
    
    .operacion-section .operacion-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .operacion-section .card-icon-circle {
        width: 70px;
        height: 70px;
    }
    
    .operacion-section .card-icon-circle .material-icons {
        font-size: 36px !important;
    }
}

@media (max-width: 480px) {
    /* Announcement Bar Extra Small Screens */
    .announcement-bar {
        padding: 8px 12px;
        font-size: 11px;
    }

    .announcement-mobile-text {
        display: none;
    }

    .announcement-bar-badge {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 2px 6px;
        font-size: 9px;
        margin-left: 4px;
    }

    .announcement-bar-badge i {
        font-size: 8px;
    }

    .operacion-section .operacion-card {
        padding: 25px 15px;
    }
}

/* ===== SEPARADOR ENTRE SECCIONES ===== */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #0066CC 50%, transparent 100%);
    margin: 0;
    opacity: 0.3;
}

/* ===== SECCI�N PARA QUI�N ES ASSISTAIR ===== */

.para-quien-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 50px 0;
}

.para-quien-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.para-quien-header {
    text-align: center;
    margin-bottom: 40px;
}

.para-quien-subtitle {
    font-size: 16px;
    color: #0066CC;
    font-weight: 600;
    margin-bottom: 10px;
}

.highlight-integral {
    font-style: italic;
    color: #0066CC;
}

.para-quien-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.highlight-inteligente {
    color: #0066CC;
    font-style: italic;
}

.para-quien-description {
    font-size: 16px;
    color: #64748b;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contenedor principal con dos columnas */
.para-quien-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

/* === MOCKUP (Izquierda) === */
.mockup-container {
    position: relative;
}

.mockup-display {
    position: relative;
    width: 100%;
    height: 400px; /* Altura reducida para ajustar al contenido */
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1500px;
    transform: translateX(-50px); /* Desplazamiento a la izquierda */
}

.screen {
    position: absolute;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.screen:hover {
    transform: translateY(-10px) scale(1.03) !important;
    box-shadow: 0 30px 80px rgba(14, 165, 233, 0.3);
    z-index: 10 !important;
}

/* Pantalla izquierda - Ratio 16:9 */
.screen-left {
    width: 320px;
    height: 200px; /* Más apaisado */
    left: -40px;
    top: 50%;
    transform: translateY(-50%) rotate(-8deg) scale(0.9);
    z-index: 1;
}

/* Pantalla central (principal) - Ratio 16:9 */
.screen-center {
    width: 400px;
    height: 250px; /* Un poco más pequeña */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    box-shadow: 0 30px 80px rgba(14, 165, 233, 0.25);
    border: 1px solid rgba(125, 211, 252, 0.4);
}

/* Pantalla derecha - Ratio 16:9 */
.screen-right {
    width: 320px;
    height: 200px; /* Más apaisado */
    right: -40px;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(8deg) scale(0.9);
    z-index: 2;
}

.screen-header {
    display: flex;
    gap: 6px;
    padding: 12px;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.screen-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.screen-dot:nth-child(1) {
    background: #ef4444;
}

.screen-dot:nth-child(2) {
    background: #f59e0b;
}

.screen-dot:nth-child(3) {
    background: #10b981;
}

.screen-body {
    width: 100%;
    height: calc(100% - 38px); /* Ajuste preciso para el header */
    overflow: hidden;
    background: #f8fafc;
    padding: 0;
    position: relative;
}

.screen-body img {
    width: 100%;
    height: 100%;
    object-fit: fill; /* Forzar ajuste completo */
    display: block;
}

.screen-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bar {
    height: 20px;
    background: linear-gradient(90deg, #0ea5e9, #0284c7);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: barShimmer 2s infinite;
}

@keyframes barShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.flight-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.flight-item {
    height: 36px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.report-chart {
    height: 100px;
    background: linear-gradient(to top, #0ea5e9 0%, rgba(14, 165, 233, 0.1) 100%);
    border-radius: 10px;
    opacity: 0.4;
    position: relative;
}

.report-chart::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(14, 165, 233, 0.3), transparent);
    border-radius: 10px;
}

.mockup-caption {
    display: none;
}

/* === PESTA�AS (Derecha) === */
.tabs-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.tabs-header {
    margin-bottom: 30px;
}

.tabs-label {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 15px;
    font-weight: 600;
}

.tabs-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.tab-btn {
    background: #f1f5f9;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 16px 12px;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.4;
}

.tab-btn:hover {
    background: #e0f2fe;
    border-color: #0066CC;
}

.tab-btn.active {
    background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
    color: white;
    border-color: #0066CC;
}

.tab-btn strong {
    display: block;
    font-size: 15px;
}

/* Contenido de pesta�as */
.tabs-content {
    position: relative;
    min-height: 250px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.feature-list li:last-child {
    border-bottom: none;
}

/* Footer */
.para-quien-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

.footer-message {
    font-size: 20px;
    color: #1e293b;
    line-height: 1.5;
}

.footer-message strong {
    color: #0066CC;
}

.highlight-word {
    color: #0066CC;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .para-quien-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mockup-display {
        height: 350px;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden; /* Prevent horizontal scroll from rotated elements */
    }
    
    /* Adjust screens for tablet */
    .screen-center {
        width: 340px;
        height: 220px;
    }
    
    .screen-left, .screen-right {
        width: 260px;
        height: 170px;
        z-index: 1;
    }
    
    .screen-left { left: 5%; }
    .screen-right { right: 5%; }
}

@media (max-width: 768px) {
    .para-quien-section {
        padding: 40px 0;
        overflow-x: hidden;
    }
    
    .para-quien-title {
        font-size: 26px;
    }
    
    .tabs-buttons {
        grid-template-columns: 1fr;
    }
    
    .mockup-display {
        height: 300px;
        transform: none; /* Remove translation */
        width: 100%;
    }
    
    /* Mobile optimization for screens */
    .screen-center {
        width: 280px;
        height: 180px;
        position: relative;
        left: auto;
        top: auto;
        transform: none !important;
        margin: 0 auto;
        box-shadow: 0 10px 30px rgba(14, 165, 233, 0.2);
    }
    
    /* Hide side screens on very small devices to avoid clutter/cut-off */
    .screen-left, .screen-right {
        display: none;
    }
    
    .footer-message {
        font-size: 18px;
        padding: 0 15px;
    }
}

/* ===== SECCIÓN FUNCIONALIDADES CON GALERÍA ===== */

.funcionalidades-galeria-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 50px 0;
}

.funcionalidades-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.funcionalidades-header {
    text-align: center;
    margin-bottom: 40px;
}

.funcionalidades-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px 0;
}

.funcionalidades-subtitle {
    font-size: 16px;
    color: #0284c7;
    margin: 0;
}

.funcionalidades-subtitle strong {
    color: #0369a1;
    font-weight: 700;
}

/* Grid de Cards */
.funcionalidades-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

.funcionalidades-grid::-webkit-scrollbar {
    height: 8px;
}

.funcionalidades-grid::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.funcionalidades-grid::-webkit-scrollbar-thumb {
    background: #0284c7;
    border-radius: 10px;
}

.funcionalidades-grid::-webkit-scrollbar-thumb:hover {
    background: #0369a1;
}

/* Card Individual */
.funcionalidad-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    flex: 0 0 280px;
    min-width: 280px;
    border: 2px solid transparent;
}

.funcionalidad-card:hover {
    border-color: #0ea5e9;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

/* Imagen con overlay */
.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    cursor: pointer;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8fafc;
    transition: transform 0.3s ease;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 132, 199, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-image-wrapper:hover .card-overlay {
    opacity: 1;
}

.overlay-icon {
    font-size: 64px !important;
    color: white;
}

/* Contenido de la card */
.card-content {
    padding: 18px;
}

.card-badge {
    display: inline-block;
    background: rgba(14, 165, 233, 0.15);
    color: #0284c7;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.badge-maintenance {
    background: rgba(14, 165, 233, 0.15);
    color: #0284c7;
}

.badge-admin {
    background: rgba(14, 165, 233, 0.15);
    color: #0284c7;
}

.badge-instructor {
    background: rgba(14, 165, 233, 0.15);
    color: #0284c7;
}

.card-title {
    font-size: 17px;
    font-weight: 700;
    color: #0369a1;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.card-description {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Footer con botón */
.funcionalidades-footer {
    text-align: center;
    margin-top: 30px;
}

.btn-ver-mas {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}

.btn-ver-mas:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.4);
}

/* ===== MODAL LIGHTBOX ===== */

.modal-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.modal-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Botón cerrar */
.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #0ea5e9;
}

/* Navegación del modal */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 15px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 10001;
    backdrop-filter: blur(10px);
}

.modal-nav:hover {
    background: rgba(2, 132, 199, 0.8);
}

.modal-nav .material-icons {
    font-size: 48px !important;
}

.modal-prev {
    left: 30px;
}

.modal-next {
    right: 30px;
}

/* Contenedor del modal */
.modal-content-wrapper {
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-caption {
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 18px;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 1200px) {
    .funcionalidad-card {
        flex: 0 0 260px;
        min-width: 260px;
    }
}

@media (max-width: 768px) {
    .funcionalidades-galeria-section {
        padding: 40px 0;
    }
    
    .funcionalidades-title {
        font-size: 26px;
    }
    
    .funcionalidades-subtitle {
        font-size: 14px;
    }
    
    .funcionalidad-card {
        flex: 0 0 240px;
        min-width: 240px;
    }
    
    .card-image-wrapper {
        height: 150px;
    }
    
    .modal-nav {
        padding: 10px;
    }
    
    .modal-nav .material-icons {
        font-size: 32px !important;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
    
    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .funcionalidades-galeria-section {
        padding: 35px 0;
    }
    
    .funcionalidad-card {
        flex: 0 0 220px;
        min-width: 220px;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .card-title {
        font-size: 15px;
    }
    
    .card-description {
        font-size: 12px;
    }
    
    .funcionalidades-header {
        margin-bottom: 30px;
    }
    
    .funcionalidades-title {
        font-size: 24px;
    }
}

/* ===== SECCIÓN INNOVACIÓN ===== */

.innovacion-section {
    background: transparent;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    max-width: 100%;
}

.innovacion-block {
    padding: 50px 0;
}

.innovacion-ia {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    color: #1e293b;
}

.innovacion-dashboard {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #1e293b;
}

.innovacion-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    overflow-x: hidden;
    box-sizing: border-box;
}

.innovacion-container.reverse-layout {
    direction: rtl;
}

.innovacion-container.reverse-layout > * {
    direction: ltr;
}

/* Contenido de texto */
.innovacion-content {
    display: flex;
    gap: 20px;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.innovacion-icon {
    flex-shrink: 0;
}

.innovacion-icon .material-icons {
    font-size: 56px;
    color: #0ea5e9;
    background: rgba(14, 165, 233, 0.1);
    padding: 16px;
    border-radius: 16px;
}

.innovacion-text {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
}

.innovacion-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.2;
    color: #0369a1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.innovacion-description {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 25px 0;
    color: #64748b;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ===== VISUAL: Asistente IA ===== */

.ia-mockup {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chat-window {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.chat-header {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 600;
    font-size: 15px;
}

.chat-header .material-icons {
    font-size: 24px;
}

.chat-messages {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 200px;
    background: #f8fafc;
}

.message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-message {
    justify-content: flex-end;
}

.user-message p {
    background: #0ea5e9;
    color: white;
    padding: 10px 15px;
    border-radius: 15px 15px 4px 15px;
    margin: 0;
    max-width: 70%;
    font-size: 13px;
}

.bot-message {
    justify-content: flex-start;
}

.bot-icon {
    color: #0ea5e9;
    font-size: 24px;
    flex-shrink: 0;
}

.bot-message p {
    background: white;
    color: #1e293b;
    padding: 10px 15px;
    border-radius: 15px 15px 15px 4px;
    margin: 0;
    max-width: 70%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 13px;
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    gap: 6px;
    padding: 12px 18px;
    background: white;
    border-radius: 18px 18px 18px 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #94a3b8;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

/* Code snippet */
.code-snippet {
    background: #1e293b;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid #334155;
}

.code-header {
    background: #0f172a;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0ea5e9;
    font-size: 12px;
    font-weight: 600;
}

.code-header .material-icons {
    font-size: 18px;
}

.code-lines {
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #10b981;
}

.code-line {
    padding: 4px 0;
    opacity: 0;
    animation: codeAppear 0.5s ease forwards;
}

.code-line:nth-child(1) {
    animation-delay: 0.2s;
}

.code-line:nth-child(2) {
    animation-delay: 0.4s;
}

.code-line:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes codeAppear {
    to {
        opacity: 1;
    }
}

/* IA Examples */
.ia-examples {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
    max-width: 100%;
    box-sizing: border-box;
}

.example-query {
    background: rgba(14, 165, 233, 0.08);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(14, 165, 233, 0.15);
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.example-query:hover {
    background: rgba(14, 165, 233, 0.12);
    transform: translateX(5px);
    border-color: rgba(14, 165, 233, 0.3);
}

.query-icon {
    font-size: 24px;
    color: #0ea5e9;
    flex-shrink: 0;
}

.query-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.query-text strong {
    font-size: 14px;
    line-height: 1.4;
    color: #0369a1;
    word-wrap: break-word;
}

.query-text span {
    font-size: 12px;
    color: #64748b;
    word-wrap: break-word;
}

/* Responsive */
@media (max-width: 1024px) {
    .innovacion-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .innovacion-container.reverse-layout {
        direction: ltr;
    }

    .innovacion-content {
        flex-direction: column;
        text-align: center;
    }

    .screen-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .innovacion-block {
        padding: 40px 0;
    }

    .innovacion-title {
        font-size: 24px;
    }

    .innovacion-description {
        font-size: 14px;
    }

    .innovacion-icon .material-icons {
        font-size: 48px;
        padding: 12px;
    }

    .chat-messages {
        min-height: 180px;
    }

    /* Dashboard Administrativo móvil */
    .dashboard-admin-mockup {
        max-width: 100%;
        overflow: hidden;
    }

    .admin-screen {
        width: 100%;
        box-sizing: border-box;
    }

    .screen-header {
        padding: 12px 16px;
        font-size: 14px;
    }

    .screen-header .material-icons {
        font-size: 20px;
    }

    .screen-content {
        padding: 16px;
        gap: 12px;
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 12px;
        gap: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .stat-icon {
        font-size: 28px !important;
    }

    .stat-value {
        font-size: 20px;
    }

    .stat-label {
        font-size: 10px;
    }

    .chart-preview {
        padding: 16px;
    }

    .chart-bars {
        height: 100px;
        gap: 8px;
    }

    /* Example queries móvil */
    .ia-examples {
        gap: 12px;
        margin-top: 20px;
    }

    .example-query {
        padding: 12px;
        gap: 10px;
        flex-direction: row;
        align-items: flex-start;
    }

    .example-query .query-icon {
        font-size: 20px;
        flex-shrink: 0;
    }

    .example-query .query-text {
        font-size: 13px;
    }

    .example-query strong {
        font-size: 14px;
    }

    .example-query span {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .innovacion-title {
        font-size: 20px;
    }

    .innovacion-description {
        font-size: 13px;
    }

    .screen-content {
        padding: 12px;
        gap: 10px;
    }

    .stat-card {
        padding: 10px;
        gap: 8px;
        flex-direction: column;
        text-align: center;
    }

    .stat-icon {
        font-size: 24px !important;
    }

    .stat-value {
        font-size: 18px;
    }

    .stat-label {
        font-size: 9px;
    }

    .chart-preview {
        padding: 12px;
    }

    .chart-bars {
        height: 80px;
        gap: 6px;
    }

    .example-query {
        padding: 10px;
        gap: 8px;
    }

    .example-query .query-icon {
        font-size: 18px;
    }

    .example-query strong {
        font-size: 13px;
    }

    .example-query span {
        font-size: 11px;
    }
}

/* ===== VISUAL: Dashboard Administrativo ===== */

.dashboard-admin-mockup {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.admin-screen {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    max-width: 100%;
    box-sizing: border-box;
}

.screen-header {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 600;
    font-size: 15px;
}

.screen-header .material-icons {
    font-size: 24px;
}

.screen-content {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    background: #f8fafc;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-icon {
    font-size: 32px !important;
    color: #0ea5e9;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #0369a1;
}

.stat-label {
    font-size: 11px;
    color: #64748b;
}

.chart-preview {
    padding: 20px;
    background: white;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 120px;
    gap: 10px;
}

.chart-bars .bar {
    flex: 1;
    background: linear-gradient(180deg, #0ea5e9 0%, #0284c7 100%);
    border-radius: 6px 6px 0 0;
    min-height: 40px;
    animation: growBar 0.8s ease forwards;
    opacity: 0;
}

.chart-bars .bar:nth-child(1) {
    animation-delay: 0.1s;
}

.chart-bars .bar:nth-child(2) {
    animation-delay: 0.2s;
}

.chart-bars .bar:nth-child(3) {
    animation-delay: 0.3s;
}

.chart-bars .bar:nth-child(4) {
    animation-delay: 0.4s;
}

.chart-bars .bar:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes growBar {
    from {
        opacity: 0;
        transform: scaleY(0);
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* ===== SECCIÓN TESTIMONIOS ===== */

.testimonios-section {
    background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 80px 0;
    position: relative;
}

/* Decoración de fondo (opcional) */
.testimonios-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(3, 105, 161, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.testimonios-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.testimonios-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonios-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.testimonios-title {
    font-size: 42px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 15px 0;
}

.testimonios-subtitle {
    font-size: 18px;
    color: #64748b;
    margin: 0;
}

.testimonios-subtitle strong {
    color: #0284c7;
    font-weight: 700;
}

/* Grid de testimonios */
.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

/* Card individual */
.testimonio-card {
    background: transparent;
    border-radius: 24px;
    padding: 0;
    box-shadow: 
        0 10px 40px rgba(2, 132, 199, 0.12),
        0 0 0 1px rgba(2, 132, 199, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonio-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 60px rgba(2, 132, 199, 0.2),
        0 0 0 1px rgba(2, 132, 199, 0.2);
}

.testimonio-imagen-completa {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 24px;
}

/* Header del testimonio */
.testimonio-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0f2fe;
}

.testimonio-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0ea5e9;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.testimonio-info {
    flex: 1;
}

.testimonio-nombre {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 5px 0;
    letter-spacing: 0.5px;
}

.testimonio-usuario {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-style: italic;
}

.testimonio-stars {
    display: flex;
    gap: 4px;
}

.star {
    font-size: 24px;
    line-height: 1;
}

/* Contenido del testimonio */
.testimonio-content {
    position: relative;
}

.testimonio-texto {
    font-size: 17px;
    line-height: 1.7;
    color: #1e293b;
    margin: 0 0 15px 0;
    font-weight: 500;
    position: relative;
    padding-left: 20px;
}

.testimonio-texto::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 48px;
    color: #0ea5e9;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonio-cargo {
    font-size: 14px;
    color: #64748b;
    font-style: italic;
    margin: 0;
}

/* CTA Ultra Moderno al final */
.testimonios-cta-ultra {
    margin-top: 80px;
    padding: 0;
}

.cta-ultra-content {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
    border-radius: 24px;
    border: 1px solid rgba(125, 211, 252, 0.3);
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.15);
    position: relative;
    overflow: hidden;
}

.cta-ultra-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.cta-ultra-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 100%);
    color: #0c4a6e;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(125, 211, 252, 0.4);
}

.cta-ultra-badge .material-icons {
    font-size: 18px;
}

.cta-ultra-title {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.cta-ultra-subtitle {
    font-size: 18px;
    color: #475569;
    margin: 0 auto 32px auto;
    max-width: 700px;
    line-height: 1.6;
}

.cta-ultra-subtitle strong {
    color: #0ea5e9;
    font-weight: 700;
}

.btn-cta-large {
    font-size: 18px;
    padding: 18px 48px;
    margin-bottom: 20px;
}

.btn-cta-large .btn-ultra-content {
    gap: 12px;
}

.btn-cta-large i {
    font-size: 22px;
}

.cta-ultra-note {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .cta-ultra-content {
        padding: 40px 24px;
    }
    
    .cta-ultra-title {
        font-size: 28px;
    }
    
    .cta-ultra-subtitle {
        font-size: 16px;
    }
    
    .btn-cta-large {
        font-size: 16px;
        padding: 16px 32px;
    }
}

/* CTA Antiguo (mantener por compatibilidad) */
.testimonios-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(3, 105, 161, 0.1) 100%);
    border-radius: 20px;
    border: 2px dashed #0ea5e9;
}

.testimonios-cta p {
    font-size: 22px;
    color: #0f172a;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.btn-testimonios {
    display: inline-block;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.btn-testimonios:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.5);
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonio-card {
    animation: fadeInUp 0.6s ease forwards;
}

.testimonio-card:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonio-card:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonio-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Responsive */
@media (max-width: 1200px) {
    .testimonios-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .testimonios-section {
        padding: 60px 0;
    }
    
    .testimonios-title {
        font-size: 32px;
    }
    
    .testimonios-subtitle {
        font-size: 16px;
    }
    
    .testimonios-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .testimonio-card {
        padding: 25px;
    }
    
    .testimonio-header {
        flex-wrap: wrap;
    }
    
    .testimonio-stars {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    
    .star {
        font-size: 20px;
    }
    
    .testimonios-cta p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .testimonio-avatar {
        width: 60px;
        height: 60px;
    }
    
    .testimonio-nombre {
        font-size: 16px;
    }
    
    .testimonio-texto {
        font-size: 15px;
    }
}

/* ===== SECCIÓN NOVEDADES/RECONOCIMIENTOS ===== */

.novedades-section {
    background: #ffffff;
    padding: 0;
    position: relative;
    width: 100%;
}

.novedades-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Badge superior */
.novedades-badge-wrapper {
    margin-bottom: 20px;
}

.novedades-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.novedades-badge .material-icons {
    font-size: 16px;
}

/* Contenido principal full width */
.novedades-content {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 0;
    align-items: center; /* Alineado al centro para no deformar */
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

/* Imagen a la izquierda */
.novedades-imagen {
    position: relative;
    height: 400px; /* Altura controlada */
    width: 100%;
    overflow: hidden;
}

.noticia-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.novedades-imagen:hover .noticia-img {
    transform: scale(1.05);
}

.imagen-overlay {
    position: absolute;
    top: 30px;
    left: 30px;
}

.overlay-tag {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(5px);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contenido de texto a la derecha */
.novedades-texto {
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    background: #f8fafc;
}

/* Header de la noticia */
.noticia-header {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.noticia-categoria {
    color: #0ea5e9;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.noticia-fecha {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
}

/* Título */
.noticia-titulo {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Lead (destacado) */
.noticia-lead {
    padding-left: 15px;
    border-left: 3px solid #0ea5e9;
    margin: 10px 0;
}

.noticia-lead p {
    font-size: 18px;
    line-height: 1.6;
    color: #334155;
    margin: 0;
    font-weight: 500;
}

/* Cuerpo de la noticia */
.noticia-cuerpo {
    margin-bottom: 20px;
}

.noticia-cuerpo p {
    font-size: 16px;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

/* CTA Integrado */
.testimonios-cta-ultra-integrated {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.cta-ultra-content-integrated {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cta-ultra-title-integrated {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.cta-ultra-subtitle-integrated {
    color: #64748b;
    margin: 0;
    font-size: 15px;
}

.cta-actions-integrated {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.btn-cta-integrated {
    padding: 12px 28px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-cta-integrated:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
}

.cta-features-integrated {
    display: flex;
    gap: 20px;
}

.cta-features-integrated span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.cta-features-integrated i {
    color: #22c55e;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    .novedades-content {
        grid-template-columns: 1fr;
        min-height: auto; /* Allow height to adjust */
    }
    
    .novedades-imagen {
        height: 350px; /* Definitive height for tablet/mobile */
        min-height: 0;
    }

    .noticia-img {
        min-height: 100%;
        object-position: center top;
    }
    
    .novedades-texto {
        padding: 50px 40px;
    }

    .noticia-titulo {
        font-size: 26px;
    }
}

@media (max-width: 600px) {
    .novedades-texto {
        padding: 40px 20px;
    }

    .novedades-imagen {
        height: 250px; /* Smaller for mobile */
    }

    .noticia-titulo {
        font-size: 24px;
    }

    .cta-actions-integrated {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
    }
    
    .btn-cta-integrated {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile Image Optimizations */
@media (max-width: 768px) {
    img {
        max-width: 100%;
        height: auto;
    }
    
    .container, .novedades-container, .testimonios-container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
    }
    
    .novedades-section {
        overflow: hidden; /* Ensure content stays inside */
    }
}
