:root {
    --page-bg: #edf3ff;
    --page-bg-strong: #e7eeff;
    --surface: #ffffff;
    --surface-alt: #f7f9ff;
    --surface-strong: #1a2340;
    --primary: #7c5cff;
    --primary-strong: #5047e5;
    --primary-soft: rgba(124, 92, 255, 0.12);
    --deep-slate: #111827;
    --navy: #1a2334;
    --navy-soft: #2c3a5f;
    --muted: #59657c;
    --line: rgba(15, 23, 42, 0.1);
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.06);
    --shadow-card: 0 22px 52px rgba(17, 24, 39, 0.06);
    --success: #1ea97c;
    --warning: #d37d2f;
    --danger: #d24f5f;
    --white: #ffffff;
    --text: #101828;
    --secondary: #5f6f82;
    --border: rgba(15, 23, 42, 0.1);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    background: linear-gradient(
        180deg,
        var(--page-bg) 0%,
        var(--page-bg-strong) 100%
    );
    color: var(--text);
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.55;
}

.card,
.card-body,
.card-header,
.card-footer,
.list-group-item {
    background: var(--surface) !important;
    border-color: var(--line) !important;
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.container {
    max-width: 1180px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--deep-slate);
}

p,
span,
div,
input,
textarea,
select,
button,
a,
li,
td,
th {
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
}

p {
    color: var(--muted);
}

img {
    max-width: 100%;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--deep-slate);
}

.navbar-brand span {
    color: var(--primary);
}

.premium-navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(17, 24, 39, 0.07);
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.04);
}

.premium-navbar .navbar-brand {
    padding: 0.35rem 0.2rem;
}

.brand-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #4f46e5);
    display: inline-block;
    box-shadow: 0 0 0 6px rgba(124, 77, 255, 0.12);
}

.nav-actions .btn {
    border-radius: 14px;
}

.premium-footer {
    background: linear-gradient(180deg, #0a1226 0%, #09121f 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    padding: 4rem 0 2.5rem;
    margin-top: 4rem;
    color: #e2e8f0;
}

.premium-footer .container {
    position: relative;
    z-index: 1;
}

.footer-copy,
.footer-meta,
.footer-link,
.footer-title {
    color: rgba(226, 232, 240, 0.8);
}

.footer-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-copy {
    max-width: 28rem;
    line-height: 1.7;
}

.footer-link {
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.footer-developer-btn {
    border-radius: 12px;
    padding: 0.8rem 1.15rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.24);
}

.text-primary-custom {
    color: var(--primary);
}
.bg-primary-custom {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-strong) 100%
    );
}
.bg-soft-blue {
    background: linear-gradient(
        180deg,
        rgba(124, 92, 255, 0.08),
        rgba(79, 70, 229, 0.03)
    );
}
.text-secondary-custom {
    color: var(--muted);
}
.border-soft {
    border-color: var(--line);
}

.hero-badge {
    background: rgba(124, 77, 255, 0.08);
    color: var(--primary-strong);
    border: 1px solid rgba(124, 77, 255, 0.15);
    border-radius: 999px;
    padding: 0.7rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.feature-card,
.testimonial-card,
.process-card,
.card-soft {
    border-radius: 22px;
    border: 1px solid rgba(17, 24, 39, 0.06);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98),
        rgba(248, 246, 255, 0.95)
    );
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.04);
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: linear-gradient(
        135deg,
        rgba(124, 77, 255, 0.12),
        rgba(79, 70, 229, 0.08)
    );
    color: var(--primary-strong);
    border: 1px solid rgba(124, 77, 255, 0.12);
    margin-bottom: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.bg-navy {
    background: linear-gradient(180deg, #171f2d 0%, #101827 100%);
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.72) !important;
}

.navbar-nav .nav-link {
    font-weight: 600;
    padding: 0.7rem 0.9rem;
    border-radius: 12px;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.navbar-nav .nav-link:hover {
    background: rgba(124, 77, 255, 0.06);
    color: var(--deep-slate) !important;
    transform: translateY(-1px);
}

.navbar-toggler {
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 12px;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 5.15rem);
    line-height: 0.96;
    font-weight: 800;
    letter-spacing: -0.07em;
    color: var(--deep-slate);
    text-wrap: balance;
}

.card-soft,
.summary-card,
.feature-tile,
.process-card,
.auth-card,
.stat-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.03);
}

.summary-card {
    position: relative;
    overflow: hidden;
    padding: 1.4rem 1.25rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    min-height: 180px;
    border: 1px solid #e8edf5;
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.03);
}

.summary-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        rgba(124, 77, 255, 0.95),
        rgba(79, 70, 229, 0.72)
    );
}

