/* Design System Tokens */
:root {
    --bg-dark: #0a0e14;
    --navy-dark: #121820;
    --electric-blue: #007bff;
    --electric-blue-glow: #00bfff;
    --metallic-grey: #b0bfc6;
    --text-primary: #f8f9fa;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition-speed: 0.3s;
    --container-width: 1200px;

    /* Phase 2 Accents */
    --accent-gold: #FFD700;
    --accent-emerald: #50C878;
    --accent-platinum: #E5E4E2;
    --accent-cyan: #00FFFF;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo-u {
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.glass-nav {
    background: rgba(10, 14, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-speed);
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-red {
    background: linear-gradient(135deg, var(--text-primary), var(--metallic-grey));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-u {
    color: var(--electric-blue);
    position: relative;
    padding-left: 5px;
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition-speed);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 10px;
    transition: var(--transition-speed);
}

.nav-links li a:hover {
    color: var(--electric-blue-glow);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 70% 30%, #1e293b 0%, #0a0e14 100%);
}

.hero-content {
    max-width: 800px;
}

.headline {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 30%, var(--metallic-grey));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subheadline {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Buttons */
.btn-primary {
    background-color: var(--electric-blue);
    color: #fff;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-speed);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    background: var(--glass-bg);
}

/* Glow Animation for CTA */
.glow-button {
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.4), 0 0 30px rgba(0, 123, 255, 0.2);
    animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
    from {
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
    }
    to {
        box-shadow: 0 0 25px rgba(0, 123, 255, 0.7), 0 0 45px rgba(0, 123, 255, 0.4);
    }
}

/* Neon Pulse Button CTA */
.btn-neon-pulse {
    background: transparent;
    border: 2px solid var(--electric-blue-glow);
    color: var(--electric-blue-glow);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.2), inset 0 0 15px rgba(0, 191, 255, 0.1);
    animation: neon-pulse 1.5s infinite alternate;
    transition: var(--transition-speed);
}

.btn-neon-pulse:hover {
    background: var(--electric-blue-glow);
    color: #fff;
    box-shadow: 0 0 25px var(--electric-blue-glow), inset 0 0 15px var(--electric-blue-glow);
    transform: scale(1.05);
}

@keyframes neon-pulse {
    from {
        box-shadow: 0 0 10px rgba(0, 191, 255, 0.3), inset 0 0 5px rgba(0, 191, 255, 0.2);
    }
    to {
        box-shadow: 0 0 25px rgba(0, 191, 255, 0.6), inset 0 0 15px rgba(0, 191, 255, 0.4);
    }
}

/* Sections & Cards */
.section-padding {
    padding: 100px 0;
}

.bg-metallic {
    background: linear-gradient(to bottom, #0a0e14, #121820);
}

.card-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 4rem;
    border-radius: 24px;
    backdrop-filter: blur(20px);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--electric-blue-glow);
}

.section-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
}

.highlight {
    color: var(--text-primary);
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-dark);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
}

/* CRM Música & Special Components */
.crm-music-variant {
    background: radial-gradient(circle at 50% 50%, #1e1b4b 0%, var(--bg-dark) 100%);
}

.music-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(80px);
}

.text-center {
    text-align: center;
    margin: 0 auto;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 20px;
    transition: var(--transition-speed);
}

.feature-card-glass:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--electric-blue-glow);
}

/* Cyberpunk Cards */
.cyberpunk-card {
    background: rgba(10, 14, 20, 0.85);
    border: 1px solid rgba(0, 191, 255, 0.3);
    box-shadow: inset 0 0 20px rgba(0, 191, 255, 0.05), 0 0 15px rgba(0, 191, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.cyberpunk-card:hover {
    background: rgba(10, 14, 20, 0.95);
    border-color: var(--electric-blue-glow);
    box-shadow: inset 0 0 30px rgba(0, 191, 255, 0.15), 0 0 25px rgba(0, 191, 255, 0.3);
    transform: translateY(-5px) scale(1.02);
}

.cyberpunk-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(0, 191, 255, 0.1), transparent);
    transform: skewX(-20deg);
    animation: cyber-scan 3s infinite linear;
}

