:root {
    --primary-text: #1d1d1f;
    --secondary-text: #86868b;
    --tertiary-text: #6e6e73;
    --accent-blue: #007aff;
    --accent-green: #30d158;
    --accent-purple: #af52de;
    --accent-orange: #ff9500;
    --background: #ffffff;
    --card-background: #fbfbfd;
    --section-background: #f5f5f7;
    --border-light: #e5e5e7;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-light: 0 2px 16px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-strong: 0 16px 48px rgba(0, 0, 0, 0.12);
    --border-radius: 16px;
    --border-radius-large: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0; /* Importante para el scroll inicial */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background);
    color: var(--primary-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-padding-top: 0; /* Resetea cualquier padding de scroll */
}

/* Navbar mejorado */
.navbar {
    position: sticky;
    top: 1rem;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    margin-bottom: 2rem;
    scroll-margin-top: 0; /* Asegurar que el sticky no afecte el scroll inicial */
}

.navbar nav ul {
    display: flex;
    gap: 0;
    list-style: none;
    padding: 0.5rem;
    border-radius: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--glass-border);
}

.navbar nav a {
    display: block;
    text-decoration: none;
    color: var(--primary-text);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.75rem 1.25rem;
    border-radius: 40px;
    transition: var(--transition);
    position: relative;
}

.navbar nav a:hover {
    background: rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.navbar nav a:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Secciones base */
section {
    padding: 5rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Ajustar scroll-padding para las secciones internas */
section[id] {
    scroll-margin-top: 6rem; /* Compensa el navbar sticky solo para navegación interna */
}

/* Hero Section mejorado */
#hero {
    padding: 8rem 1.5rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    margin-top: 0; /* Asegurar que empiece desde arriba */
    scroll-margin-top: 0 !important; /* Excepción para hero que debe empezar desde arriba */
}

.hero-inner h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-text) 0%, var(--secondary-text) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-wrapper {
    margin-bottom: 3rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(48, 209, 88, 0.1);
    border: 1px solid rgba(48, 209, 88, 0.3);
    border-radius: 50px;
    font-size: 0.95rem;
    color: #1d7135;
    font-weight: 500;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.status-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.status-badge .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(48, 209, 88, 0.3);
}

.hero-inner p {
    font-size: 1.1rem;
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.hero-inner p:first-of-type {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-text);
}

/* About Section mejorado */
#about {
    background: var(--section-background);
    border-radius: var(--border-radius-large);
    margin: 1rem auto 3rem auto;
    max-width: 1100px;
    padding: 5rem 1.5rem;
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple), var(--accent-orange));
}

#about h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

#about p {
    font-size: 1.05rem;
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Sistema unificado de botones */
.btn, .project-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    margin-top: 1.5rem;
}

.btn:focus, .project-btn:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Variante para CV (estilo negro) */
.btn--cv {
    background: rgba(29, 29, 31, 0.1);
    color: var(--primary-text);
}

.btn--cv:hover {
    background: rgba(29, 29, 31, 0.2);
    transform: translateX(4px);
}

/* Variante azul para App Store */
.project-btn--appstore, .btn--appstore {
    background: rgba(0, 122, 255, 0.1);
    color: var(--accent-blue);
    margin-top: 0;
}

.project-btn--appstore:hover, .btn--appstore:hover {
    background: rgba(0, 122, 255, 0.2);
    transform: translateX(4px);
}

/* Variante morada para GitHub */
.project-btn--github, .btn--github {
    background: rgba(175, 82, 222, 0.1);
    color: var(--accent-purple);
    margin-top: 0;
}

.project-btn--github:hover, .btn--github:hover {
    background: rgba(175, 82, 222, 0.2);
    transform: translateX(4px);
}

/* Variante azul para LinkedIn */
.btn--linkedin {
    background: rgba(0, 122, 255, 0.1);
    color: var(--accent-blue);
    margin-top: 0;
}

.btn--linkedin:hover {
    background: rgba(0, 122, 255, 0.2);
    transform: translateX(4px);
}

/* Experience Section mejorado */
#experience h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-purple));
}

.timeline .item {
    position: relative;
    padding: 2rem 0 2rem 5rem;
    margin-bottom: 3rem;
    background: var(--card-background);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.timeline .item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.timeline .item::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 2rem;
    width: 16px;
    height: 16px;
    background: var(--accent-blue);
    border-radius: 50%;
    border: 4px solid var(--background);
    box-shadow: 0 0 0 3px var(--accent-blue);
}