.summary-card .display-6 {
    letter-spacing: -0.06em;
    line-height: 1;
    font-weight: 800;
}

.dashboard-mini-card,
.analysis-item,
.progress-row {
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98),
        rgba(247, 250, 255, 0.96)
    );
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.025);
}

.dashboard-mini-card {
    padding: 1rem 1rem 0.85rem;
}

.analysis-item {
    padding: 0.9rem 1rem;
    margin-bottom: 0.75rem;
}

.progress-row {
    padding: 0.8rem 0.9rem;
}

.feature-tile,
.process-card,
.auth-card {
    backdrop-filter: blur(4px);
}

.section-title {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--deep-slate);
    text-wrap: balance;
}

.how-it-works-shell {
    max-width: 880px;
    margin: 0 auto;
    padding: 2rem 1.25rem 0.5rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.42);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.03);
}

.how-it-works-kicker {
    display: inline-block;
    margin-bottom: 0.7rem;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
    color: #8b5cf6;
}

.how-it-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
    padding: 1.2rem 0.9rem 0.5rem;
}

.step-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(124, 92, 255, 0.25);
    color: #5b4ef7;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.step-circle--purple {
    border-color: rgba(139, 92, 246, 0.45);
    color: #7c3aed;
}

.step-circle--blue {
    border-color: rgba(59, 130, 246, 0.45);
    color: #2563eb;
}

.step-circle--green {
    border-color: rgba(34, 197, 94, 0.45);
    color: #16a34a;
}

.step-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.03);
}

.how-it-step h5 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--deep-slate);
}

.how-it-step p {
    margin: 0;
    max-width: 15rem;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.metric-showcase-panel {
    max-width: 760px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 28px;
    background: linear-gradient(
        180deg,
        rgba(245, 247, 255, 0.78),
        rgba(242, 244, 249, 0.95)
    );
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.03);
}

.metric-showcase-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 210px;
    padding: 1.1rem 0.8rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.08);
}

.metric-ring {
    --percent: 50;
    --ring-color: #7c3aed;
    position: relative;
    width: 118px;
    height: 118px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(
        var(--ring-color) calc(var(--percent) * 1%),
        #e7e7eb 0
    );
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.04);
    transition: background 0.08s linear;
}

.metric-ring::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.metric-ring span {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--deep-slate);
}

.metric-ring--purple {
    --ring-color: #8b5cf6;
}

.metric-ring--blue {
    --ring-color: #4f8ef7;
}

.metric-ring--green {
    --ring-color: #2bb673;
}

.metric-ring--orange {
    --ring-color: #f3a64a;
}

.metric-showcase-copy {
    text-align: center;
}

.metric-showcase-copy h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--deep-slate);
}

.metric-showcase-copy small {
    display: inline-block;
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.8rem;
}

.recent-activity-panel {
    max-width: 980px;
    margin: 0 auto;
    padding: 1.3rem 1.1rem;
    border-radius: 24px;
    background: rgba(226, 233, 245, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.activity-block {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 18px;
    padding: 1rem 1rem 0.8rem;
    min-height: 220px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.activity-block__head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.5rem;
    color: var(--deep-slate);
    font-weight: 700;
}

.activity-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.activity-icon--purple {
    background: rgba(139, 92, 246, 0.1);
}

.activity-icon--blue {
    background: rgba(79, 142, 247, 0.1);
}

.activity-icon--green {
    background: rgba(34, 197, 94, 0.1);
}

.activity-block h4 {
    margin: 0 0 0.8rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--deep-slate);
}

.activity-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.activity-item:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.activity-item strong {
    display: block;
    font-size: 0.96rem;
    color: var(--deep-slate);
}

.activity-item small {
    display: block;
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.75rem;
}

.activity-item span {
    color: var(--muted);
    font-size: 0.72rem;
    white-space: nowrap;
}

.activity-badge {
    background: rgba(59, 130, 246, 0.08);
    color: #2563eb;
    border-radius: 999px;
    padding: 0.35rem 0.6rem;
    font-weight: 700;
    border: 1px solid rgba(59, 130, 246, 0.12);
}

.activity-empty {
    margin: 0.6rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

@keyframes metricPulse {
    0% {
        transform: scale(0.995);
        box-shadow:
            inset 0 0 0 1px rgba(148, 163, 184, 0.08),
            0 8px 18px rgba(109, 94, 252, 0.05);
    }
    100% {
        transform: scale(1.012);
        box-shadow:
            inset 0 0 0 1px rgba(148, 163, 184, 0.1),
            0 16px 30px rgba(109, 94, 252, 0.12);
    }
}

.public-home-hero {
    background:
        radial-gradient(
            circle at top left,
            rgba(124, 77, 255, 0.12),
            transparent 28%
        ),
        linear-gradient(180deg, #ffffff 0%, #f6f3ff 100%);
    position: relative;
    overflow: hidden;
}

.public-home-hero::before {
    content: "";
    position: absolute;
    inset: 10% auto auto -10%;
    width: 42rem;
    height: 42rem;
    background: radial-gradient(
        circle,
        rgba(143, 114, 246, 0.16),
        transparent 60%
    );
    pointer-events: none;
}

.public-home-hero::after {
    content: "";
    position: absolute;
    right: -12%;
    bottom: -18%;
    width: 30rem;
    height: 30rem;
    background: radial-gradient(
        circle,
        rgba(79, 70, 229, 0.08),
        transparent 60%
    );
    pointer-events: none;
}

section .section-title {
    margin-bottom: 1.5rem;
}

section .card-soft {
    position: relative;
    overflow: hidden;
}

section .card-soft::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        rgba(124, 77, 255, 0.9),
        rgba(79, 70, 229, 0.4)
    );
    opacity: 0.8;
}

section .form-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--deep-slate);
}

