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

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #7c3aed;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* ===== NAVEGACIÓN ===== */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: white;
    font-size: 1.8rem;
    animation: slideInDown 0.6s ease-out;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fbbf24;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ===== SECCIÓN HERO ===== */
.hero {
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,.05)" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,144C672,139,768,149,864,154.7C960,160,1056,160,1152,154.7C1248,149,1344,139,1392,133.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ===== ANIMACIONES ===== */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* ===== BOTONES ===== */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.btn-secondary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* ===== SECCIÓN INTRODUCCIÓN ===== */
.intro-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

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

.intro-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
}

.stat-card h4 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== SECCIÓN CARACTERÍSTICAS ===== */
.features {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    margin: 1rem auto 0;
    border-radius: 2px;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-top-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: bounce 2s infinite;
}

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===== SECCIÓN VENTAJAS ===== */
.benefits {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.benefit-item {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

.benefit-item h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.benefit-item ul {
    list-style: none;
}

.benefit-item li {
    padding: 0.7rem 0;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.benefit-item li:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

/* ===== SECCIÓN DISTRIBUCIONES ===== */
.distributions {
    padding: 80px 0;
}

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

.distro-card {
    background: linear-gradient(135deg, white 0%, var(--bg-light) 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.distro-card:hover {
    transform: scale(1.05) rotateZ(-1deg);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.25);
    border-color: var(--accent-color);
}

.distro-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.distro-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    min-height: 60px;
}

/* ===== SECCIÓN CONTACTO ===== */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact .section-title::after {
    background: rgba(255, 255, 255, 0.5);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

.contact-form button {
    margin-top: 1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #0f172a 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    margin-bottom: 1rem;
}

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

.social-link {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .intro-content {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .benefits-grid,
    .distros-grid {
        grid-template-columns: 1fr;
    }

    .footer .container {
        flex-direction: column;
        gap: 2rem;
    }

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

    .feature-card,
    .benefit-item,
    .distro-card {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 0.8rem;
        font-size: 0.8rem;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero {
        min-height: 400px;
    }
}
/* Agregar este CSS al final del archivo */

/* ===== MEJORAS RESPONSIVE PARA CELULARES ===== */

@media (max-width: 768px) {
    /* Navegación */
    .navbar .container {
        flex-wrap: wrap;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .nav-links {
        width: 100%;
        gap: 0.5rem;
        justify-content: center;
        margin-top: 1rem;
        flex-wrap: wrap;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
    }

    /* Hero */
    .hero {
        min-height: 400px;
        padding: 2rem 0;
    }

    .hero h2 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    /* Intro Section */
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .intro-stats {
        grid-template-columns: 1fr;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .feature-card h4 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.95rem;
    }

    /* Benefits */
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        padding: 1.5rem;
    }

    .benefit-item h4 {
        font-size: 1.2rem;
    }

    /* Distribuciones */
    .distros-grid {
        grid-template-columns: 1fr;
    }

    .distro-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .distro-card:hover {
        transform: scale(1.02) rotateZ(0deg);
    }

    .distro-card h4 {
        font-size: 1.3rem;
    }

    /* Contact Form */
    .contact {
        padding: 2rem 0;
    }

    .contact-form {
        max-width: 100%;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        font-size: 16px; /* Evita zoom en iOS */
    }

    /* Footer */
    .footer .container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .social-link {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

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

    /* Espaciado general */
    section {
        padding: 3rem 0 !important;
    }

    .container {
        padding: 0 15px;
    }
}

/* Pantallas muy pequeñas (móviles < 480px) */
@media (max-width: 480px) {
    /* Navegación */
    .logo h1 {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 0.3rem;
    }

    .nav-links a {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }

    /* Hero */
    .hero {
        min-height: 350px;
        padding: 1.5rem 0;
    }

    .hero h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    /* Intro */
    .intro-text h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .intro-text p {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-card h4 {
        font-size: 2rem;
    }

    .stat-card p {
        font-size: 0.85rem;
    }

    /* Features */
    .features-grid {
        gap: 1rem;
    }

    .feature-card {
        padding: 1.2rem;
        border-radius: 10px;
    }

    .feature-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .feature-card h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Benefits */
    .benefit-item h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .benefit-item li {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }

    /* Distribuciones */
    .distro-card {
        padding: 1.2rem;
        margin-bottom: 1rem;
        border-radius: 10px;
    }

    .distro-card h4 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .distro-card p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        min-height: auto;
    }

    /* Contact */
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .contact-form {
        gap: 1rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        font-size: 16px;
        border-radius: 8px;
    }

    .contact-form button {
        margin-top: 0.5rem;
    }

    /* Footer */
    .footer p {
        font-size: 0.9rem;
    }

    .social-link {
        padding: 6px 10px;
        font-size: 0.75rem;
        gap: 0.2rem;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }

    /* General */
    section {
        padding: 2rem 0 !important;
    }

    .container {
        padding: 0 10px;
    }
}

/* iPad y tablets (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .intro-content {
        grid-template-columns: 1fr;
    }

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

    .section-title {
        font-size: 2rem;
    }
}
/* ===== EASTER EGG ===== */
.easter-egg-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.easter-egg-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.easter-egg-content {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.3);
    position: relative;
    animation: slideUp 0.4s ease-out;
    border: 2px solid #2563eb;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-easter-egg {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #2563eb;
    transition: all 0.3s ease;
}

.close-easter-egg:hover {
    transform: rotate(90deg);
    color: #7c3aed;
}

.easter-egg-animation {
    text-align: center;
    margin-bottom: 1.5rem;
}

.tux-logo {
    font-size: 5rem;
    animation: bounce 1s infinite, spin 3s linear infinite;
    display: inline-block;
}

@keyframes spin {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}

.easter-egg-content h2 {
    color: #2563eb;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.easter-egg-text {
    text-align: center;
    color: #7c3aed;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.easter-egg-message {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #2563eb;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: #1f2937;
    text-align: center;
    line-height: 1.8;
}

.easter-egg-message p {
    margin: 0.3rem 0;
}

.easter-egg-facts {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.easter-egg-facts h3 {
    color: #2563eb;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.easter-egg-facts ul {
    list-style: none;
    padding: 0;
}

.easter-egg-facts li {
    padding: 0.6rem 0;
    color: #1f2937;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.easter-egg-facts li:last-child {
    border-bottom: none;
}

.easter-egg-facts li:hover {
    padding-left: 10px;
    color: #2563eb;
    font-weight: 500;
}

.close-easter-egg-btn {
    width: 100%;
    margin-top: 1rem;
}

/* Efecto de confeti */
.confeti {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    pointer-events: none;
    animation: caerConfeti 3s linear forwards;
}

@keyframes caerConfeti {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Logo clickeable */
.logo h1 {
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo h1:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(37, 99, 235, 0.5));
}

/* Responsive */
@media (max-width: 768px) {
    .easter-egg-content {
        padding: 2rem;
        margin: 1rem;
    }

    .easter-egg-content h2 {
        font-size: 1.5rem;
    }

    .tux-logo {
        font-size: 3.5rem;
    }

    .easter-egg-facts li {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .easter-egg-content {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .easter-egg-content h2 {
        font-size: 1.3rem;
    }

    .easter-egg-text {
        font-size: 1rem;
    }

    .tux-logo {
        font-size: 3rem;
    }

    .easter-egg-facts h3 {
        font-size: 1rem;
    }

    .easter-egg-facts li {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }
}
