/* ====================================
   WEBSTOREAR - DISEÑO PROFESIONAL 2025 - REDISEÑO
   Paleta: Morado/Violeta, Cyan Brillante, Naranja + Fondo Oscuro
   ==================================== */

/* Fuentes Premium */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============ RESET Y CONFIGURACIÓN BASE ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colores Profesionales - NUEVO TEMA */
    --primary-dark: #5b21b6;
    --primary-light: #7c3aed;
    --secondary: #06b6d4;
    --accent: #f97316;
    --accent-light: #fb923c;
    --background: #0f0a1e;
    --surface: #1a1333;
    --text-primary: #ffffff;
    --text-secondary: #c4b5fd;
    --border: #2d1b4e;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
    --gradient-primary: linear-gradient(135deg, #5b21b6 0%, #7c3aed 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --gradient-accent: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    --glow-primary: 0 0 30px rgba(124, 58, 237, 0.6), 0 0 60px rgba(124, 58, 237, 0.3);
    --glow-secondary: 0 0 30px rgba(6, 182, 212, 0.6), 0 0 60px rgba(6, 182, 212, 0.3);
    --glow-accent: 0 0 30px rgba(249, 115, 22, 0.6), 0 0 60px rgba(249, 115, 22, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
}

/* Fondo animado con partículas */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.08) 0%, transparent 50%);
    animation: backgroundPulse 15s ease infinite;
    z-index: -1;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-primary);
}

/* ============ NAVBAR PREMIUM CON GLASSMORPHISM ============ */
.elegant-navbar {
    background: rgba(15, 10, 30, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.3), 0 0 80px rgba(6, 182, 212, 0.2);
    border-bottom: 2px solid rgba(124, 58, 237, 0.5);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 0;
}

.elegant-navbar.scrolled {
    padding: 0.3rem 0;
    background: rgba(15, 10, 30, 0.95) !important;
    box-shadow: 0 12px 48px rgba(124, 58, 237, 0.5), 0 0 100px rgba(6, 182, 212, 0.3);
}

.elegant-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.7));
    animation: brandGlow 3s ease-in-out infinite;
}

@keyframes brandGlow {
    0%, 100% { filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.7)); }
    50% { filter: drop-shadow(0 0 25px rgba(6, 182, 212, 1)); }
}

.elegant-brand:hover {
    transform: scale(1.05) rotate(-2deg);
}

.elegant-link {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
}

.elegant-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-secondary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    box-shadow: var(--glow-secondary);
    border-radius: 2px;
}

.elegant-link:hover {
    color: var(--secondary) !important;
    transform: translateY(-2px);
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.8);
}

.elegant-link:hover::before {
    width: 80%;
}

.elegant-btn-outline {
    border: 2px solid var(--secondary);
    color: var(--secondary) !important;
    border-radius: 50px;
    padding: 10px 28px !important;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.elegant-btn-outline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-secondary);
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    z-index: -1;
}

.elegant-btn-outline:hover::before {
    width: 300px;
    height: 300px;
}

.elegant-btn-outline:hover {
    color: white !important;
    border-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: var(--glow-secondary);
}

/* ============ SECCIONES CON ANIMACIONES MEJORADAS ============ */
.section {
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0;
    transform: translateY(60px);
    animation: fadeInUp 1s ease-out forwards;
    width: 100%;
    margin: 0;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.5), transparent);
}

.section:first-child::before {
    display: none;
}

.section:nth-child(even) {
    background: var(--surface);
}

.section:nth-child(odd) {
    background: var(--background);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section:nth-child(1) { animation-delay: 0.3s; }
.section:nth-child(2) { animation-delay: 0.5s; }
.section:nth-child(3) { animation-delay: 0.7s; }
.section:nth-child(4) { animation-delay: 0.9s; }

/* ============ HERO SECTION CON EFECTOS AVANZADOS ============ */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 180px 0 120px;
    min-height: 100vh;
    width: 100%;
    margin: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(6, 182, 212, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(249, 115, 22, 0.2) 0%, transparent 50%);
    animation: heroPatternMove 20s ease infinite;
}

@keyframes heroPatternMove {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(30px, -30px) scale(1.1) rotate(5deg); }
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(124, 58, 237, 0.05) 10px, rgba(124, 58, 237, 0.05) 20px);
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-section > div {
    position: relative;
    z-index: 2;
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 60px;
}

