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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1e1e2f;
    background-color: #ffffff;
    scroll-behavior: smooth;
}

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

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
}

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

.nav-links a {
    text-decoration: none;
    color: #4a4a6a;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #6b21a5;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #4a4a6a;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9eff5 100%);
    padding: 6rem 2rem 4rem;
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #6b21a5, #3b82f6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1e1e2f, #4a4a6a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.5;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #6b21a5, #3b82f6);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(107, 33, 165, 0.3);
}

.btn-outline {
    border-color: #6b21a5;
    color: #6b21a5;
}

.btn-outline:hover {
    background: #6b21a5;
    color: white;
    transform: translateY(-2px);
}

.btn-small {
    background: #f3f4f6;
    color: #4a4a6a;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-small:hover {
    background: #6b21a5;
    color: white;
}

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

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: #4a4a6a;
    font-size: 1.25rem;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.social-icon:hover {
    background: linear-gradient(135deg, #6b21a5, #3b82f6);
    color: white;
    transform: translateY(-3px);
}

/* Secciones generales */
section {
    padding: 5rem 0;
}

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

.section-tag {
    display: inline-block;
    background: #e9eff5;
    color: #6b21a5;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1e1e2f;
    margin-bottom: 1rem;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #6b21a5, #3b82f6);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* About - Texto ancho y tarjetas abajo */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-text {
    width: 100%;
    font-size: 1rem;
    color: #4a4a6a;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.highlight-card {
    background: #f9fafb;
    padding: 2rem 1.5rem;
    text-align: center;
    border-radius: 15px;
    transition: transform 0.3s;
}

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

.highlight-card i {
    font-size: 2rem;
    background: linear-gradient(135deg, #6b21a5, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.highlight-card h4 {
    font-size: 1.25rem;
    color: #1e1e2f;
    margin-bottom: 0.25rem;
}

.highlight-card p {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Skills */
.skills {
    background: #f9fafb;
}

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

.skill-category {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.skill-category:hover {
    transform: translateY(-3px);
}

.skill-category h3 {
    font-size: 1.25rem;
    color: #1e1e2f;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category h3 i {
    color: #6b21a5;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-items span {
    background: #f3f4f6;
    padding: 0.375rem 0.875rem;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #4a4a6a;
    transition: all 0.3s;
}

.skill-items span:hover {
    background: #6b21a5;
    color: white;
}

/* Experiencia */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(135deg, #6b21a5, #3b82f6);
}

.timeline-item {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 15px;
    height: 15px;
    background: white;
    border: 3px solid #6b21a5;
    border-radius: 50%;
}

.timeline-date {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b21a5;
    margin-bottom: 0.5rem;
}

.timeline-content {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 15px;
}

.timeline-content h3 {
    font-size: 1.25rem;
    color: #1e1e2f;
    margin-bottom: 0.25rem;
}

.timeline-content h4 {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.timeline-content ul {
    margin-left: 1.25rem;
    margin-bottom: 1rem;
}

.timeline-content li {
    color: #4a4a6a;
    margin-bottom: 0.5rem;
}

.tech-stack {
    font-size: 0.75rem;
    color: #6b21a5;
    background: #ede9fe;
    padding: 0.5rem;
    border-radius: 8px;
    display: inline-block;
}

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

.project-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 1px solid #e9eef3;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #6b21a5;
}

.project-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6b21a5, #3b82f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.project-icon i {
    font-size: 1.75rem;
    color: white;
}

.project-card h3 {
    font-size: 1.25rem;
    color: #1e1e2f;
    margin-bottom: 0.75rem;
}

.project-card p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.5;
}

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

.project-tech span {
    background: #f3f4f6;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    color: #4a4a6a;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b21a5;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: gap 0.3s;
}

.project-link:hover {
    gap: 0.75rem;
}

/* Footer */
.footer {
    background: #1e1e2f;
    color: #a1a1aa;
    padding: 3rem 0;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #c084fc, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #a1a1aa;
    font-size: 1.125rem;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: #6b21a5;
    color: white;
    transform: translateY(-3px);
}

.footer-copyright {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 1.5rem;
}

/* Responsive - Móvil */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        justify-content: center;
    }
}
