/* Variables de color */
:root {
    --black: #0A0A0A;
    --deep-blue: #12142E;
    --neon-purple: #9D4EDD;
    --electric-cyan: #00F5D4;
    --vintage-gold: #D4AF37;
    --smoke-white: #E2E2E2;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--black);
    color: var(--smoke-white);
    font-family: 'Space Mono', monospace;
    overflow-x: hidden;
    position: relative;
    /* Textura analógica */
    background-image: url('https://www.transparenttextures.com/patterns/cream-paper.png');
    background-blend-mode: overlay;
}

/* Estrellas animadas (fondo) */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
    animation: stars 60s linear infinite;
}

@keyframes stars {
    0% { background-position: 0 0; }
    100% { background-position: 1000px 1000px; }
}

/* Header */
header {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(8px);
    padding: 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid var(--neon-purple);
    /* Efecto borde irregular */
    clip-path: polygon(
        0 0, 100% 0, 100% calc(100% - 10px),
        90% 100%, 0 100%
    );
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--electric-cyan);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--smoke-white);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--electric-cyan);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--electric-cyan);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.particles-js-canvas-el {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, 
        rgba(157, 78, 221, 0.15) 0%, 
        rgba(10, 10, 10, 0.95) 70%);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
    text-align: left;
    padding-right: 2rem;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--smoke-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.title-line {
    display: block;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 0.5rem;
}

.highlight {
    color: var(--electric-cyan);
    text-shadow: 0 0 15px rgba(0, 245, 212, 0.5);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--vintage-gold);
    z-index: -1;
    opacity: 0.5;
    transform: scaleX(0);
    transform-origin: left;
    animation: highlight 1.5s ease forwards 0.5s;
}

@keyframes highlight {
    to { transform: scaleX(1); }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--smoke-white);
    opacity: 0.8;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 80%;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--neon-purple), var(--electric-cyan));
    color: var(--black);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.3);
}

.cta-button svg {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(157, 78, 221, 0.4);
}

.cta-button:hover svg {
    transform: translateX(3px);
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--smoke-white);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid var(--electric-cyan);
}

.secondary-button:hover {
    background: rgba(0, 245, 212, 0.1);
    transform: translateY(-3px);
}

/* Estilos para el editor de código */
.code-editor {
    width: 100%;
    max-width: 500px;
    background: #0a0a1a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(157, 78, 221, 0.2);
    transform: perspective(1000px) rotateY(-10deg);
    transform-origin: left;
    animation: code-float 8s ease-in-out infinite;
}

.code-header {
    padding: 0.8rem 1rem;
    background: #12142E;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.code-dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
}

