/* ===== FUENTES COMERCIALES ===== */
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

/* ===== VARIABLES TEMÁTICAS - COMERCIO Y VENTAS ===== */
:root {
    /* Paleta de colores profesionales y comerciales */
    --primary-blue: #2563eb;       /* Azul confianza */
    --primary-orange: #f97316;     /* Naranja energético */
    --primary-green: #16a34a;      /* Verde crecimiento */
    --primary-gray: #64748b;       /* Gris profesional */
    --primary-gold: #f59e0b;       /* Dorado éxito */
    --primary-red: #dc2626;        /* Rojo urgencia */
    
    /* Colores de fondo y superficies */
    --bg-light: #f8fafc;           /* Gris muy claro profesional */
    --bg-white: #ffffff;           /* Blanco puro */
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(248, 250, 252, 0.8);
    
    /* Textos */
    --text-dark: #1e293b;          /* Gris oscuro corporativo */
    --text-medium: #475569;        /* Gris medio */
    --text-light: #94a3b8;         /* Gris claro */
    
    /* Sombras profesionales */
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 16px 48px rgba(0, 0, 0, 0.15);
    
    /* Gradientes comerciales */
    --gradient-success: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    --gradient-growth: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-gold) 100%);
    --gradient-trust: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-gray) 100%);
    --gradient-warm: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    --gradient-energy: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-orange) 100%);
}

/* ===== TEMA OSCURO - MODO CORPORATIVO NOCTURNO ===== */
[data-bs-theme="oscuro"] {
    --bg-light: #0f172a;
    --bg-white: #020617;
    --bg-card: rgba(15, 23, 42, 0.95);
    --bg-glass: rgba(2, 6, 23, 0.8);
    --text-dark: #f1f5f9;
    --text-medium: #cbd5e1;
    --text-light: #94a3b8;
    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-strong: 0 16px 48px rgba(0, 0, 0, 0.6);
}

/* ===== CONFIGURACIÓN BASE ===== */
body {
    font-family: var(--font-primary);
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    cursor: none; /* Ocultar cursor por defecto para usar el personalizado */
}

/* ===== FONDO ANIMADO COMERCIAL ===== */
.business-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(22, 163, 74, 0.05) 0%, transparent 50%),
        var(--bg-light);
}

/* ===== ELEMENTOS FLOTANTES COMERCIALES ===== */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-business, .commercial-icon, .success-symbol {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.4;
    pointer-events: none;
    animation: float-business 12s ease-in-out infinite;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.1));
}

/* Posicionamiento específico de elementos comerciales */
.business-1 { top: 15%; left: 10%; animation-delay: 0s; }
.business-2 { top: 70%; right: 15%; animation-delay: -3s; }
.business-3 { top: 40%; left: 85%; animation-delay: -6s; }
.business-4 { bottom: 25%; left: 15%; animation-delay: -9s; }

.icon-1 { top: 25%; right: 10%; animation-delay: -1.5s; }
.icon-2 { top: 80%; left: 30%; animation-delay: -4.5s; }
.icon-3 { top: 50%; right: 40%; animation-delay: -7.5s; }
.icon-4 { bottom: 35%; right: 5%; animation-delay: -10.5s; }
.icon-5 { top: 60%; left: 8%; animation-delay: -13.5s; }

.symbol-1 { top: 20%; left: 55%; animation-delay: -2s; }
.symbol-2 { bottom: 20%; right: 55%; animation-delay: -5s; }
.symbol-3 { top: 85%; left: 75%; animation-delay: -8s; }
.symbol-4 { top: 45%; left: 25%; animation-delay: -11s; }

/* ===== ONDAS DE CRECIMIENTO ===== */
.growth-waves {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 200%;
    height: 200%;
    background: 
        linear-gradient(45deg, 
            transparent 40%, 
            rgba(37, 99, 235, 0.02) 45%, 
            rgba(37, 99, 235, 0.02) 55%, 
            transparent 60%);
    animation: wave-business 25s linear infinite;
    border-radius: 50%;
}

.wave-1 { 
    animation-delay: 0s; 
    transform-origin: 25% 75%;
}
.wave-2 { 
    animation-delay: -8s; 
    transform-origin: 75% 25%;
    background: linear-gradient(45deg, 
        transparent 40%, 
        rgba(249, 115, 22, 0.02) 45%, 
        rgba(249, 115, 22, 0.02) 55%, 
        transparent 60%);
}
.wave-3 { 
    animation-delay: -16s; 
    transform-origin: 50% 50%;
    background: linear-gradient(45deg, 
        transparent 40%, 
        rgba(22, 163, 74, 0.01) 45%, 
        rgba(22, 163, 74, 0.01) 55%, 
        transparent 60%);
}

