/* ==========================================================================
   1. VARIABLES GLOBALES Y RESET
   ========================================================================== */

   :root {
    /* Colores Principales (Paleta de Sistedigital) */
    --primary-color: #4361ee;
    --primary-light: #4895ef;
    --secondary-color: #3f37c9;
    --accent-color: #f72585;
    
    /* Escala de Grises y Texto */
    --dark-color: #14213d;
    --text-color: #2b2d42;
    --text-muted: #6c757d;
    --light-color: #f8f9fa;
    --white: #ffffff;
    
    /* Tipografía */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Efectos y Transiciones */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
    --box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    --box-shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.1);
    
    /* Espaciados */
    --section-padding: 6rem 0;
    --container-width: 1200px;
}

/* Reset Básico y Estilos Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

/* ==========================================================================
   2. TIPOGRAFÍA Y TÍTULOS
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

h1 { font-size: 3.5rem; font-weight: 800; letter-spacing: -1px; }
h2 { font-size: 2.75rem; }
h3 { font-size: 1.75rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.highlight {
    color: var(--primary-color);
}

.section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    line-height: 1.2;
    font-weight: 700;
}

.section-description {
    color: #2b2d42 !important; /* Mejor contraste para accesibilidad en todas las secciones */
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .section-description {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
}

/* ==========================================================================
   3. BOTONES
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--box-shadow-hover);
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    color: #14213d;
    border: 2px solid #14213d;
    box-shadow: none;
}

.btn-outline:hover {
    background-color: #14213d;
    color: #fff;
    border-color: #14213d;
}

.btn-lg {
    padding: 18px 45px;
    font-size: 1.1rem;
}

/* ==========================================================================
   4. SECCIÓN HERO
   ========================================================================== */

