/* ══════════════════════════════════════════════════
   All Inspections Academy — Design System
   ══════════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── Variables ── */
:root {
    /* Brand Colors — professional, trustworthy, education-forward */
    --navy: #1a365d;
    --navy-light: #2a4a7f;
    --blue: #2b6cb0;
    --blue-light: #4299e1;
    --blue-pale: #ebf4ff;
    --gold: #d69e2e;
    --gold-light: #ecc94b;
    --gold-pale: #fefcbf;
    --green: #276749;
    --green-light: #48bb78;
    --red: #c53030;
    --red-light: #fc8181;

    /* Neutrals */
    --gray-50: #f7fafc;
    --gray-100: #edf2f7;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e0;
    --gray-400: #a0aec0;
    --gray-500: #718096;
    --gray-600: #4a5568;
    --gray-700: #2d3748;
    --gray-800: #1a202c;
    --white: #ffffff;

    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --font-heading: 'Georgia', 'Times New Roman', serif;

    /* Spacing */
    --container-max: 1200px;
    --container-narrow: 800px;
    --section-pad: 80px;
    --section-pad-mobile: 48px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--gray-700);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--navy); line-height: 1.3; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }

/* ── Layout ── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-pad) 0;
}

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

/* ── Header / Nav ── */
.site-header {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
    overflow: visible;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px 0 20px;
    max-width: var(--container-max);
    margin: 0 auto;
    height: 72px;
}

.nav-brand {
    color: var(--white);
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 101;
}

.nav-logo {
    height: 40px;
    width: 40px;
    flex-shrink: 0;
}

.nav-brand:hover { text-decoration: none; opacity: 0.9; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
}

.nav-links a[href="/trueinspect"]::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url('/static/img/trueinspect-icon-white.png') center/contain no-repeat;
    vertical-align: middle;
    margin-right: 4px;
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.1);
    text-decoration: none;
}

.nav-links a.active {
    color: var(--white);
    background: rgba(255,255,255,0.15);
}

.nav-links .nav-cta {
    background: var(--gold);
    color: var(--navy);
    font-weight: 600;
    margin-left: 8px;
}

.nav-links .nav-cta:hover {
    background: var(--gold-light);
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 12px 24px 20px;
        gap: 2px;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.open { display: flex; }

    .nav-links a {
        width: 100%;
        padding: 12px 14px;
    }

    .nav-links .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }
}

/* ── Page Header (navy bar below nav) ── */
.page-header {
    background: var(--navy);
    color: var(--white);
    padding: 48px 0;
}

.page-header .container {
    padding-left: 172px;
}

.page-header h1 { color: var(--white); }

.page-header p { opacity: 0.8; margin-top: 8px; }

@media (max-width: 768px) {
    .page-header .container {
        padding-left: 24px;
    }
}

/* ── Hero ── */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 2.75rem;
    margin-bottom: 16px;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero .btn { font-size: 1.1rem; padding: 14px 32px; }

@media (max-width: 768px) {
    .hero { padding: 56px 0; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1.05rem; }
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
    text-align: center;
}

.btn:hover { text-decoration: none; }

.btn-primary {
    background: var(--blue);
    color: var(--white);
}
.btn-primary:hover { background: var(--navy-light); }

.btn-gold {
    background: var(--gold);
    color: var(--navy);
}
.btn-gold:hover { background: var(--gold-light); }

.btn-outline {
    background: transparent;
    border: 2px solid var(--blue);
    color: var(--blue);
}
.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--navy);
}
.btn-white:hover { background: var(--gray-100); }

.btn-sm { padding: 6px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }

/* ── Cards ── */
.card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-body { padding: 24px; }

.card-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--gray-100);
}

.card-title {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.card-text {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ── Grid ── */
.grid {
    display: grid;
    gap: 24px;
}

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

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

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

/* ── Badges ── */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-blue { background: var(--blue-pale); color: var(--blue); }
.badge-gold { background: var(--gold-pale); color: #92400e; }
.badge-green { background: #c6f6d5; color: var(--green); }
.badge-free { background: #c6f6d5; color: var(--green); }

/* ── Forms ── */
.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-sans);
    outline: none;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

textarea.form-control { min-height: 120px; resize: vertical; }

/* ── Empty State ── */
.empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--gray-400);
}

.empty-state h3 { color: var(--gray-500); margin-bottom: 8px; }
.empty-state p { margin-bottom: 24px; }

/* ── Footer ── */
.site-footer {
    background: var(--gray-800);
    color: rgba(255,255,255,0.7);
    padding: 48px 0 24px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    object-fit: cover;
    flex-shrink: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 360px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 8px; }

.footer-col a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); text-decoration: none; }

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

/* ── Feature List (for cross-sell, about) ── */
.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    border-bottom: 1px solid var(--gray-100);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green-light);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ── Price Display ── */
.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
}

.price .currency { font-size: 1rem; vertical-align: top; }
.price .period { font-size: 0.875rem; color: var(--gray-400); font-weight: 400; }

