/* ========================================
   Foothills Pharmacy Tech
   Premium Healthcare Education Design
   ======================================== */

:root {
    --teal: #0d6b6e;
    --teal-deep: #074043;
    --teal-light: #edf7f7;
    --teal-muted: #4a9a9c;
    --cream: #f5f7f7;
    --white: #ffffff;
    --off-white: #f5f3ef;
    --gray-100: #edecea;
    --gray-200: #dddbd7;
    --gray-300: #c4c1bc;
    --gray-500: #7a7672;
    --gray-700: #3d3935;
    --gray-800: #2a2725;
    --gray-900: #1a1816;
    --red: #c53030;
    --green: #276749;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Merriweather', Georgia, serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration: none; transition: all 0.25s ease; }
a:hover { color: var(--teal-deep); }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.brand-logo {
    height: 42px;
    width: auto;
    opacity: 0.95;
}

.brand-text { display: flex; flex-direction: column; }
.brand-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    letter-spacing: 0.02em;
}
.brand-tagline {
    font-size: 0.65rem;
    color: var(--gray-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

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

.nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all 0.25s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--teal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--teal);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.btn-nav { margin-left: 0.75rem; }

.btn-primary-nav {
    background: var(--teal);
    color: var(--white) !important;
    padding: 0.5rem 1.25rem;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: none;
    border-radius: 4px;
    transition: all 0.25s ease;
}

.btn-primary-nav::after { display: none; }

.btn-primary-nav:hover {
    background: var(--teal-deep);
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(13, 107, 110, 0.25);
}

.btn-portal {
    background: var(--teal);
    color: var(--white) !important;
    padding: 0.45rem 1.1rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-portal::after { display: none; }

.btn-portal:hover {
    background: var(--teal-dark);
    color: var(--white) !important;
    box-shadow: 0 2px 8px rgba(13,107,110,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700) !important;
    border: 1px solid var(--gray-300);
    padding: 0.45rem 1.1rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.btn-outline::after { display: none; }

.btn-outline:hover {
    color: var(--teal) !important;
    border-color: var(--teal);
    background: var(--teal-light);
}

/* ---- User Dropdown ---- */
.nav-dropdown {
    position: relative;
    margin-left: 0.75rem;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    padding: 0.35rem 0.75rem 0.35rem 0.4rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-sans);
}

.nav-dropdown-toggle:hover {
    border-color: var(--gray-300);
    background: var(--cream);
}

.nav-user-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.nav-user-name {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray-700);
}

.nav-dropdown-arrow {
    color: var(--gray-500);
    transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 200px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 0.4rem 0;
    z-index: 1001;
}

.nav-dropdown.open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-item {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: all 0.15s ease;
}

.nav-dropdown-item:hover {
    background: var(--cream);
    color: var(--teal);
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 0.3rem 0;
}

.nav-dropdown-logout {
    color: var(--gray-500);
}
.nav-dropdown-logout:hover {
    color: var(--red);
    background: #fef2f2;
}

/* ========== NAV DROPDOWN ========== */
.nav-dropdown {
    position: relative;
    margin-left: 0.75rem;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 500;
    font-family: var(--font-sans);
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.nav-dropdown-toggle:hover {
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.nav-dropdown-chevron {
    font-size: 0.65rem;
    transition: transform 0.25s ease;
    line-height: 1;
}

.nav-dropdown.open .nav-dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: rgba(26, 24, 22, 0.98);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1001;
    padding: 0.4rem 0;
}

.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: block;
    padding: 0.6rem 1.25rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: all 0.15s ease;
}

.nav-dropdown-item:hover {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}

.nav-dropdown-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 0.35rem 0;
}

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    transition: all 0.3s;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--font-sans);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(13, 107, 110, 0.25);
}
.btn-primary:hover {
    background: var(--teal-deep);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 107, 110, 0.35);
}

.btn-secondary {
    background: var(--teal);
    color: var(--white);
}
.btn-secondary:hover {
    background: var(--teal-deep);
    color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--teal);
    border: 1.5px solid var(--teal);
}
.btn-outline-dark:hover {
    background: var(--teal);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(13, 107, 110, 0.25);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--teal-deep);
    border-color: var(--white);
    box-shadow: 0 4px 16px rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 0.95rem; }
