/* Sky School Responsive UI System */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --page-bg: #f8fafc;
    --surface: #ffffff;
    --surface-muted: #f1f5f9;
    --border: #e2e8f0;
    --text-primary: #1f2937;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;
    --primary-900: #0f172a;
    --primary-800: #1e3a8a;
    --primary-600: #2563eb;
    --primary-500: #3b82f6;
    --primary-gradient-start: #0ea5e9;
    --primary-gradient-end: #2563eb;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --radius-pill: 999px;
    --nav-height: 72px;
    --container-width: 1200px;
    /* Legacy aliases */
    --primary-color: var(--primary-600);
    --primary-dark: var(--primary-800);
    --text-dark: var(--text-primary);
    --text-medium: var(--text-secondary);
    --text-light: var(--text-tertiary);
    --border-color: var(--border);
    --bg-white: var(--surface);
    --bg-light: var(--surface-muted);
    --red-50: #fef2f2;
    --red-100: #fee2e2;
    --red-400: #f87171;
    --red-500: #ef4444;
    --red-600: #dc2626;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sans-Serifs', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--page-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

ul {
    padding-left: 1.25rem;
    color: var(--text-secondary);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: left;
    margin-bottom: 2.5rem;
}

.section-header.centered {
    text-align: center;
}
.section-header.centered .section-title,
.section-header.centered .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 640px;
}

.anime-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.15) 1px, transparent 0);
    background-size: 120px 120px;
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.anime-grid.is-soft {
    background-size: 160px 160px;
    opacity: 0.35;
}

@media (max-width: 640px) {
    .anime-grid {
        opacity: 0;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 1.85rem;
    min-height: 50px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    letter-spacing: 0.01em;
}

.btn:focus-visible {
    outline: 3px solid rgba(14,165,233,0.35);
    outline-offset: 2px;
}

.btn-primary {
    background: linear-gradient(120deg, var(--primary-gradient-start), var(--primary-gradient-end));
    color: #fff;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.35);
    border-color: rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: var(--primary-600);
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.15);
}

.btn-secondary:hover {
    background: rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(148, 163, 184, 0.2);
    color: var(--text-primary);
}

.btn-large {
    min-height: 56px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.btn-stack {
    display: flex;
    gap: 0.75rem;
}

@media (max-width: 640px) {
    .btn-stack {
        flex-direction: column;
    }
    .btn-stack .btn {
        width: 100%;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-600);
}

.pill {
    border-radius: var(--radius-pill);
    padding: 0.5rem 1rem;
    background: var(--surface-muted);
    color: var(--text-secondary);
    font-weight: 600;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-sizing: content-box;
}

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

.brand-text-container {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    
}

.brand-text {
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.nav-brand .brand-text {
    color: #000;
}

.nav-brand .brand-powered {
    display: block;
    font-size: 0.68rem;
    color: #1d4ed8;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-top: 0.1rem;
}

.brand-powered .powered-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: #000;
    margin-right: 0.25rem;
    text-transform: uppercase;
}

.brand-subtext {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 0.35rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    border-radius: var(--radius-pill);
    background: var(--primary-600);
    transition: width 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-600);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-primary);
}

.profile-dropdown-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.profile-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.profile-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.profile-btn:hover,
.profile-dropdown-container.open .profile-btn {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.4);
    color: var(--primary-600);
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 0;
    min-width: 220px;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1200;
}

.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary-600);
}

.dropdown-divider {
    border: none;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    margin: 0.35rem 0;
}

