/*
============================================
TALLER POWER BI 2025 - ESTILOS
============================================
*/

:root {
    /* Paleta de colores Power BI */
    --bi-primary: #0078D4;
    --bi-primary-dark: #005A9E;
    --bi-secondary: #00BCF2;
    --bi-accent: #FFB900;
    --bi-success: #00B294;
    --bi-dark: #0A0E27;
    --bi-light: #F7F9FC;
    --bi-gray: #6B7280;
    --bi-gray-light: #E5E7EB;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #0078D4 0%, #00BCF2 100%);
    --gradient-hero: linear-gradient(135deg, #0078D4 0%, #005A9E 50%, #00BCF2 100%);
    --gradient-card: linear-gradient(135deg, rgba(0, 120, 212, 0.1) 0%, rgba(0, 188, 242, 0.05) 100%);
    
    /* Tipografía - IGUAL QUE BUDGET2026 */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Espaciado - IGUAL QUE BUDGET2026 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 120, 212, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 120, 212, 0.15);
    --shadow-glow: 0 0 40px rgba(0, 188, 242, 0.3);
}

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--bi-dark);
    background: var(--bi-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header - EXACTAMENTE IGUAL QUE BUDGET2026 */
.budget-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.budget-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 12vh;
    padding: 0 4% 0 3%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

.nav-logo {
    height: 80px;
    width: auto;
    transition: all 0.3s;
    filter: drop-shadow(0 4px 12px rgba(139, 38, 53, 0.12));
    border-radius: 8px;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--bi-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--bi-primary);
}

/* Hero Section */
.bi-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 5% 50px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
}

.hero-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    opacity: 0.05;
    z-index: -2;
}

/* Data Particles Animation */
.data-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--bi-secondary);
    border-radius: 50%;
    opacity: 0.6;
    animation: float-particle 20s infinite linear;
}

.particle-1 { top: 20%; left: 10%; animation-delay: 0s; }
.particle-2 { top: 60%; left: 80%; animation-delay: 4s; }
.particle-3 { top: 40%; left: 40%; animation-delay: 8s; }
.particle-4 { top: 80%; left: 20%; animation-delay: 12s; }
.particle-5 { top: 10%; left: 70%; animation-delay: 16s; }

@keyframes float-particle {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--bi-dark);
    margin-bottom: var(--spacing-md);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--bi-gray);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.btn-primary-bi {
    padding: 15px 30px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
}

.btn-primary-bi:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary-bi {
    padding: 15px 30px;
    background: transparent;
    color: var(--bi-primary);
    border: 2px solid var(--bi-primary);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary-bi:hover {
    background: var(--bi-primary);
    color: white;
}

/* Dashboard Preview */
.hero-visual {
    position: relative;
    width: 100%;
}

.dashboard-preview {
    position: relative;
    animation: levitate 6s infinite ease-in-out;
}

@keyframes levitate {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.dashboard-screen {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.screen-header {
    background: #f3f4f6;
    padding: 10px 15px;
    display: flex;
    gap: 5px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
}

.dashboard-screen img {
    width: 100%;
    height: auto;
    display: block;
}

.floating-insight {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float-insight 4s infinite ease-in-out;
}

.insight-1 {
    top: -20px;
    right: 50px;
    animation-delay: 0s;
}

.insight-2 {
    bottom: 30px;
    left: -30px;
    animation-delay: 2s;
}

@keyframes float-insight {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

.insight-icon {
    font-size: 1.5rem;
}

.insight-text {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--bi-dark);
}

/* Includes Section */
.includes-section {
    padding: var(--spacing-2xl) 5%;
    background: white;
}

.includes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    max-width: 1400px;
    margin: var(--spacing-xl) auto 0;
}

.include-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid var(--bi-gray-light);
}

.include-card.featured {
    border-color: var(--bi-primary);
    background: var(--gradient-card);
}

.include-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--bi-primary);
}

.include-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-md);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.include-icon span {
    color: white;
    font-size: 32px;
}

.include-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--bi-dark);
}

.include-card p {
    color: var(--bi-gray);
    line-height: 1.6;
}