.btn-sm { padding: 0.45rem 1.2rem; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* ========== COHORT BANNER ========== */
.cohort-banner {
    background: var(--teal);
    color: var(--white);
    padding: 0.7rem 0;
    margin-top: 76px;
    position: relative;
    z-index: 10;
}

.cohort-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cohort-banner-text {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.cohort-banner-text strong {
    font-weight: 700;
}

.cohort-banner-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1.5px solid var(--white);
    padding-bottom: 1px;
}

.cohort-banner-link:hover {
    color: var(--teal-light);
    border-color: var(--teal-light);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    padding: 9rem 0 5rem;
    min-height: 520px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(7, 64, 67, 0.92) 0%,
        rgba(7, 64, 67, 0.85) 40%,
        rgba(7, 64, 67, 0.6) 70%,
        rgba(7, 64, 67, 0.4) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.18;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: 1.05rem;
    max-width: 540px;
    margin-bottom: 2.25rem;
    opacity: 0.9;
    line-height: 1.75;
    font-weight: 400;
}

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

.hero-cta .btn-primary {
    background: var(--white);
    color: var(--gray-900);
    font-weight: 700;
}
.hero-cta .btn-primary:hover {
    background: var(--teal-light);
}

.hero-badges {
    display: flex;
    gap: 1.75rem;
    flex-wrap: wrap;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 0.01em;
}

.badge-ptcb-seal {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1.5px solid rgba(255,255,255,0.5);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.6rem;
    font-weight: 700;
}

/* ========== SECTIONS ========== */
.section {
    padding: 6rem 0;
}

.section-alt {
    background: var(--cream);
}

.section-dark {
    background: var(--gray-900);
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--teal);
    margin: 1.5rem auto 0;
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: 2.1rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.section-dark .section-header h2 { color: var(--white); }

.section-header p {
    color: var(--gray-500);
    font-size: 1rem;
    line-height: 1.7;
}

.section-dark .section-header p { color: rgba(255,255,255,0.6); }

/* ========== GRID ========== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

/* ========== CARDS ========== */
.card {
    padding: 2.5rem 2rem;
    border-left: 3px solid var(--teal);
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.card-icon {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 1.25rem;
    display: block;
    letter-spacing: 0.05em;
}

.card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
    letter-spacing: 0.01em;
}

.card p {
    color: var(--gray-500);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
    padding: 2.5rem 2rem 2rem;
    background: var(--white);
    border-left: 3px solid var(--teal);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-700);
    font-style: italic;
    margin: 0 0 1.75rem;
    position: relative;
    padding-top: 1.5rem;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    top: -0.25rem;
    left: 0;
    font-size: 3rem;
    font-family: var(--font-serif);
    color: var(--teal-muted);
    opacity: 0.35;
    line-height: 1;
}

.testimonial-author {
    padding-top: 1.25rem;
    border-top: 1px solid var(--gray-200);
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gray-900);
    margin-bottom: 0.1rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--gray-500);
    letter-spacing: 0.02em;
}

/* ========== STEPS ========== */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: var(--gray-200);
}

.section-dark .steps::before {
    background: rgba(255,255,255,0.15);
}

.step {
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--white);
    color: var(--teal);
    border: 2px solid var(--teal);
    border-radius: 50%;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
    font-family: var(--font-serif);
}

.section-dark .step-number {
    background: var(--gray-900);
    color: var(--white);
}

.step h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.82rem;
}

.section-dark .step h3 { color: var(--white); }

.step p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.section-dark .step p { color: rgba(255,255,255,0.55); }

/* ========== INSTRUCTOR ========== */
.instructor-block {
    max-width: 680px;
    margin: 0 auto;
}