.code-dots .red { background: #ff5f56; }
.code-dots .yellow { background: #ffbd2e; }
.code-dots .green { background: #27c93f; }

.code-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-family: 'Space Mono', monospace;
    margin-left: 1rem;
}

.code-body {
    position: relative;
    padding: 1.5rem;
    font-family: 'Space Mono', monospace;
    color: #e2e2e2;
    line-height: 1.5;
    font-size: 0.9rem;
    min-height: 200px;
    background: #0a0a0a;
}

#typed-code {
    margin: 0;
    white-space: pre;
    overflow: hidden;
}

.token.keyword { color: #9d4edd; }
.token.function { color: #00f5d4; }
.token.punctuation { color: #e2e2e2; }
.token.string { color: #d4af37; }
.token.comment { color: #5c6370; font-style: italic; }
.token.parameter { color: #e2e2e2; }
.token.operator { color: #00f5d4; }

.cursor {
    position: absolute;
    width: 10px;
    height: 18px;
    background: var(--electric-cyan);
    opacity: 0.8;
    animation: blink 1s step-end infinite;
}

@keyframes code-float {
    0%, 100% { transform: perspective(1000px) rotateY(-10deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-10deg) translateY(-15px); }
}

@keyframes blink {
    from, to { opacity: 0; }
    50% { opacity: 1; }
}

/* fin estilos editor de código */

.floating-sphere {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at center, 
        rgba(0, 245, 212, 0.15) 0%, 
        rgba(0, 245, 212, 0) 70%);
    filter: blur(30px);
    animation: float 8s ease-in-out infinite;
}

.floating-sphere.small {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 30%;
    animation-delay: 1s;
    background: radial-gradient(circle at center, 
        rgba(157, 78, 221, 0.15) 0%, 
        rgba(157, 78, 221, 0) 70%);
}

.floating-sphere.large {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(20px, 20px); }
    50% { transform: translate(0, 30px); }
    75% { transform: translate(-20px, 10px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--smoke-white);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--smoke-white);
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

.arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5px;
}

.arrows span {
    width: 15px;
    height: 15px;
    border-right: 2px solid var(--smoke-white);
    border-bottom: 2px solid var(--smoke-white);
    transform: rotate(45deg);
    margin: -5px;
    animation: scroll-arrows 2s infinite;
}

.arrows span:nth-child(2) {
    animation-delay: 0.2s;
}

.arrows span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes scroll-arrows {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 3rem;
        text-align: center;
    }
    
    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-visual {
        width: 100%;
        height: 300px;
        margin-top: 2rem;
    }
}

/* Secciones con bordes analógicos */
.services, .about, .contact {
    position: relative;
    padding: 5rem 2rem;
}

.services::before, .about::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
    opacity: 0.3;
}

.services::before {
    top: 0;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}

.about::after {
    bottom: 0;
    clip-path: polygon(5% 0, 95% 0, 100% 100%, 0 100%);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--neon-purple), var(--electric-cyan));
    color: var(--black);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(157, 78, 221, 0.3);
}

/* Servicios */
/* Servicios Mejorados */
.services {
    padding: 6rem 2rem;
    position: relative;
    background: var(--black);
    overflow: hidden;
}

.services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(157, 78, 221, 0.1) 0%, transparent 30%);
    z-index: 0;
}

.services-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-block;
    background: rgba(0, 245, 212, 0.1);
    color: var(--electric-cyan);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 245, 212, 0.3);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff 20%, var(--electric-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.section-title .highlight {
    background: linear-gradient(to right, var(--electric-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    color: var(--smoke-white);
    opacity: 0.8;
    font-size: 1.2rem;
    margin-top: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.service-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    min-height: 380px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(10, 12, 28, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(157, 78, 221, 0.2);
    border-radius: 16px;
    transition: all 0.4s ease;
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    z-index: 1;
    transition: all 0.6s ease;
}

.card-decoration {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        transparent,
        transparent,
        transparent,
        rgba(157, 78, 221, 0.1)
    );
    transform: rotate(30deg);
    z-index: 3;
    opacity: 0;
    transition: all 0.6s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(157, 78, 221, 0.2);
}

.service-card:hover .card-content {
    background: rgba(10, 12, 28, 0.95);
    border-color: rgba(157, 78, 221, 0.4);
}

.service-card:hover .card-decoration {
    animation: shine 1.5s ease forwards;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 245, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 245, 212, 0.2);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: rgba(0, 245, 212, 0.2);
    transform: scale(1.05);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--electric-cyan);
}

.service-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
    color: var(--electric-cyan);
    transition: all 0.4s ease;
}

.service-card:hover h3 {
    color: var(--neon-purple);
}

.service-card p {
    color: var(--smoke-white);
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 1.05rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
}

.service-features li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.9rem;
    color: var(--smoke-white);
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.service-features i {
    color: var(--electric-cyan);
    margin-right: 0.7rem;
    font-size: 0.9rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--electric-cyan);
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    transition: all 0.3s ease;
    width: fit-content;
}

.service-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--neon-purple);
}

.service-link:hover i {
    transform: translateX(5px);
}

