/* Reset y variables CSS */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #06b6d4;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-dark: #334155;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-dark: linear-gradient(135deg, var(--primary-dark), #0891b2);
    --shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
    --shadow-dark: 0 20px 40px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--light);
    background-color: var(--darker);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    position: relative;
}

/* Fondo tecnológico */
.tech-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(ellipse at top, #1e1b4b 0%, var(--darker) 70%);
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: -1;
}

/* Partículas */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Header */
.tech-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    transition: var(--transition);
}

.navbar {
    padding: 20px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--light);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon {
    margin-right: 10px;
    color: var(--primary);
}

.logo-highlight {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-link.hover-effect:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--gradient);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-link.hover-effect:hover:after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-cta {
    margin-left: 20px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 2px;
    background-color: var(--light);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    padding-top: 180px;
    padding-bottom: 150px;
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(99, 102, 241, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 30px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    margin-left: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.title-line {
    display: block;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.typing-text {
    display: inline-block;
    min-width: 150px;
    position: relative;
}

.typing-text:after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--primary);
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
    gap: 10px;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: var(--light);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.btn-outline:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
}

.btn-glow {
    background: var(--gradient);
    color: white;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    animation: glow 2s infinite;
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    }

    50% {
        box-shadow: 0 0 30px rgba(99, 102, 241, 0.8);
    }
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 5px;
}

.hero-visual {
    flex: 1;
    position: relative;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.2);
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 50%;
    right: 15%;
    animation-delay: 2s;
}

.element-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero-3d-model {
    position: relative;
    perspective: 1000px;
}

.tech-card {
    width: 300px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate3d 10s infinite linear;
    margin: 0 auto;
}

@keyframes rotate3d {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(10px);
}

.card-front {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
}

.card-back {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(99, 102, 241, 0.1));
    transform: rotateY(180deg);
}

.card-content {
    text-align: center;
    padding: 30px;
}

.card-content i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--gray);
    border-radius: 20px;
    position: relative;
    margin: 0 auto 10px;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        top: 10px;
        opacity: 1;
    }

    100% {
        top: 30px;
        opacity: 0;
    }
}

/* Secciones generales */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.title-prefix {
    color: var(--primary);
    font-family: var(--font-mono);
    font-weight: 400;
    margin-right: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Sección de Problema */
.problem-section {
    background: var(--darker);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.problem-list {
    list-style: none;
}

.problem-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}

.problem-list i {
    color: var(--danger);
    font-size: 1.2rem;
}

.problem-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item {
    background: rgba(30, 41, 59, 0.5);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateX(10px);
    border-color: var(--primary);
}

.stat-item .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-item .stat-label {
    font-size: 0.95rem;
    color: var(--gray);
}

/* Sección de Proceso */
.process-section {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 50px;
    position: relative;
}

.process-steps:after {
    content: '';
    position: absolute;
    top: 40px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: rgba(99, 102, 241, 0.1);
    z-index: -1;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 25px;
    position: relative;
    box-shadow: var(--shadow-glow);
}

.step-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--light);
}

.step-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-steps:after {
        display: none;
    }
}

