:root {
    --turquoise: #06B6D4;
    --blue: #3B82F6;
    --navy: #0F172A;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--navy);
    background-color: var(--white);
}

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

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.col-12 { grid-column: span 12; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }

/* Header */
.header {
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    transition: transform 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 24px;
    color: var(--navy);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--turquoise), var(--blue));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--turquoise);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    color: var(--gray-600);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--turquoise);
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 48px;
    line-height: 1.5;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
}

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

.btn-primary:hover {
    background: #0891B2;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
}

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

/* Section Spacing */
.section {
    padding: 96px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--navy);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    background: var(--gray-50);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    text-align: center;
}

.avatar-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--white);
}

.badges {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: var(--white);
    color: var(--gray-700);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--gray-200);
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-700);
}

.about-text p {
    margin-bottom: 24px;
}

.about-links {
    margin-top: 32px;
    display: flex;
    gap: 16px;
}

/* Projects Section */
.projects {
    background: var(--white);
}

.project-filters {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--gray-100);
    color: var(--gray-600);
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--turquoise);
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.project-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 1px solid var(--gray-200);
    opacity: 0;
    transform: translateY(20px);
}

.project-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.project-thumbnail {
    width: 100%;
    height: 200px;
    background: var(--gray-100);
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 1.5rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--navy);
}

.project-description {
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.5;
}

.project-tech {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tech-tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.project-link {
    padding: 8px 16px;
    background: var(--gray-100);
    color: var(--gray-700);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.project-link:hover {
    background: var(--turquoise);
    color: white;
}

/* Timeline Section */
.timeline {
    background: var(--gray-50);
}

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

.timeline-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 64px 0;
    flex-wrap: wrap;
    gap: 24px;
}

.timeline-step {
    flex: 1;
    min-width: 120px;
    text-align: center;
    position: relative;
}

.timeline-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--turquoise);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--turquoise);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step-title {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.step-description {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Spotlight Section */
.spotlight {
    background: var(--white);
}

.spotlight-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.spotlight-demo {
    background: var(--gray-100);
    border-radius: 16px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 1.5rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.spotlight-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--navy);
}

.spotlight-bullets {
    list-style: none;
    margin-bottom: 32px;
}

.spotlight-bullets li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-700);
}

.spotlight-bullets li:last-child {
    border-bottom: none;
}

.spotlight-bullets strong {
    color: var(--navy);
}

/* Tech Stack Section */
.tech-stack {
    background: var(--gray-50);
}

.tech-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.tech-logo {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
    background-size: 60px 60px;
    background-position: center;
    background-repeat: no-repeat;
}

.tech-logo:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 16px;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
    font-size: 1.125rem;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--navy);
}

/* Footer */
.footer {
    background: var(--navy);
    color: white;
    padding: 48px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--turquoise);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

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

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .spotlight-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .timeline-steps {
        flex-direction: column;
    }

    .timeline-step:not(:last-child)::after {
        content: '↓';
        right: auto;
        top: auto;
        bottom: -24px;
        left: 50%;
        transform: translateX(-50%);
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .tech-logos {
        gap: 24px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Hidden class for filtering */
.hidden {
    display: none !important;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.avatar-img {
    width: 310px; /* Ajusta el ancho a tu preferencia */
    height: auto; /* Mantiene la relación de aspecto */
}

/* Coming Soon Styles */
.project-card.coming-soon {
    opacity: 0.7;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border: 2px dashed var(--gray-300);
    position: relative;
    overflow: hidden;
}

.project-card.coming-soon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.project-card.coming-soon:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    opacity: 0.8;
}

.coming-soon-tag {
    background: var(--turquoise) !important;
    color: var(--white) !important;
    font-weight: 600;
    animation: pulse 2s infinite;
}

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

.project-card.coming-soon .project-thumbnail {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    color: var(--gray-500);
    font-size: 2rem;
}

.project-card.coming-soon .project-title {
    color: var(--gray-600);
}

.project-card.coming-soon .project-description {
    color: var(--gray-500);
}

.value-path {
    padding: 80px 0;
    text-align: center;
  }
  
  .value-path .section-title {
    font-size: 2rem;
    margin-bottom: 8px;
  }
  
  .value-path .section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 32px;
  }
  
  .value-path .section-intro {
    font-size: 1.1rem;
    color: var(--gray-700);
    max-width: 720px;
    margin: 0 auto 48px;
    line-height: 1.6;
  }
  
  .value-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
  }
  
  .value-step {
    background: var(--gray-50, #f9fafb);
    border: 2px solid var(--gray-200, #e5e7eb);
    border-radius: 16px;
    padding: 20px 24px;
    width: 150px;
    transition: all 0.3s ease;
  }
  
  .value-step:hover {
    border-color: var(--primary-500, #3b82f6);
    transform: translateY(-4px);
  }
  
  .value-step .icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }
  
  .value-step .title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
  }
  
  .value-step .desc {
    font-size: 0.85rem;
    color: var(--gray-600);
  }
  
  .connector {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
    border-radius: 2px;
  }
  