/* Variables CSS para mejor mantenimiento */
:root {
    /* 🎨 COLORES PRINCIPALES */
    --primary-color: #00ff9c;        /* Verde neón principal */
    --secondary-color: #00cc7a;      /* Verde neón oscuro */
    --accent-color: #00ff9c;         /* Unificado (antes rosa) */
    --tertiary-color: #7dffb3;       /* Verde suave para detalles */

    /* 🌑 FONDOS */
    --bg-dark: #050807;
    --bg-gradient-1: #06120c;
    --bg-gradient-2: #0b1f16;
    --bg-gradient-3: #0f2a1e;

    /* 📝 TEXTOS */
    --text-white: #ffffff;
    --text-light: rgba(255, 255, 255, 0.85);
    --text-medium: rgba(255, 255, 255, 0.65);
    --text-dark: #1a1a1a;

    /* 🧊 GLASS */
    --glass-effect: rgba(0, 255, 156, 0.08);
    --glass-effect-hover: rgba(0, 255, 156, 0.15);
    --border-glass: rgba(0, 255, 156, 0.25);

    /* 🌟 SOMBRAS */
    --shadow-primary: 0 20px 40px rgba(0, 255, 156, 0.35);
    --shadow-secondary: 0 15px 35px rgba(0, 255, 156, 0.25);
    --shadow-accent: 0 10px 30px rgba(0, 255, 156, 0.2);
    --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.6);

    /* ⏱️ TRANSICIONES */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-fast: all 0.2s ease;

    /* 📐 BORDES */
    --border-radius-sm: 10px;
    --border-radius-md: 20px;
    --border-radius-lg: 30px;

    /* 📏 ESPACIADOS */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}


/* Reset y configuración base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-white);
    overflow-x: hidden;
    background: var(--bg-dark);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

/* Cursor personalizado mejorado */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--primary-color), transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease, opacity 0.2s ease;
    mix-blend-mode: difference;
    opacity: 1;
}

.custom-cursor.hover {
    transform: scale(2.5);
    background: radial-gradient(circle, var(--accent-color), transparent);
}

.custom-cursor.click {
    transform: scale(0.8);
    background: radial-gradient(circle, var(--secondary-color), transparent);
}

/* Navegación mejorada */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    padding: 0.5rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-bottom-color: var(--primary-color);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-logo .logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-logo:hover::after {
    width: 100%;
}

.nav-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px var(--primary-color));
}

.logo-icon {
    margin-right: 0.5rem;
    font-size: 2.2rem;
    animation: rotate 15s linear infinite;
    filter: drop-shadow(0 0 8px var(--primary-color));
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-sm);
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    display: block;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--glass-effect), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(0, 255, 136, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.2);
}

/* Menú hamburguesa para móvil */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
}

.nav-toggle:hover {
    background: var(--glass-effect);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section mejorado */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-gradient-1) 50%, var(--bg-gradient-2) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 255, 136, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 123, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 0, 150, 0.1) 0%, transparent 50%);
    animation: backgroundShift 25s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(0,255,136,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
    animation: patternMove 30s linear infinite;
}

@keyframes backgroundShift {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    33% { 
        transform: scale(1.1) rotate(1deg);
        opacity: 1;
    }
    66% { 
        transform: scale(0.9) rotate(-1deg);
        opacity: 0.9;
    }
}

@keyframes patternMove {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(50px, 50px) rotate(360deg); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    animation: fadeInUp 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-width: 1000px;
    padding: 0 var(--spacing-md);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 4s ease-in-out infinite, glowPulse 3s ease-in-out infinite;
    position: relative;
    filter: drop-shadow(0 0 30px rgba(0, 255, 136, 0.5));
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-title::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--tertiary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: -1;
    animation: glitch 8s infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
}

@keyframes glowPulse {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(0, 255, 136, 0.5)); }
    50% { filter: drop-shadow(0 0 50px rgba(0, 255, 136, 0.8)); }
}

@keyframes glitch {
    0%, 90%, 100% { transform: translate(0); }
    95% { transform: translate(-2px, 2px); }
    97% { transform: translate(2px, -1px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(80px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--text-light);
    margin-top: var(--spacing-sm);
    animation: fadeInUp 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both;
    font-weight: 300;
    line-height: 1.4;
}

.hero-cta {
    margin-top: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s both;
}

.hero-footer {
    position: absolute;
    bottom: 2rem;
    display: flex;
    gap: var(--spacing-md);
    color: var(--text-light);
    font-size: 0.95rem;
    animation: fadeInUp 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s both;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 var(--spacing-sm);
}

.hero-footer span {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--glass-effect);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.hero-footer span:hover {
    background: rgba(0, 255, 136, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
    border-color: var(--primary-color);
}

.hero-footer a {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--glass-effect);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.hero-footer a:hover {
    background: rgba(0, 255, 136, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
    border-color: var(--primary-color);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    animation: fadeInUp 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.5s both;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
    0% { transform: translateX(-50%) translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

/* Partículas mejoradas */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: float 20s linear infinite;
    pointer-events: none;
}

.particle:nth-child(odd) {
    width: 3px;
    height: 3px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    animation-duration: 15s;
}

.particle:nth-child(even) {
    width: 2px;
    height: 2px;
    background: var(--secondary-color);
    box-shadow: 0 0 8px var(--secondary-color);
    animation-duration: 20s;
}

.particle:nth-child(3n) {
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    box-shadow: 0 0 12px var(--accent-color);
    animation-duration: 25s;
}

.particle:nth-child(4n) {
    width: 1px;
    height: 1px;
    background: var(--tertiary-color);
    box-shadow: 0 0 6px var(--tertiary-color);
    animation-duration: 30s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) rotate(36deg) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(10vh) rotate(324deg) scale(1);
    }
    100% {
        transform: translateY(-10vh) rotate(360deg) scale(0);
        opacity: 0;
    }
}

/* Secciones base */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--spacing-lg) auto;
    line-height: 1.6;
}

.about {
    background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 100%);
    color: var(--text-white);
    position: relative;
    padding: 7rem 3rem;       /* Más espacio arriba/abajo y lados */
    min-height: 100vh;        /* Ocupa 120% de la altura del viewport, es más grande que la pantalla */
    box-sizing: border-box;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,255,136,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 0;              /* Para que esté detrás del contenido */
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}


.about-content h2 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    line-height: 1.2;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--glass-effect);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.stat-item:hover {
    background: var(--glass-effect-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-top: 0.5rem;
}

.about-image {
    position: relative;
    border-radius: 35px;
    overflow: hidden;
    box-shadow: var(--shadow-primary);
    transform: perspective(1000px) rotateY(-8deg) rotateX(5deg);
    transition: var(--transition-bounce);
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 255, 136, 0.4);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image:hover::before {
    opacity: 1;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.1);
}

