/* ==========================================================================
   BEOFFON ® Máquina de Conversión v2.0 - CSS Ultra-Disruptivo
   ========================================================================== */

:root {
    --bg-dark: #0a0d14;
    --bg-card: rgba(18, 24, 38, 0.75);
    --bg-card-hover: rgba(26, 35, 56, 0.85);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-active: rgba(0, 195, 255, 0.4);

    --primary: #00f0ff;
    --primary-glow: rgba(0, 240, 255, 0.25);
    --secondary: #7000ff;
    --secondary-glow: rgba(112, 0, 255, 0.3);
    --accent-pink: #ff007a;
    --accent-green: #00ff87;
    --accent-gold: #ffb800;
    --accent-red: #ff2d55;

    --text-main: #f0f4f8;
    --text-muted: #94a3b8;
    --text-bright: #ffffff;

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Core */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    padding-top: 70px;
}

/* Ambient Glows */
.bg-glow {
    position: fixed;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.35;
}
.bg-glow-1 { top: -100px; left: -100px; background: radial-gradient(circle, var(--secondary), transparent 70%); }
.bg-glow-2 { top: 40%; right: -150px; background: radial-gradient(circle, var(--primary), transparent 70%); }
.bg-glow-3 { bottom: -100px; left: 20%; background: radial-gradient(circle, var(--accent-pink), transparent 75%); }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text-bright); line-height: 1.2; letter-spacing: -0.02em; }
p { color: var(--text-muted); }

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #7000ff 50%, var(--accent-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-title {
    display: inline-block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* Layout */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: var(--transition);
}
.glass-card:hover {
    border-color: var(--border-active);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--primary-glow);
}

.text-center { text-align: center; }
.full-width { width: 100%; }
.m-t-20 { margin-top: 20px; }
.text-danger { color: var(--accent-pink); }
.text-primary { color: var(--primary); }
.text-success { color: var(--accent-green); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #00a8ff 100%);
    color: #050b14;
    box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 240, 255, 0.4); }

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-bright);
    border-color: var(--border-glass);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--primary); color: var(--primary); }

.btn-outline {
    background: transparent;
    color: var(--text-bright);
    border-color: var(--border-glass);
}
.btn-outline:hover { background: rgba(112, 0, 255, 0.15); border-color: var(--secondary); }

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }

/* ========================================================================
   URGENCY BAR (NUEVO - Sticky Top)
   ======================================================================== */
.urgency-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 101;
    background: linear-gradient(90deg, rgba(255,0,122,0.15), rgba(255,45,85,0.2));
    border-bottom: 1px solid rgba(255,0,122,0.3);
    backdrop-filter: blur(10px);
    padding: 8px 0;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffd1dc;
    animation: slideDown 0.6s ease-out;
}
.urgency-bar i { color: var(--accent-pink); margin-right: 6px; }
.urgency-slots {
    display: inline-block;
    background: var(--accent-pink);
    color: #fff;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-weight: 800;
    margin: 0 4px;
}
.pulse-red { animation: pulseRed 0.8s ease-in-out; }
@keyframes pulseRed {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); background: #ff5555; }
}
@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* ========================================================================
   NAVBAR (Ajustado para urgency bar)
   ======================================================================== */
.navbar {
    position: fixed;
    top: 36px;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 13, 20, 0.88);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 12px 0;
    transition: var(--transition);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; flex-direction: column; text-decoration: none; }
.logo-text { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--text-bright); letter-spacing: 0.05em; }
.brand-badge { color: var(--primary); font-size: 0.9rem; vertical-align: super; }
.logo-sub { font-size: 0.65rem; color: var(--primary); letter-spacing: 0.15em; font-weight: 700; }

.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: var(--transition); }
.nav-links a:hover { color: var(--primary); }

.lang-switcher {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}
.lang-btn { text-decoration: none; font-size: 1.1rem; padding: 3px 6px; border-radius: var(--radius-sm); transition: var(--transition); display: flex; align-items: center; gap: 4px; }
.lang-btn span { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); }
.lang-btn.active { background: rgba(0, 240, 255, 0.2); border: 1px solid var(--primary); }
.lang-btn.active span { color: var(--primary); }
.lang-btn:hover { transform: scale(1.15); }

