:root {
    --primary: #2563eb;
    --dark: #0f172a;
    --secondary: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --nav-height: 80px;
}

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

body { 
    font-family: 'Inter', sans-serif; 
    color: var(--dark); 
    line-height: 1.6; 
    overflow-x: hidden; 
}

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

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 2000;
    transition: 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Navbar */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.98);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

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

.logo { 
    z-index: 1001;
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
}

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

.nav-links li { 
    margin-left: 30px; 
}

.nav-links a { 
    text-decoration: none; 
    color: var(--secondary); 
    font-weight: 600; 
    transition: color 0.3s;
}

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

/* Menu Hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Buttons */
.btn-filled {
    background: var(--primary);
    color: white !important;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
}

.btn-filled:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

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

/* Hero Section */
.hero { 
    padding: 160px 0 80px; 
    background: radial-gradient(circle at top right, #eff6ff, #ffffff); 
}

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

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

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

.hero p { 
    font-size: 1.25rem; 
    color: var(--secondary); 
    margin-bottom: 40px; 
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Mockup Phone */
.hero-mockup {
    position: relative;
}

.mockup-phone {
    width: 280px;
    height: 550px;
    background: #000;
    border: 12px solid #1e293b;
    border-radius: 45px;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}

.phone-speaker { 
    width: 60px; 
    height: 5px; 
    background: #334155; 
    position: absolute; 
    top: 15px; 
    left: 50%; 
    transform: translateX(-50%); 
    border-radius: 10px; 
}

.phone-screen { 
    height: 100%; 
    width: 100%; 
    background: #f1f5f9; 
    border-radius: 33px; 
    overflow: hidden; 
    padding: 20px; 
}

.app-header { 
    height: 40px; 
    background: #e2e8f0; 
    border-radius: 8px; 
    margin-bottom: 20px; 
}

.app-card { 
    height: 100px; 
    background: #ffffff; 
    border-radius: 12px; 
    margin-bottom: 15px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.badge-1 { 
    top: 20%; 
    right: -80px; 
    color: #10b981; 
}

.badge-2 { 
    bottom: 30%; 
    left: -100px; 
    color: var(--primary); 
}

/* Impact Section */
.impact-section { 
    background: var(--dark); 
    padding: 50px 0; 
    color: white; 
}

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

.stat-box h3 { 
    font-size: 2.8rem; 
    color: var(--primary); 
    margin-bottom: 10px; 
}

.stat-box p { 
    color: #94a3b8; 
}

/* Section Generic */
.section-padding { 
    padding: 100px 0; 
    scroll-margin-top: 80px; 
}

.grey-bg { 
    background-color: var(--bg-light); 
}

.section-title { 
    text-align: center; 
    margin-bottom: 60px; 
}

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

.section-title p { 
    color: var(--secondary); 
    font-size: 1.1rem; 
}

/* Cards */
.grid-cards { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
}

.card { 
    background: white; 
    padding: 40px; 
    border-radius: 25px; 
    border: 1px solid #eef2ff; 
    transition: 0.4s; 
}

.card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 25px 50px rgba(0,0,0,0.05); 
}

.icon-box { 
    font-size: 2.5rem; 
    color: var(--primary); 
    margin-bottom: 20px; 
}

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

.card h3 { 
    margin-bottom: 15px; 
    font-size: 1.5rem; 
}

.card p { 
    color: var(--secondary); 
}

/* Video Section */
.video-outer { 
    display: flex; 
    justify-content: center; 
}

.video-container {
    width: 100%;
    max-width: 850px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 30px;
    border: 8px solid white;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-content { 
    text-align: center; 
    color: white; 
    cursor: pointer; 
}

.play-content i { 
    font-size: 5rem; 
    margin-bottom: 10px; 
    opacity: 0.8; 
    transition: 0.3s; 
}

.play-content:hover i { 
    opacity: 1; 
    transform: scale(1.1); 
}

.play-content p { 
    font-size: 1.1rem; 
}

/* Team Section */
.grid-team { 
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.photo-circle { 
    width: 180px; 
    height: 180px; 
    border-radius: 50%; 
    margin: 0 auto 25px;
    overflow: hidden;
    border: 5px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.photo-circle:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--primary);
}

.photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-member { 
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.member-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.team-member h3 { 
    margin-bottom: 8px; 
    font-size: 1.2rem;
    color: var(--dark);
    font-weight: 700;
}

.member-role {
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.member-experience {
    color: var(--secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 15px;
}

.experience-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

/* Footer */
footer { 
    background: var(--dark); 
    color: white; 
    padding: 60px 0 40px; 
    text-align: center; 
}

footer .logo { 
    margin-bottom: 15px;
    justify-content: center;
}

footer .logo img {
    height: 50px;
    width: auto;
}

footer p { 
    color: #94a3b8; 
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

footer hr { 
    border: 0; 
    border-top: 1px solid rgba(255,255,255,0.1); 
    margin: 30px 0; 
}

.copyright { 
    font-size: 0.9rem; 
}

/* Animations */
.reveal { 
    opacity: 0; 
    transform: translateY(40px); 
    transition: 1s ease-out; 
}

.reveal.active { 
    opacity: 1; 
    transform: translateY(0); 
}

/* ============================================ */
/* RESPONSIVE DESIGN */
/* ============================================ */

@media (max-width: 992px) {
    .hero-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    
    .hero h1 { 
        font-size: 2.8rem; 
    }
    
    .hero p { 
        font-size: 1.1rem; 
    }
    
    .hero-btns { 
        justify-content: center; 
    }
    
    .badge-1, .badge-2 { 
        display: none; 
    }
    
    .mockup-phone { 
        width: 240px; 
        height: 470px; 
    }
    
    .section-title h2 { 
        font-size: 2rem; 
    }
    
    .stat-box h3 { 
        font-size: 2.2rem; 
    }
}

@media (max-width: 768px) {
    :root { 
        --nav-height: 70px; 
    }
    
    .menu-toggle { 
        display: flex; 
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    }
    
    .nav-links.active { 
        right: 0; 
    }
    
    .nav-links li { 
        margin: 20px 0; 
    }
    
    .nav-links a { 
        font-size: 1.2rem; 
    }
    
    .hero { 
        padding: 120px 0 60px; 
    }
    
    .hero h1 { 
        font-size: 2.2rem; 
    }
    
    .hero p { 
        font-size: 1rem; 
        margin-bottom: 30px; 
    }
    
    .hero-btns { 
        flex-direction: column; 
        align-items: center;
        gap: 15px;
    }
    
    .btn-filled, .btn-text { 
        width: 100%; 
        max-width: 280px; 
        justify-content: center; 
    }
    
    .impact-section { 
        padding: 40px 0; 
    }
    
    .stats-grid { 
        gap: 20px; 
    }
    
    .section-padding { 
        padding: 60px 0; 
    }
    
    .section-title h2 { 
        font-size: 1.8rem; 
    }
    
    .section-title p { 
        font-size: 1rem; 
    }
    
    .grid-cards { 
        gap: 20px; 
    }
    
    .card { 
        padding: 30px; 
    }
    
    .video-container { 
        border-radius: 20px; 
        border: 4px solid white; 
    }
    
    .play-content i { 
        font-size: 3.5rem; 
    }
    
    .play-content p { 
        font-size: 0.9rem; 
    }
    
    .grid-team { 
        gap: 40px;
        grid-template-columns: repeat(2, 1fr);
    }

    .photo-circle {
        width: 160px;
        height: 160px;
    }

    .member-name {
        font-size: 1.5rem;
    }

    .experience-number {
        font-size: 1.7rem;
    }
    
    footer { 
        padding: 40px 0 30px; 
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 26px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .container { 
        padding: 0 20px; 
    }
    
    .logo img { 
        height: 50px; 
    }

    .grid-team {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero h1 { 
        font-size: 1.8rem; 
    }
    
    .hero p { 
        font-size: 0.95rem; 
    }
    
    .mockup-phone { 
        width: 200px; 
        height: 390px; 
        border: 8px solid #1e293b;
    }
    
    .phone-screen { 
        padding: 15px; 
    }
    
    .app-header { 
        height: 30px; 
        margin-bottom: 15px; 
    }
    
    .app-card { 
        height: 80px; 
    }
    
    .stat-box h3 { 
        font-size: 2rem; 
    }
    
    .section-title h2 { 
        font-size: 1.5rem; 
    }
    
    .card { 
        padding: 25px; 
    }
    
    .icon-box { 
        font-size: 2rem; 
    }
    
    .card h3 { 
        font-size: 1.2rem; 
    }

    .photo-circle {
        width: 140px;
        height: 140px;
    }

    .member-name {
        font-size: 1.3rem;
    }

    .member-role {
        font-size: 0.9rem;
    }

    .member-experience {
        font-size: 0.85rem;
    }

    .experience-number {
        font-size: 1.5rem;
    }
}