/* ── Alert / Banner ── */
.banner {
    background: var(--blue-pale);
    border-left: 4px solid var(--blue);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.banner-gold {
    background: var(--gold-pale);
    border-left-color: var(--gold);
}

/* ── Utility ── */
.text-center { text-align: center; }
.text-muted { color: var(--gray-500); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

/* ══════════════════════════════════════════════════
   Visual Enhancements — Animations, Patterns, Depth
   ══════════════════════════════════════════════════ */

/* ── Scroll Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.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; }
.reveal-delay-4 { transition-delay: 0.4s; }

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ── Enhanced Hero ── */
.hero {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 40%, #2a4a7f 70%, #1a4a8a 100%);
    color: var(--white);
    padding: 100px 0 110px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(66, 153, 225, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(214, 158, 46, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(66, 153, 225, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero .btn {
    font-size: 1.1rem;
    padding: 16px 36px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Floating decorative orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero-orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(214, 158, 46, 0.08) 0%, transparent 70%);
    top: -80px;
    right: -60px;
    animation: float 8s ease-in-out infinite;
}

.hero-orb-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(66, 153, 225, 0.1) 0%, transparent 70%);
    bottom: -40px;
    left: 10%;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-orb-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    top: 30%;
    left: -30px;
    animation: float 12s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    33% { transform: translateY(-15px) translateX(8px); }
    66% { transform: translateY(10px) translateX(-5px); }
}

@media (max-width: 768px) {
    .hero { padding: 64px 0 72px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.05rem; }
    .hero-orb { display: none; }
}

/* ── Enhanced Page Header ── */
.page-header {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 60%, #2a4a7f 100%);
    color: var(--white);
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* ── Icon Containers ── */
.icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.icon-circle-blue {
    background: linear-gradient(135deg, var(--blue-pale) 0%, #dbeafe 100%);
    color: var(--blue);
    box-shadow: 0 4px 12px rgba(43, 108, 176, 0.15);
}

.icon-circle-gold {
    background: linear-gradient(135deg, var(--gold-pale) 0%, #fef3c7 100%);
    color: var(--gold);
    box-shadow: 0 4px 12px rgba(214, 158, 46, 0.15);
}

.icon-circle-green {
    background: linear-gradient(135deg, #c6f6d5 0%, #9ae6b4 30%, #c6f6d5 100%);
    color: var(--green);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.15);
}

.card:hover .icon-circle {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(43, 108, 176, 0.25);
}

/* ── Enhanced Cards ── */
.card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border: 1px solid var(--gray-100);
}

.card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

/* ── Enhanced Buttons ── */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    text-decoration: none;
    text-align: center;
    position: relative;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, #e6ac00 100%);
    color: var(--navy);
    box-shadow: 0 2px 8px rgba(214, 158, 46, 0.3);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    box-shadow: 0 4px 15px rgba(214, 158, 46, 0.4);
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue) 0%, var(--navy-light) 100%);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(43, 108, 176, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue) 100%);
    box-shadow: 0 4px 15px rgba(43, 108, 176, 0.4);
    transform: translateY(-1px);
}

/* ── Section Patterns ── */
.section-alt {
    background: var(--gray-50);
    position: relative;
}

.section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(0,0,0,0.02) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
}

/* ── Stat / Number Highlight ── */
.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

/* ── Credential / Certification Badge Row ── */
.credential-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.credential-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--blue-pale);
    border-radius: 24px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
    border: 1px solid rgba(43, 108, 176, 0.15);
}

.credential-badge svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
    flex-shrink: 0;
}

/* ── Glowing accent line ── */
.glow-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    margin: 16px auto 0;
    box-shadow: 0 0 12px rgba(214, 158, 46, 0.3);
}

/* ── Instructor Photo Placeholder ── */
.instructor-photo-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--blue-pale) 0%, #dbeafe 50%, var(--blue-pale) 100%);
}

.instructor-photo-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 3px solid rgba(214, 158, 46, 0.2);
    pointer-events: none;
}

/* ── Enhanced Feature List ── */
.feature-list li {
    padding: 14px 0;
    padding-left: 36px;
    position: relative;
    border-bottom: 1px solid var(--gray-100);
    transition: padding-left 0.2s ease;
}

.feature-list li:hover {
    padding-left: 40px;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #c6f6d5, #9ae6b4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-list li::after {
    content: "\2713";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--green);
    font-weight: 700;
    font-size: 0.75rem;
}

/* ── Wave Section Divider ── */
.wave-divider {
    position: relative;
    height: 60px;
    overflow: hidden;
    margin-top: -1px;
}

.wave-divider svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
}

/* ── Subtle Background Glow for CTA Sections ── */
.section-glow {
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 40%, #2a4a7f 70%, #1a4a8a 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.section-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(214, 158, 46, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(66, 153, 225, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.section-glow .container { position: relative; z-index: 2; }
.section-glow h2 { color: var(--white); }
.section-glow p { color: rgba(255,255,255,0.8); }


/* ══════════════════════════════════════════════════
   Accessibility — WCAG 2.1 AA
   ══════════════════════════════════════════════════ */

/* Skip navigation link — visible on focus only */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--navy);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 16px;
}

/* Screen-reader-only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--blue-light);
    outline-offset: 2px;
}

.btn:focus-visible {
    outline: 3px solid var(--blue-light);
    outline-offset: 2px;
    box-shadow: 0 0 0 5px rgba(66, 153, 225, 0.25);
}

.nav-links a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Improve contrast on gray-400 usage (from ~3.3:1 to ~4.6:1) */
.seats-left, .class-date .year, .price .period {
    color: var(--gray-500);
}
