/**
 * Course Page Styles
 * Page-specific styles only — shared styles come from me-shared-bg.css
 */

/* ==================== GRADIENT TEXT ==================== */
.me-gradient-text {
    background: var(--me-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== HERO SECTION ==================== */

.crs-hero {
    position: relative;
    z-index: 2;
    padding: 160px 40px 70px;
    text-align: center;
}

.crs-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.crs-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(139,92,246,0.15));
    border: 1px solid rgba(59,130,246,0.3);
    border-radius: 100px;
    margin-bottom: 28px;
    animation: crs-fade-up 0.8s ease both;
}

.crs-hero-badge svg {
    flex-shrink: 0;
    color: #60a5fa;
    stroke: #60a5fa;
}

.crs-hero-badge span {
    color: #60a5fa;
    font-weight: 600;
    font-size: 0.9rem;
}

.crs-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--me-text-white);
    letter-spacing: -0.5px;
    animation: crs-fade-up 0.8s ease 0.1s both;
}

.crs-hero-subtitle {
    font-size: 1.1rem;
    color: var(--me-text-gray);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: crs-fade-up 0.8s ease 0.2s both;
}

.crs-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
    animation: crs-fade-up 0.8s ease 0.3s both;
}

.crs-hero-stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--me-border);
    border-radius: 16px;
    padding: 24px 16px;
}

.crs-hero-stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--me-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.crs-hero-stat-label {
    font-size: 0.8rem;
    color: var(--me-text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

@keyframes crs-fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==================== SCROLL REVEAL ==================== */

.crs-reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.crs-reveal.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Card-level stagger reveal */
.crs-card-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.crs-card-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== CIRCUIT DIVIDERS ==================== */

.crs-circuit-divider {
    position: relative;
    z-index: 2;
    height: 3px;
    max-width: 400px;
    margin: 50px auto;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.3), rgba(139,92,246,0.3), transparent);
    border-radius: 2px;
}

.crs-circuit-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--me-gradient);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(59,130,246,0.6);
    z-index: 1;
}

.crs-circuit-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.8), transparent);
    border-radius: 2px;
    animation: crs-circuit-sweep 3s ease-in-out infinite;
}

@keyframes crs-circuit-sweep {
    0%   { left: -10%; opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { left: 80%; opacity: 0; }
}

/* ==================== SECTION HEADERS ==================== */

.crs-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.crs-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    color: var(--me-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.crs-section-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.crs-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--me-text-white);
}

.crs-section-subtitle {
    font-size: 1rem;
    color: var(--me-text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==================== TOPICS GRID ==================== */

.crs-topics-section {
    position: relative;
    z-index: 1;
    padding: 40px 40px 20px;
}

.crs-topics-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.crs-topic-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--me-border);
    border-radius: 20px;
    padding: 32px 28px;
    transition: all 0.4s ease;
}

.crs-topic-card:hover {
    border-color: var(--topic-color);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px color-mix(in srgb, var(--topic-color) 12%, transparent);
}

.crs-topic-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--topic-color) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--topic-color) 25%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--topic-color);
}

.crs-topic-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--me-text-white);
    margin-bottom: 12px;
}

.crs-topic-desc {
    font-size: 0.875rem;
    color: var(--me-text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.crs-topic-lessons {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.crs-topic-lessons li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--me-text-dim);
    line-height: 1.5;
}

.crs-topic-lessons li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--topic-color);
    stroke: var(--topic-color);
}

/* ==================== BROWSE COURSES ==================== */

.crs-browse-section {
    position: relative;
    z-index: 1;
    padding: 20px 0 20px;
}

.crs-browse-section .crs-section-header {
    padding: 0 60px;
}

.crs-browse-controls {
    max-width: 100%;
    margin: 0 0 28px;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.crs-browse-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.crs-filter-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--me-border);
    border-radius: 10px;
    color: var(--me-text-dim);
    font-family: var(--me-font);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.crs-filter-btn:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--me-text-white);
}

.crs-filter-btn.active {
    background: var(--me-gradient);
    border-color: transparent;
    color: #fff;
}

