:root {
    --primary-dark: #28343C;
    --primary-white: #FFFFFF;
    --accent-blue: #2BB6ED;
    --light-gray: #EBEBEB;
    --light-blue: #C1F0FB;
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--primary-dark);
    background: var(--primary-white);
    transition: var(--transition);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--accent-blue) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: -1;
}

body.dark-mode::before {
    opacity: 0.1;
}

body.dark-mode {
    background: var(--primary-dark);
    color: var(--primary-white);
}

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

@media (min-width: 1200px) {
    .container {
        padding: 0 40px;
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(43, 182, 237, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    transition: var(--transition);
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(43, 182, 237, 0.03), transparent);
    animation: headerShimmer 8s ease-in-out infinite;
}

@keyframes headerShimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

body.dark-mode header {
    background: rgba(40, 52, 60, 0.95);
    border-bottom: 1px solid rgba(43, 182, 237, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

header.scrolled {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(43, 182, 237, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

/* Floating particles effect for header */
header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(43, 182, 237, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 40% 40%, rgba(43, 182, 237, 0.03) 0%, transparent 20%);
    background-size: 100px 100px, 80px 80px, 120px 120px;
    animation: floatingParticles 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes floatingParticles {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.5;
    }
    33% {
        transform: translateX(20px) translateY(-10px) rotate(120deg);
        opacity: 0.8;
    }
    66% {
        transform: translateX(-15px) translateY(5px) rotate(240deg);
        opacity: 0.3;
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    transition: width 0.6s ease;
    transform: translateX(-50%);
}

nav:hover::after {
    width: 80%;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-blue);
    text-decoration: none;
    position: relative;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 10px rgba(43, 182, 237, 0.2));
}

.logo::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, var(--accent-blue), #00FFFF, var(--accent-blue));
    background-size: 300% 300%;
    border-radius: 15px;
    opacity: 0;
    z-index: -1;
    animation: logoGradient 4s ease infinite;
    transition: opacity 0.3s ease;
}

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

.logo:hover {
    transform: translateY(-3px) scale(1.05);
    filter: drop-shadow(0 8px 20px rgba(43, 182, 237, 0.4));
}

.logo:hover::before {
    opacity: 0.1;
}

.logo img {
    transition: all 0.4s ease;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(2deg); }
}

.logo:hover img {
    transform: rotate(5deg) scale(1.1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: inherit;
    font-weight: 700;
    transition: var(--transition);
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(43, 182, 237, 0.1), rgba(0, 255, 255, 0.1));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), #00FFFF, var(--accent-blue));
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    animation: underlineShimmer 2s ease-in-out infinite;
}

@keyframes underlineShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.nav-links a:hover::before {
    transform: scaleX(1);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-links a strong {
    font-weight: 700;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-blue);
    transform: translateY(-3px);
    text-shadow: 0 0 10px rgba(43, 182, 237, 0.3);
}

.nav-links a:hover strong {
    text-shadow: 0 0 15px rgba(43, 182, 237, 0.5);
    letter-spacing: 0.5px;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-blue) 0%, #1da5dc 50%, var(--accent-blue) 100%);
    background-size: 200% 100%;
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(43, 182, 237, 0.3);
    border: 2px solid var(--accent-blue);
    transition: all 0.4s ease;
}

.btn-primary:hover {
    background-position: -100% 0;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(43, 182, 237, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 2px 10px rgba(43, 182, 237, 0.3);
}

.btn-primary strong {
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.btn-secondary {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
    transition: all 0.3s ease;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-blue);
    transition: transform 0.4s ease;
    transform: scaleX(0);
    transform-origin: left;
    z-index: -1;
}

.btn-secondary:hover {
    color: white;
    border-color: var(--accent-blue);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(43, 182, 237, 0.4);
}

.btn-secondary:hover::before {
    transform: scaleX(1);
}

.btn-secondary strong {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.theme-toggle {
    background: linear-gradient(45deg, rgba(43, 182, 237, 0.1), rgba(0, 255, 255, 0.1));
    border: 2px solid transparent;
    background-clip: padding-box;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(43, 182, 237, 0.2);
}

.theme-toggle::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--accent-blue), #00FFFF, var(--accent-blue));
    background-size: 300% 300%;
    border-radius: 50%;
    z-index: -1;
    animation: buttonGradient 3s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.theme-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(43, 182, 237, 0.3), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    opacity: 0;
}