/* Skills Section */
.skills {
    background: var(--bg-dark);
    position: relative;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.skill-category {
    background: var(--glass-effect);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.skill-category:hover::before {
    transform: scaleX(1);
}

.skill-category:hover {
    background: var(--glass-effect-hover);
    transform: translateY(-10px);
    box-shadow: var(--shadow-primary);
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.skill-category-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px var(--primary-color));
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.skill-tag {
    background: rgba(0, 255, 136, 0.1);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-lg);
    font-size: 0.9rem;
    border: 1px solid rgba(0, 255, 136, 0.3);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.skill-tag:hover {
    background: rgba(0, 255, 136, 0.2);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

/* Progress bars para skills */
.skill-progress {
    margin-bottom: var(--spacing-md);
}

.skill-progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.skill-progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    transition: width 1s ease;
    position: relative;
}

.skill-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Portfolio/Projects Section */
.portfolio {
    background: linear-gradient(135deg, var(--bg-gradient-2) 0%, var(--bg-gradient-3) 100%);
    position: relative;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.project-card {
    background: var(--glass-effect);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(20px);
    transition: var(--transition-bounce);
    position: relative;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-primary);
    border-color: var(--primary-color);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.project-card:hover .project-image::before {
    transform: translateX(100%);
}

.project-content {
    padding: var(--spacing-md);
}

.project-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--spacing-sm);
}

.project-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
}

.tech-tag {
    background: rgba(0, 123, 255, 0.2);
    color: var(--secondary-color);
    padding: 0.3rem 0.8rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    border: 1px solid rgba(0, 123, 255, 0.3);
    transition: var(--transition-fast);
}

.tech-tag:hover {
    background: rgba(0, 123, 255, 0.3);
    transform: scale(1.05);
}

.project-links {
    display: flex;
    gap: var(--spacing-sm);
}

.project-link {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-link.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
}

.project-link.secondary {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-glass);
}

.project-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services {
    background: var(--bg-dark);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 0, 150, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.service-card {
    background: linear-gradient(135deg, var(--glass-effect), rgba(255, 255, 255, 0.05));
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(20px);
    transition: var(--transition-bounce);
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 8s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: perspective(1000px) rotateX(-5deg) rotateY(5deg) translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-primary);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 0 15px var(--primary-color));
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
    filter: drop-shadow(0 0 25px var(--primary-color));
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.service-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    position: relative;
    z-index: 1;
}

.testimonials-slider {
    display: flex;
    gap: var(--spacing-lg);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--spacing-md) 0;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 350px;
    background: var(--glass-effect);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(20px);
    scroll-snap-align: start;
    transition: var(--transition-smooth);
    position: relative;
}

.testimonial-card:hover {
    background: var(--glass-effect-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
}

.testimonial-quote {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    font-style: italic;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -1rem;
    left: -1rem;
    opacity: 0.3;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-white);
}

.author-info h4 {
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.author-info p {
    color: var(--text-medium);
    font-size: 0.85rem;
}

/* Contact Section */
.contact {
    background: var(--bg-dark);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(0, 123, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-info {
    padding: var(--spacing-lg);
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.contact-info p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--glass-effect);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.contact-item:hover {
    background: var(--glass-effect-hover);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.2);
}

.contact-item-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    filter: drop-shadow(0 0 8px var(--primary-color));
}

.contact-item-text {
    color: var(--text-white);
    font-size: 1rem;
}

.contact-form {
    background: var(--glass-effect);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(20px);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    padding: 0.75rem;
    color: var(--text-white);
    font-size: 1rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.form-submit:hover::before {
    left: 100%;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-glass);
    padding: var(--spacing-xl) 0 var(--spacing-md) 0;
    position: relative;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.footer-section p,
.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    line-height: 1.6;
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--glass-effect);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.2rem;
    transition: var(--transition-bounce);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.4);
    border-color: var(--primary-color);
}

.social-link-profile.twitter:hover {
    background: #000;
    border-color: #000;
    color: #fff;
}

.social-link-profile.email:hover {
    background: linear-gradient(135deg, #00d4aa, #00a885);
    border-color: #00d4aa;
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: var(--spacing-md);
    text-align: center;
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* Cards 3D mejoradas */
.card-3d {
    background: linear-gradient(135deg, var(--glass-effect), rgba(255, 255, 255, 0.05));
    padding: var(--spacing-lg);
    border-radius: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-primary);
    transition: var(--transition-bounce);
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(20px);
}

.card-3d::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: rotate 6s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-3d:hover::before {
    opacity: 1;
}

.card-3d:hover {
    transform: perspective(1000px) rotateX(-10deg) rotateY(10deg) translateY(-15px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 255, 136, 0.3);
    border-color: var(--primary-color);
}

/* Efectos de glassmorphism mejorados */
.glass-card {
    background: var(--glass-effect);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.glass-card:hover {
    background: var(--glass-effect-hover);
    border-color: rgba(0, 255, 136, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    z-index: 1001;
    transition: width 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 255, 136, 0.5);
}

/* Scroll animations mejoradas */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition-smooth);
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.slide-left {
    transform: translateX(-50px);
}

.animate-on-scroll.slide-left.animate-in {
    transform: translateX(0);
}

.animate-on-scroll.slide-right {
    transform: translateX(50px);
}

.animate-on-scroll.slide-right.animate-in {
    transform: translateX(0);
}

.animate-on-scroll.fade-in {
    transform: scale(0.8);
}

.animate-on-scroll.fade-in.animate-in {
    transform: scale(1);
}

.animate-on-scroll.rotate-in {
    transform: rotate(-10deg) scale(0.8);
}

.animate-on-scroll.rotate-in.animate-in {
    transform: rotate(0deg) scale(1);
}

/* Botones mejorados */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--tertiary-color));
    color: var(--text-white);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    box-shadow: var(--shadow-primary);
}

.btn-secondary:hover {
    background: var(--glass-effect);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-primary);
}

.btn-accent:hover {
    box-shadow: var(--shadow-accent);
}

/* Utilidades adicionales */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 3s ease-in-out infinite;
}

.text-glow {
    filter: drop-shadow(0 0 10px currentColor);
}

.backdrop-blur {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.border-gradient {
    position: relative;
    background: var(--glass-effect);
    border-radius: var(--border-radius-md);
}

.border-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
}