.services-cta {
    text-align: center;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.services-cta p {
    color: var(--smoke-white);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(to right, var(--electric-cyan), var(--neon-purple));
    color: var(--black);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 245, 212, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 245, 212, 0.4);
}

.cta-button i {
    margin-left: 0.7rem;
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* Animaciones */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shine {
    0% {
        opacity: 0;
        left: -50%;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        left: 150%;
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        min-height: auto;
    }
}

/* Estilos para la nueva sección About */
.about {
    position: relative;
    background: linear-gradient(to bottom, #0A0A0A, #12142E);
    overflow: hidden;
}

.cosmic-divider {
    height: 100px;
    position: relative;
    overflow: hidden;
}

.cosmic-divider.bottom {
    transform: rotate(180deg);
}

.star-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 40px, #ddd, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 130px 80px, #fff, rgba(0,0,0,0));
    background-size: 150px 150px;
    animation: stars 60s linear infinite;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.section-header {
    margin-bottom: 3rem;
}

.section-label {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--electric-cyan);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.about h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    color: var(--smoke-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: var(--electric-cyan);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--vintage-gold);
    z-index: -1;
    opacity: 0.5;
}

.divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--neon-purple), var(--electric-cyan));
    margin: 1.5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-card {
    background: rgba(18, 20, 46, 0.6);
    border: 1px solid rgba(157, 78, 221, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.2);
    border-color: rgba(157, 78, 221, 0.4);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--electric-cyan);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.about-card p {
    color: var(--smoke-white);
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-story p {
    color: var(--smoke-white);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(18, 20, 46, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(157, 78, 221, 0.2);
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--electric-cyan);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--smoke-white);
    opacity: 0.8;
    font-size: 0.9rem;
}

.about-visual {
    position: relative;
}

.team-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    height: 500px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(110%);
    transition: all 0.5s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent 50%);
}

.tech-stack {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
}

.tech-item {
    background: var(--black);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--electric-cyan);
    border: 1px solid var(--electric-cyan);
    opacity: 0;
    transform: translateY(20px);
    animation: tech-appear 0.5s ease-out forwards;
    animation-delay: var(--delay);
}

@keyframes tech-appear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes stars {
    from { background-position: 0 0; }
    to { background-position: 0 150px; }
}

/* Responsive */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .about h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .tech-stack {
        position: static;
        transform: none;
        margin-top: 2rem;
    }
    
    .team-image {
        height: 400px;
    }
}

/* Estilos para la sección de clientes */
.clients {
    padding: 4rem 2rem;
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.clients::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 20px;
    background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
    opacity: 0.3;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}

.clients-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.clients-track {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    animation: scroll 30s linear infinite;
    width: calc(150px * 16); /* Ajustar según cantidad de logos */
}

.client-logo {
    flex: 0 0 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 245, 212, 0.2);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    filter: brightness(0) invert(1) opacity(0.8);
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: brightness(0) invert(1) opacity(1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-150px * 8)); }
}

/* Estilos para la nueva sección de contacto */
.contact {
    position: relative;
    background: linear-gradient(to bottom, #12142E, #0A0A0A);
    overflow: hidden;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
    position: relative;
    z-index: 2;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-subtitle {
    color: var(--smoke-white);
    opacity: 0.8;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    background: rgba(18, 20, 46, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(157, 78, 221, 0.2);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.2);
    border-color: rgba(157, 78, 221, 0.4);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 245, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--electric-cyan);
}

.info-content h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--electric-cyan);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.info-content p {
    color: var(--smoke-white);
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 245, 212, 0.1);
    color: var(--electric-cyan);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--electric-cyan);
    color: var(--black);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.contact-form-container {
    background: rgba(18, 20, 46, 0.6);
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid rgba(157, 78, 221, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 2rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(157, 78, 221, 0.3);
    color: var(--smoke-white);
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f5d4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1rem;
}

.contact-form label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: var(--electric-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.contact-form .underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--neon-purple), var(--electric-cyan));
    transition: width 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-bottom-color: transparent;
}