.theme-toggle:hover::before {
    opacity: 1;
}

.theme-toggle:hover::after {
    width: 200%;
    height: 200%;
    opacity: 1;
}

.theme-toggle:hover {
    transform: rotate(360deg) scale(1.15);
    box-shadow: 0 8px 30px rgba(43, 182, 237, 0.4);
}

.theme-toggle:active {
    transform: rotate(360deg) scale(0.95);
}

body.dark-mode .theme-toggle {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(43, 182, 237, 0.1));
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* Main content */
main {
    margin-top: 80px;
}

/* Hero Section Styles */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 60px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(43, 182, 237, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(76, 0, 255, 0.08) 0%, transparent 50%);
    animation: heroAmbience 8s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes heroAmbience {
    0% {
        opacity: 0.5;
        transform: scale(1) rotate(0deg);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.1) rotate(2deg);
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(43, 182, 237, 0.4) 1px, transparent 2px),
        radial-gradient(circle at 70% 70%, rgba(0, 255, 255, 0.3) 1px, transparent 2px),
        radial-gradient(circle at 90% 10%, rgba(43, 182, 237, 0.2) 1px, transparent 2px);
    background-size: 80px 80px, 60px 60px, 100px 100px;
    animation: particlesFloat 20s linear infinite;
    opacity: 0.6;
}

@keyframes particlesFloat {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        background-position: 0% 0%, 50% 50%, 100% 0%;
    }
    33% {
        transform: translateX(20px) translateY(-10px) rotate(120deg);
        background-position: 33% 33%, 66% 33%, 33% 66%;
    }
    66% {
        transform: translateX(-10px) translateY(15px) rotate(240deg);
        background-position: 66% 66%, 33% 66%, 66% 33%;
    }
    100% {
        transform: translateX(0) translateY(0) rotate(360deg);
        background-position: 100% 100%, 0% 100%, 0% 0%;
    }
}

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(43, 182, 237, 0.1) 0%, 
        transparent 30%, 
        rgba(0, 255, 255, 0.05) 70%, 
        transparent 100%
    );
    animation: gradientShift 12s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 0.7;
        background-position: 0% 50%;
    }
    50% {
        opacity: 1;
        background-position: 100% 50%;
    }
}

.hero .container {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 800px;
    animation: heroContentSlideIn 1.2s ease-out;
}

@keyframes heroContentSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(43, 182, 237, 0.3);
    animation: titleFadeInUp 1.5s ease-out 0.3s both;
    position: relative;
}

@keyframes titleFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), #00FFFF);
    animation: titleUnderlineExpand 1s ease-out 2s both;
}

@keyframes titleUnderlineExpand {
    0% { width: 0; }
    100% { width: 60%; }
}

.gradient-text {
    background: linear-gradient(
        135deg, 
        #4C00FF 0%, 
        #2BB6ED 25%, 
        #00FFFF 50%, 
        #2BB6ED 75%, 
        #4C00FF 100%
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientTextShimmer 3s ease-in-out infinite;
    position: relative;
}

@keyframes gradientTextShimmer {
    0%, 100% {
        background-position: 0% 50%;
        filter: brightness(1);
    }
    50% {
        background-position: 100% 50%;
        filter: brightness(1.2);
    }
}

.gradient-text::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(43, 182, 237, 0.2), rgba(0, 255, 255, 0.2));
    border-radius: 8px;
    opacity: 0;
    filter: blur(10px);
    animation: gradientGlow 4s ease-in-out infinite;
    z-index: -1;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    animation: subtitleSlideIn 1.5s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
}

@keyframes subtitleSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

.hero-subtitle::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(43, 182, 237, 0.1), transparent);
    animation: subtitleShimmer 2s ease-in-out 1.5s;
}

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

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    animation: ctaSlideIn 1.5s ease-out 0.9s both;
    flex-wrap: nowrap;
    align-items: center;
}

