/* Reset y Variables */
:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary-color: #f59e0b;
    --accent-color: #ef4444;
    --dark-color: #111827;
    --light-color: #f8fafc;
    --text-color: #111827;
    --text-light: #374151;
    --text-muted: #6b7280;
    --text-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --white: #ffffff;
    --black: #000000;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h2 {
    color: var(--primary-color);
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-description,
h2.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

p {
    color: var(--text-color);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn.primary {
    background: var(--secondary-color);
    color: var(--text-white);
    box-shadow: var(--shadow);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn.secondary {
    background: var(--primary-color);
    color: var(--text-white);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.btn.secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn.full-width {
    width: 100%;
    justify-content: center;
}

/* NIS2 Banner - Always bottom positioned */
.nis2-banner {
    background: var(--gradient);
    color: white;
    padding: 16px;
    position: fixed;
    bottom: 90px; /* Above scroll-to-top */
    right: 30px;
    width: 380px;
    max-width: calc(100vw - 60px);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    font-size: 0.9rem;
}

.nis2-banner.show {
    transform: translateX(0);
}

.nis2-banner.minimized {
    transform: translateX(calc(100% - 50px));
    cursor: pointer;
    padding: 12px;
}

.nis2-banner.minimized .banner-content {
    opacity: 0.8;
}

.nis2-banner.minimized:hover {
    transform: translateX(calc(100% - 100px));
}

.nis2-banner.minimized:hover .banner-content {
    opacity: 1;
}

.nis2-banner.minimized .banner-btn {
    pointer-events: none;
}

.nis2-banner.minimized .banner-text {
    display: none;
}

/* Minimized state indicator */
.nis2-banner.minimized::before {
    content: "◀ NIS2";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: white;
    pointer-events: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

/* Mobile adjustments for NIS2 banner */
@media (max-width: 992px) {
    .nis2-banner {
        bottom: 80px;
        right: 15px;
        width: 260px;
        max-width: calc(100vw - 30px);
        padding: 10px;
        font-size: 0.8rem;
    }
    
    /* On mobile, when closed, hide completely */
    .nis2-banner:not(.show):not(.minimized) {
        display: none !important;
    }
    
    .banner-text {
        font-size: 0.8rem;
        gap: 3px;
        line-height: 1.2;
    }
    
    .banner-text .banner-shield-logo {
        width: 1.3rem;
        height: 1.3rem;
    }
    
    .banner-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .banner-close {
        width: 22px;
        height: 22px;
        top: 4px;
        right: 4px;
        font-size: 0.85rem;
    }
}

.banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    position: relative;
}

.banner-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.3;
}

.banner-text .banner-shield-logo {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}

/* Ajustes para desktop */
@media (min-width: 769px) {
    .banner-text {
        flex-direction: column;
        gap: 8px;
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .banner-text i {
        font-size: 1.2rem;
    }
    
    .banner-text .banner-shield-logo {
        width: 2.5rem;
        height: 2.5rem;
    }
}

.banner-btn {
    background: white;
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    margin-top: 4px;
}

.banner-btn:hover {
    transform: scale(1.05);
}

.banner-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white !important;
    font-size: 1rem;
    cursor: pointer;
    padding: 4px;
    opacity: 0.9;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-close i {
    color: white !important;
}

.banner-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    color: white !important;
}

/* Force banner close icon to be white */
.banner-close i,
.banner-close i::before {
    color: white !important;
}

.banner-close:hover i,
.banner-close:hover i::before {
    color: white !important;
}

.banner-close:hover i {
    color: white !important;
}

/* Emergency Banner - Posición inferior como NIS2 */
.emergency-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    transform: translateX(-100%);
    z-index: 995;
    background: var(--accent-color);
    color: white;
    width: 320px;
    max-width: calc(100vw - 40px);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    display: none;
}

/* Hide emergency banner when NIS2 banner is visible */
.nis2-banner.show ~ .emergency-banner,
body:has(.nis2-banner.show) .emergency-banner {
    display: none !important;
}

/* Alternative: Adjust emergency banner position when NIS2 is visible */
@media (max-width: 768px) {
    .emergency-banner.with-nis2 {
        bottom: 220px; /* Position above NIS2 banner on mobile */
    }
}

@media (min-width: 769px) {
    .emergency-banner.with-nis2 {
        bottom: 20px;
        left: 20px;
        right: auto;
        /* Keep normal position on desktop since NIS2 is on the right */
    }
}

.emergency-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    position: relative;
}

.emergency-banner-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.emergency-banner-header i {
    font-size: 2rem;
    color: #ffeb3b;
    animation: pulse-warning 2s infinite;
}

.emergency-text {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
}