/* Loading states */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Mobile mejorado */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 300px;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border-glass);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .skills-grid,
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-slider {
        padding: var(--spacing-sm) 0;
    }

    .testimonial-card {
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xs: 0.25rem;
        --spacing-sm: 0.5rem;
        --spacing-md: 1rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }

    .custom-cursor {
        display: none;
    }

    body {
        cursor: auto;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .nav-container {
        padding: 0 var(--spacing-sm);
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 4rem);
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.5rem);
    }

    .hero-footer {
        flex-direction: column;
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-sm);
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }

    .section-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    section {
        padding: var(--spacing-lg) 0;
    }

    .section-container {
        padding: 0 var(--spacing-sm);
    }

    .card-3d,
    .glass-card,
    .service-card,
    .project-card {
        padding: var(--spacing-md);
    }

    .card-3d:hover,
    .service-card:hover {
        transform: translateY(-5px) scale(1.02);
    }

    .about-image {
        transform: none;
    }

    .about-image:hover {
        transform: scale(1.02);
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-footer {
        flex-direction: column;
        align-items: center;
    }

    .hero-footer span {
        text-align: center;
        width: 100%;
        max-width: 200px;
    }

    .project-card,
    .service-card,
    .testimonial-card {
        min-width: 100%;
    }

    .contact-form {
        padding: var(--spacing-sm);
    }

    .nav-menu {
        width: 100%;
        right: -100%;
    }
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero::before,
    .hero::after,
    .logo-icon,
    .particle {
        animation: none;
    }
    
    .scroll-indicator::before {
        animation: none;
    }
}

/* Focus states mejorados para accesibilidad */
.nav-link:focus,
.btn:focus,
.glass-card:focus,
.form-group input:focus,
.form-group textarea:focus,
.social-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Modo alto contraste */
@media (prefers-contrast: high) {
    :root {
        --text-light: rgba(255, 255, 255, 0.95);
        --border-glass: rgba(255, 255, 255, 0.4);
        --glass-effect: rgba(255, 255, 255, 0.15);
    }
}

/* Modo oscuro preferido */
@media (prefers-color-scheme: dark) {
    /* Ya está optimizado para modo oscuro */
}

/* Print styles */
@media print {
    .navbar,
    .hero-footer,
    .scroll-indicator,
    .particles-container,
    .custom-cursor {
        display: none;
    }
    
    .hero {
        height: auto;
        padding: 2rem 0;
    }
    
    section {
        break-inside: avoid;
        padding: 1rem 0;
    }
    
    .card-3d,
    .glass-card,
    .service-card,
    .project-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Estilos para la sección de contenido expandida */
.web-development-details {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.web-development-details h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.web-development-details p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Estilos para la sección de lenguajes expandida */
.languages-breakdown {
    margin-top: 2rem;
}

.language-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #28a745;
}


/* Estilos para la sección de conceptos expandida */
.concepts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.concept-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #dc3545;
    transition: transform 0.2s ease;
}

.concept-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.concept-card h4 {
    color: #333;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.concept-card p {
    line-height: 1.6;
    color: #666;
    font-size: 0.9rem;
}

.practical-tips {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 255, 156, 0.06);
    border-radius: 12px;
    border-left: 4px solid #00ff9c;
    box-shadow: 0 8px 20px rgba(0, 255, 156, 0.15);
}

