/**
 * Theme: Multiverse  
 * Original Design: HTML5 UP (html5up.net | @ajlkn)
 * Adapted for Zen Garden by: The Multiverse School
 * License: CCA 3.0 (html5up.net/license)
 * Description: Exact recreation of the original Multiverse homepage
 * Version: 3.0.0 (Pixel-perfect adaptation)
 * Tags: multiverse, gallery, responsive, adaptive, original
 */

@import url(/static/css/fontawesome-all.min.css);
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300italic,400,400italic");

:root {
    /* Original theme - dark mode with cyan/magenta accents */
    --color-primary: #18bfef;
    --color-secondary: #d63384;
    --color-accent: #00ffff;
    --color-bg: #0a1119;
    --color-bg-alt: #1a2a3a;
    --color-bg-card: rgba(255, 255, 255, 0.05);
    --color-text: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.7);
    --color-text-inverse: #0a1119;
    --color-border: rgba(255, 255, 255, 0.1);
    
    /* Dashboard-specific variables - CRITICAL for contrast */
    --text-color: #ffffff;
    --border-color: rgba(255, 255, 255, 0.2);
    --text-muted: rgba(255, 255, 255, 0.7);
    --accent-color: #18bfef;
    --bg-color: #0a1119;
    --card-bg: rgba(255, 255, 255, 0.05);
    
    /* Theme picker */
    --theme-toggle-bg: #0a1119;
    --theme-toggle-color: #18bfef;
    --theme-menu-bg: #0a1119;
    --theme-menu-border: #18bfef;
    --theme-menu-title: #ffffff;
    --theme-option-bg: #1a2a3a;
    --theme-option-border: rgba(255, 255, 255, 0.2);
    --theme-option-text: #ffffff;
    --theme-option-hover: #18bfef;
    --theme-option-active: #18bfef;
    --theme-option-active-bg: rgba(24, 191, 239, 0.2);
    
    /* Form inputs - light text on dark backgrounds */
    --input-text: #ffffff;
    --input-bg: #1a2a3a;
    --input-border: rgba(255, 255, 255, 0.3);
    --input-placeholder: rgba(255, 255, 255, 0.5);
    
    /* Card text - ensure readability on dark cards */
    --card-text: #ffffff;
    --card-text-muted: rgba(255, 255, 255, 0.7);

    /* Dashboard variables - dark mode overrides */
    --bg-secondary: rgba(255, 255, 255, 0.08);
    --color-on-card: #ffffff;
    --color-on-primary: #ffffff;
    --color-on-success: #ffffff;
    --color-on-error: #ffffff;
    --color-on-info: #ffffff;
    --color-success: #28a745;
    --color-success-hover: #218838;
}

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

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