.instructor-with-photo {
    max-width: 860px;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.instructor-headshot {
    width: 220px;
    height: 220px;
    object-fit: cover;
    flex-shrink: 0;
    border: 4px solid var(--teal);
}

.instructor-info h2 {
    font-family: var(--font-serif);
    font-size: 2.1rem;
    margin-bottom: 0.25rem;
}

.instructor-info h3 {
    font-size: 1.35rem;
    color: var(--teal);
    margin-bottom: 0.15rem;
    font-family: var(--font-serif);
}

.instructor-title {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.instructor-info > p {
    margin-bottom: 1.25rem;
    color: var(--gray-700);
    line-height: 1.8;
}

.instructor-credentials {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.instructor-credentials li {
    padding: 0.45rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--gray-700);
    font-size: 0.92rem;
}

.instructor-credentials li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, var(--teal-deep) 0%, #053335 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.cta-content p {
    font-size: 1.05rem;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.cta-content .btn-primary {
    background: var(--white);
    color: var(--gray-900);
    font-weight: 700;
}
.cta-content .btn-primary:hover {
    background: var(--white);
}

.cta-inline {
    margin-top: 3.5rem;
    padding: 2.5rem;
    background: var(--cream);
    text-align: center;
    border-left: 4px solid var(--teal);
}

.cta-inline h3 {
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cta-inline p {
    color: var(--gray-500);
    margin-bottom: 1.25rem;
}

/* ========== IMAGE-TEXT SPLIT ========== */
.image-text-split {
    display: flex;
    gap: 3.5rem;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
}

.image-text-split.reverse {
    flex-direction: row-reverse;
}

.split-image {
    width: 320px;
    height: 260px;
    object-fit: cover;
    flex-shrink: 0;
    border-left: 4px solid var(--teal);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.split-content h2 {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.split-content p {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.split-content .btn {
    margin-top: 0.5rem;
}

/* ========== PAGE HEADERS ========== */
.page-header {
    padding: 10rem 0 3.5rem;
    background: linear-gradient(135deg, var(--teal-deep) 0%, #053335 100%);
    color: var(--white);
}

.page-header h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.page-header p {
    font-size: 1.05rem;
    opacity: 0.6;
    max-width: 500px;
    margin: 0 auto;
}

.page-header-sm {
    padding: 8.5rem 0 2.5rem;
    text-align: center;
}

/* ========== CONTENT ========== */
.content-narrow {
    max-width: 720px;
    margin: 0 auto;
}

.content-narrow h2 {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    color: var(--gray-900);
    margin: 3rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--teal);
    display: inline-block;
}

.content-narrow h2:first-child { margin-top: 0; }

.content-narrow p {
    margin-bottom: 1.25rem;
    color: var(--gray-700);
    line-height: 1.8;
}

.content-narrow ul, .content-narrow ol {
    margin-bottom: 1.25rem;
    padding-left: 0;
    list-style: none;
}

.content-narrow li {
    margin-bottom: 0.6rem;
    color: var(--gray-700);
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.7;
}

.content-narrow ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
}

.content-narrow ol {
    counter-reset: item;
}

.content-narrow ol li::before {
    content: counter(item);
    counter-increment: item;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--teal);
    font-size: 0.9rem;
}

/* ========== INFO GRID ========== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin: 2.5rem 0;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.info-card {
    padding: 2rem;
    text-align: center;
    border-right: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.info-card:nth-child(2n) { border-right: none; }
.info-card:nth-last-child(-n+2) { border-bottom: none; }

.info-card h3 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 0.25rem;
    font-family: var(--font-serif);
}

.info-card p:last-child {
    font-size: 0.82rem;
    color: var(--gray-500);
}

/* ========== CURRICULUM SCHEDULE ========== */
.curriculum-schedule {
    margin: 2rem 0;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.curriculum-week {
    display: flex;
    border-bottom: 1px solid var(--gray-200);
}

.curriculum-week:last-child {
    border-bottom: none;
}

.week-label {
    flex-shrink: 0;
    width: 110px;
    padding: 1.25rem 1rem;
    background: var(--teal-deep);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.week-content {
    padding: 1.25rem 1.5rem;
    flex: 1;
}

.week-content h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.35rem;
}

.week-content p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
}

.curriculum-note {
    font-size: 0.88rem;
    color: var(--gray-500);
    font-style: italic;
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    background: var(--teal-light);
    border-left: 3px solid var(--teal);
}

/* ========== TEXTBOOKS ========== */
.textbook-list {
    margin: 1.5rem 0;
}

.textbook-item {
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    border-left: 3px solid var(--teal);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.textbook-item h4 {
    font-size: 0.95rem;
    color: var(--gray-900);
    margin-bottom: 0.35rem;
}

.textbook-item p {
    font-size: 0.88rem;
    color: var(--gray-700);
    margin-bottom: 0.25rem;
}

.textbook-isbn {
    font-family: monospace;
    font-size: 0.82rem !important;
    color: var(--gray-500) !important;
    letter-spacing: 0.03em;
}

.textbook-price {
    font-weight: 600;
    color: var(--teal) !important;
    font-size: 0.85rem !important;
}

/* ========== PROGRAM NOTE ========== */
.program-note {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-style: italic;
    padding: 1rem 1.25rem;
    background: var(--cream);
    border-left: 3px solid var(--gray-300);
    margin-top: 1rem;
}

/* ========== CHECKLIST ========== */
.checklist {
    list-style: none;
    padding: 0;
    columns: 2;
    column-gap: 2rem;
}

.checklist li {
    padding: 0.6rem 0;
    padding-left: 1.75rem;
    position: relative;
    break-inside: avoid;
}

.checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
}

/* ========== FAQ ========== */
.faq-list { max-width: 680px; margin: 0 auto; }

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-item:first-child {
    border-top: 1px solid var(--gray-200);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.35rem 0;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    cursor: pointer;
    text-align: left;
    font-family: var(--font-sans);
    letter-spacing: 0.01em;
}

.faq-toggle {
    font-size: 1.25rem;
    color: var(--teal);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 1.5rem;
    font-weight: 300;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer p {
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ========== FORMS ========== */
.form-group {
    margin-bottom: 1.35rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-input,
.auth-card .form input[type="text"],
.auth-card .form input[type="email"],
.auth-card .form input[type="password"],
.auth-card .form input[type="tel"] {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    border: 1px solid var(--gray-200);
    border-bottom: 2px solid var(--gray-300);
    border-radius: 6px;
    background: var(--white);
    transition: all 0.25s ease;
}

.form-input:focus,
.auth-card .form input:focus {
    outline: none;
    border-bottom-color: var(--teal);
    background: var(--teal-light);
    box-shadow: 0 0 0 3px rgba(13, 107, 110, 0.1);
}

textarea.form-input { resize: vertical; min-height: 140px; }

.password-wrapper {
    position: relative;
}

.password-wrapper .form-input {
    padding-right: 2.75rem;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-500);
    padding: 0.25rem;
    line-height: 1;
    font-size: 1.1rem;
}

.password-toggle:hover {
    color: var(--teal);
}

.form-error {
    color: #991b1b;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

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

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

.required { color: var(--red); }
.optional { color: var(--gray-500); font-weight: 400; font-size: 0.75rem; text-transform: none; letter-spacing: 0; }

/* ========== AUTH CARD ========== */
.auth-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-top: 3px solid var(--teal);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.06);
}

.forgot-password-link {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.88rem;
}

.forgot-password-link a {
    color: var(--gray-500);
    transition: color 0.2s ease;
}

.forgot-password-link a:hover {
    color: var(--teal);
}

.auth-card h2 {
    font-size: 1.25rem;
    font-family: var(--font-serif);
    margin-bottom: 2rem;
    text-align: center;
    color: var(--gray-900);
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.88rem;
    color: var(--gray-500);
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

/* ========== ALERTS ========== */
.messages-container {
    padding-top: 76px;
}

.alert {
    padding: 1rem 1.5rem;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    border-left: 4px solid;
    border-radius: 6px;
}

.alert-success { background: #f0fdf4; color: #166534; border-left-color: #16a34a; }
.alert-error { background: #fef2f2; color: #991b1b; border-left-color: #dc2626; }
.alert-warning { background: #fffbeb; color: #92400e; border-left-color: #d97706; }
.alert-info { background: var(--teal-light); color: var(--teal-deep); border-left-color: var(--teal); }

.alert-close {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.5;
    padding: 0 0.25rem;
}

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

/* ========== CONTACT ========== */
.contact-success {
    text-align: center;
    padding: 3rem 2rem;
    animation: successFadeIn 0.5s ease forwards;
}

.contact-success-icon {
    width: 64px;
    height: 64px;
    background: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    animation: successPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s both;
}

.contact-success h3 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.contact-success p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.6;
}

@keyframes successFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes successPop {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
}

.contact-form-wrap h2, .contact-info-wrap h2 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--gray-900);
    margin-bottom: 2rem;
}

.contact-detail {
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 2px solid var(--teal);
}

.contact-detail h4 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gray-500);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.contact-detail p {
    color: var(--gray-800);
    font-size: 0.95rem;
}

/* ========== DASHBOARD ========== */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.dash-card {
    background: var(--white);
    padding: 2rem;
    border-left: 3px solid var(--teal);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
}

.dash-card h3 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
    color: var(--gray-500);
    font-weight: 700;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
}

.dash-links {
    list-style: none;
    padding: 0;
}

.dash-links li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.dash-links li:last-child { border-bottom: none; }

.dash-links a {
    color: var(--teal);
    font-weight: 500;
    font-size: 0.9rem;
}

.dash-links a:hover { color: var(--teal-deep); }

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.2rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 4px;
}

.status-active { background: #f0fdf4; color: #166534; }
.status-pending { background: #fffbeb; color: #92400e; }
.status-completed { background: var(--teal-light); color: var(--teal); }
.status-cancelled { background: #fef2f2; color: #991b1b; }

/* ========== TABLES ========== */
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.table th, .table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.table th {
    font-weight: 700;
    color: var(--gray-500);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ========== CHECKOUT ========== */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 880px;
    margin: 0 auto;
}

.checkout-summary h2, .checkout-payment h2 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.summary-card {
    padding: 2rem;
    border: 1px solid var(--gray-200);
    border-left: 3px solid var(--teal);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.summary-card h3 {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    color: var(--gray-900);
}

.summary-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.summary-card li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.summary-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-top: 2px solid var(--gray-900);
    font-weight: 700;
}

.total-amount {
    font-size: 1.6rem;
    color: var(--teal);
    font-family: var(--font-serif);
}

.summary-note {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 0.75rem;
}

.payment-card {
    padding: 2rem;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.secure-note {
    text-align: center;
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-top: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== SUCCESS ========== */
.success-card {
    max-width: 620px;
    margin: 2rem auto;
    text-align: center;
    padding: 3.5rem 2rem;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border: 2px solid var(--green);
    color: var(--green);
    border-radius: 50%;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.success-card h1 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.success-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    margin-bottom: 2.5rem;
}

.success-details {
    text-align: left;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--gray-200);
    border-left: 3px solid var(--teal);
    border-radius: 8px;
}

.success-details h3 {
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.next-steps { padding-left: 1.25rem; }

.next-steps li {
    margin-bottom: 0.85rem;
    color: var(--gray-700);
    line-height: 1.7;
}

.enrollment-receipt {
    border: 1px solid var(--gray-200);
    padding: 1.75rem;
    margin-bottom: 2rem;
    text-align: left;
    border-radius: 8px;
}

.enrollment-receipt h4 {
    margin-bottom: 0.75rem;
    color: var(--gray-900);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.enrollment-receipt p {
    margin-bottom: 0.25rem;
    color: var(--gray-700);
    font-size: 0.92rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ========== PORTAL ========== */
.portal-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
}

.portal-card {
    background: var(--white);
    padding: 2.5rem;
    border-left: 3px solid var(--teal);
}

.portal-card h2 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.resource-list { margin-top: 2rem; }

.resource-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

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

.resource-icon {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--teal);
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: 0;
    letter-spacing: 0.02em;
}

.resource-item h3 {
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: 0.35rem;
}

.resource-item p {
    font-size: 0.88rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.resource-note {
    font-size: 0.78rem !important;
    color: var(--gray-500) !important;
    font-style: italic;
}

.portal-sidebar h3 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--gray-500);
    font-weight: 700;
}

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

.tips-list li {
    padding: 0.5rem 0;
    padding-left: 1rem;
    position: relative;
    font-size: 0.88rem;
    color: var(--gray-700);
    border-left: 2px solid var(--gray-200);
    margin-bottom: 0.25rem;
}

.tips-list li::before { display: none; }

/* ========== ABOUT ========== */
.about-instructor {
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid var(--teal);
    background: var(--cream);
}

.about-instructor h3 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 0.15rem;
    font-family: var(--font-serif);
}

/* Instructor Photo */
.instructor-photo-block {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    margin: 2rem 0;
    padding: 2.5rem;
    background: var(--cream);
    border-left: 4px solid var(--teal);
    border-radius: 8px;
}

.instructor-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.instructor-photo-block h3 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 0.15rem;
    font-family: var(--font-serif);
}

/* ========== FOOTER ========== */
.footer-logo {
    width: 100px;
    height: auto;
    margin-bottom: 1.25rem;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.footer {
    background: var(--gray-900);
    color: rgba(255,255,255,0.6);
    padding: 4rem 0 1.5rem;
}

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

/* Legal pages */
.legal-updated {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.content-narrow h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.content-narrow h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer h3 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
}

.footer h4 {
    color: var(--teal-muted);
    font-size: 0.72rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
}

.footer p {
    font-size: 0.88rem;
    line-height: 1.7;
}

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

.footer li {
    padding: 0.3rem 0;
    font-size: 0.88rem;
}

.footer a {
    color: rgba(255,255,255,0.6);
    transition: color 0.25s;
}

.footer a:hover { color: var(--white); }

.footer-bottom {
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

/* ========== COURSE COMPANION ========== */
.cc-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--teal);
    color: var(--white);
    border: none;
    border-radius: 2rem;
    font-size: 0.84rem;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.8rem 1.4rem 0.8rem 1.2rem;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(13, 107, 110, 0.45), 0 2px 6px rgba(0,0,0,0.15);
}

.cc-toggle:hover {
    background: var(--teal-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(13, 107, 110, 0.55), 0 3px 8px rgba(0,0,0,0.18);
}

.cc-panel {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 380px;
    height: 520px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.97);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.cc-header {
    background: var(--gray-900);
    color: var(--white);
    padding: 0.85rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--teal);
    flex-shrink: 0;
}

.cc-header-info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.cc-header-dot {
    width: 8px;
    height: 8px;
    background: #34d399;
    border-radius: 50%;
    flex-shrink: 0;
}

.cc-header h4 {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin: 0;
}

.cc-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    line-height: 1;
}

.cc-close:hover {
    color: var(--white);
}

.cc-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 0;
}

.cc-msg {
    max-width: 85%;
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
    line-height: 1.55;
    border-radius: 10px;
    word-wrap: break-word;
}

.cc-bot {
    background: var(--cream);
    color: var(--gray-800);
    align-self: flex-start;
    border-left: 2px solid var(--teal-muted);
    border-radius: 10px 10px 10px 2px;
}

.cc-user {
    background: var(--teal);
    color: var(--white);
    align-self: flex-end;
    border-radius: 10px 10px 2px 10px;
}

/* Typing indicator */
.cc-typing {
    padding: 0.8rem 1.2rem;
    display: flex;
    gap: 4px;
    align-items: center;
}

.cc-typing span {
    width: 6px;
    height: 6px;
    background: var(--teal-muted);
    border-radius: 50%;
    animation: ccBounce 1.2s infinite;
}

.cc-typing span:nth-child(2) { animation-delay: 0.15s; }
.cc-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes ccBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.cc-input-wrap {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--gray-200);
    flex-shrink: 0;
}

.cc-input-wrap input {
    flex: 1;
    padding: 0.85rem 1rem;
    border: none;
    font-size: 0.88rem;
    font-family: var(--font-sans);
    outline: none;
    background: transparent;
}

.cc-input-wrap button {
    padding: 0.7rem 1rem;
    background: none;
    border: none;
    color: var(--teal);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.cc-input-wrap button:hover { color: var(--teal-deep); }
.cc-input-wrap button:disabled { color: var(--gray-300); cursor: default; }

/* ========== PORTAL: COUNTDOWN ========== */
.portal-countdown {
    background: var(--white);
    border-left: 4px solid var(--teal);
    padding: 2rem 2.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
}

.countdown-info {
    display: flex;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

.countdown-stat {
    display: flex;
    flex-direction: column;
}

.countdown-number {
    font-family: var(--font-sans);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.1;
}

.countdown-primary .countdown-number {
    color: var(--teal);
    font-size: 2.6rem;
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    font-weight: 600;
    margin-top: 0.25rem;
}

.countdown-bar-wrap {
    height: 6px;
    background: var(--gray-200);
    margin-bottom: 0.75rem;
    border-radius: 3px;
    overflow: hidden;
}

.countdown-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--teal) 0%, var(--teal-muted) 100%);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 2%;
    border-radius: 3px;
}

.countdown-dates {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--gray-500);
}

