:root {
    --background-color: #0a0a0a;
    --card-color: #1a1a1a;
    --text-color: #f0f0f0;
    --primary-color: #9f7aea;
    --secondary-color: #f472b6;
    --calipso-color: #00CED1;
    --calipso-light: #40E0D0;
    --calipso-dark: #008B8B;
    --calipso-glow: rgba(0, 206, 209, 0.4);
    --calipso-soft: rgba(0, 206, 209, 0.1);
    --font-family: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background:
        /* Patrón de puntos sutil */
        radial-gradient(circle at 1px 1px, rgba(0, 206, 209, 0.1) 1px, transparent 0),
        /* Patrón de líneas diagonales */
        linear-gradient(45deg, transparent 40%, rgba(0, 206, 209, 0.02) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(0, 206, 209, 0.02) 50%, transparent 60%),
        /* Gradiente base */
        linear-gradient(135deg, #000000 0%, #0a0a0a 25%, #000000 50%, #0f0f0f 75%, #000000 100%);
    background-size:
        40px 40px,
        80px 80px,
        80px 80px,
        100% 100%;
    background-attachment: fixed;
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
}

/* Partículas animadas con colores calipso */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(0, 206, 209, 0.4), transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(0, 206, 209, 0.2), transparent),
        radial-gradient(1.5px 1.5px at 90px 40px, rgba(64, 224, 208, 0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(0, 206, 209, 0.25), transparent),
        radial-gradient(2px 2px at 160px 20px, rgba(0, 206, 209, 0.15), transparent);
    background-repeat: repeat;
    background-size: 180px 180px;
    animation: sparkle-calipso 25s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes sparkle-calipso {
    0% {
        transform: translateY(0px) translateX(0px);
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-180px) translateX(10px);
        opacity: 1;
    }
}

/* Efecto de ondas sutiles */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(0, 206, 209, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 206, 209, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -2;
    animation: wave-background 30s ease-in-out infinite;
}

@keyframes wave-background {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: scale(1.05) rotate(1deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(0.95) rotate(-1deg);
        opacity: 0.9;
    }
    75% {
        transform: scale(1.02) rotate(0.5deg);
        opacity: 0.85;
    }
}

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

/* --- Language Switcher --- */
.lang-switcher {
    position: absolute;
    top: 0px;
    right: 20px;
    z-index: 100;
}

.lang-switcher button {
    background: none;
    border: 1px solid var(--card-color);
    color: #a0a0a0;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s;
}

.lang-switcher button:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.lang-switcher button:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-left: none;
}

.lang-switcher button.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* --- Animaciones y Efectos Avanzados --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(159, 122, 234, 0.3); }
    50% { box-shadow: 0 0 30px rgba(159, 122, 234, 0.6), 0 0 40px rgba(244, 114, 182, 0.3); }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: var(--primary-color); }
}

.animated-gradient-text {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-animation 6s ease infinite;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* --- Header y Hero Section Animado --- */
.hero {
    text-align: center;
    padding: 100px 20px;
    border-bottom: 1px solid var(--card-color);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 206, 209, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 206, 209, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(64, 224, 208, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 30%, rgba(0, 206, 209, 0.05) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(0, 206, 209, 0.03) 50%, transparent 70%);
    animation: background-shift 8s ease-in-out infinite;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        conic-gradient(from 0deg at 50% 50%,
            transparent 0deg,
            rgba(0, 206, 209, 0.08) 90deg,
            transparent 180deg,
            rgba(0, 206, 209, 0.05) 270deg,
            transparent 360deg);
    animation: rotate-background 20s linear infinite;
    z-index: 0;
}

/* Asegurar que el contenido esté por encima */
.hero > * {
    position: relative;
    z-index: 2;
}

@keyframes background-shift {
    0%, 100% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
    50% {
        opacity: 0.7;
        transform: translateX(10px) translateY(-10px);
    }
}

@keyframes rotate-background {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Efectos de partículas flotantes */
.hero .lang-switcher::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 4px;
    height: 4px;
    background: var(--calipso-color);
    border-radius: 50%;
    box-shadow:
        0 0 10px var(--calipso-color),
        20px 30px 0 rgba(0, 206, 209, 0.6),
        -30px 50px 0 rgba(0, 206, 209, 0.4),
        50px -20px 0 rgba(0, 206, 209, 0.5),
        -20px -40px 0 rgba(0, 206, 209, 0.3);
    animation: float-particles 6s ease-in-out infinite;
}

@keyframes float-particles {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.7;
    }
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 10px;
    animation: bounce 2s ease-in-out infinite;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #a0a0a0;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.hero .mission {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
}