.hero-section h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 24px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8),
                 0 0 60px rgba(124, 58, 237, 0.8),
                 0 0 100px rgba(6, 182, 212, 0.5);
    animation: slideInDown 1s ease-out, titlePulse 3s ease-in-out infinite;
    letter-spacing: -1px;
    color: #ffffff;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.hero-section p {
    font-size: 1.4rem;
    opacity: 0.98;
    max-width: 100%;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeIn 1s ease-out 0.3s backwards;
    font-weight: 500;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.95);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-cta {
    margin-top: 50px;
    animation: fadeIn 1s ease-out 0.6s backwards;
}

/* ============ BOTONES CON ANIMACIONES AVANZADAS ============ */
.elegant-btn {
    background: var(--gradient-accent);
    border: none;
    color: white;
    padding: 18px 48px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.5),
                0 0 60px rgba(249, 115, 22, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

.elegant-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.elegant-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.elegant-btn:hover::before {
    width: 400px;
    height: 400px;
}

.elegant-btn:hover::after {
    transform: translateX(100%);
}

.elegant-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--glow-accent);
    border-color: rgba(255, 255, 255, 0.3);
}

.elegant-btn:active {
    transform: translateY(-2px) scale(1.02);
}

/* ============ TÍTULO DE SECCIÓN CON EFECTOS ============ */
.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    color: #ffffff;
    position: relative;
    display: block;
    width: 100%;
    text-shadow: 0 0 40px rgba(124, 58, 237, 0.8);
    filter: drop-shadow(0 0 30px rgba(124, 58, 237, 0.6));
    padding: 0;
    animation: titleFloat 3s ease-in-out infinite;
}

@keyframes titleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: var(--gradient-secondary);
    border-radius: 2px;
    box-shadow: var(--glow-secondary);
    animation: lineExpand 2s ease-in-out infinite;
}

@keyframes lineExpand {
    0%, 100% { width: 120px; }
    50% { width: 180px; }
}

/* ============ GALERÍA DE SERVICIOS CON HOVER 3D ============ */
.services-gallery {
    background: var(--surface);
    padding: 80px 0 !important;
    width: 100%;
    margin: 0;
}

.services-gallery > div {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.services-gallery > div > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 0;
    width: 100%;
}

.service-item {
    background: rgba(26, 19, 51, 0.8);
    border-radius: 0;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    position: relative;
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    box-shadow: var(--glow-primary);
}

.service-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover::after {
    opacity: 1;
}

.service-item:hover {
    transform: translateY(-20px) rotateX(5deg);
    box-shadow: var(--shadow-lg), var(--glow-primary);
    border-color: var(--primary-light);
    z-index: 10;
}

.service-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9);
}

.service-item:hover img {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1.1);
}

.service-item .content {
    padding: 36px;
    text-align: center;
}

.service-item h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 16px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); }
    50% { text-shadow: 0 0 20px rgba(124, 58, 237, 0.6); }
}

.service-item p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.service-price {
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 24px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.5));
}

/* ============ PORTAFOLIO CON EFECTOS DE LUZ ============ */
.portfolio-grid {
    background: var(--background);
    padding: 80px 0 !important;
    width: 100%;
    margin: 0;
}

.portfolio-grid > div {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.portfolio-grid > div > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 0;
    width: 100%;
}

.portfolio-item {
    background: rgba(26, 19, 51, 0.8);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    position: relative;
    backdrop-filter: blur(10px);
}

.portfolio-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.portfolio-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(124, 58, 237, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.portfolio-item:hover::before {
    opacity: 1;
}

.portfolio-item:hover::after {
    transform: translateX(100%);
}

.portfolio-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-lg), var(--glow-secondary);
    border-color: var(--secondary);
    z-index: 10;
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.9);
}

.portfolio-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.portfolio-item .content {
    padding: 28px;
}

.portfolio-item h4 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.portfolio-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============ STARLINK CON ANIMACIÓN DE PARTÍCULAS ============ */
.starlink-section {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    width: 100%;
    margin: 0;
}

.starlink-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.4) 0%, transparent 70%);
    animation: starRotate 25s linear infinite;
}

@keyframes starRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.starlink-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.3), transparent);
    background-size: 200% 200%;
    animation: starsMove 40s linear infinite;
}

@keyframes starsMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.starlink-highlight {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    background: rgba(26, 19, 51, 0.5);
    backdrop-filter: blur(30px);
    border-radius: 0;
    padding: 60px 40px;
    border: none;
    border-top: 3px solid rgba(6, 182, 212, 0.6);
    border-bottom: 3px solid rgba(6, 182, 212, 0.6);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6),
                var(--glow-secondary);
    width: 100%;
}

.starlink-highlight h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.8);
    color: #ffffff;
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.starlink-highlight p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    opacity: 0.98;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.95);
}

.starlink-highlight img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transition: transform 0.5s ease;
}