/* ========== PORTAL: ANNOUNCEMENTS ========== */
.portal-announcements {
    margin-bottom: 2rem;
}

.portal-announcements h2 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.announcement-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--teal-light);
    border-left: 3px solid var(--teal);
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.announcement-date {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--teal);
    padding-top: 0.15rem;
}

.announcement-content h4 {
    font-size: 0.92rem;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.announcement-content p {
    font-size: 0.88rem;
    color: var(--gray-700);
    line-height: 1.6;
    margin: 0;
}

/* ========== PORTAL: 2-COL GRID ========== */
.portal-grid-2col {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
}

.portal-section-card {
    background: var(--white);
    border-left: 3px solid var(--teal);
    padding: 2rem 2.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
}

.portal-section-card h2 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.portal-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.25rem;
}

.progress-counter {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.portal-section-desc {
    font-size: 0.88rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ========== PORTAL: STUDY CHECKLIST ========== */
.study-checklist {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.study-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
    transition: opacity 0.3s ease;
}

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

.study-item-done {
    opacity: 0.55;
}

.study-item-done .study-info h4 {
    text-decoration: line-through;
}

.study-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: 2px solid var(--gray-300);
    border-radius: 6px;
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.2rem;
    transition: all 0.2s ease;
    padding: 0;
}

.study-check:hover {
    border-color: var(--teal);
}

.study-item-done .study-check,
.exam-prep-done .study-check {
    background: var(--teal);
    border-color: var(--teal);
}

.check-box {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.study-info { flex: 1; }

.study-week-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal);
}