@keyframes ctaSlideIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: none;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    justify-content: center;
    white-space: nowrap;
}

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

.hero .btn:hover::before {
    left: 100%;
}

.hero .btn i {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
}

.hero .btn:hover i {
    transform: translateX(5px);
}

.hero .btn:active {
    transform: scale(0.95);
}

.hero .btn-primary {
    background: linear-gradient(135deg, #4C00FF 0%, #2BB6ED 50%, #00FFFF 100%);
    background-size: 200% 200%;
    color: white;
    border: none;
    box-shadow: 
        0 8px 25px rgba(43, 182, 237, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: primaryButtonPulse 3s ease-in-out infinite;
}

@keyframes primaryButtonPulse {
    0%, 100% {
        background-position: 0% 50%;
        box-shadow: 
            0 8px 25px rgba(43, 182, 237, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 
            0 12px 35px rgba(43, 182, 237, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.hero .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    background-position: 100% 50%;
    box-shadow: 
        0 12px 30px rgba(43, 182, 237, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
}

.hero .btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(43, 182, 237, 0.2), rgba(0, 255, 255, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 12px;
    z-index: -1;
}

.hero .btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: var(--accent-blue);
    box-shadow: 
        0 6px 20px rgba(43, 182, 237, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.hero .btn-secondary:hover::after {
    opacity: 1;
}

.hero-image {
    position: relative;
    z-index: 3;
    flex: 1;
    max-width: 650px;
    margin-left: 20px;
    animation: heroImageSlideIn 1.5s ease-out 0.5s both;
}

@keyframes heroImageSlideIn {
    0% {
        opacity: 0;
        transform: translateX(50px) translateY(30px) scale(0.9);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
        filter: blur(0px);
    }
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(
        circle at center,
        rgba(43, 182, 237, 0.2) 0%,
        rgba(0, 255, 255, 0.1) 30%,
        transparent 60%
    );
    border-radius: 50%;
    animation: imageGlow 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes imageGlow {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 1;
    }
}

.data-illustration {
    width: 100%;
    height: auto;
    max-width: 650px;
    filter: 
        drop-shadow(0 15px 35px rgba(43, 182, 237, 0.3))
        drop-shadow(0 5px 15px rgba(0, 255, 255, 0.2));
    transform: translateY(-20px);
    animation: illustrationFloat 6s ease-in-out infinite;
    transition: all 0.4s ease;
}

@keyframes illustrationFloat {
    0%, 100% {
        transform: translateY(-20px) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(1deg);
    }
    50% {
        transform: translateY(-15px) rotate(0deg);
    }
    75% {
        transform: translateY(-25px) rotate(-1deg);
    }
}

.hero-image:hover .data-illustration {
    transform: translateY(-22px) scale(1.02);
    filter: 
        drop-shadow(0 18px 40px rgba(43, 182, 237, 0.4))
        drop-shadow(0 8px 20px rgba(0, 255, 255, 0.25));
}

.data-illustration rect,
.data-illustration circle,
.data-illustration path {
    transition: all 0.3s ease;
}

.hero-image:hover .data-illustration rect {
    fill: #2BB6ED !important;
}

.hero-image:hover .data-illustration circle {
    r: 6 !important;
}

/* Dark mode adjustments for hero */
body.dark-mode .hero {
    background: linear-gradient(135deg, #000000 0%, #1a1a2e 50%, #0f1419 100%);
}

body.dark-mode .hero::before {
    background: 
        radial-gradient(circle at 20% 80%, rgba(43, 182, 237, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(76, 0, 255, 0.1) 0%, transparent 50%);
}

body.dark-mode .hero-particles {
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(43, 182, 237, 0.6) 1px, transparent 2px),
        radial-gradient(circle at 70% 70%, rgba(0, 255, 255, 0.5) 1px, transparent 2px),
        radial-gradient(circle at 90% 10%, rgba(43, 182, 237, 0.4) 1px, transparent 2px);
}

body.dark-mode .hero-title {
    text-shadow: 0 0 40px rgba(43, 182, 237, 0.5);
}

body.dark-mode .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

body.dark-mode .data-illustration {
    filter: 
        drop-shadow(0 15px 35px rgba(43, 182, 237, 0.4))
        drop-shadow(0 5px 15px rgba(0, 255, 255, 0.3))
        brightness(1.1);
}

/* Add cursor effects (desktop only) */
@media (min-width: 768px) {
    .hero {
        cursor: none;
    }
}

.hero-custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(43, 182, 237, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: all 0.1s ease;
}

.hero-custom-cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: rgba(43, 182, 237, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.floating {
    animation: float 6s ease-in-out infinite;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-stats {
        justify-content: center;
    }

    .stat-item {
        align-items: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
        display: block;
    }
    
    .data-illustration {
        max-width: 100%;
        height: auto;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .nav-controls {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    nav {
        padding: 0.5rem 0;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-controls {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-white);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 998;
    }

    body.dark-mode .nav-links {
        background: var(--primary-dark);
    }

    body.menu-open .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: block !important;
        background: none;
        border: none;
        font-size: 1.8rem;
        cursor: pointer;
        color: inherit;
        padding: 0.5rem;
        z-index: 999;
    }

    /* Hide desktop controls on mobile */
    .nav-controls #language-selector,
    .nav-controls #theme-toggle,
    .nav-controls .btn-primary {
        display: none !important;
    }

    /* Show mobile controls */
    .mobile-controls {
        display: block !important;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--light-gray);
    }

    body.dark-mode .mobile-controls {
        border-top-color: rgba(255, 255, 255, 0.1);
    }

    #mobile-language-selector,
    #mobile-theme-toggle {
        width: 100%;
        padding: 0.8rem;
        margin-bottom: 0.5rem;
        border: none;
        background: transparent;
        color: inherit;
        font-size: 1rem;
        cursor: pointer;
        text-align: left;
    }

    #mobile-language-selector {
        border: 1px solid var(--light-gray);
        border-radius: 8px;
    }

    body.dark-mode #mobile-language-selector {
        border-color: rgba(255, 255, 255, 0.1);
    }

    #mobile-language-selector option {
        background: var(--primary-white);
        color: var(--primary-dark);
        padding: 10px;
    }

    body.dark-mode #mobile-language-selector option {
        background: var(--primary-dark);
        color: var(--primary-white);
    }

    #mobile-theme-toggle:hover {
        background: rgba(43, 182, 237, 0.1);
        border-radius: 8px;
    }



    .hero {
        padding: 100px 0 30px 0;
        min-height: auto;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .hero-cta {
        flex-direction: row;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-image {
        display: block;
        max-width: 90%;
        height: auto;
        margin: 20px auto 0;
    }

    .data-illustration {
        max-width: 100%;
        height: auto;
    }

    section {
        padding: 50px 0;
    }

    #about {
        padding: 20px 0 50px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .features,
    .services-grid,
    .team-grid,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info {
        padding: 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links,
    .social-links {
        justify-content: center;
        gap: 0.8rem;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Ajustes adicionales para el contenedor del héro en móvil */
    .hero .container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

}

@media (min-width: 769px) {
    /* Show desktop controls on desktop */
    .nav-controls #language-selector,
    .nav-controls #theme-toggle {
        display: flex !important;
    }

    /* Hide mobile menu button on desktop */
    .mobile-menu-btn {
        display: none !important;
    }

    /* Hide mobile controls on desktop */
    .mobile-controls {
        display: none !important;
    }

    /* Ensure nav-links is flex row on desktop */
    .nav-links {
        display: flex !important;
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .btn {
        padding: 10px 20px;
        min-width: 160px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 10px;
    }

    .hero .btn {
        min-width: 180px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .feature-card,
    .service-card,
    .team-card,
    .testimonial-card,
    .contact-form {
        padding: 1rem;
    }

    .team-avatar {
        width: 80px;
        height: 80px;
    }

    /* Ajustes adicionales para el contenedor del héro en móvil muy pequeño */
    .hero .container {
        gap: 15px;
    }

    .hero-image {
        margin: 20px auto 0;
    }
}

/* Section styles */
section {
    padding: 80px 0;
}

#about {
    padding: 40px 0 80px 0;
    text-align: center;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}



/* Why choose us */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

body.dark-mode .feature-card {
    background: rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(43, 182, 237, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

/* Products section - smaller cards */
#products .features {
    display: flex;
    justify-content: center;
    align-items: center;
}

#products .feature-card {
    max-width: 500px;
    padding: 1.5rem;
    margin: 0 auto;
}

#products .feature-card .btn {
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 15px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

body.dark-mode .service-card {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
    padding: 60px 0;
    background: var(--light-gray);
    text-align: center;
}

body.dark-mode .testimonials {
    background: rgba(255, 255, 255, 0.05);
}

.testimonial-card {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: 15px;
    margin: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

body.dark-mode .testimonial-card {
    background: var(--primary-dark);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: bold;
    color: var(--accent-blue);
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

body.dark-mode .team-card {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.1);
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--light-blue);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent-blue);
}

.team-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--accent-blue);
}

.team-role {
    font-weight: bold;
    margin-bottom: 1rem;
}

.team-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.team-links a {
    color: var(--accent-blue);
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.team-links a:hover {
    transform: scale(1.2);
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--primary-white);
    color: var(--primary-dark);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--primary-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.contact-info {
    padding: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h4 {
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: #000000;
    color: var(--primary-white);
    padding: 2rem 0;
    text-align: center;
}

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

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    color: var(--primary-white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--primary-white);
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-blue);
    transform: scale(1.2);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Technology logos */
.tech-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 0;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 15px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 140px;
    cursor: pointer;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-blue), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.tech-item:hover::before {
    opacity: 0.1;
}

.tech-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.tech-name {
    font-size: 1rem;
    color: var(--primary-dark);
    transition: color 0.4s ease;
    position: relative;
    z-index: 1;
    text-align: center;
}

.tech-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(43, 182, 237, 0.2);
}

.tech-item:hover .tech-icon {
    transform: scale(1.2);
}

.tech-item:hover .tech-name {
    color: var(--accent-blue);
}

body.dark-mode .tech-item {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .tech-name {
    color: var(--primary-white);
}

/* Animación de entrada para los tech-items */
.tech-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Retraso en la animación para cada tech-item */
.tech-item:nth-child(1) { animation-delay: 0.1s; }
.tech-item:nth-child(2) { animation-delay: 0.2s; }
.tech-item:nth-child(3) { animation-delay: 0.3s; }
.tech-item:nth-child(4) { animation-delay: 0.4s; }
.tech-item:nth-child(5) { animation-delay: 0.5s; }
.tech-item:nth-child(6) { animation-delay: 0.6s; }
.tech-item:nth-child(7) { animation-delay: 0.7s; }
.tech-item:nth-child(8) { animation-delay: 0.8s; }

/* Language transition animations */
[data-translate] {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.language-selector {
    position: relative;
    padding: 8px 12px;
    border: 2px solid var(--accent-blue);
    border-radius: 8px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector:hover {
    background: var(--accent-blue);
    color: white;
}

.language-selector option {
    background: var(--primary-white);
    color: var(--primary-dark);
}

body.dark-mode .language-selector option {
    background: var(--primary-dark);
    color: var(--primary-white);
}

/* Text transition effects */
.text-transition {
    position: relative;
    display: inline-block;
}

.text-transition::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.text-transition:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Text transition */
.hero h1,
.hero p,
.btn,
.section-title,
label,
button {
    transition: opacity 0.3s ease;
}

/* Text animation styles */
.hero h1,
.hero p {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Language selector animation */
#language-selector {
    padding: 10px 20px;
    border: 2px solid transparent;
    border-radius: 25px;
    background: linear-gradient(white, white) padding-box, 
                linear-gradient(45deg, var(--accent-blue), #00FFFF) border-box;
    color: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%232BB6ED' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 45px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(43, 182, 237, 0.1);
    font-size: 1rem;
}

#language-selector::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(43, 182, 237, 0.1), transparent);
    transition: left 0.6s ease;
}

#language-selector:hover::before {
    left: 100%;
}

#language-selector:hover {
    background: linear-gradient(rgba(43, 182, 237, 0.05), rgba(43, 182, 237, 0.05)) padding-box, 
                linear-gradient(45deg, var(--accent-blue), #00FFFF) border-box;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(43, 182, 237, 0.3);
    color: var(--accent-blue);
}

#language-selector:focus {
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgba(43, 182, 237, 0.2);
}

#language-selector option {
    background: var(--primary-white);
    color: var(--primary-dark);
    padding: 12px;
    border-radius: 8px;
    margin: 2px 0;
    transition: all 0.2s ease;
    font-weight: 700;
}

#language-selector option:hover {
    background: rgba(43, 182, 237, 0.1);
}

#language-selector option strong {
    font-weight: 700;
}

body.dark-mode #language-selector {
    background: linear-gradient(var(--primary-dark), var(--primary-dark)) padding-box, 
                linear-gradient(45deg, var(--accent-blue), #00FFFF) border-box;
}

body.dark-mode #language-selector:hover {
    background: linear-gradient(rgba(43, 182, 237, 0.1), rgba(43, 182, 237, 0.1)) padding-box, 
                linear-gradient(45deg, var(--accent-blue), #00FFFF) border-box;
}

body.dark-mode #language-selector option {
    background: var(--primary-dark);
    color: var(--primary-white);
}