section .form-control,
section .form-select,
section textarea.form-control {
    border-radius: 14px !important;
    border: 1px solid rgba(148, 163, 184, 0.45) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    padding: 0.82rem 0.95rem !important;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02);
    min-height: 48px;
}

section .form-control:focus,
section .form-select:focus,
section textarea.form-control:focus {
    border-color: rgba(124, 77, 255, 0.6) !important;
    box-shadow:
        0 0 0 4px rgba(124, 77, 255, 0.08),
        inset 0 1px 2px rgba(15, 23, 42, 0.02) !important;
    outline: none !important;
}

section .alert-success {
    border-radius: 14px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    background: rgba(16, 185, 129, 0.08);
    color: #065f46;
}

.hero-panel {
    position: relative;
    border: 1px solid rgba(124, 77, 255, 0.12);
    box-shadow: 0 28px 60px rgba(17, 24, 39, 0.08);
    background: linear-gradient(
        180deg,
        rgba(17, 24, 39, 0.97),
        rgba(20, 30, 58, 0.96)
    );
    border-radius: 28px;
    transform: translateY(0);
}

.hero-panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 32px 70px rgba(17, 24, 39, 0.1);
}

.dark-panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0.8rem 0.9rem;
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        rgba(124, 92, 255, 0.17),
        rgba(79, 70, 229, 0.04)
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.avatar-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b5cf6, #4f46e5);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(124, 92, 255, 0.28);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(23, 222, 170, 0.12);
    border: 1px solid rgba(23, 222, 170, 0.2);
    color: #9ae6b4;
    font-size: 0.74rem;
    font-weight: 700;
}

.dark-score-card {
    padding: 1rem 1rem 0.9rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.dark-progress {
    background: rgba(255, 255, 255, 0.09);
}

.hero-metric-pill {
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(255, 255, 255, 0.82);
    font-weight: 600;
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.03);
    backdrop-filter: blur(8px);
}

.hero-feature-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-highlight-card {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 12px 22px rgba(17, 24, 39, 0.03);
    color: var(--deep-slate);
    font-size: 0.8rem;
    font-weight: 600;
}

.mini-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #4f46e5);
    display: inline-block;
    box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.12);
}

.premium-mini-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(124, 92, 255, 0.08);
    border: 1px solid rgba(124, 92, 255, 0.12);
    color: #4f46e5;
    font-size: 0.72rem;
    font-weight: 700;
}

.trusted-brand {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: rgba(15, 23, 42, 0.42);
}

.hero-job-row {
    background: rgba(255, 255, 255, 0.68);
}

.stat-card {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.96),
        rgba(248, 244, 240, 0.96)
    );
    border-radius: var(--radius-md);
    padding: 1.2rem;
    border: 1px solid rgba(17, 24, 39, 0.06);
}

.feature-card,
.testimonial-card,
.process-card {
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.feature-card:hover,
.testimonial-card:hover,
.process-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 44px rgba(17, 24, 39, 0.08);
}

.cta-panel {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98),
        rgba(245, 241, 255, 0.98)
    );
    border: 1px solid rgba(124, 77, 255, 0.12);
    border-radius: 28px;
    padding: 2.25rem 1.5rem;
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.05);
}

.btn-primary-custom,
.btn-outline-custom,
.btn-primary,
.btn-outline-primary {
    border-radius: 14px !important;
    font-weight: 700 !important;
    padding: 0.8rem 1.2rem !important;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.btn-primary-custom,
.btn-primary {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-strong) 100%
    );
    border: none !important;
    color: #fff !important;
    box-shadow: 0 15px 28px rgba(124, 77, 255, 0.22);
    letter-spacing: -0.01em;
}