@media (max-width: 960px) {
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        right: 0;
        left: 0;
        background: #fff;
        flex-direction: column;
        padding: 1.5rem;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
    }
    .nav-menu.active {
        transform: translateY(0);
    }
    .nav-toggle {
        display: flex;
    }
    .nav-menu li {
        width: 100%;
    }
    .nav-menu li a,
    .nav-menu li .btn {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Hero */
.hero {
    position: relative;
    padding-top: calc(var(--nav-height) + 1.5rem);
    padding-bottom: 4.5rem;
    background: radial-gradient(circle at top, rgba(14,165,233,0.3), transparent 45%), #030712;
    color: #fff;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.55;
    pointer-events: none;
}

.hero-gradient-top {
    top: -140px;
    right: -120px;
    background: #3b82f6;
}

.hero-gradient-bottom {
    bottom: -180px;
    left: -120px;
    background: #f97316;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3rem;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 640px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: var(--radius-pill);
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(15,23,42,0.65);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-pill {
    background: rgba(59,130,246,0.15);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.hero-title {
    font-size: clamp(2.5rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
}

.hero-subtitle {
    color: rgba(255,255,255,0.88);
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    line-height: 1.7;
}

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

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

.stat-item {
    padding: 1.35rem;
    border-radius: var(--radius-lg);
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148,163,184,0.3);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: center;
    text-align: center;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(248,250,252,0.75);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #facc15;
}

.hero-dashboard {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
    align-self: stretch;
    height: 100%;
}

.hero-media {
    border-radius: var(--radius-xl);
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    aspect-ratio: auto;
    background: none;
    border: none;
    box-shadow: none;
}

.hero-media img {
    border-radius: 32px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.hero .btn-secondary {
    background: transparent;
    border-color: rgba(255,255,255,0.35);
    color: #fff;
    box-shadow: none;
}

.hero .btn-secondary:hover {
    background: rgba(255,255,255,0.12);
}

.check-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.penalty-icon,
.benefit-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    color: var(--primary-600);
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--primary-600);
    margin-top: 4px;
}

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        text-align: center;
    }
    .hero-content {
        align-items: center;
    }
    .hero-cta {
        flex-direction: column;
    }
    .hero-cta .btn {
        width: 100%;
    }
    .hero-media {
        min-height: 320px;
    }
    .stat-item {
        text-align: center;
    }
}

/* Shared Card Styles */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

/* Importance & Penalties */
.importance-grid,
.penalties-grid,
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

/* Importance Cards */
.importance-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    text-align: center;
}

.importance-card p {
    text-align: center;
}

/* Penalty Cards */
.penalty-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.penalty-summary {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

/* Benefit Cards */
.benefit-item {
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.importance-card img,
.penalty-card img {
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.penalty-card h3 {
    margin-bottom: 0.5rem;
}

.penalty-amount,
.penalty-details,
.penalty-content,
.penalty-card img,
.penalty-note {
    display: none;
}

.penalties-dashboard {
    background: #fff;
}

.penalties-hero {
    background: linear-gradient(135deg, #b91c1c, #dc2626, #f97316);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 0.5rem 0.8rem;
    margin: 0 auto 1.0rem;
    max-width: 640px;
    box-shadow: 0 18px 40px rgba(220, 38, 38, 0.2);
    position: relative;
    overflow: hidden;
}

.penalties-hero::after,
.penalties-hero::before {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.25;
    pointer-events: none;
}

.penalties-hero::after {
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.25);
    top: -60px;
    right: -40px;
    filter: blur(20px);
}

.penalties-hero::before {
    width: 260px;
    height: 260px;
    background: rgba(248,113,113,0.3);
    bottom: -160px;
    left: -80px;
    filter: blur(40px);
}

.penalties-hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
    max-width: 620px;
    text-align: center;
    margin: 0 auto;
}

.penalties-hero-content h2 {
    color: #fff;
    font-size: clamp(1.5rem, 2vw, 2rem);
    margin-bottom: 0.75rem;
}

.penalties-hero-content p {
    color: #fff;
    font-size: 1rem;
    margin: 0;
}

.penalties-risk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.risk-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid rgba(100, 116, 139, 0.15);
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.08);
}

.risk-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.risk-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.risk-card h3 {
    margin: 0;
}

.risk-badge {
    margin-left: auto;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.85rem;
}

.risk-high .risk-icon {
    background: rgba(248, 113, 113, 0.15);
    color: var(--red-600);
}

.risk-high .risk-badge {
    background: rgba(248, 113, 113, 0.25);
    color: var(--red-600);
}

.risk-high {
    background: #fff5f5;
    border-color: rgba(248, 113, 113, 0.35);
}

.risk-medium .risk-icon {
    background: rgba(251, 191, 36, 0.18);
    color: #b45309;
}

.risk-medium .risk-badge {
    background: rgba(251, 191, 36, 0.25);
    color: #b45309;
}

.risk-medium {
    background: #fffaf0;
    border-color: rgba(251, 191, 36, 0.35);
}

.risk-intro {
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
}

