﻿:root {
    --primary-dark: #003366;
    --primary: #0066CC;
    --primary-light: #3399FF;
    --accent: #6a00ff;
    --accent-dark: #bb00ff;
    --dark: #1A1A1A;
    --light: #F5F8FA;
    --text: #333333;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --section-padding: 80px 0;
    --border-radius: 12px;
    --gradient: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--section-padding);
    position: relative;
}

/* Hero Section */
.hero {
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    min-height: 100vh; /* Ocupa todo el alto de la pantalla */
    position: relative;
    overflow: hidden;
    padding: 0; /* Sin espacio extra */
}

    .hero .particles {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    .hero .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        z-index: 1;
        gap: 40px;
        padding: 60px 20px;
        max-width: 1200px;
        margin: auto;
    }

.hero-content {
    max-width: 550px;
    text-align: left;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
}

    .btn-primary:hover {
        background-color: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow);
    }

.btn i {
    margin-left: 8px;
}

.hero-image {
    flex: 1 1 400px;
    max-width: 550px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

    .hero-image img {
        width: 100%;
        height: auto;
        display: block;
    }

/* Responsivo */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
        text-align: center;
    }

        .hero .container {
            flex-direction: column;
            gap: 30px;
        }

    .hero-content {
        text-align: center;
    }
}


/* Performance Section Optimizado */
.performance {
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

    .section-title h2 {
        font-size: 2.2rem;
        color: var(--primary-dark);
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
    }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: var(--accent);
            border-radius: 2px;
        }

    .section-title p {
        max-width: 700px;
        margin: 0 auto;
        font-size: 1rem;
    }

.performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.performance-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

    .performance-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--gradient);
    }

.performance-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.2);
    transition: var(--transition);
}

.performance-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.performance-card p {
    margin-bottom: 20px;
    color: #555;
    font-size: 0.95rem;
}

.performance-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    margin: 8px;
    min-width: 70px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
}

.performance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

    .performance-card:hover .performance-icon {
        transform: rotateY(180deg);
        background: var(--accent-dark);
    }

/* Features Section Optimizado */
.features {
    background: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') center/cover fixed;
    color: white;
    position: relative;
    padding: 100px 0;
}

    .features::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 51, 102, 0.85);
    }

.features-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 15px;
}

.features h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.features p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.feature-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Products Section Optimizado */
.products {
    background-color: var(--light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.product-content {
    padding: 25px;
}

.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.product-card p {
    color: #555;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.product-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

    .product-card:hover .product-image img {
        transform: scale(1.05);
    }

/* Technology Section Optimizado */
.technology {
    background-color: white;
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.tech-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--accent);
}

    .tech-card h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
        color: var(--primary-dark);
        display: flex;
        align-items: center;
    }

        .tech-card h3 i {
            margin-right: 12px;
            color: var(--primary);
        }

    .tech-card ul {
        list-style-type: none;
        color: black;
    }

        .tech-card ul li {
            margin-bottom: 12px;
            padding-left: 30px;
            position: relative;
            color: black;
            font-size: 0.95rem;
        }

            .tech-card ul li::before {
                content: '\f00c';
                font-family: 'Font Awesome 6 Free';
                font-weight: 900;
                position: absolute;
                left: 0;
                top: 2px;
                color: black;
                font-size: 1rem;
            }

    .tech-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

/* Hypermetro Section Optimizado */
.hypermetro {
    background: var(--gradient);
    color: white;
}

.hypermetro-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.hypermetro-text {
    flex: 1;
    min-width: 280px;
}

    .hypermetro-text h2 {
        font-size: 2rem;
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .hypermetro-text p {
        margin-bottom: 20px;
        opacity: 0.9;
        font-size: 1rem;
    }

.hypermetro-stats {
    flex: 1;
    min-width: 280px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px;
    backdrop-filter: blur(8px);
}

.hypermetro-stat {
    margin-bottom: 25px;
}

    .hypermetro-stat h3 {
        font-size: 2.2rem;
        margin-bottom: 5px;
        color: var(--light);
    }

    .hypermetro-stat p {
        font-size: 1rem;
        opacity: 0.9;
    }

/* Media Queries Optimizadas */
@media (max-width: 992px) {
    :root {
        --section-padding: 70px 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .hypermetro-content {
        flex-direction: column;
    }

    .hypermetro-text, .hypermetro-stats {
        min-width: 100%;
    }

    .hypermetro-stats {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero {
        padding: 80px 0;
    }

        .hero h1 {
            font-size: 2rem;
        }

        .hero p {
            font-size: 1rem;
        }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .performance-grid, .products-grid, .technology-grid {
        grid-template-columns: 1fr;
    }

    .performance-card {
        padding: 25px 20px;
    }

    .feature-card {
        padding: 25px 20px;
    }
}

@media (max-width: 576px) {
    :root {
        --section-padding: 50px 0;
        --border-radius: 10px;
    }

    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .stat-value {
        font-size: 1.6rem;
    }

    .hypermetro-stat h3 {
        font-size: 2rem;
    }

    .features h2, .hypermetro-text h2 {
        font-size: 1.8rem;
    }

    .tech-card {
        padding: 25px 20px;
    }
}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p, .features p {
        font-size: 0.95rem;
    }

    .performance-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        margin: 8px 0;
    }
}
