/* ============================================
   BECHALLENGE LANDING REDESIGN - MAIN STYLES
   Sistema modular para aprendizaje experiencial
   ============================================ */

:root {
    /* Brand Colors */
    --bc-primary: #14A8E1;
    --bc-primary-dark: #0A6888;
    --bc-primary-light: #E0F4FC;
    --bc-secondary: #4DAC5E;
    --bc-accent: #E1455C;
    --bc-purple: #8B5CF6;
    --bc-orange: #F59E0B;
    --bc-teal: #0D9488;
    
    /* Neutrals */
    --bc-dark: #1F2937;
    --bc-gray-700: #374151;
    --bc-gray-600: #4B5563;
    --bc-gray-500: #6B7280;
    --bc-gray-400: #9CA3AF;
    --bc-gray-300: #D1D5DB;
    --bc-gray-200: #E5E7EB;
    --bc-gray-100: #F3F4F6;
    --bc-light: #F9FAFB;
    --bc-white: #FFFFFF;
    
    /* Backgrounds */
    --bc-bg-light-blue: #F0F9FF;
    --bc-bg-gradient: linear-gradient(135deg, #F0F9FF 0%, #E0F4FC 100%);
    
    /* Shadows */
    --bc-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --bc-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --bc-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --bc-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --bc-shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --bc-radius-sm: 0.375rem;
    --bc-radius: 0.5rem;
    --bc-radius-md: 0.75rem;
    --bc-radius-lg: 1rem;
    --bc-radius-xl: 1.5rem;
    --bc-radius-2xl: 2rem;
    --bc-radius-full: 9999px;
    
    /* Transitions */
    --bc-transition: all 0.3s ease;
    --bc-transition-fast: all 0.15s ease;
    
    /* Typography */
    --bc-font-sans: 'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ============================================
   BASE STYLES
   ============================================ */

.bc-landing * {
    box-sizing: border-box;
}

.bc-landing {
    font-family: var(--bc-font-sans);
    color: var(--bc-gray-700);
    line-height: 1.6;
}

.bc-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.bc-section {
    padding: 5rem 0;
}

.bc-section-light {
    background-color: var(--bc-bg-light-blue);
}

.bc-section-white {
    background-color: var(--bc-white);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.bc-h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--bc-dark);
    margin-bottom: 1.5rem;
}

.bc-h2 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--bc-dark);
    margin-bottom: 1rem;
}

.bc-h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--bc-dark);
    margin-bottom: 0.75rem;
}

.bc-h4 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--bc-dark);
    margin-bottom: 0.5rem;
}

.bc-subtitle {
    font-size: 1.25rem;
    color: var(--bc-gray-600);
    line-height: 1.6;
    max-width: 800px;
}

.bc-text-center {
    text-align: center;
}

.bc-text-primary {
    color: var(--bc-primary);
}

.bc-text-muted {
    color: var(--bc-gray-500);
}

/* ============================================
   BUTTONS
   ============================================ */

.bc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--bc-radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--bc-transition);
    text-decoration: none;
    white-space: nowrap;
}

.bc-btn-primary {
    background-color: var(--bc-primary);
    color: var(--bc-white);
    border-color: var(--bc-primary);
}

.bc-btn-primary:hover {
    background-color: var(--bc-primary-dark);
    border-color: var(--bc-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--bc-shadow-md);
}

.bc-btn-outline {
    background-color: transparent;
    color: var(--bc-primary);
    border-color: var(--bc-primary);
}

.bc-btn-outline:hover {
    background-color: var(--bc-primary);
    color: var(--bc-white);
    transform: translateY(-2px);
}

.bc-btn-white {
    background-color: var(--bc-white);
    color: var(--bc-primary);
    border-color: var(--bc-white);
}

.bc-btn-white:hover {
    background-color: var(--bc-gray-100);
    transform: translateY(-2px);
    box-shadow: var(--bc-shadow-md);
}

.bc-btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.bc-btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.bc-btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.bc-hero {
    background: var(--bc-bg-gradient);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.bc-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(20, 168, 225, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.bc-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.bc-hero-text {
    position: relative;
    z-index: 1;
}

.bc-hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--bc-dark);
    margin-bottom: 1.5rem;
}

.bc-hero-title .highlight {
    color: var(--bc-primary);
}

.bc-hero-subtitle {
    font-size: 1.25rem;
    color: var(--bc-gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 540px;
}

.bc-hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.bc-hero-microcopy {
    font-size: 0.875rem;
    color: var(--bc-gray-500);
    margin-top: 1rem;
}

.bc-hero-image {
    position: relative;
    z-index: 1;
}

.bc-hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--bc-radius-xl);
    box-shadow: var(--bc-shadow-xl);
}