.risk-card ul {
    padding-left: 1.25rem;
    color: var(--text-secondary);
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.risk-section {
    margin-bottom: 1.25rem;
}

.risk-section:last-child {
    margin-bottom: 0;
}

.risk-section-title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.risk-section-title svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: currentColor;
}

.risk-range-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.risk-range-list div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.65);
    border: 1px dashed rgba(148, 163, 184, 0.3);
}

.risk-range-list span {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.risk-range-list strong {
    color: var(--text-primary);
}

.risk-list {
    list-style: disc;
    padding-left: 1.25rem;
}

.risk-card.risk-high .risk-range-list div {
    background: rgba(254, 226, 226, 0.9);
    border-color: rgba(248, 113, 113, 0.35);
}

.risk-card.risk-medium .risk-range-list div {
    background: rgba(254, 243, 199, 0.9);
    border-color: rgba(251, 191, 36, 0.35);
}

.penalties-note {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.note-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--primary-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.penalties-note h4 {
    margin-bottom: 0.35rem;
}

@media (max-width: 768px) {
    .penalties-hero {
        padding: 2rem;
    }

    .penalties-hero-content {
        flex-direction: column;
    }

    .penalties-hero-stats {
        width: 100%;
    }
}

/* Requirements */
.requirements-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.law-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
}

.law-requirements {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.law-requirements li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.law-requirements svg {
    color: var(--primary-600);
    flex-shrink: 0;
}

/* Courses */
.courses-testing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.course-details-section {
    padding-top: calc(var(--nav-height) + 1.5rem);
    padding-bottom: 4rem;
}

.course-card,
.test-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.course-card img,
.test-card img {
    width: 100%;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.course-features,
.test-details {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.test-components {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.component-number {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37,99,235,0.12);
    color: var(--primary-600);
    font-weight: 700;
}

/* Compliance Advantage */
.compliance-section {
    background: #f8fafc;
}

.compliance-hero-panel {
    background: linear-gradient(120deg, #0f172a, #1d4ed8, #2563eb);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.35);
}

.compliance-hero-copy {
    flex: 1 1 320px;
}

.compliance-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.compliance-hero-copy h2 {
    font-size: clamp(2rem, 3vw, 2.85rem);
    margin: 0.75rem 0;
}

.compliance-hero-copy p {
    color: rgba(255,255,255,0.85);
    margin: 0;
}

.compliance-hero-stats {
    flex: 1 1 260px;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.compliance-hero-stats.single {
    justify-items: flex-start;
    grid-template-columns: minmax(0, 180px);
    max-width: 180px;
}

.compliance-hero-stats li {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.12);
    text-align: center;
}

.compliance-hero-stats span {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.8);
}

.compliance-hero-stats strong {
    display: block;
    font-size: 1.5rem;
    margin-top: 0.35rem;
}

.compliance-stat-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.compliance-stat-card {
    flex: 1 1 240px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.compliance-stat-card.tone-primary {
    border-color: rgba(59, 130, 246, 0.3);
}

.compliance-stat-card.tone-success {
    border-color: rgba(16, 185, 129, 0.3);
}

.compliance-stat-card.tone-warning {
    border-color: rgba(251, 146, 60, 0.3);
}

.compliance-stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    display: block;
    text-align: center;
}

.compliance-stat-value {
    display: block;
    font-size: 2rem;
    margin: 0.35rem 0;
    color: var(--text-primary);
}

.compliance-stat-card p {
    margin: 0;
    color: var(--text-secondary);
    text-align: center;
}

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

.compliance-feature-card {
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.compliance-feature-card .feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.12);
    color: var(--primary-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.compliance-feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: var(--text-secondary);
}

.compliance-feature-card ul li::before {
    content: '•';
    color: var(--primary-600);
    margin-right: 0.35rem;
}

.compliance-note-card {
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 1.25rem 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.compliance-note-card .note-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .compliance-hero-panel {
        padding: 2rem;
    }
    .compliance-hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

/* Training & Certification */
.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.training-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.training-card > .btn {
    margin-top: auto;
}

.training-card-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.training-card-header h3 {
    margin-bottom: 0.25rem;
}

.training-card-header p {
    color: var(--text-secondary);
    margin: 0;
}

.training-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.badge-free {
    background: rgba(16, 185, 129, 0.15);
    color: #047857;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-600);
    flex-shrink: 0;
}

.standards-panel {
    margin-top: var(--spacing-2xl);
    background: var(--surface-muted);
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.standards-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

.standard-item {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(148, 163, 184, 0.25);
    padding: 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.standard-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-pill);
    background: rgba(37, 99, 235, 0.12);
    color: var(--primary-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.standard-item h4 {
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
}

.standard-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.disclaimer-note {
    margin-top: var(--spacing-xl);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-style: italic;
}

/* Contact */
.contact-section {
    background: #fff;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-secondary);
}

input,
select,
textarea {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    min-height: 48px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--surface);
}

/* Password input wrapper */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    padding-right: 3rem;
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    transition: color 0.2s ease;
    outline: none;
}

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

.password-toggle:focus {
    color: var(--primary-600);
    outline: 2px solid rgba(37, 99, 235, 0.35);
    outline-offset: 2px;
    border-radius: 4px;
}

.password-toggle .eye-icon {
    display: block;
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

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

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(37, 99, 235, 0.35);
}

.contact-panel {
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.06);
    padding: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.contact-panel-copy {
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.contact-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.contact-panel-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.75rem);
}

.contact-panel-copy p {
    margin: 0;
    color: var(--text-secondary);
}

.contact-meta {
    flex: 1 1 280px;
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.contact-meta li {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    background: var(--surface);
    text-align: center;
}

.meta-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
    display: block;
    margin-bottom: 0.35rem;
}

.contact-meta strong {
    display: block;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.contact-meta p {
    margin: 0.35rem 0 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: center;
}

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

.contact-form-card,
.contact-details-card {
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.06);
    padding: 2rem;
}

.contact-card-header {
    margin-bottom: 1.25rem;
}

.contact-card-header h3 {
    margin-bottom: 0.35rem;
}

.contact-card-header p {
    margin: 0;
    color: var(--text-secondary);
}

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

.contact-form .form-group label {
    font-weight: 600;
    color: var(--text-secondary);
}

.contact-form textarea {
    resize: vertical;
}

.contact-channel {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
}

.contact-channel:first-of-type {
    border-top: none;
}

.channel-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.channel-icon svg {
    width: 24px;
    height: 24px;
}

.contact-channel strong {
    display: block;
    margin-bottom: 0.25rem;
}

.contact-channel p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-services {
    list-style: none;
    padding: 1rem 0 0;
    margin: 1rem 0 0;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.contact-services li::before {
    content: '•';
    color: var(--primary-600);
    margin-right: 0.35rem;
}

.contact-note {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .contact-panel {
        padding: 1.75rem;
    }
}

.checkbox-label input[type="checkbox"] {
    border: none;
    border-radius: 0;
    padding: 0;
    min-height: auto;
    width: 1rem;
    height: 1rem;
}

/* Test Instructions */
.test-shell {
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 4rem;
    background: #fff;
}

.test-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.test-hero {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.test-eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}

.test-hero h1 {
    font-size: clamp(2rem, 3vw, 2.75rem);
    color: var(--text-primary);
    margin: 0;
}

.test-hero p {
    color: var(--text-secondary);
    max-width: 640px;
}

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

.test-stat-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.test-stat-card .label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}

.test-stat-card .value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.test-stat-card .value.success {
    color: var(--success);
}

.test-stat-card .detail {
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

.test-sidebar {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    background: linear-gradient(160deg, rgba(14,165,233,0.08), rgba(37,99,235,0.08));
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.test-sidebar h2 {
    margin: 0;
    font-size: 1.25rem;
}

.test-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.test-checklist li {
    display: flex;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.test-checklist li::before {
    content: '•';
    color: var(--primary-600);
    font-weight: 700;
}

.test-reminder {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 1rem;
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(37, 99, 235, 0.5);
    background: rgba(255, 255, 255, 0.6);
}

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

.test-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.test-card-header {
    padding: 2rem 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.test-card-header h3 {
    margin: 0;
    font-size: 1.35rem;
}

.test-card-header p {
    color: var(--text-secondary);
    margin: 0;
}

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

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

.policy-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.75rem;
}

.policy-grid ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.section-list {
    display: flex;
    flex-direction: column;
}

.section-list article {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem;
    align-items: center;
    border-top: 1px solid var(--border);
}

.section-list article:first-of-type {
    border-top: none;
}

.section-list h4 {
    margin: 0 0 0.35rem;
}

.section-list p {
    margin: 0;
    color: var(--text-secondary);
}

.badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-secondary);
    background: rgba(37,99,235,0.08);
}

.test-form-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
}

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

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

.test-form .form-group label {
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: inline-flex;
    gap: 0.25rem;
    align-items: center;
}

.required {
    color: var(--danger);
}

.test-form .form-group input,
.test-form .form-group select {
    width: 100%;
    border-radius: var(--radius-md);
}

.test-form input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    min-height: auto;
    padding: 0;
    border-radius: 0.2rem;
}

.checkbox-field {
    margin-top: 0.5rem;
}

.acknowledge-label {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.acknowledge-label input {
    width: 0.9rem;
    height: 0.9rem;
    margin-top: 0.4rem;
    flex-shrink: 0;
}

.acknowledge-label span {
    flex: 1;
    line-height: 1.6;
}

.test-form-card .form-error {
    display: none;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

#startTestButtonContainer {
    display: none;
}

#startTestButtonContainer .btn {
    width: 100%;
    min-height: 48px;
}

@media (max-width: 1024px) {
    .test-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .test-card-header,
    .section-list article,
    .test-card-body {
        padding: 1.25rem;
    }

    .badge {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}

/* Auth */
.auth-hero {
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 4rem;
}

.auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
}

.auth-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.auth-card h2 {
    margin-bottom: 1rem;
}

.benefits-panel {
    background: linear-gradient(160deg, rgba(14,165,233,0.15), rgba(37,99,235,0.2));
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    border: 1px solid rgba(37, 99, 235, 0.25);
}

.auth-tabs {
    display: inline-flex;
    padding: 0.25rem;
    border-radius: var(--radius-pill);
    background: var(--surface-muted);
    margin-bottom: 1.75rem;
    gap: 0.25rem;
}

.auth-tab {
    border: none;
    background: transparent;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
}

.auth-tab.active {
    background: var(--surface);
    color: var(--primary-600);
    box-shadow: var(--shadow-sm);
}

.auth-message {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    font-weight: 600;
}

.auth-message-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.auth-message-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.auth-message-close {
    border: none;
    background: transparent;
    font-size: 1.25rem;
    cursor: pointer;
    color: inherit;
}

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

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.auth-divider {
    text-align: center;
    position: relative;
    margin: 1.5rem 0;
    color: var(--text-tertiary);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-switch {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.auth-switch a {
    color: var(--primary-600);
    font-weight: 600;
}

.form-error {
    color: var(--danger);
    font-weight: 600;
    min-height: 1.25rem;
}

.hidden {
    display: none !important;
}

.benefits-toggle {
    display: none;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 0.85rem 1.25rem;
    background: var(--surface);
    color: var(--text-primary);
    font-weight: 600;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.toggle-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-top: 1.5rem;
    background: var(--surface);
}

/* Terms */
.terms-shell {
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 4rem;
}

.terms-body {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 1rem;
    margin-bottom: 2rem;
}

.policy-callout {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid var(--primary-600);
    background: var(--surface-muted);
    border-radius: var(--radius-md);
}

.policy-callout h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-600);
}

/* Impact Section */
.eyebrow-heading {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.impact-section {
    background: var(--surface);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.impact-outcomes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.impact-outcome-card {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface-muted);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.impact-outcome-card h3 {
    margin: 0;
    font-size: 1.125rem;
    color: var(--text-primary);
}

.impact-outcome-card p {
    margin: 0;
    color: var(--text-secondary);
}

.impact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.impact-icon svg {
    width: 24px;
    height: 24px;
}

.impact-stats {
    border: 1px solid transparent;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(236,72,153,0.1));
    box-shadow: 0 20px 40px rgba(15,23,42,0.08);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.impact-stats::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(59,130,246,0.5), rgba(16,185,129,0.5), rgba(236,72,153,0.5));
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.impact-stats-header {
    text-align: center;
    position: relative;
}

.impact-stats-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.impact-bar-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.impact-bar-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.impact-bar-label span {
    font-weight: 600;
    color: var(--text-primary);
}

.impact-bar-track {
    width: 100%;
    height: 10px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    overflow: hidden;
}

.impact-bar-fill {
    height: 100%;
    width: var(--impact-progress, 80%);
    background: linear-gradient(90deg, var(--primary-gradient-start), var(--primary-gradient-end));
    border-radius: inherit;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.impact-bar:nth-child(1) .impact-bar-fill {
    background: linear-gradient(90deg, #f472b6, #fb7185);
}

.impact-bar:nth-child(2) .impact-bar-fill {
    background: linear-gradient(90deg, #34d399, #10b981);
}

.impact-bar:nth-child(3) .impact-bar-fill {
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
}

.impact-bar:nth-child(4) .impact-bar-fill {
    background: linear-gradient(90deg, #fbbf24, #f97316);
}

.impact-testimonial {
    border-radius: var(--radius-xl);
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(16,185,129,0.15), rgba(236,72,153,0.15));
    box-shadow: 0 25px 60px rgba(15,23,42,0.18);
    padding: 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
}

.impact-testimonial::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(59,130,246,0.3), rgba(14,165,233,0.3), rgba(244,114,182,0.3));
    opacity: 0.6;
    filter: blur(30px);
}

.impact-testimonial::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(59,130,246,0.6), rgba(251,191,36,0.6), rgba(236,72,153,0.6));
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.impact-testimonial-copy {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.impact-testimonial-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.impact-testimonial-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: testimonial-marquee 28s linear infinite;
}

.impact-testimonial-card {
    flex: 0 0 320px;
    background: rgba(255,255,255,0.92);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: 0 12px 30px rgba(15,23,42,0.15);
    text-align: left;
    color: var(--text-primary);
}

.impact-testimonial-card p {
    margin: 0 0 1rem;
    color: var(--text-secondary);
}

.impact-testimonial-card strong {
    display: block;
    font-size: 1rem;
    color: var(--text-primary);
}

@keyframes testimonial-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.impact-testimonial h3 {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--text-primary);
}

.impact-testimonial p {
    margin: 0 0 1.5rem;
    color: var(--text-secondary);
}

.impact-testimonial-author strong {
    display: block;
    font-size: 1rem;
    color: var(--text-primary);
}

.impact-testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .impact-outcomes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .impact-testimonial-track {
        animation-duration: 36s;
    }
}

@media (max-width: 640px) {
    .impact-outcomes {
        grid-template-columns: 1fr;
    }

    .impact-stats {
        padding: 1.5rem;
    }

    .impact-testimonial {
        padding: 1.75rem;
    }

    .impact-testimonial-card {
        flex: 0 0 260px;
    }
}

.acceptance-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

/* Course & Modules */
.video-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: #000;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.module-list,
.syllabus-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.module-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.module-card .actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .module-card .actions {
        flex-direction: column;
    }
}

.sticky-cta {
    position: sticky;
    bottom: 0;
    background: rgba(248, 250, 252, 0.9);
    backdrop-filter: blur(8px);
    padding: 1rem 0;
}

/* Account & Orders */
.dashboard-shell {
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 4rem;
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.dashboard-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.header-copy {
    max-width: 640px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.button-set {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.button-set-stack .btn {
    min-width: 180px;
}

.button-set-fluid {
    justify-content: flex-start;
}

.button-set-fluid .btn {
    flex: 1 1 180px;
}

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

.summary-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.summary-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}

.summary-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.summary-detail {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.orders-page {
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 4rem;
    background: #ffffff;
}

.orders-hero-panel {
    background: linear-gradient(120deg, #1d4ed8, #2563eb, #38bdf8);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 40px 80px rgba(220, 38, 38, 0.25);
    margin-bottom: 2.5rem;
}

.orders-hero-copy {
    flex: 1 1 320px;
}

.orders-hero-copy h1 {
    font-size: clamp(2rem, 3vw, 2.75rem);
    margin-bottom: 0.75rem;
    color: #fff;
}

.orders-hero-copy p {
    color: rgba(255,255,255,0.85);
    max-width: 520px;
    margin-bottom: 1.25rem;
}

.orders-hero-eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.orders-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.orders-hero-actions .hero-secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.35);
}
.orders-hero-actions .hero-secondary:hover {
    background: rgba(255,255,255,0.25);
}

.orders-stat-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.orders-stat-card {
    flex: 1 1 240px;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.08);
    background: #fff;
    text-align: center;
}

.orders-stat-card.tone-primary {
    border-color: rgba(59, 130, 246, 0.25);
}

.orders-stat-card.tone-success {
    border-color: rgba(16, 185, 129, 0.25);
}

.orders-stat-card.tone-warning {
    border-color: rgba(251, 146, 60, 0.25);
}

.orders-stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.5rem;
}

.orders-stat-value {
    font-size: 2rem;
    margin: 0.35rem 0;
    color: var(--text-primary);
}

.orders-list,
.account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.order-card {
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 35px 60px rgba(15, 23, 42, 0.08);
}

.order-card.expanded {
    padding: 2rem;
}

.leaderboard-page {
    background: #f8fafc;
}

.leaderboard-hero {
    position: relative;
    overflow: hidden;
}

.leaderboard-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(191, 219, 254, 0.35), transparent 55%);
    pointer-events: none;
}