.contact-form input:focus ~ .underline,
.contact-form textarea:focus ~ .underline,
.contact-form select:focus ~ .underline {
    width: 100%;
}

.contact-form input:focus ~ label,
.contact-form textarea:focus ~ label,
.contact-form select:focus ~ label,
.contact-form input:not(:placeholder-shown) ~ label,
.contact-form textarea:not(:placeholder-shown) ~ label,
.contact-form select:not([value=""]) ~ label {
    top: -1.2rem;
    font-size: 0.8rem;
    color: var(--neon-purple);
}

.contact-form button.cta-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    margin-top: 1.5rem;
    background: linear-gradient(135deg, var(--neon-purple), var(--electric-cyan));
    color: var(--black);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button.cta-button svg {
    margin-left: 0.8rem;
    transition: transform 0.3s ease;
}

.contact-form button.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(157, 78, 221, 0.4);
}

.contact-form button.cta-button:hover svg {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .contact-header {
        margin-bottom: 2rem;
    }
    
    .contact-info {
        padding: 0;
    }
    
    .info-card {
        flex-direction: column;
    }
    
    .info-icon {
        margin-bottom: 1rem;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 3rem 1rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
}

/* Footer */
footer {
    background: var(--deep-blue);
    padding: 4rem 2rem 2rem;
    color: var(--smoke-white);
    border-top: 1px solid var(--neon-purple);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: left;
}

.footer-brand {
    padding-right: 2rem;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--electric-cyan);
}

.footer-tagline {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-section h3 {
    color: var(--electric-cyan);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--neon-purple);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--smoke-white);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--electric-cyan);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--electric-cyan);
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: var(--smoke-white);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-links a:hover {
    color: var(--electric-cyan);
    transform: translateY(-3px);
}

.footer-newsletter {
    margin-top: 2rem;
}

.footer-newsletter p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form button {
    padding: 0 1.5rem;
    background: var(--electric-cyan);
    color: var(--deep-blue);
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-form button:hover {
    background: var(--neon-purple);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: var(--electric-cyan);
}

/* Estilos para el botón flotante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover {
    background-color: #128C7E; /* Un verde un poco más oscuro al pasar el mouse */
}

/* Estilos responsivos para móviles */
@media only screen and (max-width: 600px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        padding-right: 0;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
    
    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .hero-title .title-line {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-button, .secondary-button {
        width: 100%;
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .service-icon img {
        height: 150px;
    }
    
    .service-features li {
        font-size: 0.9rem;
    }

    .clients-track {
        gap: 1rem;
        animation: scroll 20s linear infinite;
    }
    
    .client-logo {
        flex: 0 0 120px;
        height: 60px;
    }
    
    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-120px * 8)); }
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* .form-group input:focus, 
.form-group select:focus{
    background-color: transparent;
}
input, select{
    background-color: transparent;
}
input:-webkit-autofill {
    -webkit-box-shadow: rgba(0, 0, 0, 0) !important; /* fondo personalizado 
    -webkit-text-fill-color:  var(--electric-cyan) !important;  
} */


input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #1e1e1e inset !important; /* tu color de fondo oscuro */
    -webkit-text-fill-color: var(--smoke-white) !important; /* color del texto */
    transition: background-color 5000s ease-in-out 0s; /* evita parpadeo */
}
select {
    background-color: transparent;
    color: var(--smoke-white);
    border: 1px solid var(--smoke-white);
}

option {
    background-color: #1e1e1e; /* color del fondo del menú */
    color: var(--smoke-white);
}

.section-service2{

    margin-top: 3rem;
    margin-bottom: 3rem;
    padding: 3rem;
}
.servicios-contacto{
 padding: 3rem;   
}
.titulo-section{
    margin-bottom: 3rem;

}

.in-row{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}