.cta-button {
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
    opacity: 1;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 200px;
    text-align: center;
    animation: scaleIn 0.8s ease-out 0.5s both;
}

/* Botón Primario */
.cta-button.primary {
    background: linear-gradient(135deg, var(--calipso-color), var(--calipso-light));
    color: var(--background-color);
    box-shadow:
        0 0 20px rgba(0, 206, 209, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Botón Secundario */
.cta-button.secondary {
    background: transparent;
    color: var(--calipso-color);
    border: 2px solid var(--calipso-color);
    box-shadow:
        0 0 15px rgba(0, 206, 209, 0.2),
        inset 0 0 15px rgba(0, 206, 209, 0.05);
}

/* Botón Terciario */
.cta-button.tertiary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow:
        0 0 15px rgba(159, 122, 234, 0.2),
        inset 0 0 15px rgba(159, 122, 234, 0.05);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
    z-index: 1;
}

/* Hover para botón primario */
.cta-button.primary:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow:
        0 15px 35px rgba(0, 206, 209, 0.5),
        0 0 40px rgba(0, 206, 209, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
}

/* Hover para botón secundario */
.cta-button.secondary:hover {
    transform: scale(1.05) translateY(-3px);
    background: rgba(0, 206, 209, 0.1);
    box-shadow:
        0 10px 25px rgba(0, 206, 209, 0.4),
        0 0 30px rgba(0, 206, 209, 0.2),
        inset 0 0 25px rgba(0, 206, 209, 0.1);
}

/* Hover para botón terciario */
.cta-button.tertiary:hover {
    transform: scale(1.05) translateY(-3px);
    background: rgba(159, 122, 234, 0.1);
    box-shadow:
        0 10px 25px rgba(159, 122, 234, 0.4),
        0 0 30px rgba(159, 122, 234, 0.2),
        inset 0 0 25px rgba(159, 122, 234, 0.1);
}

.cta-button:hover::before {
    left: 100%;
}

/* --- Secciones con Fondos Llamativos --- */
.section {
    padding: 80px 0;
    border-bottom: 1px solid var(--card-color);
    position: relative;
    overflow: hidden;
}

/* Fondo para sección Sobre Mí */
#about {
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 206, 209, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(64, 224, 208, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, #000000 0%, #0f0f0f 100%);
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(0, 206, 209, 0.02) 60%, transparent 80%);
    animation: section-shift 12s ease-in-out infinite;
    z-index: 0;
}

/* Fondo para sección Estadísticas */
#stats {
    background:
        radial-gradient(circle at 70% 30%, rgba(0, 206, 209, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(0, 206, 209, 0.05) 0%, transparent 50%),
        linear-gradient(225deg, #000000 0%, #0a0a0a 100%);
}

#stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-45deg, transparent 30%, rgba(0, 206, 209, 0.03) 50%, transparent 70%);
    animation: section-shift 10s ease-in-out infinite reverse;
    z-index: 0;
}

/* Fondo para sección Contenido Destacado */
#featured {
    background:
        radial-gradient(circle at 50% 10%, rgba(0, 206, 209, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 20% 90%, rgba(64, 224, 208, 0.08) 0%, transparent 50%),
        linear-gradient(315deg, #000000 0%, #0d0d0d 100%);
}

#featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(90deg, transparent 20%, rgba(0, 206, 209, 0.04) 40%, transparent 60%),
        linear-gradient(180deg, transparent 30%, rgba(0, 206, 209, 0.02) 70%, transparent 100%);
    animation: section-shift 15s ease-in-out infinite;
    z-index: 0;
}

/* Fondo para sección Mi Audiencia */
#audience {
    background:
        radial-gradient(circle at 80% 20%, rgba(0, 206, 209, 0.09) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(0, 206, 209, 0.07) 0%, transparent 50%),
        linear-gradient(45deg, #000000 0%, #0e0e0e 100%);
}

#audience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 25%, rgba(0, 206, 209, 0.03) 50%, transparent 75%);
    animation: section-shift 14s ease-in-out infinite;
    z-index: 0;
}

