/* ==================== CSS Variables ==================== */
:root {
    /* Colors from Baseerah Logo */
    --primary-color: #3d5a4a;
    --primary-dark: #2d4438;
    --primary-light: #4d6a5a;
    --accent-color: #5a7a66;

    /* Neutral Colors */
    --bg-color: #fafaf8;
    --surface-color: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --border-color: #e5e5e5;

    /* Semantic Colors */
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --info-color: #2196f3;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Typography */
    --font-family: 'Cairo', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(61, 90, 74, 0.08);
    --shadow-md: 0 4px 12px rgba(61, 90, 74, 0.12);
    --shadow-lg: 0 8px 24px rgba(61, 90, 74, 0.16);
    --shadow-xl: 0 16px 48px rgba(61, 90, 74, 0.2);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==================== Reset & Base ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ==================== Header ==================== */
.header {
    background: var(--surface-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo {
    height: 50px;
    width: auto;
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: scale(1.05);
}

.site-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
}

.nav {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-base);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* ==================== Hero Section ==================== */
.hero {
    position: relative;
    padding: var(--spacing-xxl) 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
    background-image: url('hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: var(--font-size-3xl);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
    font-weight: 700;
    border-radius: var(--radius-lg);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    font-family: var(--font-family);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

.hero-image {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    animation: fadeInRight 0.8s ease;
}

.floating-card {
    background: var(--surface-color);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
    animation: float 3s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    grid-column: 1 / -1;
}

.floating-card:nth-child(2) {
    animation-delay: 0.5s;
}

.floating-card:nth-child(3) {
    animation-delay: 1s;
}

.floating-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.floating-card h3 {
    color: var(--primary-color);
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.floating-card p {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
}

/* ==================== How It Works ==================== */
.how-it-works {
    padding: var(--spacing-xxl) 0;
    background: var(--surface-color);
}

.section-title {
    font-size: var(--font-size-2xl);
    font-weight: 900;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.step-card {
    background: var(--bg-color);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.step-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: 900;
    margin: 0 auto var(--spacing-md);
}

.step-card h3 {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.step-card p {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
}

/* ==================== Scenarios Section ==================== */
.scenarios-section {
    padding: var(--spacing-xxl) 0;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.scenario-card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.scenario-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: var(--spacing-md);
}

.scenario-number {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: var(--font-size-sm);
}

.scenario-level {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.scenario-card h3 {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.scenario-card p {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.scenario-meta {
    display: flex;
    gap: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.scenario-meta span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.scenario-card.locked {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

.scenario-card.locked::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.locked-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.lock-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: var(--spacing-xs);
}

.scenario-card.completed {
    border-color: #4caf50;
}

.completed-badge {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    background: #4caf50;
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.scenario-level-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    color: white;
    font-size: var(--font-size-xs);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.scenario-score {
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-align: center;
    margin-top: var(--spacing-sm);
}

.scenario-level-indicator {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    color: white;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.completed-notice {
    background: #e8f5e9;
    color: #2e7d32;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    border: 2px solid #4caf50;
}

/* ==================== Modal ==================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    overflow-y: auto;
    animation: fadeIn var(--transition-base);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

.modal-content {
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease;
    box-shadow: var(--shadow-xl);
}

.modal-close {
    position: sticky;
    top: var(--spacing-md);
    left: var(--spacing-md);
    float: left;
    background: var(--error-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: var(--font-size-xl);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.scenario-container {
    padding: var(--spacing-xl);
}

.scenario-title {
    font-size: var(--font-size-2xl);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.scenario-content {
    background: var(--bg-color);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    border-right: 4px solid var(--primary-color);
}

.scenario-content h4 {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.scenario-text {
    font-size: var(--font-size-lg);
    line-height: 1.9;
    color: var(--text-primary);
}

.choices-section {
    margin-bottom: var(--spacing-lg);
}

.choices-section h4 {
    color: var(--primary-color);
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.choice-card {
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    cursor: pointer;
    transition: all var(--transition-base);
}

.choice-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateX(-5px);
}

.choice-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(to left, rgba(61, 90, 74, 0.05), transparent);
}

.choice-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.choice-label {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-lg);
}

.choice-card.selected .choice-label {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 0 0 4px rgba(61, 90, 74, 0.2);
}

.choice-title {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.choice-description {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    line-height: 1.7;
    margin-right: 54px;
}

.evaluation-section {
    display: none;
    margin-top: var(--spacing-lg);
}

.evaluation-section.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.criteria-grid {
    display: grid;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.criterion-item {
    background: var(--bg-color);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
}

.criterion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.criterion-name {
    color: var(--primary-color);
    font-weight: 700;
    font-size: var(--font-size-base);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.criterion-score {
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.criterion-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--border-color);
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.criterion-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.criterion-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-sm);
}

.total-score {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.total-score h4 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-xs);
}

.score-value {
    font-size: var(--font-size-3xl);
    font-weight: 900;
}

.score-status {
    margin-top: var(--spacing-sm);
    font-size: var(--font-size-lg);
}

.recommended-section {
    background: var(--bg-color);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    border-right: 4px solid var(--success-color);
}

.recommended-section h4 {
    color: var(--success-color);
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.recommended-choice {
    background: var(--surface-color);
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md);
}

.reasons-list {
    list-style: none;
}

.reasons-list li {
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    padding-right: var(--spacing-lg);
    position: relative;
    color: var(--text-primary);
    line-height: 1.7;
}

.reasons-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--success-color);
    font-weight: 900;
}

.action-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.btn-secondary {
    background: var(--surface-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-base);
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-family);
    flex: 1;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-success {
    background: var(--success-color);
    color: white;
    border: none;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-base);
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-family);
    flex: 1;
}

.btn-success:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==================== About Section ==================== */
.about-section {
    padding: var(--spacing-xxl) 0;
    background: var(--surface-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.about-text p {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    line-height: 1.9;
    margin-bottom: var(--spacing-lg);
}

.criteria-list {
    background: var(--bg-color);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    margin: var(--spacing-lg) 0;
}

.criteria-list h4 {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.criterion {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    color: var(--text-primary);
    font-size: var(--font-size-base);
}

.criterion-icon {
    font-size: var(--font-size-xl);
}

.success-note {
    background: #e8f5e9;
    color: #2e7d32;
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    border-right: 4px solid #2e7d32;
}

/* ==================== Progress Dashboard ==================== */
.progress-dashboard {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.dashboard-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xl);
}

.current-level-card {
    background: var(--surface-color);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.level-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-xl);
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-md);
}

.level-icon {
    font-size: 2rem;
}

.level-name {
    font-size: var(--font-size-2xl);
}

.level-description {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
}

.points-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.points-label {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
}

.points-value {
    color: var(--primary-color);
    font-size: var(--font-size-3xl);
    font-weight: 900;
}

.points-max {
    color: var(--text-secondary);
    font-size: var(--font-size-xl);
}

.progress-bar-container {
    width: 100%;
    height: 12px;
    background: var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 6px;
    transition: width 0.5s ease;
    width: 0%;
}

.progress-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.stat-item {
    background: var(--bg-color);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
}

.stat-icon {
    font-size: var(--font-size-2xl);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.stat-value {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.levels-roadmap {
    background: var(--surface-color);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.levels-roadmap h3 {
    color: var(--primary-color);
    font-size: var(--font-size-xl);
    font-weight: 900;
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.level-item {
    background: var(--bg-color);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    position: relative;
}

.level-item.active {
    border-color: var(--primary-color);
    background: linear-gradient(to bottom, rgba(61, 90, 74, 0.05), transparent);
}

.level-item.locked {
    opacity: 0.6;
    filter: grayscale(50%);
}

.level-item:not(.locked):hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.level-item-badge {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    box-shadow: var(--shadow-sm);
}

.level-item.locked .level-item-badge {
    background: var(--border-color);
}

.level-item-icon {
    font-size: 2rem;
}

.level-item h4 {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.level-item p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-sm);
}

.level-status {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 700;
}

.level-item.locked .level-status {
    background: var(--border-color);
    color: var(--text-secondary);
}

.btn-reset {
    background: var(--error-color);
    color: white;
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-base);
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-family);
    width: 100%;
}

.btn-reset:hover {
    background: #d32f2f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==================== Activities Section ==================== */
.activities-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.activity-card {
    background: var(--surface-color);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.activity-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
}

.activity-card h3 {
    color: var(--primary-color);
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.activity-card p {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.activity-meta {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.activity-meta span {
    background: var(--bg-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
}

/* ==================== Resources Section ==================== */
.resources-section {
    padding: var(--spacing-xxl) 0;
    background: var(--surface-color);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

.resource-category h3 {
    color: var(--primary-color);
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.resource-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.resource-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: var(--bg-color);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.resource-item:hover {
    border-color: var(--primary-color);
    transform: translateX(-5px);
    box-shadow: var(--shadow-sm);
}

.resource-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.resource-info {
    flex: 1;
}

.resource-info h4 {
    color: var(--primary-color);
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.resource-info p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin: 0;
}

.download-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Resources Tabs */
.resources-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.resource-tab {
    padding: 12px 24px;
    background: var(--surface-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.resource-tab:hover {
    background: var(--primary-light);
    color: white;
}

.resource-tab.active {
    background: var(--primary-color);
    color: white;
}

/* Enhanced Resource Cards */
.resource-item-enhanced {
    background: var(--bg-color);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.resource-item-enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.resource-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.resource-icon-large {
    font-size: 48px;
}

.resource-badge {
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.resource-meta {
    display: flex;
    gap: 15px;
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.resource-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.resource-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-preview,
.btn-download {
    flex: 1;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-preview {
    background: var(--surface-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-preview:hover {
    background: var(--primary-light);
    color: white;
}

.btn-download {
    background: var(--primary-color);
    color: white;
}

.btn-download:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Category Description */
.category-desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 15px;
}

/* Preview Content Styling */
.preview-content {
    max-height: 500px;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.preview-content h4 {
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 18px;
}

.preview-content h4:first-child {
    margin-top: 0;
}

.preview-content ul,
.preview-content ol {
    margin: 10px 0 10px 25px;
    line-height: 1.8;
}

.preview-content li {
    margin-bottom: 8px;
}

.preview-content p {
    margin: 10px 0;
    line-height: 1.6;
}

.preview-content strong {
    color: var(--primary-color);
}

/* ==================== Learning Paths Section ==================== */
.learning-paths-section {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-color);
}

.paths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
}

.path-card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
}

.path-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.path-card.featured {
    border: 3px solid var(--primary-color);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 700;
    z-index: 10;
}

.path-header {
    padding: var(--spacing-xl);
    text-align: center;
    color: white;
}

.path-header.university {
    background: linear-gradient(135deg, #2196f3, #1976d2);
}

.path-header.intensive {
    background: linear-gradient(135deg, #4caf50, #388e3c);
}

.path-header.extended {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
}

.path-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
}

.path-header h3 {
    font-size: var(--font-size-xxl);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.path-duration {
    font-size: var(--font-size-base);
    opacity: 0.9;
}

.path-content {
    padding: var(--spacing-xl);
}

.path-description {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.path-features {
    list-style: none;
    padding: 0;
    margin-bottom: var(--spacing-lg);
}

.path-features li {
    padding: var(--spacing-sm) 0;
    color: var(--text-primary);
    font-size: var(--font-size-base);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.path-features li:last-child {
    border-bottom: none;
}

.btn-path {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--surface-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-path:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-path.primary {
    background: var(--primary-color);
    color: white;
}

.btn-path.primary:hover {
    background: var(--primary-dark);
}

/* Path Stats */
.path-stats {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.path-stats .stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Paths Comparison Table */
.paths-comparison {
    margin-top: 60px;
    padding: 40px;
    background: var(--surface-color);
    border-radius: 15px;
}

.paths-comparison h3 {
    text-align: center;
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 30px;
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table thead {
    background: var(--primary-color);
    color: white;
}

.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    text-align: right;
    border-bottom: 1px solid #e0e0e0;
}

.comparison-table th {
    font-weight: 700;
    font-size: 16px;
}

.comparison-table td {
    font-size: 15px;
}

.comparison-table tbody tr:hover {
    background: #f8f9fa;
}

.comparison-table .featured-row {
    background: #e8f5e9;
}

.comparison-table .featured-row:hover {
    background: #c8e6c9;
}

/* Path Details Content */
.path-details-content {
    max-height: 600px;
    overflow-y: auto;
    padding: 20px;
}

.path-overview,
.path-curriculum,
.path-outputs,
.path-metrics {
    margin-bottom: 30px;
}

.path-details-content h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.path-details-content p {
    margin: 10px 0;
    line-height: 1.6;
}

.path-details-content ul {
    margin: 10px 0 10px 25px;
    line-height: 1.8;
}

.path-details-content li {
    margin-bottom: 8px;
}

/* Week Details */
.week-detail {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-right: 4px solid var(--primary-color);
}

.week-number {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.week-detail h4 {
    color: var(--primary-color);
    margin: 10px 0;
    font-size: 18px;
}

.week-content {
    margin-top: 15px;
}

.week-topics,
.week-activity,
.week-homework {
    margin-bottom: 12px;
}

.week-topics ul {
    margin: 5px 0 0 20px;
}

.week-topics li {
    margin-bottom: 5px;
}

/* Registration Form */
.registration-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Responsive for Paths */
@media (max-width: 768px) {
    .paths-grid {
        grid-template-columns: 1fr;
    }

    .path-stats {
        flex-direction: column;
        gap: 15px;
    }

    .paths-comparison {
        padding: 20px;
    }

    .comparison-table {
        font-size: 14px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }

    .path-details-content {
        max-height: 500px;
    }
}

/* ==================== Coming Soon Section ==================== */
.coming-soon-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.coming-soon-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent 0, transparent 20px, rgba(255, 255, 255, 0.03) 20px, rgba(255, 255, 255, 0.03) 40px);
    pointer-events: none;
}

.coming-soon-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.coming-soon-text {
    color: white;
}

.coming-soon-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: var(--spacing-xs) var(--spacing-lg);
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.coming-soon-title {
    font-size: var(--font-size-3xl);
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.coming-soon-description {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

.coming-soon-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-5px);
}

.feature-icon {
    font-size: var(--font-size-xl);
}

.app-store-badge {
    position: relative;
    display: inline-block;
}

.google-play-badge {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all var(--transition-base);
}

.google-play-badge:hover {
    opacity: 1;
    transform: scale(1.05);
}

.coming-soon-label {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--warning-color);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: var(--font-size-xs);
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.coming-soon-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 0 0 8px rgba(255, 255, 255, 0.1),
        0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: float 4s ease-in-out infinite;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fafaf8 0%, #f5f5f5 100%);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.app-preview {
    padding: var(--spacing-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--border-color);
}

.app-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.app-header span {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary-color);
}

.app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.preview-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--transition-base);
}

.preview-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.preview-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.preview-card h4 {
    color: var(--primary-color);
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.preview-card p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

/* ==================== Footer ==================== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.footer-logo img {
    height: 50px;
    margin-bottom: var(--spacing-md);
    filter: brightness(0) invert(1);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-base);
}

.footer-links h4,
.footer-info h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: var(--spacing-sm);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
}

/* ==================== Animations ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ==================== Responsive Design ==================== */
@media (max-width: 768px) {

    /* Header & Navigation */
    .header-content {
        flex-direction: row;
        /* Keep logo and toggle on same line */
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .nav-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 1001;
    }

    .hamburger {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--primary-color);
        position: relative;
        transition: all 0.3s ease;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background: var(--primary-color);
        left: 0;
        transition: all 0.3s ease;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        top: 8px;
    }

    .nav-toggle.active .hamburger {
        background: transparent;
    }

    .nav-toggle.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }

    .nav-toggle.active .hamburger::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        padding: 80px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    /* Hero Section */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding-top: 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-text {
        order: 1;
    }

    .hero-image {
        order: 2;
        grid-template-columns: repeat(2, 1fr);
        /* Keep grid for cards */
        gap: 10px;
    }

    .floating-card {
        padding: 15px;
    }

    .floating-card h3 {
        font-size: 1rem;
    }

    /* General Grids */
    .steps-grid,
    .scenarios-grid,
    .activities-grid,
    .resources-grid,
    .paths-grid,
    .levels-grid,
    .footer-content,
    .coming-soon-content {
        grid-template-columns: 1fr;
    }

    /* Modals & Forms */
    .modal-content {
        margin: 10px;
        width: 95%;
        padding: 15px;
    }

    .activity-actions,
    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .activity-actions button,
    .action-buttons button {
        width: 100%;
    }

    /* Dashboard */
    .dashboard-content {
        grid-template-columns: 1fr;
    }

    .progress-stats {
        flex-direction: column;
        gap: 10px;
    }

    /* Coming Soon */
    .coming-soon-features {
        grid-template-columns: 1fr;
    }

    .phone-mockup {
        width: 100%;
        max-width: 280px;
        height: auto;
        aspect-ratio: 1/2;
    }

    /* Tables */
    .paths-comparison {
        padding: 15px;
        overflow-x: auto;
    }

    .comparison-table {
        min-width: 600px;
        /* Force scroll */
    }

    /* Path Stats */
    .path-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .path-stats .stat {
        flex: 1 1 45%;
    }
}

/* ==================== Interactive Activities Styles ==================== */

/* Activity Full Container */
.activity-full {
    max-width: 900px;
    margin: 0 auto;
}

.activity-header {
    padding: 40px 30px;
    text-align: center;
    color: white;
    border-radius: 15px 15px 0 0;
}

.activity-icon-large {
    font-size: 60px;
    margin-bottom: 15px;
}

.activity-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
}

.activity-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}

.activity-body {
    padding: 30px;
    background: white;
    border-radius: 0 0 15px 15px;
}

.activity-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.btn-secondary,
.btn-success,
.btn-primary {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary {
    background: #e0e0e0;
    color: #333;
}

.btn-secondary:hover {
    background: #d0d0d0;
}

.btn-success {
    background: #4caf50;
    color: white;
}

.btn-success:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Decision Compass Styles */
.compass-questions {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.compass-question {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-right: 4px solid #2196f3;
}

.question-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #2196f3;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    margin-bottom: 10px;
}

.compass-question h4 {
    margin: 10px 0;
    color: #333;
    font-size: 18px;
}

.compass-question textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.compass-question textarea:focus {
    outline: none;
    border-color: #2196f3;
}

.checkbox-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 16px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Priority Matrix Styles */
.matrix-input {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    align-items: center;
}

.matrix-input h4 {
    margin: 0;
    min-width: 150px;
}

.matrix-input input {
    flex: 1;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
}

.matrix-input input:focus {
    outline: none;
    border-color: #9c27b0;
}

.priority-matrix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.matrix-quadrant {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    min-height: 200px;
}

.matrix-quadrant h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.quadrant-action {
    margin: 0 0 15px 0;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

.task-list {
    min-height: 120px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    border: 2px dashed #ddd;
}

.matrix-task {
    background: white;
    padding: 10px 15px;
    margin-bottom: 8px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
    transition: all 0.3s ease;
}

.matrix-task:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.task-delete {
    background: #f44336;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.task-delete:hover {
    background: #d32f2f;
}

.urgent-important {
    border-right: 4px solid #f44336;
}

.not-urgent-important {
    border-right: 4px solid #ffc107;
}

.urgent-not-important {
    border-right: 4px solid #ff9800;
}

.not-urgent-not-important {
    border-right: 4px solid #9e9e9e;
}

/* 14-Day Challenge Styles */
.challenge-setup h4 {
    margin: 20px 0 10px 0;
    color: #333;
}

.challenge-setup textarea,
.challenge-setup input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    margin-bottom: 15px;
}

.challenge-setup textarea:focus,
.challenge-setup input:focus {
    outline: none;
    border-color: #4caf50;
}

.challenge-tracker h4 {
    margin: 0 0 20px 0;
    text-align: center;
    color: #333;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.day-box {
    background: #f8f9fa;
    padding: 15px 10px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.day-box.completed {
    background: #e8f5e9;
    border-color: #4caf50;
}

.day-number {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.day-box input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.challenge-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: #4caf50;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: #666;
}

/* 90-Day Plan Styles */
.timeline-plan {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.timeline-phase {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-right: 4px solid #ff9800;
}

.phase-header h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 20px;
}

.phase-tasks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.task-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.task-checkbox:hover {
    background: #fff3e0;
}

.task-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.task-checkbox span {
    flex: 1;
    font-size: 15px;
}

.phase-progress {
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-bar {
    flex: 1;
    height: 12px;
    background: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff9800, #f57c00);
    transition: width 0.5s ease;
    width: 0%;
}

.progress-text {
    min-width: 45px;
    text-align: center;
    font-weight: bold;
    color: #ff9800;
}

/* Responsive for Activities */
@media (max-width: 768px) {
    .activity-header {
        padding: 30px 20px;
    }

    .activity-icon-large {
        font-size: 48px;
    }

    .activity-header h2 {
        font-size: 24px;
    }

    .activity-body {
        padding: 20px;
    }

    .priority-matrix {
        grid-template-columns: 1fr;
    }

    .days-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .matrix-input {
        flex-direction: column;
        align-items: stretch;
    }

    .matrix-input h4 {
        min-width: auto;
    }

    .activity-actions {
        flex-direction: column;
    }

    .activity-actions button {
        width: 100%;
    }
}

/* ==================== Print Styles ==================== */
@media print {

    .header,
    .footer,
    .modal-close,
    .action-buttons {
        display: none;
    }

    .modal-content {
        box-shadow: none;
        max-height: none;
    }

    body {
        background: white;
    }
}