.hero {
    background: linear-gradient(135deg, #1a56db 0%, #1e40af 100%);
    color: #ffffff;
    padding: 2rem 0 6rem 0; /* Reducido aún más el padding superior a 2rem */
    position: relative;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero .subtitle {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.hero h1 .highlight {
    color: #fbbf24;
    position: relative;
    display: inline-block;
}

.hero p {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #e0f2fe;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #fbbf24;
    color: #1f2937;
}

.btn-primary:hover {
    background-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-outline {
    background-color: transparent;
    color: #14213d;
    border-color: #14213d;
}

.btn-outline:hover {
    background-color: #14213d;
    color: #fff;
    border-color: #14213d;
    transform: translateY(-2px);
}

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

/* Efectos decorativos */
.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjAzKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.4;
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 6rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
}

.hero {
    background-color: #f8f9ff;
    min-height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 8rem 0;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero .subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.hero h1 {
    font-size: 4rem; /* Aumentado para mayor impacto */
}

.hero p {
    font-size: 1.25rem;
    max-width: 750px;
    margin: 0 auto 2.5rem auto;
}

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

/* ==========================================================================
   4.5. SECCIÓN SOLUCIONES EMPRESARIALES
   ========================================================================== */

.enterprise-solutions {
    background-color: #f8faff;  /* Fondo azul claro para mejor contraste */
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.enterprise-solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSIjZmZmIiBvcGFjaXR5PSIwLjAzIi8+PHBhdGggZD0iTTAgMEgxMDBWMTBIMFYwWiIgZmlsbD0iI2Q1ZWRmYSIvPjwvc3ZnPg==') repeat;
    opacity: 0.3;
    z-index: 0;
}

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

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start; /* Alinea los items en la parte superior */
}

.solutions-content {
    padding: 2rem 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra verticalmente el contenido */
}

.software-prototype {
    perspective: 1500px;
    background: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(67, 97, 238, 0.1);
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    height: auto;
    max-height: 500px; /* Altura máxima reducida */
    overflow: hidden;
}

.prototype-container {
    height: 100%;
    max-height: 450px; /* Ajusta según sea necesario */
    display: flex;
    flex-direction: column;
}

.prototype-content {
    flex: 1;
    overflow-y: auto;
    min-height: 300px;
}

.prototype-main {
    padding: 1rem;
    height: 100%;
    overflow-y: auto;
}

.prototype-sidebar {
    width: 200px;
    background: #f8f9fa;
    border-right: 1px solid #e9ecef;
    padding: 1rem 0;
    overflow-y: auto;
    max-height: 100%;
}

.sidebar-item {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

.prototype-header {
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.chart-placeholder {
    height: 150px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.recent-activity {
    margin-top: 1.5rem;
}

@media (max-width: 992px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .solutions-content {
        padding: 0;
        text-align: center;
    }
    
    .software-prototype {
        max-height: none;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .enterprise-solutions {
        padding: 3rem 0;
    }
    
    .software-prototype {
        padding: 1rem;
    }
    
    .prototype-content {
        flex-direction: column;
    }
    
    .prototype-sidebar {
        width: 100%;
        max-height: 150px;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
}

/* ==========================================================================
   5. SECCIÓN SERVICIOS
   ========================================================================== */

.services-section {
    background-color: var(--white);
    padding: 6rem 0 5rem 0;
    text-align: center;
}

.services-section .section-header {
    max-width: 800px;
    margin: 0 auto 5rem auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-section .section-title {
    font-size: 2.8rem;
    margin: 1.5rem 0;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    width: 100%;
}

.services-section .section-subtitle {
    font-size: 1rem;
    letter-spacing: 3px;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    width: 100%;
}

.services-section .section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
    text-align: center;
    width: 100%;
    padding: 0 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(72, 149, 239, 0.1));
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
    flex-shrink: 0;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(15deg);
    background: var(--primary-color);
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    margin: 0 0 1rem 0;
    color: var(--dark-color);
    line-height: 1.3;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card p {
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 4.5rem;
}

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

.service-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-color);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   6. SECCIÓN SOLUCIONES EMPRESARIALES (Y PROTOTIPO)
   ========================================================================== */

.enterprise-solutions {
    background-color: var(--light-color);
}

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

.solutions-content .section-title {
    font-size: 2.5rem;
}

.solutions-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.solutions-list li {
    position: relative;
    padding: 0.25rem 0 0.25rem 2.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.solutions-list li i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
}

.software-prototype {
    perspective: 1500px;
}

.prototype-container {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-hover);
    transform: rotateY(-7deg) rotateX(5deg);
    transition: var(--transition);
    border: 1px solid #e9ecef;
}

.software-prototype:hover .prototype-container {
    transform: rotateY(0) rotateX(0);
    box-shadow: 0 30px 70px rgba(67, 97, 238, 0.15);
}

/* Estilos internos del prototipo (simplificados de tu original) */
.prototype-header { display: flex; align-items: center; padding: 0.75rem 1.5rem; background: #f8f9fa; border-bottom: 1px solid #e9ecef; }
.prototype-actions { display: flex; gap: 0.5rem; }
.prototype-btn { width: 12px; height: 12px; border-radius: 50%; }
.prototype-btn.red { background-color: #ff5f56; }
.prototype-btn.yellow { background-color: #ffbd2e; }
.prototype-btn.green { background-color: #27c93f; }
.prototype-title { flex: 1; text-align: center; font-size: 0.85rem; color: var(--text-muted); }
.prototype-content { display: flex; min-height: 400px; }
.prototype-sidebar { width: 200px; background: #f8f9fa; border-right: 1px solid #e9ecef; padding: 1.5rem 0; }
.sidebar-item { display: flex; align-items: center; padding: 0.75rem 1.5rem; color: var(--text-muted); font-size: 0.95rem; transition: var(--transition); cursor: pointer; border-left: 3px solid transparent; }
.sidebar-item i { margin-right: 1rem; }
.sidebar-item:hover, .sidebar-item.active { background: rgba(67, 97, 238, 0.05); color: var(--primary-color); border-left-color: var(--primary-color); }
.prototype-main { flex: 1; padding: 1.5rem; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.stat-card { background: #f8f9fa; padding: 1.25rem; border-radius: 8px; text-align: center; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); }
.chart-placeholder { background: #f8f9fa; border-radius: 8px; height: 150px; }
.recent-activity h4 { font-size: 1rem; margin-top: 1.5rem; margin-bottom: 1rem; color: var(--dark-color); }
.activity-item { display: flex; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid #f0f0f0; }
.activity-item:last-child { border-bottom: none; }
.activity-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(67, 97, 238, 0.1); display: flex; align-items: center; justify-content: center; margin-right: 1rem; color: var(--primary-color); }
.activity-details { flex: 1; }
.activity-title { font-weight: 500; }
.activity-time { font-size: 0.8rem; color: var(--text-muted); }
.activity-amount { font-weight: 600; color: var(--primary-color); }
.chart-bars { display: flex; align-items: flex-end; justify-content: space-around; height: 100%; padding: 1rem; }
.bar { width: 15%; background: var(--primary-light); border-radius: 4px 4px 0 0; }

/* Responsive */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .activity-amount {
        margin: 0 0.5rem 0 1rem;
    }
}

@media (max-width: 992px) {
    .software-prototype {
        height: 500px;
    }
    
    .prototype-sidebar {
        position: absolute;
        left: -280px;
        top: 0;
        bottom: 0;
        z-index: 100;
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    
    .prototype-sidebar.active {
        left: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .prototype-main {
        margin-left: 0;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .header-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .software-prototype {
        height: 400px;
        font-size: 14px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 0.75rem;
    }
    
    .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .chart-placeholder {
        height: 180px;
    }
    
    .activity-item {
        flex-wrap: wrap;
    }
    
    .activity-amount {
        margin: 0.5rem 0 0 3rem;
    }
    
    .activity-status {
        margin-left: auto;
    }
}

@media (max-width: 576px) {
    .software-prototype {
        height: 350px;
        font-size: 13px;
        border-radius: 0;
        box-shadow: none;
    }
    
    .prototype-header {
        padding: 0.5rem 0.75rem;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: white;
    }
    
    .prototype-content {
        margin-top: 50px;
        height: calc(100% - 50px) !important;
    }
    
    .prototype-sidebar {
        position: fixed;
        top: 50px;
        bottom: 0;
        left: -280px;
        width: 250px;
        z-index: 900;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
    }
    
    .prototype-sidebar.active {
        transform: translateX(280px);
    }
    
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .header-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .activity-item {
        padding: 0.5rem;
    }
    
    .activity-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .prototype-title {
        font-size: 0.8rem;
    }
    
    .header-actions i:not(:last-child) {
        display: none;
    }
    
    .activity-item {
        padding: 0.75rem;
    }
    
    .activity-meta {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .activity-status {
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    .activity-amount {
        margin: 0.25rem 0 0 3rem;
        font-size: 0.9rem;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.activity-item {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Scroll personalizado */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Media Queries para Responsive */
@media (min-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 4rem;
    }
    
    .solutions-content {
        text-align: left;
    }
    
    .solutions-list {
        margin-left: 0;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 767px) {
    .prototype-content {
        flex-direction: column;
    }
    
    .prototype-sidebar {
        width: 100%;
        display: flex;
        overflow-x: auto;
        padding: 0.5rem 0;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .sidebar-item {
        white-space: nowrap;
        padding: 0.5rem 1rem;
    }
    
    .sidebar-item span {
        font-size: 0.85rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .solutions-list {
        width: 100%;
    }
}

/* ==========================================================================
   5. SECCIÓN SERVICIOS
   ========================================================================== */

.services-section {
    background-color: var(--white);
    padding: 6rem 0 5rem 0;
    text-align: center;
}

.services-section .section-header {
    max-width: 800px;
    margin: 0 auto 5rem auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-section .section-title {
    font-size: 2.8rem;
    margin: 1.5rem 0;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    width: 100%;
}

.services-section .section-subtitle {
    font-size: 1rem;
    letter-spacing: 3px;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    width: 100%;
}

.services-section .section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
    text-align: center;
    width: 100%;
    padding: 0 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(72, 149, 239, 0.1));
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
    flex-shrink: 0;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(15deg);
    background: var(--primary-color);
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    margin: 0 0 1rem 0;
    color: var(--dark-color);
    line-height: 1.3;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card p {
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 4.5rem;
}

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

.service-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-color);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ==========================================================================
   6. SECCIÓN SOLUCIONES EMPRESARIALES (Y PROTOTIPO)
   ========================================================================== */

.enterprise-solutions {
    background-color: var(--light-color);
}

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

.solutions-content .section-title {
    font-size: 2.5rem;
}

.solutions-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.solutions-list li {
    position: relative;
    padding: 0.25rem 0 0.25rem 2.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.solutions-list li i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
}

.software-prototype {
    perspective: 1500px;
}

.prototype-container {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-hover);
    transform: rotateY(-7deg) rotateX(5deg);
    transition: var(--transition);
    border: 1px solid #e9ecef;
}

.software-prototype:hover .prototype-container {
    transform: rotateY(0) rotateX(0);
    box-shadow: 0 30px 70px rgba(67, 97, 238, 0.15);
}

/* Estilos internos del prototipo (simplificados de tu original) */
.prototype-header { display: flex; align-items: center; padding: 0.75rem 1.5rem; background: #f8f9fa; border-bottom: 1px solid #e9ecef; }
.prototype-actions { display: flex; gap: 0.5rem; }
.prototype-btn { width: 12px; height: 12px; border-radius: 50%; }
.prototype-btn.red { background-color: #ff5f56; }
.prototype-btn.yellow { background-color: #ffbd2e; }
.prototype-btn.green { background-color: #27c93f; }
.prototype-title { flex: 1; text-align: center; font-size: 0.85rem; color: var(--text-muted); }
.prototype-content { display: flex; min-height: 400px; }
.prototype-sidebar { width: 200px; background: #f8f9fa; border-right: 1px solid #e9ecef; padding: 1.5rem 0; }
.sidebar-item { display: flex; align-items: center; padding: 0.75rem 1.5rem; color: var(--text-muted); font-size: 0.95rem; transition: var(--transition); cursor: pointer; border-left: 3px solid transparent; }
.sidebar-item i { margin-right: 1rem; }
.sidebar-item:hover, .sidebar-item.active { background: rgba(67, 97, 238, 0.05); color: var(--primary-color); border-left-color: var(--primary-color); }
.prototype-main { flex: 1; padding: 1.5rem; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.stat-card { background: #f8f9fa; padding: 1.25rem; border-radius: 8px; text-align: center; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); }
.chart-placeholder { background: #f8f9fa; border-radius: 8px; height: 150px; }
.recent-activity h4 { font-size: 1rem; margin-top: 1.5rem; margin-bottom: 1rem; color: var(--dark-color); }
.activity-item { display: flex; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid #f0f0f0; }
.activity-item:last-child { border-bottom: none; }
.activity-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(67, 97, 238, 0.1); display: flex; align-items: center; justify-content: center; margin-right: 1rem; color: var(--primary-color); }
.activity-details { flex: 1; }
.activity-title { font-weight: 500; }
.activity-time { font-size: 0.8rem; color: var(--text-muted); }
.activity-amount { font-weight: 600; color: var(--primary-color); }
.chart-bars { display: flex; align-items: flex-end; justify-content: space-around; height: 100%; padding: 1rem; }
.bar { width: 15%; background: var(--primary-light); border-radius: 4px 4px 0 0; }

/* ==========================================================================
   7. SECCIÓN DE PROTOTIPO MÓVIL
   ========================================================================== */

.mobile-showcase {
    background: linear-gradient(135deg, #f8f9ff 0%, #f1f4ff 100%);
    padding: 6rem 0;
    overflow: hidden;
    position: relative;
}

.mobile-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSIjZmZmZmZmIiBvcGFjaXR5PSIwLjAzIi8+PHBhdGggZD0iTTAgMEgxMDBWMTBIMFYwWiIgZmlsbD0iI2Q1ZWRmYSIvPjwvc3ZnPg==') repeat;
    opacity: 0.5;
    z-index: 0;
}

.mobile-showcase .container {
    position: relative;
    z-index: 1;
}

.mobile-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mobile-content {
    padding-right: 2rem;
}

.mobile-content .section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.mobile-content .section-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.mobile-content .section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    flex-shrink: 0;
}

.feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

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

/* Estilos del teléfono */
.phone-mockup {
    position: relative;
    perspective: 2000px;
    z-index: 2;
}

.phone {
    width: 280px;
    height: 570px;
    background: #fff;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15), 0 0 0 10px #f0f2f5;
    overflow: hidden;
    transform: translateY(0) rotateY(-10deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.phone-mockup:hover .phone {
    transform: translateY(-10px) rotateY(-5deg);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2), 0 0 0 10px #f0f2f5;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 25px;
    background: #000;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Estilos del encabezado de la app */
.app-header {
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.time {
    font-size: 0.8rem;
    font-weight: 600;
}

.status-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: #333;
}

/* Contenido de la app */
.app-content {
    flex: 1;
    padding: 1.5rem 1.25rem;
    overflow-y: auto;
}

.app-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.app-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.user-avatar {
    width: 60px;
    height: 60px;
    background: #e3e9ff;
    border-radius: 50%;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.progress-section {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.progress-section h4 {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.progress-container {
    height: 6px;
    background: #f0f2f5;
    border-radius: 3px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stats-card {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stats-card h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.trend {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.trend i {
    margin-right: 0.5rem;
}

.trend.up {
    color: #10b981;
}

.update-banner {
    background: #f0f4ff;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.update-banner i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.update-banner h5 {
    font-size: 0.9rem;
    margin: 0 0 0.2rem 0;
    color: var(--dark-color);
}

.update-banner p {
    font-size: 0.8rem;
    margin: 0;
    color: var(--text-muted);
}

.btn-view {
    margin-left: auto;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-view:hover {
    background: var(--secondary-color);
}

/* Barra de navegación inferior */
.app-nav {
    display: flex;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 0.75rem 0;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.7rem;
    transition: color 0.3s ease;
}

.nav-item i {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.nav-item.active {
    color: var(--primary-color);
}

/* Estilos responsivos */
@media (max-width: 992px) {
    .mobile-showcase-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .mobile-content {
        padding-right: 0;
        text-align: center;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .features-grid {
        max-width: 600px;
        margin: 0 auto 3rem;
    }
    
    .feature {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
    
    .phone-mockup {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .phone {
        width: 260px;
        height: 530px;
    }
    
    .mobile-content .section-title {
        font-size: 2rem;
    }
}

/* ==========================================================================
   8. ANIMACIONES
   ========================================================================== */

/* Animación de entrada de temp_styles.css, ahora aplicada a nuestro Hero */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

/* Staggered delay para los elementos del hero */
.hero-content > *:nth-child(1) { animation-delay: 0.2s; } /* Subtítulo */
.hero-content > *:nth-child(2) { animation-delay: 0.4s; } /* H1 */
.hero-content > *:nth-child(3) { animation-delay: 0.6s; } /* P */
.hero-content > *:nth-child(4) { animation-delay: 0.8s; } /* CTA Buttons */


/* ==========================================================================
   8. DISEÑO RESPONSIVO (MOBILE-FIRST)
   ========================================================================== */

/* Estilos para Tablet (hasta 992px) */
@media (max-width: 992px) {
    html { font-size: 15px; }
    h1 { font-size: 2.75rem !important; }
    .hero h1 { font-size: 3.25rem !important; }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .solutions-list {
        display: inline-block;
        text-align: left;
        margin: 2rem auto;
    }
    
    .software-prototype {
        margin-top: 2rem;
    }

    .prototype-container {
        transform: none; /* Desactivar efecto 3D en tablet */
    }
}

/* Estilos para Móvil Grande (hasta 768px) */
@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }

    h1 { font-size: 2.25rem !important; }
    h2 { font-size: 2rem !important; }
    
    .hero {
        min-height: auto;
        padding: 5rem 0;
    }

    .hero h1 {
        font-size: 2.5rem !important;
    }
    
    .hero p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 320px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Estilos para Móvil Pequeño (hasta 576px) */
@media (max-width: 576px) {
    html { font-size: 14px; }
    
    .container {
        padding: 0 1rem;
    }

    .prototype-content {
        flex-direction: column;
    }

    .prototype-sidebar {
        width: 100%;
        display: flex;
        overflow-x: auto;
        padding: 0.5rem;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }

    .sidebar-item {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    
    .sidebar-item:hover, .sidebar-item.active {
        border-left: none;
        border-bottom-color: var(--primary-color);
    }
}

/* ==========================================================================
   9. SECCIÓN DE DISEÑO WEB PROFESIONAL
   ========================================================================== */

.web-showcase {
    padding: 6rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.web-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSIjZmZmIiBvcGFjaXR5PSIwLjAzIi8+PHBhdGggZD0iTTAgMEgxMDBWMTBIMFYwWiIgZmlsbD0iI2Q1ZWRmYSIvPjwvc3ZnPg==') repeat;
    opacity: 0.5;
    z-index: 0;
}

.web-showcase .container {
    position: relative;
    z-index: 1;
}

.web-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.web-content {
    padding-right: 2rem;
}

.web-content .section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.web-content .section-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.web-content .section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--dark-color);
    font-size: 1rem;
    line-height: 1.5;
}

.feature-item i {
    color: var(--primary-color);
    margin-top: 0.2rem;
    font-size: 1.1rem;
}

/* Estilos del navegador */
.browser-mockup {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.browser-mockup:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
}

.browser-header {
    height: 45px;
    background: #f5f7fa;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    border-bottom: 1px solid #e9ecef;
}

.browser-buttons {
    display: flex;
    gap: 6px;
    margin-right: 12px;
}

.browser-buttons span {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e9ecef;
}

.browser-buttons span:nth-child(1) { background: #ff5f56; }
.browser-buttons span:nth-child(2) { background: #ffbd2e; }
.browser-buttons span:nth-child(3) { background: #27c93f; }

.browser-url {
    flex: 1;
    background: #fff;
    height: 28px;
    border-radius: 4px;
    font-size: 0.7rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-family: 'SF Mono', 'Roboto Mono', monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.browser-menu {
    display: flex;
    gap: 4px;
    margin-left: 12px;
}

.browser-menu span {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #adb5bd;
}

.browser-content {
    background: #fff;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.website-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.website-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    z-index: 10;
}

.website-header .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

.hero-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem 4rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    line-height: 1.3;
    max-width: 700px;
}

.hero-section p {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.6;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-color);
}

.feature-tag i {
    color: var(--primary-color);
}

.cta-section {
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 400px;
    width: 100%;
}

.cta-section h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.cta-section p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.cta-button {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    width: 100%;
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* ==========================================================================
   SECCIÓN DISEÑO WEB PROFESIONAL
   ========================================================================== */

.web-design {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

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

.design-content h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.design-content .subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: block;
}

.design-content .description {
    font-size: 1.1rem;
    color: #2b2d42; /* Mejor contraste para accesibilidad */
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    font-size: 1rem;
    color: var(--text-color);
}

.features-list i {
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.25rem;
    min-width: 20px;
    text-align: center;
}

/* Browser Mockup */
.browser-mockup {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.browser-header {
    background: #f1f3f5;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e9ecef;
    margin-right: 6px;
}

.browser-dot:first-child { background: #ff5f56; }
.browser-dot:nth-child(2) { background: #ffbd2e; }
.browser-dot:nth-child(3) { background: #27c93f; }

.browser-url {
    background: white;
    border-radius: 4px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    color: #6c757d;
    margin-left: 1rem;
    flex-grow: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.browser-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.browser-content h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.browser-content > p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.feature-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-item i {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.cta-banner {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin-top: auto;
}

.cta-banner p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: white;
}

.cta-banner .btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 0.5rem 1.5rem;
}

.cta-banner .btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Estilos para botones */
.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

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

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

.btn-outline {
    background: transparent;
    color: #14213d; /* Azul oscuro, mejor contraste */
    border: 2px solid #14213d;
}

.btn-outline:hover {
    background: rgba(67, 97, 238, 0.1);
    transform: translateY(-2px);
}

/* ==========================================================================
   MEDIA QUERIES PARA DISEÑO WEB PROFESIONAL
   ========================================================================== */

/* Tablets */
@media (max-width: 992px) {
    .design-grid {
        gap: 3rem;
    }
    
    .design-content h2 {
        font-size: 2.2rem;
    }
    
    .design-content .subtitle {
        font-size: 1.3rem;
    }
}

/* Tablets pequeñas */
@media (max-width: 768px) {
    .design-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .design-content {
        order: 1;
        text-align: center;
    }
    
    .design-preview {
        order: 2;
        max-width: 550px;
        margin: 0 auto;
    }
    
    .features-list li {
        justify-content: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
}

/* Móviles */
@media (max-width: 576px) {
    .web-design {
        padding: 4rem 0;
    }
    
    .design-content h2 {
        font-size: 1.8rem;
    }
    
    .design-content .subtitle {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .browser-content {
        padding: 1.5rem 1rem;
    }
    
    .browser-content h3 {
        font-size: 1.3rem;
    }
}

/* ==========================================================================
   SECCIÓN DE INNOVACIÓN EN TIEMPO REAL
   ========================================================================== */

.ai-innovation {
    padding: 6rem 0;
    background-color: #f8faff;
}

.ai-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.ai-header .section-tag {
    display: inline-block;
    background: #4361ee;
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.ai-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.ai-header .section-description {
    font-size: 1.2rem;
    color: #2b2d42;
    line-height: 1.7;
}

/* Estilos del Dashboard */
.ai-dashboard {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 4rem;
}

.dashboard-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9fafc;
}

.file-name {
    display: flex;
    align-items: center;
    background: rgba(67, 97, 238, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.file-name i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.dashboard-title h3 {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin: 0 0 0.25rem 0;
}

.update-status {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.update-status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* Grid de métricas */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    border-bottom: 1px solid #f0f2f5;
}

.metric-card {
    background: #f9fafc;
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid #eef0f4;
}

.metric-card.active {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(67, 97, 238, 0.1);
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

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

.status-dot {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(76, 175, 80, 0.5);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0.5rem 0;
}

.metric-trend {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.metric-trend i {
    margin-right: 0.25rem;
    font-size: 0.7rem;
}

.metric-trend.up {
    color: #4caf50;
}

.metric-trend.down {
    color: #f44336;
}

/* Gráficos y alertas */
.dashboard-charts {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    padding: 2rem;
}

.chart-container, .alerts-container {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.chart-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.chart-periods {
    display: flex;
    gap: 0.5rem;
}

.period-btn {
    padding: 0.35rem 0.75rem;
    border: 1px solid #e0e3e9;
    background: #f9fafc;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.chart-labels {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0 0.5rem;
    padding: 0 0.5rem;
}

.chart-labels span {
    font-size: 0.8rem;
    color: var(--text-muted);
    width: 14.28%;
    text-align: center;
}

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

.bar {
    width: 12%;
    background: var(--primary-color);
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: height 0.5s ease;
}

.bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
    border-radius: 4px 4px 0 0;
}

/* Alertas */
.alert-card {
    display: flex;
    gap: 1rem;
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 1.25rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    transition: transform 0.2s ease;
}

.alert-card:last-child {
    margin-bottom: 0;
}

.alert-card:hover {
    transform: translateX(5px);
}

.alert-icon {
    font-size: 1.5rem;
    color: #ffc107;
}

.alert-content {
    flex: 1;
}

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

.alert-badge {
    background: #fff3e0;
    color: #e65100;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.alert-card p {
    margin: 0;
    color: #5d4037;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Características de IA */
.ai-features {
    padding: 4rem 0 0;
}

.ai-content {
    max-width: 1000px;
    margin: 0 auto;
}

.ai-content h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.ai-content > p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

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

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f2f5;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.feature-card h4 {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin: 0 0 1rem 0;
}

.feature-card p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   SECCIÓN DE MODELOS DE IA
   ========================================================================== */

.ai-models {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
}

.ai-models::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSg2Nyw5NywyMzgsMC4wNSkiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjcGF0dGVybikiLz48L3N2Zz4=');
    opacity: 0.8;
    z-index: 0;
}

.ai-models .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 auto;
    max-width: 700px;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.model-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(67, 97, 238, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.model-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(67, 97, 238, 0.1);
}

.model-card:hover::before {
    transform: scaleX(1);
}

.model-icon {
    width: 60px;
    height: 60px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.model-card:hover .model-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.model-card h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin: 0 0 0.3rem 0;
    transition: color 0.3s ease;
    font-weight: 600;
}

.model-card:hover h3 {
    color: var(--primary-color);
}

.model-badge {
    display: inline-block;
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.model-card:hover .model-badge {
    background: var(--primary-color);
    color: white;
}

/* Estilo especial para la tarjeta "Más Modelos" */
.model-card.view-more {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.model-card.view-more .model-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    margin-bottom: 1rem;
}

.model-card.view-more h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.model-card.view-more p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
    transition: color 0.3s ease;
}

.model-card.view-more:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.model-card.view-more:hover p {
    color: white;
}

/* ==========================================================================
   SECCIÓN DE TESTIMONIOS - DISEÑO MEJORADO
   ========================================================================== */

.testimonials {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f9faff 0%, #f6f9ff 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgdmlld0JveD0iMCAwIDQwIDQwIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIiBwYXR0ZXJuVHJhbnNmb3JtPSJyb3RhdGUoNDUpIj48cmVjdCB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIGZpbGw9IiNmNWY1ZjUiLz48cGF0aCBkPSJNIDAgMCBMIDAgNDAgTCA0MCAwIFoiIGZpbGw9InJnYmEoNjcsIDk3LCAyMzgsIDAuMDMpIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIiBvcGFjaXR5PSIwLjA1Ii8+PC9zdmc+');
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials .section-header {
    margin-bottom: 4.5rem;
    text-align: center;
}

.testimonials .section-header h2 {
    color: var(--dark-color);
    font-size: 2.25rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.testimonials .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.testimonials .section-header .section-tag {
    display: inline-block;
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
}

.testimonials .section-header .section-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    z-index: -1;
    transition: width 0.3s ease;
}

.testimonials .section-header .section-tag:hover {
    color: white;
}

.testimonials .section-header .section-tag:hover::before {
    width: 100%;
}

.testimonials .section-subtitle {
    max-width: 600px;
    margin: 0.8rem auto 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 400;
}

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

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2.8rem 2.5rem 2.5rem;
    box-shadow: 0 15px 50px rgba(67, 97, 238, 0.08);
    border: 1px solid rgba(67, 97, 238, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(67, 97, 238, 0.15);
    border-color: rgba(67, 97, 238, 0.15);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-content {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 3px solid rgba(67, 97, 238, 0.2);
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-content {
    border-left-color: var(--primary-color);
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: -1.5rem;
    font-size: 3.5rem;
    color: var(--primary-color);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
    transition: all 0.3s ease;
}

.testimonial-card:hover .quote-icon {
    opacity: 0.25;
    transform: scale(1.05);
}

.testimonial-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-color);
    margin: 0;
    position: relative;
    z-index: 1;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding-top: 1.8rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-author::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.testimonial-card:hover .testimonial-author::before {
    width: 60px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(67, 97, 238, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.testimonial-card:hover .author-avatar {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

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

.author-info h4 {
    font-size: 1.05rem;
    color: var(--dark-color);
    margin: 0 0 0.15rem 0;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.01em;
    position: relative;
    padding-left: 1.2rem;
}

.author-info span::before {
    content: '•';
    position: absolute;
    left: 0.3rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Efecto de acento decorativo */
.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 80px 80px;
    border-color: transparent transparent rgba(67, 97, 238, 0.03) transparent;
    transition: all 0.3s ease;
}

.testimonial-card:hover::after {
    border-width: 0 0 100px 100px;
}

/* ==========================================================================
   SECCIÓN DE LLAMADO A LA ACCIÓN
   ========================================================================== */

.cta-full-width {
    width: 100vw;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.cta-section {
    padding: 3.5rem 0;
    background: linear-gradient(135deg, #2a5ee8 0%, #1a4bc7 100%);
    color: white;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiPjxyZWN0IHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIiBmaWxsPSJyZ2JhKDI1NSwyNTUsMjU1LDAuMDIpIi8+PHBhdGggZD0iTSAwIDAgTCAwIDEwMCBMIDEwMCAwIFoiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjcGF0dGVybikiIG9wYWNpdHk9IjAuMSIvPjwvc3ZnPg==');
    opacity: 0.3;
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
    line-height: 1.3;
    position: relative;
    display: inline-block;
}

.cta-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
}

.cta-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #f8f9ff;
}

.btn-outline {
    background: transparent;
    color: #14213d;
    border: 2px solid #14213d;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #14213d;
    color: #fff;
    border-color: #14213d;
    transform: translateY(-3px);
}

/* Media Queries para Dashboard Responsive */
@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-charts {
        grid-template-columns: 1fr;
    }
    
    .chart-container {
        margin-bottom: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .dashboard-title {
        width: 100%;
    }
    
    .update-status {
        justify-content: flex-start;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .metric-card {
        max-width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .app-list {
        grid-template-columns: 1fr;
    }
    
    .chart-labels span {
        font-size: 0.7rem;
    }
    
    .period-btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .ai-header h2 {
        font-size: 2rem;
    }
    
    .ai-header .section-description {
        font-size: 1rem;
    }
    
    .dashboard-header {
        padding: 1rem;
    }
    
    .file-name {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .dashboard-title h3 {
        font-size: 1.1rem;
    }
    
    .metric-card {
        padding: 1.25rem 1rem;
    }
    
    .metric-value {
        font-size: 1.75rem;
    }
    
    .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .chart-periods {
        width: 100%;
        justify-content: space-between;
    }
    
    .period-btn {
        flex: 1;
        text-align: center;
    }
    
    .applications {
        padding: 1.5rem 1rem;
    }
    
    .ai-content h3 {
        font-size: 1.5rem;
    }
    
    .ai-content > p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .app-list li {
        font-size: 0.95rem;
    }
}

/* Aplicaciones prácticas */
.applications {
    background: white;
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f2f5;
}

.applications h4 {
    font-size: 1.3rem;
    color: var(--dark-color);
    text-align: center;
    margin: 0 0 2rem 0;
    position: relative;
    padding-bottom: 1rem;
}

.applications h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.app-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.app-list li {
    display: flex;
    align-items: flex-start;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

.app-list i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    font-size: 1.1rem;
    min-width: 20px;
}

/* Estilos responsivos */
@media (max-width: 1200px) {
    .web-showcase-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .web-content {
        padding-right: 0;
        text-align: center;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .features-list {
        max-width: 600px;
        margin: 0 auto 2.5rem;
    }
    
    .browser-mockup {
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .web-content .section-title {
        font-size: 2rem;
    }
    
    .browser-content {
        height: 450px;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .feature-tag {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .main-nav {
        display: none;
    }
    
    .website-header {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .browser-content {
        height: 400px;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .features-grid {
        gap: 0.75rem;
    }
    
    .feature-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .cta-section {
        padding: 1.25rem 1.5rem;
    }
}

/* Asegurarse de que las animaciones tengan la numeración correcta */
/* ==========================================================================
   10. ANIMACIONES
   ========================================================================== */