.practical-tips h3 {
    color: #ffffff;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.practical-tips p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

/* Estilos para la sección others expandida */
.problem-solving-steps,
.common-challenges,
.debugging-tips {
    margin-top: 1.5rem;
    padding: 1.2rem;
    background-color: rgba(0, 255, 136, 0.05);
    border-radius: 6px;
    border-left: 3px solid #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
}

.problem-solving-steps h4,
.common-challenges h4,
.debugging-tips h4 {
    color: #00ff88;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.problem-solving-steps p,
.common-challenges p,
.debugging-tips p {
    line-height: 1.6;
    color: #00ff88;
    font-size: 0.9rem;
}

/* Responsividad para las nuevas secciones */
@media (max-width: 768px) {
    .concepts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .web-development-details,
    .language-item,
    .concept-card,
    .practical-tips {
        padding: 1rem;
    }
    
    .web-development-details h3,
    .practical-tips h3 {
        font-size: 1.1rem;
    }
    
    .language-item h4,
    .concept-card h4 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .concepts-grid {
        gap: 0.8rem;
    }
    
    .concept-card,
    .language-item {
        padding: 0.8rem;
    }
}

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            line-height: 1.6;
            color: #333;
            overflow-x: hidden;
            background: #0a0a0a;
        }

        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(10, 10, 10, 0.95);
            backdrop-filter: blur(20px);
            z-index: 1000;
            padding: 1rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-logo {
            display: flex;
            align-items: center;
            font-size: 1.5rem;
            font-weight: 700;
            color: #00ff88;
            text-decoration: none;
        }

        .logo-icon {
            margin-right: 0.5rem;
            font-size: 2rem;
            animation: rotate 10s linear infinite;
        }

        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-link {
            color: #fff;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
            padding: 0.5rem 1rem;
            border-radius: 25px;
        }

        .nav-link:hover,
        .nav-link.active {
            color: #00ff88;
            background: rgba(0, 255, 136, 0.1);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            width: 0;
            height: 2px;
            background: #00ff88;
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 80%;
        }

        /* Hero Section */
        .hero {
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: relative;
            background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 20% 20%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 123, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(255, 0, 150, 0.05) 0%, transparent 50%);
            animation: backgroundShift 20s ease-in-out infinite;
        }

        @keyframes backgroundShift {
            0%, 100% { transform: scale(1) rotate(0deg); }
            50% { transform: scale(1.1) rotate(1deg); }
        }

        .hero-content {
            text-align: center;
            z-index: 2;
            animation: fadeInUp 1.5s ease-out;
        }

        .hero-title {
            font-size: clamp(3rem, 8vw, 8rem);
            font-weight: 900;
            background: linear-gradient(135deg, #00ff88, #007bff, #ff0096);
            background-size: 300% 300%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: gradientShift 3s ease-in-out infinite, typewriter 2s steps(12) 1s forwards;
            position: relative;
            overflow: hidden;
            white-space: nowrap;
            border-right: 3px solid #00ff88;
        }

        @keyframes gradientShift {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        @keyframes typewriter {
            from { width: 0; }
            to { width: 100%; border-right: none; }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-footer {
            position: absolute;
            bottom: 2rem;
            display: flex;
            gap: 1rem;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
            animation: fadeInUp 1.5s ease-out 0.5s both;
        }

        /* Particles */
        .particle {
            position: absolute;
            width: 2px;
            height: 2px;
            background: #00ff88;
            border-radius: 50%;
            animation: float 15s linear infinite;
            opacity: 0.6;
        }

        @keyframes float {
            0% {
                transform: translateY(100vh) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 0.6;
            }
            90% {
                opacity: 0.6;
            }
            100% {
                transform: translateY(-100px) rotate(360deg);
                opacity: 0;
            }
        }

        /* Sections */
        section {
            padding: 5rem 0;
            position: relative;
        }

        .section-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        /* About Section */
        .about {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            color: white;
        }

        .about-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .about-content h2 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            background: linear-gradient(135deg, #00ff88, #007bff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .about-content p {
            font-size: 1.1rem;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.8);
        }

        .about-image {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            transform: perspective(1000px) rotateY(-5deg);
            transition: all 0.3s ease;
        }

        .about-image:hover {
            transform: perspective(1000px) rotateY(0deg) scale(1.05);
        }

        .about-image img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .about-image:hover img {
            transform: scale(1.1);
        }

        .coding-art {
            text-align: center;
            margin-top: 4rem;
            padding: 2rem;
            background: rgba(0, 255, 136, 0.1);
            border-radius: 15px;
            border: 1px solid rgba(0, 255, 136, 0.2);
        }

        .coding-art h3 {
            font-size: 1.5rem;
            color: #00ff88;
        }

        /* Content Section */
        .content {
            background: #0a0a0a;
            color: white;
        }

        .content-container {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 4rem;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .algorithm-card {
            background: linear-gradient(135deg, #ff0096, #007bff);
            padding: 2rem;
            border-radius: 20px;
            text-align: center;
            position: relative;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(255, 0, 150, 0.3);
            transition: all 0.3s ease;
        }

        .algorithm-card:hover {
            transform: translateY(-10px) scale(1.05);
            box-shadow: 0 30px 60px rgba(255, 0, 150, 0.4);
        }

        .algorithm-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            animation: shimmer 3s linear infinite;
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%) translateY(-100%) rotate(30deg); }
            100% { transform: translateX(100%) translateY(100%) rotate(30deg); }
        }

        .star-icon {
            font-size: 2rem;
            margin: 1rem 0;
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.2); }
        }

        .content-right h2 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            background: linear-gradient(135deg, #007bff, #00ff88);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .content-right p {
            font-size: 1.1rem;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.8);
        }

        /* Languages Section */
        .languages-section {
            background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
            color: white;
        }

        .languages-container {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 4rem;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .languages-card {
            background: linear-gradient(135deg, #00ff88, #007bff);
            padding: 2rem;
            border-radius: 20px;
            text-align: center;
            position: relative;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 255, 136, 0.3);
            transition: all 0.3s ease;
        }

        .languages-card:hover {
            transform: translateY(-10px) scale(1.05);
            box-shadow: 0 30px 60px rgba(0, 255, 136, 0.4);
        }

        .languages-right h2 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            background: linear-gradient(135deg, #00ff88, #ff0096);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .presentation-banner {
            margin-top: 3rem;
            padding: 1rem;
            background: rgba(0, 255, 136, 0.1);
            border-radius: 10px;
            text-align: center;
            border: 1px solid rgba(0, 255, 136, 0.2);
            font-weight: 500;
        }

        /* Concepts Section */
        .concepts-section {
            background: #0a0a0a;
            color: white;
        }

        .concepts-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            text-align: center;
        }

        .concepts-header h2 {
            font-size: 3rem;
            margin-bottom: 2rem;
            background: linear-gradient(135deg, #ff0096, #007bff, #00ff88);
            background-size: 300% 300%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: gradientShift 3s ease-in-out infinite;
        }

        .concepts-content p {
            font-size: 1.2rem;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.8);
            max-width: 800px;
            margin: 0 auto;
        }

        /* Others Section */
        .others-section {
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            color: white;
        }

        .others-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .problem-solving-card {
            background: linear-gradient(135deg, #007bff, #ff0096);
            padding: 2rem;
            border-radius: 20px;
            text-align: center;
            margin-bottom: 2rem;
            box-shadow: 0 20px 40px rgba(0, 123, 255, 0.3);
            transition: all 0.3s ease;
        }

        .problem-solving-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 30px 60px rgba(0, 123, 255, 0.4);
        }

        .problem-solving-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }

        .problem-solving-card h4 {
            font-size: 1.2rem;
            margin-top: 1rem;
        }

        .problem-description p {
            font-size: 1.1rem;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.8);
        }

        .others-image {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
        }

        .others-image:hover {
            transform: scale(1.05);
        }

        .others-image img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .others-image:hover img {
            transform: scale(1.1);
        }

        /* Animation classes */
        .animate-in {
            animation: slideInUp 1s ease-out both;
        }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Mobile Responsiveness */
        @media (max-width: 768px) {
            .nav-menu {
                display: none;
            }

            .hero-title {
                font-size: 3rem;
            }

            .about-container,
            .content-container,
            .languages-container,
            .others-container {
                grid-template-columns: 1fr;
                gap: 2rem;
                text-align: center;
            }

            .hero-footer {
                flex-direction: column;
                gap: 0.5rem;
            }

            section {
                padding: 3rem 0;
            }
        }

        /* Scroll Indicator */
        .scroll-indicator {
            position: fixed;
            top: 0;
            left: 0;
            width: 0%;
            height: 3px;
            background: linear-gradient(90deg, #00ff88, #007bff, #ff0096);
            z-index: 1001;
            transition: width 0.3s ease;
        }


        /* CSS para Concepts Grid - Versión Suave */
.concepts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.concept-card {
    position: relative;
    background: rgba(0, 255, 156, 0.06);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(0, 255, 156, 0.25);
    box-shadow: 0 10px 25px rgba(0, 255, 156, 0.15);
    color: #e5e7eb;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Barra superior neón */
.concept-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #00ff9c, #00cc7a);
}

/* Hover ligero (mobile friendly) */
.concept-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 255, 156, 0.3);
}

/* Texto */
.concept-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.concept-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 768px) {
    .concepts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .concept-card {
        padding: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .concepts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* CSS para Problem Solving Steps - Versión Suave */
.problem-solving-steps,
.common-challenges,
.debugging-tips {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.2);
    border-left: 4px solid #00ff88;
    transition: all 0.4s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.problem-solving-steps::before,
.common-challenges::before,
.debugging-tips::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 255, 136, 0.05) 100%);
    border-radius: 16px;
    z-index: -1;
}

.problem-solving-steps:hover,
.common-challenges:hover,
.debugging-tips:hover {
    transform: translateX(2px);
    box-shadow: 0 6px 30px rgba(0, 255, 136, 0.3);
}

.problem-solving-steps {
    border-left-color: #00ff88;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.common-challenges {
    border-left-color: #ff006e;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.debugging-tips {
    border-left-color: #00d9ff;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.problem-solving-steps h4,
.common-challenges h4,
.debugging-tips h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #00ff88;
    position: relative;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.problem-solving-steps h4::after {
    content: '🎯';
    position: absolute;
    right: 0;
    font-size: 1.2rem;
    opacity: 0.8;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
}

.common-challenges h4 {
    color: #ff006e;
    text-shadow: 0 0 15px rgba(255, 0, 110, 0.5);
}

.common-challenges h4::after {
    content: '⚠️';
    position: absolute;
    right: 0;
    font-size: 1.2rem;
    opacity: 0.8;
    filter: drop-shadow(0 0 10px rgba(255, 0, 110, 0.5));
}

.debugging-tips h4 {
    color: #00d9ff;
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
}

.debugging-tips h4::after {
    content: '🔧';
    position: absolute;
    right: 0;
    font-size: 1.2rem;
    opacity: 0.8;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.5));
}

