:root {
    --cca-navy: #091c3a;
    --cca-navy-2: #112b58;
    --cca-gold: #f4b400;
    --cca-gold-2: #ffd76a;
    --cca-bg: #f4f7fb;
    --cca-surface: rgba(255,255,255,.86);
    --cca-line: #dbe4f0;
    --cca-text: #10233f;
    --cca-muted: #6c7a92;
    --cca-shadow: 0 18px 55px rgba(12, 30, 66, 0.10);
    --cca-shadow-soft: 0 10px 30px rgba(12, 30, 66, 0.08);
    --cca-radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--cca-text);
    background:
        radial-gradient(circle at top left, rgba(244,180,0,.12), transparent 24%),
        radial-gradient(circle at top right, rgba(17,43,88,.10), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, var(--cca-bg) 45%, #eef3f9 100%);
}
a { text-decoration: none; }
.app-navbar {
    background: rgba(9, 28, 58, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    color: #fff;
}
.brand-lockup:hover { color: #fff; }
.brand-lockup small {
    display: block;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255,255,255,.62);
}
.brand-lockup strong {
    display: block;
    font-size: 1rem;
    letter-spacing: -.02em;
}
.brand-mark {
    width: 60px;
    height: 60px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cca-gold), var(--cca-gold-2));
    color: #0a83c9;
    box-shadow: 0 10px 24px rgba(244,180,0,.35);
}
.navbar .nav-link {
    color: rgba(255,255,255,.72);
    font-weight: 500;
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: #fff; }
.navbar-toggler { border-color: rgba(255,255,255,.18); }
.navbar-toggler:focus { box-shadow: none; }
.btn {
    border-radius: 14px;
    padding: .82rem 1.15rem;
    font-weight: 600;
}
.btn-lg { padding: 1rem 1.35rem; }
.btn-gold,
.btn-warning {
    background: linear-gradient(135deg, var(--cca-gold), var(--cca-gold-2));
    color: #162135;
    border: none;
    box-shadow: 0 10px 20px rgba(244,180,0,.25);
}
.btn-gold:hover,
.btn-warning:hover { color: #162135; transform: translateY(-1px); }
.btn-outline-light { border-width: 1.5px; }
.btn-outline-primary {
    color: var(--cca-navy-2);
    border-color: rgba(17,43,88,.18);
}
.btn-outline-primary:hover {
    background: var(--cca-navy-2);
    border-color: var(--cca-navy-2);
}
.hero-card,
.panel-card,
.kpi-card,
.glass-card,
.auth-card,
.sidebar-card,
.data-card,
.table-card,
.feature-card,
.result-rank-card,
.category-card {
    border-radius: var(--cca-radius);
    border: 1px solid rgba(219,228,240,.72);
    background: var(--cca-surface);
    box-shadow: var(--cca-shadow-soft);
    backdrop-filter: blur(10px);
}
.hero-card {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 26%),
        linear-gradient(135deg, #0b2144 0%, #18386f 55%, #20508c 100%);
    box-shadow: var(--cca-shadow);
}
.hero-card::after {
    content: "";
    position: absolute;
    inset: auto -60px -60px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244,180,0,.35), transparent 62%);
}
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    padding: .45rem .8rem;
    border-radius: 999px;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 2px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 600px;
    padding: 80px 60px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
}

.hero-content span {
    color: #f7b500;
}

.hero-actions {
    margin-top: 20px;
}

.btn-gold {
    background: #f7b500;
    color: #000;
    padding: 12px 25px;
    border-radius: 6px;
}

.btn-outline-light {
    border: 1px solid #fff;
    padding: 12px 25px;
    margin-left: 10px;
    color: #fff;
}

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

.mini-card {
    height: 160px;
    border-radius: 12px;
    background-size: cover;
    position: relative;
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: flex-end;
}

.auth-visual {
    position: relative;
    padding: 40px;
    color: #fff;
    min-height: 100%;
    overflow: hidden;
}

/* Background image layer */
.auth-bg {
    background: linear-gradient(
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.75)
        ),
        url('assets/images/slide2.jpg'); /* CHANGE PATH */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Optional glass effect for metrics */