.emergency-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.emergency-phone-btn,
.emergency-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.emergency-phone-btn {
    background: var(--white);
    color: var(--accent-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 0;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.emergency-phone-btn:hover {
    background: var(--light-color);
    transform: scale(1.1);
}

.emergency-contact-btn {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    flex: 1;
}

.emergency-contact-btn:hover {
    background: var(--white);
    color: var(--accent-color);
    transform: scale(1.02);
}

.emergency-banner-close {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.emergency-banner-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.3);
}

/* Animation for the warning icon */
@keyframes pulse-warning {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .emergency-banner {
        width: 280px;
        padding: 1.2rem;
        bottom: 20px;
        left: 20px;
    }
    
    .emergency-banner-header i {
        font-size: 1.5rem;
    }
    
    .emergency-text {
        font-size: 0.85rem;
    }
    
    .emergency-buttons {
        gap: 0.75rem;
    }
    
    .emergency-phone-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .emergency-contact-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* Small screens adjustments */
@media (max-width: 600px) {
    .emergency-banner {
        width: 200px;
        padding: 1rem;
    }
    
    .emergency-text {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .emergency-contact-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Very small screens adjustments */
@media (max-width: 480px) {
    .emergency-banner {
        width: 140px;
        left: 10px;
        bottom: 10px;
        padding: 0.8rem;
    }
    
    .emergency-text {
        font-size: 0.75rem;
        line-height: 1.2;
        font-weight: 600;
    }
    
    .emergency-text::before {
        content: "Incidencias";
        font-weight: 700;
    }
    
    .emergency-text::after {
        content: "";
    }
    
    /* Hide original text on very small screens */
    .emergency-text {
        font-size: 0;
    }
    
    .emergency-text::before {
        font-size: 0.75rem;
    }
    
    .emergency-contact-btn {
        display: none;
    }
    
    .emergency-buttons {
        justify-content: center;
        width: auto;
        margin-top: 0.3rem;
    }
    
    .emergency-banner-header {
        flex-direction: column;
        gap: 0.3rem;
        margin-bottom: 0;
        align-items: center;
    }
    
    .emergency-banner-header i {
        font-size: 1.1rem;
    }
    
    .emergency-banner-content {
        gap: 0.3rem;
    }
    
    .emergency-buttons {
        gap: 0.5rem;
    }
    
    .emergency-phone-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .emergency-contact-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    color: var(--text-color);
}

.navbar.scrolled {
    background: var(--gradient);
    backdrop-filter: none;
}

/* Clase especial cuando se está en la parte superior del hero (tanto móvil como desktop) */
.navbar.hero-scrolled {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Override para desktop */
@media (min-width: 769px) {
    .navbar.hero-scrolled {
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(15px);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    }
}

/* Navbar para páginas interiores - siempre blanco */
.navbar.interior-page {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Banner active solo en móvil */
@media (max-width: 768px) {
    .navbar.banner-active {
        background: var(--gradient);
        backdrop-filter: none;
        top: 56px;
    }
    
    /* En móvil, mantener el fondo blanco en páginas interiores incluso con banner */
    .navbar.interior-page.banner-active {
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px) !important;
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark-color);
    text-decoration: none;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.logo-text {
    color: var(--primary-color);
}

/* Logo blanco solo cuando el navbar está scrolled o hero-scrolled */
.navbar.scrolled .nav-logo,
.navbar.hero-scrolled .nav-logo {
    color: var(--white);
}

.navbar.scrolled .nav-logo a,
.navbar.hero-scrolled .nav-logo a {
    color: var(--white);
}

.navbar.scrolled .logo-text,
.navbar.hero-scrolled .logo-text {
    color: var(--white);
}

@media (max-width: 768px) {
    .navbar.banner-active .nav-logo {
        color: var(--white);
    }
    
    .navbar.banner-active .nav-logo a {
        color: var(--white);
    }
    
    .navbar.banner-active .logo-text {
        color: var(--white);
    }
}

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

/* Logo blanco cuando está scrolled o hero-scrolled */
.navbar.scrolled .logo-img,
.navbar.hero-scrolled .logo-img {
    content: url('../images/ACIBIN Escudo Blanco.png');
}

@media (max-width: 768px) {
    .navbar.banner-active .logo-img {
        content: url('../images/ACIBIN Escudo Blanco.png');
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

/* Enlaces blancos cuando está scrolled o hero-scrolled */
.navbar.scrolled .nav-link,
.navbar.hero-scrolled .nav-link {
    color: var(--white);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active,
.navbar.hero-scrolled .nav-link:hover,
.navbar.hero-scrolled .nav-link.active {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .navbar.banner-active .nav-link {
        color: var(--white);
    }
    
    .navbar.banner-active .nav-link:hover,
    .navbar.banner-active .nav-link.active {
        color: var(--secondary-color);
    }
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Subrayado amarillo cuando está scrolled o hero-scrolled */
.navbar.scrolled .nav-link::after,
.navbar.hero-scrolled .nav-link::after {
    background: var(--secondary-color);
}

@media (max-width: 768px) {
    .navbar.banner-active .nav-link::after {
        background: var(--secondary-color);
    }
}

.nav-link.nis2-nav {
    background: var(--gradient);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
}

.nav-link.nis2-nav::after {
    display: none;
}

.nav-link.contact-nav {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 6px;
}

.nav-link.contact-nav::after {
    display: none;
}

.nav-link.contact-nav:hover {
    background: var(--secondary-color);
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hamburger blanco cuando está scrolled o hero-scrolled */
.navbar.scrolled .hamburger span,
.navbar.hero-scrolled .hamburger span {
    background: var(--white);
}

@media (max-width: 768px) {
    .navbar.banner-active .hamburger span {
        background: var(--white);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient);
    color: var(--text-white);
    overflow: hidden;
}

/* Hero sin video - para páginas interiores */
.hero-no-video {
    height: 70vh; /* Aumentamos la altura para compensar el padding */
    padding-top: 80px; /* Espacio para el navbar fijo */
    display: flex;
    align-items: center;
    position: relative;
    background: var(--primary-color);
    /* Preparado para imagen de fondo */
    /* background-image: url('path/to/your/image.jpg'); */
    /* background-size: cover; */
    /* background-position: center; */
    /* background-repeat: no-referrer; */
    color: var(--text-white);
    overflow: hidden;
    box-sizing: border-box; /* Asegurar que el padding se incluya en la altura */
}

.hero-no-video .hero-overlay {
    background: rgba(30, 64, 175, 0.2); /* Overlay más sutil */
}

/* Ajustes para móviles del hero-no-video */
@media (max-width: 768px) {
    .hero-no-video {
        height: 65vh; /* Altura ligeramente menor en móviles */
        padding-top: 70px; /* Padding menor para móviles */
    }
}

@media (max-width: 480px) {
    .hero-no-video {
        height: 60vh; /* Altura aún menor en pantallas muy pequeñas */
        padding-top: 65px; /* Padding aún menor */
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 64, 175, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-white);
}

.hero-title .highlight {
    color: var(--secondary-color);
    position: relative;
}

.hero-description,
h2.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    color: var(--text-white);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* Sections */
.section {
    padding: 3rem 0;
}

.section.about {
    padding: 2rem 0;
}

.section:nth-child(even) {
    background: var(--light-color);
}

/* Services Section */
.services-container {
    margin-top: 3rem;
}

.services-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.services-bottom-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    max-width: 350px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card.centered {
    width: 100%;
    max-width: 350px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-card h2 {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 10px;
}

/* Cyber Decorations */
.cyber-decoration {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    opacity: 0.6;
}

.cyber-decoration.left {
    align-items: flex-end;
    padding-right: 2rem;
}

.cyber-decoration.right {
    align-items: flex-start;
    padding-left: 2rem;
}

.cyber-element {
    position: relative;
    width: 60px;
    height: 60px;
    background: rgba(30, 64, 175, 0.1);
    border: 2px solid rgba(30, 64, 175, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.cyber-element:hover {
    background: rgba(30, 64, 175, 0.2);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.pulse-effect {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Cyber Security Dynamic Effects */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.1), transparent);
    transition: all 0.8s ease;
    z-index: 1;
}

.service-card:hover::before {
    left: 100%;
}

.service-card.scanning::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: scanLine 2s infinite;
    z-index: 2;
}

@keyframes scanLine {
    0% { transform: translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(300px); opacity: 0; }
}

.service-icon.dynamic {
    position: relative;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark), var(--primary-color));
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.service-icon.dynamic::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color), var(--primary-color), var(--accent-color));
    background-size: 400% 400%;
    border-radius: 50%;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
    opacity: 0;
}

.service-card:hover .service-icon.dynamic::before {
    opacity: 1;
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.glitch-text {
    position: relative;
    color: var(--dark-color);
}

.service-card:hover .glitch-text {
    animation: glitch 0.3s ease-in-out;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

.security-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(30, 64, 175, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 64, 175, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.service-card:hover .security-grid {
    opacity: 1;
}

.matrix-effect {
    position: absolute;
    top: 0;
    right: 10px;
    width: 20px;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .matrix-effect {
    opacity: 0.3;
}

.matrix-line {
    position: absolute;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    font-size: 10px;
    line-height: 12px;
    animation: matrixFall 3s linear infinite;
}

@keyframes matrixFall {
    0% { transform: translateY(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(400px); opacity: 0; }
}

.vulnerability-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 12px;
    height: 12px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0;
    animation: vulnerabilityPulse 2s ease-in-out infinite;
}

.service-card:hover .vulnerability-indicator {
    opacity: 1;
}

@keyframes vulnerabilityPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.7);
    }
    50% { 
        transform: scale(1.2);
        box-shadow: 0 0 0 10px rgba(30, 64, 175, 0);
    }
}

.cyber-shield {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px solid rgba(30, 64, 175, 0.1);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.service-card:hover .cyber-shield {
    opacity: 1;
    animation: shieldRotate 4s linear infinite;
}

@keyframes shieldRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Scroll Reveal Effects */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.25, 0.25, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.25, 0.25, 1);
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.25, 0.25, 1);
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.25, 0.25, 1);
}

.scroll-reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

.scroll-reveal-fade {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.scroll-reveal-fade.revealed {
    opacity: 1;
}

.cyber-card.scroll-reveal {
    transform: translateY(80px) rotateX(20deg);
    transition: all 1s cubic-bezier(0.25, 0.25, 0.25, 1);
}

.cyber-card.scroll-reveal.revealed {
    transform: translateY(0) rotateX(0deg);
}

/* Staggered animation delays */
.cyber-card:nth-child(1) { transition-delay: 0s; }
.cyber-card:nth-child(2) { transition-delay: 0.2s; }
.cyber-card:nth-child(3) { transition-delay: 0.4s; }
.cyber-card:nth-child(4) { transition-delay: 0.6s; }

/* Progressive loading effect */
.progressive-load {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.6s ease-out;
}

.progressive-load.loaded {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Cyber scanning reveal effect */
.cyber-scan-reveal {
    position: relative;
    overflow: hidden;
}

.cyber-scan-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.3), transparent);
    transition: left 1.5s ease-out;
    z-index: 1;
}

.cyber-scan-reveal.scanning::before {
    left: 100%;
}

/* About Section */
.about {
    position: relative;
    overflow: hidden;
}

.about-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.about-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.about-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* About section content override */
.about .container {
    position: relative;
    z-index: 4;
}

.about .section-header {
    position: relative;
    z-index: 5;
}

.about .section-title {
    color: var(--text-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 700;
}

.about .section-description {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
    text-align: left;
    word-break: keep-all;
    hyphens: none;
}

.about-features {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-50px);
}

.feature.visible {
    opacity: 1;
    transform: translateX(0);
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.feature i {
    color: var(--text-white);
    font-size: 1.2rem;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* About Cards (New Design) */
.about-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    justify-items: center;
    position: relative;
    z-index: 4;
}

.about-card {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    max-width: 350px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-color: var(--secondary-color);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-white);
    font-size: 2rem;
    border: 3px solid var(--text-white);
    transition: all 0.3s ease;
}

.about-card:hover .advantage-icon {
    background: var(--text-white);
    color: var(--secondary-color);
    transform: scale(1.1);
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-white);
    font-weight: 600;
}

.about-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Cyber effects for about cards */
.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.2), transparent);
    transition: all 0.8s ease;
    z-index: 1;
}

.about-card:hover::before {
    left: 100%;
}

.about-card .security-grid {
    background-image: 
        linear-gradient(rgba(245, 158, 11, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 158, 11, 0.1) 1px, transparent 1px);
    background-size: 15px 15px;
}

.about-card:hover .security-grid {
    opacity: 1;
}

.about-card .vulnerability-indicator {
    background: var(--text-white);
}

.about-card .cyber-shield {
    border-color: rgba(245, 158, 11, 0.2);
}

.about-card.intro-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px -5px rgba(30, 64, 175, 0.3);
}