.problem-solving-steps p,
.common-challenges p,
.debugging-tips p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Contenedor para las secciones */
.others-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Imagen de la sección others - OPTIMIZADO */
.others-right {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.others-image {
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa;
    position: relative;
}

.others-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: inline-block; /* Cambiar a inline-block */
    border: none;
    outline: none;
    vertical-align: top;
}

/* Indicador de carga */
.others-image::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

/* Animación de carga */
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Ocultar indicador cuando la imagen carga */
.others-image img[src]:not([src=""]) {
    position: relative;
    z-index: 2;
}

.others-image img:not([src=""]) ~ ::before {
    display: none;
}

.others-image:hover img {
    transform: scale(1.05);
}

/* Responsive design */
@media (min-width: 768px) {
    .others-content {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
        align-items: start;
    }
    
    .others-right {
        margin-top: 0;
    }
}

/* Fallback para navegadores que no soporten grid */
@supports not (display: grid) {
    .others-content {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .others-right {
        flex: 1;
        min-width: 300px;
    }
}

/* CSS para Languages Breakdown - Versión Suave */
.languages-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.language-item {
    position: relative;
    background: rgba(0, 255, 156, 0.06);
    padding: 2rem;
    border-radius: 16px;
    color: #e5e7eb;
    border: 1px solid rgba(0, 255, 156, 0.25);
    box-shadow: 0 10px 30px rgba(0, 255, 156, 0.15);
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.language-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(
        180deg,
        #00ff9c,
        #00cc7a
    );
    border-radius: 16px 0 0 16px;
}

.language-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 255, 156, 0.3);
}

.language-item h4 {
    color: #ffffff;
}

.language-item p {
    color: rgba(255, 255, 255, 0.75);
}


@media (min-width: 768px) {
    .languages-breakdown {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .language-item {
        padding: 2.5rem;
    }
    
    .language-item h4 {
        font-size: 1.6rem;
    }
    
    .language-item p {
        font-size: 1.05rem;
    }
}

/* Estilos para el contenido de desarrollo web */
.web-development-details {
    background-color: #d0d3d6b9; /* Fondo gris muy claro */
    padding: 2rem;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Títulos */
.web-development-details h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.web-development-details h3:first-child {
    margin-top: 0;
}

/* Párrafos */
.web-development-details p {
    color: #34495e;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
    text-indent: 1rem;
}

/* Hover effect para interactividad */
.web-development-details:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

/* Responsive design */
@media (max-width: 768px) {
    .web-development-details {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .web-development-details h3 {
        font-size: 1.2rem;
    }
    
    .web-development-details p {
        font-size: 0.9rem;
        text-indent: 0;
    }
}

/* Alternativa con fondo aún más suave */
.web-development-details.soft-bg {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
}

/* Alternativa con gradiente suave */
.web-development-details.gradient-bg {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ═══════════════════════════════════════════════════════════════════════════════ */
/* TECH ICONS & COMPONENTS - CSS OPTIMIZADO                                        */
/* Mejoras: GPU acceleration, contain, will-change controlado, reduced motion      */
/* ═══════════════════════════════════════════════════════════════════════════════ */

/* ═══ TECH ICONS CONTAINER ═══ */
.tech-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px;
    margin: 40px 0;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); /* Safari */
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    contain: layout style; /* Optimización de renderizado */
}

/* Shimmer effect optimizado */
.tech-icons::before {
    content: '';
    position: absolute;
    inset: 0; /* Shorthand para top/right/bottom/left */
    width: 50%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shimmer 3s ease-in-out infinite;
    will-change: transform; /* Mejor que animar 'left' */
    transform: translateX(-100%);
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(300%); }
}

/* ═══ TECH ICON INDIVIDUAL ═══ */
.tech-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 25px 15px;
    border-radius: 16px;
    cursor: pointer;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    contain: layout style paint; /* Aislar repintados */
}

/* Overlay de hover - separado para mejor rendimiento */
.tech-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tech-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.tech-icon:hover::before {
    opacity: 1;
}

/* ═══ ICON CONTAINER ═══ */
.icon-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.tech-icon:hover .icon-container {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ═══ ICONOS (SVG e IMG) ═══ */
.tech-icon svg,
.tech-icon img {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease, filter 0.3s ease;
    /* Evitar layout shift */
    aspect-ratio: 1;
    object-fit: contain;
}

.tech-icon:hover svg,
.tech-icon:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(0, 255, 156, 0.5));
}

/* ═══ TEXTO ═══ */
.tech-icon h4 {
    color: white;
    font-weight: 700;
    font-size: 18px;
    margin: 0;
    text-align: center;
    line-height: 1.2;
}

.tech-icon p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-align: center;
    margin: 0;
    font-weight: 500;
    line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════════════════════════════ */
/* LANGUAGES BREAKDOWN                                                              */
/* ═══════════════════════════════════════════════════════════════════════════════ */

.languages-breakdown {
    margin-top: 50px;
}

.language-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    contain: layout style;
}

.language-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

/* ═══ SKILL BARS ═══ */
.skill-level {
    width: 120px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    flex-shrink: 0;
}

.skill-bar {
    height: 100%;
    border-radius: 3px;
    transform-origin: left;
    animation: fillBar 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    /* Usar transform en vez de width para GPU */
    transform: scaleX(0);
}

@keyframes fillBar {
    to { transform: scaleX(1); }
}