.btn-primary-custom:hover,
.btn-primary:hover {
    box-shadow: 0 18px 32px rgba(124, 77, 255, 0.26);
}

.btn-primary-custom:hover,
.btn-primary:hover,
.btn-outline-custom:hover,
.btn-outline-primary:hover {
    transform: translateY(-1px);
}

.btn-outline-custom,
.btn-outline-primary {
    background: rgba(124, 77, 255, 0.05);
    border: 1px solid rgba(124, 77, 255, 0.18) !important;
    color: var(--primary-strong) !important;
}

.app-shell {
    min-height: 100vh;
    background: linear-gradient(180deg, #edf4ff 0%, #ecedff 100%);
    padding: 18px 18px 10px;
}

.jobflow-dashboard-shell {
    max-width: 1470px;
    margin: 0 auto;
    min-height: calc(100vh - 30px);
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    background: linear-gradient(
        180deg,
        rgba(245, 241, 255, 0.88),
        rgba(244, 240, 255, 0.92)
    );
    border: 1px solid rgba(124, 77, 255, 0.12);
    border-radius: 28px;
    box-shadow: 0 24px 54px rgba(29, 22, 74, 0.08);
    overflow: hidden;
}

.sidebar {
    background: linear-gradient(
        180deg,
        rgba(249, 247, 255, 0.96),
        rgba(239, 243, 255, 0.96)
    );
    min-height: 100vh;
    padding: 1.5rem 1rem;
    border-right: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 16px 0 30px rgba(15, 23, 42, 0.05);
    position: relative;
}

.sidebar::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 110px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent);
    pointer-events: none;
}

.sidebar .nav-link {
    color: #334155;
    border-radius: 14px;
    padding: 0.8rem 0.9rem;
    margin-bottom: 0.45rem;
    font-weight: 600;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
}

.sidebar-profile {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0.7rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;
    margin: 0 0.15rem 0.75rem;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
}

.dashboard-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.18),
        rgba(79, 70, 229, 0.26)
    );
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.dashboard-user-avatar.small-avatar {
    width: 32px;
    height: 32px;
}

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

.dashboard-user-avatar span {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.dashboard-user-meta {
    min-width: 0;
}

.dashboard-user-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-user-email {
    font-size: 0.72rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover {
    background: linear-gradient(
        135deg,
        rgba(124, 77, 255, 0.1),
        rgba(79, 70, 229, 0.08)
    );
    color: var(--primary-strong);
    box-shadow:
        inset 0 0 0 1px rgba(124, 77, 255, 0.12),
        0 8px 18px rgba(124, 77, 255, 0.08);
}

.dashboard-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dashboard-notification-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(17, 24, 39, 0.08);
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.05);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.dashboard-notification-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.08);
}

.dashboard-notification-btn svg {
    width: 18px;
    height: 18px;
    fill: var(--deep-slate);
}

.header-profile-btn {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 16px;
    color: var(--deep-slate);
    padding: 0.5rem 0.9rem;
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.05);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.header-profile-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(17, 24, 39, 0.08);
}

.header-profile-btn::after {
    margin-left: 0.55rem;
}

.header-profile-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.header-profile-name {
    font-size: 0.8rem;
    font-weight: 700;
}

.header-profile-email {
    font-size: 0.68rem;
    color: var(--muted);
}

.sidebar .text-decoration-none {
    color: #ffffff !important;
}

.sidebar .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
}

.install-app-card {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

.install-app-card[hidden] {
    display: none !important;
}

.install-app-card__panel {
    position: relative;
    padding: 0.8rem 0.8rem 0.7rem;
    border-radius: 18px;
    background: linear-gradient(
        180deg,
        rgba(124, 77, 255, 0.12),
        rgba(255, 255, 255, 0.12)
    );
    border: 1px solid rgba(124, 77, 255, 0.18);
    box-shadow: 0 10px 24px rgba(124, 77, 255, 0.08);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.install-app-card__panel:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(124, 77, 255, 0.12);
}

.install-app-card__dismiss {
    position: absolute;
    top: 0.45rem;
    right: 0.5rem;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.install-app-card__top {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.5rem;
}

.install-app-card__logo {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        rgba(124, 77, 255, 0.18),
        rgba(79, 70, 229, 0.25)
    );
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.install-app-card__logo img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.install-app-card__meta {
    min-width: 0;
}

.install-app-card__eyebrow {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FFFFFF;
    font-weight: 800;
}

.install-app-card__meta h6 {
    margin: 0.1rem 0 0;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--deep-slate);
}

.install-app-card__description {
    margin: 0 0 0.7rem;
    font-size: 0.76rem;
    line-height: 1.5;
    color: #FFFFFF;
}

.install-app-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 0.7rem 0.75rem;
    background: linear-gradient(135deg, #8b5cf6, #6d5efc);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    box-shadow: 0 10px 18px rgba(124, 77, 255, 0.22);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.install-app-card__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(124, 77, 255, 0.26);
}

.install-app-card__button-icon {
    font-size: 0.9rem;
    line-height: 1;
}

.install-app-card__footer {
    margin-top: 0.62rem;
    text-align: center;
    font-size: 0.7rem;
    color: #64748b;
}

.content-area {
    padding: 2rem;
    min-height: 100vh;
    background: linear-gradient(
        180deg,
        rgba(245, 239, 233, 0.95),
        rgba(239, 231, 223, 0.96)
    );
}

.content-area .summary-card,
.content-area .card-soft {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.96),
        rgba(249, 246, 242, 0.98)
    );
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 42px rgba(17, 24, 39, 0.05);
    padding: 1.4rem;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.content-area .summary-card:hover,