.about-card.intro-card:hover {
    box-shadow: 0 25px 50px -12px rgba(30, 64, 175, 0.4);
}

/* Partners Section */
.partners {
    background: var(--light-color);
}

.partners-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.partners-column,
.certifications-column {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.column-header {
    text-align: center;
    margin-bottom: 2rem;
}

.column-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.partners-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.certifications-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.partner-card {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100px;
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certification-card {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100px;
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-card:hover,
.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.partner-logo,
.certification-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.certification-logo img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo img,
.certification-card:hover .certification-logo img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Solutions Section */
.solutions {
    position: relative;
    overflow: hidden;
}

.solutions-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.solutions-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.solutions-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 250, 252, 0.7);
    z-index: 2;
}

.solutions .container {
    position: relative;
    z-index: 3;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.solution-image {
    height: 200px;
    overflow: hidden;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.solution-card:hover .solution-image img {
    transform: scale(1.05);
}

.solution-content {
    padding: 2rem;
}

.solution-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.solution-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.solution-btn {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.solution-btn:hover {
    color: var(--primary-dark);
}

/* Solution Videos */
.solution-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.solution-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.solution-card:hover .solution-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.solution-card:hover .solution-video {
    transform: scale(1.05);
}

/* Sector Icons */
.sector-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Automotive Sector Styles */
.automotive-card {
    border-left: 4px solid #dc2626;
}

.automotive-overlay {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.automotive-icon {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
}

.automotive-btn {
    color: #dc2626;
}

.automotive-btn:hover {
    color: #b91c1c;
}

/* Manufacturing Sector Styles */
.manufacturing-card {
    border-left: 4px solid #f59e0b;
}

.manufacturing-overlay {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.2) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.manufacturing-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.manufacturing-btn {
    color: #f59e0b;
}

.manufacturing-btn:hover {
    color: #d97706;
}

/* Renewable Energy Sector Styles */
.renewable-card {
    border-left: 4px solid #059669;
}

.renewable-overlay {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.renewable-icon {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
}

.renewable-btn {
    color: #059669;
}

.renewable-btn:hover {
    color: #047857;
}

/* Solutions Carousel Styles */
.solutions-carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto 0;
    overflow: hidden;
    border-radius: 16px;
}

.solutions-carousel {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
}

.solution-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
    visibility: hidden;
}

.solution-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 3;
    visibility: visible;
}

.solution-slide.prev {
    opacity: 0;
    transform: translateX(-100%);
    z-index: 2;
    visibility: hidden;
}

.solution-slide.next {
    opacity: 0;
    transform: translateX(100%);
    z-index: 2;
    visibility: hidden;
}

/* Enhanced Solution Card for Carousel */
.solutions-carousel .solution-card {
    width: 100%;
    height: 100%;
    min-height: 500px;
    max-width: none;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: row;
}

.solutions-carousel .solution-image {
    width: 45%;
    height: 100%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.solutions-carousel .solution-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.solutions-carousel .solution-content {
    padding: 2rem;
    width: 55%;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.solutions-carousel .solution-content h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--primary-color); /* Fallback for browsers that don't support background-clip */
}

.solutions-carousel .solution-content > p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Ensure solution buttons are clickable */
.solutions-carousel .solution-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid;
    position: relative;
    z-index: 10;
}

.solutions-carousel .automotive-btn {
    color: #dc2626;
    border-color: #dc2626;
    background: transparent;
}

.solutions-carousel .automotive-btn:hover {
    background: #dc2626;
    color: white;
}

.solutions-carousel .manufacturing-btn {
    color: #f59e0b;
    border-color: #f59e0b;
    background: transparent;
}

.solutions-carousel .manufacturing-btn:hover {
    background: #f59e0b;
    color: white;
}

.solutions-carousel .renewable-btn {
    color: #059669;
    border-color: #059669;
    background: transparent;
}

.solutions-carousel .renewable-btn:hover {
    background: #059669;
    color: white;
}

/* Solution Details (Expanded Content) */
.solution-details {
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    flex: 1;
    overflow-y: auto;
}

.solution-features {
    margin-bottom: 1.5rem;
}

.solution-features h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.solution-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-features li {
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.8rem;
}

/* Success Cases */
.success-case {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), rgba(30, 58, 138, 0.1));
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.success-case h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.case-content h5 {
    color: var(--dark-color);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.case-content p {
    margin-bottom: 0.75rem;
    line-height: 1.5;
    font-size: 0.85rem;
}

.case-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.result-item {
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.result-number {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.result-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.2;
}

/* Carousel Navigation */
.carousel-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding: 1rem;
}

.carousel-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.carousel-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 64, 175, 0.4);
}

