/* Home Page Styles */

.home-hero {
    text-align: center;
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    border-radius: 1.5rem;
    margin-bottom: 3rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.quick-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    min-width: 120px;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.features-section {
    text-align: center;
    padding: 3rem 0;
}

.features-section h2 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
    color: #1e293b;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
    font-weight: 600;
}

.feature-card p {
    color: #4b5563;
    font-size: 0.875rem;
}

/* Roadmap Styles */
.roadmap-container {
    text-align: left;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.course-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
}

.units-path {
    position: relative;
    padding-left: 40px;
}

/* Timeline Line */
.units-path::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.unit-block {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    transition: transform 0.3s ease;
}

.unit-block:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
}

/* Timeline Dot */
.unit-block::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 30px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    border: 4px solid var(--color-primary);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

.unit-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.unit-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
    color: #fbbf24;
    /* gold-400 */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.unit-header h3 {
    font-size: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.5rem;
}

.unit-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.module-card {
    background: white;
    color: #111827;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 2px solid transparent;
}

.module-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--color-primary-light);
}

.module-icon-circle {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: #f9fafb;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.module-card:hover .module-icon-circle {
    transform: scale(1.1) rotate(5deg);
    background: var(--color-primary-light);
    color: white;
}

.module-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #1f2937;
}

.module-meta {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.empty-state {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
    backdrop-filter: blur(10px);
}