/* Base Styles */
:root {
    --dark-blue: #2F395A;
    --red-orange: #D24C4C;
    --yellow: #FFD93D;
    --green: #6BF178;
    --light-blue: #4AC1FF;
    --white: #FFFFFF;
    --light-green: #A4FBC4;
    --dark-gradient: linear-gradient(135deg, #2F395A 0%, #1A3A6A 100%);
    --cta-gradient: linear-gradient(90deg, #D24C4C 0%, #FFD93D 100%);
    --tech-gradient: linear-gradient(135deg, #4AC1FF 0%, #6BF178 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--white);
    background-color: var(--dark-blue);
    overflow-x: hidden;
    position: relative;
}

.no-scroll {
    overflow: hidden;
    height: 100vh;
    position: fixed;
    width: 100%;
}

/* Header Styles */
.futuristic-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(12, 31, 56, 0.8);
    border-bottom: 1px solid rgba(74, 193, 255, 0.2);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1002;
}

.logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
}

/* Desktop Navigation */
.futuristic-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-family: 'Orbitron', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--light-blue);
}

.hover-effect::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--light-blue);
    transition: width 0.3s ease;
}

.hover-effect:hover::after {
    width: 100%;
}

/* Language Toggle */
.language-toggle {
    background: rgba(74, 193, 255, 0.1);
    border: 1px solid rgba(74, 193, 255, 0.3);
    color: var(--white);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1;
}

.language-toggle:hover {
    background: rgba(74, 193, 255, 0.3);
    transform: translateY(-2px);
}

/* Mobile Navigation Toggle */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    z-index: 1001;
    position: relative;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .futuristic-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(12, 31, 56, 0.98);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        z-index: 999;
        overflow-y: auto;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    
    .futuristic-nav.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }
    
    .futuristic-nav ul {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem;
        display: block;
        border-bottom: 1px solid rgba(74, 193, 255, 0.1);
    }
    
    .hover-effect::after {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Language toggle mobile positioning */
    .language-toggle {
        position: absolute;
        right: 70px;
        top: 1.5rem;
        margin-left: 0;
        padding: 0.5rem;
    }
    .language-toggle span {
        display: none;
    }
    
    /* Hamburger animation when active */
    .hamburger.active .line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Three.js Canvas */
#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    opacity: 0.3;
}

/* Background Video */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    opacity: 0.50;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-blue);
    opacity: 0.85;
    z-index: -1;
}

/* ============================================= */
/* HERO SECTION - DESKTOP VERSION (768px and up) */
/* ============================================= */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    padding-top: 80px;
    position: relative;
    gap: 2rem;
}

/* Hero Content - Desktop */
.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 10;
    order: 1;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
    color: var(--white);
}

.glitch {
    position: relative;
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    color: var(--light-blue);
    z-index: -1;
    animation: glitch-effect 3s infinite;
}

.glitch::after {
    color: var(--green);
    z-index: -2;
    animation: glitch-effect 2s infinite reverse;
}

.hero-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--light-blue);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: var(--light-green);
}

.cta-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cta-button {
    padding: 1rem 2rem;
    background: var(--cta-gradient);
    color: var(--dark-blue);
    border: none;
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #FFD93D 0%, #D24C4C 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.cta-button:hover::before {
    opacity: 1;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 107, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}

.tech-icons {
    display: flex;
    gap: 1rem;
}

.icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(106, 241, 120, 0.1);
    border: 1px solid rgba(106, 241, 120, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    position: relative;
    transition: all 0.3s ease;
    cursor: default;
}

.icon:hover {
    background: rgba(106, 241, 120, 0.2);
    transform: translateY(-5px);
}

.icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-blue);
    color: var(--white);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.icon:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -35px;
}

/* Hero 3D Element - Desktop */
.hero-3d {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    min-height: 400px;
    order: 2;
}

.floating-cube {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 20px 30px rgba(0,0,0,0.3);
    border: 2px solid rgba(74, 193, 255, 0.5);
    position: relative;
    right: 0;
    left: auto;
}

.cube-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: rgba(12, 31, 56, 0.7);
}

.floating-cube::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 214, 61, 0.1) 0%, 
        rgba(74, 193, 255, 0.2) 100%);
    mix-blend-mode: overlay;
    z-index: 1;
}