.study-info h4 {
    font-size: 0.92rem;
    color: var(--gray-900);
    margin-bottom: 0.15rem;
    font-weight: 600;
}

.study-info p {
    font-size: 0.82rem;
    color: var(--gray-500);
    line-height: 1.5;
    margin: 0;
}

/* ========== PORTAL: DAILY QUIZ ========== */
.portal-quiz-card {
    border-left-color: var(--teal-muted);
}

.quiz-score {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.02em;
}

.quiz-loading {
    padding: 2rem;
    text-align: center;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.quiz-progress-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal);
    margin-bottom: 0.75rem;
}

.quiz-question-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.quiz-choices {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quiz-choice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--gray-700);
    transition: all 0.2s ease;
    width: 100%;
}

.quiz-choice:hover:not(:disabled) {
    border-color: var(--teal);
    background: var(--teal-light);
}

.quiz-choice:disabled {
    cursor: default;
    opacity: 0.85;
}

.quiz-choice-letter {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--gray-700);
    border-radius: 50%;
}

.quiz-choice-correct {
    border-color: #16a34a !important;
    background: #f0fdf4 !important;
}

.quiz-choice-correct .quiz-choice-letter {
    background: #16a34a;
    color: var(--white);
}

.quiz-choice-wrong {
    border-color: #dc2626 !important;
    background: #fef2f2 !important;
}