/* Servicios */
.services-section {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    padding-left: 20px;
    padding-right: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(30, 41, 59, 0.5);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover:before {
    opacity: 0.1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.service-icon {
    position: relative;
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
}

.icon-wrapper {
    width: 100%;
    height: 100%;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .icon-glow {
    opacity: 0.3;
}

.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(99, 102, 241, 0.05);
    font-family: var(--font-mono);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light);
}

.service-description {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-tech {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tech-tag {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.service-hover {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.service-card:hover .service-hover {
    opacity: 1;
    transform: translateY(0);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    gap: 15px;
}

/* Tecnologías */
.tech-section {
    background: rgba(2, 6, 23, 0.7);
}

.tech-stack {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    opacity: 0;
    transform: scale(0.8);
}

.tech-item.visible {
    opacity: 1;
    transform: scale(1);
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: rgba(30, 41, 59, 0.7);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    transition: var(--transition);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.tech-item:hover .tech-icon {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-10px);
    border-color: var(--primary);
}

.tech-name {
    color: var(--light);
    font-weight: 500;
}

/* Clientes */
.clients-section {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.clients-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 70px;
}

.client-card {
    background: rgba(30, 41, 59, 0.5);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: var(--transition);
    opacity: 0;
}

.client-card.slide-left {
    transform: translateX(-100px);
}

.client-card.slide-right {
    transform: translateX(100px);
}

.client-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.client-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.client-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.client-logo {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo .logo-text {
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    text-align: center;
    padding: 0 5px;
}

.client-industry {
    background: rgba(6, 182, 212, 0.1);
    color: var(--secondary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.client-name {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--light);
}

.client-description {
    color: var(--gray);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.client-results {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.result {
    text-align: center;
}

.result-value {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.result-label {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 5px;
}

.client-tech {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tech-badge {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.5);
    border-radius: var(--border-radius);
    padding: 40px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--light);
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info {
    margin-left: 15px;
}

.author-name {
    font-weight: 700;
    color: var(--light);
}

.author-role {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Contacto */
.contact-section {
    background: rgba(2, 6, 23, 0.7);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-subtitle {
    color: var(--gray);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-details {
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-text h4 {
    color: var(--light);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-text p {
    color: var(--gray);
}

.contact-social h4 {
    color: var(--light);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(30, 41, 59, 0.7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-5px);
}

/* Formulario */
.form-card {
    background: rgba(30, 41, 59, 0.7);
    border-radius: var(--border-radius);
    padding: 40px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    box-shadow: var(--shadow);
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--light);
}

.tech-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-container {
    position: relative;
}

.input-container input,
.input-container select,
.input-container textarea {
    width: 100%;
    padding: 18px 0 10px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--light);
    font-size: 1rem;
    font-family: var(--font-main);
    transition: var(--transition);
}

.input-container textarea {
    resize: vertical;
    min-height: 100px;
}

.input-container label {
    position: absolute;
    top: 18px;
    left: 0;
    color: var(--gray);
    font-size: 1rem;
    transition: var(--transition);
    pointer-events: none;
}

.input-container input:focus,
.input-container select:focus,
.input-container textarea:focus {
    outline: none;
    border-bottom-color: var(--primary);
}

.input-container input:focus+label,
.input-container input:valid+label,
.input-container select:focus+.select-label,
.input-container select:valid+.select-label,
.input-container textarea:focus+label,
.input-container textarea:valid+label {
    top: 0;
    font-size: 0.85rem;
    color: var(--primary);
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.input-container input:focus~.input-border,
.input-container select:focus~.input-border,
.input-container textarea:focus~.input-border {
    width: 100%;
}

.btn-submit {
    width: 100%;
    margin-top: 10px;
    padding: 18px;
    font-size: 1rem;
    font-weight: 600;
}

/* Footer */
.tech-footer {
    background: rgba(2, 6, 23, 0.9);
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-title {
    color: var(--light);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-description {
    color: var(--gray);
    margin: 20px 0;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-services a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--primary);
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px 0 0 8px;
    color: var(--light);
    font-family: var(--font-main);
}

.newsletter-form button {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--gradient-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary);
}

/* WhatsApp flotante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition);
    animation: float-whatsapp 3s ease-in-out infinite;
}

@keyframes float-whatsapp {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

/* Animaciones de aparición */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

    .hero-title {
        font-size: 2.8rem;
    }

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        width: 80%;
        height: 100vh;
        padding: 100px 30px 40px;
        transition: var(--transition);
        border-left: 1px solid rgba(99, 102, 241, 0.1);
        z-index: 999;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 15px 0;
        font-size: 1.1rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .nav-cta {
        display: none;
    }
}

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

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

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

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

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

    .btn {
        padding: 14px 24px;
    }

    .tech-card {
        width: 250px;
        height: 350px;
    }
}

/* Páginas Legales */
.legal-section {
    padding-top: 180px;
    padding-bottom: 100px;
    min-height: 100vh;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.5);
    border-radius: var(--border-radius);
    padding: 60px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(10px);
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.legal-date {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 40px;
    font-style: italic;
}

.legal-intro {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.legal-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light);
}

.legal-section-block {
    margin-bottom: 40px;
}

.legal-section-block h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-section-block h2:before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--gradient);
    border-radius: 2px;
}

.legal-section-block p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 15px;
}

.legal-section-block ul {
    list-style: none;
    margin: 20px 0;
    padding-left: 0;
}

.legal-section-block ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: var(--gray);
    line-height: 1.6;
}

.legal-section-block ul li:before {
    content: '▸';
    position: absolute;
    left: 10px;
    color: var(--primary);
    font-weight: bold;
}

.legal-section-block strong {
    color: var(--light);
    font-weight: 600;
}

.legal-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.legal-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.legal-back {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    text-align: center;
}

/* Responsive para páginas legales */
@media (max-width: 768px) {
    .legal-content {
        padding: 40px 30px;
    }

    .legal-title {
        font-size: 2rem;
    }

    .legal-section-block h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .legal-content {
        padding: 30px 20px;
    }

    .legal-title {
        font-size: 1.8rem;
    }

    .legal-section-block h2 {
        font-size: 1.2rem;
    }

    .legal-intro p,
    .legal-section-block p {
        font-size: 0.95rem;
    }
}

/* Estilos para el formulario de contacto */
.input-container select {
    background-color: rgba(30, 41, 59, 0.8);
    color: var(--light);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 12px 15px;
    border-radius: 8px;
    width: 100%;
    font-family: var(--font-main);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.input-container select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(30, 41, 59, 0.9);
}

.input-container select option {
    background-color: var(--dark);
    color: var(--light);
    padding: 10px;
}

.input-container select option:hover {
    background-color: var(--primary);
}

.input-container input,
.input-container textarea {
    background-color: rgba(30, 41, 59, 0.8);
    color: var(--light);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 12px 15px;
    border-radius: 8px;
    width: 100%;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.input-container input:focus,
.input-container textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(30, 41, 59, 0.9);
}

.input-container label {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
}