/* Expertise Section */
.expertise-section {
    padding: var(--spacing-2xl) 5%;
    background: var(--bi-light);
}

.expertise-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    color: var(--bi-dark);
}

.section-description {
    font-size: 1.1rem;
    color: var(--bi-gray);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.laptop-mockup {
    position: relative;
    padding: 20px;
}

.laptop-mockup img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.data-flow {
    position: absolute;
    top: 50%;
    left: -50px;
    transform: translateY(-50%);
}

.data-point {
    width: 10px;
    height: 10px;
    background: var(--bi-secondary);
    border-radius: 50%;
    margin: 20px 0;
    animation: pulse-data 2s infinite;
}

.data-point:nth-child(2) { animation-delay: 0.5s; }
.data-point:nth-child(3) { animation-delay: 1s; }

@keyframes pulse-data {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.5); opacity: 1; }
}

/* Benefits Section */
.benefits-section {
    padding: var(--spacing-2xl) 5%;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    max-width: 1200px;
    margin: var(--spacing-xl) auto 0;
}

.benefit-card {
    background: var(--bi-light);
    padding: var(--spacing-lg);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(0, 120, 212, 0.1);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: white;
    border-color: var(--bi-primary);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon span {
    color: white;
    font-size: 28px;
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--bi-dark);
}

.benefit-card p {
    color: var(--bi-gray);
    line-height: 1.5;
}

/* Investment Section */
.investment-section {
    padding: var(--spacing-2xl) 5%;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.investment-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.investment-box {
    background: white;
    border-radius: 30px;
    padding: var(--spacing-2xl);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.investment-box h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--bi-dark);
    margin-bottom: var(--spacing-lg);
}

.price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    margin-bottom: var(--spacing-sm);
}

.currency {
    font-size: 2rem;
    color: var(--bi-primary);
    font-weight: 600;
}

.amount {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.period {
    font-size: 1.5rem;
    color: var(--bi-gray);
    font-weight: 500;
}

.price-note {
    color: var(--bi-gray);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xl);
}

.investment-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    text-align: left;
}

.feature-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-icon {
    color: var(--bi-success);
    font-weight: bold;
    font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-2xl) 5%;
    background: var(--bi-light);
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--bi-dark);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--bi-gray);
}

.btn-cta-bi {
    padding: 18px 40px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
}

.btn-cta-bi:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Contact Section */
.contact-section {
    padding: var(--spacing-2xl) 5%;
    background: white;
}

.bi-form {
    max-width: 800px;
    margin: var(--spacing-xl) auto 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.bi-form input,
.bi-form select,
.bi-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: var(--font-body);
}

.bi-form input:focus,
.bi-form select:focus,
.bi-form textarea:focus {
    outline: none;
    border-color: var(--bi-primary);
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: var(--spacing-md);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.bi-footer {
    background: var(--bi-dark);
    color: white;
    padding: var(--spacing-lg) 5%;
    text-align: center;
}

.bi-footer a {
    color: var(--bi-secondary);
    text-decoration: none;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    fill: white;
}

/* Mobile menu */
.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background: var(--bi-dark);
    transition: all 0.3s;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container,
    .expertise-content {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        margin-top: var(--spacing-xl);
    }
    
    .includes-grid {
        grid-template-columns: 1fr;
    }
    
    .investment-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .burger {
        display: flex;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .amount {
        font-size: 3rem;
    }
    
    .floating-insight {
        display: none;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 96px;
    left: 0;
    width: 100%;
    height: calc(100vh - 96px);
    background: rgba(247, 249, 252, 0.98);
    z-index: 998;
}

.mobile-menu-content {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-menu-content a {
    display: block;
    padding: 15px 30px;
    margin: 10px 0;
    color: var(--bi-dark);
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: 50px;
    transition: all 0.3s;
}

.mobile-menu-content a:hover {
    background: var(--gradient-primary);
    color: white;
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none !important;
    }
    
    .burger {
        display: flex !important;
        z-index: 999;
    }
}

/* Animación del burger a X */
.burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.toggle .line2 {
    opacity: 0;
}

.burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}