/* Custom CSS Styles for Bootcamp de Redes */

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-light: 0 2px 15px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 25px rgba(0,0,0,0.15);
    --shadow-heavy: 0 10px 40px rgba(0,0,0,0.2);
}

/* Global Styles */
body {
    font-family: 'Inter', 'Segoe UI', 'SF Pro Display', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.65;
    color: #1f2937;
    padding-top: 80px;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    letter-spacing: 0.01em;
    background-color: #ffffff;
}

/* Typography Improvements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    color: #111827;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
}

h5 {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 600;
}

h6 {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 600;
}

p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    font-weight: 400;
}

.lead {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 400;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 1.5rem;
}

.text-muted {
    color: #6b7280 !important;
    font-weight: 400;
}

.section-title {
    color: #111827;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    color: #6b7280;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.text-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.025em;
}

/* Navbar improvements */
.navbar {
    backdrop-filter: blur(15px);
    background: rgba(17, 24, 39, 0.95) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    backdrop-filter: blur(20px);
    background: rgba(17, 24, 39, 0.98) !important;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: #ffffff !important;
    letter-spacing: -0.025em;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: #e5e7eb !important;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #60a5fa;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #60a5fa !important;
    transform: translateY(-1px);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border-radius: 12px;
    background: #ffffff;
    padding: 0.75rem 0;
}

.dropdown-item {
    color: #374151;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: #f3f4f6;
    color: #2563eb;
    transform: translateX(4px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.hero-content h1 {
    color: #ffffff;
    font-weight: 900;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
}

.hero-content .lead {
    color: #e2e8f0;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    margin-bottom: 2rem;
}

.hero-stats .stat-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
}

.hero-stats .stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-stats h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #60a5fa;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    margin-bottom: 0.25rem;
}

.hero-stats p {
    color: #cbd5e1;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
}

/* Buttons */
.btn {
    font-weight: 600;
    font-size: 1rem;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    letter-spacing: 0.025em;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
}

.btn-outline-primary {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    box-shadow: none;
}

.btn-outline-primary:hover {
    background: #3b82f6;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-light {
    background: #ffffff;
    color: #1f2937;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-light:hover {
    background: #f8fafc;
    color: #1f2937;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-lg {
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
    border-radius: 14px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        justify-content: center;
        text-align: center;
    }
}

/* Network Animation */
.hero-image {
    position: relative;
    height: 400px;
}

.network-animation {
    position: relative;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    animation: pulse 2s infinite;
}

.node-1 { top: 20%; left: 20%; animation-delay: 0s; }
.node-2 { top: 20%; right: 20%; animation-delay: 0.5s; }
.node-3 { bottom: 20%; left: 20%; animation-delay: 1s; }
.node-4 { bottom: 20%; right: 20%; animation-delay: 1.5s; }

.connection {
    position: absolute;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    animation: flow 3s infinite;
}

.connection-1 {
    top: 30%;
    left: 30%;
    right: 30%;
    transform: rotate(15deg);
}

.connection-2 {
    top: 50%;
    left: 25%;
    right: 25%;
    transform: rotate(-15deg);
}

.connection-3 {
    bottom: 30%;
    left: 30%;
    right: 30%;
    transform: rotate(15deg);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes flow {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Day Cards */
.day-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 8px 35px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
}

.day-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.day-header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.day-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
}

.day-header h3 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.025em;
}