/* ============================================= */
/* HERO SECTION - MOBILE VERSION (below 768px) */
/* ============================================= */

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 2rem 5%;
        padding-top: 100px;
        gap: 3rem;
    }
    
    /* Hero Content - Mobile */
    .hero-content {
        order: 2;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .tech-icons {
        justify-content: center;
    }
    
    /* Hero 3D Element - Mobile */
    .hero-3d {
        order: 1;
        justify-content: center;
        min-height: 300px;
        width: 100%;
    }
    
    .floating-cube {
        width: 250px;
        height: 250px;
    }
    
    /* Adjust glitch effect for mobile */
    .glitch::before, .glitch::after {
        animation: none;
        opacity: 0.3;
    }
}

/* About Section */
.about-section {
    padding: 5rem 10%;
    position: relative;
    background: rgba(12, 31, 56, 0.7);
    backdrop-filter: blur(5px);
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.title-decoration {
    height: 4px;
    width: 100px;
    background: var(--tech-gradient);
    margin: 0 auto;
    border-radius: 2px;
}

.about-content {
    display: flex;
    gap: 5rem;
    align-items: center;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 3rem;
    }
}

.about-text {
    flex: 1;
}

.highlight-text {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--light-blue);
    font-weight: 300;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--light-green);
}

.benefits-list {
    margin-top: 2rem;
    list-style: none;
}

.benefit-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    font-size: 1.1rem;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--green);
    color: var(--dark-blue);
    font-weight: bold;
}

.about-visual {
    flex: 1;
    min-height: 400px;
    position: relative;
}

.data-sphere {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Services Section */
.services-section {
    padding: 5rem 10%;
    background: rgba(10, 25, 47, 0.7);
    backdrop-filter: blur(5px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(12, 31, 56, 0.8);
    border: 1px solid rgba(74, 193, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(74, 193, 255, 0.1);
}

.service-card.featured {
    position: relative;
    margin-top: 25px;
    padding-top: 1.5rem;
    border: 1px solid var(--green);
    box-shadow: 0 0 20px rgba(106, 241, 120, 0.2);
    overflow: visible;
}

.service-card.featured .card-header {
    margin-top: 0.5rem;
}

.card-badge {
    position: absolute;
    top: -15px;
    right: 25px;
    background: var(--cta-gradient);
    color: var(--dark-blue);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transform: translateZ(0);
}

.card-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    margin-top: 10px;
    border-bottom: 1px solid rgba(74, 193, 255, 0.2);
}

.card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.card-price {
    font-size: 1.2rem;
    color: var(--yellow);
    font-weight: 700;
}

.card-body p {
    margin-bottom: 1.5rem;
    color: var(--light-green);
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--white);
}

.service-features li::before {
    content: '•';
    color: var(--light-blue);
    position: absolute;
    left: 0;
}

.card-footer {
    margin-top: 2rem;
}

.card-button {
    width: 100%;
    padding: 0.8rem;
    background: transparent;
    border: 1px solid var(--light-blue);
    color: var(--light-blue);
    border-radius: 5px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-button:hover {
    background: var(--light-blue);
    color: var(--dark-blue);
}

/* Nuevos estilos para el CTA de diagnóstico */
.services-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(12, 31, 56, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(74, 193, 255, 0.2);
}

.services-cta-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--light-green);
}

.diagnostic-cta {
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--yellow);
    color: var(--yellow);
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.diagnostic-cta:hover {
    background: var(--yellow);
    color: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 217, 61, 0.3);
}

/* Cases Section */
.cases-section {
    padding: 5rem 10%;
    background: rgba(12, 31, 56, 0.7);
    backdrop-filter: blur(5px);
}

.cases-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.case-item {
    background: rgba(12, 31, 56, 0.8);
    border: 1px solid rgba(74, 193, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
}

.case-item:hover {
    transform: translateY(-10px);
}

/* Estilos para iconos 3D en casos de uso */
.case-icon-3d {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    position: relative;
    perspective: 1000px;
}

.case-icon-3d-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s;
    animation: float-3d 6s ease-in-out infinite;
}

.case-icon-3d:hover .case-icon-3d-inner {
    transform: rotateY(180deg);
}