.starlink-highlight img:hover {
    transform: scale(1.08) rotate(2deg);
}

/* ============ FOOTER PREMIUM ============ */
footer {
    background: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 60px 40px;
    border-top: 4px solid var(--secondary);
    position: relative;
    overflow: hidden;
    box-shadow: 0 -4px 30px rgba(6, 182, 212, 0.4);
    width: 100%;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        linear-gradient(-135deg, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
}

footer p {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 500;
}

/* ============ ANIMACIONES ADICIONALES ============ */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ============ SCROLL INDICATOR CON GRADIENTE ============ */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--gradient-secondary);
    z-index: 9999;
    transition: width 0.2s ease;
    box-shadow: var(--glow-secondary);
}

/* ============ PARTÍCULAS FLOTANTES ============ */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.8), transparent);
    border-radius: 50%;
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .hero-section h1 {
        font-size: 4rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .hero-section > div {
        padding: 0 40px;
    }

    .starlink-highlight {
        padding: 50px 40px;
    }

    .services-gallery > div > div {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .portfolio-grid > div > div {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 150px 0 100px;
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    .hero-section p {
        font-size: 1.2rem;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .services-gallery,
    .portfolio-grid {
        padding: 60px 0 !important;
    }

    .hero-section > div {
        padding: 0 30px;
    }

    .services-gallery > div > div,
    .portfolio-grid > div > div {
        grid-template-columns: 1fr;
    }

    .elegant-btn {
        padding: 14px 32px;
        font-size: 0.95rem;
    }

    .starlink-highlight {
        padding: 40px 30px;
    }

    .starlink-highlight h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .elegant-brand {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-section > div {
        padding: 0 20px;
    }

    .starlink-highlight {
        padding: 30px 20px;
    }

    .starlink-highlight h2 {
        font-size: 2rem;
    }
}

/* ============ UTILIDADES ============ */
.text-gradient-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-secondary {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============ ADMIN STYLES DARK ============ */
.admin-sidebar {
    background: var(--surface);
    border-right: 2px solid var(--border);
}

.admin-sidebar .list-group-item {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border);
}

.admin-sidebar .list-group-item:hover {
    background: rgba(124, 58, 237, 0.2);
    border-color: var(--primary-light);
}

.admin-main {
    background: var(--background);
    color: var(--text-primary);
}

.admin-card {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.table {
    color: var(--text-primary);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(26, 19, 51, 0.5);
}

/* ============ MODAL/LIGHTBOX PARA IMÁGENES ============ */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 10, 30, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
    overflow: auto;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content-wrapper {
    position: relative;
    max-width: 95%;
    max-height: 95vh;
    margin: auto;
    padding: 20px;
    animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-content-wrapper img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--glow-secondary);
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 48px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    background: rgba(249, 115, 22, 0.8);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--glow-accent);
}

.modal-close:hover {
    background: var(--accent);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.7);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 48px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    background: rgba(6, 182, 212, 0.8);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    border: 2px solid rgba(255, 255, 255, 0.3);
    user-select: none;
}

.modal-nav:hover {
    background: var(--secondary);
    transform: translateY(-50%) scale(1.15);
    box-shadow: var(--glow-secondary);
}

.modal-prev {
    left: 30px;
}

.modal-next {
    right: 30px;
}

.modal-caption {
    text-align: center;
    color: white;
    font-size: 1.3rem;
    margin-top: 20px;
    padding: 15px;
    background: rgba(26, 19, 51, 0.8);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.modal-counter {
    position: absolute;
    top: 20px;
    left: 30px;
    color: white;
    font-size: 1.2rem;
    background: rgba(26, 19, 51, 0.9);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    border: 2px solid var(--secondary);
    box-shadow: var(--glow-secondary);
}

/* Animaciones */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Cursor personalizado en modal */
.image-modal img {
    cursor: zoom-out;
}

.portfolio-item img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-close {
        top: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
        font-size: 36px;
    }
    
    .modal-nav {
        width: 50px;
        height: 50px;
        font-size: 36px;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
    
    .modal-counter {
        top: 10px;
        left: 10px;
        font-size: 1rem;
        padding: 8px 16px;
    }
    
    .modal-caption {
        font-size: 1.1rem;
        padding: 12px;
    }
    
    .modal-content-wrapper {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .modal-close,
    .modal-nav {
        width: 45px;
        height: 45px;
        font-size: 28px;
    }
    
    .modal-caption {
        font-size: 1rem;
        padding: 10px;
    }
}

/* Loading spinner para modal */
.modal-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 4px solid rgba(6, 182, 212, 0.3);
    border-top: 4px solid var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}