body {
    background-color: #0a1119;
    color: #ffffff;
    font-family: "Source Sans Pro", Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
    border-bottom: dotted 1px rgba(255, 255, 255, 0.35);
    transition: border-bottom-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

a:hover {
    border-bottom-color: transparent;
    color: #18bfef !important;
}

.page-container {
    width: 100%;
}

/* ==========================================
   HEADER - Minimized bottom bar
   Brand + tagline stacked on the left, Login/Impact on the right.
   ========================================== */
.site-header {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 11;
    width: 100%;
    box-sizing: border-box;
    padding: 0.55em 1.5em;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "brand nav"
        "tagline nav";
    align-items: center;
    column-gap: 1rem;
    row-gap: 0.05rem;
}

.site-title {
    grid-area: brand;
    justify-self: start; /* shrink to content so it doesn't cover the centered footer */
    font-size: 0.9em;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.site-title:hover {
    opacity: 1;
}

.site-title a {
    border: none;
}

/* Tagline now shown, tucked directly under the brand */
.site-tagline {
    grid-area: tagline;
    justify-self: start; /* shrink to content so it doesn't cover the centered footer */
    display: block;
    margin: 0;
    font-size: 0.7em;
    line-height: 1.2;
    opacity: 0.55;
    letter-spacing: normal;
    text-transform: none;
}

.social-links {
    display: none;
}

.site-nav {
    grid-area: nav;
    display: flex;
}

/* ==========================================
   MAIN GALLERY - Full viewport 
   ========================================== */
.site-main {
    /* Fluid gallery: columns are added/removed continuously as the window
       resizes (no coarse percentage breakpoints). */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
    padding: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 100vh;
}

/* Hide section titles (redundant in the gallery layout) */
.section-title {
    display: none;
}

/* Keep the SEO/AI-answer-first intro crawlable and visible, but as a
   quiet full-width strip above the gallery instead of breaking the grid */
.about-intro {
    grid-column: 1 / -1;
    max-width: none !important;
    width: 100%;
    margin: 0 !important;
    padding: 1.25em 2em 0.75em;
    box-sizing: border-box;
}

/* Flatten all wrappers */
.featured-events,
.classes,
.classes-section,
.resources,
.resources-section,
.event-list,
.class-grid,
.resource-grid {
    display: contents;
}

/* ==========================================
   GALLERY CARDS 
   ========================================== */
.event-card,
.class-card,
.resource-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.325s ease-in-out;
    /* width is handled by the grid; height stays image-friendly */
    height: calc(40vh - 2em);
    min-height: 20em;
}

/* Gradient overlay */
.event-card::after,
.class-card::after,
.resource-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 17, 25, 0.35) 5%, rgba(10, 17, 25, 0) 35%);
    pointer-events: none;
    z-index: 1;
}

/* Links - cover entire card */
.event-link,
.class-link,
.resource-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 3;
}

/* Images - fill card completely */
.event-image,
.class-image,
.resource-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.event-image img,
.class-image img,
.resource-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ==========================================
   CONTENT OVERLAY - Key styling
   ========================================== */
.event-content,
.class-content,
.resource-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3em 2em 2em 2em;
    background: linear-gradient(to top, rgba(10, 17, 25, 0.85), transparent);
    z-index: 2;
    pointer-events: none; /* Let clicks pass through to link */
}