.case-icon-3d-front, .case-icon-3d-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.case-icon-3d-front {
    background: rgba(74, 193, 255, 0.1);
    border: 1px solid rgba(74, 193, 255, 0.3);
}

.case-icon-3d-back {
    background: rgba(106, 241, 120, 0.1);
    border: 1px solid rgba(106, 241, 120, 0.3);
    transform: rotateY(180deg);
}

.case-icon-3d.retail .case-icon-3d-front {
    background: rgba(255, 214, 61, 0.1);
    border: 1px solid rgba(255, 214, 61, 0.3);
}

.case-icon-3d.clinic .case-icon-3d-front {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.case-icon-3d.academy .case-icon-3d-front {
    background: rgba(106, 241, 120, 0.1);
    border: 1px solid rgba(106, 241, 120, 0.3);
}

@keyframes float-3d {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.case-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.case-result {
    color: var(--light-green);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--yellow);
    font-weight: 700;
}

/* Case Item Button Styles */
.case-button {
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 1px solid var(--light-blue);
    color: var(--light-blue);
    border-radius: 5px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.case-button:hover {
    background: var(--light-blue);
    color: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 193, 255, 0.3);
}

.for-you-section {
    padding: 5rem 10%;
    background: rgba(12, 31, 56, 0.7);
    backdrop-filter: blur(5px);
    position: relative;
}

.for-you-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.for-you-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--light-blue);
}

.for-you-list {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
    display: inline-block;
}

.for-you-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--light-green);
    font-size: 1.1rem;
}

.for-you-list li::before {
    content: '•';
    color: var(--light-blue);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.for-you-conclusion {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--yellow);
    margin-top: 2rem;
}

/* Contact Section */
.cta-section {
    padding: 5rem 10%;
    background: rgba(10, 25, 47, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    gap: 5rem;
    align-items: center;
}

@media (max-width: 768px) {
    .cta-section {
        flex-direction: column;
        gap: 3rem;
    }
}

.cta-content {
    flex: 1;
}

.cta-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 2rem;
    }
}

.cta-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--light-green);
}

.cta-form {
    max-width: 500px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: rgba(12, 31, 56, 0.8);
    border: 1px solid rgba(74, 193, 255, 0.3);
    border-radius: 5px;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 10px rgba(74, 193, 255, 0.3);
}

.form-input:invalid {
    border-color: var(--red-orange);
}

.cta-visual {
    flex: 1;
    min-height: 400px;
    position: relative;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    background: rgba(74, 193, 255, 0.1);
    border: 1px solid rgba(74, 193, 255, 0.3);
    transition: all 0.3s ease;
}

.cube {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 10%;
    animation: float 5s ease-in-out infinite;
    border-radius: 10px;
}

.sphere {
    width: 100px;
    height: 100px;
    top: 50%;
    right: 30%;
    border-radius: 50%;
    animation: float 7s ease-in-out infinite 1s;
}

.pyramid {
    width: 120px;
    height: 120px;
    top: 70%;
    right: 20%;
    animation: float 6s ease-in-out infinite 0.5s;
}

/* Footer Styles */
.futuristic-footer {
    background: var(--dark-gradient);
    padding: 4rem 10% 2rem;
    border-top: 1px solid rgba(74, 193, 255, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    width: 50px;
    height: auto;
    margin-bottom: 1rem;
}

.brand-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-slogan {
    color: var(--light-green);
    font-size: 0.9rem;
}

.links-title, .contact-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-link {
    color: var(--light-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--light-blue);
}

.contact-info {
    margin-bottom: 1rem;
    color: var(--light-green);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(74, 193, 255, 0.1);
    border: 1px solid rgba(74, 193, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-blue);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(74, 193, 255, 0.3);
    transform: translateY(-3px);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(74, 193, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: var(--light-green);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.legal-link {
    color: var(--light-green);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.8rem;
}

.legal-link:hover {
    color: var(--light-blue);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .for-you-section {
        padding: 3rem 5%;
    }
    
    .for-you-subtitle {
        font-size: 1.2rem;
    }
    
    .for-you-list {
        padding-left: 1rem;
    }
    
    .for-you-list li {
        font-size: 1rem;
        padding-left: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        text-align: center;
        align-items: center;
    }
    
    .footer-links, .footer-contact {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Ajustes responsivos para el nuevo CTA */
    .services-cta {
        margin-top: 3rem;
        padding: 1.5rem;
    }
    
    .services-cta-text {
        font-size: 1.1rem;
    }
    
    /* Ajustes responsivos para iconos 3D */
    .case-icon-3d {
        width: 80px;
        height: 80px;
    }
    
    .case-icon-3d-front, .case-icon-3d-back {
        font-size: 2rem;
    }
}

/* Loader Styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-circle {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(74, 193, 255, 0.2);
    border-top-color: var(--light-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Particles Styles */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background: var(--light-blue);
    border-radius: 50%;
    opacity: 0.5;
    animation: particle-float linear infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100vh) translateX(20px);
        opacity: 0;
    }
}

/* Case Modal Styles */
.case-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
    padding: 1rem;
}

