/* ===== VARIABLES GLOBALES (Para mantener la consistencia corporativa) ===== */
:root {
    --bg-dark: #020308;
    --bg-panel: rgba(12, 20, 35, 0.6);
    --text-main: #eef5ff;
    --text-muted: #8fadff;
    --cyan-glow: #00f2fe;
    --pink-glow: #ff00c6;
    --primary-gradient: linear-gradient(120deg, var(--cyan-glow), var(--pink-glow));
}

/* ===== RESET & GLOBAL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(ellipse at 20% 30%, #0a0c1a, var(--bg-dark));
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Fondo espacial animado (estrellas sutiles) */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    background-image: 
        radial-gradient(1px 1px at 15% 40%, #ffffff80 1px, transparent 1px),
        radial-gradient(1.5px 1.5px at 73% 88%, #ffffff70 1px, transparent 1px),
        radial-gradient(2px 2px at 32% 12%, #ffffff60 2px, transparent 2px),
        radial-gradient(1px 1px at 91% 23%, #ffffff90 1px, transparent 1px);
    background-size: 250px 250px, 300px 300px, 400px 400px, 200px 200px;
    opacity: 0.4;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 70% 20%, rgba(0, 242, 254, 0.03), transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== TIPOGRAFÍA Y EFECTOS ===== */
h1, h2, h3, h4, .badge, .cta-nav {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

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

.highlight-text {
    color: var(--cyan-glow);
    border-bottom: 3px solid var(--pink-glow);
}

/* ===== NAVBAR ===== */
#navbar {
    position: sticky;
    top: 0;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: rgba(2, 8, 20, 0.75);
    border-bottom: 1px solid rgba(0, 242, 254, 0.15);
    z-index: 1000;
    padding: 1rem 0;
}

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

/* El logo se queda tal cual acordamos */
.logo img {
    max-height: 45px;
    width: auto;
    filter: none; 
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0px 0px 8px rgba(0, 242, 254, 0.6));
}

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

.nav-links a {
    text-decoration: none;
    color: #d0e4ff;
    font-weight: 500;
    transition: 0.3s;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--cyan-glow);
    text-shadow: 0 0 8px var(--cyan-glow);
}

.cta-nav {
    background: rgba(0, 242, 254, 0.1);
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    border: 1px solid var(--cyan-glow);
    color: var(--cyan-glow) !important;
}

.cta-nav:hover {
    background: var(--cyan-glow);
    color: #000 !important;
    box-shadow: 0 0 15px var(--cyan-glow);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--cyan-glow);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== HERO ===== */
#hero {
    padding: 7rem 0 5rem;
    position: relative;
    overflow: hidden;
}

/* Orbes de luz de fondo para el Hero */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
    opacity: 0.4;
    animation: float 8s infinite alternate ease-in-out;
}

.orb-1 {
    width: 400px; height: 400px;
    background: var(--cyan-glow);
    top: -10%; left: -5%;
}

.orb-2 {
    width: 300px; height: 300px;
    background: var(--pink-glow);
    bottom: -10%; right: 5%;
    animation-delay: -4s;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

.hero-wrapper {
    display: flex;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 242, 254, 0.1);
    backdrop-filter: blur(5px);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cyan-glow);
    border: 1px solid var(--cyan-glow);
    margin-bottom: 2rem;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

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

.btn-secondary {
    background: transparent;
    border: 1px solid var(--cyan-glow);
    color: var(--cyan-glow);
}

.btn-secondary:hover {
    background: rgba(0, 242, 254, 0.1);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

/* ===== STATS ===== */
.stats {
    padding: 3rem 0;
    border-top: 1px solid rgba(0, 242, 254, 0.15);
    border-bottom: 1px solid rgba(0, 242, 254, 0.15);
    background: rgba(2, 3, 8, 0.6);
    backdrop-filter: blur(10px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item i {
    font-size: 2rem;
    color: var(--cyan-glow);
    margin-bottom: 0.5rem;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.stat-item p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

/* ===== VISION & 3D DIGITAL TWIN ANIMATION ===== */
#vision {
    padding: 6rem 0;
}

.vision-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.vision-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

/* La magia del átomo/gemelo digital */
.vision-visual {
    position: relative;
    height: 400px;
    background: radial-gradient(circle at center, rgba(0, 242, 254, 0.05), transparent 70%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-graphic-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px; /* Profundidad 3D */
}

.core-node {
    width: 30px; height: 30px;
    background: var(--cyan-glow);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--cyan-glow), 0 0 60px var(--cyan-glow);
    animation: pulseCore 2s infinite alternate;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-top: 2px solid var(--cyan-glow);
    border-bottom: 2px solid var(--pink-glow);
    transform-style: preserve-3d;
}

.ring-1 { width: 180px; height: 180px; animation: spin1 6s linear infinite; }
.ring-2 { width: 260px; height: 260px; animation: spin2 10s linear infinite reverse; }
.ring-3 { width: 340px; height: 340px; border-top: 2px solid #fff; animation: spin3 15s linear infinite; }

@keyframes pulseCore {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 30px var(--cyan-glow), 0 0 80px #fff; }
}
@keyframes spin1 { 0% { transform: rotateX(60deg) rotateY(20deg) rotateZ(0deg); } 100% { transform: rotateX(60deg) rotateY(20deg) rotateZ(360deg); } }
@keyframes spin2 { 0% { transform: rotateX(70deg) rotateY(-30deg) rotateZ(0deg); } 100% { transform: rotateX(70deg) rotateY(-30deg) rotateZ(360deg); } }
@keyframes spin3 { 0% { transform: rotateX(40deg) rotateY(60deg) rotateZ(0deg); } 100% { transform: rotateX(40deg) rotateY(60deg) rotateZ(360deg); } }


/* ===== SOLUTIONS ===== */
#solutions {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.solution-card {
    background: var(--bg-panel);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(0, 242, 254, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Efecto de luz superior en la tarjeta */
.solution-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: 0.4s;
}

.solution-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 242, 254, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 254, 0.1);
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
}

.solution-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #fff;
}

.solution-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ===== CONTACT / CTA FORM ===== */
#contact {
    padding: 5rem 0;
}

.contact-box {
    background: linear-gradient(145deg, rgba(12, 20, 35, 0.8), rgba(2, 3, 8, 0.9));
    border-radius: 30px;
    padding: 4rem 3rem;
    border: 1px solid rgba(0, 242, 254, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-content h2 {
    font-size: 2.5rem;
}

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

.input-group {
    display: flex;
    gap: 1rem;
}

.contact-form input {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 1rem;
    border: 1px solid rgba(0