.crs-filter-count {
    background: rgba(255, 255, 255, 0.15);
    padding: 1px 7px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
}

.crs-filter-btn:not(.active) .crs-filter-count {
    background: rgba(255, 255, 255, 0.08);
}

.crs-browse-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--me-border);
    border-radius: 10px;
    transition: border-color 0.25s ease;
}

.crs-browse-search:focus-within {
    border-color: rgba(59, 130, 246, 0.4);
}

.crs-browse-search svg {
    color: var(--me-text-dim);
    flex-shrink: 0;
}

.crs-browse-search input {
    background: none;
    border: none;
    color: var(--me-text-white);
    font-family: var(--me-font);
    font-size: 0.875rem;
    width: 180px;
    outline: none;
}

.crs-browse-search input::placeholder {
    color: var(--me-text-dim);
}

/* Scroll outer with fade edges */
.crs-browse-scroll-outer {
    position: relative;
    padding: 0 60px;
}

.crs-browse-scroll-outer::before,
.crs-browse-scroll-outer::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.crs-browse-scroll-outer::before {
    left: 0;
    background: linear-gradient(to right, var(--me-bg-dark), transparent);
}

.crs-browse-scroll-outer::after {
    right: 0;
    background: linear-gradient(to left, var(--me-bg-dark), transparent);
}

/* Horizontal scroll grid — 5 rows, columns auto-flow */
.crs-browse-grid {
    display: grid;
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
    grid-auto-columns: 320px;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 4px 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar */
.crs-browse-grid::-webkit-scrollbar { height: 6px; }

.crs-browse-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    margin: 0 10px;
}

.crs-browse-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(59,130,246,0.4), rgba(139,92,246,0.4));
    border-radius: 4px;
}

.crs-browse-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, rgba(59,130,246,0.6), rgba(139,92,246,0.6));
}

/* Firefox scrollbar */
.crs-browse-grid {
    scrollbar-width: thin;
    scrollbar-color: rgba(59,130,246,0.4) rgba(255,255,255,0.03);
}

.crs-course-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--me-border);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: row;
    min-width: 0;
}

.crs-course-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(59,130,246,0.08);
}

.crs-course-thumb {
    width: 110px;
    min-height: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(139,92,246,0.08));
    flex-shrink: 0;
}

.crs-course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.crs-course-card:hover .crs-course-thumb img {
    transform: scale(1.05);
}

.crs-course-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--me-text-dim);
}

.crs-course-difficulty {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: capitalize;
    backdrop-filter: blur(8px);
}

.crs-course-difficulty.beginner {
    background: rgba(34, 197, 94, 0.85);
    color: #fff;
}

.crs-course-difficulty.intermediate {
    background: rgba(139, 92, 246, 0.85);
    color: #fff;
}

.crs-course-difficulty.advanced {
    background: rgba(239, 68, 68, 0.85);
    color: #fff;
}

.crs-course-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    justify-content: center;
}

.crs-course-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--me-text-white);
    margin-bottom: 4px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.crs-course-desc {
    font-size: 0.75rem;
    color: var(--me-text-dim);
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.crs-course-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.crs-course-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: var(--me-text-gray);
}

.crs-course-meta-item svg {
    color: var(--me-accent);
    flex-shrink: 0;
}

.crs-course-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--me-primary);
    transition: gap 0.25s ease;
}

.crs-course-card:hover .crs-course-link {
    gap: 9px;
    color: #60a5fa;
}

.crs-browse-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--me-text-dim);
}

.crs-browse-empty svg {
    margin-bottom: 16px;
    opacity: 0.4;
}

.crs-browse-empty p {
    font-size: 0.95rem;
}

/* ==================== FEATURES GRID ==================== */

.crs-features-section {
    position: relative;
    z-index: 1;
    padding: 20px 40px 20px;
}

.crs-features-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.crs-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--me-border);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.crs-feature-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.crs-feature-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--me-accent);
}

.crs-feature-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--me-text-white);
    margin-bottom: 6px;
}

.crs-feature-desc {
    font-size: 0.75rem;
    color: var(--me-text-dim);
    line-height: 1.5;
}