/* Fondo para sección Paquete */
#package {
    background:
        radial-gradient(circle at 30% 30%, rgba(0, 206, 209, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(64, 224, 208, 0.1) 0%, transparent 50%),
        linear-gradient(225deg, #000000 0%, #0c0c0c 100%);
}

#package::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(60deg, transparent 30%, rgba(0, 206, 209, 0.05) 50%, transparent 70%),
        linear-gradient(-60deg, transparent 40%, rgba(0, 206, 209, 0.03) 60%, transparent 80%);
    animation: section-shift 16s ease-in-out infinite reverse;
    z-index: 0;
}

/* Fondo para sección Contacto */
#contact {
    background:
        radial-gradient(circle at 50% 50%, rgba(0, 206, 209, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(0, 206, 209, 0.08) 0%, transparent 50%),
        linear-gradient(315deg, #000000 0%, #0b0b0b 100%);
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(0, 206, 209, 0.04) 50%, transparent 80%);
    animation: section-shift 18s ease-in-out infinite;
    z-index: 0;
}

/* Asegurar que el contenido esté por encima de los fondos */
.section > * {
    position: relative;
    z-index: 1;
}

/* Animación para los fondos de secciones */
@keyframes section-shift {
    0%, 100% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
    33% {
        opacity: 0.8;
        transform: translateX(5px) translateY(-5px);
    }
    66% {
        opacity: 0.9;
        transform: translateX(-3px) translateY(3px);
    }
}

/* Partículas flotantes para secciones específicas */
#stats::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 3px;
    height: 3px;
    background: var(--calipso-color);
    border-radius: 50%;
    box-shadow:
        0 0 8px var(--calipso-color),
        -50px 30px 0 1px rgba(0, 206, 209, 0.4),
        30px -40px 0 2px rgba(0, 206, 209, 0.3),
        -80px -20px 0 1px rgba(0, 206, 209, 0.5),
        60px 60px 0 1px rgba(0, 206, 209, 0.2);
    animation: float-section-particles 8s ease-in-out infinite;
    z-index: 1;
}

#package::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 15%;
    width: 2px;
    height: 2px;
    background: var(--calipso-color);
    border-radius: 50%;
    box-shadow:
        0 0 6px var(--calipso-color),
        40px 50px 0 1px rgba(0, 206, 209, 0.6),
        -30px 20px 0 2px rgba(0, 206, 209, 0.4),
        70px -30px 0 1px rgba(0, 206, 209, 0.3),
        -60px -50px 0 1px rgba(0, 206, 209, 0.5);
    animation: float-section-particles 10s ease-in-out infinite reverse;
    z-index: 1;
}

@keyframes float-section-particles {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: translateY(-15px) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-20px) rotate(270deg);
        opacity: 0.9;
    }
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
}

/* --- SOBRE MÍ - DISEÑO LIMPIO Y RESPONSIVO --- */

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

/* Profile Section */
.about-profile {
    background: var(--card-color);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(0, 206, 209, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.about-profile:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 206, 209, 0.2);
    border-color: var(--calipso-color);
}

.profile-image-wrapper {
    margin-bottom: 1.5rem;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--calipso-color);
    transition: all 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 206, 209, 0.4);
}

.profile-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.profile-role {
    color: var(--calipso-color);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 206, 209, 0.2);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--calipso-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #a0a0a0;
    text-transform: uppercase;
}

/* Content Section */
.about-content {
    background: var(--card-color);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(0, 206, 209, 0.2);
    transition: all 0.3s ease;
}

.about-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 206, 209, 0.2);
    border-color: var(--calipso-color);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #c0c0c0;
    margin-bottom: 2rem;
}

.about-highlights {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 206, 209, 0.1);
    border-radius: 25px;
    border: 1px solid rgba(0, 206, 209, 0.3);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(0, 206, 209, 0.2);
    transform: translateY(-2px);
}

.highlight-icon {
    font-size: 1.2rem;
}

.highlight-text {
    color: var(--calipso-color);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Conference Section */
.conference-section {
    margin-top: 3rem;
}

.conference-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 2rem;
}

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

.conference-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--card-color);
    border: 1px solid rgba(0, 206, 209, 0.2);
    transition: all 0.3s ease;
}

.conference-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 206, 209, 0.3);
    border-color: var(--calipso-color);
}

.conference-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.conference-item:hover .conference-img {
    transform: scale(1.05);
}