.nav-actions { display: flex; align-items: center; gap: 16px; }

/* ========================================================================
   HERO
   ======================================================================== */
.hero { padding: 140px 0 80px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }

.pill-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 24px;
}
.pulse-dot {
    width: 8px; height: 8px; background: var(--primary); border-radius: 50%;
    box-shadow: 0 0 10px var(--primary); animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

.hero-title { font-size: 3.2rem; font-weight: 800; margin-bottom: 20px; }
.hero-description { font-size: 1.15rem; margin-bottom: 36px; max-width: 580px; }
.hero-cta-group { display: flex; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; color: var(--text-muted); }
.trust-stars { color: var(--accent-gold); }

/* Hero Card */
.main-hero-card { padding: 32px; }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border-glass); }
.status-indicator { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--accent-green); font-weight: 600; }
.status-dot { width: 10px; height: 10px; background: var(--accent-green); border-radius: 50%; box-shadow: 0 0 10px var(--accent-green); }
.card-tag { font-family: var(--font-heading); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--text-muted); }

.card-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-box { background: rgba(255, 255, 255, 0.03); padding: 16px; border-radius: var(--radius-sm); border: 1px solid var(--border-glass); text-align: center; }
.stat-number { display: block; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 0.75rem; color: var(--text-muted); }