.leaderboard-hero-metric {
    flex: 1 1 240px;
    background: rgba(255,255,255,0.18);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
}

.leaderboard-hero-metric h2 {
    margin: 0.4rem 0;
    color: #fff;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.leaderboard-hero-metric .metric-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
}

.leaderboard-hero-metric .metric-sub {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}

.leaderboard-stat-grid .orders-stat-detail {
    margin-top: 0.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.leaderboard-table-card {
    margin-top: 1.5rem;
}

.leaderboard-table-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.leaderboard-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.leaderboard-last-updated {
    margin-top: 0.35rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.leaderboard-table-wrapper {
    overflow-x: auto;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table th,
.leaderboard-table td {
    padding: 0.9rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 0.95rem;
    color: #0f172a;
}

.leaderboard-table th {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: #475569;
    background: #f8fafc;
}

.leaderboard-table td.score {
    text-align: right;
    font-weight: 700;
}

.leaderboard-table tbody tr {
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.leaderboard-table tbody tr:hover {
    background: rgba(226, 232, 240, 0.35);
}

.driver-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.driver-name {
    font-weight: 600;
    color: #0f172a;
}

.driver-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(16, 185, 129, 0.15);
    color: #047857;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-weight: 600;
}

.my-driver-row {
    background: rgba(16, 185, 129, 0.08);
    position: relative;
}

.my-driver-row::before {
    content: '';
    position: absolute;
    inset: 0;
    border-left: 4px solid #059669;
    border-radius: inherit;
    pointer-events: none;
}

.lb-empty,
.lb-error {
    text-align: center;
    padding: 1.5rem;
    color: #64748b;
    font-style: italic;
}

.lb-error {
    color: #b91c1c;
    font-weight: 600;
    font-style: normal;
}

@media (max-width: 640px) {
    .leaderboard-hero {
        padding: 1.75rem;
    }
    .leaderboard-head-actions {
        width: 100%;
        justify-content: flex-start;
    }
    .leaderboard-table th,
    .leaderboard-table td {
        padding: 0.75rem;
    }
}

.order-detail-page .order-card {
    max-width: 760px;
    margin: 0 auto;
}

.order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.order-detail-flash {
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.95rem;
}

.order-detail-flash.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.order-notes {
    background: #f8fafc;
    border: 1px dashed rgba(15, 23, 42, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.info-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.order-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.order-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}

.order-card-top h3 {
    margin: 0;
    font-size: 1.75rem;
    color: var(--text-primary);
}

.order-status-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

.order-status-badge {
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.85rem;
    background: var(--badge-bg, var(--surface-muted));
    color: var(--badge-color, var(--text-primary));
}

.order-placed {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}
.order-placed strong {
    color: var(--text-primary);
}

.order-product h4 {
    margin: 0.35rem 0;
}

.order-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius-lg);
    background: var(--surface-muted);
}

.order-detail-label {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 0 0 0.25rem;
}

.order-detail-value {
    margin: 0;
    font-weight: 600;
    color: var(--text-primary);
}

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

.header-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
}

.info-card-header h2 {
    margin: 0;
    font-size: 1.4rem;
}

.eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin: 0;
}