/* Titles - overlaid on image with cyan background */
.event-title,
.class-title,
.resource-title {
    font-weight: 600;
    font-size: 1.1em;
    line-height: 1.3;
    margin: 0;
    color: #000;
    background-color: #00ffff; /* Cyan background */
    padding: 0.3em 0.5em;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Meta (dates) - magenta background */
.event-meta {
    display: inline-block;
    background-color: #ff00ff; /* Magenta */
    color: #000;
    font-size: 0.85em;
    padding: 0.3em 0.6em;
    margin-bottom: 0.5em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.class-meta {
    display: inline-block;
    background-color: #ff00ff; /* Magenta */
    color: #000;
    font-size: 0.85em;
    padding: 0.3em 0.6em;
    margin-bottom: 0.5em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.event-meta time,
.class-meta time {
    color: #000; /* Black text on magenta background */
}

/* Description text */
.class-description {
    font-size: 0.85em;
    margin-top: 0.5em;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* Show description on hover */
.event-card:hover .class-description,
.class-card:hover .class-description,
.resource-card:hover .class-description {
    opacity: 1;
}

/* Resource badges */
.resource-badge {
    display: inline-block;
    background-color: #ff00ff; /* Magenta */
    color: #000;
    padding: 0.3em 0.75em;
    font-size: 0.85em;
    font-weight: 700;
    margin-top: 0.5em;
    text-transform: uppercase;
}

/* Accent styling */
.accent {
    background-color: #ff00ff; /* Magenta */
    color: #000;
    padding: 0.1em 0.3em;
}

/* Footer — nav links + credits. Readable & clickable (was a dead, faint
   pointer-events:none overlay). The duplicate "The Multiverse School — …" line
   (.footer-text) is hidden — the tagline lives under the brand in the header now.
   Mobile/base: in-flow at the end of the page, cleared above the fixed brand bar.
   Wide screens (media query below): a fixed band that, with the transparent
   header overlaid, reads as ONE bottom bar —
   brand+tagline (left) · nav+credits (center) · Login/Impact (right). */
.site-footer {
    position: static;
    padding: 1.1em 1em 6.5rem; /* bottom clearance so links clear the fixed brand bar */
    text-align: center;
    opacity: 1;
    font-size: 0.82em;
    pointer-events: auto;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    margin-bottom: 0.5rem !important;
}

.footer-nav a,
.footer-credits a {
    pointer-events: auto;
}

/* Credits (Handbook · Terms) styled to match the nav links */
.footer-credits a {
    color: #18bfef;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

/* Duplicate brand line — the tagline under the header brand replaces it */
.footer-text {
    display: none;
}

/* "Theme: <name> | Contribute a Theme" removed from this theme's credits */
.footer-theme-credit {
    display: none;
}

.footer-credits {
    margin: 0.25em 0;
}

/* Tighter spacing on mobile — beats the generic ".footer-nav { gap: 2rem }"
   defined elsewhere in this file. Desktop overrides this in the media query. */
.site-footer .footer-nav {
    gap: 0.3rem 0.9rem;
    margin-bottom: 0.35rem !important;
}

@media screen and (min-width: 981px) {
    /* One unified bottom bar: the footer band supplies the background; the
       transparent header overlays brand+tagline (left) and Login/Impact (right). */
    .site-footer {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10;
        min-height: 3.6rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.1rem;
        /* reserve a centered channel clear of the brand (left) and Login/Impact
           (right); nav wraps within it on narrower desktops rather than
           overlapping them */
        padding: 0.35em 17rem;
        font-size: 0.72em;
        background: rgba(12, 14, 22, 0.92);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        pointer-events: none;
    }

    .site-footer .footer-nav {
        margin: 0 !important;
        gap: 0.9rem;
    }

    .site-footer .footer-credits {
        margin: 0;
    }

    .site-footer a {
        pointer-events: auto;
    }

    /* Header becomes a transparent overlay on the same band (clicks pass through
       its empty middle to the footer links beneath). */
    .site-header {
        min-height: 3.6rem;
        padding: 0.3em 1.75em;
        background: transparent;
        pointer-events: none;
    }

    .site-header .site-title,
    .site-header .site-nav {
        pointer-events: auto;
    }

    /* Keep the gallery clear of the fixed bar */
    .site-main {
        padding-bottom: 5rem;
    }
}

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

/* Column counts are now fully fluid via the auto-fill grid on .site-main;
   the media queries below only adjust card height/padding at smaller sizes. */

/* Small tablet: shorter cards */
@media screen and (max-width: 736px) {
    .event-card,
    .class-card,
    .resource-card {
        height: calc(28.57143vh - 1.33333em);
        min-height: 18em;
    }

    .event-content,
    .class-content,
    .resource-content {
        padding: 2em 1.5em 1.5em 1.5em;
    }
}

/* Mobile: taller cards for single-column reading */
@media screen and (max-width: 480px) {
    .event-card,
    .class-card,
    .resource-card {
        height: calc(40vh - 2em);
        min-height: 18em;
    }

    .event-content,
    .class-content,
    .resource-content {
        padding: 2em 1.5em 1.5em 1.5em;
    }

    .site-header {
        padding: 1.5em;
    }
}

/* ==========================================
   ACCESSIBILITY 
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for keyboard nav */
.event-link:focus,
.class-link:focus,
.resource-link:focus {
    outline: 3px solid #00ffff;
    outline-offset: -3px;
}

/* ==========================================
   INTERNAL PAGES (Class/Course/Intensive)
   ========================================== */

/* Reset header for internal pages - not fixed at bottom */
.page-container:has(.top-section) .site-header,
.page-container:has(.top-section) .site-header,
.page-container:has(.features-section) .site-header {
    position: relative;
    bottom: auto;
    left: auto;
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #0a1119 0%, #1a2a3a 50%, #0a1119 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Show header elements on internal pages */
.page-container:has(.top-section) .site-tagline,
.page-container:has(.top-section) .site-tagline {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-top: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-container:has(.top-section) .site-title,
.page-container:has(.top-section) .site-title {
    font-size: 2.5rem;
    opacity: 1;
    letter-spacing: 0.05em;
}

/* Site logo link */
.site-logo {
    display: block;
    color: #18bfef;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border: none;
}

/* Class meta badge */
.class-meta {
    margin-bottom: 1rem;
    background: none; /* Remove background from container */
}

.class-badge {
    display: inline-block;
    background: rgba(24, 191, 239, 0.2); /* Subtle cyan tint */
    border: 2px solid #18bfef;
    color: #18bfef;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Class title styling - match gallery card titles */
.page-container:has(.top-section) .class-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #ffffff;
    margin: 0.5rem 0;
    line-height: 1.3;
}

.class-description {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Hero stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #18bfef;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Hero CTA buttons */
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #18bfef 0%, #d63384 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(24, 191, 239, 0.4);
    color: white !important;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #18bfef;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    border: 2px solid #18bfef;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover {
    background: #18bfef;
    color: #0a1119 !important;
}

/* Main content for internal pages - ONLY apply when .top-section exists */
.page-container:has(.top-section) .site-main {
    display: block !important;
    min-height: auto;
    padding: 0;
}

/* Features section */
.features-section {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem 2rem;
}

/* Scope features grid to internal pages only */
.page-container:has(.top-section) .features-grid,
.page-container:has(.top-section) .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.page-container:has(.top-section) .feature-card,
.page-container:has(.top-section) .feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #18bfef;
}

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

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #18bfef;
    margin-bottom: 0.5rem;
}

.feature-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Content sections - scoped to internal pages */
.page-container:has(.top-section) .content-section,
.page-container:has(.top-section) .content-section {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.page-container:has(.top-section) .content-section.alt-bg,
.page-container:has(.top-section) .content-section.alt-bg {
    background: rgba(255, 255, 255, 0.02);
    max-width: none;
}

.page-container:has(.top-section) .content-section.alt-bg > *,
.page-container:has(.top-section) .content-section.alt-bg > * {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-container:has(.top-section) .section-title,
.page-container:has(.top-section) .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #18bfef;
    text-align: center;
    margin-bottom: 2rem;
}

.page-container:has(.top-section) .section-subtitle,
.page-container:has(.top-section) .section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.page-container:has(.top-section) .content-card,
.page-container:has(.top-section) .content-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.card-title {
    font-size: 1.3rem;
    color: #18bfef;
    margin-bottom: 1rem;
}

.lead-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.learn-list ul,
.learn-list {
    list-style: none;
    padding: 0;
}

.learn-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
}

.learn-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #18bfef;
}

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

/* Schedule section */
.schedule-summary {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.summary-item {
    text-align: center;
}

.summary-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #18bfef;
}

.summary-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

/* Format grid - scoped to internal pages */
.page-container:has(.top-section) .format-grid,
.page-container:has(.top-section) .format-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.format-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

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

.format-title {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.format-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #18bfef;
    margin-bottom: 0.5rem;
}

.format-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Week modules */
.week-modules {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.week-module {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
}

.week-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.week-number {
    font-weight: 600;
    color: #18bfef;
}

.week-sessions {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.session-list {
    padding: 1rem;
}

.session-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.session-card:last-child {
    border-bottom: none;
}

.session-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.session-datetime {
    font-size: 0.9rem;
    color: #18bfef;
}

.session-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.duration-badge {
    background: rgba(24, 191, 239, 0.2);
    color: #18bfef;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.timezone-note {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1.5rem;
}

/* Instructor section */
.instructor-card {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    max-width: 800px;
    margin: 0 auto;
}

.instructor-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #18bfef;
}

.instructor-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #18bfef 0%, #d63384 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: white;
}

.instructor-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #18bfef;
    margin-bottom: 0.5rem;
}

.instructor-title {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.instructor-bio {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.instructor-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: #18bfef;
    padding: 0.5rem 1rem;
    border: 1px solid #18bfef;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.social-link:hover {
    background: #18bfef;
    color: #0a1119 !important;
}

/* Pricing section */
.pricing-section {
    background: linear-gradient(135deg, rgba(24, 191, 239, 0.1) 0%, rgba(214, 51, 132, 0.1) 100%);
    padding: 4rem 2rem;
    max-width: none;
}

.pricing-note {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.pricing-note a {
    color: #18bfef;
}

/* Pricing grid - scoped to internal pages */
.page-container:has(.top-section) .pricing-grid,
.page-container:has(.top-section) .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-grid.single {
    grid-template-columns: 1fr !important;
    max-width: 700px;
}

@media (min-width: 768px) {
    .pricing-grid.single {
    grid-template-columns: 1fr !important;
        max-width: 800px;
    }
}

@media (min-width: 1024px) {
    .pricing-grid.single {
    grid-template-columns: 1fr !important;
        max-width: 900px;
    }
}

.pricing-card {
    background: rgba(10, 17, 25, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.pricing-card:hover,
.pricing-card.featured {
    border-color: #18bfef;
    transform: translateY(-4px);
}

.pricing-badge {
    background: linear-gradient(135deg, #18bfef 0%, #d63384 100%);
    color: white;
    text-align: center;
    padding: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pricing-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-name {
    font-size: 1.3rem;
    color: #18bfef;
    margin-bottom: 1rem;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.pricing-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-right: 0.5rem;
}

.currency {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
}

.pricing-subtext {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.5rem;
}

.pricing-lifetime {
    font-size: 0.85rem;
    color: #18bfef;
    margin-top: 0.5rem;
}

.pricing-features {
    padding: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #18bfef;
}

.pricing-cta {
    padding: 0 2rem 2rem;
    text-align: center;
}

.pricing-cta .btn-primary {
    width: 100%;
}

.secure-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1rem;
}

.community-note {
    text-align: center;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.6);
}

.community-note .small {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Footer for internal pages */
.page-footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-nav a {
    color: #18bfef;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive for internal pages */
@media (max-width: 768px) {
    .instructor-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .instructor-links {
        justify-content: center;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .class-title {
        font-size: 1.8rem;
    }
    
    .format-grid,
    .features-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Responsive features grid */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════
   STUDENT DASHBOARD - Original Theme Tabbed Layout
   Clean, professional default styling
   ═══════════════════════════════════════════════════════════════════ */

@import '_dashboard.css';
@import '_dashboard-tabbed.css';

/* Original theme customizations - dark mode dashboard */
.dashboard-nav {
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
}

.dashboard-nav-item {
    color: var(--color-text-muted);
    background: transparent;
}

.dashboard-nav-item:hover {
    background: rgba(24, 191, 239, 0.1);
    color: var(--color-primary);
}

.dashboard-nav-radio:checked + .dashboard-nav-item {
    background: var(--color-primary);
    color: var(--color-text-inverse);
}

.dashboard-section {
    background: var(--color-bg);
    color: var(--color-text);
}

/* Ensure text is readable in dashboard */
.dashboard-section .section-title {
    color: var(--color-primary);
}

.enrollment-card,
.track-card,
.link-group {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.enrollment-title,
.link-group-title {
    color: var(--color-primary);
}

.user-greeting {
    color: var(--color-text);
}

.membership-badge {
    background: var(--color-primary);
    color: var(--color-text-inverse);
}

.meeting-link-btn,
.chat-link-btn,
.materials-link-btn {
    background: var(--color-primary);
    color: var(--color-text-inverse);
    border: 1px solid var(--color-primary);
}

.meeting-link-btn:hover,
.chat-link-btn:hover,
.materials-link-btn:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

.resource-link {
    color: var(--color-primary);
}

.password-hint {
    background: var(--color-bg-alt);
    color: var(--color-text-muted);
}