.conference-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--calipso-color), var(--calipso-light));
    color: var(--background-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
    opacity: 1;
    visibility: visible;
}



/* --- Contenido Destacado - Carrusel Infinito --- */
.carousel-container {
    overflow: hidden;
    width: 100%;
    margin-top: 2rem;
    position: relative;
    mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.carousel-track {
    display: flex;
    gap: 2rem;
    animation: scroll-infinite 60s linear infinite;
    width: max-content;
}

.featured-card {
    background-color: var(--card-color);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    transform: translateY(0);
    cursor: pointer;
    flex-shrink: 0;
    width: 280px;
    min-width: 280px;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.featured-card:hover::before {
    opacity: 0.1;
}

.featured-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--secondary-color);
    box-shadow: 0 25px 50px rgba(159, 122, 234, 0.4), 0 0 30px rgba(244, 114, 182, 0.3);
}

.featured-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

.featured-card:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.featured-card a {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.featured-card a::after {
    content: '▶️ Ver Video';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-color);
    pointer-events: none;
    z-index: 2;
}

.featured-card:hover a::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

.featured-info {
    padding: 20px;
    text-align: center;
}

.featured-views {
    font-size: 2rem;
    font-weight: 900;
    color: var(--secondary-color);
}

.featured-label {
    font-size: 1.1rem;
    color: #a0a0a0;
}

.featured-date {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(159, 122, 234, 0.1);
    border-radius: 12px;
    display: inline-block;
    border: 1px solid rgba(159, 122, 234, 0.3);
}

.featured-platform {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* Estilo por defecto */
    color: var(--primary-color);
    background: rgba(159, 122, 234, 0.1);
    border: 1px solid rgba(159, 122, 234, 0.3);
}

/* Estilos específicos para TikTok */
.featured-platform[data-platform="tiktok"],
.featured-platform:contains("TikTok") {
    color: #ff0050;
    background: rgba(255, 0, 80, 0.1);
    border: 1px solid rgba(255, 0, 80, 0.3);
}

/* Estilos específicos para Facebook */
.featured-platform[data-platform="facebook"],
.featured-platform:contains("Facebook") {
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
    border: 1px solid rgba(24, 119, 242, 0.3);
}

/* Efectos hover para plataformas */
.featured-card:hover .featured-platform {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Ranking badge */
.featured-rank {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--calipso-color), var(--calipso-light));
    color: var(--background-color);
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 206, 209, 0.4);
}

/* Animación del carrusel infinito */
@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-280px * 11 - 2rem * 11));
    }
}

/* Pausa la animación al hacer hover */
.carousel-container:hover .carousel-track {
    animation-play-state: paused;
}

/* Carrusel deslizable */
.carousel-container {
    cursor: grab;
    user-select: none;
}

.carousel-container:active {
    cursor: grabbing;
}

.carousel-track.dragging {
    animation-play-state: paused;
    transition: none;
}

.carousel-track.smooth-transition {
    transition: transform 0.3s ease;
}

/* Emoticones flotantes en el header */
.floating-emojis {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.floating-emoji {
    position: absolute;
    font-size: 2rem;
    opacity: 0.7;
    animation: float-emoji 15s linear infinite;
    pointer-events: none;
}

.floating-emoji.facebook {
    color: #1877f2;
    animation-delay: 0s;
}

.floating-emoji.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation-delay: 5s;
}

.floating-emoji.tiktok {
    color: #ff0050;
    animation-delay: 10s;
}

/* Posiciones aleatorias para los emoticones */
.floating-emoji:nth-child(1) { left: 10%; animation-duration: 12s; }
.floating-emoji:nth-child(2) { left: 20%; animation-duration: 18s; }
.floating-emoji:nth-child(3) { left: 30%; animation-duration: 15s; }
.floating-emoji:nth-child(4) { left: 40%; animation-duration: 20s; }
.floating-emoji:nth-child(5) { left: 50%; animation-duration: 14s; }
.floating-emoji:nth-child(6) { left: 60%; animation-duration: 16s; }
.floating-emoji:nth-child(7) { left: 70%; animation-duration: 19s; }
.floating-emoji:nth-child(8) { left: 80%; animation-duration: 13s; }
.floating-emoji:nth-child(9) { left: 90%; animation-duration: 17s; }

@keyframes float-emoji {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* --- Estadísticas y Audiencia --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(15px, 3vw, 30px);
    justify-items: center;
    padding: 0 10px;
}