.content-area .card-soft:hover {
    transform: translateY(-1px);
    box-shadow: 0 24px 48px rgba(17, 24, 39, 0.07);
}

.profile-settings-layout {
    margin-top: 0.5rem;
}

.settings-sidebar {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.88),
        rgba(247, 244, 240, 0.96)
    );
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 22px;
    min-height: 100%;
    box-shadow: 0 16px 38px rgba(17, 24, 39, 0.04);
    position: sticky;
    top: 1.25rem;
}

.settings-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.settings-nav-item {
    display: block;
    padding: 0.82rem 0.9rem;
    border-radius: 12px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 700;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
}

.settings-nav-item:hover {
    background: rgba(124, 77, 255, 0.06);
    color: var(--deep-slate);
    text-decoration: none;
    transform: translateX(2px);
}

.settings-nav-item.active {
    background: linear-gradient(
        135deg,
        rgba(124, 77, 255, 0.12),
        rgba(79, 70, 229, 0.08)
    );
    color: var(--primary-strong);
    border-color: rgba(124, 77, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(124, 77, 255, 0.06);
}

.settings-summary {
    position: relative;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98),
        rgba(248, 244, 240, 0.98)
    );
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 28px;
    box-shadow: 0 20px 44px rgba(17, 24, 39, 0.06);
}

.settings-summary::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        rgba(124, 77, 255, 0.95),
        rgba(79, 70, 229, 0.72)
    );
    border-radius: 28px 28px 0 0;
}

.settings-summary .dashboard-user-avatar {
    width: 78px !important;
    height: 78px !important;
    font-size: 1.2rem;
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.18),
        rgba(79, 70, 229, 0.28)
    );
    box-shadow: 0 16px 30px rgba(124, 77, 255, 0.14);
}

.settings-summary .dashboard-user-avatar span {
    font-size: 1.05rem;
}

.settings-summary .text-secondary-custom {
    color: var(--muted);
}

.content-area .summary-card::after,
.content-area .card-soft::after {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(124, 77, 255, 0.04),
        transparent 45%
    );
    pointer-events: none;
}

.content-area .table thead th {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(17, 24, 39, 0.55);
    font-weight: 700;
    padding-bottom: 0.9rem;
}

.content-area .table tbody td {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.content-area .badge.bg-soft-blue {
    background: rgba(124, 77, 255, 0.1) !important;
    color: var(--primary-strong) !important;
    border: 1px solid rgba(124, 77, 255, 0.12);
}

.premium-shell {
    background: linear-gradient(
        180deg,
        var(--page-bg) 0%,
        var(--page-bg-strong) 100%
    );
    color: var(--deep-slate);
}

.premium-auth-shell {
    background:
        radial-gradient(
            circle at top,
            rgba(124, 77, 255, 0.1),
            transparent 28%
        ),
        linear-gradient(180deg, #f8f6f3 0%, #f2eee9 100%);
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background:
        radial-gradient(
            circle at top left,
            rgba(124, 77, 255, 0.14),
            transparent 28%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(79, 70, 229, 0.08),
            transparent 24%
        ),
        linear-gradient(180deg, #f8f6f3 0%, #f2eee9 100%);
    padding: 1.25rem;
}

.auth-page {
    width: min(100%, 1150px);
    display: grid;
    place-items: center;
}

.auth-card {
    width: min(100%, 440px);
    max-width: 100%;
    position: relative;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98),
        rgba(249, 247, 255, 0.96)
    );
    border: 1px solid rgba(17, 24, 39, 0.06);
    border-radius: 28px;
    box-shadow:
        0 32px 84px rgba(15, 23, 42, 0.12),
        0 12px 28px rgba(124, 77, 255, 0.08);
    padding: 1.15rem 1.15rem 0.95rem;
    backdrop-filter: blur(8px);
}

.auth-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 86px;
    border-radius: 28px 28px 0 0;
    background: linear-gradient(180deg, rgba(124, 77, 255, 0.06), transparent);
    pointer-events: none;
}

.auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    color: var(--deep-slate);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    letter-spacing: -0.04em;
    position: relative;
    z-index: 1;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #8b5cf6 0%, #4f46e5 100%);
    color: white;
    display: grid;
    place-items: center;
    font-size: 0.9rem;
    box-shadow: 0 15px 30px rgba(124, 77, 255, 0.24);
}

.auth-brand span {
    color: var(--primary);
}

.auth-header {
    text-align: center;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.auth-header .eyebrow {
    display: inline-block;
    background: linear-gradient(
        135deg,
        rgba(124, 77, 255, 0.12),
        rgba(79, 70, 229, 0.06)
    );
    color: var(--primary-strong);
    border: 1px solid rgba(124, 77, 255, 0.12);
    border-radius: 999px;
    padding: 0.38rem 0.72rem;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.auth-header h1 {
    font-size: clamp(1.9rem, 2.7vw, 2.2rem);
    letter-spacing: -0.06em;
    margin: 0.55rem 0 0.3rem;
    line-height: 1.15;
    font-weight: 600;
}

.auth-header p {
    margin: 0;
    color: rgba(30, 41, 59, 0.72);
    font-size: 0.92rem;
    line-height: 1.55;
}

.auth-form {
    display: grid;
    gap: 0.62rem;
}

.auth-field {
    display: grid;
    gap: 0.38rem;
}

.auth-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--deep-slate);
}

.auth-input {
    width: 100%;
    min-height: 46px;
    border-radius: 12px !important;
    border: 1px solid rgba(148, 163, 184, 0.45) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    padding: 0.8rem 0.9rem !important;
    color: var(--deep-slate) !important;
    font-size: 0.96rem;
    box-shadow:
        inset 0 1px 2px rgba(15, 23, 42, 0.02),
        0 1px 0 rgba(255, 255, 255, 0.4);
}

.auth-input:focus {
    border-color: rgba(124, 77, 255, 0.6) !important;
    box-shadow:
        0 0 0 4px rgba(124, 77, 255, 0.08),
        inset 0 1px 2px rgba(15, 23, 42, 0.02) !important;
    outline: none !important;
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.08rem 0 0.12rem;
}

.auth-check {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 0.05rem;
}

.auth-check input {
    width: 16px;
    height: 16px;
    margin-top: 0.18rem;
    accent-color: var(--primary);
}