.timeline .item:last-child::before {
    background: var(--accent-purple);
    box-shadow: 0 0 0 3px var(--accent-purple);
}

.timeline .item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-text);
}

.timeline .item span {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: block;
}

.timeline .item p {
    color: var(--secondary-text);
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

/* Projects Section mejorado */
#projects {
    background: var(--section-background);
    border-radius: var(--border-radius-large);
    margin: 3rem auto;
    max-width: 1100px;
    padding: 5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

#projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-orange), var(--accent-blue));
}

.projects-section {
    margin-bottom: 4rem;
}

.projects-section:last-child {
    margin-bottom: 0;
}

.projects-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--primary-text);
}

.projects-section h3 {
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-text);
    font-style: italic;
    opacity: 0.8;
}

.carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding: 1rem 0 2rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--border-light) transparent;
}

.carousel::-webkit-scrollbar {
    height: 8px;
}

.carousel::-webkit-scrollbar-track {
    background: var(--border-light);
    border-radius: 4px;
}

.carousel::-webkit-scrollbar-thumb {
    background: var(--secondary-text);
    border-radius: 4px;
}

.carousel::-webkit-scrollbar-thumb:hover {
    background: var(--primary-text);
}

/* Scroll horizontal con rueda del mouse en desktop */
@media (min-width: 1025px) {
    .carousel {
        scrollbar-width: thin;
        cursor: grab;
    }

    .carousel:active {
        cursor: grabbing;
    }

    /* Mostrar scrollbar solo en hover en desktop */
    .carousel::-webkit-scrollbar {
        height: 6px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .carousel:hover::-webkit-scrollbar {
        opacity: 1;
    }
}

/* NUEVA ESTRUCTURA DE TARJETAS CON FLEXBOX */
.card {
    flex: 0 0 320px;
    background: var(--card-background);
    border-radius: var(--border-radius-large);
    padding: 2.5rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    
    /* Añadir flexbox para controlar la distribución del contenido */
    display: flex;
    flex-direction: column;
    height: auto; /* Permitir altura automática pero con flex */
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
}

/* Contenedor para el contenido principal de la tarjeta */
.card-content {
    flex: 1; /* Ocupa todo el espacio disponible */
    display: flex;
    flex-direction: column;
}

/* El botón debe ir al final siempre */
.card .project-btn {
    margin-top: auto; /* Empuja el botón hacia abajo */
    align-self: flex-start; /* Mantiene el botón alineado a la izquierda */
}

.project-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    margin: 0 auto 1.5rem auto; /* Centrado horizontal */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--accent-blue), #5ac8fa);
    box-shadow: var(--shadow-light);
}

.card:nth-child(2) .project-icon {
    background: linear-gradient(135deg, var(--accent-purple), #bf5af2);
}

.card:nth-child(3) .project-icon {
    background: linear-gradient(135deg, var(--accent-orange), #ffb340);
}

.project-app-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: var(--border-radius);
    display: block;
}

.card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-text);
    text-align: center;
}

.card p {
    color: var(--secondary-text);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* Contenedor de etiquetas de tecnologías */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
    margin-top: auto; /* Empuja las tags hacia arriba del botón */
}

/* Estilo base para las etiquetas */
.tech-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    border: 1px solid transparent;
}

.tech-tag:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

/* Variantes de colores para diferentes tecnologías */
.tech-tag--swift {
    background: rgba(255, 69, 58, 0.1);
    color: #d70015;
    border-color: rgba(255, 69, 58, 0.2);
}

.tech-tag--swiftui {
    background: rgba(0, 122, 255, 0.1);
    color: var(--accent-blue);
    border-color: rgba(0, 122, 255, 0.2);
}

.tech-tag--swiftdata {
    background: rgba(175, 82, 222, 0.1);
    color: var(--accent-purple);
    border-color: rgba(175, 82, 222, 0.2);
}

.tech-tag--architecture {
    background: rgba(255, 149, 0, 0.1);
    color: var(--accent-orange);
    border-color: rgba(255, 149, 0, 0.2);
}

