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

:root {
    --primary: #000;
    --secondary: #fff;
    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;
    --accent: #0066ff;
    --yellow: #f7fe78;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --radius: 6px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    font-family: var(--font-sans);
    line-height: 1.5;
    color: var(--gray-900);
    background: var(--secondary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Footer - HIDDEN on all sub-pages */
.footer {
    display: none !important;
}

/* Legal Footer */
.legal-footer {
    background: white;
    border-top: 1px solid var(--gray-200);
    margin-top: auto;
}

.legal-footer a:hover {
    color: var(--primary) !important;
}

/* Content Block Styles */
.content-block {
    transition: all 0.2s ease;
    cursor: move;
}

.content-block:hover {
    transform: translateY(-1px);
}

.content-block .form-input {
    resize: vertical;
    min-height: 60px;
}

.content-block .form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Block Type Buttons */
.btn-block-type {
    min-height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    background: white;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-block-type:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
}

.btn-block-type:active {
    transform: translateY(0);
}

/* Rich Text Editor Styles */
.rich-text-editor {
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    background: white;
}

.rich-text-editor .ql-toolbar {
    border-top: 1px solid var(--gray-300);
    border-left: 1px solid var(--gray-300);
    border-right: 1px solid var(--gray-300);
    border-bottom: none;
    border-radius: var(--radius) var(--radius) 0 0;
}

.rich-text-editor .ql-container {
    border-bottom: 1px solid var(--gray-300);
    border-left: 1px solid var(--gray-300);
    border-right: 1px solid var(--gray-300);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    font-size: 1rem;
    min-height: 300px;
}

.rich-text-editor .ql-editor {
    padding: 1rem;
    min-height: 300px;
}

/* Content Block Integration */
.content-block-insert {
    position: relative;
    margin: 1rem 0;
    padding: 0.75rem;
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    background: var(--gray-50);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.content-block-insert:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.content-block-insert .insert-text {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.content-block-insert .insert-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.content-block-insert .btn-insert {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--gray-300);
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.content-block-insert .btn-insert:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

/* Media Upload Styles */
.media-upload {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    background: var(--gray-50);
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 1rem 0;
}

.media-upload:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.media-upload.dragover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.media-upload input[type="file"] {
    display: none;
}

.media-upload .upload-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--gray-500);
}

.media-upload .upload-text {
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.media-upload .upload-hint {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Remove padding since footer is hidden */
body {
    padding-bottom: 0 !important;
}

.page-section {
    flex: 1;
}

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

.container-sm {
    max-width: 640px;
    margin: 0 auto;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

h4 {
    font-size: 1rem;
    font-weight: 600;
}

/* Live Banner */
.live-banner {
    background: var(--gray-900);
    color: white;
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.live-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.divider {
    color: var(--gray-500);
}

/* Header */
.header {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.logo p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(to bottom, var(--gray-50), var(--secondary));
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    display: block;
}

.hero-stats .stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 0.5rem;
}

.cta-section {
    margin-top: 3rem;
}

.cta-input {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 1rem;
}

.cta-input input {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 1rem;
}

.cta-input input:focus {
    outline: none;
    border-color: var(--gray-900);
}

.cta-note {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: white;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
}

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

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Auth Section */
.auth-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.auth-container {
    max-width: 400px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.auth-tabs {
    display: flex;
    gap: 0.25rem;
    background: var(--gray-100);
    padding: 0.25rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.auth-form {
    display: block;
}

.auth-form.hidden {
    display: none;
}

.test-user-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.test-note {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 0.5rem;
}

.auth-error {
    background: #fee2e2;
    color: #b91c1c;
    padding: 0.75rem;
    border-radius: var(--radius);
    margin-top: 1rem;
    font-size: 0.875rem;
}

/* Live Banner */
.live-banner {
    background: var(--gray-900);
    color: white;
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.live-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.divider {
    color: var(--gray-500);
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(to bottom, var(--gray-50), var(--secondary));
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    color: #92400e;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, #0066ff 0%, #000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 {
    margin-bottom: 1rem;
}

.hero h2 {
    color: var(--gray-600);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin: 1.5rem auto 3rem;
    max-width: 700px;
}

/* Auth Card */
.auth-card {
    max-width: 400px;
    margin: 0 auto;
    background: var(--secondary);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.tabs {
    display: flex;
    gap: 0.25rem;
    background: var(--gray-100);
    padding: 0.25rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.tab {
    flex: 1;
    padding: 0.5rem;
    background: transparent;
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.15s ease;
    color: var(--gray-600);
}

.tab.active {
    background: var(--secondary);
    box-shadow: var(--shadow-sm);
    color: var(--gray-900);
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Sections */
.section-light {
    background: var(--gray-50);
    padding: 5rem 0;
}

.section-white {
    background: white;
    padding: 5rem 0;
}

.section-gradient {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    padding: 5rem 0;
}

.section-cta {
    background: var(--gray-50);
    padding: 5rem 0;
    border-top: 1px solid var(--gray-200);
}

/* Grid */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Target Cards */
.target-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.2s;
}

.target-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.target-card h3 {
    margin-bottom: 0.75rem;
}

.target-card p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Course Showcase */
.course-showcase {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.course-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.2s;
}

.course-item:hover {
    background: var(--gray-50);
}

.course-item:last-child {
    border-bottom: none;
}

.course-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-400);
    min-width: 2rem;
}

.course-item > div {
    flex: 1;
}

.course-lessons {
    font-size: 0.875rem;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.more-courses {
    background: var(--gray-50);
}

.course-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    min-width: 2rem;
}

.course-arrow {
    font-size: 1.5rem;
    color: var(--accent);
}

/* Benefits */
.benefit-card {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: var(--radius-lg);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.benefit-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--gray-900);
}

.testimonial-author span {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* FAQ */
.faq-item {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.faq-item h4 {
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.faq-item p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* CTA Form */
.cta-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.cta-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    margin-bottom: 0.75rem;
}

.footer-links h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: var(--gray-300);
    text-decoration: none;
    padding: 0.25rem 0;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-800);
    text-align: center;
    color: var(--gray-400);
    font-size: 0.875rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 6px -1px rgb(0 0 0 / 0.1);
    padding: 1.5rem;
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Test User Section */
.test-user-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.test-note {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 0.5rem;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    color: #92400e;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, #0066ff 0%, #000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 {
    margin-bottom: 1rem;
}

.hero h2 {
    color: var(--gray-600);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin: 1.5rem auto 3rem;
    max-width: 700px;
}

/* Auth Card */
.auth-card {
    max-width: 400px;
    margin: 0 auto;
    background: var(--secondary);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.tabs {
    display: flex;
    gap: 0.25rem;
    background: var(--gray-100);
    padding: 0.25rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.tab {
    flex: 1;
    padding: 0.5rem;
    background: transparent;
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.15s ease;
    color: var(--gray-600);
}

.tab.active {
    background: var(--secondary);
    box-shadow: var(--shadow-sm);
    color: var(--gray-900);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--gray-700);
}

input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.875rem;
    transition: all 0.15s ease;
    background: var(--secondary);
    font-family: inherit;
}

input:focus {
    outline: none;
    border-color: var(--gray-900);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1;
    transition: all 0.15s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gray-900);
    color: var(--secondary);
}

.btn-primary:hover {
    background: var(--gray-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--gray-900);
    border: 1px solid var(--gray-200);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

.btn-block {
    width: 100%;
}

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

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Sections */
.section-light {
    background: var(--gray-50);
    padding: 5rem 0;
}

.section-white {
    background: white;
    padding: 5rem 0;
}

.section-gradient {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    padding: 5rem 0;
}

.section-cta {
    background: var(--gray-50);
    padding: 5rem 0;
    border-top: 1px solid var(--gray-200);
}

/* Grid */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Target Cards */
.target-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.2s;
}

.target-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.target-card h3 {
    margin-bottom: 0.75rem;
}

.target-card p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Course Showcase */
.course-showcase {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.course-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.2s;
}

.course-item:hover {
    background: var(--gray-50);
}

.course-item:last-child {
    border-bottom: none;
}

.course-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-400);
    min-width: 2rem;
}

.course-item > div {
    flex: 1;
}

.course-lessons {
    font-size: 0.875rem;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.more-courses {
    background: var(--gray-50);
}

.course-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    min-width: 2rem;
}

.course-arrow {
    font-size: 1.5rem;
    color: var(--accent);
}

/* Benefits */
.benefit-card {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: var(--radius-lg);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.benefit-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--gray-900);
}

.testimonial-author span {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* FAQ */
.faq-item {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.faq-item h4 {
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.faq-item p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* CTA Form */
.cta-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.cta-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    margin-bottom: 0.75rem;
}

.footer-links h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: var(--gray-300);
    text-decoration: none;
    padding: 0.25rem 0;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-800);
    text-align: center;
    color: var(--gray-400);
    font-size: 0.875rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 6px -1px rgb(0 0 0 / 0.1);
    padding: 1.5rem;
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--gray-500); }
.text-small { font-size: 0.875rem; }
.text-lg { font-size: 1.25rem; color: var(--gray-600); }
.mt-1 { margin-top: 0.25rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

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

.alert-danger {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

.hidden {
    display: none !important;
}

/* Mobile */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .cta-input {
        flex-direction: column;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-container {
        margin: 0 1rem;
    }
    
    .live-stats {
        font-size: 0.75rem;
        flex-wrap: wrap;
    }
    
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-form {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .target-card {
        padding: 1.5rem 1rem;
    }
}

/* Dashboard specific styles */
.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.dashboard-header {
    background: var(--gray-900);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
}

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

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.dashboard-main {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dashboard-sidebar {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--gray-900);
    padding-bottom: 0.5rem;
}

.course-list {
    list-style: none;
}

.course-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--gray-900);
}

.course-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.course-progress {
    background: #e9ecef;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar {
    background: var(--gray-900);
    height: 100%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.8rem;
    color: #666;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.action-button {
    background: var(--gray-900);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: block;
}

.action-button:hover {
    background: var(--gray-800);
}

/* My Courses specific styles */
.courses-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.courses-header {
    background: var(--gray-900);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
}

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

.course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-image {
    width: 100%;
    height: 200px;
    background: var(--gray-900);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.course-content {
    padding: 1.5rem;
}

.course-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.course-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.course-duration {
    color: var(--gray-900);
    font-weight: 500;
}

.course-level {
    background: #e9ecef;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #666;
}

.course-progress {
    background: #e9ecef;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar {
    background: var(--gray-900);
    height: 100%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
}

.course-actions {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: var(--gray-900);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    flex: 1;
}

.btn-primary:hover {
    background: var(--gray-800);
}

.btn-secondary {
    background: #e9ecef;
    color: #666;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    flex: 1;
}

.btn-secondary:hover {
    background: #dee2e6;
}

/* My Profile specific styles */
.profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.profile-header {
    background: var(--gray-900);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
}

.profile-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-section {
    margin-bottom: 2rem;
}

.profile-section h3 {
    color: #333;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--gray-900);
    padding-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-save {
    background: var(--gray-900);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.btn-save:hover {
    background: var(--gray-800);
}

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

.achievement-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.achievement-card.unlocked {
    border-color: var(--gray-900);
    background: var(--gray-50);
}

.achievement-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.achievement-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.achievement-description {
    font-size: 0.9rem;
    color: #666;
}

/* Admin Course Editor specific styles */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.admin-header {
    background: var(--gray-900);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
}

.admin-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.admin-tabs {
    display: flex;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 2rem;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-button.active {
    color: var(--gray-900);
    border-bottom-color: var(--gray-900);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.course-form {
    display: grid;
    gap: 1.5rem;
}

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

.form-group-full {
    grid-column: 1 / -1;
}

.lesson-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 2px solid #e9ecef;
}

.lesson-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.lesson-title {
    font-weight: bold;
    color: #333;
}

.lesson-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
}

.lesson-content {
    display: grid;
    gap: 1rem;
}

.lesson-content textarea {
    min-height: 120px;
}

.lesson-content input[type="file"] {
    padding: 0.5rem;
}

.btn-add-lesson {
    background: var(--gray-900);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1rem;
}

.btn-add-lesson:hover {
    background: var(--gray-800);
}

.courses-list {
    list-style: none;
}

.course-list-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--gray-900);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-info h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.course-info p {
    color: #666;
    font-size: 0.9rem;
}

.course-actions {
    display: flex;
    gap: 0.5rem;
}

/* Responsive design for all pages */
@media (max-width: 768px) {
    .dashboard-content {
        grid-template-columns: 1fr;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .admin-tabs {
        flex-direction: column;
    }
    
    .tab-button {
        text-align: left;
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    
    .tab-button.active {
        border-left-color: var(--gray-900);
        border-bottom-color: transparent;
    }
    
    .course-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .course-actions {
        width: 100%;
        justify-content: stretch;
    }
    
    .course-actions .btn-primary,
    .course-actions .btn-secondary {
        flex: 1;
    }
}

/* Daily Tasks */
.daily-tasks {
    margin-top: 1rem;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: background 0.3s ease;
}

.task-item:hover {
    background: #e9ecef;
}

.task-item input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.task-text {
    flex: 1;
    font-size: 0.9rem;
    color: #333;
    transition: all 0.3s ease;
}

/* Activity List */
.activity-list {
    list-style: none;
}

.activity-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--gray-900);
}

.activity-action {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.25rem;
}

.activity-course {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.activity-time {
    color: #999;
    font-size: 0.8rem;
}

/* Navigation Styles */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 64px;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gray-900);
    border-bottom: 2px solid var(--gray-900);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s;
}

.user-menu:hover {
    background: var(--gray-200);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--gray-900);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.admin-badge {
    background: var(--danger);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}


/* Dashboard Styles */
.dashboard-header {
    background: var(--gray-900);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    width: 100%;
}

.welcome-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 2rem;
}

.welcome-section > div:first-child {
    flex: 1;
}

.welcome-section > div:last-child {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.level-progress-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.level-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.level-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.level-badge {
    font-size: 2rem;
}

.progress-bar-container {
    background: rgba(255, 255, 255, 0.2);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    background: var(--accent);
    height: 100%;
    transition: width 0.3s ease;
}

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

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid var(--gray-200);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.section-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Toast Styles */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--success);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Form Styles */
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.875rem;
    transition: all 0.15s ease;
    background: var(--secondary);
    font-family: inherit;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--gray-900);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

/* Button Variants */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

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

.btn-danger:hover {
    background: #dc2626;
}

/* Profile Styles */
.profile-header-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.profile-avatar-large {
    width: 80px;
    height: 80px;
    background: var(--gray-900);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.5rem;
    position: relative;
}

.avatar-edit-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--accent);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border: 1px solid var(--gray-200);
}

/* Course Styles */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid var(--gray-200);
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-5px);
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.course-header {
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
}

