@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0F4C81; /* Deep Trust Blue */
    --primary-dark: #0A3A66;
    --primary-light: rgba(15, 76, 129, 0.1);
    --bg-main: #F8FAFC; /* Trust & Care Surface */
    --sidebar-bg: #FFFFFF;
    --card-bg: #FFFFFF;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --accent-blue: #0F4C81;
    --accent-cyan: #01B574;
    --accent-orange: #FF6B35; /* Action/Safety Orange */
    --success: #047857;
    --success-bg: #E2F9F0;
    --warning: #92400E;
    --warning-bg: #FFF5E6;
    --danger: #FF4D4D;
    --danger-bg: rgba(255, 77, 77, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(15, 76, 129, 0.1);
    --shadow: 0 10px 30px rgba(15, 76, 129, 0.05);
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
}

.layout-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 290px;
    background: var(--sidebar-bg);
    padding: 30px 20px;
    position: fixed;
    height: 100vh;
    border-right: 1px solid #E9EDF7;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    padding-left: 10px;
}

.sidebar-logo-image {
    height: 40px;
    width: auto;
    mix-blend-mode: multiply;
}

.logo-text {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-main);
}

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

.nav-item {
    margin-bottom: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

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

.nav-link.active::after {
    content: '';
    width: 4px;
    height: 30px;
    background: var(--primary);
    position: absolute;
    right: 0;
    border-radius: 4px 0 0 4px;
}

/* Main Content */
.main-content {
    margin-left: 290px;
    padding: 30px;
    flex-grow: 1;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.page-title h1 {
    font-size: 34px;
    font-weight: 700;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.search-box {
    background: var(--bg-main);
    border-radius: 20px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    padding-left: 10px;
    color: var(--text-main);
}

/* Cards */
.card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    border: none;
}

.hero-card {
    background: linear-gradient(135deg, #0052FF 0%, #003EB3 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-card::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.btn-primary {
    background: var(--accent-orange);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #e55a2b;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* Grids */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
}

/* Components */
.badge {
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
}


/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 1024px) {
    .sidebar {
        width: 70px;
        overflow: hidden;
    }
    .sidebar .logo-text,
    .sidebar .nav-link span,
    .sidebar .sidebar-footer form button span {
        display: none;
    }
    .sidebar .nav-link {
        justify-content: center;
        padding: 12px;
    }
    .sidebar .nav-link i {
        margin: 0;
        font-size: 18px;
    }
    .main-content {
        margin-left: 70px;
    }
    .dashboard-grid {
        grid-template-columns: 1fr !important;
    }
    .right-section {
        order: -1;
    }
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    .main-content {
        margin-left: 0;
    }
    .top-bar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start !important;
    }
    .top-actions {
        width: 100%;
    }
    .search-box {
        width: 100%;
    }
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── Standardized Components ──────────────── */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
}

.card-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.card-body {
    padding: 0;
}

.avatar-standard {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-main);
    color: var(--primary);
    font-weight: 700;
}

.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--bg-main); color: var(--primary); }