.quiz-choice-wrong .quiz-choice-letter {
    background: #dc2626;
    color: var(--white);
}

.quiz-feedback {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    background: var(--teal-light);
    border-left: 3px solid var(--teal);
    font-size: 0.85rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.quiz-results {
    text-align: center;
    padding: 2rem 1rem;
}

.quiz-results h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.quiz-results p {
    color: var(--gray-500);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
}

/* ========== PORTAL: EXAM PREP ========== */
.portal-exam-prep {
    border-left-color: var(--teal-deep);
}

.exam-prep-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.exam-prep-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--gray-200);
    transition: opacity 0.3s ease;
}

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

.exam-prep-done {
    opacity: 0.55;
}

.exam-prep-done .exam-prep-title {
    text-decoration: line-through;
}

.exam-prep-title {
    font-size: 0.9rem;
    color: var(--gray-700);
}

/* ========== PORTAL: RESOURCE LINKS ========== */
.resource-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.resource-link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.resource-link-card:hover {
    border-color: var(--teal);
    background: var(--teal-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.resource-link-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--teal-deep);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 6px;
}

.resource-link-card h4 {
    font-size: 0.88rem;
    color: var(--gray-900);
    margin-bottom: 0.1rem;
    font-weight: 600;
}

.resource-link-card p {
    font-size: 0.78rem;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.4;
}