/* ===== PARTÍCULAS DE PROSPERIDAD ===== */
.prosperity-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* ===== CURSOR PERSONALIZADO COMERCIAL ===== */
#business-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease;
}

.cursor-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.6);
    transition: all 0.2s ease;
}

.cursor-trail {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 26px;
    height: 26px;
    border: 2px solid var(--primary-orange);
    border-radius: 50%;
    opacity: 0.4;
    transition: all 0.3s ease;
}

/* Estados del cursor */
#business-cursor.hover .cursor-inner {
    width: 14px;
    height: 14px;
    background: var(--primary-gold);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.8);
}

#business-cursor.hover .cursor-trail {
    width: 36px;
    height: 36px;
    border-color: var(--primary-gold);
    opacity: 0.6;
}

#business-cursor.click .cursor-inner {
    width: 18px;
    height: 18px;
    background: var(--primary-green);
    box-shadow: 0 0 30px rgba(22, 163, 74, 1);
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.page-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* ===== SECCIÓN HERO COMERCIAL ===== */
.hero-section {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 4rem 3rem;
    margin-bottom: 4rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 120%;
    height: 200%;
    background: 
        repeating-linear-gradient(
            30deg,
            transparent,
            transparent 25px,
            rgba(37, 99, 235, 0.02) 25px,
            rgba(37, 99, 235, 0.02) 50px
        );
    animation: diagonal-business 30s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.title-word {
    display: inline-block;
    margin: 0 0.2em;
    animation: word-rise 2.5s ease-in-out infinite;
}

.title-word:nth-child(1) { animation-delay: 0s; color: var(--primary-blue); }
.title-word:nth-child(2) { animation-delay: 0.3s; color: var(--primary-orange); }
.title-word:nth-child(3) { animation-delay: 0.6s; color: var(--primary-green); }

.title-word.highlight {
    background: var(--gradient-growth);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(249, 115, 22, 0.3);
}

.page-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--text-medium);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.8;
}

/* ===== ICONOS COMERCIALES ===== */
.business-icons {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.biz-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 1.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.biz-icon:hover {
    transform: translateY(-12px) scale(1.05);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--gradient-trust);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.biz-icon[data-area="marketing"] .icon-circle {
    background: var(--gradient-growth);
}

.biz-icon[data-area="ventas"] .icon-circle {
    background: var(--gradient-success);
}

.biz-icon[data-area="gestion"] .icon-circle {
    background: var(--gradient-trust);
}

.biz-icon[data-area="negociacion"] .icon-circle {
    background: var(--gradient-energy);
}

.biz-icon:hover .icon-circle {
    box-shadow: var(--shadow-medium);
    transform: rotate(20deg);
}

.biz-icon span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ===== SECCIÓN DE CONTENIDO ===== */
.section-container {
    margin: 4rem 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.title-decoration {
    font-size: 2.2rem;
    animation: decoration-pulse 2.5s ease-in-out infinite;
}

.title-decoration:nth-child(1) { animation-delay: 0s; }
.title-decoration:nth-child(3) { animation-delay: 1.25s; }

/* ===== GRID DE CURSOS ===== */
.cursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3.5rem;
    margin-bottom: 4rem;
}

/* ===== TARJETAS COMERCIALES ===== */
.business-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--gradient-trust);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.business-card[data-card-type="btp-comercio"]::before {
    background: var(--gradient-success);
}

.business-card:hover::before {
    opacity: 1;
}