.auth-link {
    color: var(--primary-strong);
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .content-area {
        padding: 1.1rem;
    }

    .auth-shell {
        padding: 0.9rem;
    }

    .auth-card {
        padding: 1rem 0.95rem 0.9rem;
        border-radius: 22px;
    }

    .auth-brand {
        margin-bottom: 0.7rem;
    }

    .auth-header h1 {
        font-size: clamp(1.7rem, 7vw, 2rem);
    }

    .auth-header p {
        font-size: 0.9rem;
    }

    .auth-form {
        gap: 0.62rem;
    }

    .cta-panel {
        padding: 1.5rem 1rem;
    }

    .public-home-hero .btn,
    .nav-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-title {
        font-size: clamp(2.2rem, 12vw, 3.1rem);
    }

    .nav-actions {
        width: 100%;
        display: grid !important;
        gap: 0.65rem;
    }

    .premium-navbar .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .public-home-hero .row {
        gap: 2rem;
    }

    .hero-panel .row {
        gap: 0.75rem;
    }

    .hero-panel .col-4 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-metrics {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Homepage hero dashboard recreation */
.is-homepage .public-home-hero {
    min-height: 620px;
    display: flex;
    align-items: center;
    padding-top: 38px !important;
    padding-bottom: 54px !important;
    background:
        radial-gradient(
            circle at 18% 32%,
            rgba(124, 92, 255, 0.13),
            transparent 24%
        ),
        radial-gradient(
            circle at 86% 38%,
            rgba(79, 70, 229, 0.12),
            transparent 24%
        ),
        linear-gradient(180deg, #fbfcff 0%, #f5f3ff 100%) !important;
}
.is-homepage .public-home-hero .container {
    position: relative;
}
.is-homepage .hero-copy-column {
    position: relative;
    z-index: 2;
}
.is-homepage .hero-badge {
    padding: 0.62rem 1.05rem;
    font-size: 0.82rem;
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(124, 92, 255, 0.12);
}
.is-homepage .hero-title {
    max-width: 620px;
    margin-bottom: 0;
    font-size: clamp(3.5rem, 5.1vw, 5.15rem);
    line-height: 0.94;
    letter-spacing: -0.065em;
}
.is-homepage .hero-title span {
    background: linear-gradient(135deg, #6d5efc, #7c4dff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.is-homepage .hero-copy-column .lead {
    max-width: 540px;
    font-size: clamp(1.05rem, 1.5vw, 1.28rem);
    line-height: 1.55;
    color: #6673a1;
}
.is-homepage .hero-actions .btn {
    min-height: 58px;
    border-radius: 999px;
    font-weight: 800;
}
.is-homepage .hero-actions .btn-primary-custom {
    min-width: 180px;
    box-shadow: 0 14px 28px rgba(124, 77, 255, 0.22);
}
.is-homepage .hero-actions .btn-outline-custom {
    min-width: 170px;
    border: 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}
.hero-play {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-right: 8px;
    border-radius: 50%;
    background: #edeaff;
    color: #6757f4;
    font-size: 0.65rem;
}
.hero-preview-column {
    position: relative;
}
.career-preview-wrap {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
}
.career-preview-wrap::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    right: -10px;
    top: 0;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(143, 174, 255, 0.6) 0%,
        rgba(175, 164, 255, 0.2) 52%,
        transparent 68%
    );
}
.career-preview {
    position: relative;
    z-index: 2;
    width: 520px;
    max-width: 100%;
    margin-left: auto;
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(124, 92, 255, 0.12);
    box-shadow: 0 28px 58px rgba(62, 52, 146, 0.15);
    transform: rotate(-1deg);
}
.career-preview__topbar {
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid #edf0f7;
}
.career-preview__brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #111827;
    font-size: 0.78rem;
    font-weight: 800;
}
.career-preview__brand span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50% 50% 50% 8px;
    background: linear-gradient(135deg, #6d5efc, #8b5cf6);
    color: #fff;
}
.career-preview__profile {
    display: flex;
    align-items: center;
    gap: 7px;
}
.career-preview__profile span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f0d9c9;
}
.career-preview__body {
    display: grid;
    grid-template-columns: 125px 1fr;
    min-height: 310px;
}
.career-preview__sidebar {
    padding: 18px 10px;
    border-right: 1px solid #edf0f7;
    background: #fafaff;
}
.career-preview__nav-item {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    padding: 8px;
    border-radius: 8px;
    color: #64748b;
    font-size: 0.64rem;
    font-weight: 700;
}
.career-preview__nav-item.active {
    color: #6254ef;
    background: #f0efff;
}
.career-preview__main {
    padding: 20px 18px 16px;
}
.career-preview__main h2 {
    margin: 0;
    color: #111827;
    font-size: 1.35rem;
}
.career-preview__main > p {
    margin: 3px 0 12px;
    color: #6b7280;
    font-size: 0.72rem;
}
.career-score-card {
    position: relative;
    height: 140px;
    padding: 17px 18px;
    overflow: hidden;
    border-radius: 15px;
    background: linear-gradient(135deg, #6254ef, #6f5df8);
    color: #fff;
}
.career-score-card span {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
}
.career-score-card strong {
    display: block;
    margin-top: 4px;
    font-size: 1.85rem;
}
.career-score-card svg {
    position: absolute;
    right: 12px;
    bottom: 8px;
    width: 65%;
    height: 82px;
}
.hero-next-step {
    height: 58px;
    display: grid;
    grid-template-columns: 38px 1fr 20px;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #edf0f7;
}
.hero-next-step__icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #edeaff;
    color: #6254ef;
}
.hero-next-step b,
.hero-next-step small {
    display: block;
}
.hero-next-step b {
    font-size: 0.72rem;
}
.hero-next-step small {
    margin-top: 2px;
    color: #7c879c;
    font-size: 0.58rem;
}
.hero-next-step__arrow {
    color: #6254ef;
    font-size: 1.5rem;
}
.hero-float-icon {
    position: absolute;
    z-index: 4;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 14px 28px rgba(62, 52, 146, 0.12);
}
.hero-float-icon--rocket {
    width: 58px;
    height: 58px;
    top: 22px;
    left: 4px;
    border-radius: 16px;
}
.hero-float-icon--chart {
    width: 54px;
    height: 54px;
    right: -18px;
    bottom: 18px;
    border-radius: 14px;
    color: #6254ef;
}
@media (max-width: 991.98px) {
    .is-homepage .public-home-header {
        left: 50%;
        width: calc(100% - 28px);
        min-height: 62px;
        margin: 12px 0 0;
        transform: translateX(-50%);
        border-radius: 22px;
    }
    .is-homepage .public-home-header .container {
        display: flex;
        width: 100%;
        min-height: 62px;
        align-items: center;
        flex-wrap: nowrap;
    }
    .is-homepage .public-home-header .navbar-brand {
        margin-right: auto;
    }
    .is-homepage .public-home-header .homepage-desktop-nav {
        display: none !important;
    }
    .is-homepage .public-home-header .premium-navbar__toggler {
        display: grid;
        margin-left: auto;
    }
    .is-homepage .public-home-header #mainNav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        width: 100%;
        padding: 8px;
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        transform-origin: top center;
        transition: opacity 0.18s ease, transform 0.18s ease;
    }
    .is-homepage .public-home-header .public-mobile-nav-list {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 0 !important;
        gap: 4px;
    }
    .is-homepage .public-home-header .public-mobile-nav-list .nav-item,
    .is-homepage .public-home-header .public-mobile-nav-list .nav-link {
        width: 100%;
    }
    .is-homepage .public-home-header .public-mobile-nav-list .nav-link {
        padding: 12px 14px;
        border-radius: 12px;
        color: #64748b !important;
        font-size: 0.92rem;
        font-weight: 700;
    }
    .is-homepage .public-home-header .public-mobile-nav-list .nav-link.active {
        color: #6254ef !important;
        background: rgba(124, 92, 255, 0.09);
        box-shadow: inset 0 0 0 1px rgba(124, 92, 255, 0.08);
    }
    .is-homepage .public-home-header + main {
        margin-top: 24px;
    }
    .is-homepage .public-home-hero {
        padding-top: 60px !important;
        padding-bottom: 68px !important;
    }
}
@media (max-width: 575.98px) {
    .is-homepage .public-home-header {
        width: calc(100% - 20px);
        border-radius: 22px;
    }
    .is-homepage .public-home-header + main {
        margin-top: 18px;
    }
    .is-homepage .public-home-hero {
        padding-top: 38px !important;
        padding-bottom: 44px !important;
    }
}