.eyebrow-subtext {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0.25rem 0 0;
}

.data-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
}

.data-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 1rem;
}

.data-label {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.data-value {
    margin: 0;
    font-weight: 600;
    color: var(--text-primary);
}

.data-value--multiline {
    white-space: pre-wrap;
}

.empty-state {
    color: var(--text-secondary);
    margin: 0;
}

.order-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.order-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.orders-empty-card {
    text-align: center;
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px dashed rgba(148, 163, 184, 0.4);
    padding: 3rem 2rem;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2), 0 25px 45px rgba(15, 23, 42, 0.06);
}

.orders-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    background: rgba(148, 163, 184, 0.15);
    color: var(--primary-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.orders-empty-icon svg {
    width: 36px;
    height: 36px;
}

.orders-empty-card h3 {
    margin-bottom: 0.5rem;
}

.orders-empty-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.orders-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* Course Page */
.course-page {
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 4rem;
    background: #fff;
}

.course-hero-panel {
    background: linear-gradient(120deg, #1d4ed8, #2563eb, #38bdf8);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    color: #fff;
    margin-bottom: 2.5rem;
    box-shadow: 0 40px 80px rgba(37, 99, 235, 0.3);
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.course-hero-copy {
    flex: 1 1 320px;
}

.course-hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.course-hero-copy h1 {
    font-size: clamp(2rem, 3vw, 2.85rem);
    margin: 0.75rem 0;
}

.course-hero-copy p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.25rem;
}

.course-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.course-hero-actions .btn {
    min-width: 220px;
    justify-content: center;
}

.course-hero-actions .course-cta-btn {
    background: linear-gradient(120deg, #059669, #10b981, #34d399);
    border-color: transparent;
    box-shadow: 0 18px 35px rgba(5, 150, 105, 0.35);
    letter-spacing: 0.01em;
}

.course-hero-actions .course-cta-btn:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 22px 40px rgba(16, 185, 129, 0.45);
}

.course-hero-actions .course-cta-btn:focus-visible {
    outline: 3px solid rgba(16, 185, 129, 0.45);
    outline-offset: 3px;
}

.course-hero-secondary {
    display: none;
}

.course-hero-stats {
    flex: 1 1 260px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.course-hero-stats li {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.15);
}

.course-hero-stats span {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.course-hero-stats strong {
    display: block;
    color: #fff;
    font-size: 1.5rem;
    margin-top: 0.35rem;
}

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

.course-block {
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 1.75rem;
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.course-block h2 {
    margin: 0;
}

.course-mini-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    color: var(--text-secondary);
}

.course-mini-list li::before {
    content: '•';
    color: var(--primary-600);
    margin-right: 0.4rem;
}

.course-step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.course-step-list li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-left: 0;
}

.course-step-list strong {
    color: var(--text-primary);
}

.course-step-list span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.course-quick-facts {
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.course-quick-facts div {
    background: var(--surface-muted);
    border-radius: var(--radius-md);
    padding: 0.85rem;
    text-align: center;
}

.course-quick-facts span {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.course-quick-facts strong {
    display: block;
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-top: 0.35rem;
}

.course-footnote {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 768px) {
    .course-hero-panel {
        padding: 2rem;
    }
    .course-hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 640px) {
    .data-row {
        grid-template-columns: 1fr;
    }
    .button-set {
        flex-direction: column;
        align-items: stretch;
    }
    .button-set .btn {
        width: 100%;
    }
    .order-actions {
        flex-direction: column;
    }
    .orders-hero-panel {
        padding: 2rem;
    }
    .order-status-group {
        align-items: flex-start;
    }
}

.quick-actions-card {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

/* Footer */
.footer {
    background: #0f172a;
    color: rgba(255,255,255,0.8);
    padding: 3rem 0;
    margin-top: 4rem;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    text-align: center;
}

.footer-brand .brand-text-container {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    text-align: center;
}

.footer-section {
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-section h4 {
    font-size: 1rem;
    margin: 0;
    color: #fff;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section--center {
    text-align: center;
}

.footer-section--center ul {
    align-items: center;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(148,163,184,0.2);
    padding-top: 1.5rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .auth-grid,
    .requirements-content {
        grid-template-columns: 1fr;
    }
    .benefits-toggle {
        display: inline-flex;
    }
    .benefits-panel[data-collapsed='true'] {
        display: block;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }
    .acceptance-bar,
    .order-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }
    .hero {
        padding-top: calc(var(--nav-height) + 1.5rem);
    }
    .contact-content,
    .courses-testing-grid,
    .importance-grid,
    .penalties-grid,
    .benefits-grid,
    .orders-list,
    .account-grid {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    .section-header {
        text-align: left;
    }
}