/* ==================== HOW IT WORKS ==================== */

.crs-how-section {
    position: relative;
    z-index: 1;
    padding: 20px 40px 20px;
}

.crs-steps {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.crs-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    max-width: 240px;
}

.crs-step-num {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--me-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.crs-step h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--me-text-white);
    margin-bottom: 8px;
}

.crs-step p {
    font-size: 0.8rem;
    color: var(--me-text-dim);
    line-height: 1.6;
}

.crs-step-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, rgba(59,130,246,0.3), rgba(139,92,246,0.3));
    margin-top: 24px;
    flex-shrink: 0;
    border-radius: 1px;
}

/* ==================== CTA SECTION ==================== */

.crs-cta-section {
    position: relative;
    z-index: 2;
    padding: 40px 40px 120px;
}

.crs-cta-card {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px;
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(59,130,246,0.05));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    text-align: center;
    overflow: hidden;
}

.crs-cta-card:hover {
    border-color: rgba(59, 130, 246, 0.35);
}

.crs-cta-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34,197,94,0.15) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.crs-cta-content { position: relative; z-index: 1; }

.crs-cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.crs-cta-text {
    font-size: 1rem;
    color: var(--me-text-gray);
    max-width: 550px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.crs-cta-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.crs-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(139,92,246,0.15));
    border: 1px solid rgba(59,130,246,0.35);
    color: #e2e8f0;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.crs-cta-btn:hover {
    background: var(--me-gradient);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.crs-cta-btn-outline {
    background: transparent;
    border: 1px solid var(--me-border);
    color: var(--me-text-gray);
}

.crs-cta-btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: none;
    transform: translateY(-2px);
}

/* ==================== RESPONSIVE — 1024px ==================== */