/* ============================================
   TRUST SECTION (Logos)
   ============================================ */

.bc-trust {
    padding: 3rem 0;
    background-color: var(--bc-white);
    border-bottom: 1px solid var(--bc-gray-200);
}

.bc-trust-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--bc-gray-500);
    text-align: center;
    margin-bottom: 2rem;
}

.bc-trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
}

.bc-trust-logo {
    height: 40px;
    width: auto;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: var(--bc-transition);
}

.bc-trust-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ============================================
   ROLES SECTION (3 Cards)
   ============================================ */

.bc-roles {
    padding: 5rem 0;
}

.bc-roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.bc-role-card {
    background: var(--bc-white);
    border-radius: var(--bc-radius-xl);
    padding: 2rem;
    box-shadow: var(--bc-shadow);
    transition: var(--bc-transition);
    border: 1px solid var(--bc-gray-200);
}

.bc-role-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--bc-shadow-lg);
}

.bc-role-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--bc-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.bc-role-icon.institution {
    background: linear-gradient(135deg, #E0F4FC 0%, #B3E5FC 100%);
    color: var(--bc-primary);
}

.bc-role-icon.docente {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    color: var(--bc-secondary);
}

.bc-role-icon.estudiante {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    color: var(--bc-orange);
}

.bc-role-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bc-dark);
    margin-bottom: 0.75rem;
}

.bc-role-card p {
    color: var(--bc-gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ============================================
   SYSTEM MAP SECTION (6 Layers)
   ============================================ */

.bc-system-map {
    padding: 5rem 0;
    background: var(--bc-bg-light-blue);
}

.bc-system-map-header {
    text-align: center;
    margin-bottom: 3rem;
}

.bc-system-map-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bc-dark);
    margin-bottom: 0.75rem;
}

.bc-system-map-header p {
    font-size: 1.125rem;
    color: var(--bc-gray-600);
}

.bc-layers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bc-layer-card {
    background: var(--bc-white);
    border-radius: var(--bc-radius-xl);
    padding: 1.75rem;
    box-shadow: var(--bc-shadow);
    transition: var(--bc-transition);
    position: relative;
    overflow: hidden;
}

.bc-layer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--layer-color, var(--bc-primary));
}

.bc-layer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bc-shadow-lg);
}

.bc-layer-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--layer-color, var(--bc-primary));
    color: var(--bc-white);
    border-radius: var(--bc-radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.bc-layer-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--bc-dark);
    margin-bottom: 0.5rem;
}

.bc-layer-card p {
    font-size: 0.875rem;
    color: var(--bc-gray-600);
    line-height: 1.5;
}

.bc-layer-card .bc-layer-output {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bc-gray-200);
    font-size: 0.8125rem;
    color: var(--bc-gray-500);
}

.bc-layer-card .bc-layer-output svg {
    width: 16px;
    height: 16px;
    color: var(--layer-color, var(--bc-primary));
}

/* Layer Colors */
.bc-layer-card[data-layer="1"] { --layer-color: #14A8E1; }
.bc-layer-card[data-layer="2"] { --layer-color: #4DAC5E; }
.bc-layer-card[data-layer="3"] { --layer-color: #F59E0B; }
.bc-layer-card[data-layer="4"] { --layer-color: #8B5CF6; }
.bc-layer-card[data-layer="5"] { --layer-color: #E1455C; }
.bc-layer-card[data-layer="6"] { --layer-color: #0D9488; }

/* ============================================
   JOURNEYS SECTION
   ============================================ */

.bc-journeys {
    padding: 5rem 0;
    background: var(--bc-white);
}

.bc-journeys-header {
    text-align: center;
    margin-bottom: 3rem;
}

.bc-journeys-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.bc-journey-card {
    background: var(--bc-bg-light-blue);
    border-radius: var(--bc-radius-xl);
    padding: 2rem;
    transition: var(--bc-transition);
    position: relative;
}

.bc-journey-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bc-shadow-md);
}

.bc-journey-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--bc-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    background: var(--bc-white);
    box-shadow: var(--bc-shadow-sm);
}

.bc-journey-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--bc-dark);
    margin-bottom: 0.5rem;
}

.bc-journey-card .bc-journey-role {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bc-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.bc-journey-card p {
    font-size: 0.9375rem;
    color: var(--bc-gray-600);
    line-height: 1.6;
}

/* ============================================
   METHOD SECTION
   ============================================ */

.bc-method {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bc-primary-dark) 0%, var(--bc-primary) 100%);
    color: var(--bc-white);
}