.tech-tag--api {
    background: rgba(48, 209, 88, 0.1);
    color: var(--accent-green);
    border-color: rgba(48, 209, 88, 0.2);
}

.tech-tag--ios {
    background: rgba(99, 99, 102, 0.1);
    color: var(--tertiary-text);
    border-color: rgba(99, 99, 102, 0.2);
}

.tech-tag--core {
    background: rgba(255, 204, 0, 0.1);
    color: #b7950b;
    border-color: rgba(255, 204, 0, 0.2);
}

/* Contact Section mejorado */
#contact {
    background: var(--card-background);
    border-radius: var(--border-radius-large);
    margin: 3rem auto;
    max-width: 1100px;
    padding: 5rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-blue));
}

#contact h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

#contact p {
    font-size: 1.1rem;
    color: var(--secondary-text);
    margin-bottom: 2rem;
}

#contact a[href^="mailto"] {
    font-size: 1.3rem;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    margin: 1rem 0;
}

#contact a[href^="mailto"]:hover {
    transform: translateY(-2px);
}

.socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

/* Footer mejorado */
footer {
    text-align: center;
    padding: 4rem 1.5rem;
    color: var(--tertiary-text);
    font-size: 0.9rem;
    background: var(--section-background);
    margin-top: 3rem;
}

