:root {
    --bg-pure-white: #ffffff;
    --bg-soft-white: #f8fafc;
    --text-charcoal: #334155;
    --border-light: #e2e8f0;
    --accent-blue: #2563eb;
    --accent-emerald: #10b981;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text-charcoal);
    background-color: var(--bg-soft-white);
}

/* ── Universal Sticky Navigation Footer ── */
/*
 * Layout: 3-column CSS Grid.
 *   Column 1 (1fr) — Back button, pinned to the left rail.
 *   Column 2 (auto) — Contact info, self-centered.
 *   Column 3 (1fr) — Next button, pinned to the LEFT EDGE of its column.
 *
 * Because columns 1 and 3 are equal 1fr fractions, the left edge of column 3
 * is always at (footer_inner_width + contact_width) / 2 — a value that depends
 * only on viewport width, never on the button's own text length.
 * justify-content: space-between is intentionally removed: it was the cause of
 * the right button drifting left whenever the label text grew longer.
 */
.step-navigation-footer {
    position: fixed;
    bottom: 0;
    left: var(--sidebar-width, 0px);
    width: calc(100% - var(--sidebar-width, 0px));
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid #dee2e6;
    padding: 15px 250px 15px 50px;
    z-index: 1050;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

/* Back button: hugs the left rail — never moves. */
.step-navigation-footer > :first-child {
    justify-self: start;
}

/* Contact block: always centered in the middle column. */
.step-navigation-footer > :nth-child(2) {
    justify-self: center;
}

/* Next/Step button: left edge locked to column 3's left boundary,
 * then pulled 1 inch (96px) toward centre. */
.step-navigation-footer > :last-child {
    justify-self: start;
    margin-left: 56px;
}

.footer-spacer {
    height: 80px;
    width: 100%;
}

.step-navigation-footer .btn {
    min-width: 180px;
    font-weight: 600;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.step-navigation-footer .btn-outline-secondary {
    background: var(--bg-soft-white);
    color: var(--text-charcoal);
    border: 1px solid var(--border-light);
}

.step-navigation-footer .btn-outline-secondary:hover {
    background: #e2e8f0;
    color: var(--text-charcoal);
}

.step-navigation-footer .btn-primary {
    background: var(--accent-blue);
    color: #fff;
    border: none;
}

.step-navigation-footer .btn-primary:hover {
    background: #2563eb;
    color: #fff;
}

/* ── Footer contact block ── */
.footer-contact {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-slate);
}

.footer-contact-label {
    font-size: 1.1rem;
}

.footer-contact-link {
    display: inline-block;
    margin-left: 8px;
    padding: 6px 14px;
    color: #000;
    background: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: background 0.2s, color 0.2s;
}

.footer-contact-link:hover {
    background: #000;
    color: #fff;
}

/* ── Introduction / Landing Page ── */
.intro-container {
    background-color: var(--bg-pure-white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.intro-card {
    max-width: 900px;
    width: 100%;
    background: var(--bg-pure-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 60px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.path-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.path-card.recommended {
    border: 2px solid var(--accent-emerald);
    position: relative;
}

.badge-recommended {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent-emerald);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Registration UI ── */
.reg-type-container {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}

.reg-type-btn {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #666;
    transition: all 0.2s;
}

.reg-type-btn.active {
    border-color: #2e7d32;
    background: #e8f5e9;
    color: #1b5e20;
}

.disclosure-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}