.carousel-btn:active {
    transform: translateY(0);
}

.carousel-btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(30, 64, 175, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
    position: relative;
    overflow: hidden;
}

.indicator.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: indicatorProgress 6s linear infinite;
}

.indicator:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

@keyframes indicatorProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Pause animation when user has interacted */
.carousel-paused .indicator.active::after {
    animation-play-state: paused;
}

/* Responsive Design for Carousel */
@media (max-width: 768px) {
    .solutions-carousel-container {
        margin: 2rem 1rem 0;
        max-width: none;
    }
    
    .solutions-carousel {
        min-height: 600px;
    }
    
    .solutions-carousel .solution-card {
        min-height: 600px;
        flex-direction: column;
    }
    
    .solutions-carousel .solution-image {
        width: 100%;
        height: 200px;
        flex-shrink: 0;
    }
    
    .solutions-carousel .solution-content {
        width: 100%;
        padding: 1.5rem;
        height: calc(100% - 200px);
    }
    
    .solutions-carousel .solution-content h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .case-results {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .result-item {
        padding: 0.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .result-number {
        font-size: 1.1rem;
    }
    
    .result-label {
        font-size: 0.8rem;
        margin-left: 1rem;
    }
    
    .carousel-navigation {
        gap: 1rem;
        margin-top: 1rem;
        padding: 0.5rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .solution-features li {
        font-size: 0.85rem;
    }
    
    .solution-details {
        margin: 1rem 0;
        padding: 0.75rem 0;
    }
}

@media (max-width: 480px) {
    .solutions-carousel {
        min-height: 650px;
    }
    
    .solutions-carousel .solution-card {
        min-height: 650px;
    }
    
    .solutions-carousel .solution-content {
        padding: 1rem;
    }
    
    .solutions-carousel .solution-content h3 {
        font-size: 1.3rem;
    }
    
    .solution-details {
        margin: 0.75rem 0;
        padding: 0.5rem 0;
    }
    
    .success-case {
        padding: 0.75rem;
        margin-top: 0.75rem;
    }
    
    .case-content h5 {
        font-size: 0.9rem;
    }
    
    .case-content p {
        font-size: 0.8rem;
    }
    
    .solution-features h4 {
        font-size: 0.95rem;
    }
    
    .case-results {
        gap: 0.4rem;
    }
}

/* Blog Section */
.blog-preview {
    background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
    position: relative;
}

.blog-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.05);
    pointer-events: none;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Blog Loading Indicator */
.blog-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.blog-loading p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Blog Preview Placeholder */
.blog-preview-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-style: italic;
    opacity: 0.8;
}

/* Contact Section */
.contact {
    background: var(--white);
    color: var(--text-color);
}

.contact .section-title {
    color: var(--text-white) !important;
}

/* Contact Header (for contact page) */
.contact-header {
    background: var(--gradient);
    color: var(--text-white);
    padding: 8rem 0 4rem;
    margin-top: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/cyber-pattern.svg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.contact-header-content {
    position: relative;
    z-index: 2;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    background: #1a365d;
    padding: 3rem;
    border-radius: 12px;
}

/* Página de contacto específica con fondo claro */
.contact-content.contact-page-section {
    background: #f8fafc;
    display: block;
    padding: 4rem 2rem;
}

/* Hacer la página de contacto más ancha y centrada */
.contact-content.contact-page-section .container {
    max-width: 1400px;
    padding: 0 40px;
}

.contact-content.contact-page-section .contact-grid {
    gap: 6rem;
}

.contact-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.7;
    color: var(--text-white) !important;
}

/* For contact page specific description */
.contact-header .contact-description {
    font-size: 1.25rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-info {
    color: var(--text-white) !important;
}

/* Contact page specific info styling */
.contact-info.contact-page {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    height: fit-content;
    color: var(--text-color) !important;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
    opacity: 0.9;
    color: var(--text-white) !important;
}

.contact-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    width: 20px;
}

/* Contact Grid (for contact page layout) */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon i {
    font-size: 1.2rem;
    color: var(--white);
}

.method-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.method-info p {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.method-info p a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.method-info p a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.method-info small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Emergency Contact */
.emergency-contact {
    background: var(--accent-color);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}

.emergency-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.emergency-header i {
    font-size: 1.2rem;
}

.emergency-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--accent-color);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin: 1rem 0;
    transition: all 0.3s ease;
}