/* ========== PORTAL: COMPLETION BANNER ========== */
.portal-completion-banner {
    background: linear-gradient(135deg, #0d6b6e 0%, #0a5c5f 100%);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
}
.portal-completion-banner h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.75rem;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
}
.portal-completion-banner > .completion-content > p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.9);
    margin: 0 0 1.5rem 0;
}
.completion-actions {
    margin-bottom: 1.5rem;
}
.completion-actions .launch-btn {
    background: #ffffff;
    color: #0d6b6e;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    transition: background 0.2s, transform 0.2s;
}
.completion-actions .launch-btn:hover {
    background: #f0fdf4;
    transform: translateY(-1px);
}
.completion-next-steps {
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
}
.completion-next-steps h3 {
    font-size: 1rem;
    color: #ffffff;
    margin: 0 0 0.75rem 0;
    font-weight: 700;
}
.completion-next-steps ul {
    margin: 0;
    padding-left: 1.25rem;
}
.completion-next-steps li {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.4rem;
    line-height: 1.5;
}
.completion-next-steps a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

/* ========== PORTAL: MILESTONES & PACE ========== */
.portal-milestone {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #f0fdf4;
    border-left: 4px solid #16a34a;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.milestone-icon {
    font-size: 1.5rem;
    color: #16a34a;
    flex-shrink: 0;
}

.portal-milestone p {
    font-size: 0.92rem;
    color: #166534;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
}

.portal-pace {
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
    border-radius: 8px;
}

.portal-pace p {
    font-size: 0.88rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

.portal-pace-slightly_behind {
    background: #fffbeb;
    border-left-color: #d97706;
}

.portal-pace-slightly_behind p {
    color: #92400e;
}

.portal-pace-behind {
    background: #fef2f2;
    border-left-color: #dc2626;
}

.portal-pace-behind p {
    color: #991b1b;
}

/* ========== PORTAL: CIRRUS LAUNCH ========== */
.cirrus-launch-section {
    background: linear-gradient(135deg, var(--teal-deep) 0%, #053335 100%);
    color: var(--white);
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(7, 64, 67, 0.3);
    overflow: hidden;
}

.cirrus-launch-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 154, 156, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cirrus-launch-section h2 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.cirrus-launch-section p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.cirrus-launch-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.launch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-sans);
    background: var(--white);
    color: var(--teal-deep);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.launch-btn:hover {
    background: var(--teal-light);
    color: var(--teal-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.launch-btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.5);
    padding: 0.95rem 2rem;
    font-size: 0.9rem;
    box-shadow: none;
}

.launch-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-color: var(--white);
    box-shadow: 0 4px 16px rgba(255,255,255,0.1);
}

.portal-first-time-note {
    margin-top: 1.25rem;
    padding: 0.85rem 1.1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.55;
}
.portal-first-time-note strong {
    color: #ffffff;
}

.cirrus-help-links {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.cirrus-help-links h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

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

.help-link {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding-bottom: 1px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    transition: all 0.2s ease;
}

.help-link:hover {
    color: var(--white);
    border-bottom-color: var(--white);
}

/* ========== PORTAL: GETTING STARTED ========== */
.getting-started-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.getting-started-step {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-left: 3px solid var(--teal);
    border-radius: 8px;
    transition: box-shadow 0.2s ease;
}

.getting-started-step:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--teal);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50%;
}

.getting-started-step h4 {
    font-size: 0.9rem;
    color: var(--gray-900);
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.getting-started-step p {
    font-size: 0.82rem;
    color: var(--gray-500);
    line-height: 1.5;
    margin: 0;
}

/* ========== PORTAL: RESOURCE DOWNLOADS ========== */
.resource-downloads {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.resource-download-item {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.resource-download-item:hover {
    border-color: var(--teal);
    background: var(--teal-light);
    transform: translateX(4px);
}

.resource-download-type {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal);
    margin-bottom: 0.15rem;
}

.resource-download-title {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-800);
}

/* ========== PORTAL: SIDEBAR CARDS ========== */
.portal-sidebar-card {
    padding: 1.75rem 2rem;
}

.portal-sidebar-card h3 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--gray-500);
    font-weight: 700;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
}

.portal-sidebar-card p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

/* ========== PTCB RECOGNITION + SKILLS ========== */
.recognition-block {
    max-width: 720px;
    margin: 0 auto 4rem;
}

.recognition-badge {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 2.5rem;
    background: var(--white);
    border: 2px solid var(--teal);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(13, 107, 110, 0.1);
}

.ptcb-seal-img {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.badge-details h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--gray-900);
    margin-bottom: 0.4rem;
}

.badge-details p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin: 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.skill-item {
    padding: 1.75rem 1.5rem;
    background: var(--white);
    border-radius: 8px;
    border-left: 3px solid var(--teal);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

.skill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--teal-deep);
    color: var(--white);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.skill-item h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.35rem;
    letter-spacing: 0.01em;
}

.skill-item p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
}

/* ========== PAYMENT METHOD SELECTOR ========== */
.payment-method-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.payment-method-option {
    display: block;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.payment-method-option:hover {
    border-color: var(--teal-muted);
}

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

.payment-method-selected {
    border-color: var(--teal);
    background: var(--teal-light);
}

.payment-method-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.payment-method-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-method-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--gray-900);
}