.day-content {
    padding: 2.5rem 2rem;
    background: linear-gradient(to bottom, #ffffff, #fafbfc);
}

.day-content h4 {
    color: #111827;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

.day-content .text-muted {
    color: #6b7280 !important;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

/* Module Lists */
.module-list {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.module-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.module-item:hover {
    background: #f8fafc;
    transform: translateX(6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #3b82f6;
}

.module-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.module-info {
    flex: 1;
    min-width: 0;
}

.module-info h6 {
    color: #111827;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    letter-spacing: -0.025em;
    line-height: 1.3;
}

.module-info small {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 500;
    display: block;
}

.time-badge {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: #dbeafe;
    color: #1e40af;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Feature Cards */
.feature-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f1f5f9;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.module-info {
    flex: 1;
}

.module-info h6 {
    margin: 0;
    font-weight: 600;
    color: var(--dark-color);
}

.module-info small {
    color: #6b7280;
}

.time-badge {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Feature Cards */
.feature-card {
    background: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid #f1f5f9;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.35);
}

.feature-card h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
    font-size: 1.5rem;
    letter-spacing: -0.025em;
    line-height: 1.3;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
}

/* Objectives */
.objective-list {
    padding: 2rem 0;
}

.objective-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #374151;
    line-height: 1.6;
}

.objective-item i {
    margin-top: 0.2rem;
    margin-right: 1rem;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.objective-item span {
    flex: 1;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid2" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid2)"/></svg>');
}

.cta-section h2 {
    color: #ffffff;
    font-weight: 800;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.025em;
}

.cta-section .lead {
    color: #cbd5e1;
    font-size: 1.25rem;
}

/* Footer */
footer {
    background: #111827 !important;
}

footer h5 {
    color: #ffffff;
    font-weight: 700;
}

footer p {
    color: #9ca3af;
}

.social-links a {
    color: #6b7280;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #60a5fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content .lead {
        font-size: 1.125rem;
    }
    
    .day-header {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .day-content {
        padding: 1.5rem;
    }
    
    .module-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .module-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .time-badge {
        position: static;
        transform: none;
        margin-top: 0.5rem;
        display: inline-block;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.875rem 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-stats .stat-card {
        padding: 1rem 0.5rem;
    }
    
    .hero-stats h3 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .day-content h4 {
        font-size: 1.25rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .objective-item {
        font-size: 1rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
.btn:focus,
.nav-link:focus,
.dropdown-item:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .text-gradient {
        -webkit-text-fill-color: #000000;
        background: none;
        color: #000000;
    }
    
    .hero-section {
        background: #000000;
        color: #ffffff;
    }
    
    .btn-primary {
        background: #000000;
        border: 2px solid #ffffff;
    }
}

/* Buttons */
.btn {
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success-color);
    border-color: var(--success-color);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Module Page Styles */
.module-header {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.module-nav {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    position: sticky;
    top: 76px;
    z-index: 100;
}

.content-section {
    padding: 3rem 0;
}

.content-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    padding: 2rem;
    margin-bottom: 2rem;
}

.code-block {
    background: #1f2937;
    color: #e5e7eb;
    padding: 1.5rem;
    border-radius: 12px;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
    position: relative;
}

.code-block::before {
    content: attr(data-language);
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.table-responsive {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background: var(--primary-color);
    color: white;
    border: none;
    font-weight: 600;
    padding: 1rem;
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-color: #e5e7eb;
}

.table tbody tr:hover {
    background: #f8fafc;
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
}

.alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    color: #92400e;
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.alert-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

/* Progress Bar */
.progress {
    height: 8px;
    border-radius: 4px;
    background: #e5e7eb;
}

.progress-bar {
    background: var(--gradient-primary);
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .day-card {
        margin-bottom: 2rem;
    }
    
    .module-item {
        flex-direction: column;
        text-align: center;
    }
    
    .module-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .time-badge {
        position: static;
        margin-top: 1rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-section,
    .cta-section,
    footer {
        display: none !important;
    }
    
    body {
        padding-top: 0;
    }
    
    .content-card {
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }
}

/* Exercise Styles */
.exercise-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.exercise-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.exercise-points {
    background: var(--success-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.exercise-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-control {
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.answer-box {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    color: #6b7280;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.command-line {
    background: #1f2937;
    color: #10b981;
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Fira Code', monospace;
    margin: 1rem 0;
}

.command-line::before {
    content: '$ ';
    color: #3b82f6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design Improvements */
@media (max-width: 1200px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-content h1 {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
    }
    
    .section-title {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }
}

@media (max-width: 992px) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .day-card {
        margin-bottom: 2rem;
    }
    
    .module-item {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }
    
    .module-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-stats .row {
        gap: 1rem;
    }
    
    .hero-stats .stat-card {
        padding: 1.25rem 0.75rem;
    }
    
    .day-content {
        padding: 2rem 1.5rem;
    }
    
    .module-item {
        padding: 1.5rem 1rem;
    }
    
    .module-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-card {
        padding: 2.5rem 1.5rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.75rem;
    }
    
    .btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }
    
    .hero-content .lead {
        font-size: 1.125rem;
    }
    
    .day-header {
        padding: 1.5rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .day-content {
        padding: 1.5rem 1rem;
    }
    
    .module-item {
        padding: 1.25rem 1rem;
    }
    
    .feature-card {
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

/* Utility Classes */
.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.text-primary-dark {
    color: var(--secondary-color);
}

.border-radius-lg {
    border-radius: 16px;
}

.shadow-custom {
    box-shadow: var(--shadow-medium);
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 2rem;
}

.p-4 {
    padding: 2rem;
}