.stat-card {
    background: var(--card-color);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 120px;
    width: 100%;
    max-width: 250px;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--calipso-color), var(--calipso-light));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.stat-card:hover::before {
    opacity: 0.05;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--calipso-color);
    box-shadow: 0 10px 25px rgba(0, 206, 209, 0.2);
}

.stat-card .stat-number,
.stat-card .stat-label {
    position: relative;
    z-index: 1;
    opacity: 1;
    visibility: visible;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    color: #a0a0a0;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* --- Mi Audiencia - Diseño Mejorado --- */
.audience-overview {
    max-width: 1200px;
    margin: 0 auto;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Métricas Principales */
.audience-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.metric-card {
    background: linear-gradient(135deg, var(--card-color) 0%, rgba(26, 26, 26, 0.8) 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(159, 122, 234, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(159, 122, 234, 0.1), transparent);
    transition: left 0.6s;
}

.metric-card:hover::before {
    left: 100%;
}

.metric-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(159, 122, 234, 0.3);
}

.metric-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-animation 3s ease infinite;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1rem;
    color: #a0a0a0;
    font-weight: 500;
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-animation 3s ease infinite;
    transition: all 0.3s ease;
    line-height: 1.1;
}



/* Datos Demográficos */
.audience-demographics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.demo-card {
    background: var(--card-color);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(159, 122, 234, 0.2);
    transition: all 0.3s ease;
}

.demo-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(159, 122, 234, 0.2);
}

.demo-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.demo-icon {
    font-size: 1.5rem;
}

.demo-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-stat:last-child {
    border-bottom: none;
}

.stat-label {
    font-weight: 500;
    color: #a0a0a0;
}

.stat-value {
    font-weight: 600;
    color: var(--primary-color);
}

/* Intereses */
.audience-interests {
    margin-bottom: 4rem;
}

.interests-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.interest-tag {
    background: linear-gradient(135deg, rgba(159, 122, 234, 0.1) 0%, rgba(244, 114, 182, 0.1) 100%);
    padding: 1rem 1.5rem;
    border-radius: 25px;
    text-align: center;
    border: 1px solid rgba(159, 122, 234, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.interest-tag:hover {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, rgba(159, 122, 234, 0.2) 0%, rgba(244, 114, 182, 0.2) 100%);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(159, 122, 234, 0.3);
}

.tag-icon {
    font-size: 1.2rem;
}

/* Conectando a través de Plataformas */
.platform-connection {
    margin-bottom: 2rem;
}

.connection-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2rem;
}

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

.connection-card {
    background: linear-gradient(135deg, var(--card-color) 0%, rgba(26, 26, 26, 0.9) 100%);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(159, 122, 234, 0.2);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.connection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(159, 122, 234, 0.1), transparent);
    transition: left 0.6s;
}

.connection-card:hover::before {
    left: 100%;
}

.connection-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(159, 122, 234, 0.3);
}

.platform-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

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

.platform-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
}

.platform-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.platform-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: #c0c0c0;
    line-height: 1.6;
    padding: 1rem;
    background: rgba(159, 122, 234, 0.1);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
}

.platform-focus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 25px;
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
}

.focus-icon {
    font-size: 1.1rem;
}

.focus-text {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive para audiencia */
@media (max-width: 768px) {
    .audience-metrics {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .audience-demographics {
        grid-template-columns: 1fr;
    }

    .interests-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

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

    .metric-number {
        font-size: 2rem;
    }

    .interests-title, .connection-title {
        font-size: 1.5rem;
    }
}

/* --- SERVICIOS WEB --- */

/* Fondo para sección Servicios Web */
#web-services {
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 206, 209, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(64, 224, 208, 0.08) 0%, transparent 50%),
        linear-gradient(45deg, #000000 0%, #0d0d0d 100%);
    position: relative;
    overflow: hidden;
}

#web-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(0, 206, 209, 0.04) 50%, transparent 70%);
    animation: section-shift 13s ease-in-out infinite;
    z-index: 0;
}

