@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Syne:wght@700;800&family=DM+Sans:wght@300;400;500;700&display=swap');

:root {
    --bg-dark: #05101F;
    --bg-card: rgba(8, 21, 37, 0.6);
    --accent-yellow: #FFD600;
    --accent-cyan: #00D4E8;
    --accent-green: #00E5A0;
    --accent-red: #FF4D6A;
    --text-muted: #FFFFFF;
    --text-body: #FFFFFF;
    --text-white: #EFF6FF;
    --border-cyan: rgba(0, 212, 232, 0.2);
    --border-red: rgba(255, 77, 106, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --neon-glow-cyan: 0 0 16px rgba(0, 212, 232, 0.4);
    --neon-glow-yellow: 0 0 16px rgba(255, 214, 0, 0.4);
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    position: relative;
}

/* Background Grid & Textures */
.grid-bg {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 212, 232, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 232, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
}

.scanline {
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 212, 232, 0.01) 2px,
        rgba(0, 212, 232, 0.01) 4px
    );
    pointer-events: none;
    z-index: 100;
}

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.15;
}

/* HUD Corners */
.hud-corner {
    position: absolute;
    width: 15px;
    height: 15px;
    pointer-events: none;
}

.hud-tl { top: 15px; left: 15px; border-top: 2px solid var(--accent-cyan); border-left: 2px solid var(--accent-cyan); }
.hud-br { bottom: 15px; right: 15px; border-bottom: 2px solid var(--accent-yellow); border-right: 2px solid var(--accent-yellow); }

/* Typography */
.t-hero {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(48px, 10vw, 96px);
    line-height: 0.95;
    letter-spacing: 0.03em;
}

.t-hero .yellow { color: var(--accent-yellow); }
.t-hero .outline { 
    color: transparent; 
    -webkit-text-stroke: 2px var(--accent-cyan); 
    filter: drop-shadow(0 0 8px rgba(0, 212, 232, 0.3));
}

.t-sub {
    font-family: 'Syne', sans-serif;
    font-size: clamp(16px, 3vw, 22px);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(5, 16, 31, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-cyan);
    padding: 15px 0;
}

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

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

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    color: var(--text-white);
    text-decoration: none;
}

.logo span { color: var(--accent-cyan); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: 0.03em;
}

.btn-primary {
    background-color: var(--accent-yellow);
    color: #2A1F00;
}

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

.btn-secondary {
    background: rgba(0, 212, 232, 0.06);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 212, 232, 0.35);
}

.btn-secondary:hover {
    background: rgba(0, 212, 232, 0.15);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

.btn-green {
    background: rgba(0, 229, 160, 0.06);
    color: var(--accent-green);
    border: 1px solid rgba(0, 229, 160, 0.35);
}

/* Badges */
.badge {
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.b-cyan { border: 1px solid rgba(0, 212, 232, 0.4); color: var(--accent-cyan); background: rgba(0, 212, 232, 0.06); }
.b-yellow { border: 1px solid rgba(255, 214, 0, 0.4); color: var(--accent-yellow); background: rgba(255, 214, 0, 0.06); }
.b-red { border: 1px solid rgba(255, 77, 106, 0.4); color: var(--accent-red); background: rgba(255, 77, 106, 0.06); }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 80px 0;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Cards */
.card-glass {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 232, 0.15);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.card-title {
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.card-desc {
    font-size: 14px;
    color: var(--text-white);
    line-height: 1.5;
    word-break: break-word;
}

.card-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 232, 0.5), transparent);
}

.card-glass:hover {
    border-color: rgba(0, 212, 232, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 232, 0.1);
}

.card-pain {
    background: rgba(8, 21, 37, 0.7);
    border: 1px solid var(--border-red);
    border-radius: 16px;
    padding: 32px;
    position: relative;
}

.card-pain::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 77, 106, 0.5), transparent);
}

.card-pain p {
    color: var(--text-white);
    font-size: 15px;
    word-break: break-word;
}
.card-stat {
    background: rgba(8, 21, 37, 0.8);
    border: 1px solid rgba(0, 212, 232, 0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    width: 100%;
}

.stat-n {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    color: var(--accent-yellow);
    line-height: 1;
}

.stat-l {
    font-size: 13px;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 5px;
}

/* Bridge Phrase */
.bridge-box {
    border-left: 3px solid var(--accent-yellow);
    padding: 20px 30px;
    background: rgba(255, 214, 0, 0.05);
    border-radius: 0 12px 12px 0;
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    color: var(--accent-yellow);
    font-style: italic;
    margin-top: 40px;
}

.bridge-box span { color: var(--text-muted); font-style: normal; font-weight: 400; }

/* Sections */
section { padding: 100px 0; }

.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-label::after { content: ''; flex: 1; height: 1px; background: rgba(138, 175, 200, 0.2); }

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #00E5A0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #05101F;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(0, 229, 160, 0.3);
    z-index: 1000;
    text-decoration: none;
    transition: var(--transition);
}

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

/* Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

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

/* Responsive */
/* Utilities */
.center-content { text-align: center; }
.c-pad-large { padding: 60px; }

.cta-btn {
    font-size: 18px;
    padding: 16px 48px;
}

/* Responsive Elements */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 600px;
    margin: 60px auto 0;
}

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

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

@media (max-width: 768px) {
    .c-pad-large { padding: 24px 16px; }
    
    .cta-btn {
        font-size: 16px;
        padding: 12px 24px;
    }
    
    .hero-actions { 
        flex-direction: column; 
        width: 100%; 
    }
    
    .t-hero { 
        font-size: clamp(40px, 12vw, 60px); 
    }
    
    .nav-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .hero-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 40px;
        padding: 0 10px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }

    #programa {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    #programa .grid-2 {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
        gap: 60px !important; 
    }

    #programa .card-glass {
        margin-bottom: 20px;
    }
    
    .card-glass { 
        padding: 24px 16px; 
    }
    
    .card-pain {
        padding: 24px 16px;
    }
    
    section { 
        padding: 60px 0; 
    }
    
    .t-sub {
        font-size: 14px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .bridge-box {
        font-size: 16px;
        padding: 15px 20px;
    }
}
/* Social Proof Toast */
.social-proof-toast {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-cyan);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 999;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-proof-toast.active {
    transform: translateY(0);
}

.social-proof-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-cyan);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.social-proof-text {
    font-size: 13px;
    color: var(--text-white);
}

.social-proof-text span {
    font-weight: bold;
    color: var(--accent-yellow);
}

@media (max-width: 768px) {
    .social-proof-toast {
        left: 20px;
        right: 20px;
        bottom: 20px;
        width: auto;
    }
}
/* Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 16, 31, 0.95);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    width: 100%;
    max-width: 450px;
    padding: 40px;
    position: relative;
    animation: modalIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-body);
    font-size: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--accent-red);
}

.modal-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-cyan);
    padding: 12px;
    border-radius: 8px;
    color: white;
    outline: none;
    font-family: 'DM Sans', sans-serif;
    transition: var(--transition);
}

.modal-input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 212, 232, 0.2);
}

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