:root {
    /* Color Palette */
    --bg-main: #101419;
    --text-title: #FFFFFF;
    --text-body: #E2E8F0;
    --text-muted: #94A3B8;
    
    /* Brand Colors (Actualizados basados en el logo) */
    --color-blue: #3ABDC9; /* Cyan/Teal cristalino del logo */
    --color-violet: #FF8A8A; /* Coral/Rosa del logo */
    --color-orange: #D49A89; /* Cobre/Rose Gold del interior del logo */
    
    /* Gradients */
    --gradient-brand: linear-gradient(135deg, var(--color-blue), var(--color-violet), var(--color-orange));
    --gradient-glow: radial-gradient(circle at center, rgba(123, 44, 191, 0.15) 0%, rgba(11, 15, 25, 0) 70%);
    
    /* Glassmorphism */
    --glass-bg: rgba(11, 15, 25, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    
    /* Typography */
    --font-main: 'Plus Jakarta Sans', sans-serif;
    
    /* Aesthetics */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 100px;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-body);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Global Glow Background */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 15% 50%, rgba(0, 210, 255, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(123, 44, 191, 0.05), transparent 25%);
    z-index: -1;
    pointer-events: none;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-title);
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.text-muted {
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--color-orange);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
    background-color: #ff8255;
}

.btn-secondary {
    background: transparent;
    color: var(--text-title);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 107, 53, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-title);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 60px; /* Ajusta el tamaño según prefieras */
    width: auto;
    object-fit: contain;
}

.logo-text {
    color: var(--color-blue);
    font-family: var(--font-main);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 1rem;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-body);
    position: relative;
}

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

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--text-title);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(123, 44, 191, 0.1);
    color: var(--color-violet);
    border: 1px solid rgba(123, 44, 191, 0.2);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 90%;
}

.visual-container-logo {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-img {
    width: 85%;
    height: auto;
    object-fit: contain;
    z-index: 2;
    animation: floatLogo 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

.logo-glow-behind {
    position: absolute;
    width: 60%;
    height: 60%;
    background: var(--gradient-brand);
    filter: blur(100px);
    opacity: 0.3;
    z-index: 1;
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes floatLogo {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulseGlow {
    0% { opacity: 0.2; transform: scale(0.9); }
    100% { opacity: 0.5; transform: scale(1.1); }
}

.floating-node {
    position: absolute;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 6px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: var(--text-title);
    animation: float 4s ease-in-out infinite;
    z-index: 3;
    white-space: nowrap;
}

.node-1 { top: 40%; left: 18%; animation-delay: 0s; border-left: 2px solid var(--color-blue); }
.node-2 { top: 44%; right: 14%; animation-delay: 1s; border-left: 2px solid var(--color-orange); }
.node-3 { top: 58%; left: 10%; animation-delay: 2s; border-left: 2px solid var(--color-violet); }
.node-4 { top: 62%; right: 10%; animation-delay: 0.5s; border-left: 2px solid var(--color-blue); }
.node-5 { top: 22%; left: 12%; animation-delay: 1.5s; border-left: 2px solid var(--color-orange); }
.node-6 { top: 24%; right: 12%; animation-delay: 2.5s; border-left: 2px solid var(--color-violet); }

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

/* Services Section */
.services {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
}

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

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.03), transparent 50%);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glass-shadow);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    margin-bottom: 24px;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--bg-main);
    border-radius: 10px;
}

.icon-blue { background: linear-gradient(135deg, var(--color-blue), transparent); box-shadow: 0 0 20px rgba(0, 210, 255, 0.2); }
.icon-violet { background: linear-gradient(135deg, var(--color-violet), transparent); box-shadow: 0 0 20px rgba(123, 44, 191, 0.2); }
.icon-orange { background: linear-gradient(135deg, var(--color-orange), transparent); box-shadow: 0 0 20px rgba(255, 107, 53, 0.2); }

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-title);
}

.service-link .arrow {
    margin-left: 8px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-link {
    color: var(--color-blue);
}

.service-card:hover .service-link .arrow {
    transform: translateX(5px);
}

/* CEO Section */
.ceo {
    padding: 100px 0;
    background: linear-gradient(to bottom, transparent, rgba(11, 15, 25, 0.9));
}

.ceo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: var(--glass-shadow);
}

.ceo-badge {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.ceo-desc {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-body);
    margin: 24px 0 32px;
    border-left: 3px solid var(--color-violet);
    padding-left: 20px;
}

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

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

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

.ceo-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ceo-avatar-container {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ceo-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-brand);
    filter: blur(40px);
    opacity: 0.5;
}

.ceo-avatar-placeholder {
    width: 280px;
    height: 280px;
    background: var(--bg-main);
    border-radius: 50%;
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.8);
}

.ceo-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Footer */
.footer {
    padding: 80px 0 30px;
    border-top: 1px solid var(--glass-border);
    background: #06090f;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 16px;
    color: var(--text-muted);
    max-width: 300px;
}

.footer h4 {
    color: var(--text-title);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

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

.footer-links ul li a {
    color: var(--text-muted);
}

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

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.contact-icon {
    margin-right: 12px;
    color: var(--color-orange);
    font-size: 1.2rem;
}

.contact-list a:hover {
    color: var(--text-title);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.social-links a:hover {
    background: var(--gradient-brand);
    color: #fff;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container, .ceo-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
        order: 2;
    }
    
    .hero-subtitle {
        margin: 0 auto 40px;
    }
    
    .hero-visual {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    /* Floating Nodes Responsive (Applies to Tablets and Mobile) */
    .floating-node {
        font-size: 0.65rem;
        padding: 4px 10px;
        white-space: nowrap;
    }
    
    /* Clustering extremely tightly around the exact 50% vertical center */
    .node-1 { top: 46%; left: 10%; }
    .node-2 { top: 48%; right: 5%; }
    .node-3 { top: 56%; left: 0%; }
    .node-4 { top: 58%; right: 0%; }
    .node-5 { top: 34%; left: 10%; }
    .node-6 { top: 35%; right: 12%; }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .ceo-container {
        padding: 40px 24px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    /* Mobile Menu */
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(11, 15, 25, 0.95);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-smooth);
        z-index: 999;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .nav-link {
        font-size: 1.5rem;
    }
    
    .header .btn-secondary {
        display: none;
    }
    
    /* Hamburger Animation */
    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

}