#web-services > * {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: linear-gradient(135deg, var(--card-color) 0%, rgba(26, 26, 26, 0.9) 100%);
    border: 1px solid rgba(0, 206, 209, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 206, 209, 0.1), transparent);
    transition: left 0.6s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--calipso-color);
    box-shadow: 0 20px 40px rgba(0, 206, 209, 0.3);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 0 10px rgba(0, 206, 209, 0.5));
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--calipso-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card p {
    color: #c0c0c0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.service-features span {
    background: rgba(0, 206, 209, 0.1);
    color: var(--calipso-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 206, 209, 0.3);
    transition: all 0.3s ease;
}

.service-features span:hover {
    background: rgba(0, 206, 209, 0.2);
    transform: translateY(-2px);
}

/* CTA Section */
.services-cta {
    background: linear-gradient(135deg, var(--calipso-color), var(--calipso-light));
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%,
        transparent 0deg,
        rgba(255, 255, 255, 0.1) 90deg,
        transparent 180deg,
        rgba(255, 255, 255, 0.05) 270deg,
        transparent 360deg);
    animation: rotate-background 15s linear infinite;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.services-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--background-color);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.services-cta p {
    font-size: 1.1rem;
    color: rgba(10, 10, 10, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-cta .cta-button {
    background: var(--background-color);
    color: var(--calipso-color);
    border: 2px solid var(--background-color);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-cta .cta-button:hover {
    background: transparent;
    color: var(--background-color);
    border-color: var(--background-color);
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.cta-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.services-cta .cta-button:hover .cta-arrow {
    transform: translateX(5px);
}

/* Responsive para servicios web */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

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

    .service-card h3 {
        font-size: 1.3rem;
    }

    .services-cta {
        padding: 2rem 1.5rem;
    }

    .services-cta h3 {
        font-size: 1.5rem;
    }

    .services-cta .cta-button {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 1rem;
    }

    .service-icon {
        font-size: 2rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .service-features span {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .services-cta {
        padding: 1.5rem 1rem;
    }

    .services-cta h3 {
        font-size: 1.3rem;
    }

    .services-cta p {
        font-size: 1rem;
    }
}

/* --- PAQUETE DE COLABORACIÓN MINIMALISTA --- */

/* Título destacado */
#package .section-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--calipso-color), var(--calipso-light), #40E0D0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: glow-pulse 3s ease-in-out infinite;
}

#package .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--calipso-color), transparent);
    border-radius: 2px;
}

@keyframes glow-pulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 206, 209, 0.5);
    }
    50% {
        text-shadow: 0 0 30px rgba(0, 206, 209, 0.8), 0 0 40px rgba(0, 206, 209, 0.3);
    }
}