/* Homepage header responsive layout fix */
.is-homepage .public-mobile-nav-list {
    display: none;
}
@media (min-width: 992px) {
    .is-homepage .public-home-header {
        position: relative;
        z-index: 1030;
        left: 50%;
        width: calc(100% - 48px);
        max-width: 1180px;
        border: 1px solid rgba(148, 163, 184, 0.16);
        background: rgba(255, 255, 255, 0.88);
        box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .is-homepage .public-home-header {
        min-height: 72px;
        margin: 24px 0 0;
        transform: translateX(-50%);
        border-radius: 999px;
    }

    .is-homepage .public-home-header .container {
        display: grid !important;
        grid-template-columns: 210px minmax(0, 1fr) 46px;
        align-items: center;
        width: 100%;
        max-width: 1180px;
        min-height: 72px;
        flex-wrap: nowrap;
    }

    .is-homepage .public-home-header .navbar-brand {
        grid-column: 1;
        grid-row: 1;
        margin: 0;
    }

    .is-homepage .public-home-header #mainNav {
        grid-column: 2;
        grid-row: 1;
        display: flex !important;
        position: static;
        width: 100%;
        height: auto !important;
        visibility: visible !important;
        opacity: 1;
        overflow: visible;
    }

    .is-homepage .public-home-header .homepage-desktop-nav {
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        width: max-content;
                             max-width:  100%;
        margin: 0 auto !important;
        gap: 0.12rem;
    }

    .is-homepage .public-home-header .public-mobile-nav-list {
        display: none !important;
    }

    .is-homepage .public-home-header .premium-navbar__toggler {
        grid-column: 3;
        grid-row: 1;
        display: grid !important;
        justify-self: end;
    }

    .is-homepage .public-home-header + .public-home-hero {
        margin-top: 34px;
    }

    .is-homepage .public-home-hero {
        min-height: 620px;
        display: flex;
        align-items: center;
        padding-top: 58px !important;
        padding-bottom: 68px !important;
    }
}

/* Homepage exact vertical spacing */
@media (min-width: 992px) {
    .is-homepage .public-home-header + main { margin-top: 10px; }
    .is-homepage .public-home-hero { padding-top: 60px !important; padding-bottom: 68px !important; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .is-homepage .public-home-header + main { margin-top: 6px; }
    .is-homepage .public-home-hero { padding-top: 44px !important; padding-bottom: 52px !important; }
}
@media (max-width: 767.98px) {
    .is-homepage .public-home-header + main { margin-top: 6px; }
    .is-homepage .public-home-hero { padding-top: 34px !important; padding-bottom: 44px !important; }
}
