* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #0f172a;
    color: #f1f5f9;
    line-height: 1.6;
}

/* NAVBAR */

.navbar {
    position: fixed;
    width: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-weight: bold;
    font-size: 1.2rem;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #cbd5e1;
    font-size: 0.9rem;
    transition: 0.3s ease;
}

nav a:hover {
    color: white;
}

.nav-cta {
    background: #3b82f6;
    padding: 8px 16px;
    border-radius: 4px;
}

/* CONTAINER */

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* HERO CON IMAGEN */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: url("https://images.unsplash.com/photo-1550751827-4bd374c3f58b?q=80&w=2070") center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15,23,42,0.9), rgba(15,23,42,0.7));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.85;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
}

/* ARCHITECTURE */

.architecture {
    padding: 100px 0;
    background: #111827;
}

.architecture h2 {
    text-align: center;
    margin-bottom: 60px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: #1e293b;
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* AUTHORITY */

.authority {
    padding: 100px 0;
    text-align: center;
}

.authority-text {
    max-width: 700px;
    margin: 20px auto 0 auto;
    opacity: 0.8;
}

/* CTA */

.cta {
    padding: 100px 0;
    text-align: center;
    background: #0b1120;
}

.btn-secondary {
    background: #10b981;
    color: white;
}

.btn-secondary:hover {
    background: #059669;
}

/* FOOTER */

footer {
    text-align: center;
    padding: 40px 0;
    background: #0b1120;
    font-size: 0.9rem;
    opacity: 0.6;
}
/* EFECTO GRID TECNICO SUTIL */

body::before {
    content: "";
    position: fixed;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
}

/* GLOW EN BOTONES */

.btn-primary,
.btn-secondary {
    box-shadow: 0 0 15px rgba(59,130,246,0.4);
}

.btn-primary:hover,
.btn-secondary:hover {
    box-shadow: 0 0 25px rgba(59,130,246,0.8);
    transform: translateY(-2px);
}

/* HERO MÁS IMPACTANTE */

.hero h1 {
    font-size: 3.5rem;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ANIMACION SUAVE */

section {
    animation: fadeIn 1.2s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SPLIT SECTION */

.split-section {
    display: flex;
    min-height: 500px;
}

.split-image {
    flex: 1;
    background: url("https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=2070") center/cover no-repeat;
}

.split-content {
    flex: 1;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #111827;
}

.split-content h2 {
    margin-bottom: 20px;
}

.split-content p {
    opacity: 0.8;
}

/* RESPONSIVE */

@media(max-width: 900px) {
    .split-section {
        flex-direction: column;
    }

    .split-content {
        padding: 40px;
    }
}

#tsparticles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    z-index: 2;
}

.hero-content {
    z-index: 3;
}

.metrics {
    padding: 100px 0;
    text-align: center;
    background: #0f172a;
}

.metrics-grid {
    display: flex;
    justify-content: space-around;
}

.metrics h2 {
    font-size: 3rem;
    color: #3b82f6;
}

.navbar.scrolled {
    background: #0b1120;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.tech-ecosystem {
    padding: 100px 0;
    background: #111827;
    text-align: center;
}

.tech-ecosystem h2 {
    margin-bottom: 60px;
}

.tech-category {
    margin-bottom: 60px;
}

.tech-category h3 {
    margin-bottom: 30px;
    font-weight: 500;
    color: #3b82f6;
}

.tech-logos img {
    height: 45px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%) brightness(180%);
    opacity: 0.6;
    transition: all 0.4s ease;
}

/* EFECTO HOVER PRO */

.tech-logos img:hover {
    filter: grayscale(0%) brightness(100%);
    opacity: 1;
    transform: scale(1.12);
    box-shadow: 
        0 0 10px rgba(59,130,246,0.6),
        0 0 20px rgba(59,130,246,0.4),
        0 0 40px rgba(59,130,246,0.2);
    border-radius: 6px;
}

 /* BOTON WHATSAPP FLOTANTE */

.whatsapp-float{
    position: fixed;
    width: 68px;
    height: 68px;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg,#25D366,#128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow:
        0 0 12px rgba(37,211,102,.55),
        0 0 28px rgba(37,211,102,.35);
    transition: all .3s ease;
    animation: pulseWhatsapp 2s infinite;
}

.whatsapp-float:hover{
    transform: scale(1.12);
    box-shadow:
        0 0 18px rgba(37,211,102,.85),
        0 0 40px rgba(37,211,102,.55);
}

.whatsapp-float img{
    width: 34px;
    height: 34px;
}

@keyframes pulseWhatsapp{
    0%{
        box-shadow:
        0 0 0 0 rgba(37,211,102,.55);
    }

    70%{
        box-shadow:
        0 0 0 18px rgba(37,211,102,0);
    }

    100%{
        box-shadow:
        0 0 0 0 rgba(37,211,102,0);
    }
}

/* MOBILE */

@media(max-width:768px){
    .whatsapp-float{
        width:60px;
        height:60px;
        right:18px;
        bottom:18px;
    }

    .whatsapp-float i{
   font-size: 34px;
   color: white;
    }
}