:root {
    --bg-dark: #07070b;
    --bg-surface: rgba(255, 255, 255, 0.03);
    --primary: #00f0ff;
    --secondary: #7000ff;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

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

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

/* Background Glows */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}
.bg-glow-1 {
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
}
.bg-glow-2 {
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

/* Glassmorphism */
.glass {
    background: var(--bg-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Typography */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.glow-text {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 40px rgba(112, 0, 255, 0.4);
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}
.nav-logo {
    height: 40px;
}
.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}
.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}
.nav-links a:hover {
    color: var(--primary);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
}
.btn-secondary {
    background: transparent;
    border: 1px solid var(--text-main);
    color: var(--text-main);
}
.btn-secondary:hover {
    background: var(--text-main);
    color: var(--bg-dark);
}
.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}
.w-100 { width: 100%; }

/* Sections */
.section {
    padding-top: 60px;
    padding-bottom: 60px;
}
.pt-120 {
    padding-top: 100px;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    text-align: center;
}
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(112, 0, 255, 0.2);
    border: 1px solid var(--secondary);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
}
.hero-title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}
.hero-main-logo {
    width: 220px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.5));
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}
.hero-visual {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}
.dashboard-img {
    width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Grids & Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.card {
    padding: 40px 30px;
    border-radius: 16px;
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}
.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}
.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.card p {
    color: var(--text-muted);
}

/* Module Layouts */
.module-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}
.module-row.reverse {
    flex-direction: row-reverse;
}
.module-text {
    flex: 1;
}
.module-number {
    font-size: 4rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px var(--glass-border);
    margin-bottom: -10px;
}
.module-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.module-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
}
.module-img-wrapper {
    flex: 1.5;
    border-radius: 12px;
    overflow: hidden;
}
.module-img {
    width: 100%;
    display: block;
    border-radius: 12px;
    transition: var(--transition);
}
.module-row:hover .module-img {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

/* Security Box */
.security-box {
    padding: 60px;
    border-radius: 20px;
    border-color: var(--secondary);
    box-shadow: inset 0 0 60px rgba(112, 0, 255, 0.1);
}
.security-item h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}
.security-item p {
    color: var(--text-muted);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}
.pricing-card {
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}
.pricing-card.popular {
    border-color: var(--secondary);
    box-shadow: 0 0 30px rgba(112, 0, 255, 0.2);
}
.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--secondary);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
}
.price {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 20px 0;
}
.price span {
    font-size: 1rem;
    color: var(--text-muted);
}
.features-list {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
}
.features-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}
.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Loader */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--glass-border);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 100px;
}
.footer-logo {
    height: 60px;
    margin: 0;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}
.footer-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.footer-links-side {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
}
.footer-links-side a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}
.footer-links-side a:hover {
    color: var(--primary);
}

.mt-20 { margin-top: 20px; }
.mt-50 { margin-top: 50px; }

/* Responsive */
@media (max-width: 992px) {
    .container { padding-left: 20px; padding-right: 20px; }
    .section { padding-top: 60px; padding-bottom: 60px; }
    .pt-120 { padding-top: 120px; }
    .card { padding: 30px 20px; }
    .glow-text { font-size: 2.2rem; }
    .grid-3, .grid-2, .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
    .module-row, .module-row.reverse { flex-direction: column; gap: 30px; }
    
    /* Navbar Mobile Fixes */
    .nav-links { gap: 10px; }
    .nav-links a:not(.btn-primary) { display: none; }
    .nav-brand { font-size: 1.2rem; }
    .nav-logo { height: 32px; }
    .logo-container { gap: 10px; }
    .navbar .btn-primary { padding: 8px 16px; font-size: 0.9rem; white-space: nowrap; }

    .hero { padding-top: 120px; }
    .section-title { font-size: 2rem; }
    
    /* Module Navigation Fix */
    .module-navigation {
        flex-direction: column !important;
        gap: 15px !important;
    }
    .module-navigation a {
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    z-index: 9999;
    padding: 20px 30px;
    border-radius: 12px;
    display: none; /* Managed by JS */
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    background: rgba(15, 15, 20, 0.95);
    backdrop-filter: blur(10px);
}
.cookie-content {
    flex-grow: 1;
}
.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.cookie-buttons {
    flex-shrink: 0;
}
.cookie-buttons button {
    padding: 10px 24px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .cookie-buttons {
        width: 100%;
    }
    .cookie-buttons button {
        width: 100%;
    }
}

/* Pricing Section */
.pricing-section { padding: 2rem 5% 6rem; text-align: center; }
.pricing-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: stretch; justify-content: center;}
.pricing-box { background: rgba(30, 41, 59, 0.7); border: 1px solid rgba(0, 240, 255, 0.2); border-radius: 24px; padding: 3rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); position: relative; overflow: hidden; transition: transform 0.4s ease; text-align: left; display: flex; flex-direction: column; justify-content: center; width: 100%;}
.pricing-box:hover { transform: translateY(-5px); border-color: rgba(0, 240, 255, 0.5); box-shadow: 0 30px 60px -15px rgba(0, 240, 255, 0.3); }
.pricing-box.featured { background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95)); border: 1px solid rgba(0, 240, 255, 0.4); text-align: center; align-items: center; }
.pricing-box.featured::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(to right, var(--primary), var(--secondary)); }
.pricing-price { font-size: 4rem; font-weight: 800; color: white; margin-bottom: 0.5rem; display: flex; justify-content: center; align-items: center; gap: 5px; }
.pricing-price span { font-size: 1.2rem; color: var(--text-muted); font-weight: 400; margin-top: 15px; }
.badge-anual { position: absolute; top: 2.2rem; right: -3rem; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; padding: 0.5rem 4rem; font-weight: 900; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; transform: rotate(45deg); box-shadow: 0 10px 20px rgba(0,240,255, 0.4); z-index: 10; }

/* CTA Section */
.cta-section { padding: 2rem 5% 6rem; }
.cta-container { max-width: 1200px; margin: 0 auto; text-align: center; background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(168, 85, 247, 0.05)); border: 1px solid rgba(0, 240, 255, 0.2); padding: 4rem 2rem; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.3); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.cta-container:hover { transform: translateY(-5px); box-shadow: 0 30px 60px rgba(0, 240, 255, 0.2); border-color: rgba(0, 240, 255, 0.4); }
.cta-container h2 { font-size: 2.5rem; margin-bottom: 1.5rem; color: var(--text); }
.cta-container p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 650px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.btn-cta { font-size: 1.1rem; padding: 1rem 2.5rem; box-shadow: 0 10px 20px -10px var(--primary); }
@media (max-width: 900px) {
    .pricing-container { grid-template-columns: 1fr; }
}