.emergency-btn:hover {
    background: var(--light-color);
}

/* Social Contact */
.social-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Contact FAQ */
.contact-faq {
    padding: 5rem 0;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--light-color);
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--text-color);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact CTA */
.contact-cta {
    padding: 4rem 0;
    background: var(--gradient);
    color: var(--text-white);
    text-align: center;
}

.contact-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Form Styles */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

/* Contact page specific form styling */
.contact-form.contact-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    backdrop-filter: none;
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.form-header p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Contact page specific form group */
.form-group.contact-page {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Contact page specific input styling */
.form-group.contact-page input,
.form-group.contact-page select,
.form-group.contact-page textarea {
    padding: 0.75rem;
    border-radius: 6px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.95);
}

.form-group select option {
    background: var(--dark-color);
    color: var(--text-white);
}

/* Checkbox styling */
.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: auto;
}

/* Form Messages */
.form-message {
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.form-message.success {
    background: #d1fae5;
    color: #047857;
    border: 1px solid #10b981;
}

.form-message.error {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #ef4444;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-description {
    color: var(--text-white);
    opacity: 1;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

/* Contact page specific social links */
.social-links.contact-page {
    flex-direction: column;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Contact page specific social link styling */
.social-links.contact-page .social-link {
    width: auto;
    height: auto;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--light-color);
    border-radius: 6px;
    color: var(--text-light);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.social-links.contact-page .social-link:hover {
    color: var(--white);
    transform: none;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.7;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text p {
    margin: 0;
    color: var(--text-color);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn.primary {
    background: var(--primary-color);
    color: var(--text-white);
}

.cookie-btn.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.cookie-btn:hover {
    transform: translateY(-2px);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: var(--white);
    max-width: 500px;
    width: 90%;
    border-radius: 12px;
    overflow: hidden;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h3 {
    margin: 0;
    color: var(--dark-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category h4 {
    margin: 0;
    color: var(--dark-color);
}

.cookie-category p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Switch Styles */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: var(--white);
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    background-color: var(--primary-color);
    opacity: 0.6;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: right 0.3s ease;
    }

    .nav-menu.show {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

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

    .hero-description,
    h2.hero-description {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .about-card {
        max-width: 100%;
        padding: 2rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .banner-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .banner-text {
        font-size: 0.9rem;
    }

    .services-bottom-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cyber-decoration {
        flex-direction: row;
        justify-content: center;
        padding: 1rem 0;
    }

    .cyber-decoration.left,
    .cyber-decoration.right {
        padding: 0;
    }

    .partners-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .partners-grid {
        gap: 1.5rem;
    }

    .certifications-grid {
        gap: 1.5rem;
    }

    .partner-card {
        height: 100px;
        padding: 1.5rem 1rem;
    }

    .partner-logo img {
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

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

    .section {
        padding: 3rem 0;
    }

    .services-row,
    .solutions-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .services-bottom-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cyber-decoration {
        display: none;
    }

    .service-card.centered {
        max-width: 100%;
    }

    .partners-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .partners-column,
    .certifications-column {
        padding: 1.5rem;
    }

    .partners-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .certifications-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .partner-card {
        height: 80px;
        width: 150px;
        padding: 1rem;
    }

    .certification-card {
        height: 80px;
        width: 150px;
        padding: 1rem;
    }

    .partner-logo img,
    .certification-logo img {
        max-height: 50px;
    }

    .cookie-modal-content {
        width: 95%;
    }
}

/* Loading States */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Animaciones de entrada */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Animación de texto dinámico */
.animated-text {
    overflow: hidden;
    min-height: 1.5em;
    text-align: justify;
    line-height: 1.6;
    font-size: 1.1em;
    letter-spacing: 0.3px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.animated-text .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 0.3em;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.animated-text .word.visible {
    opacity: 1;
    transform: translateY(0);
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.1);
}

.animated-text .word:last-child {
    margin-right: 0;
}

/* ==========================================
   NUEVAS PÁGINAS - ESTILOS ADICIONALES
   ========================================== */

/* Servicios Page */
.services-header {
    background: var(--gradient);
    color: var(--text-white);
    padding: 8rem 0 4rem;
    margin-top: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/cyber-pattern.svg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.services-header-content {
    position: relative;
    z-index: 2;
}

.services-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.services-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-content {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card.nis2-service {
    border: 2px solid var(--primary-color);
    position: relative;
}

.service-card.nis2-service::before {
    content: 'Destacado';
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.service-features i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.service-cta:hover {
    background: var(--primary-color);
    color: var(--white);
}

.services-cta {
    padding: 4rem 0;
    background: var(--white);
    color: var(--text-white);
    text-align: center;
}

.services-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.services-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* About Page */
.about-header {
    background: var(--gradient);
    color: var(--text-white);
    padding: 8rem 0 4rem;
    margin-top: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/cyber-pattern.svg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.about-header-content {
    position: relative;
    z-index: 2;
}

.about-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.about-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    word-break: keep-all;
    hyphens: none;
}

.mission-vision {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.mission-card,
.vision-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: var(--white);
}

.our-story {
    padding: 5rem 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.story-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.story-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.story-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* PYME Experience Section */
.pyme-experience {
    padding: 5rem 0;
}

.pyme-content {
    margin-top: 3rem;
}

.pyme-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 3rem 0;
    background: var(--gradient);
    border-radius: 16px;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pyme-features {
    margin-bottom: 4rem;
}

.pyme-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.pyme-text p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.pyme-sectors h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.sector-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.sector-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.sector-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.sector-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.values {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.team {
    padding: 5rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    justify-items: center;
}

.team-member {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    max-width: 400px;
    width: 100%;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.member-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-color) 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.team-member:hover .member-img {
    transform: scale(1.05);
}

.member-info {
    padding: 2.5rem 2rem;
    text-align: center;
}

.member-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.member-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.member-social .social-link {
    width: 45px;
    height: 45px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.member-social .social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.certifications {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cert-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.cert-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cert-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.cert-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.about-cta {
    padding: 4rem 0;
    background: var(--gradient);
    color: var(--text-white);
    text-align: center;
}

.about-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .services-title,
    .about-title,
    .contact-title {
        font-size: 2.5rem;
    }
    
    .services-grid,
    .values-grid,
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-form-container,
    .contact-info {
        padding: 2rem;
    }
}

/* ==========================================
   COLLISION ANIMATIONS FOR PARTNERS
   ========================================== */

/* Partners Content Layout */
.partners-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 400px;
    position: relative;
}

.partners-column {
    position: relative;
    z-index: 10;
}

.certifications-column {
    position: relative;
    z-index: 10;
}

.collision-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    position: relative;
    z-index: 200;
}

/* Security Lock Animation */
.security-lock {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    position: relative;
    transform: scale(0) rotate(-180deg);
    transition: all 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
    padding: 15px;
    z-index: 100;
}

.security-lock .acibin-shield {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: brightness(1.2) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    transform: scale(0);
}

.security-lock.visible {
    transform: scale(1) rotate(0deg);
    animation: dramaticSecurityPulse 2s ease-in-out infinite;
}

.security-lock.visible .acibin-shield {
    transform: scale(1);
    animation: intensiveShieldGlow 2s ease-in-out infinite;
}

.security-lock.hidden {
    opacity: 0;
    transform: scale(0) rotate(-180deg);
}

@keyframes dramaticSecurityPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3), 0 0 0 0 rgba(30, 64, 175, 0.4);
    }
    50% {
        transform: scale(1.15) rotate(2deg);
        box-shadow: 0 20px 50px rgba(30, 64, 175, 0.6), 0 0 0 20px rgba(30, 64, 175, 0.1);
    }
}

@keyframes intensiveShieldGlow {
    0%, 100% {
        filter: brightness(1.2) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
        transform: scale(1) rotate(0deg);
    }
    50% {
        filter: brightness(1.8) drop-shadow(0 6px 20px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 15px rgba(30, 64, 175, 0.8));
        transform: scale(1.1) rotate(-2deg);
    }
}

/* Security Waves Effect with proper z-index */
.security-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 3px solid rgba(30, 64, 175, 0.4);
    border-radius: 50%;
    opacity: 0;
    animation: intensiveSecurityWaves 2.5s ease-out infinite;
    z-index: 150;
    pointer-events: none;
}

.security-waves::before,
.security-waves::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid rgba(30, 64, 175, 0.3);
    border-radius: 50%;
    animation: intensiveSecurityWaves 2.5s ease-out infinite;
    z-index: 150;
}

.security-waves::before {
    width: 180px;
    height: 180px;
    animation-delay: 0.4s;
    border-color: rgba(245, 158, 11, 0.3);
}

.security-waves::after {
    width: 240px;
    height: 240px;
    animation-delay: 0.8s;
    border-color: rgba(30, 64, 175, 0.2);
}

@keyframes intensiveSecurityWaves {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.2);
        border-width: 4px;
    }
    30% {
        opacity: 0.8;
        border-width: 3px;
    }
    70% {
        opacity: 0.4;
        border-width: 2px;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2);
        border-width: 1px;
    }
}

/* Enhanced collision effect for columns */
.collision-element {
    transition: all 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.collision-element[data-collision="left"] {
    transform: translateX(-300px) rotateY(-15deg);
    opacity: 0;
}

.collision-element[data-collision="right"] {
    transform: translateX(300px) rotateY(15deg);
    opacity: 0;
}

.collision-element.revealed {
    transform: translateX(0) rotateY(0deg);
    opacity: 1;
}

/* More dramatic collision impact effect */
.collision-element.collision-impact {
    animation: dramaticCollisionShake 0.8s ease-out;
}

@keyframes dramaticCollisionShake {
    0% { transform: translateX(0) scale(1); }
    10% { transform: translateX(-15px) scale(1.02); }
    20% { transform: translateX(15px) scale(0.98); }
    30% { transform: translateX(-10px) scale(1.01); }
    40% { transform: translateX(10px) scale(0.99); }
    50% { transform: translateX(-8px) scale(1.02); }
    60% { transform: translateX(8px) scale(0.98); }
    70% { transform: translateX(-5px) scale(1.01); }
    80% { transform: translateX(5px) scale(0.99); }
    90% { transform: translateX(-2px) scale(1.005); }
    100% { transform: translateX(0) scale(1); }
}

/* Responsive Design for Collision Animation */
@media (max-width: 768px) {
    .partners-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .collision-center {
        order: 3;
        margin-top: 1rem;
    }
    
    .collision-element[data-collision="left"],
    .collision-element[data-collision="right"] {
        transform: translateY(-100px) scale(0.8);
        opacity: 0;
    }
    
    .collision-element.revealed {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    
    .collision-element.collision-impact {
        animation: mobileCollisionShake 0.8s ease-out;
    }
}

@keyframes mobileCollisionShake {
    0% { transform: translateY(0) scale(1); }
    10% { transform: translateY(-10px) scale(1.05); }
    20% { transform: translateY(10px) scale(0.95); }
    30% { transform: translateY(-8px) scale(1.03); }
    40% { transform: translateY(8px) scale(0.97); }
    50% { transform: translateY(-5px) scale(1.02); }
    60% { transform: translateY(5px) scale(0.98); }
    70% { transform: translateY(-3px) scale(1.01); }
    80% { transform: translateY(3px) scale(0.99); }
    90% { transform: translateY(-1px) scale(1.005); }
    100% { transform: translateY(0) scale(1); }
}

/* ======================================
   SCROLL ANIMATIONS
   ====================================== */

/* Base animation classes */
.fade-in,
.fade-in-left,
.fade-in-right,
.slide-up,
.scale-in {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.25, 0.25, 1);
}

/* Fade in animation */
.fade-in {
    transform: translateY(30px);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in from left */
.fade-in-left {
    transform: translateX(-50px);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right */
.fade-in-right {
    transform: translateX(50px);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide up animation */
.slide-up {
    transform: translateY(60px);
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scale in animation */
.scale-in {
    transform: scale(0.8);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animation delays for cards */
.solution-card:nth-child(1) { transition-delay: 0.1s; }
.solution-card:nth-child(2) { transition-delay: 0.2s; }
.solution-card:nth-child(3) { transition-delay: 0.3s; }
.solution-card:nth-child(4) { transition-delay: 0.4s; }

.blog-card:nth-child(1) { transition-delay: 0.15s; }
.blog-card:nth-child(2) { transition-delay: 0.3s; }
.blog-card:nth-child(3) { transition-delay: 0.45s; }

/* Enhanced solution cards animation */
.solution-card {
    transition: all 0.6s cubic-bezier(0.25, 0.25, 0.25, 1);
}

.solution-card.slide-up {
    transform: translateY(60px) scale(0.95);
}

.solution-card.slide-up.visible {
    transform: translateY(0) scale(1);
}

/* Enhanced blog cards animation */
.blog-card {
    transition: all 0.7s cubic-bezier(0.25, 0.25, 0.25, 1);
}

.blog-card.fade-in {
    transform: translateY(50px) rotateX(10deg);
}

.blog-card.fade-in.visible {
    transform: translateY(0) rotateX(0deg);
}

/* Cyber-themed animation for cards */
.cyber-reveal {
    position: relative;
    overflow: hidden;
}

.cyber-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(59, 130, 246, 0.3), 
        transparent
    );
    transition: left 1.2s ease-out;
    z-index: 1;
}

.cyber-reveal.visible::before {
    left: 100%;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .fade-in,
    .fade-in-left,
    .fade-in-right,
    .slide-up,
    .scale-in {
        transition-duration: 0.6s;
    }
    
    .solution-card:nth-child(1),
    .solution-card:nth-child(2),
    .solution-card:nth-child(3),
    .solution-card:nth-child(4) {
        transition-delay: 0.1s;
    }
    
    .blog-card:nth-child(1),
    .blog-card:nth-child(2),
    .blog-card:nth-child(3) {
        transition-delay: 0.15s;
    }

    /* Team responsive styles */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .team-member {
        max-width: 100%;
    }

    .member-image {
        height: 250px;
    }

    .member-info {
        padding: 2rem 1.5rem;
    }

    .member-info h3 {
        font-size: 1.4rem;
    }

    .member-role {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .member-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .team-grid {
        gap: 1.5rem;
    }

    .member-image {
        height: 220px;
    }

    .member-info {
        padding: 1.5rem 1rem;
    }

    .member-info h3 {
        font-size: 1.3rem;
    }

    .member-description {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .member-social .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    /* PYME Experience mobile styles */
    .pyme-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }

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

    .pyme-text h3 {
        font-size: 1.8rem;
    }

    .sectors-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .sector-item {
        padding: 0.75rem;
    }
}

    /* PYME Experience mobile styles */
    .pyme-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 2rem 1rem;
        margin-bottom: 3rem;
    }

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

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

    .feature-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-item {
        padding: 1.25rem;
    }

    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .sector-item {
        padding: 1rem 0.75rem;
    }

    .sector-item i {
        font-size: 1.5rem;
    }

    .sector-item span {
        font-size: 0.8rem;
    }

.nav-link.contact-nav {
    background: var(--secondary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
}

.nav-link.contact-nav::after {
    display: none;
}

.nav-link.contact-nav:hover {
    color: var(--primary-color) !important;
}

/* ===============================================
   ESTILOS ESPECÍFICOS PARA ACUMPLIA - PRODUCTOS
   =============================================== */

/* Sección Producto Destacado en Home */
.product-highlight {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.product-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23cbd5e1" stroke-width="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.product-badge i {
    animation: pulse 2s infinite;
}

.product-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.product-name {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.product-subtitle {
    color: var(--text-muted);
    font-size: 1.5rem;
    font-weight: 400;
    display: block;
    margin-top: 0.5rem;
}

.product-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.product-text .feature-item {
    margin-bottom: 0.75rem;
}

.product-text .feature-item:last-of-type {
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 10px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-icon i {
    color: white !important;
    font-size: 1.2rem;
}

.feature-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.feature-content h3.glitch-text {
    font-size: 1.4rem;
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.product-buttons {
    display: flex;
    gap: 1rem;
}

.product-visual {
    position: relative;
}

.dashboard-mockup {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
}

.mockup-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ef4444; }
.control.yellow { background: #f59e0b; }
.control.green { background: #10b981; }

.mockup-title {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

.mockup-content {
    padding: 1.5rem 1rem;
}

/* Estilos para los GIFs de demostración */
.app-demo-gif {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.app-demo-gif:last-child {
    margin-bottom: 0;
}

.demo-gif {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Carrusel de Capturas de Aplicación */
.app-carousel {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 5rem 0;
}

.app-carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    background: white;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.app-slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    padding: 3rem;
    gap: 3rem;
}

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

.slide-image {
    flex: 1;
    position: relative;
}

.app-screenshot {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.app-slide:hover .app-screenshot {
    transform: scale(1.02);
}

.slide-content {
    flex: 1;
    padding: 0 2rem;
}

.slide-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-content p {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.slide-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.slide-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: #2d3748;
}

.slide-features li i {
    color: #667eea;
    margin-right: 0.75rem;
    font-size: 1.1rem;
    min-width: 20px;
}

/* Controles del Carrusel */
.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.carousel-btn i {
    color: #667eea;
    font-size: 1.2rem;
}

/* Indicadores del Carrusel */
.carousel-indicators {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
    gap: 0.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #667eea;
    transform: scale(1.2);
}

.indicator:hover {
    background: #a0aec0;
}

/* Responsive Design para Carrusel */
@media (max-width: 1024px) {
    .app-slide {
        flex-direction: column !important;
        padding: 2rem;
        gap: 2rem;
        text-align: center;
    }
    
    .slide-content {
        padding: 0;
    }
    
    .slide-content h3 {
        font-size: 1.75rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .app-carousel {
        padding: 3rem 0;
    }
    
    .app-slide {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .carousel-controls {
        padding: 0 0.5rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn i {
        font-size: 1rem;
    }
    
    .slide-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .app-slide {
        padding: 1rem;
    }
    
    .slide-features {
        text-align: left;
    }
}

.compliance-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.compliance-chart {
    height: 100px;
    position: relative;
}

.chart-bars {
    display: flex;
    align-items: end;
    justify-content: space-between;
    height: 80px;
    gap: 0.5rem;
}

.chart-bar {
    background: var(--gradient);
    border-radius: 4px 4px 0 0;
    flex: 1;
    animation: chartGrow 1s ease-out;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

@keyframes chartGrow {
    from { height: 0; }
    to { height: 100%; }
}

/* Página de Productos - Hero */
.product-hero .hero-content {
    position: relative;
    z-index: 15;
}

.product-hero .hero-title {
    font-size: 4rem;
    position: relative;
    z-index: 15;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.product-hero .hero-description {
    position: relative;
    z-index: 15;
    color: white !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.product-hero .hero-buttons {
    position: relative;
    z-index: 15;
}

.acumplia-highlight {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 15;
}

/* Características Principales */
.product-features {
    background: white;
    padding: 100px 0;
}

.features-grid {
    display: grid;
    gap: 4rem;
}

.feature-card.main-feature {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card.main-feature:nth-child(even) {
    grid-template-columns: 1fr auto;
}

.feature-card.main-feature:nth-child(even) .feature-visual {
    order: 2;
}

.feature-card.main-feature:nth-child(even) .feature-content {
    order: 1;
}

.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    background: var(--gradient);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.feature-icon-large {
    font-size: 4rem;
    color: white;
    z-index: 2;
    position: relative;
}

.feature-icon-large.nis2-icon {
    animation: shield-pulse 2s infinite;
}

@keyframes shield-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.feature-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

.feature-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-light);
}

.feature-benefits li i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Casos de Uso */
.use-cases {
    background: var(--dark-color);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.use-cases-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.use-cases-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.use-cases-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.8) 0%, rgba(30, 58, 138, 0.9) 100%);
}

.white-text {
    color: white;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.use-case-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.use-case-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 16px;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.use-case-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.use-case-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.use-case-stats {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Funcionalidades - Tabs */
.product-functionality {
    background: #f8fafc;
    padding: 100px 0;
}

.functionality-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 2px solid var(--border-color);
    color: var(--text-color);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover, .tab-btn.active {
    background: var(--gradient);
    color: white;
    border-color: var(--primary-color);
}

.tabs-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tab-panel {
    display: none;
    padding: 3rem;
}

.tab-panel.active {
    display: block;
}

.tab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.tab-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.tab-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.functionality-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.functionality-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-light);
}

.functionality-list li i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Tab Visuals */
.tab-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.monitoring-dashboard, .compliance-checklist, .report-preview, .automation-flow {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    width: 100%;
    max-width: 350px;
}

.dashboard-header, .checklist-header, .report-header, .flow-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-header h4, .checklist-header h4, .report-header h4, .flow-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.status-online {
    color: #10b981;
    font-size: 0.8rem;
    font-weight: 600;
}

.progress {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
}

.monitor-item, .compliance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.provider {
    font-weight: 500;
    color: var(--text-color);
}

.status {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
}

.status.green { background: #dcfce7; color: #166534; }
.status.yellow { background: #fef3c7; color: #92400e; }
.status.red { background: #fee2e2; color: #991b1b; }

.compliance-item.completed i { color: #10b981; }
.compliance-item.pending i { color: #f59e0b; }

/* Report Preview Styles */
.report-charts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chart-label {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-color);
}

.progress-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color) 0deg 338deg, #e5e7eb 338deg 360deg);
    position: relative;
}

.progress-ring::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
}

.percentage {
    position: relative;
    z-index: 2;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.chart-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.metric {
    text-align: center;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.metric-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Automation Flow */
.flow-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.flow-step i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--text-muted);
    font-size: 1rem;
}

.flow-step.active i {
    background: var(--primary-color);
    color: white;
}

.flow-step.processing i {
    background: var(--secondary-color);
    color: white;
    animation: pulse 1s infinite;
}

.flow-step span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

.flow-arrow {
    color: var(--text-muted);
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.btn.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.benefit-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Responsive Design para Productos */
@media (max-width: 768px) {
    .product-highlight {
        padding: 60px 0;
    }

    .product-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-visual {
        order: -1;
    }

    .product-title {
        font-size: 2.5rem;
    }

    .product-subtitle {
        font-size: 1.2rem;
    }

    .product-text .feature-item {
        margin-bottom: 0.5rem;
    }

    .product-text .feature-item:last-of-type {
        margin-bottom: 1.25rem;
    }

    .feature-item {
        padding: 0.75rem;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .product-hero .hero-title {
        font-size: 2.8rem;
    }

    .feature-card.main-feature {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .feature-card.main-feature:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .feature-card.main-feature:nth-child(even) .feature-visual,
    .feature-card.main-feature:nth-child(even) .feature-content {
        order: unset;
    }

    .feature-visual {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .feature-icon-large {
        font-size: 3rem;
    }

    .feature-content h3 {
        font-size: 1.5rem;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .tabs-nav {
        flex-direction: column;
        align-items: center;
    }

    .tab-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tab-panel {
        padding: 2rem;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-benefits {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