.business-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.business-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    animation: slide-in-business 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* ===== ILUSTRACIONES DE TARJETAS ===== */
.card-illustration {
    width: 140px;
    height: 140px;
    margin: 0 auto 2.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration-background {
    width: 100%;
    height: 100%;
    position: relative;
    background: var(--gradient-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.business-card:hover .illustration-background {
    transform: rotate(15deg) scale(1.1);
    box-shadow: var(--shadow-medium);
}

/* Gráfico de crecimiento para BTP Comercio */
.growth-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 60px;
}

.chart-bar {
    width: 12px;
    border-radius: 6px;
    animation: bar-grow 2s ease-in-out infinite;
    background: linear-gradient(to top, var(--primary-green), var(--primary-gold));
}

.bar-1 {
    height: 30px;
    animation-delay: 0s;
}

.bar-2 {
    height: 45px;
    animation-delay: 0.2s;
    background: linear-gradient(to top, var(--primary-orange), var(--primary-gold));
}

.bar-3 {
    height: 55px;
    animation-delay: 0.4s;
}

.bar-4 {
    height: 60px;
    animation-delay: 0.6s;
    background: linear-gradient(to top, var(--primary-blue), var(--primary-green));
}

.success-star {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 1.8rem;
    animation: star-shine 3s ease-in-out infinite;
}

/* ===== CONTENIDO DE TARJETAS ===== */
.card-title {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.8rem;
    text-align: center;
    line-height: 1.3;
}

.card-description {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    text-align: justify;
    font-size: 1.05rem;
}

/* ===== CARACTERÍSTICAS ===== */
.card-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(8px);
    box-shadow: var(--shadow-soft);
}

.feature-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-trust);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-item span {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1rem;
}

/* ===== BOTONES COMERCIALES ===== */
.btn-business {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background: var(--gradient-trust);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.business-card[data-card-type="btp-comercio"] .btn-business {
    background: var(--gradient-success);
}

.btn-business:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: white;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.btn-business:hover .btn-icon {
    transform: translateX(6px);
}

/* ===== CALL TO ACTION COMERCIAL ===== */
.business-cta {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 4.5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.business-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, 
            rgba(37, 99, 235, 0.08) 0%, 
            transparent 30%),
        radial-gradient(circle at 70% 70%, 
            rgba(249, 115, 22, 0.06) 0%, 
            transparent 40%);
    animation: cta-background-business 18s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    animation: rocket-launch 2.5s ease-in-out infinite;
}

.business-cta h3 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.business-cta p {
    font-size: 1.3rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary-action {
    display: inline-block;
    padding: 1.4rem 3.5rem;
    background: var(--gradient-growth);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.btn-primary-action:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-strong);
    color: white;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    transition: left 0.6s ease;
}

.btn-primary-action:hover .btn-shine {
    left: 100%;
}

/* ===== DECORACIONES CTA ===== */
.cta-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.decoration-trophy {
    position: absolute;
    top: 15%;
    right: 8%;
    font-size: 2.5rem;
    animation: float-business 5s ease-in-out infinite;
    animation-delay: 0s;
}

.decoration-star {
    position: absolute;
    font-size: 1.8rem;
    animation: star-twinkle-business 2.5s ease-in-out infinite;
}

.star-1 {
    top: 20%;
    left: 12%;
    animation-delay: 0s;
}

.star-2 {
    bottom: 15%;
    right: 15%;
    animation-delay: 1.25s;
}

.star-3 {
    top: 65%;
    left: 8%;
    animation-delay: 2.5s;
}

/* ===== PARTÍCULAS FLOTANTES ===== */
.particles {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-gold);
    border-radius: 50%;
    animation: float-up 6s linear infinite;
    opacity: 0.7;
}

.particles:nth-child(odd) {
    background: var(--primary-blue);
}

.particles:nth-child(3n) {
    background: var(--primary-green);
}

/* ===== ELEMENTOS ESPECÍFICOS COMERCIALES ===== */
.sales-funnel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.funnel-stage {
    padding: 8px 16px;
    background: var(--gradient-trust);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.funnel-stage:nth-child(1) {
    width: 100%;
    background: var(--gradient-energy);
}

.funnel-stage:nth-child(2) {
    width: 80%;
    background: var(--gradient-growth);
}

.funnel-stage:nth-child(3) {
    width: 60%;
    background: var(--gradient-success);
}

.funnel-stage:nth-child(4) {
    width: 40%;
    background: var(--gradient-trust);
}

/* ===== ANIMACIONES ===== */
@keyframes float-business {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(3deg); }
    50% { transform: translateY(-8px) rotate(-2deg); }
    75% { transform: translateY(-18px) rotate(2deg); }
}

@keyframes wave-business {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes word-rise {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes decoration-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes slide-in-business {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bar-grow {
    0%, 100% { transform: scaleY(0.8); }
    50% { transform: scaleY(1.1); }
}

@keyframes star-shine {
    0%, 100% { 
        filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.5));
        transform: scale(1) rotate(0deg);
    }
    50% { 
        filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.8));
        transform: scale(1.2) rotate(180deg);
    }
}

@keyframes diagonal-business {
    0% { transform: translateX(-150px) translateY(150px); }
    100% { transform: translateX(150px) translateY(-150px); }
}