/* Why choose us */

/* Services */
#services {
    padding: 3rem 0;
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.services-carousel-container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    padding: 0 1rem;
}

.services-carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    padding: 0 20px;
}

.services-carousel-wrapper {
    --show-left-gradient: 0;
    --show-right-gradient: 1;
}

.services-carousel-wrapper::before,
.services-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.services-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 100%);
    opacity: var(--show-left-gradient);
}

.services-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 100%);
    opacity: var(--show-right-gradient);
}

body.dark-mode .services-carousel-wrapper::before {
    background: linear-gradient(90deg, rgba(40,52,60,0.9) 0%, rgba(40,52,60,0) 100%);
}

body.dark-mode .services-carousel-wrapper::after {
    background: linear-gradient(90deg, rgba(40,52,60,0) 0%, rgba(40,52,60,0.9) 100%);
}

.services-carousel {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 1.5rem;
    padding: 1rem 0;
    width: calc(3 * 280px + 2 * 1.5rem); /* 3 tarjetas + 2 gaps */
    margin: 0 auto;
}

.services-carousel-item {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 320px;
    flex-shrink: 0;
    opacity: 1;
    transform: scale(1);
}

.services-carousel-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.services-carousel-item-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #4C00FF;
    background: rgba(76, 0, 255, 0.1);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.services-carousel-item:hover .services-carousel-item-icon {
    background: rgba(76, 0, 255, 0.2);
    transform: rotate(10deg) scale(1.1);
}