/* Colores de barras con variables CSS */
.html-bar {
    width: 95%;
    background: linear-gradient(90deg, #00ff9c, #00cc7a);
}

.css-bar {
    width: 90%;
    background: linear-gradient(90deg, #00ff9c, #00c270);
}

.js-bar {
    width: 85%;
    background: linear-gradient(90deg, #00ff9c, #00b868);
}

.multi-bar {
    width: 80%;
    background: linear-gradient(90deg, #00ff9c, #00ad60);
}

/* ═══════════════════════════════════════════════════════════════════════════════ */
/* PRESENTATION BANNER                                                              */
/* ═══════════════════════════════════════════════════════════════════════════════ */

.presentation-banner {
    margin-top: 60px;
    padding: 20px 0;
    background: linear-gradient(90deg, rgba(0, 212, 170, 0.1), rgba(0, 163, 255, 0.1));
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-weight: 600;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    flex-wrap: wrap; /* Mejor manejo en pantallas pequeñas */
}

.separator {
    color: rgba(0, 212, 170, 0.8);
    font-size: 20px;
}

/* ═══════════════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE                                                                       */
/* ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .tech-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px 15px;
    }
    
    .icon-container {
        width: 80px;
        height: 80px;
    }
    
    .tech-icon svg,
    .tech-icon img {
        width: 50px;
        height: 50px;
    }
    
    .tech-icon h4 {
        font-size: 16px;
    }
    
    .tech-icon p {
        font-size: 12px;
    }
    
    /* Touch feedback */
    .tech-icon:active {
        transform: scale(0.95);
    }
    
    .item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .skill-level {
        width: 100%;
    }
    
    .banner-content {
        flex-direction: column;
        gap: 10px;
        padding: 0 20px;
    }
    
    .language-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .tech-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px 10px;
    }
    
    .tech-icon {
        padding: 15px 10px;
    }
    
    .icon-container {
        width: 65px;
        height: 65px;
    }
    
    .tech-icon svg,
    .tech-icon img {
        width: 40px;
        height: 40px;
    }
    
    .tech-icon h4 {
        font-size: 14px;
    }
    
    .tech-icon p {
        font-size: 11px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════ */
/* REDUCED MOTION - ACCESIBILIDAD                                                   */
/* ═══════════════════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    .tech-icons::before,
    .skill-bar {
        animation: none;
    }
    
    .skill-bar {
        transform: scaleX(1); /* Mostrar completo sin animación */
    }
    
    .tech-icon,
    .tech-icon::before,
    .icon-container,
    .tech-icon svg,
    .tech-icon img,
    .language-item {
        transition: none;
    }
    
    .tech-icon:hover {
        transform: none;
    }
    
    .tech-icon:hover .icon-container {
        transform: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════ */
/* PERFORMANCE HINTS                                                                */
/* ═══════════════════════════════════════════════════════════════════════════════ */

/* Solo aplicar will-change cuando realmente se va a animar */
@media (hover: hover) {
    .tech-icon:hover,
    .tech-icon:hover .icon-container {
        will-change: transform;
    }
}

/* Quitar will-change después de la animación inicial */
.tech-icons.loaded::before {
    will-change: auto;
}

/* ========================================
   HOSTING SECTION STYLES
   ======================================== */

.hosting-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.hosting-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 123, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hosting-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header */
.hosting-header {
    text-align: center;
    margin-bottom: 60px;
}

.hosting-header .star-icon {
    font-size: 40px;
    color: #00ff88;
    margin-bottom: 20px;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.hosting-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hosting-subtitle {
    font-size: 18px;
    color: #aaaaaa;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Intro */
.hosting-intro {
    text-align: center;
    margin-bottom: 50px;
}

.hosting-intro p {
    font-size: 18px;
    color: #cccccc;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.hosting-intro strong {
    color: #00ff88;
    font-weight: 600;
}

/* Hosting Providers Grid */
.hosting-providers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

/* Hosting Cards */
.hosting-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.hosting-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00ff88, #007bff);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.hosting-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hosting-card:hover::before {
    transform: scaleX(1);
}

/* Hosting Badge */
.hosting-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #0a0a0a;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hosting-badge.economic {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #ffffff;
}

/* Hosting Logo */
.hosting-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.hosting-logo img {
    max-height: 40px;
    max-width: 180px;
    filter: brightness(1.2);
}

.verpex-text {
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 2px;
}

/* Card Title */
.hosting-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    text-align: center;
}

.hosting-tagline {
    text-align: center;
    color: #00ff88;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features List */
.hosting-features {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    color: #cccccc;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item:hover {
    color: #ffffff;
    padding-left: 10px;
}

.check-icon {
    color: #00ff88;
    font-weight: 700;
    font-size: 18px;
    margin-right: 12px;
    min-width: 20px;
}

/* Hosting Description */
.hosting-description {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hosting-description p {
    color: #aaaaaa;
    font-size: 14px;
    line-height: 1.7;
}

/* cPanel Section */
.cpanel-section {
    background: rgba(0, 255, 136, 0.03);
    border: 2px solid rgba(0, 255, 136, 0.1);
    border-radius: 20px;
    padding: 50px 40px;
    margin-bottom: 60px;
}

.cpanel-content {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.cpanel-icon {
    font-size: 60px;
    color: #00ff88;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cpanel-text h3 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.cpanel-text p {
    color: #cccccc;
    font-size: 16px;
    line-height: 1.7;
}

.cpanel-text strong {
    color: #00ff88;
    font-weight: 600;
}

/* cPanel Features Grid */
.cpanel-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.cpanel-feature {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 12px;
    border-left: 3px solid #00ff88;
    transition: all 0.3s ease;
}

.cpanel-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.cpanel-feature h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.cpanel-feature p {
    color: #aaaaaa;
    font-size: 14px;
    line-height: 1.6;
}

/* Call to Action */
.hosting-cta {
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 123, 255, 0.1));
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.hosting-cta h3 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.hosting-cta p {
    color: #cccccc;
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #0a0a0a;
    font-size: 18px;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.5);
    background: linear-gradient(135deg, #00ff88, #00ffaa);
}

/* Animations */
@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hosting-section {
        padding: 60px 15px;
    }

    .hosting-header h2 {
        font-size: 36px;
    }

    .hosting-subtitle {
        font-size: 16px;
    }

    .hosting-providers {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hosting-card {
        padding: 30px 20px;
    }

    .cpanel-content {
        flex-direction: column;
        text-align: center;
    }

    .cpanel-text h3 {
        font-size: 24px;
    }

    .cpanel-features-grid {
        grid-template-columns: 1fr;
    }

    .hosting-cta h3 {
        font-size: 24px;
    }

    .hosting-cta p {
        font-size: 16px;
    }

    .cta-button {
        font-size: 16px;
        padding: 14px 30px;
    }
}

@media (max-width: 480px) {
    .hosting-header h2 {
        font-size: 28px;
    }

    .hosting-card h3 {
        font-size: 24px;
    }

    .cpanel-icon {
        font-size: 40px;
    }
}

/* ========================================
   PROFILE SECTION STYLES
   ======================================== */

.profile-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #0a0a0a 0%, #151515 50%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.profile-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: profilePulse 8s ease-in-out infinite;
}

@keyframes profilePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Profile Content Grid */
.profile-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Profile Card */
.profile-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Avatar */
.profile-avatar {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 25px;
}

.avatar-circle {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00ff88, #007bff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: avatarRotate 10s linear infinite;
}

.avatar-circle::before {
    content: '';
    position: absolute;
    inset: 3px;
    background: #0a0a0a;
    border-radius: 50%;
}

.avatar-initial {
    position: relative;
    z-index: 1;
    font-size: 56px;
    font-weight: 700;
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

@keyframes avatarRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.status-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: #00ff88;
    border: 3px solid #0a0a0a;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0, 255, 136, 0);
    }
}

/* Profile Info */
.profile-info {
    margin-bottom: 25px;
}

.profile-name {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.profile-username {
    font-size: 18px;
    color: #00ff88;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
}

.profile-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 136, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    color: #cccccc;
    font-size: 14px;
}

.location-icon {
    font-size: 16px;
}

/* Profile Divider */
.profile-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 25px 0;
}

/* Profile Description */
.profile-description h3 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.profile-description p {
    color: #aaaaaa;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Profile Tags */
.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tag {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(0, 255, 136, 0.2);
    transform: translateY(-2px);
}

/* Services Card */
.services-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s ease;
}

.services-card:hover {
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.services-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.services-icon {
    font-size: 40px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.services-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

/* Services List */
.services-list {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: #00ff88;
    transform: translateX(5px);
}

.service-icon {
    font-size: 32px;
    min-width: 40px;
}

.service-text h4 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}

.service-text p {
    color: #aaaaaa;
    font-size: 14px;
    line-height: 1.6;
}

/* Services Note */
.services-note {
    background: rgba(255, 200, 0, 0.1);
    border: 1px solid rgba(255, 200, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.note-icon {
    font-size: 24px;
    min-width: 24px;
}

.services-note p {
    color: #dddddd;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.services-note strong {
    color: #ffc800;
}

/* Profile Stats */
.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #00ff88;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.stat-label {
    color: #aaaaaa;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Banner */
.profile-contact-banner {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 123, 255, 0.1));
    border: 2px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: 50px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.profile-contact-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 123, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.banner-text {
    position: relative;
    z-index: 1;
}

.banner-text h3 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.banner-text p {
    color: #cccccc;
    font-size: 16px;
}

.profile-cta-button {
    position: relative;
    z-index: 1;
    display: inline-block;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #0a0a0a;
    font-size: 18px;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
    white-space: nowrap;
}

.profile-cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.5);
}

/* Responsive Design */
@media (max-width: 968px) {
    .profile-content {
        grid-template-columns: 1fr;
    }

    .profile-contact-banner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .profile-section {
        padding: 60px 15px;
    }

    .profile-card,
    .services-card {
        padding: 30px 20px;
    }

    .profile-name {
        font-size: 28px;
    }

    .services-header h3 {
        font-size: 24px;
    }

    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner-text h3 {
        font-size: 24px;
    }

    .profile-cta-button {
        font-size: 16px;
        padding: 14px 30px;
    }
}

@media (max-width: 480px) {
    .avatar-circle {
        width: 100px;
        height: 100px;
    }

    .avatar-initial {
        font-size: 42px;
    }

    .profile-name {
        font-size: 24px;
    }

    .service-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 32px;
    }
}

.cta-unique-link {
  display: inline-block;
  padding: 12px 24px;
  background: transparent;
  color: #00ff9c;
  border: 2px solid #00ff9c;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-unique-link:hover {
  background: rgba(0, 255, 156, 0.08);
  box-shadow: 0 0 18px rgba(0, 255, 156, 0.6);
  transform: translateY(-2px);
}

.cta-unique-link:active {
  transform: scale(0.96);
}

.others-image model-viewer {
    border-radius: 12px;
    background: #0f0f0f;
}


    .gaming-pc-scroll-section {
        position: relative;
        width: 100%;
        background: #000;
    }
    
    .gaming-pc-video-container {
        position: relative;
        width: 100%;
    }
    
    #gamingPcScrollVideo {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .gaming-pc-video-label {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 10px 20px;
        border-radius: 20px;
        font-size: 14px;
        z-index: 2;
    }
    
    @media (max-width: 768px) {
        .gaming-pc-video-label {
            font-size: 12px;
            padding: 8px 16px;
            bottom: 10px;
        }
    }

    /* ========================================
   TRANSICIONES SUAVES ENTRE SECCIONES
   ======================================== */

