/* DJ LEVEL UP COURSE PLATFORM - CSS */

/* ====================================================================
   VARIABLES & RESET
   ==================================================================== */

:root {
    /* DJ CrossTalk Brand Colors - Navy & Chrome */
    --primary: #C0C0C0;           /* Silver/Chrome */
    --primary-light: #E8E8E8;     /* Light Chrome */
    --primary-dark: #A8A8A8;      /* Dark Silver */
    --secondary: #0A1628;         /* Deep Navy */
    --dark: #1A1F2E;              /* Navy Dark */
    --darker: #0D1117;            /* Darker Navy */
    --light: #f5f5f5;
    --text: #333333;
    --text-light: #666666;
    --border: #e0e0e0;
    --success: #28a745;
    --warning: #ffc107;
    --error: #dc3545;
    --info: #17a2b8;
    --white: #ffffff;
    --chrome: #D3D3D3;            /* Chrome accent */

    /* Metallic Gradients */
    --gradient-chrome: linear-gradient(135deg, #E8E8E8 0%, #C0C0C0 50%, #A8A8A8 100%);
    --gradient-navy: linear-gradient(135deg, #1A1F2E 0%, #0A1628 100%);
    --gradient-hero: linear-gradient(135deg, #0A1628 0%, #1A1F2E 50%, #0D1117 100%);

    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    --font-heading: 'Helvetica Neue', Arial, sans-serif;

    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-chrome: 0 4px 12px rgba(192, 192, 192, 0.3);
    --shadow-glow: 0 0 20px rgba(192, 192, 192, 0.4);

    --radius: 8px;
    --radius-sm: 4px;
    --radius-lg: 12px;

    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

/* ====================================================================
   LAYOUT
   ==================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

main {
    min-height: calc(100vh - 200px);
}

/* ====================================================================
   NAVIGATION
   ==================================================================== */

.navbar {
    background: var(--secondary);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-brand img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(192, 192, 192, 0.3));
}

.brand-icon {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: var(--primary);
}

.nav-btn {
    background: var(--gradient-chrome);
    color: var(--secondary);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 700;
    transition: var(--transition);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-chrome);
}

.nav-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-chrome);
    color: var(--secondary);
    border: 2px solid var(--primary);
    font-weight: 700;
    text-shadow: none;
    box-shadow: var(--shadow-chrome);
}

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

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--dark);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-chrome);
}

.btn-light {
    background: var(--white);
    color: var(--secondary);
}

.btn-light:hover {
    background: var(--light);
}

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

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ====================================================================
   FLASH MESSAGES
   ==================================================================== */

.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1001;
    max-width: 400px;
}

.flash {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.3s ease;
    transition: opacity 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.flash-success {
    background: var(--success);
    color: var(--white);
}

.flash-warning {
    background: var(--warning);
    color: var(--dark);
}

.flash-error {
    background: var(--error);
    color: var(--white);
}

.flash-info {
    background: var(--info);
    color: var(--white);
}

.flash-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
}

.flash-close:hover {
    opacity: 1;
}

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

.hero {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(192, 192, 192, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-logo {
    height: 120px;
    margin: 0 auto 2rem;
    display: block;
    filter: drop-shadow(0 4px 20px rgba(192, 192, 192, 0.5));
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-title .highlight {
    background: var(--gradient-chrome);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

/* Chrome text utility class */
.chrome-text {
    background: var(--gradient-chrome);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-emoji {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-chrome);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(192, 192, 192, 0.3);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
}

/* ====================================================================
   PROBLEM SECTION
   ==================================================================== */

.bg-dark {
    background: var(--dark);
    color: var(--white);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.problem-icon {
    font-size: 3rem;
    color: var(--error);
    margin-bottom: 1rem;
}

.problem-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.problem-card p {
    color: rgba(255,255,255,0.8);
}

/* ====================================================================
   FEATURED COURSE
   ==================================================================== */

.featured-course {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--error);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 700;
}

.featured-course h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.featured-description {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary);
    text-shadow: 0 2px 8px rgba(192, 192, 192, 0.4);
}

.feature h4 {
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text-light);
    margin: 0;
}

.pricing-box {
    background: var(--light);
    padding: 2rem;
    border-radius: var(--radius);
    margin: 2rem 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.price-row:last-child {
    border-bottom: none;
}

.price-label {
    font-size: 1.125rem;
    color: var(--text);
}

.price-value {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-chrome);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-value-stack {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-light);
}

.cta-center {
    text-align: center;
    margin-top: 2rem;
}

.cta-note {
    margin-top: 1rem;
    color: var(--text-light);
}

/* ====================================================================
   WEEKS GRID
   ==================================================================== */

.bg-light {
    background: var(--light);
}

.weeks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.week-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.week-number {
    display: inline-block;
    background: var(--gradient-chrome);
    color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-chrome);
    border: 2px solid var(--primary);
}

.week-topics {
    list-style: none;
    padding: 0;
}

.week-topics li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.week-topics li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-dark);
    font-weight: 700;
}