.services-carousel-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2BB6ED;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.services-carousel-item p {
    color: #333;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
}

.services-carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
}

.services-carousel-btn {
    background: linear-gradient(135deg, #4C00FF 0%, #2BB6ED 100%);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(76, 0, 255, 0.3);
}

.services-carousel-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(76, 0, 255, 0.4);
}

.services-carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: scale(1);
}

.services-carousel-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.services-carousel-dot {
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.services-carousel-dot.active {
    background: linear-gradient(135deg, #4C00FF 0%, #2BB6ED 100%);
    transform: scale(1.2);
    box-shadow: 0 2px 8px rgba(76, 0, 255, 0.3);
}

.services-carousel-dot:hover {
    background: rgba(76, 0, 255, 0.4);
    transform: scale(1.1);
}

@media (max-width: 1200px) {
    .services-carousel {
        width: calc(3 * 260px + 2 * 1.5rem);
    }
    
    .services-carousel-item {
        width: 260px;
    }
}

@media (max-width: 768px) {
    .services-carousel {
        width: calc(2 * 240px + 1 * 1.5rem); /* 2 tarjetas en tablet */
    }
    
    .services-carousel-item {
        width: 240px;
        height: 280px;
        padding: 1.5rem 1rem;
    }
    
    .services-carousel-item h3 {
        font-size: 1rem;
    }
    
    .services-carousel-item p {
        font-size: 0.85rem;
    }
    
    .services-carousel-controls {
        margin-top: 1.5rem;
    }
    
    .services-carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .services-carousel {
        width: calc(1 * 220px); /* 1 tarjeta en móvil */
    }
    
    .services-carousel-item {
        width: 220px;
        height: 260px;
    }
    
    .services-carousel-item-icon {
        width: 80px;
        height: 80px;
        font-size: 2.2rem;
        color: #666;
        background: rgba(102, 102, 102, 0.1);
    }
    
    .services-carousel-item:hover .services-carousel-item-icon {
        background: rgba(102, 102, 102, 0.2);
        color: #666;
    }
}

body.dark-mode .services-carousel-item {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .services-carousel-item p {
    color: #ccc;
}

body.dark-mode .services-carousel-item-icon {
    background: rgba(0, 255, 255, 0.1);
    color: #00FFFF;
}

body.dark-mode .services-carousel-btn {
    background: linear-gradient(135deg, #00FFFF 0%, #2BB6ED 100%);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

body.dark-mode .services-carousel-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.4);
}

body.dark-mode .services-carousel-dot {
    background: rgba(255, 255, 255, 0.3);
}

body.dark-mode .services-carousel-dot.active {
    background: linear-gradient(135deg, #00FFFF 0%, #2BB6ED 100%);
    box-shadow: 0 2px 8px rgba(0, 255, 255, 0.3);
}

body.dark-mode .services-carousel-dot:hover {
    background: rgba(0, 255, 255, 0.4);
}

/*==================== CASES ====================*/
#cases {
    padding: 60px 0;
    text-align: center;
}

/*==================== TECHNOLOGY ====================*/
#technology {
    padding: 60px 0;
    text-align: center;
}

/*==================== TEAM ====================*/
#team {
    padding: 60px 0;
    text-align: center;
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}

/*==================== CONTACT ====================*/
#contact {
    padding: 60px 0;
}