/* Hero Section - transición hacia About */
.hero {
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(26, 26, 46, 0.4) 40%,
        rgba(26, 26, 46, 0.7) 70%,
        #1a1a2e 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* About Section - transición hacia Profile */
.about {
    position: relative;
}

.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(10, 10, 10, 0.4) 40%,
        rgba(10, 10, 10, 0.7) 70%,
        #0a0a0a 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* Profile Section - SIN transición (negro a negro) */

/* Content Section - transición hacia Languages */
.content {
    position: relative;
}

.content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(22, 33, 62, 0.3) 40%,
        rgba(22, 33, 62, 0.6) 70%,
        #16213e 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* Languages Section - transición de azul hacia negro (concepts) */
.languages-section {
    position: relative;
}

.languages-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(10, 10, 10, 0.4) 40%,
        rgba(10, 10, 10, 0.7) 70%,
        #0a0a0a 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* Concepts Section - transición hacia Others */
.concepts-section {
    position: relative;
}

.concepts-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(26, 26, 46, 0.3) 40%,
        rgba(26, 26, 46, 0.6) 70%,
        #1a1a2e 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* Others Section - transición hacia Hosting (súper oscuro) */
.others-section {
    position: relative;
}

.others-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(8, 8, 8, 0.4) 40%,
        rgba(8, 8, 8, 0.7) 70%,
        #080808 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* Hosting Section - última sección, sin transición */

/* Asegurar que el contenido esté por encima de las transiciones */
.hero-content,
.about-container,
.profile-container,
.content-container,
.languages-container,
.concepts-container,
.others-container,
.hosting-container,
.algorithm-card,
.languages-card,
.problem-solving-card {
    position: relative;
    z-index: 1;
}

/* ========================================
   CORRECCIÓN WEB DEVELOPMENT DETAILS
   ======================================== */

.web-development-details {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.web-development-details h3 {
    color: #00ff88;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    border-bottom: 2px solid rgba(0, 255, 136, 0.3);
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.web-development-details h3:first-child {
    margin-top: 0;
}

.web-development-details p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: justify;
}

.web-development-details:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 255, 136, 0.2);
    box-shadow: 0 12px 40px rgba(0, 255, 136, 0.15);
}

/* ========================================
   CORRECCIÓN PRESENTATION BANNER
   ======================================== */