.payment-method-badge {
    background: var(--teal);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 3px;
}

.payment-method-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--teal-deep);
}

.payment-method-desc {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ========== EMPLOYERS SECTION ========== */
.employers-section {
    background: var(--cream);
}

.employer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem 3rem;
    margin-top: 2rem;
}

.employer-logo-item {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gray-300);
    letter-spacing: 0.02em;
    padding: 1rem 1.5rem;
    transition: color 0.3s ease;
}

.employer-logo-item:hover {
    color: var(--teal);
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .skills-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .steps::before { display: none; }
    .dashboard-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .cohort-banner-inner { text-align: center; flex-direction: column; gap: 0.5rem; }
    .cohort-banner-text { font-size: 0.8rem; }
    .hero { padding: 5rem 0 4rem; }
    .hero h1 { font-size: 2.3rem; }
    .hero-subtitle { font-size: 1rem; }

    .employer-logos { gap: 1rem 2rem; }
    .employer-logo-item { font-size: 1.1rem; padding: 0.75rem 1rem; }

    .nav-toggle { display: flex; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        gap: 0;
    }

    .nav-menu.active { display: flex; }

    .nav-link {
        padding: 0.85rem 2rem;
        width: 100%;
    }

    .nav-link::after { display: none; }

    .btn-nav {
        margin-left: 0;
        margin: 0.5rem 2rem;
        text-align: center;

    }

    .nav-dropdown {
        margin-left: 0;
        width: 100%;
        border-top: 1px solid var(--gray-200);
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }

    .nav-dropdown-toggle {
        width: 100%;
        padding: 0.6rem 2rem;
        border: none;
        border-radius: 0;
    }

    .nav-dropdown-menu {
        position: static;
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        min-width: 0;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-item {
        padding: 0.6rem 2rem 0.6rem 3rem;
    }

    .nav-dropdown-divider {
        margin: 0.3rem 2rem;
        justify-content: center;
    }

    .nav-dropdown {
        margin-left: 0;
        width: 100%;
    }

    .nav-dropdown-toggle {
        width: 100%;
        padding: 0.85rem 2rem;
        border: none;
        border-radius: 0;
        justify-content: space-between;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255,255,255,0.03);
        border: none;
        border-radius: 0;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        max-height: 300px;
        padding: 0.25rem 0;
    }

    .nav-dropdown-item {
        padding: 0.7rem 2rem 0.7rem 3.5rem;
    }

    .grid-3 { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: 1fr; }
    .recognition-badge { flex-direction: column; text-align: center; gap: 1.25rem; padding: 2rem 1.5rem; }
    .steps { grid-template-columns: 1fr 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .info-card { border-right: none !important; }
    .info-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--gray-200); }
    .info-card:last-child { border-bottom: none; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .checkout-grid { grid-template-columns: 1fr; }
    .portal-grid { grid-template-columns: 1fr; }
    .portal-grid-2col { grid-template-columns: 1fr; }
    .countdown-info { gap: 2rem; }
    .countdown-primary .countdown-number { font-size: 2.2rem; }
    .portal-section-card { padding: 1.75rem 1.5rem; }
    .portal-section-header { flex-direction: column; gap: 0.25rem; }
    .getting-started-steps { grid-template-columns: 1fr; }
    .cirrus-launch-section { padding: 2rem 1.5rem; }
    .cirrus-launch-btns { flex-direction: column; }
    .help-links { flex-direction: column; gap: 0.75rem; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .form-row-3 { grid-template-columns: 1fr; }
    .checklist { columns: 1; }

    .curriculum-week { flex-direction: column; }
    .week-label { width: 100%; padding: 0.75rem 1rem; }

    .section { padding: 4rem 0; }
    .page-header { padding: 8rem 0 2.5rem; }
    .page-header h1 { font-size: 1.85rem; }
    .page-header-sm { padding: 7rem 0 2rem; }

    .cc-panel {
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        border-radius: 0;
        transform: translateY(20px);
    }

    .cc-panel.open {
        transform: translateY(0);
    }

    .cc-toggle {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .image-text-split,
    .image-text-split.reverse {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    .split-image {
        width: 100%;
        max-width: 400px;
        height: 220px;
        margin: 0 auto;
    }

    .instructor-photo-block,
    .instructor-with-photo {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .instructor-photo {
        width: 180px;
        height: 180px;
    }
    .instructor-headshot {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.9rem; }
    .hero-badges { flex-direction: column; gap: 0.75rem; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; text-align: center; justify-content: center; }
    .auth-card { padding: 2rem 1.5rem; }
    .success-actions { flex-direction: column; }
    .steps { grid-template-columns: 1fr; }
    .countdown-info { flex-wrap: wrap; gap: 1.5rem; }
    .portal-countdown { padding: 1.5rem; }
    .announcement-item { flex-direction: column; gap: 0.5rem; }
}