/* ====================================================================
   CTA BOX
   ==================================================================== */

.bg-primary {
    background: var(--primary);
    color: var(--secondary);
}

.cta-box {
    text-align: center;
    padding: 3rem;
}

.cta-box h2 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* ====================================================================
   COURSE PAGES
   ==================================================================== */

.page-header {
    background: var(--gradient-navy);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(192, 192, 192, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    color: rgba(255,255,255,0.9);
    font-size: 1.125rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

.course-header {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0;
}

.course-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.course-description {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.course-meta {
    display: flex;
    gap: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.8);
}

.course-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
}

.content-box {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.content-box h2 {
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.benefits-list i {
    color: var(--success);
    font-size: 1.25rem;
}

.for-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.for-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.for-item i {
    font-size: 2rem;
    color: var(--primary-dark);
}

.for-item h4 {
    margin-bottom: 0.5rem;
}

.for-item p {
    color: var(--text-light);
    margin: 0;
}

/* ====================================================================
   PRICING CARD
   ==================================================================== */

.course-sidebar {
    position: sticky;
    top: 100px;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.pricing-card-header {
    background: var(--dark);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.pricing-card-header h3 {
    color: var(--white);
    margin: 0;
}

.pricing-card-body {
    padding: 2rem;
}

.price-option {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.price-option:hover {
    border-color: var(--primary);
}

.price-option input[type="radio"] {
    display: none;
}

.price-option input[type="radio"]:checked + label {
    border-left: 4px solid var(--primary);
}

.price-option label {
    cursor: pointer;
    display: block;
}

.price-badge {
    background: var(--error);
    color: var(--white);
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.price-note {
    font-size: 0.875rem;
    color: var(--text-light);
}

.trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.trust-badge {
    text-align: center;
    padding: 0.75rem;
    background: var(--light);
    border-radius: var(--radius);
}

.trust-badge i {
    color: var(--success);
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.trust-badge span {
    font-size: 0.875rem;
    color: var(--text);
}

.payment-info {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--text-light);
}

.guarantee-box {
    background: var(--light);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-top: 2rem;
}

.guarantee-box h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.guarantee-box p {
    color: var(--text);
    margin: 0;
}

.enrolled-status {
    text-align: center;
    padding: 2rem;
}

.enrolled-status i {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.enrolled-status h3 {
    color: var(--success);
    margin-bottom: 0.5rem;
}

/* ====================================================================
   AUTH PAGES
   ==================================================================== */

.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    background: var(--light);
}

.auth-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    max-width: 500px;
    width: 100%;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-light);
    margin: 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-help {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-checkbox input {
    width: auto;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-footer p {
    color: var(--text-light);
    margin: 0.5rem 0;
}

.auth-terms {
    text-align: center;
    margin-top: 1rem;
}

/* ====================================================================
   DASHBOARD
   ==================================================================== */

.dashboard-header {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0;
}

.dashboard-header h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.dashboard-subtitle {
    color: rgba(255,255,255,0.8);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(192, 192, 192, 0.15);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12), 0 0 20px rgba(192, 192, 192, 0.2);
    border-color: var(--primary);
}

.course-card-header img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-card-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--dark), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-card-placeholder i {
    font-size: 4rem;
    color: var(--white);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-chrome);
    color: var(--secondary);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-glow);
    text-transform: uppercase;
}

.course-card-header {
    position: relative;
}

.course-card-body {
    padding: 2rem 1.75rem 1.5rem;
}

.course-card-body h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

.course-card-body p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.course-card-meta {
    display: flex;
    gap: 1.25rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(224, 224, 224, 0.6);
}

.course-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.course-card-meta i {
    color: var(--primary);
    font-size: 1rem;
}

.course-card-pricing {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-chrome);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-original {
    font-size: 1.125rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.course-card-expiry {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.course-card-footer {
    padding: 0 1.75rem 1.75rem;
}

.course-card-footer .btn {
    font-weight: 700;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    font-size: 5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.empty-state h2 {
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.dashboard-section {
    margin-top: 4rem;
}

.profile-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}

.profile-details h3 {
    margin-bottom: 0.25rem;
}

.profile-dj-name {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.profile-email,
.profile-instagram {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
}

/* ====================================================================
   COURSE PLAYER
   ==================================================================== */

.course-player {
    display: grid;
    grid-template-columns: 350px 1fr;
    height: calc(100vh - 80px);
}

.course-sidebar-learn {
    background: var(--dark);
    color: var(--white);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

.course-sidebar-header h2 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.875rem;
}

.course-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.week-header {
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.05);
}

.week-header h3 {
    color: var(--primary);
    font-size: 1rem;
    margin: 0;
}

.lesson-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.lesson-item:hover {
    background: rgba(255,255,255,0.05);
}

.lesson-item.active {
    background: rgba(255,215,0,0.1);
    border-left-color: var(--primary);
}

.lesson-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.lesson-item.active .lesson-number {
    background: var(--primary);
    color: var(--secondary);
}

.lesson-info {
    flex: 1;
}

.lesson-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.lesson-description {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
}

.lesson-icon {
    color: var(--primary);
    font-size: 1.25rem;
}

.course-sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.access-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
}

.course-main-content {
    display: flex;
    flex-direction: column;
    background: var(--light);
}

.video-container {
    background: var(--secondary);
    flex-shrink: 0;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

.video-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.video-placeholder h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.video-placeholder p {
    color: rgba(255,255,255,0.7);
}

.lesson-content {
    padding: 2rem;
    flex: 1;
}

.lesson-content h1 {
    margin-bottom: 1rem;
}

.lesson-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.lesson-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

/* ====================================================================
   LOADING OVERLAY
   ==================================================================== */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    text-align: center;
    color: var(--white);
}

.loading-spinner i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.loading-spinner p {
    font-size: 1.125rem;
}

/* ====================================================================
   ALERTS
   ==================================================================== */

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.alert i {
    margin-right: 0.5rem;
}

/* ====================================================================
   ERROR PAGES
   ==================================================================== */

.error-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-content {
    max-width: 600px;
    padding: 3rem;
}

.error-code {
    font-size: 6rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.error-content h2 {
    margin-bottom: 1rem;
}

.error-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ====================================================================
   FOOTER
   ==================================================================== */

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--secondary);
}

.footer-email {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

.footer-bottom p {
    margin: 0.5rem 0;
}

.footer-bottom a {
    color: var(--primary);
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 8px rgba(192, 192, 192, 0.3));
}

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

@media (max-width: 968px) {
    .course-grid {
        grid-template-columns: 1fr;
    }

    .course-sidebar {
        position: static;
    }

    .course-player {
        grid-template-columns: 1fr;
        height: auto;
    }

    .course-sidebar-learn {
        height: auto;
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--secondary);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    .form-row {
        grid-template-columns: 1fr;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .weeks-grid {
        grid-template-columns: 1fr;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .btn {
        padding: 0.625rem 1.25rem;
    }

    .btn-lg {
        padding: 0.875rem 1.75rem;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-logo {
        height: 80px;
    }

    .nav-brand img {
        height: 40px;
    }

    .footer-logo {
        height: 50px;
    }

    .section {
        padding: 40px 0;
    }

    .auth-box {
        padding: 2rem 1.5rem;
    }

    .profile-card {
        flex-direction: column;
        text-align: center;
    }

    .profile-info {
        flex-direction: column;
    }

    .course-card-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}