.package-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.package-card,
.automation-card {
    background: var(--card-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.2s ease;
}

.package-card:hover,
.automation-card:hover {
    border-color: var(--calipso-color);
    transform: translateY(-2px);
}

.package-card h3,
.automation-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.package-card p,
.automation-card p {
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-features li {
    color: #c0c0c0;
    margin-bottom: 0.75rem;
    padding-left: 1rem;
    position: relative;
}

.package-features li::before {
    content: '•';
    color: var(--calipso-color);
    position: absolute;
    left: 0;
}

.automation-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.automation-icon {
    font-size: 1.5rem;
}

.automation-steps {
    margin: 1.5rem 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.step-number {
    background: var(--calipso-color);
    color: var(--background-color);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
}

.step h4 {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    margin: 0 0 0.25rem 0;
}

.step p {
    font-size: 0.8rem;
    color: #a0a0a0;
    margin: 0;
    line-height: 1.4;
}

.automation-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.automation-benefits span {
    background: rgba(0, 206, 209, 0.1);
    color: var(--calipso-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}



/* --- Formulario de Contacto --- */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #a0a0a0;
}

.form-group input,
.form-group textarea {
    background-color: var(--card-color);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    color: var(--text-color);
    font-size: 1rem;
    font-family: var(--font-family);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(159, 122, 234, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

#form-message {
    text-align: center;
    font-weight: 500;
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    min-height: 20px;
}

.form-message.success {
    background-color: rgba(60, 179, 113, 0.2);
    color: #3cb371;
}

.form-message.error {
    background-color: rgba(220, 20, 60, 0.2);
    color: #dc143c;
}

.submit-button {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.submit-button:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--primary-color), 0 0 30px var(--secondary-color);
}

.submit-button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* --- Footer --- */
.footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--card-color);
}

.footer p {
    color: #a0a0a0;
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    /* Hero Section - Móvil */
    .hero {
        padding: 60px 15px;
        min-height: 90vh;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 10px;
    }

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

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

    .hero .mission {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 14px 25px;
        font-size: 0.9rem;
        margin: 0 auto;
    }
    /* Sobre Mí - Responsive */
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-profile,
    .about-content {
        padding: 1.5rem;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .profile-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .about-highlights {
        justify-content: center;
    }

    .conference-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .conference-img {
        height: 200px;
    }

    /* Paquete de Colaboración - Responsive */
    #package .section-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }

    .package-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .package-card,
    .automation-card {
        padding: 1.5rem;
    }

    /* Contenido Destacado - Carrusel Móvil */
    .carousel-container {
        margin-top: 1.5rem;
        mask: linear-gradient(90deg, transparent, white 5%, white 95%, transparent);
        -webkit-mask: linear-gradient(90deg, transparent, white 5%, white 95%, transparent);
    }

    .carousel-track {
        gap: 1.5rem;
        animation-duration: 80s;
    }

    .featured-card {
        width: 250px;
        min-width: 250px;
    }

    .featured-card img {
        height: 300px;
        object-fit: cover;
    }

    .featured-info {
        padding: 15px;
    }

    .featured-views {
        font-size: 1.5rem;
    }

    .featured-rank {
        top: 10px;
        left: 10px;
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }

    /* Estadísticas - Tablets */
    .stat-card {
        padding: 1.8rem;
        min-height: 110px;
        max-width: 220px;
    }

    /* Emoticones flotantes - Tablets */
    .floating-emoji {
        font-size: 1.5rem;
    }

    /* Forzar visibilidad en tablets para evitar problemas con animaciones */
    .fade-in,
    .slide-in-left,
    .slide-in-right,
    .scale-in {
        opacity: 1 !important;
        transform: none !important;
    }

    .lang-switcher {
        position: static;
        margin-bottom: 40px;
        text-align: center;
    }
}

/* Móviles muy pequeños */
@media (max-width: 480px) {
    /* Hero - Móviles muy pequeños */
    .hero {
        padding: 40px 10px;
        min-height: 85vh;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

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

    .hero .mission {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        padding: 0 5px;
    }

    .cta-button {
        padding: 12px 20px;
        font-size: 0.8rem;
        max-width: 240px;
        letter-spacing: 0.5px;
    }

    .hero-buttons {
        gap: 0.75rem;
    }

    /* Sobre Mí - Móviles pequeños */
    .about-profile,
    .about-content {
        padding: 1rem;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .profile-name {
        font-size: 1.5rem;
    }

    .profile-role {
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 1.1rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .highlight-item {
        padding: 0.5rem 0.75rem;
    }

    .highlight-text {
        font-size: 0.8rem;
    }

    .conference-title {
        font-size: 1.5rem;
    }

    .conference-img {
        height: 180px;
    }

    /* Paquete - Móviles pequeños */
    #package .section-title {
        font-size: 1.8rem;
        letter-spacing: 0.5px;
    }

    .package-card,
    .automation-card {
        padding: 1rem;
    }

    .package-card h3,
    .automation-card h3 {
        font-size: 1.3rem;
    }

    .step-number {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }

    .step h4 {
        font-size: 0.8rem;
    }

    .step p {
        font-size: 0.75rem;
    }

    /* Carrusel - Móviles muy pequeños */
    .carousel-track {
        gap: 1rem;
        animation-duration: 100s;
    }

    .featured-card {
        width: 220px;
        min-width: 220px;
        border-radius: 10px;
    }

    .featured-card img {
        height: 250px;
    }

    .featured-info {
        padding: 12px;
    }

    .featured-views {
        font-size: 1.3rem;
    }

    .featured-rank {
        top: 8px;
        left: 8px;
        padding: 0.3rem 0.5rem;
        font-size: 0.65rem;
    }

    .featured-label {
        font-size: 0.8rem;
    }

    .featured-platform {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    /* Estadísticas - Móviles muy pequeños */
    .stat-card {
        padding: 1.5rem;
        min-height: 100px;
        max-width: 200px;
    }

    /* Emoticones flotantes - Móviles pequeños */
    .floating-emoji {
        font-size: 1.2rem;
    }

    /* Forzar visibilidad en móviles para evitar problemas con animaciones */
    .fade-in,
    .slide-in-left,
    .slide-in-right,
    .scale-in {
        opacity: 1 !important;
        transform: none !important;
    }
}
