/* ===== THUTO ACADEMY - UNIFIED STYLES ===== */
/* Consolidated from all pages: index.php, course.php, course-progress.php, course-selection.php */

:root {
    /* Color System */
    --primary: #0074a3;
    --primary-dark: #005a82;
    --accent: #0074a3;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #223749;
    --light: #f4f6f8;
    --white: #ffffff;
    --gray: #6b7280;
    --gray-light: #e5e7eb;
    --gray-dark: #374151;
    
    /* Typography */
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --line-height: 1.6;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 15px 30px rgba(0,0,0,0.1);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height);
    color: #333;
    background-color: var(--light);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    margin-bottom: var(--space-md);
    font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--space-md);
}

/* Add these to your existing styles.css */

/* User Menu Styles (from course-selection.php) */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
    height: 70px;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.btn-outline {
    display: inline-block;
    padding: 8px 16px;
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

/* Mobile menu improvements */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text);
    cursor: pointer;
    padding: 10px;
}

nav.show {
    display: flex !important;
}

/* Course-specific header styles */
.course-re1 .page-title {
    border-left: 4px solid #0074a3;
}

.course-re5 .page-title {
    border-left: 4px solid #10b981;
}

/* ===== HEADER & NAVIGATION ===== */
.thuto-header {
    background-color: var(--dark);
    color: var(--white);
    padding: 15px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand img {
    height: 40px;
    border-radius: var(--radius-sm);
}

.brand h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--accent);
}

/* Main Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent);
    background: rgba(255,255,255,0.1);
}

/* Course Dropdown */
.course-dropdown {
    position: relative;
    display: inline-block;
}

.course-toggle {
    cursor: pointer;
}

.course-dropdown-content {
    display: none;
    position: absolute;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    z-index: 1000;
    top: 100%;
    left: 0;
}

.course-dropdown:hover .course-dropdown-content {
    display: block;
}

.course-dropdown-content a {
    color: var(--dark);
    padding: 12px 16px;
    display: block;
    border-bottom: 1px solid var(--gray-light);
}

.course-dropdown-content a:hover {
    background: var(--light);
    color: var(--primary);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--white);
    color: var(--primary);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 180, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 20px rgba(0, 180, 255, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #059669);
    color: var(--white);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning), #d97706);
    color: var(--white);
}

/* ===== HERO SECTIONS ===== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::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 1000 100" fill="%23ffffff" opacity="0.1"><polygon points="0,0 1000,50 1000,100 0,100"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ===== COURSE & LESSON STYLES ===== */
.page-title {
    text-align: center;
    margin-bottom: 40px;
    padding: var(--space-xl) 0;
}

.page-title h1 {
    margin: 0;
    font-size: 2rem;
    color: var(--dark);
}

.page-title .sub {
    color: var(--gray);
    margin-top: 8px;
    font-size: 1.1rem;
}

/* Progress Bar */
.progress-bar {
    height: 8px;
    background: var(--gray-light);
    border-radius: var(--radius-md);
    margin: 15px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    border-radius: var(--radius-md);
    transition: width 0.5s ease;
}

.progress-pill {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
}