/* Responsive mejorado */
/* Tablets (iPad) */
@media (max-width: 1024px) and (min-width: 769px) {
    section {
        padding: 4rem 2rem;
    }

    #hero {
        padding: 6rem 2rem 3rem;
    }

    .navbar {
        padding: 0 2rem; /* Más espacio en tablet */
    }

    .navbar nav ul {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .navbar nav ul::-webkit-scrollbar {
        display: none;
    }

    .navbar nav a {
        padding: 0.75rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Timeline para iPad - bien visible */
    .timeline {
        padding-left: 0;
        margin-left: 0;
    }

    .timeline::before {
        left: 2rem;
    }

    .timeline .item {
        padding: 2.5rem;
        margin-left: 5rem;
        margin-right: 0;
    }

    .timeline .item::before {
        left: -3rem;
        width: 16px;
        height: 16px;
        border: 4px solid var(--background);
        box-shadow: 0 0 0 3px var(--accent-blue);
    }

    .timeline .item:last-child::before {
        background: var(--accent-purple);
        box-shadow: 0 0 0 3px var(--accent-purple);
    }

    .carousel {
        gap: 1.5rem;
        padding: 1rem 0 2rem 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .carousel::-webkit-scrollbar {
        display: none;
    }

    .card {
        flex: 0 0 350px;
        padding: 2.5rem;
    }

    #about, #contact, #projects {
        margin: 2rem 2rem;
        padding: 4rem 2.5rem;
    }
}

/* Móviles */
@media (max-width: 768px) {
    section {
        padding: 3rem 1rem;
    }

    #hero {
        padding: 5rem 1rem 2rem;
    }

    .navbar {
        top: 0.5rem;
        margin-bottom: 1rem;
        padding: 0 1.5rem; /* Aumentamos el padding lateral para móvil */
    }

    .navbar nav ul {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0.5rem 0.5rem; /* Padding interno reducido para compensar */
        margin: 0; /* Eliminamos cualquier margin que pueda estar */
    }

    .navbar nav ul::-webkit-scrollbar {
        display: none;
    }

    .navbar nav a {
        white-space: nowrap;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    /* Timeline optimizado para mobile */
    .timeline {
        padding-left: 0;
        margin-left: 1.5rem;
    }

    .timeline::before {
        left: 1rem;
    }

    .timeline .item {
        padding: 2rem 2rem;
        margin-left: 2.5rem;
        margin-right: 0;
    }

    .timeline .item::before {
        left: -2.75rem;
        width: 14px;
        height: 14px;
        border: 3px solid var(--background);
        box-shadow: 0 0 0 2px var(--accent-blue);
    }

    .carousel {
        gap: 1rem;
        padding: 1rem 0.5rem 2rem 0.5rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .carousel::-webkit-scrollbar {
        display: none;
    }

    .card {
        flex: 0 0 280px;
        padding: 2rem 1.5rem;
    }

    #about, #contact, #projects {
        margin: 2rem 1rem;
        padding: 3rem 1.5rem;
    }

    .socials {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .socials .btn {
        min-width: 250px;
        justify-content: center;
    }

    /* Responsive para etiquetas en móvil */
    .tech-tags {
        gap: 0.4rem;
    }
    
    .tech-tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
}

/* Media query específico para móviles pequeños */
@media (max-width: 480px) {
    .navbar {
        padding: 0 2rem; /* Más espacio en móviles pequeños */
    }
    
    .navbar nav ul {
        padding: 0.5rem;
    }

    .status-badge {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .status-badge .avatar {
        width: 32px;
        height: 32px;
    }

    .card {
        flex: 0 0 260px;
        padding: 2rem 1.5rem;
    }

    .project-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .project-app-icon {
        width: 50px;
        height: 50px;
    }

    /* Timeline extra ajustado para móviles pequeños */
    .timeline {
        margin-left: 0.5rem;
    }

    .timeline::before {
        left: 0.5rem;
    }

    .timeline .item {
        margin-left: 2rem;
        padding: 1.5rem 1rem;
    }

    .timeline .item::before {
        left: -2.25rem;
        width: 10px;
        height: 10px;
        border: 2px solid var(--background);
        box-shadow: 0 0 0 2px var(--accent-blue);
    }
}

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

.timeline .item,
.card {
    animation: fadeInUp 0.6s ease-out;
}

/* Indicador visual de scroll */
.carousel-container {
    position: relative;
}

.carousel-container::after {
    content: '';
    position: absolute;
    right: 0;
    top: 1rem;
    bottom: 2rem;
    width: 40px;
    background: linear-gradient(to left, var(--section-background) 0%, transparent 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-container:hover::after {
    opacity: 1;
}

/* Scroll indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0 2rem 0;
    margin: 0 auto;
    max-width: 1100px;
}

.scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
    transition: var(--transition);
}

.scroll-hint:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.scroll-text {
    font-size: 0.9rem;
    color: var(--secondary-text);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--accent-blue);
    border-bottom: 2px solid var(--accent-blue);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    40% {
        transform: rotate(45deg) translateY(-4px);
    }
    60% {
        transform: rotate(45deg) translateY(-2px);
    }
}

/* Ocultar en mobile para no saturar */
@media (max-width: 640px) {
    .scroll-indicator {
        padding: 1rem 0 1.5rem 0;
    }
    
    .scroll-text {
        font-size: 0.85rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .scroll-arrow {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 375px) {
    .scroll-indicator {
        padding: 0.8rem 0 1.2rem 0;
    }
    
    .scroll-text {
        font-size: 0.8rem;
    }
    
    .scroll-arrow {
        width: 16px;
        height: 16px;
    }
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-arrow {
        animation: none;
    }
}

/* Focus visible para navegación por teclado */
*:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Coming Soon Section */
.coming-soon-container {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.coming-soon-card {
    background: var(--card-background);
    border-radius: var(--border-radius-large);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    max-width: 500px;
    text-align: center;
    border: 2px dashed var(--border-light);
}

.coming-soon-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-blue);
}

.coming-soon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple), var(--accent-orange));
}

.coming-soon-icon {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-blue);
    z-index: 2;
    position: relative;
    box-shadow: var(--shadow-light);
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 3px solid var(--accent-blue);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

.coming-soon-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-text);
}

.coming-soon-card p {
    color: var(--secondary-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.coming-soon-note {
    font-size: 0.9rem !important;
    color: var(--tertiary-text) !important;
    font-style: italic;
    margin-bottom: 2rem !important;
}

.progress-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.progress-text {
    font-size: 0.9rem;
    color: var(--accent-blue);
    font-weight: 600;
}

.progress-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-blue);
    animation: dotPulse 1.5s infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.5s;
}

.dot:nth-child(3) {
    animation-delay: 1s;
}

@keyframes dotPulse {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    30% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Responsive para coming soon */
@media (max-width: 768px) {
    .coming-soon-card {
        padding: 2.5rem 1.5rem;
        margin: 0 1rem;
    }
    
    .coming-soon-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }
    
    .coming-soon-avatar {
        width: 50px;
        height: 50px;
        border-width: 2px;
    }
    
    .pulse-ring {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .coming-soon-card {
        padding: 2rem 1rem;
    }
    
    .progress-indicator {
        flex-direction: column;
        gap: 1rem;
    }
}