.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: #E53E3E !important; }
.text-white { color: #FFFFFF !important; }
.text-inherit { color: inherit !important; }
.text-main { color: var(--text-main) !important; }
.text-muted { color: var(--text-muted) !important; }

.opacity-80 { opacity: 0.8; }
.opacity-70 { opacity: 0.7; }
.opacity-50 { opacity: 0.5; }
.opacity-30 { opacity: 0.3; }

.img-fit {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fw-700 { font-weight: 700 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-500 { font-weight: 500 !important; }
.fw-400 { font-weight: 400 !important; }

.fs-8 { font-size: 8px !important; }
.fs-10 { font-size: 10px !important; }
.fs-11 { font-size: 11px !important; }
.fs-12 { font-size: 12px !important; }
.fs-13 { font-size: 13px !important; }
.fs-14 { font-size: 14px !important; }
.fs-15 { font-size: 15px !important; }
.fs-16 { font-size: 16px !important; }
.fs-18 { font-size: 18px !important; }
.fs-20 { font-size: 20px !important; }
.fs-22 { font-size: 22px !important; }
.fs-24 { font-size: 24px !important; }
.fs-26 { font-size: 26px !important; }
.fs-28 { font-size: 28px !important; }
.fs-30 { font-size: 30px !important; }
.fs-32 { font-size: 32px !important; }
.fs-36 { font-size: 36px !important; }
.fs-40 { font-size: 40px !important; }

.gap-6 { gap: 6px !important; }
.gap-8 { gap: 8px !important; }
.gap-10 { gap: 10px !important; }
.gap-12 { gap: 12px !important; }
.gap-15 { gap: 15px !important; }
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }

.m-0 { margin: 0 !important; }
.m-b-5 { margin-bottom: 5px !important; }
.m-b-6 { margin-bottom: 6px !important; }
.m-b-8 { margin-bottom: 8px !important; }
.m-b-10 { margin-bottom: 10px !important; }
.m-b-15 { margin-bottom: 15px !important; }
.m-b-16 { margin-bottom: 16px !important; }
.m-b-18 { margin-bottom: 18px !important; }
.m-b-20 { margin-bottom: 20px !important; }
.m-b-24 { margin-bottom: 24px !important; }
.m-b-25 { margin-bottom: 25px !important; }
.m-b-30 { margin-bottom: 30px !important; }
.m-b-35 { margin-bottom: 35px !important; }
.m-t-2 { margin-top: 2px !important; }
.m-t-4 { margin-top: 4px !important; }
.m-t-5 { margin-top: 5px !important; }
.m-t-6 { margin-top: 6px !important; }
.m-t-10 { margin-top: 10px !important; }
.m-t-15 { margin-top: 15px !important; }
.m-t-20 { margin-top: 20px !important; }
.m-t-25 { margin-top: 25px !important; }
.m-t-30 { margin-top: 30px !important; }
.m-t-40 { margin-top: 40px !important; }
.m-r-4 { margin-right: 4px !important; }
.m-r-5 { margin-right: 5px !important; }
.m-r-8 { margin-right: 8px !important; }
.m-r-10 { margin-right: 10px !important; }
.m-l-4 { margin-left: 4px !important; }
.m-l-8 { margin-left: 8px !important; }
.m-l-10 { margin-left: 10px !important; }
.m-l-12 { margin-left: 12px !important; }
.m-y-10 { margin-top: 10px !important; margin-bottom: 10px !important; }
.m-x-auto { margin-left: auto !important; margin-right: auto !important; }
.m-y-auto { margin-top: auto !important; margin-bottom: auto !important; }

.p-0 { padding: 0 !important; }
.p-t-10 { padding-top: 10px !important; }
.p-y-10 { padding-top: 10px !important; padding-bottom: 10px !important; }
.p-y-12 { padding-top: 12px !important; padding-bottom: 12px !important; }
.p-y-14 { padding-top: 14px !important; padding-bottom: 14px !important; }
.p-y-18 { padding-top: 18px !important; padding-bottom: 18px !important; }
.p-y-24 { padding-top: 24px !important; padding-bottom: 24px !important; }
.p-10 { padding: 10px !important; }
.p-12 { padding: 12px !important; }
.p-15 { padding: 15px !important; }
.p-20 { padding: 20px !important; }
.p-24 { padding: 24px !important; }
.p-25 { padding: 25px !important; }
.p-28 { padding: 28px !important; }
.p-30 { padding: 30px !important; }
.p-50 { padding: 50px !important; }
.p-8-16 { padding: 8px 16px !important; }
.p-8-14 { padding: 8px 14px !important; }
.p-8-12 { padding: 8px 12px !important; }
.p-12-16 { padding: 12px 16px !important; }
.p-5-15 { padding: 5px 15px !important; }
.p-10-18 { padding: 10px 18px !important; }
.p-10-20 { padding: 10px 20px !important; }
.p-10-22 { padding: 10px 22px !important; }
.p-25-0 { padding: 25px 0 !important; }
.p-l-40 { padding-left: 40px !important; }
.p-l-14 { padding-left: 14px !important; }
.p-x-8 { padding-left: 8px !important; padding-right: 8px !important; }
.p-x-25 { padding-left: 25px !important; padding-right: 25px !important; }

.hover-card-row { transition: background 0.15s; }
.hover-card-row:hover { background: #FAFBFF !important; }

.uppercase { text-transform: uppercase !important; }
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.no-decoration { text-decoration: none !important; }
.no-list-style { list-style: none !important; }

.pointer { cursor: pointer !important; }
.no-shadow { box-shadow: none !important; }
.no-border { border: none !important; }
.overflow-hidden { overflow: hidden !important; }
.block { display: block !important; }
.flex-grow { flex-grow: 1 !important; }
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.left-14 { left: 14px !important; }
.top-50 { top: 50% !important; }
.transform-y-50 { transform: translateY(-50%) !important; }

.input-standard {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #E9EDF7;
    border-radius: 10px;
    font-size: 14px;
    background: white;
    outline: none;
    transition: border-color 0.2s;
}

.input-standard:focus {
    border-color: var(--primary);
}

.select-glass {
    background: var(--primary);
    border: none;
    color: white;
    padding: 5px 15px;
    border-radius: 10px;
    font-size: 12px;
    outline: none;
}

.select-glass option {
    background: var(--primary);
    color: white;
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: var(--danger-bg);
    border-radius: var(--radius-md);
    color: var(--danger);
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

.btn-logout:hover {
    background: rgba(255, 77, 77, 0.15);
}

/* ── Dashboard Components ─────────────────── */
.hero-panel-title { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.hero-panel-text { opacity: 0.8; margin-bottom: 25px; }
.hero-panel-badge { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.4); }
.hero-panel-cta { background: white !important; color: var(--primary) !important; width: fit-content; padding: 15px 40px !important; font-size: 16px !important; }

.stat-icon-box { width: 45px; height: 45px; background: #F4F7FE; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-icon-primary { color: var(--primary); }
.stat-icon-orange { color: var(--accent-orange); }
.stat-icon-cyan { color: var(--accent-cyan); }

.metrics-row { display: flex; gap: 40px; margin-bottom: 30px; }
.metric-unit { font-size: 16px; font-weight: 400; }
.metric-unit-small { font-size: 10px; font-weight: 400; }

.last-jump-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; text-align: center; margin-bottom: 25px; }

.notice-item { padding: 12px; background: #FFF9F0; border-radius: 10px; margin-bottom: 10px; }
.notice-text { font-size: 13px; color: var(--text-main); font-weight: 500; }
.notice-date { font-size: 11px; color: var(--text-muted); margin-top: 5px; }

.pending-item { padding: 12px; border: 1px solid #E9EDF7; border-radius: 10px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.pending-item-muted { background: #f9fafb; color: var(--text-muted); }
.pending-badge-none { background: #e2e8f0; color: #475569; font-size: 10px; padding: 4px 8px; }

.timeline-activity-icon { width: 32px; height: 32px; background: #F4F7FE; color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.timeline-activity-text { font-size: 14px; font-weight: 700; }
.timeline-activity-meta { font-size: 12px; color: var(--text-muted); }

.btn-outline-standard { width: 100%; background: transparent; border: 1px solid #E9EDF7; color: var(--text-main); transition: all 0.2s; }
.btn-outline-standard:hover { background: var(--bg-main); border-color: var(--text-muted); }
.btn-outline-primary { width: 100%; background: transparent; border: 1px solid #E9EDF7; color: var(--primary); text-decoration: none; display: block; text-align: center; padding: 12px; border-radius: var(--radius-md); font-weight: 600; }

.flex-between-start { display: flex; justify-content: space-between; align-items: flex-start; }
.flex-between-center { display: flex; justify-content: space-between; align-items: center; }
.flex-align-center { display: flex; align-items: center; }
.flex-column { display: flex; flex-direction: column; }
.wrap { flex-wrap: wrap; }

.border-left-orange { border-left: 4px solid var(--accent-orange); }
.border-left-primary { border-left: 4px solid var(--primary); }
.border-left-accent-cyan { border-left: 3px solid var(--accent-cyan); }
.border-bottom-primary { border-bottom: 4px solid var(--primary); }
.border-bottom-success { border-bottom: 4px solid #01B574 !important; }
.border-bottom-orange { border-bottom: 4px solid var(--accent-orange) !important; }

.border-primary-2 { border: 2px solid var(--primary) !important; }
.border-muted-2 { border: 2px solid #E9EDF7 !important; }
.border-orange-1 { border: 1px solid var(--accent-orange) !important; }
.border-muted { border: 1px solid #E9EDF7 !important; }
.border-top-muted { border-top: 1px solid var(--bg-main) !important; }

.gradient-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important; }
.bg-white-opacity-15 { background: rgba(255, 255, 255, 0.15) !important; }
.bg-primary { background: var(--primary) !important; }
.bg-white { background: #FFFFFF !important; }
.bg-success-light { background: #E6F6F1 !important; }
.bg-orange-light { background: #FFF4E6 !important; }
.bg-warning-light { background: #FFF4E6 !important; }
.bg-danger-light { background: #FFE4E4 !important; }
.bg-primary-light { background: var(--primary-light) !important; }
.bg-bg-main { background: var(--bg-main) !important; }

.lh-1-6 { line-height: 1.6 !important; }

.radius-md { border-radius: var(--radius-md) !important; }
.radius-lg { border-radius: var(--radius-lg) !important; }
.radius-sm-8 { border-radius: 8px !important; }

.w-full { width: 100% !important; }
.w-auto { width: auto !important; }
.w-32 { width: 32px !important; }
.w-40 { width: 40px !important; }
.w-50 { width: 50px !important; }
.w-70 { width: 70px !important; }
.w-80 { width: 80px !important; }

.h-full { height: 100% !important; }
.h-32 { height: 32px !important; }
.h-40 { height: 40px !important; }
.h-50 { height: 50px !important; }
.h-70 { height: 70px !important; }
.h-80 { height: 80px !important; }
.h-150 { height: 150px !important; }
.h-fit { height: fit-content !important; }
.h-full-minus-200 { height: calc(100% - 200px) !important; }

.min-w-220 { min-width: 220px !important; }
.min-w-320 { min-width: 320px !important; }
.min-h-200 { min-height: 200px !important; }
.max-w-150 { max-width: 150px !important; }
.max-w-420 { max-width: 420px !important; }

/* Progress bar dynamic width support */
.w-dynamic { transition: width 0.3s ease; }

.avatar-bordered { border: 2px solid rgba(255,255,255,0.3) !important; }

/* ── Student / Progression Components ─────── */
.progression-card { background: white; border: 1px solid #E9EDF7; border-radius: var(--radius-md); box-shadow: none; }
.progression-percent { font-size: 36px; font-weight: 700; color: var(--primary); }

.skill-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start; }
.skill-badge { padding: 8px 14px; border-radius: 10px; background: var(--bg-main); border: 1px solid var(--primary); cursor: pointer; transition: all 0.2s; }
.skill-badge:hover { background: var(--primary-light); }

.jump-card-row { background: white; border: 1px solid #E9EDF7; border-radius: 12px; box-shadow: none; transition: transform 0.2s; text-decoration: none; color: inherit; display: block; }
.jump-card-row:hover { transform: translateX(5px); background: #f8faff; }

/* ── Table / List Components ──────────────── */
.filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; margin-bottom: 20px; }
.filter-item { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 8px; }

.table-container { overflow-x: auto; width: 100%; border-radius: 12px; }
.table-standard { width: 100%; border-collapse: collapse; text-align: left; }
.table-header { background: #FAFBFF; border-bottom: 1px solid #E9EDF7; }
.table-header th { padding: 15px; font-size: 13px; color: var(--text-muted); text-transform: uppercase; font-weight: 700; }
.table-row { border-bottom: 1px solid #F4F7FE; transition: background 0.15s; }
.table-row:hover { background: #FAFBFF; }
.table-cell { padding: 15px; font-size: 14px; vertical-align: middle; }

.pagination-container { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 20px; border-top: 1px solid #E9EDF7; }
.pagination-btn { padding: 8px 14px; border: 1px solid #E9EDF7; border-radius: 8px; text-decoration: none; color: var(--text-main); font-size: 14px; transition: all 0.2s; }
.pagination-btn:hover { background: var(--bg-main); }
.pagination-btn-active { background: var(--primary); color: white; border-color: var(--primary); }

/* ── Debrief Components ───────────────────── */
.debrief-grid-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 40px; }
.debrief-grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-bottom: 30px; }

.debrief-validation-card { background: #FFF9F0; border-radius: 15px; border: 1px dashed var(--accent-orange); padding: 20px; margin-bottom: 35px; }

.debrief-textarea { height: 120px; background: var(--bg-main); border: none; }
.debrief-input-focus { background: #E9EDF7; border: none; padding: 18px; }

.debrief-footer { border-top: 1px solid #E9EDF7; padding-top: 30px; }

/* ── Jump Detail / Timeline ───────────────── */
.jump-timeline-container { position: relative; padding: 20px 0; overflow-x: auto; display: flex; justify-content: flex-start; }
.jump-timeline-line { position: absolute; top: 35px; left: 0; right: 0; height: 2px; background: #E9EDF7; z-index: 1; }
.jump-timeline-step { position: relative; z-index: 2; text-align: center; min-width: 80px; }
.jump-timeline-icon { width: 32px; height: 32px; background: white; border: 2px solid var(--primary); margin: 0 auto 10px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.jump-chart-container { height: 200px; position: relative; width: 100%; }

/* ── List / Grid Components ───────────────── */
.grid-students { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.grid-stats-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 15px; }
.grid-stats-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-main-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: 24px; }
.grid-athlete-row { display: grid; grid-template-columns: minmax(0, 1fr) 130px 130px; gap: 16px; align-items: center; }
.grid-all-cols { grid-column: 1 / -1; }

.dl-column { display: flex; flex-direction: column; gap: 10px; }
.dl-column dt { font-size: 11px; color: var(--text-muted); }
.dl-column dd { font-size: 14px; font-weight: 600; margin: 0; }

.sidebar-footer {
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 20px;
}

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.hover-card:hover { background-color: var(--bg-main) !important; transform: translateX(5px); }

.progress-bar-container { width: 100%; height: 8px; background: var(--bg-main); border-radius: 4px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: var(--primary); border-radius: 4px; transition: width 0.6s ease; }

/* ── Public Light Theme (SPRINT-WEB-008A) ───────────────── */
.public-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 10%, rgba(15, 76, 129, 0.08), transparent 30%),
        radial-gradient(circle at 88% 12%, rgba(255, 107, 53, 0.08), transparent 28%),
        var(--bg-main);
}

.public-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.public-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(244, 247, 254, 0.86);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #E9EDF7;
}

.public-nav-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.public-brand,
.public-nav-links,
.public-footer-inner,
.public-hero-actions,
.form-inline-action,
.athlete-preview,
.status-pill {
    display: flex;
    align-items: center;
}

.public-brand {
    gap: 10px;
    color: var(--text-main);
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    padding: 7px 14px 7px 7px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(221, 230, 246, 0.9);
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(17, 26, 58, 0.08);
    text-decoration: none;
}

.public-brand-logo {
    height: 110px;
    width: auto;
    object-fit: contain;
    flex: 0 0 auto;
    mix-blend-mode: multiply;
    transition: transform 0.3s ease;
}

.public-brand:hover .public-brand-logo {
    transform: scale(1.05);
}

.public-brand-name {
    display: inline-flex;
    align-items: baseline;
    color: #111A3A;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 0;
    white-space: nowrap;
}

.public-brand-word {
    letter-spacing: 0;
}

.public-brand-number {
    margin-left: 2px;
    color: var(--primary);
    letter-spacing: 0;
}

.public-nav-links {
    gap: 20px;
}

.public-nav-links a,
.auth-footer-text a {
    color: var(--text-muted);
    font-weight: 700;
    text-decoration: none;
}

.public-nav-links a:hover,
.auth-footer-text a:hover {
    color: var(--primary);
}

.public-nav-links .public-nav-cta {
    color: #FFFFFF;
    padding: 10px 16px;
}

.public-footer {
    padding: 30px 0;
    color: var(--text-muted);
}


.public-hero {
    padding: 76px 0 54px;
}

.public-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 40px;
    align-items: center;
}

.public-hero-copy h1 {
    max-width: 720px;
    font-size: clamp(40px, 7vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    margin: 18px 0 22px;
}

.public-hero-copy p,
.section-heading p,
.feature-card-light p,
.auth-heading p {
    color: var(--text-muted);
}

.public-hero-copy p {
    max-width: 640px;
    font-size: 19px;
    line-height: 1.65;
}

.public-hero-actions {
    gap: 14px;
    margin-top: 30px;
}

.btn-outline,
.btn-secondary {
    border: 1px solid #D7DDEA;
    background: #FFFFFF;
    color: var(--primary);
    padding: 12px 22px;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-secondary:hover,
.btn-outline:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 82, 255, 0.12);
}

.btn-block {
    width: 100%;
    display: block;
}

.public-hero-panel {
    background: linear-gradient(145deg, #FFFFFF 0%, #F8FAFF 100%);
    border: 1px solid #E9EDF7;
    border-radius: 32px;
    box-shadow: var(--shadow);
    padding: 24px;
}

.public-debrief-panel {
    display: grid;
    gap: 16px;
    overflow: hidden;
}

.debrief-flow-header {
    display: grid;
    gap: 8px;
}

.debrief-flow-eyebrow,
.debrief-result-card span,
.debrief-flow-steps span {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.debrief-flow-header strong {
    color: var(--text-main);
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.08;
}

.debrief-story-stage {
    position: relative;
    display: grid;
    grid-template-columns: minmax(126px, 1fr) minmax(128px, 0.9fr) minmax(126px, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 218px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid #DDE6F6;
    border-radius: 24px;
    background:
        linear-gradient(90deg, rgba(0, 82, 255, 0.08), transparent 36%, rgba(14, 159, 110, 0.1)),
        #FFFFFF;
}

.debrief-story-stage::before {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    top: 50%;
    height: 3px;
    background: linear-gradient(90deg, rgba(0, 82, 255, 0.2), rgba(14, 159, 110, 0.28));
    border-radius: 999px;
}

.debrief-story-card {
    position: relative;
    z-index: 1;
    min-height: 132px;
    display: grid;
    align-content: center;
    gap: 7px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #E3EAF7;
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(17, 26, 58, 0.08);
}

.debrief-story-card span,
.debrief-step-chips span {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.debrief-story-card strong {
    color: var(--text-main);
    font-size: 18px;
    line-height: 1.15;
}

.debrief-story-card small {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
}

.debrief-story-capture span {
    color: var(--primary);
}

.debrief-story-ready {
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--primary), #047857);
    border-color: transparent;
}

.debrief-story-ready span,
.debrief-story-ready strong,
.debrief-story-ready small {
    color: #FFFFFF;
}

.debrief-story-ready small {
    opacity: 0.78;
}

.debrief-jumper {
    position: absolute;
    z-index: 2;
    left: 138px;
    bottom: 42px;
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 12px 18px rgba(17, 26, 58, 0.2));
    animation: debrief-jumper-breathe 8.8s ease-in-out infinite;
}

.debrief-data-transfer {
    position: relative;
    z-index: 2;
    height: 88px;
}

.debrief-data-transfer::before {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    top: 43px;
    height: 4px;
    background: linear-gradient(90deg, rgba(0, 82, 255, 0.12), rgba(14, 159, 110, 0.36));
    border-radius: 999px;
}

.debrief-data-folder,
.debrief-data-cloud {
    position: absolute;
    top: 21px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(17, 26, 58, 0.14);
}

.debrief-data-folder {
    left: 0;
    background: #4F46E5;
    animation: debrief-folder-upload 8.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.debrief-data-cloud {
    right: 0;
    background: #0E9F6E;
}

.debrief-step-chips {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.debrief-step-chips span {
    display: grid;
    place-items: center;
    min-height: 34px;
    color: var(--text-main);
    background: #F5F7FC;
    border: 1px solid #E3EAF7;
    border-radius: 12px;
}

.debrief-flow-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.debrief-flow-steps div,
.debrief-result-card {
    background: #FFFFFF;
    border: 1px solid #E9EDF7;
    border-radius: var(--radius-lg);
    padding: 16px;
}

.debrief-flow-steps strong,
.debrief-result-card strong,
.debrief-result-card small {
    display: block;
}

.debrief-flow-steps strong {
    margin-top: 6px;
    color: var(--text-main);
    font-size: 15px;
    line-height: 1.35;
}

.debrief-result-card {
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--primary) 0%, #047857 100%);
    border: 0;
    box-shadow: 0 18px 32px rgba(0, 82, 255, 0.18);
}

.debrief-result-card::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -35%;
    width: 42%;
    height: 180%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: rotate(18deg);
    animation: debrief-result-shine 7.2s ease-in-out infinite;
}

.debrief-result-card span {
    color: #FFFFFF;
    opacity: 0.84;
}

.debrief-result-card strong {
    margin: 8px 0 6px;
    font-size: 24px;
}

.debrief-result-card small {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 700;
}

.debrief-insight-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 14px;
}

.debrief-insight-row em {
    display: block;
    padding: 8px 10px;
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    text-align: center;
}

@keyframes debrief-jumper-breathe {
    0%, 100% { transform: translateY(0) rotate(-5deg) scale(0.96); opacity: 0.9; }
    42% { transform: translateY(-8px) rotate(3deg) scale(1); opacity: 1; }
}

@keyframes debrief-folder-upload {
    0%, 34% { margin-left: 0; transform: scale(0.92); opacity: 0; }
    42% { opacity: 1; }
    66% { margin-left: calc(50% - 23px); transform: scale(1); opacity: 1; }
    86% { margin-left: calc(100% - 46px); transform: scale(0.92); opacity: 1; }
    96%, 100% { margin-left: calc(100% - 46px); transform: scale(0.82); opacity: 0; }
}

@keyframes debrief-result-shine {
    0%, 68% { transform: translateX(0) rotate(18deg); opacity: 0; }
    78% { opacity: 1; }
    100% { transform: translateX(360%) rotate(18deg); opacity: 0; }
}

.hero-metric-grid,
.feature-grid-light,
.form-grid {
    display: grid;
    gap: 16px;
}

.hero-metric-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 16px;
}

.hero-metric-card,
.feature-card-light {
    background: #FFFFFF;
    border: 1px solid #E9EDF7;
    border-radius: var(--radius-lg);
    padding: 22px;
}

.hero-metric-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #FFFFFF;
}

.hero-metric-card span,
.hero-metric-card small {
    display: block;
    color: inherit;
    opacity: 0.75;
    font-size: 13px;
    font-weight: 700;
}

.hero-metric-card strong {
    display: block;
    font-size: 30px;
    margin: 8px 0;
}

.public-section {
    padding: 40px 0 70px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 24px;
}

.section-heading-row {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
    gap: 32px;
    align-items: end;
}

.section-heading-row > p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.section-heading h2,
.auth-heading h1 {
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.035em;
    margin: 8px 0 10px;
}

.eyebrow {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.public-process-section {
    padding-top: 10px;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.process-step {
    position: relative;
    min-height: 210px;
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 22px;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid #E9EDF7;
    border-radius: var(--radius-lg);
}

.process-step::before {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    top: 62px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), rgba(14, 159, 110, 0.5));
    border-radius: 999px;
    opacity: 0.18;
}

.process-step span {
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.process-step i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--primary), #047857);
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(0, 82, 255, 0.16);
}

.process-step h3 {
    margin-top: 6px;
    font-size: 18px;
}

.process-step p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
}

.feature-grid-light {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card-light h3 {
    margin: 14px 0 8px;
    font-size: 18px;
}

.icon-circle,
.auth-logo-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
}

.auth-shell {
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 46px 20px;
}

.auth-shell-wide .auth-card {
    max-width: 720px;
}

.auth-card {
    width: min(100%, 460px);
    background: #FFFFFF;
    border: 1px solid #E9EDF7;
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 32px;
}

.auth-card-narrow {
    max-width: 560px;
}

.auth-heading {
    text-align: center;
    margin-bottom: 28px;
}

.auth-heading-left {
    text-align: left;
}

.auth-logo-mark {
    margin: 0 auto 16px;
    font-size: 20px;
}

.auth-heading-left .auth-logo-mark {
    margin-left: 0;
}

.auth-logo-warning {
    background: var(--warning-bg);
    color: var(--warning);
}

.form-stack {
    display: grid;
    gap: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 800;
}

.form-control {
    width: 100%;
    border: 1px solid #D7DDEA;
    border-radius: var(--radius-md);
    background: #FFFFFF;
    color: var(--text-main);
    padding: 13px 14px;
    font: inherit;
    outline: none;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-inline-action {
    gap: 10px;
}

.form-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid-3 {
    grid-template-columns: 1.2fr 1fr 0.45fr;
}

.form-alert {
    display: block;
    border-radius: var(--radius-md);
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 700;
}

.form-alert-error {
    color: var(--danger);
    background: var(--danger-bg);
    border: 1px solid rgba(255, 77, 77, 0.22);
}

.form-alert-success {
    color: var(--success);
    background: var(--success-bg);
    border: 1px solid rgba(1, 181, 116, 0.22);
}

.form-alert-info {
    color: var(--primary);
    background: var(--primary-light);
    border: 1px solid rgba(0, 82, 255, 0.16);
}

.auth-footer-text {
    margin-top: 22px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}


.status-pill {
    width: fit-content;
    gap: 8px;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 800;
}

.status-pill-info {
    color: var(--primary);
    background: var(--primary-light);
}

.athlete-preview {
    gap: 18px;
    background: #F8FAFF;
    border: 1px solid #E9EDF7;
    border-radius: var(--radius-lg);
    padding: 18px;
}

.athlete-preview img {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-main);
}

.athlete-preview h2 {
    font-size: 20px;
    margin-bottom: 4px;
}

.athlete-category-line {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 13px;
}

.is-hidden {
    display: none !important;
}

@media (max-width: 980px) {
    .public-hero-grid,
    .feature-grid-light,
    .process-timeline,
    .section-heading-row {
        grid-template-columns: 1fr;
    }

    .process-step {
        min-height: 0;
    }
}

@media (max-width: 720px) {
    .public-nav-inner,
    .public-footer-inner,
    .form-inline-action {
        align-items: stretch;
        flex-direction: column;
    }

    .public-nav-links {
        width: 100%;
        flex-wrap: wrap;
        gap: 12px;
    }

    .public-brand {
        align-self: flex-start;
        padding: 6px 12px 6px 6px;
        border-radius: 16px;
    }

    .public-brand-logo {
        height: 80px;
        width: auto;
    }

    .public-brand-name {
        font-size: 22px;
    }

    .public-nav-links .public-nav-cta,
    .public-hero-actions a,
    .form-inline-action button {
        text-align: center;
        width: 100%;
    }

    .public-hero-actions,
    .hero-metric-grid,
    .form-grid-2,
    .form-grid-3 {
        grid-template-columns: 1fr;
    }

    .public-hero-actions {
        display: grid;
    }

    .auth-card {
        padding: 24px;
    }

    .public-hero {
        padding: 54px 0 42px;
    }

    .public-hero-copy h1 {
        font-size: clamp(38px, 12vw, 52px);
    }

    .section-heading-row {
        gap: 12px;
    }

    .process-step {
        padding: 18px;
    }

    .debrief-story-stage {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 14px;
    }

    .debrief-story-stage::before {
        left: 50%;
        right: auto;
        top: 78px;
        bottom: 78px;
        width: 3px;
        height: auto;
    }

    .debrief-story-card {
        min-height: 96px;
    }

    .debrief-jumper {
        left: auto;
        right: 20px;
        top: 38px;
        bottom: auto;
        width: 52px;
        height: 52px;
    }

    .debrief-data-transfer {
        height: 62px;
        margin: 2px 12px;
    }

    .debrief-data-transfer::before {
        top: 30px;
    }

    .debrief-data-folder,
    .debrief-data-cloud {
        top: 8px;
        width: 44px;
        height: 44px;
    }

    .debrief-step-chips,
    .debrief-flow-steps {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .debrief-result-card strong {
        font-size: 21px;
    }

    .debrief-insight-row {
        gap: 6px;
    }

    .debrief-insight-row em {
        padding: 7px 6px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .debrief-jumper,
    .debrief-data-folder,
    .debrief-result-card::after {
        animation: none;
    }

    .debrief-jumper {
        opacity: 1;
        transform: none;
    }

    .debrief-data-folder {
        margin-left: calc(100% - 46px);
        opacity: 1;
        transform: none;
    }
}

/* SkyBook360 public landing refresh */
.landing-page {
    background-color: #F8FAFC;
    color: #1E293B;
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
}

.landing-page .hero {
    position: relative;
    padding: 160px 20px 100px;
    background: #F8FAFC;
    border-bottom: 1px solid rgba(15, 76, 129, 0.1);
}

.landing-page .hero .container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.landing-page .hero-content {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    backdrop-filter: none;
}

.landing-page .hero-image-wrapper {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(15, 76, 129, 0.15);
}

.landing-page .hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.landing-page .hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    color: #0F4C81;
    margin-bottom: 20px;
}

.landing-page .hero-content .highlight {
    color: #FF6B35;
}

.landing-page .hero-content p {
    font-size: 20px;
    color: #64748B;
    margin-bottom: 40px;
    line-height: 1.5;
}

.landing-page .hero-actions {
    display: flex;
    gap: 15px;
}

.landing-page .btn-primary {
    background: #BF4314;
    color: #FFFFFF !important;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.landing-page .btn-primary:hover {
    transform: translateY(-2px);
    background: #9A3412;
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.landing-page .btn-outline {
    background: transparent;
    color: #0F4C81;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #0F4C81;
    transition: all 0.3s ease;
}

.landing-page .btn-outline:hover {
    background: #E0F2FE;
}

.landing-page .process-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.landing-page .section-title {
    text-align: center;
    color: #0F4C81;
    font-size: 36px;
    margin-bottom: 60px;
}

.landing-page .process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.landing-page .process-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 76, 129, 0.1);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease;
}

.landing-page .process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.landing-page .process-icon {
    width: 64px;
    height: 64px;
    background: #E0F2FE;
    color: #0F4C81;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.landing-page .process-card h3 {
    font-size: 22px;
    color: #0F4C81;
    margin-bottom: 15px;
}

.landing-page .process-card p {
    color: #64748B;
}

.public-footer-inner {
    justify-content: space-between;
    border-top: 1px solid #E9EDF7;
    padding-top: 20px;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.public-footer-title {
    margin: 0;
}

.public-footer-description {
    margin: 0;
    color: var(--light-text);
    font-size: 0.9rem;
}

.public-footer-privacy-link {
    margin-top: 0.5rem;
    color: var(--light-text);
    font-size: 0.85rem;
    text-decoration: underline;
}

.privacy-page-heading {
    color: var(--primary-blue);
}

.privacy-page-back-link {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

@media (max-width: 968px) {
    .landing-page .hero .container {
        grid-template-columns: 1fr;
    }

    .landing-page .process-grid {
        grid-template-columns: 1fr;
    }

    .landing-page .hero-content h1 {
        font-size: 40px;
    }
}

/* Grafico de evolucao e perfil de indicadores (structure-jump-indicator-telemetry) */
.evolution-header { gap: 12px; flex-wrap: wrap; }
.evolution-controls { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; position: relative; z-index: 1; }
.evolution-label { font-size: 12px; font-weight: 600; opacity: 0.8; }
/* Avisos de estado usam <output> (anunciado como região viva); por padrão ele é inline. */
output.evolution-notice,
output.indicator-profile-empty { display: block; }
.evolution-chart { height: 220px; position: relative; z-index: 1; }
.evolution-empty,
.evolution-notice { opacity: 0.85; position: relative; z-index: 1; }
.evolution-empty { padding: 30px 0; text-align: center; }
.evolution-notice { margin-bottom: 10px; }
.indicator-profile-chart { height: 260px; position: relative; }
.indicator-profile-controls { display: flex; gap: 8px; align-items: center; margin-bottom: 15px; }
.indicator-profile-empty { padding: 30px 0; text-align: center; opacity: 0.85; }

/* Evolucao recente: abas Indice de formacao / Indicadores */
.evolution-tabs { display: inline-flex; gap: 4px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, 0.12); position: relative; z-index: 1; }
.evolution-tab { padding: 6px 12px; border-radius: 8px; color: inherit; font-size: 13px; font-weight: 600; text-decoration: none; opacity: 0.8; white-space: nowrap; }
.evolution-tab:hover { opacity: 1; }
.evolution-tab[aria-selected="true"] { background: rgba(255, 255, 255, 0.92); color: var(--primary-dark); opacity: 1; }
.evolution-tab:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.evolution-panel[hidden] { display: none; }
.evolution-panel { position: relative; z-index: 1; }
.performance-highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.performance-stat { min-width: 0; }
.performance-stat p { overflow-wrap: anywhere; }
.performance-tip { opacity: 0.92; }
.performance-ranking { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.performance-ranking li a { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 8px 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); }
.performance-ranking li a:hover { background: rgba(255, 255, 255, 0.18); }
.performance-rank-number { font-weight: 600; font-size: 13px; }
.performance-rank-date { font-size: 12px; opacity: 0.8; }
.performance-rank-score { font-weight: 700; font-size: 14px; min-width: 40px; text-align: right; }

/* Resumo do salto: bloco Indice do salto */
.jump-index { padding: 18px 20px; border-radius: 12px; background: rgba(255, 255, 255, 0.12); }
.jump-index-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.jump-index-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.jump-index-alerts { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 6px; }
.jump-index-alerts li { padding: 8px 12px; border-radius: 8px; background: rgba(248, 113, 113, 0.25); font-size: 13px; font-weight: 600; }
.jump-index-pillars { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.jump-index-pillar { display: grid; grid-template-columns: minmax(0, 1fr) auto 72px; grid-template-areas: "label weight score" "bar bar bar"; gap: 4px 12px; font-size: 13px; }
.jump-index-pillar-label { grid-area: label; font-weight: 600; overflow-wrap: anywhere; }
.jump-index-pillar-weight { grid-area: weight; opacity: 0.75; font-size: 12px; }
.jump-index-pillar-score { grid-area: score; text-align: right; font-weight: 700; }
.jump-index-bar { grid-area: bar; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.jump-index-bar-fill { display: block; height: 100%; background: rgba(255, 255, 255, 0.9); }

@media (max-width: 600px) {
    .performance-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .evolution-tabs { width: 100%; }
    .evolution-tab { flex: 1; text-align: center; padding: 6px 8px; white-space: normal; }
    .performance-ranking li a { grid-template-columns: 1fr auto; }
    .performance-rank-date { display: none; }
}

/* Resumo do salto: alertas de seguranca */
.safety-alerts { padding: 16px 20px; border-radius: 12px; background: rgba(255, 255, 255, 0.12); }
.safety-alert-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.safety-alert { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 8px 12px; border-radius: 8px; font-size: 13px; }
.safety-alert-critico { background: rgba(248, 113, 113, 0.3); }
.safety-alert-atencao { background: rgba(251, 191, 36, 0.25); }
.safety-alert-severity { font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: 0.04em; }
.safety-alert-label { font-weight: 600; overflow-wrap: anywhere; }
.safety-alert-value { opacity: 0.9; white-space: nowrap; }
@media (max-width: 600px) {
    .safety-alert { grid-template-columns: auto minmax(0, 1fr); }
    .safety-alert-value { grid-column: 1 / -1; white-space: normal; }
}