.bc-method-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.bc-method-text h2 {
    color: var(--bc-white);
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.bc-method-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.bc-method-phases {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.bc-phase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--bc-radius-full);
    font-size: 0.875rem;
    font-weight: 500;
}

.bc-phase-badge span {
    width: 24px;
    height: 24px;
    background: var(--bc-white);
    color: var(--bc-primary);
    border-radius: var(--bc-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.bc-method-visual {
    position: relative;
}

.bc-method-visual img {
    width: 100%;
    border-radius: var(--bc-radius-xl);
    box-shadow: var(--bc-shadow-xl);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.bc-services {
    padding: 5rem 0;
    background: var(--bc-bg-light-blue);
}

.bc-services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.bc-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.bc-service-card {
    background: var(--bc-white);
    border-radius: var(--bc-radius-xl);
    padding: 1.75rem;
    text-align: center;
    transition: var(--bc-transition);
    border: 1px solid var(--bc-gray-200);
}

.bc-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bc-shadow-md);
    border-color: var(--bc-primary);
}

.bc-service-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: var(--bc-primary-light);
    border-radius: var(--bc-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bc-primary);
}

.bc-service-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--bc-dark);
    margin-bottom: 0.5rem;
}

.bc-service-card p {
    font-size: 0.875rem;
    color: var(--bc-gray-500);
    line-height: 1.5;
}

/* ============================================
   INTEGRATIONS SECTION
   ============================================ */

.bc-integrations {
    padding: 4rem 0;
    background: var(--bc-white);
    border-top: 1px solid var(--bc-gray-200);
}

.bc-integrations-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.bc-integrations-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bc-dark);
    margin-bottom: 0.5rem;
}

.bc-integrations-text p {
    color: var(--bc-gray-600);
    max-width: 500px;
}

/* ============================================
   CTA FINAL SECTION
   ============================================ */

.bc-cta-final {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bc-dark) 0%, var(--bc-gray-700) 100%);
    color: var(--bc-white);
}

.bc-cta-final-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.bc-cta-final h2 {
    color: var(--bc-white);
    font-size: 2.25rem;
    margin-bottom: 2rem;
}

.bc-cta-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.bc-cta-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: var(--bc-radius-lg);
    cursor: pointer;
    transition: var(--bc-transition);
    color: var(--bc-white);
}

.bc-cta-option:hover,
.bc-cta-option.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--bc-primary);
}

.bc-cta-option input {
    display: none;
}

.bc-cta-option .radio-dot {
    width: 20px;
    height: 20px;
    border: 2px solid var(--bc-gray-400);
    border-radius: var(--bc-radius-full);
    position: relative;
    transition: var(--bc-transition);
}

.bc-cta-option.active .radio-dot {
    border-color: var(--bc-primary);
}

.bc-cta-option.active .radio-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--bc-primary);
    border-radius: var(--bc-radius-full);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1024px) {
    .bc-hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .bc-hero-text {
        text-align: center;
    }
    
    .bc-hero-subtitle {
        margin: 0 auto 2rem;
    }
    
    .bc-hero-ctas {
        justify-content: center;
    }
    
    .bc-hero-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .bc-layers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bc-roles-grid,
    .bc-journeys-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bc-method-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .bc-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bc-h1, .bc-hero-title {
        font-size: 2.25rem;
    }
    
    .bc-h2 {
        font-size: 1.75rem;
    }
    
    .bc-section {
        padding: 3rem 0;
    }
    
    .bc-hero {
        padding: 4rem 0 3rem;
    }
    
    .bc-layers-grid,
    .bc-roles-grid,
    .bc-journeys-grid,
    .bc-services-grid {
        grid-template-columns: 1fr;
    }
    
    .bc-integrations-content {
        flex-direction: column;
        text-align: center;
    }
    
    .bc-cta-options {
        flex-direction: column;
    }
    
    .bc-cta-option {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .bc-container {
        padding: 0 1rem;
    }
    
    .bc-hero-title {
        font-size: 1.875rem;
    }
    
    .bc-hero-subtitle {
        font-size: 1rem;
    }
    
    .bc-btn {
        width: 100%;
    }
    
    .bc-hero-ctas {
        flex-direction: column;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bc-animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

.bc-animate-delay-1 { animation-delay: 0.1s; }
.bc-animate-delay-2 { animation-delay: 0.2s; }
.bc-animate-delay-3 { animation-delay: 0.3s; }
.bc-animate-delay-4 { animation-delay: 0.4s; }
.bc-animate-delay-5 { animation-delay: 0.5s; }
.bc-animate-delay-6 { animation-delay: 0.6s; }