@keyframes cta-background-business {
    0%, 100% { transform: rotate(0deg) scale(1); }
    33% { transform: rotate(120deg) scale(1.1); }
    66% { transform: rotate(240deg) scale(0.9); }
}

@keyframes rocket-launch {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes star-twinkle-business {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

@keyframes float-up {
    0% {
        opacity: 0.7;
        transform: translateY(0px) scale(1);
    }
    50% {
        opacity: 0.4;
        transform: translateY(-50vh) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(0.5);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(37, 99, 235, 0.7);
    }
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shake-celebration {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== EFECTOS DE INTERACTIVIDAD ===== */
.interactive-element {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-element:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.celebrate {
    animation: shake-celebration 0.6s ease-in-out;
}

.glow-effect {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* ===== ELEMENTOS DE DATOS Y ESTADÍSTICAS ===== */
.stats-container {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-medium);
    font-weight: 500;
}

/* ===== INFOGRAFÍAS Y PROCESOS ===== */
.process-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    max-width: 150px;
}

.step-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-trust);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.process-step:hover .step-circle {
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
}

.step-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.step-description {
    font-size: 0.85rem;
    color: var(--text-medium);
    line-height: 1.4;
}

.process-arrow {
    font-size: 1.5rem;
    color: var(--primary-orange);
    margin: 0 1rem;
}

/* ===== TESTIMONIOS Y CASOS DE ÉXITO ===== */
.testimonial-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '💬';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    opacity: 0.3;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
}

.author-title {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===== ALERTAS Y MENSAJES ===== */
.business-alert {
    padding: 1.5rem;
    border-radius: 16px;
    margin: 1.5rem 0;
    border-left: 4px solid;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.alert-success {
    background: rgba(22, 163, 74, 0.1);
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.alert-info {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.alert-warning {
    background: rgba(249, 115, 22, 0.1);
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.alert-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.alert-content h4 {
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.alert-content p {
    margin: 0;
    line-height: 1.6;
}

/* ===== TABS Y NAVEGACIÓN ===== */
.business-tabs {
    display: flex;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    overflow-x: auto;
}

.tab-item {
    padding: 1rem 2rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.tab-item:hover {
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.1);
}

.tab-item.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.1);
}

.tab-content {
    display: none;
    animation: slide-in-business 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

/* ===== TARJETAS DE HABILIDADES ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.skill-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.skill-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--gradient-trust);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.skill-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.skill-description {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.skill-progress {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-success);
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

.progress-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: right;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    body {
        cursor: auto; /* Restaurar cursor en móviles */
    }
    
    #business-cursor {
        display: none;
    }
    
    .page-container {
        padding: 1rem;
    }
    
    .hero-section {
        padding: 3rem 2rem;
        margin-bottom: 3rem;
    }
    
    .business-icons {
        gap: 1.5rem;
    }
    
    .biz-icon {
        padding: 1rem;
    }
    
    .icon-circle {
        width: 60px;
        height: 60px;
        font-size: 1.7rem;
    }
    
    .cursos-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .business-card {
        padding: 2.5rem;
    }
    
    .card-illustration {
        width: 120px;
        height: 120px;
    }
    
    .business-cta {
        padding: 3.5rem 2rem;
    }
    
    .stats-container {
        flex-direction: column;
        align-items: center;
    }
    
    .process-flow {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .business-tabs {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .cursos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .business-card {
        padding: 2rem;
    }
    
    .card-illustration {
        width: 100px;
        height: 100px;
    }
    
    .feature-item {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
    
    .btn-business {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        gap: 1rem;
    }
    
    .title-decoration {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .step-circle {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .business-alert {
        padding: 1rem;
    }
}

/* ===== ACCESIBILIDAD ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-business,
    .commercial-icon,
    .success-symbol,
    .wave,
    #business-cursor {
        display: none;
    }
    
    body {
        cursor: auto;
    }
}

/* ===== MEJORAS DE RENDIMIENTO ===== */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* ===== UTILIDADES ===== */
.hidden {
    display: none;
}

.visible {
    display: block;
}

.fade-in {
    opacity: 0;
    animation: fade-in 0.5s ease-in-out forwards;
}

@keyframes fade-in {
    to { opacity: 1; }
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ===== ESTADOS DE LOADING ===== */
.loading-skeleton {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.2) 25%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0.2) 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 2s infinite;
}

@keyframes loading-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
/* ===== ESTILOS DE IMPRESIÓN ===== */
@media print {
    /* Resetear elementos básicos para impresión */
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    /* Configuración de página */
    @page {
        margin: 2cm;
        size: A4;
    }
    
    body {
        font-family: 'Georgia', 'Times New Roman', serif;
        font-size: 12pt;
        line-height: 1.6;
        color: #000;
        background: #fff;
        cursor: auto;
    }
    
    /* Ocultar elementos innecesarios */
    #preloader-placeholder,
    #header-placeholder,
    #theme-toggle-placeholder,
    #arrow-button-placeholder,
    #footer-placeholder,
    .skip-link,
    .business-background,
    .floating-elements,
    .growth-waves,
    .prosperity-particles,
    #business-cursor,
    .business-icons,
    .btn-business,
    .btn-primary-action,
    .business-cta,
    .cta-decoration,
    nav,
    button,
    .social-links,
    .theme-toggle,
    script,
    noscript {
        display: none !important;
    }
    
    /* Contenedor principal */
    .page-container {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    /* Sección hero */
    .hero-section {
        background: #fff !important;
        border: 2px solid #000;
        border-radius: 0;
        padding: 1.5cm;
        margin-bottom: 1cm;
        box-shadow: none !important;
        page-break-after: avoid;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .hero-content {
        text-align: center;
    }
    
    /* Títulos */
    .page-title {
        font-size: 28pt;
        font-weight: bold;
        margin-bottom: 0.5cm;
        color: #000 !important;
        line-height: 1.2;
    }
    
    .title-word {
        display: inline;
        margin: 0;
        color: #000 !important;
        animation: none;
        background: none !important;
        -webkit-text-fill-color: #000 !important;
    }
    
    .page-subtitle {
        font-size: 14pt;
        color: #333 !important;
        margin-bottom: 1cm;
        line-height: 1.6;
    }
    
    /* Sección de contenido */
    .section-container {
        margin: 1cm 0;
    }
    
    .section-title {
        font-size: 20pt;
        font-weight: bold;
        text-align: center;
        margin-bottom: 0.8cm;
        color: #000 !important;
        border-bottom: 2px solid #000;
        padding-bottom: 0.3cm;
    }
    
    .title-decoration {
        display: none;
    }
    
    /* Grid de cursos */
    .cursos-grid {
        display: block;
    }
    
    /* Tarjetas de curso */
    .business-card {
        background: #fff !important;
        border: 2px solid #000;
        border-radius: 0;
        padding: 1cm;
        margin-bottom: 1cm;
        box-shadow: none !important;
        page-break-inside: avoid;
        opacity: 1;
        transform: none;
    }
    
    .business-card::before {
        display: none;
    }
    
    /* Ilustraciones */
    .card-illustration {
        display: none;
    }
    
    /* Contenido de tarjetas */
    .card-title {
        font-size: 16pt;
        font-weight: bold;
        color: #000 !important;
        margin-bottom: 0.5cm;
        text-align: left;
        border-bottom: 1px solid #000;
        padding-bottom: 0.2cm;
    }
    
    .card-description {
        font-size: 11pt;
        color: #000 !important;
        line-height: 1.6;
        margin-bottom: 0.5cm;
        text-align: justify;
    }
    
    /* Características */
    .card-features {
        margin-bottom: 0.5cm;
    }
    
    .feature-item {
        background: transparent !important;
        border: 1px solid #000;
        border-radius: 0;
        padding: 0.3cm;
        margin-bottom: 0.3cm;
        page-break-inside: avoid;
    }
    
    .feature-icon {
        display: none;
    }
    
    .feature-item span {
        font-size: 11pt;
        color: #000 !important;
    }
    
    .feature-item span::before {
        content: "• ";
        font-weight: bold;
    }
    
    /* Pie de tarjeta */
    .card-footer {
        display: none;
    }
    
    /* Eliminar animaciones */
    * {
        animation: none !important;
        transition: none !important;
    }
    
    /* Control de saltos de página */
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }
    
    p, .card-description {
        page-break-inside: avoid;
        orphans: 3;
        widows: 3;
    }
    
    /* Enlaces */
    a {
        text-decoration: underline;
        color: #000 !important;
    }
    
    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        font-style: italic;
    }
    
    /* Ocultar elementos decorativos específicos */
    .floating-business,
    .commercial-icon,
    .success-symbol,
    .wave,
    .cursor-inner,
    .cursor-trail,
    .success-star,
    .growth-chart,
    .illustration-background,
    .btn-icon,
    .btn-shine {
        display: none !important;
    }
}