.case-modal {
    background: var(--dark-blue);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(74, 193, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.case-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.case-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.case-modal-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(74, 193, 255, 0.2);
}

.case-modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--light-blue);
}

.case-modal-subtitle {
    font-size: 1.2rem;
    color: var(--yellow);
    margin-bottom: 1rem;
}

.case-modal-content {
    margin-bottom: 2rem;
}

.case-modal-section {
    margin-bottom: 2rem;
}

.case-modal-section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.case-modal-section-title::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--green);
    border-radius: 50%;
}

.case-modal-text {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--light-green);
}

.case-modal-list {
    list-style: none;
    margin: 1rem 0;
}

.case-modal-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--light-green);
}

.case-modal-list li::before {
    content: '•';
    color: var(--light-blue);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.case-modal-results {
    background: rgba(12, 31, 56, 0.8);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--green);
}

.case-modal-results-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--yellow);
}

.case-modal-results-list {
    list-style: none;
}

.case-modal-results-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.case-modal-results-list li::before {
    content: '✓';
    color: var(--green);
    font-weight: bold;
    flex-shrink: 0;
}

.case-modal-roi {
    background: rgba(106, 241, 120, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border: 1px solid rgba(106, 241, 120, 0.3);
}

.case-modal-roi-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--green);
}

.case-modal-roi-list {
    list-style: none;
}

.case-modal-roi-list li {
    margin-bottom: 0.8rem;
    color: var(--light-green);
}

.case-modal-cta {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(74, 193, 255, 0.2);
}

.case-modal-cta-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--yellow);
}

.case-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.case-modal-button-primary {
    padding: 1rem 2rem;
    background: var(--cta-gradient);
    color: var(--dark-blue);
    border: none;
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.case-modal-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.case-modal-button-secondary {
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--light-blue);
    color: var(--light-blue);
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.case-modal-button-secondary:hover {
    background: var(--light-blue);
    color: var(--dark-blue);
}

/* Responsive adjustments for modals */
@media (max-width: 768px) {
    .case-modal {
        padding: 1.5rem;
    }
    
    .case-modal-title {
        font-size: 1.5rem;
    }
    
    .case-modal-subtitle {
        font-size: 1rem;
    }
    
    .case-modal-buttons {
        flex-direction: column;
    }
    
    .case-modal-button-primary,
    .case-modal-button-secondary {
        width: 100%;
    }
}

/* Shared Animations */
@keyframes glitch-effect {
    0% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(-3px, -3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(3px, -3px); }
    100% { transform: translate(0); }
}

@keyframes float {
    0% { 
        transform: translateY(0) rotate(0deg) scale(1);
        box-shadow: 0 20px 30px rgba(74, 193, 255, 0.2);
    }
    50% { 
        transform: translateY(-20px) rotate(5deg) scale(1.05);
        box-shadow: 0 30px 40px rgba(74, 193, 255, 0.3);
    }
    100% { 
        transform: translateY(0) rotate(0deg) scale(1);
        box-shadow: 0 20px 30px rgba(74, 193, 255, 0.2);
    }
}
/* Estilos existentes... */

/* Nuevos estilos para los enlaces sociales en el footer */
.futuristic-footer .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.futuristic-footer .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.futuristic-footer .social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .futuristic-footer .social-icons {
        justify-content: center;
        margin-top: 15px;
    }
    
    .futuristic-footer .social-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}