/* Lesson Styles */
.lesson {
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.lesson:hover {
    box-shadow: var(--shadow-lg);
}

.lesson.open {
    box-shadow: var(--shadow-xl);
}

.lesson-head {
    padding: 20px;
    cursor: pointer;
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
}

.lesson-head h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lesson-body {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.lesson.open .lesson-body {
    padding: 20px;
    max-height: none;
}

/* Lesson Lock States */
.lesson-locked {
    opacity: 0.6;
    pointer-events: none;
}

.lesson-review-mode {
    border: 2px solid var(--warning);
    animation: pulse 2s infinite;
}

.lock-icon {
    color: var(--danger);
    font-size: 0.9em;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* ===== QUIZ SYSTEM ===== */
.quiz-box {
    background: var(--light);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 20px 0;
}

.quiz-question {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}

.option {
    margin: 10px 0;
}

.option button {
    width: 100%;
    padding: 15px;
    //background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: left;
    transition: all 0.3s;
    font-size: 1rem;
}

.option button:hover {
    border-color: var(--accent);
    background: rgba(0, 180, 255, 0.05);
}

.option button.disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.quiz-feedback {
    padding: 15px;
    margin: 15px 0;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.quiz-feedback.correct {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.quiz-feedback.incorrect {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.quiz-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.quiz-lock-message {
    text-align: center;
    padding: 30px;
}

.quiz-countdown {
    font-size: 2rem;
    font-weight: bold;
    color: var(--warning);
    margin: 15px 0;
}

/* ===== USER NOTES SYSTEM ===== */
.user-notes-section {
    background: var(--light);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 20px 0;
}

.user-notes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.add-note-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
}

.note-editor {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    border: 1px solid var(--gray-light);
}

.note-text {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    resize: vertical;
    font-family: inherit;
}

.note-options {
    display: flex;
    gap: 15px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.note-options select {
    padding: 8px 12px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    background: var(--white);
}

.note-actions {
    display: flex;
    gap: 10px;
}

.save-note-btn, .cancel-note-btn {
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
}

.save-note-btn {
    background: var(--success);
    color: white;
}

.cancel-note-btn {
    background: var(--gray-light);
    color: var(--dark);
}

.user-note-item {
    background: var(--white);
    padding: 15px;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    border-left: 4px solid var(--primary);
}

.note-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.note-type-badge {
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
}

.note-type-badge.general { background: rgba(0, 180, 255, 0.1); color: var(--accent); }
.note-type-badge.question { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.note-type-badge.difficulty { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.note-type-badge.insight { background: rgba(16, 185, 129, 0.1); color: var(--success); }

.confidence-badge {
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
}

.confidence-badge.low { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.confidence-badge.medium { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.confidence-badge.high { background: rgba(16, 185, 129, 0.1); color: var(--success); }

.flag-badge {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
}

.delete-note-btn {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: auto;
}

/* ===== PRICING & CARDS ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
    border: 2px solid var(--warning);
}

.pricing-card.elite {
    border: 2px solid var(--success);
}

.popular-badge {
    position: absolute;
    top: 20px;
    left: -35px;
    background: linear-gradient(135deg, var(--warning), #fbbf24);
    color: var(--white);
    padding: 8px 40px;
    font-weight: 700;
    transform: rotate(-45deg);
    font-size: 0.8rem;
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.corporate-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary), #3730a3);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.card-header {
    padding: 30px 20px 20px;
    text-align: center;
    border-bottom: 1px solid var(--gray-light);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.plan-description {
    color: var(--gray);
    font-size: 0.9rem;
}

.price-container {
    padding: 20px;
    text-align: center;
    background: var(--light);
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.pricing-card.popular .price {
    color: var(--warning);
}

.pricing-card.elite .price {
    color: var(--success);
}

.price-original {
    text-decoration: line-through;
    color: var(--gray);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.price-discount {
    background: var(--danger);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 10px;
}

.price-savings {
    color: var(--success);
    font-weight: 700;
    font-size: 0.9rem;
}

.features-list {
    list-style: none;
    padding: 20px;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
}

.features-list li:before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
    margin-right: 10px;
}

.features-list li.disabled {
    color: var(--gray);
}

.features-list li.disabled:before {
    content: "✗";
    color: var(--danger);
}

.premium-feature {
    background: rgba(245, 158, 11, 0.1);
    margin: 0 -20px;
    padding: 10px 20px;
    border-left: 4px solid var(--warning);
    font-weight: 600;
}

.elite-feature {
    background: rgba(16, 185, 129, 0.1);
    margin: 0 -20px;
    padding: 10px 20px;
    border-left: 4px solid var(--success);
    font-weight: 700;
    color: var(--success);
}

.elite-feature:before {
    content: "⭐";
    color: var(--warning);
    margin-right: 8px;
}

.card-footer {
    padding: 0 20px 20px;
}

.cta-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 180, 255, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 180, 255, 0.4);
}

.cta-button.secondary {
    background: var(--gray-light);
    color: var(--dark);
}

.cta-button.secondary:hover {
    background: var(--gray);
    color: var(--white);
}

.cta-button.elite {
    background: linear-gradient(135deg, var(--success), #059669);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.cta-button.elite:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

/* ===== PROGRESS & ANALYTICS ===== */
.progress-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.stat-card {
    background: var(--light);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 5px;
}

.accuracy-indicator {
    height: 6px;
    background: var(--gray-light);
    border-radius: 3px;
    margin-top: 5px;
    overflow: hidden;
}

.accuracy-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success), #48bb78);
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* ===== COURSE SELECTION ===== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gray-light);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.course-badge {
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.course-badge.free {
    background: var(--success);
}

.course-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 15px;
}

.start-button {
    background: var(--accent);
    color: var(--white);
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    transition: all 0.3s;
}

.start-button:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* ===== NOTIFICATIONS ===== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    color: var(--white);
    font-weight: 600;
    z-index: 10000;
    animation: slideIn 0.3s ease;
}

.notification.success {
    background: var(--success);
}

.notification.error {
    background: var(--danger);
}

.notification.info {
    background: var(--primary);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== FOOTER ===== */
.thuto-footer {
    background: var(--dark);
    color: var(--white);
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: var(--accent);
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--accent);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
    text-align: center;
}

/* ===== TAB BUTTONS STYLES ===== */
.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 12px 30px;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--dark);
    font-size: 0.95rem;
}

.tab-button:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.tab-button.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 116, 163, 0.3);
}

.tab-button:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ===== COURSE SELECTION STYLES ===== */
.course-selection {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.course-option {
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--dark);
    font-size: 0.95rem;
}

.course-option:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.course-option.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 116, 163, 0.3);
}

.course-option:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ===== TAB CONTENT STYLES ===== */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE TAB STYLES ===== */




/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .tab-buttons {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .tab-button {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .course-selection {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .course-option {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    /* Mobile menu state */
    .main-nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        gap: 10px;
        z-index: 1000;
    }
    
    .main-nav ul.show {
        display: flex !important;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .pricing-grid,
    .courses-grid {
        grid-template-columns: 1fr;
    }

    .progress-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .note-options {
        flex-direction: column;
    }

    .user-notes-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .course-dropdown-content {
        position: static;
        display: none;
        width: 100%;
    }

    .course-dropdown:hover .course-dropdown-content,
    .course-dropdown:focus-within .course-dropdown-content {
        display: block;
    }
}

@media (max-width: 480px) {
     .tab-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .course-option {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .progress-stats {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .page-title h1 {
        font-size: 1.5rem;
    }
    
    .price {
        font-size: 2rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
button:focus,
a:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --gray-light: #000;
        --light: #fff;
    }
}