@keyframes cyber-scan {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.neon-text {
    text-shadow: 0 0 15px rgba(0, 191, 255, 0.8), 0 0 30px rgba(0, 191, 255, 0.4);
}

.icon-music {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.btn-premium-access {
    display: inline-block;
    background: linear-gradient(135deg, var(--electric-blue), #6366f1);
    color: #fff;
    padding: 1.5rem 3.5rem;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-premium-access:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.6);
    filter: brightness(1.1);
}

.bg-metallic-layers {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #121820 100%);
    position: relative;
}

.access-panel {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 1.5rem;
    /* Added lateral padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Ensure contents are centered */
}

.secure-badge {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Responsive Grid */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(10, 14, 20, 0.98);
        backdrop-filter: blur(25px);
        padding: 2rem;
        gap: 2.5rem;
        border: none;
        text-align: center;
        z-index: 999;
    }

    .nav-links li a {
        font-size: 1.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .btn-mobile-login {
        display: inline-block;
        margin-top: 1.5rem;
        padding: 1.2rem 3rem !important;
        background: linear-gradient(135deg, var(--accent-gold), #b8860b) !important;
        color: #0a0e14 !important;
        font-weight: 700 !important;
        font-size: 1.3rem !important;
        border-radius: 50px !important;
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.4) !important;
        text-transform: uppercase;
        letter-spacing: 1px;
        border: none !important;
    }

    .access-panel {
        text-align: center;
        align-items: center;
    }

    .secure-badge {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .card-stack-mobile .feature-card-glass {
        margin-bottom: 1rem;
    }

    .card-stack-mobile .feature-card-glass p {
        font-size: 16px;
        line-height: 1.5;
    }

    .hero-content {
        text-align: center;
        padding: 0 1rem;
    }

    .headline {
        font-size: 2.5rem;
        line-height: 1.3;
    }
}

/* Strategic Banner */
.strategic-banner {
    background: #0d1117;
    border: 1px solid var(--electric-blue);
    padding: 3rem 2rem;
    margin: 4rem 0;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.1);
    text-align: center;
}

.banner-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

/* Integration Blocks */
.integration-block {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05));
    border-radius: 24px;
    border-left: 4px solid var(--accent-gold);
}

.integration-block.emerald {
    border-left-color: var(--accent-emerald);
}

.integration-block.platinum {
    border-left-color: var(--accent-platinum);
}

/* Landing Variants */
.theme-gold .section-title {
    color: var(--accent-gold);
}

.theme-gold .btn-primary {
    background-color: var(--accent-gold);
    color: #000;
}

.theme-gold .btn-premium-access {
    background: linear-gradient(135deg, var(--accent-gold), #b8860b);
    color: #000;
}

.theme-emerald .section-title {
    color: var(--accent-emerald);
}

.theme-emerald .btn-primary {
    background-color: var(--accent-emerald);
    color: #000;
}

.theme-emerald .btn-premium-access {
    background: linear-gradient(135deg, var(--accent-emerald), #2e8b57);
}

.theme-platinum .section-title {
    color: var(--accent-platinum);
}

.theme-platinum .btn-primary {
    background-color: var(--accent-platinum);
    color: #000;
}

.theme-platinum .btn-premium-access {
    background: linear-gradient(135deg, var(--accent-platinum), #a9a9a9);
    color: #000;
}

.theme-cyan .section-title {
    color: var(--accent-cyan);
}

.theme-cyan .btn-primary {
    background-color: var(--accent-cyan);
    color: #000;
}

.theme-cyan .btn-premium-access {
    background: linear-gradient(135deg, var(--accent-cyan), #00ced1);
    color: #000;
}

/* Global Demo Button */
.btn-demo-request {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 1.2rem 3rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-speed);
    margin-top: 2rem;
}

.btn-demo-request:hover {
    background: #fff;
    color: #000;
}
/* ---- LEAD MAGNET Modal ---- */
.floating-btn-lead { position: fixed; bottom: 30px; right: 30px; background: linear-gradient(135deg, #ff3366, #ff6b33); color: white; padding: 15px 25px; border-radius: 50px; font-weight: bold; font-size: 1.1rem; cursor: pointer; box-shadow: 0 10px 30px rgba(255, 51, 102, 0.4); z-index: 1000; text-decoration: none; display: flex; align-items: center; gap: 10px; transition: transform 0.3s ease; border: none; }
.floating-btn-lead:hover { transform: scale(1.05) translateY(-5px); }
.lead-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 14, 20, 0.9); backdrop-filter: blur(10px); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.lead-modal-overlay.active { opacity: 1; pointer-events: auto; }
.lead-modal-content { background: #121820; border: 1px solid rgba(255, 51, 102, 0.3); width: 90%; max-width: 500px; border-radius: 20px; padding: 40px; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.5); transform: translateY(20px); transition: transform 0.3s ease; text-align: center; }
.lead-modal-overlay.active .lead-modal-content { transform: translateY(0); }
.close-modal-btn { position: absolute; top: 20px; right: 20px; background: transparent; border: none; color: #94a3b8; font-size: 1.5rem; cursor: pointer; }
.close-modal-btn:hover { color: white; }
.lead-form-group { margin-bottom: 20px; text-align: left; }
.lead-form-group label { display: block; margin-bottom: 8px; color: #f8f9fa; font-weight: 500; }
.lead-form-group input { width: 100%; padding: 15px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.05); color: white; font-size: 1rem; }
.view-hidden { display: none !important; }
