html {
    scroll-behavior: smooth;
}
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #7c3aed;
            --secondary: #06b6d4;
            --accent: #ec4899;
            --dark: #0f172a;
            --light: #f8fafc;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            overflow-x: hidden;
        }

        /* HEADER com Gradient */
        header {
            background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
            padding: 1.5rem 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
        }

        .navbar-brand {
            font-size: 1.8rem;
            font-weight: 700;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-link {
            color: rgba(255, 255, 255, 0.8) !important;
            margin-left: 1.5rem;
            transition: all 0.3s ease;
        }

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

        /* HERO Section com Gradient Épico */
        .hero {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
            background-size: 50px 50px;
            animation: float 20s linear infinite;
        }
/* Projects Section */
.projects-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
    position: relative;
}

.projects-section .section-title h2 {
    color: white;
}

.projects-section .section-title p {
    color: #cbd5e1;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(124, 58, 237, 0.2);
}

.project-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.project-card:hover .project-image::after {
    background: rgba(0, 0, 0, 0.2);
}

.project-icon {
    font-size: 3.5rem;
    position: relative;
    z-index: 1;
    animation: bounce 2s infinite;
}

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

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.project-content p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(6, 182, 212, 0.1));
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.btn-project {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-project:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.3);
}

@media (max-width: 768px) {
    .projects-section {
        padding: 3rem 0;
    }
    
    .project-card {
        margin-bottom: 2rem;
    }
}
        @keyframes float {
            0% { transform: translate(0, 0); }
            100% { transform: translate(50px, 50px); }
        }

        .hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            color: white;
            animation: fadeInUp 1s ease-out;
        }

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

        .hero h1 {
            font-size: clamp(2.5rem, 8vw, 5rem);
            font-weight: 800;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .hero p {
            font-size: 1.3rem;
            margin-bottom: 2.5rem;
            opacity: 0.95;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.6;
        }

        .btn-primary-gradient {
            background: linear-gradient(135deg, white 0%, #f0f9ff 100%);
            color: var(--primary) !important;
            padding: 1rem 2.5rem;
            font-weight: 700;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1.1rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .btn-primary-gradient:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
            background: linear-gradient(135deg, #f0f9ff 0%, white 100%);
        }

        .btn-secondary-gradient {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            padding: 1rem 2.5rem;
            font-weight: 700;
            border: 2px solid white;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1.1rem;
            margin-left: 1rem;
        }
        .btn-secondary-gradient:hover {
            background: white;
            color: var(--primary);
            transform: translateY(-3px);
        }

        /* FEATURES Section */
        .features {
            padding: 5rem 0;
            background: var(--light);
            position: relative;
        }

        .section-title {
            text-align: center;
            margin-bottom: 4rem;
            animation: fadeInUp 1s ease-out;
        }

        .section-title h2 {
            font-size: 2.8rem;
            font-weight: 800;
            color: var(--dark);
            margin-bottom: 1rem;
        }
        btn-animation-hover { transition: all 0.3s ease-in-out; }
        btn-animation-hover:hover { background-color: white; }
        .section-title p {
            font-size: 1.2rem;
            color: #64748b;
        }

        .feature-card {
            background: white;
            padding: 2.5rem;
            border-radius: 20px;
            text-align: center;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            animation: fadeInUp 1s ease-out;
        }

        .feature-card:hover {
            transform: translateY(-10px);
            border-color: var(--primary);
            box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
        }

        .feature-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            margin: 0 auto 1.5rem;
            color: white;
        }

        .feature-card h3 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 1rem;
        }

        .feature-card p {
            color: #64748b;
            line-height: 1.6;
        }

        /* CTA Section */
        .cta-section {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            padding: 4rem 0;
            text-align: center;
            color: white;
        }

        .proyects-section {
            padding: 4rem 0;
            text-align: center;
        }

        .cta-section h2 {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 2rem;
        }

        .cta-section p {
            font-size: 1.1rem;
            margin-bottom: 2rem;
            opacity: 0.95;
        }

        /* FOOTER */
        footer {
            background: var(--dark);
            color: white;
            padding: 2rem 0;
            text-align: center;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        footer p {
            margin: 0;
            opacity: 0.8;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }

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

            .btn-secondary-gradient {
                margin-left: 0;
                margin-top: 1rem;
                display: block;
                margin-right: auto;
                margin-left: auto;
            }

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

            .feature-card {
                margin-bottom: 2rem;
            }
        }
@media (max-width: 768px) {
    /* HERO */
    .hero h1 {
        font-size: 2.5rem;
    }
 
    .hero p {
        font-size: 1rem;
    }
 
    .btn-secondary-gradient {
        margin-left: 0;
        margin-top: 1rem;
        display: block;
        margin-right: auto;
        margin-left: auto;
    }
 
    /* FEATURES */
    .section-title h2 {
        font-size: 2rem;
    }
 
    .feature-card {
        margin-bottom: 2rem;
    }
 
    /* PROJECTS */
    .projects-section {
        padding: 3rem 0;
    }
 
    .project-card {
        margin-bottom: 2rem;
    }
 
    .project-image {
        height: 150px;
    }
 
    .project-icon {
        font-size: 2.5rem;
    }
 
    .project-content {
        padding: 1.5rem;
    }
 
    .project-content h3 {
        font-size: 1.2rem;
    }
 
    .project-content p {
        font-size: 0.95rem;
    }
 
    .tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
 
    .btn-project {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }
}
 
/* -------- MÓVIL (max-width: 480px) -------- */
@media (max-width: 480px) {
    /* HERO */
    .hero h1 {
        font-size: 1.8rem;
    }
 
    .hero p {
        font-size: 0.9rem;
    }
 
    /* CTA */
    .cta-section h2 {
        font-size: 1.8rem;
    }
 
    .cta-section p {
        font-size: 0.95rem;
    }
 
    /* GENERAL */
    .section-title h2 {
        font-size: 1.5rem;
    }
 
    .section-title p {
        font-size: 0.9rem;
    }
 
    /* PROJECTS */
    .projects-section {
        padding: 2rem 0;
    }
 
    .project-image {
        height: 120px;
    }
 
    .project-icon {
        font-size: 2rem;
    }
 
    .project-content {
        padding: 1rem;
    }
 
    .project-content h3 {
        font-size: 1rem;
    }
 
    .project-content p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
 
    .project-tags {
        gap: 0.3rem;
        margin-bottom: 1rem;
    }
 
    .tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
 
    .btn-project {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}
 