@media (max-width: 1024px) {
    .crs-topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .crs-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==================== RESPONSIVE — 768px ==================== */

@media (max-width: 768px) {
    /* Fix navbar mobile sizes */
    .me-brand-text .me-name {
        font-size: 1.3rem !important;
    }

    .me-brand-text .me-trading {
        font-size: 0.9rem !important;
        letter-spacing: 0.15em !important;
    }

    .crs-hero {
        padding: 110px 20px 50px;
    }

    .crs-hero-title {
        font-size: 1.8rem;
    }

    .crs-hero-subtitle {
        font-size: 1rem;
    }

    .crs-hero-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .crs-topics-section {
        padding: 30px 20px 20px;
    }

    .crs-topics-grid {
        grid-template-columns: 1fr;
    }

    .crs-section-title {
        font-size: 1.5rem;
    }

    .crs-browse-section {
        padding: 20px 0;
    }

    .crs-browse-section .crs-section-header {
        padding: 0 20px;
    }

    .crs-browse-controls {
        padding: 0 20px;
        flex-direction: column;
        align-items: stretch;
    }

    .crs-browse-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .crs-filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .crs-browse-search {
        width: 100%;
    }

    .crs-browse-search input {
        width: 100%;
    }

    .crs-browse-scroll-outer {
        padding: 0 20px;
    }

    .crs-browse-scroll-outer::before,
    .crs-browse-scroll-outer::after {
        width: 30px;
    }

    .crs-browse-grid {
        grid-auto-columns: 280px;
        grid-template-rows: repeat(5, auto);
        gap: 12px;
    }

    .crs-course-thumb {
        width: 90px;
    }

    .crs-course-body {
        padding: 12px 14px;
    }

    .crs-features-section {
        padding: 20px 20px;
    }

    .crs-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .crs-how-section {
        padding: 20px 20px 20px;
    }

    .crs-steps {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .crs-step {
        max-width: 300px;
    }

    .crs-step-line {
        width: 2px;
        height: 30px;
        margin: 12px auto;
        background: linear-gradient(180deg, rgba(59,130,246,0.3), rgba(139,92,246,0.3));
    }

    .crs-cta-section {
        padding: 20px 20px 80px;
    }

    .crs-cta-card {
        padding: 40px 24px;
    }

    .crs-cta-title {
        font-size: 1.5rem;
    }

    .crs-circuit-divider {
        max-width: 300px;
    }
}

/* ==================== RESPONSIVE — 480px ==================== */

@media (max-width: 480px) {
    .crs-hero {
        padding: 95px 16px 40px;
    }

    .crs-hero-title {
        font-size: 1.5rem;
    }

    .crs-hero-badge {
        font-size: 0.75rem;
        padding: 8px 16px;
    }

    .crs-topics-section {
        padding: 20px 16px 15px;
    }

    .crs-topic-card {
        padding: 24px 20px;
    }

    .crs-browse-section {
        padding: 15px 0;
    }

    .crs-browse-section .crs-section-header {
        padding: 0 16px;
    }

    .crs-browse-controls {
        padding: 0 16px;
    }

    .crs-browse-scroll-outer {
        padding: 0 16px;
    }

    .crs-browse-scroll-outer::before,
    .crs-browse-scroll-outer::after {
        width: 20px;
    }

    .crs-browse-grid {
        grid-auto-columns: 260px;
        grid-template-rows: repeat(4, auto);
        gap: 10px;
    }

    .crs-course-thumb {
        width: 80px;
    }

    .crs-filter-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .crs-features-section {
        padding: 15px 16px;
    }

    .crs-feature-card {
        padding: 20px 16px;
    }

    .crs-how-section {
        padding: 15px 16px 15px;
    }

    .crs-cta-section {
        padding: 10px 16px 60px;
    }

    .crs-cta-card {
        padding: 32px 20px;
    }

    .crs-cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .crs-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==================== PERF-LITE ==================== */

.perf-lite .crs-reveal,
.perf-lite .crs-card-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.perf-lite .crs-hero-badge,
.perf-lite .crs-hero-title,
.perf-lite .crs-hero-subtitle,
.perf-lite .crs-hero-stats {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

.perf-lite .crs-circuit-divider::after {
    animation: none !important;
    display: none;
}

/* ==================== PRINT ==================== */

@media print {
    body {
        background: #fff !important;
        color: #000 !important;
    }

    .me-bg-grid, .me-bg-glow, .me-bg-glow-1, .me-bg-glow-2, .me-bg-glow-3,
    .me-floating-orb, .me-orb-1, .me-orb-2, .me-orb-3, .me-orb-4, .me-orb-5,
    .me-glow-lines, .me-cursor-glow, .ind-market-canvas,
    #me-glitch-numbers, #me-smoke-canvas,
    .me-navbar, .me-mobile-menu, .me-footer,
    .crs-circuit-divider, .crs-cta-section, .crs-cta-glow {
        display: none !important;
    }

    .crs-hero,
    .crs-topics-section,
    .crs-browse-section,
    .crs-features-section,
    .crs-how-section {
        padding: 20px 0 !important;
    }

    .crs-topic-card,
    .crs-course-card,
    .crs-feature-card,
    .crs-hero-stat {
        background: transparent !important;
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }

    .crs-topic-card:hover,
    .crs-course-card:hover,
    .crs-feature-card:hover {
        transform: none !important;
    }

    .crs-hero-title,
    .crs-section-title,
    .crs-topic-name,
    .crs-course-title,
    .crs-feature-title,
    .crs-step h4 {
        color: #000 !important;
        -webkit-text-fill-color: #000 !important;
        background: none !important;
    }

    .crs-hero-stat-number {
        -webkit-text-fill-color: #333 !important;
        background: none !important;
    }

    .crs-hero-subtitle,
    .crs-section-subtitle,
    .crs-topic-desc,
    .crs-course-desc,
    .crs-feature-desc,
    .crs-step p,
    .crs-hero-stat-label {
        color: #555 !important;
    }

    .crs-browse-grid {
        display: block !important;
        overflow: visible !important;
    }

    .crs-course-card {
        display: block !important;
        margin-bottom: 8px;
    }

    .crs-browse-scroll-outer::before,
    .crs-browse-scroll-outer::after {
        display: none !important;
    }

    .crs-reveal,
    .crs-card-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