.course-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.course-info {
    flex: 1;
    min-width: 0; /* Allows text to wrap */
}

.course-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.course-meta {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.course-progress-section {
    padding: 0 1.5rem 1rem;
    margin-top: auto;
}

.course-progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.course-progress-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.course-progress-fill {
    height: 100%;
    background: var(--accent);
    transition: width 0.3s ease;
}

.course-actions {
    padding: 0 1.5rem 1.5rem;
}

/* Lesson Styles */
.layout-split {
    display: flex;
    min-height: calc(100vh - 64px);
    flex: 1;
}

.sidebar {
    width: 350px;
    background: white;
    border-right: 1px solid var(--gray-200);
    overflow-y: auto;
    max-height: calc(100vh - 64px - 80px);
}

.sidebar-header {
    padding: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.module-list {
    padding: 1rem;
}

.module {
    margin-bottom: 1rem;
}

.module-header {
    font-weight: 600;
    color: var(--gray-900);
    padding: 0.75rem;
    background: var(--gray-100);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
}

.lesson-list {
    padding-left: 1rem;
}

.lesson {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s;
}

.lesson:hover {
    background: var(--gray-100);
}

.lesson-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lesson-checkbox.checked {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.lesson-checkbox.checked::after {
    content: '✓';
    font-size: 0.75rem;
}

.main-content {
    flex: 1;
    overflow-y: auto;
    max-height: calc(100vh - 64px - 80px);
}

.lesson-content {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.content-block {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 20px;
    }
    
    .nav-left {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .nav-right {
        width: 100%;
        justify-content: center;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .welcome-section {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .welcome-section > div:last-child {
        justify-content: center;
    }
    
    .layout-split {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .course-card {
        min-height: auto;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .grid-cols-4,
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }
    
    .profile-header-card {
        flex-direction: column;
        text-align: center;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-white,
    .section-light {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .course-header {
        padding: 1rem;
    }
    
    .course-title {
        font-size: 0.9rem;
    }
    
    .dashboard-header {
        padding: 1.5rem;
    }
    
    .welcome-section {
        margin-bottom: 1.5rem;
    }
}

/* Small Footer - COMPLETELY REMOVED */