.chat-preview { display: flex; flex-direction: column; gap: 12px; }
.chat-bubble { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.85rem; max-width: 90%; }
.chat-bubble.bot { background: rgba(112, 0, 255, 0.2); border: 1px solid rgba(112, 0, 255, 0.4); align-self: flex-start; color: #e2d9ff; }
.chat-bubble.user { background: rgba(0, 240, 255, 0.15); border: 1px solid rgba(0, 240, 255, 0.3); align-self: flex-end; color: #d1f8ff; }

/* ========================================================================
   MONEY LOST COUNTER (NUEVO)
   ======================================================================== */
.money-lost-section { padding: 60px 0; background: rgba(255, 0, 122, 0.03); border-y: 1px solid rgba(255, 0, 122, 0.15); }
.money-lost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.money-lost-counter {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-pink);
    text-shadow: 0 0 30px rgba(255, 0, 122, 0.4);
    letter-spacing: -2px;
}
.money-lost-label { font-size: 0.9rem; color: var(--text-muted); margin-top: 8px; }
.money-lost-cta { margin-top: 24px; }

/* ========================================================================
   METRICS BAR
   ======================================================================== */
.metrics-bar { background: rgba(18, 24, 38, 0.9); border-y: 1px solid var(--border-glass); padding: 40px 0; margin: 40px 0; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.metric-item h3 { font-size: 2.2rem; color: var(--primary); margin-bottom: 4px; }

/* ========================================================================
   ABOUT
   ======================================================================== */
.about-section { padding: 90px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-card { padding: 40px; }
.timeline-box { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.timeline-item { display: flex; gap: 16px; align-items: flex-start; }
.timeline-icon {
    width: 44px; height: 44px; background: rgba(0, 240, 255, 0.1); border: 1px solid var(--primary);
    color: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.timeline-text h4 { font-size: 1.05rem; margin-bottom: 4px; }
.timeline-text p { font-size: 0.88rem; }

/* ========================================================================
   WHY SECTION
   ======================================================================== */
.why-section { padding: 90px 0; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 48px; }
.comparison-card { padding: 36px; border-radius: var(--radius-md); }
.comparison-card.old-way { background: rgba(255, 0, 122, 0.04); border: 1px solid rgba(255, 0, 122, 0.2); }
.comparison-card.beoffon-way { background: rgba(0, 240, 255, 0.05); border: 1px solid var(--primary); box-shadow: 0 0 30px rgba(0, 240, 255, 0.15); }
.comparison-card h3 { font-size: 1.4rem; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.comparison-list { list-style: none; }
.comparison-list li { font-size: 0.95rem; margin-bottom: 16px; display: flex; align-items: flex-start; gap: 12px; }

/* ========================================================================
   SERVICES
   ======================================================================== */
.services-section { padding: 90px 0; }
.section-header { margin-bottom: 60px; }
.section-header h2 { font-size: 2.4rem; margin-bottom: 16px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service-card { padding: 36px 28px; position: relative; display: flex; flex-direction: column; }
.service-card.featured { border-color: var(--primary); box-shadow: 0 0 30px rgba(0, 240, 255, 0.15); }
.popular-ribbon {
    position: absolute; top: 16px; right: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000; font-size: 0.65rem; font-weight: 800;
    padding: 4px 12px; border-radius: var(--radius-full);
}
.service-icon { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 20px; }
.red-icon { background: rgba(255, 0, 122, 0.15); color: var(--accent-pink); }
.blue-icon { background: rgba(0, 240, 255, 0.15); color: var(--primary); }
.purple-icon { background: rgba(112, 0, 255, 0.15); color: var(--secondary); }
.service-pack-badge { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.1em; margin-bottom: 8px; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.service-card p { font-size: 0.95rem; margin-bottom: 24px; }
.service-features { list-style: none; margin-bottom: 32px; flex-grow: 1; }
.service-features li { font-size: 0.88rem; color: var(--text-main); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.service-features li i { color: var(--primary); }

/* ========================================================================
   CALCULATOR 2.0
   ======================================================================== */
.calculator-section { padding: 80px 0; }
.calculator-card { padding: 48px; }
.calculator-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.calc-info h2 { font-size: 2rem; margin-bottom: 16px; }

.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; color: var(--text-bright); }
.form-control {
    width: 100%; padding: 14px 18px; background: rgba(10, 13, 20, 0.6);
    border: 1px solid var(--border-glass); border-radius: var(--radius-sm);
    color: var(--text-bright); font-family: var(--font-body); font-size: 0.95rem; transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 15px var(--primary-glow); }
input[type="range"] { width: 100%; accent-color: var(--primary); cursor: pointer; }
.range-display { margin-top: 8px; font-family: var(--font-heading); font-size: 1.1rem; color: var(--primary); font-weight: 700; }

/* Score Box (NUEVO) */
.score-box {
    background: rgba(10, 13, 20, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 20px;
    text-align: center;
}
.score-header { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.score-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; transition: color 0.3s; }
.score-bar-bg { background: rgba(255,255,255,0.05); height: 8px; border-radius: var(--radius-full); margin: 8px 0; overflow: hidden; }
.score-bar-fill { height: 100%; width: 0%; border-radius: var(--radius-full); transition: width 0.8s cubic-bezier(0.16,1,0.3,1); }
.score-label { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

.calc-results-box {
    background: rgba(10, 13, 20, 0.8); border: 1px solid var(--border-active);
    border-radius: var(--radius-md); padding: 36px; text-align: center;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.1);
}
.result-title { font-size: 0.85rem; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }
.result-amount { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 800; color: var(--accent-green); margin: 12px 0; text-shadow: 0 0 20px rgba(0, 255, 135, 0.3); }
.result-subtext { font-size: 0.85rem; margin-bottom: 24px; }
.result-breakdown { border-top: 1px solid var(--border-glass); padding-top: 20px; margin-bottom: 28px; text-align: left; }
.breakdown-item { display: flex; justify-content: space-between; font-size: 0.88rem; margin-bottom: 10px; }

/* ========================================================================
   PRESENTATION
   ======================================================================== */
.presentation-section { padding: 90px 0; }
.slide-deck-card { padding: 32px; }
.deck-navigation { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 16px; border-bottom: 1px solid var(--border-glass); margin-bottom: 32px; }
.slide-nav-btn {
    background: transparent; border: 1px solid var(--border-glass); color: var(--text-muted);
    padding: 10px 18px; border-radius: var(--radius-full); font-family: var(--font-body);
    font-size: 0.85rem; font-weight: 600; cursor: pointer; white-space: nowrap; transition: var(--transition);
}
.slide-nav-btn.active, .slide-nav-btn:hover { background: rgba(0, 240, 255, 0.15); border-color: var(--primary); color: var(--primary); }
.slide-viewport { min-height: 340px; position: relative; }
.slide-content { display: none; animation: fadeIn 0.4s ease-in-out; }
.slide-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.slide-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.slide-number { font-size: 0.75rem; color: var(--primary); font-weight: 700; letter-spacing: 0.1em; }
.slide-text h3 { font-size: 1.8rem; margin: 8px 0 16px; }
.slide-text ul { list-style: none; margin-top: 16px; }
.slide-text li { margin-bottom: 12px; font-size: 0.95rem; }
.slide-graphic {
    background: rgba(10, 13, 20, 0.6); border: 1px solid var(--border-glass);
    border-radius: var(--radius-md); height: 240px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 16px; font-size: 3rem; text-align: center; padding: 20px;
}
.slide-graphic span { font-size: 0.9rem; font-family: var(--font-heading); color: var(--text-muted); }
.red-glow { color: var(--accent-pink); box-shadow: inset 0 0 30px rgba(255, 0, 122, 0.15); }
.blue-glow { color: var(--primary); box-shadow: inset 0 0 30px rgba(0, 240, 255, 0.15); }
.purple-glow { color: var(--secondary); box-shadow: inset 0 0 30px rgba(112, 0, 255, 0.15); }
.green-glow { color: var(--accent-green); box-shadow: inset 0 0 30px rgba(0, 255, 135, 0.15); }
.gold-glow { color: var(--accent-gold); box-shadow: inset 0 0 30px rgba(255, 184, 0, 0.15); }
.deck-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border-glass); }
#slideIndicator { font-size: 0.85rem; color: var(--text-muted); }

/* ========================================================================
   TESTIMONIALS (NUEVO)
   ======================================================================== */
.testimonials-section { padding: 90px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.testimonial-card { padding: 32px; position: relative; }
.testimonial-stars { color: var(--accent-gold); margin-bottom: 16px; font-size: 0.9rem; }
.testimonial-text { font-size: 0.95rem; color: var(--text-main); font-style: italic; line-height: 1.7; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 700; color: #fff; font-size: 1.2rem;
}
.testimonial-name { font-weight: 700; color: var(--text-bright); font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }
.testimonial-result { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-glass); font-size: 0.8rem; color: var(--accent-green); font-weight: 600; }

/* ========================================================================
   AUDIT FORM
   ======================================================================== */
.audit-section { padding: 90px 0; }
.audit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.audit-info h2 { font-size: 2.2rem; margin-bottom: 20px; }
.direct-contact-box { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.contact-method { display: flex; align-items: center; gap: 16px; font-size: 1rem; }
.contact-method i {
    width: 46px; height: 46px; background: rgba(0, 240, 255, 0.1); color: var(--primary);
    border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.contact-method a { color: var(--primary); text-decoration: none; }
.audit-form-card { padding: 40px; }
.audit-form h3 { font-size: 1.5rem; margin-bottom: 4px; }
.form-subtitle { font-size: 0.85rem; margin-bottom: 24px; }
.success-message {
    margin-top: 20px; padding: 16px;
    background: rgba(0, 255, 135, 0.15); border: 1px solid var(--accent-green);
    border-radius: var(--radius-sm); color: var(--accent-green);
    font-size: 0.9rem; text-align: center; animation: fadeIn 0.4s;
}

/* ========================================================================
   MODALS
   ======================================================================== */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 8, 15, 0.85); backdrop-filter: blur(12px);
    z-index: 1000; display: flex; align-items: center; justify-content: center;
    padding: 24px; opacity: 0; visibility: hidden; transition: var(--transition);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-card {
    background: #0f1523; border: 1px solid var(--border-active); border-radius: var(--radius-md);
    width: 100%; max-width: 800px; max-height: 85vh;
    display: flex; flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transform: translateY(20px); transition: var(--transition);
}
.modal-overlay.active .modal-card { transform: translateY(0); }
.modal-header { padding: 20px 28px; border-bottom: 1px solid var(--border-glass); display: flex; align-items: center; justify-content: space-between; }
.modal-header h3 { font-size: 1.3rem; color: var(--primary); }
.modal-close-btn { background: transparent; border: none; color: var(--text-muted); font-size: 1.4rem; cursor: pointer; transition: var(--transition); }
.modal-close-btn:hover { color: var(--accent-pink); transform: rotate(90deg); }
.modal-body { padding: 28px; overflow-y: auto; font-size: 0.92rem; color: var(--text-main); line-height: 1.7; }
.modal-body h4 { margin: 18px 0 8px; color: var(--text-bright); }

/* ========================================================================
   COOKIES BAR
   ======================================================================== */
.cookies-bar {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: rgba(10, 13, 20, 0.95); backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-active); padding: 16px 0;
    z-index: 999; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
    transform: translateY(100%); transition: transform 0.4s ease-in-out;
}
.cookies-bar.show { transform: translateY(0); }
.cookies-content { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cookies-text { font-size: 0.88rem; color: var(--text-muted); max-width: 800px; }
.cookies-text a { color: var(--primary); text-decoration: underline; cursor: pointer; }
.cookies-actions { display: flex; gap: 12px; }

/* ========================================================================
   TOAST NOTIFICATIONS (NUEVO)
   ======================================================================== */
.toast-container {
    position: fixed;
    bottom: 90px;
    left: 24px;
    z-index: 98;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast-notification {
    background: rgba(18, 24, 38, 0.95);
    border: 1px solid var(--border-glass);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    transform: translateX(-120%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 320px;
    pointer-events: auto;
}
.toast-notification.show { transform: translateX(0); opacity: 1; }
.toast-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--accent-pink));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: #fff; font-size: 0.85rem; flex-shrink: 0;
}
.toast-content { font-size: 0.82rem; color: var(--text-main); line-height: 1.4; }
.toast-content strong { color: var(--text-bright); }
.toast-content span { color: var(--text-muted); }
.toast-time { font-size: 0.7rem; color: var(--primary); margin-top: 2px; }

/* ========================================================================
   CHATBOT WIDGET (NUEVO)
   ======================================================================== */
.chat-widget { position: fixed; bottom: 28px; right: 28px; z-index: 97; }
.chat-toggle {
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff; border: none; font-size: 1.6rem;
    cursor: pointer; box-shadow: 0 8px 30px rgba(112, 0, 255, 0.5);
    transition: var(--transition); display: flex; align-items: center; justify-content: center;
    position: relative;
}
.chat-toggle:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(112, 0, 255, 0.7); }
.chat-toggle::after {
    content: ''; position: absolute; top: 3px; right: 3px;
    width: 12px; height: 12px; background: var(--accent-green);
    border-radius: 50%; border: 2px solid var(--bg-dark);
    box-shadow: 0 0 8px var(--accent-green);
}
.chat-window {
    position: absolute; bottom: 76px; right: 0;
    width: 360px; max-height: 520px;
    background: #0f1523; border: 1px solid var(--border-active);
    border-radius: var(--radius-md); box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    display: flex; flex-direction: column;
    transform: scale(0.8) translateY(20px);
    opacity: 0; visibility: hidden; transition: var(--transition);
    overflow: hidden;
}
.chat-window.show { transform: scale(1) translateY(0); opacity: 1; visibility: visible; }
.chat-header {
    padding: 16px 20px; background: rgba(0, 240, 255, 0.08);
    border-bottom: 1px solid var(--border-glass); display: flex; align-items: center; justify-content: space-between;
}
.chat-header-title { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text-bright); font-size: 0.95rem; }
.chat-header-title i { color: var(--primary); }
.chat-close { background: transparent; border: none; color: var(--text-muted); font-size: 1.2rem; cursor: pointer; }
.chat-close:hover { color: var(--accent-pink); }
.chat-body { flex: 1; padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.chat-msg {
    padding: 10px 14px; border-radius: 14px; font-size: 0.85rem; line-height: 1.5;
    max-width: 85%; animation: fadeIn 0.3s;
}
.chat-msg.bot { background: rgba(112, 0, 255, 0.15); border: 1px solid rgba(112, 0, 255, 0.3); align-self: flex-start; color: #e2d9ff; border-bottom-left-radius: 4px; }
.chat-msg.bot i { margin-right: 6px; color: var(--secondary); }
.chat-msg.user { background: rgba(0, 240, 255, 0.15); border: 1px solid rgba(0, 240, 255, 0.3); align-self: flex-end; color: #d1f8ff; border-bottom-right-radius: 4px; }
.chat-options { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.chat-option-btn {
    background: rgba(255,255,255,0.05); border: 1px solid var(--border-glass);
    color: var(--text-bright); padding: 8px 16px; border-radius: var(--radius-full);
    font-size: 0.82rem; cursor: pointer; transition: var(--transition); text-align: left;
}
.chat-option-btn:hover { background: rgba(0, 240, 255, 0.15); border-color: var(--primary); color: var(--primary); }
.chat-footer { padding: 12px 16px; border-top: 1px solid var(--border-glass); display: flex; gap: 10px; }
.chat-input {
    flex: 1; background: rgba(255,255,255,0.05); border: 1px solid var(--border-glass);
    border-radius: var(--radius-full); padding: 8px 16px; color: var(--text-bright);
    font-family: var(--font-body); font-size: 0.85rem; outline: none;
}
.chat-input:focus { border-color: var(--primary); }
.chat-send {
    width: 36px; height: 36px; border-radius: 50%; background: var(--primary);
    border: none; color: #000; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.chat-send:hover { transform: scale(1.1); box-shadow: 0 0 15px var(--primary-glow); }

/* ========================================================================
   STICKY MOBILE CTA (NUEVO)
   ======================================================================== */
.sticky-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 13, 20, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-glass);
    padding: 12px 20px;
    z-index: 96;
    gap: 12px;
}
.sticky-mobile-cta .btn { flex: 1; font-size: 0.9rem; padding: 14px 20px; }

/* ========================================================================
   SCROLL REVEAL (NUEVO)
   ======================================================================== */
.reveal-hidden { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.revealed { opacity: 1; transform: translateY(0); }

/* ========================================================================
   FOOTER
   ======================================================================== */
.footer { background: #06080e; border-top: 1px solid var(--border-glass); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 60px; }
.footer-brand p { margin: 16px 0 24px; font-size: 0.88rem; }
.social-icons { display: flex; gap: 14px; }
.social-icons a { width: 38px; height: 38px; background: rgba(255,255,255,0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.social-icons a:hover { background: var(--primary); color: #000; }
.footer-links h4, .footer-contact h4 { font-size: 1rem; margin-bottom: 20px; color: var(--text-bright); }
.footer-links a { display: block; color: var(--text-muted); text-decoration: none; font-size: 0.88rem; margin-bottom: 12px; transition: var(--transition); cursor: pointer; }
.footer-links a:hover { color: var(--primary); }
.footer-contact p { font-size: 0.88rem; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 24px; font-size: 0.8rem; color: var(--text-muted); }

/* ========================================================================
   FLOATING WHATSAPP
   ======================================================================== */
.floating-whatsapp {
    position: fixed; bottom: 100px; right: 28px;
    width: 60px; height: 60px; background: #25d366; color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    z-index: 95; text-decoration: none; transition: var(--transition);
}
.floating-whatsapp:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(37, 211, 102, 0.7); }
.whatsapp-tooltip {
    position: absolute; right: 72px; background: rgba(10, 13, 20, 0.9);
    color: #fff; padding: 6px 14px; border-radius: var(--radius-full);
    font-size: 0.75rem; white-space: nowrap; border: 1px solid var(--border-glass);
    pointer-events: none; opacity: 0; transition: var(--transition);
}
.floating-whatsapp:hover .whatsapp-tooltip { opacity: 1; }

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 1024px) {
    .hero-grid, .calculator-grid, .audit-grid, .slide-grid, .about-grid, .comparison-grid, .money-lost-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .hero-title { font-size: 2.4rem; }
    .chat-window { width: calc(100vw - 40px); right: -10px; }
    .floating-whatsapp { bottom: 80px; }
}

@media (max-width: 768px) {
    .sticky-mobile-cta { display: flex; }
    .floating-whatsapp { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 120px; }
    .money-lost-counter { font-size: 2.5rem; }
    .urgency-bar { font-size: 0.75rem; padding: 6px 0; }
    .navbar { top: 30px; padding: 10px 0; }
    body { padding-top: 60px; }
}