/*==================== SCHEDULE ====================*/
#schedule {
    padding: 60px 0;
    text-align: center;
    background: var(--light-gray);
}

/* Dark Mode Styles */
body.dark-mode {
    --background-color: var(--dark-gray);
    --text-color: var(--light-gray);
    --primary-color: var(--light-blue);
    --secondary-color: var(--medium-gray);
    --card-background: var(--medium-gray);
    --border-color: var(--dark-gray);
    --light-gray: var(--medium-gray);

    /* Add dark mode background for schedule section */
    #schedule {
        background: var(--dark-gray);
    }
    
    /* Add dark mode background for team section */
    #team {
        background: var(--dark-gray);
    }
}

.contact-card {
    background: #f8fbff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(43,182,237,0.10), 0 1.5px 8px rgba(76,0,255,0.08);
    border: 1.5px solid #e3eaff;
    padding: 2.2rem 2rem 2rem 2rem;
    min-width: 320px;
    max-width: 370px;
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    transition: box-shadow 0.25s, transform 0.25s, background 0.3s;
}

/* Modo oscuro para tarjetas de contacto */
body.dark-mode .contact-card {
    background: linear-gradient(135deg, rgba(40,52,60,0.98) 0%, rgba(30,40,48,0.96) 100%);
    border: 1.5px solid #2bb6ed33;
    color: #fff;
}
body.dark-mode .contact-card h3,
body.dark-mode .contact-card .contact-card-sub,
body.dark-mode .contact-card p {
    color: #fff;
}
        /* Estilos para formulario de contacto en modo oscuro */
        body.dark-mode .contact-form form {
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }
        
        body.dark-mode .contact-form form:hover {
            border-color: rgba(43, 182, 237, 0.5);
            box-shadow: 0 12px 40px rgba(43, 182, 237, 0.2);
        }
        
        /* Estilos para formularios en modo oscuro */
        body.dark-mode .form-group label {
            color: var(--primary-white);
        }
        /* Modo oscuro mejorado para el modal del formulario */
        body.dark-mode .modal-content {
            background: linear-gradient(135deg, rgba(40,52,60,0.98) 0%, rgba(30,40,48,0.96) 100%);
            border: 1px solid rgba(43, 182, 237, 0.3);
            color: #fff;
        }
        
        body.dark-mode .modal-content h3 {
            color: #fff;
        }
        
        body.dark-mode .modal-content form {
            background: rgba(50, 65, 75, 0.8) !important;
            border: 1px solid rgba(43, 182, 237, 0.2) !important;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        
        body.dark-mode .modal-content .form-group label {
            color: #fff !important;
            font-weight: 500;
        }
        
        body.dark-mode .modal-content input,
        body.dark-mode .modal-content textarea {
            background: rgba(60, 75, 85, 0.9) !important;
            border: 2px solid rgba(43, 182, 237, 0.3) !important;
            color: #fff !important;
            transition: border-color 0.3s ease;
        }
        
        body.dark-mode .modal-content input:focus,
        body.dark-mode .modal-content textarea:focus {
            border-color: rgba(43, 182, 237, 0.8) !important;
            box-shadow: 0 0 0 3px rgba(43, 182, 237, 0.1) !important;
            outline: none;
        }
        
        body.dark-mode .modal-content input::placeholder,
        body.dark-mode .modal-content textarea::placeholder {
            color: rgba(255, 255, 255, 0.6) !important;
        }
        
        body.dark-mode .modal-content .btn-primary {
            background: linear-gradient(135deg, #2BB6ED 0%, #4C00FF 100%) !important;
            border: none !important;
            color: #fff !important;
            box-shadow: 0 4px 16px rgba(43, 182, 237, 0.3) !important;
        }
        
        body.dark-mode .modal-content .btn-primary:hover {
            background: linear-gradient(135deg, #4C00FF 0%, #2BB6ED 100%) !important;
            box-shadow: 0 6px 20px rgba(43, 182, 237, 0.4) !important;
            transform: translateY(-2px);
        }
        
        body.dark-mode .modal-close {
            color: #2BB6ED !important;
            background: rgba(43, 182, 237, 0.1);
            border-radius: 50%;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }
        
        body.dark-mode .modal-close:hover {
            background: rgba(43, 182, 237, 0.2);
            color: #fff !important;
        }
        
        /* Estilos para notificaciones */
        .success-notification,
        .error-notification,
        .info-notification {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 100000;
            background: white;
            border-radius: 12px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
            padding: 16px 20px;
            transform: translateX(400px);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border-left: 4px solid #10b981;
            max-width: 350px;
        }
        
        .error-notification {
            border-left-color: #ef4444;
        }
        
        .info-notification {
            border-left-color: #3b82f6;
        }
        
        .success-notification.show,
        .error-notification.show,
        .info-notification.show {
            transform: translateX(0);
            animation: notificationPulse 0.6s ease-out;
        }
        
        @keyframes notificationPulse {
            0% { transform: translateX(0) scale(1); }
            50% { transform: translateX(0) scale(1.05); }
            100% { transform: translateX(0) scale(1); }
        }
        
        .notification-content {
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }
        
        .notification-content i {
            font-size: 1.5rem;
            color: #10b981;
        }
        
        .error-notification .notification-content i {
            color: #ef4444;
        }
        
        .info-notification .notification-content i {
            color: #3b82f6;
        }
        
        .notification-content span {
            color: #374151;
            font-weight: 500;
            font-size: 0.95rem;
        }
        
        /* Modo oscuro para notificaciones */
        body.dark-mode .success-notification,
        body.dark-mode .error-notification,
        body.dark-mode .info-notification {
            background: rgba(40, 52, 60, 0.95);
            border: 1px solid rgba(43, 182, 237, 0.2);
        }
        
        body.dark-mode .notification-content span {
            color: #fff;
        }
        
        /* Responsive para notificaciones */
        @media (max-width: 768px) {
            .success-notification,
            .error-notification,
            .info-notification {
                top: 10px;
                right: 10px;
                left: 10px;
                max-width: none;
                transform: translateY(-100px);
            }
            
            .success-notification.show,
            .error-notification.show,
            .info-notification.show {
                transform: translateY(0);
            }
        }