.presentation-banner {
    margin-top: 60px;
    padding: 20px 0;
    background: rgba(0, 255, 136, 0.05);
    border-radius: 50px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-weight: 600;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.separator {
    color: #00ff88;
    font-size: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */

@media (max-width: 768px) {
    /* Reducir altura de transiciones */
    .hero::after,
    .about::after,
    .content::after,
    .languages-section::after,
    .concepts-section::after,
    .others-section::after {
        height: 120px;
    }
    
    /* Web development details */
    .web-development-details {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .web-development-details h3 {
        font-size: 1.2rem;
    }
    
    .web-development-details p {
        font-size: 0.95rem;
        text-align: left;
    }
    
    /* Banner */
    .banner-content {
        flex-direction: column;
        gap: 10px;
        font-size: 14px;
    }
}

/* Redes Sociales en Profile Card */
.profile-social {
    margin-top: 20px;
}

.profile-social h4 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.social-links-profile {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link-profile:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.08);
}

.social-link-profile.instagram:hover {
    border-color: #E4405F;
    box-shadow: 0 0 20px rgba(228, 64, 95, 0.3);
}

.social-link-profile.instagram:hover svg {
    color: #E4405F;
}

.social-link-profile.tiktok:hover {
    border-color: #00f2ea;
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.3);
}

.social-link-profile.tiktok:hover svg {
    color: #00f2ea;
}

.social-link-profile svg {
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .social-link-profile {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .social-link-profile svg {
        width: 20px;
        height: 20px;
    }
}

/* Avatar con foto real - tamaño normal de perfil */
.profile-avatar {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 25px;
}

.avatar-circle {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00ff88, #007bff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 4px;
    animation: avatarRotate 10s linear infinite;
}

.avatar-circle::before {
    content: '';
    position: absolute;
    inset: 4px;
    background: #0a0a0a;
    border-radius: 50%;
    z-index: 1;
}

.avatar-initial {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-initial img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.status-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: #00ff88;
    border: 3px solid #0a0a0a;
    border-radius: 50%;
    z-index: 3;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes avatarRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes statusPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0, 255, 136, 0);
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .profile-avatar {
        width: 120px;
        height: 120px;
    }
    
    .status-indicator {
        width: 16px;
        height: 16px;
        bottom: 8px;
        right: 8px;
        border-width: 2px;
    }
}

@media (max-width: 480px) {
    .profile-avatar {
        width: 100px;
        height: 100px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════ */
/* ANIMACIONES MEJORADAS PARA TARJETAS - Costa-Craft                               */
/* Entrada suave, escalonada y profesional                                          */
/* ═══════════════════════════════════════════════════════════════════════════════ */

/* ═══ ESTADO INICIAL (antes de animar) ═══ */
.language-item,
.concept-card {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: 
        opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* ═══ ESTADO ANIMADO (cuando entra en vista) ═══ */
.language-item.animate-in,
.concept-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ═══ DELAYS ESCALONADOS - LANGUAGE ITEMS (2x2 grid) ═══ */
.language-item:nth-child(1) { transition-delay: 0s; }
.language-item:nth-child(2) { transition-delay: 0.1s; }
.language-item:nth-child(3) { transition-delay: 0.2s; }
.language-item:nth-child(4) { transition-delay: 0.3s; }
.language-item:nth-child(5) { transition-delay: 0.4s; }
.language-item:nth-child(6) { transition-delay: 0.5s; }

/* ═══ DELAYS ESCALONADOS - CONCEPT CARDS (3x2 grid) ═══ */
/* Primera fila */
.concept-card:nth-child(1) { transition-delay: 0s; }
.concept-card:nth-child(2) { transition-delay: 0.1s; }
.concept-card:nth-child(3) { transition-delay: 0.2s; }
/* Segunda fila */
.concept-card:nth-child(4) { transition-delay: 0.15s; }
.concept-card:nth-child(5) { transition-delay: 0.25s; }
.concept-card:nth-child(6) { transition-delay: 0.35s; }

/* ═══ HOVER EFFECTS MEJORADOS ═══ */
.language-item:hover,
.concept-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 255, 156, 0.1);
    border-color: rgba(0, 255, 156, 0.3);
}

/* Glow en el borde superior/lateral */
.language-item::after,
.concept-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 156, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.language-item:hover::after,
.concept-card:hover::after {
    opacity: 1;
}

/* ═══ LÍNEA DECORATIVA ANIMADA (la verde que tienen) ═══ */
.language-item .accent-line,
.concept-card .accent-line,
.language-item h3::after,
.concept-card h4::after {
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

.language-item.animate-in .accent-line,
.concept-card.animate-in .accent-line,
.language-item.animate-in h3::after,
.concept-card.animate-in h4::after {
    transform: scaleX(1);
}

/* ═══ TEXTO INTERNO CON FADE ═══ */
.language-item p,
.concept-card p {
    opacity: 0;
    transform: translateY(10px);
    transition: 
        opacity 0.4s ease 0.2s,
        transform 0.4s ease 0.2s;
}

.language-item.animate-in p,
.concept-card.animate-in p {
    opacity: 1;
    transform: translateY(0);
}

/* ═══ ICONOS/ESTRELLAS ANIMADOS ═══ */
.language-item .star-icon,
.concept-card .star-icon {
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    transition: 
        opacity 0.3s ease,
        transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.language-item.animate-in .star-icon,
.concept-card.animate-in .star-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    transition-delay: 0.4s;
}

/* ═══ RESPONSIVE - Móviles ═══ */
@media (max-width: 768px) {
    .language-item,
    .concept-card {
        transform: translateY(30px) scale(0.98);
    }
    
    /* Delays más cortos en móvil */
    .language-item:nth-child(1),
    .concept-card:nth-child(1) { transition-delay: 0s; }
    .language-item:nth-child(2),
    .concept-card:nth-child(2) { transition-delay: 0.08s; }
    .language-item:nth-child(3),
    .concept-card:nth-child(3) { transition-delay: 0.16s; }
    .language-item:nth-child(4),
    .concept-card:nth-child(4) { transition-delay: 0.24s; }
    .language-item:nth-child(5),
    .concept-card:nth-child(5) { transition-delay: 0.32s; }
    .language-item:nth-child(6),
    .concept-card:nth-child(6) { transition-delay: 0.4s; }
    
    /* Touch feedback */
    .language-item:active,
    .concept-card:active {
        transform: scale(0.97);
        transition-duration: 0.1s;
    }
}

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
    .language-item,
    .concept-card {
        opacity: 1;
        transform: none;
        transition: box-shadow 0.2s ease, border-color 0.2s ease;
    }
    
    .language-item p,
    .concept-card p,
    .language-item .star-icon,
    .concept-card .star-icon {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════ */
/* BOTONES FLOTANTES - WhatsApp + Plantillas                                        */
/* ═══════════════════════════════════════════════════════════════════════════════ */

.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

/* Estilo base para ambos botones */
.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn svg {
    width: 26px;
    height: 26px;
}

/* Tooltip */
.floating-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    background: #1a1a2e;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-btn:hover::before {
    opacity: 1;
    visibility: visible;
}

/* ═══ BOTÓN WHATSAPP ═══ */
.floating-btn.whatsapp {
    background: #25D366;
}

.floating-btn.whatsapp:hover {
    background: #20bd5a;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.floating-btn.whatsapp svg {
    fill: #fff;
}

/* ═══ BOTÓN PLANTILLAS ═══ */
.floating-btn.plantillas {
    background: #0a0a0f;
    border: 2px solid #00ff88;
}

.floating-btn.plantillas:hover {
    background: #00ff88;
    box-shadow: 0 6px 25px rgba(0, 255, 136, 0.5);
}

.floating-btn.plantillas svg {
    stroke: #00ff88;
    fill: none;
    transition: stroke 0.3s ease;
}

.floating-btn.plantillas:hover svg {
    stroke: #0a0a0f;
}

/* ═══ ANIMACIÓN DE ENTRADA ═══ */
.floating-buttons .floating-btn {
    animation: floatIn 0.5s ease forwards;
    opacity: 0;
}

.floating-buttons .floating-btn:nth-child(1) {
    animation-delay: 0.2s;
}

.floating-buttons .floating-btn:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
    }

    .floating-btn svg {
        width: 24px;
        height: 24px;
    }

    .floating-btn::before {
        display: none;
    }
}