.metric-chip {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    border-radius: 10px;
    padding: 10px 15px;
    margin-bottom: 10px;
}
.kpi-card,
.feature-card,
.category-card,
.result-rank-card,
.data-card { padding: 1.35rem; height: 100%; }
.kpi-label,
.section-eyebrow {
    color: var(--cca-muted);
    text-transform: uppercase;
    font-size: .74rem;
    letter-spacing: .1em;
    font-weight: 700;
}
.kpi-value {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -.04em;
}
.kpi-icon,
.feature-icon,
.metric-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(17,43,88,.12), rgba(244,180,0,.18));
    color: var(--cca-navy-2);
    font-size: 1.15rem;
}
.sidebar-card { padding: 1rem; position: sticky; top: 100px; }
.sidebar-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .9rem 1rem;
    border-radius: 16px;
    color: var(--cca-text);
    margin-bottom: .45rem;
    font-weight: 600;
    transition: all .2s ease;
}
.sidebar-links a:hover,
.sidebar-links a.active {
    background: linear-gradient(135deg, rgba(17,43,88,.08), rgba(244,180,0,.16));
    color: var(--cca-navy-2);
    transform: translateX(2px);
}
.stat-inline {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .75rem 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.14);
    color: #fff;
}
.app-alert {
    border: none;
    border-radius: 18px;
    box-shadow: var(--cca-shadow-soft);
}
.auth-wrap { min-height: calc(100vh - 190px); display: grid; align-items: center; }
.auth-card { overflow: hidden; }
.auth-visual {
    height: 100%;
    min-height: 280px;
    padding: 2rem;
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 26%),
        linear-gradient(155deg, #091c3a 0%, #1b447d 70%, #3063a8 100%);
}
.auth-visual .metric-stack {
    display: grid;
    gap: .85rem;
    margin-top: 1.5rem;
}
.metric-chip {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .95rem 1rem;
    border-radius: 18px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.16);
}
.form-label {
    font-weight: 600;
    color: var(--cca-text);
    margin-bottom: .5rem;
}
.form-control,
.form-select {
    border-radius: 14px;
    border: 1px solid #d9e2ef;
    padding: .85rem 1rem;
    background: rgba(255,255,255,.96);
}
.form-control:focus,
.form-select:focus {
    border-color: rgba(17,43,88,.28);
    box-shadow: 0 0 0 .25rem rgba(17,43,88,.10);
}
.section-title { font-size: clamp(1.8rem, 4vw, 3.5rem); font-weight: 800; letter-spacing: -.05em; }
.section-subtitle { color: var(--cca-muted); font-size: 1.05rem; }
.feature-card h5,
.category-card h5,
.table-card h5,
.data-card h5 { font-weight: 700; }
.list-clean { list-style: none; margin: 0; padding: 0; }
.list-clean li {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    margin-bottom: .8rem;
    color: var(--cca-muted);
}
.list-clean i { color: var(--cca-gold); margin-top: .1rem; }
.table-card,
.panel-card { padding: 1.4rem; }
.table {
    --bs-table-bg: transparent;
    --bs-table-hover-bg: rgba(17,43,88,.03);
    margin-bottom: 0;
}
.table thead th {
    border-bottom-width: 1px;
    border-color: #dde6f1;
    color: var(--cca-muted);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    white-space: nowrap;
}
.table tbody td { vertical-align: middle; border-color: #eef3f9; }
.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .7rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .78rem;
    background: rgba(17,43,88,.08);
    color: var(--cca-navy-2);
}
.badge-gold { background: rgba(244,180,0,.18); color: #8b5d00; }
.progress-track {
    height: 10px;
    border-radius: 999px;
    background: #e8eef6;
    overflow: hidden;
}
.progress-bar-cca {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--cca-gold), #ffc83d, #ffe292);
}
.brand-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 auto;
    background: linear-gradient(135deg, rgba(17,43,88,.12), rgba(244,180,0,.18));
    border: 1px solid rgba(17,43,88,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
}
.brand-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #fff;
}
.brand-avatar em {
    font-style: normal;
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--cca-navy-2);
}
.brand-avatar-sm { width: 42px; height: 42px; border-radius: 14px; }
.brand-avatar-md { width: 52px; height: 52px; border-radius: 16px; }
.brand-avatar-lg { width: 60px; height: 60px; border-radius: 18px; }
.brand-option input[type="radio"] { display: none; }
.brand-option label {
    display: block;
    height: 100%;
    border-radius: 18px;
    padding: 1rem 1.05rem;
    background: #fff;
    border: 1px solid #dde6f1;
    cursor: pointer;
    transition: all .18s ease;
    font-weight: 600;
}
.brand-option-top {
    display: flex;
    align-items: center;
    gap: .9rem;
}
.brand-option label strong {
    display: block;
    font-size: 1rem;
}
.brand-option label small { display: block; color: var(--cca-muted); font-weight: 500; margin-top: .35rem; }
.brand-option input[type="radio"]:checked + label {
    border-color: rgba(244,180,0,.72);
    background: linear-gradient(135deg, rgba(244,180,0,.18), rgba(255,255,255,.96));
    box-shadow: 0 12px 28px rgba(244,180,0,.12);
    transform: translateY(-1px);
}
.rank-number {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--cca-navy-2);
    background: linear-gradient(135deg, rgba(244,180,0,.24), rgba(17,43,88,.08));
}
.result-rank-card { display: flex; align-items: center; gap: 1rem; }
.hero-panel {
    padding: 1.2rem;
    border-radius: 20px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.14);
}
.soft-grid {
    background-image: linear-gradient(rgba(17,43,88,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(17,43,88,.04) 1px, transparent 1px);
    background-size: 22px 22px;
}
@media (max-width: 991.98px) {
    .sidebar-card { position: static; }
    .hero-card { padding: 1.5rem; }
    .section-title { font-size: 2.2rem; }
}
.brand-avatar-xl { width: 92px; height: 92px; border-radius: 24px; }
.upload-dropzone {
    border: 1.5px dashed rgba(17,43,88,.18);
    border-radius: 18px;
    padding: .85rem 1rem;
    background: linear-gradient(180deg, rgba(17,43,88,.02), rgba(244,180,0,.03));
}
.upload-dropzone small {
    display: block;
    margin-top: .55rem;
    color: var(--cca-muted);
}
.psychographic-option input[type="radio"] { display:none; }
.psychographic-option label {
    display:block;
    text-align:center;
    padding:.9rem .75rem;
    background:#fff;
    border:1px solid #dde6f1;
    border-radius:16px;
    font-weight:600;
    cursor:pointer;
    transition:all .18s ease;
    min-height:100%;
}
.psychographic-option input[type="radio"]:checked + label {
    border-color: rgba(244,180,0,.72);
    background: linear-gradient(135deg, rgba(244,180,0,.18), rgba(255,255,255,.96));
    box-shadow: 0 12px 28px rgba(244,180,0,.12);
    transform: translateY(-1px);
}


.insight-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(17,43,88,.04);
    border: 1px solid rgba(17,43,88,.08);
}
.insight-stat strong { display:block; font-size:1.05rem; }
.insight-stat span { color: var(--cca-muted); font-size:.9rem; }
.insight-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1rem; }
.insight-chip {
    display:inline-flex; align-items:center; gap:.45rem; padding:.55rem .8rem; border-radius:999px;
    background: rgba(17,43,88,.06); border:1px solid rgba(17,43,88,.08); color: var(--cca-navy-2); font-weight:600;
}
.insight-chip.gold { background: rgba(244,180,0,.18); border-color: rgba(244,180,0,.26); color:#6f4b00; }
.insight-bullet { display:flex; gap:.8rem; align-items:flex-start; margin-bottom:1rem; }
.insight-bullet i { color: var(--cca-gold); font-size:1.1rem; margin-top:.15rem; }
.segment-table td small { color: var(--cca-muted); }
.score-meter { height: 12px; background: rgba(17,43,88,.08); border-radius: 999px; overflow:hidden; }
.score-meter > span { display:block; height:100%; border-radius:999px; background: linear-gradient(135deg, var(--cca-gold), #ffdf88); }
.psy-card { padding:1rem 1.05rem; border-radius:18px; background:rgba(17,43,88,.04); border:1px solid rgba(17,43,88,.08); }
.psy-delta { font-weight:700; }
.empty-state { padding:2rem; border-radius:22px; border:1px dashed rgba(17,43,88,.18); background: rgba(255,255,255,.55); text-align:center; }

.brand-logo {
    height: 80px;   /* adjust as needed */
    width: auto;
    object-fit: contain;
}

.brand-lockup {
    gap: 4px;
}

.brand-text small {
    display: block;
    font-size: 11px;
    line-height: 1;
}

.brand-text strong {
    font-size: 14px;
    line-height: 1.2;
}
