@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Plus+Jakarta+Sans:wght@700;800&display=swap');

:root {
    --accent-blue: #60a5fa;
    --accent-purple: #a78bfa;
    --accent-emerald: #34d399;
    --accent-orange: #fb923c;
    --bg-dark: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.045);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: rgba(255, 255, 255, 0.95);
    --text-muted: rgba(255, 255, 255, 0.65);
}

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

body {
    background-color: #0f172a;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Navigation & Header --- */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #fff 0%, #c4b5fd 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

.logo:visited,
.logo:hover,
.logo:active,
.logo:focus {
    text-decoration: none;
    outline: none;
    -webkit-text-fill-color: transparent;
}

.logo svg {
    stroke: #e0d5ff;
    color: #e0d5ff;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    transition: 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

/* --- Premium Mesh Background --- */
.background-blobs {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0c24 0%, #111827 35%, #0c1f2e 70%, #120c28 100%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
}

.blob-1 {
    width: 60vw;
    height: 60vw;
    top: -20vw;
    left: -10vw;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.25) 0%, transparent 70%);
}

.blob-2 {
    width: 50vw;
    height: 50vw;
    top: 15vw;
    right: -15vw;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
}

.blob-3 {
    width: 45vw;
    height: 45vw;
    bottom: -10vw;
    left: 15vw;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
}

/* Grain Overlay */
.noise {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.08;
    background: white;
    mix-blend-mode: overlay;
    filter: url(#grain-filter);
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 1.5rem 0;
    gap: 2rem;
}

.hero-main {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(167, 139, 250, 0.12);
    border: 1px solid rgba(167, 139, 250, 0.25);
    color: var(--accent-purple);
    padding: 0.4rem 0.8rem;
    border-radius: 99rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0;
}

h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0;
    background: linear-gradient(135deg, #fff 0%, #c4b5fd 50%, #67e8f9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-muted);
    font-size: 0.85rem;
    max-width: 350px;
    margin-bottom: 0;
    line-height: 1.4;
}

/* --- Input Area --- */
.input-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(24px);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.card-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.1);
    border-radius: 24px 24px 0 0;
}

/* --- Card Bottom Bar --- */
.card-bottom-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 24px 24px;
}

.bar-left {
    justify-self: start;
}

.bar-center {
    justify-self: center;
    display: flex;
    align-items: center;
}

.bar-right {
    justify-self: end;
}

/* --- Sparkly Analyze Button --- */
.compact-analyze-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 99rem;
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #0ea5e9 100%);
    border: none;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    white-space: nowrap;
    z-index: 10;
    isolation: isolate;
}

/* Sparkly animated gradient border */
.compact-analyze-btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 99rem;
    background: conic-gradient(from var(--btn-angle, 0deg),
            #7c3aed, #a78bfa, #67e8f9, #34d399, #fbbf24, #f472b6, #a78bfa, #7c3aed);
    z-index: -2;
    animation: btn-sparkle-rotate 3s linear infinite;
    opacity: 0.8;
    pointer-events: none;
}

/* Inner fill to mask the gradient, leaving only the edge visible */
.compact-analyze-btn::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    border-radius: 99rem;
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #0ea5e9 100%);
    z-index: -1;
    pointer-events: none;
}

@property --btn-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes btn-sparkle-rotate {
    to {
        --btn-angle: 360deg;
    }
}

.compact-analyze-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.6);
}

.compact-analyze-btn:hover:not(:disabled)::before {
    opacity: 1;
    filter: brightness(1.3);
}

.compact-analyze-btn:active:not(:disabled) {
    transform: scale(0.96);
}

.compact-analyze-btn:disabled {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.25);
    cursor: not-allowed;
    box-shadow: none;
}

.compact-analyze-btn:disabled::before,
.compact-analyze-btn:disabled::after {
    display: none;
}

/* Loader in Bottom Bar */
.bar-center .inline-loader {
    display: none;
    align-items: center;
    gap: 0.75rem;
    animation: fadeIn 0.4s ease-out;
}

.bar-center .inline-loader.active {
    display: flex;
}

.compact-analyze-btn svg {
    transition: transform 0.3s ease;
}

.compact-analyze-btn:hover:not(:disabled) svg {
    transform: rotate(15deg) scale(1.1);
}

.header-tab {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
}

.header-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    opacity: 0;
    transition: 0.3s;
}

.tab-jd::after {
    background: var(--accent-blue);
}

.tab-cv::after {
    background: var(--accent-purple);
}

.header-tab:hover {
    background: rgba(255, 255, 255, 0.02);
}

.header-tab:hover::after {
    opacity: 0.6;
}

.header-tab:first-child {
    border-right: 1px solid var(--glass-border);
}

.tab-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.header-tab:hover .tab-icon {
    transform: translateY(-2px);
}

.tab-jd .tab-icon {
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.2);
    color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.15);
}

.tab-cv .tab-icon {
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.2);
    color: var(--accent-purple);
    box-shadow: 0 4px 12px rgba(167, 139, 250, 0.15);
}

.tab-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.tab-title-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.header-tab h3 {
    font-size: 1rem;
    margin: 0;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.word-counter {
    margin-left: auto;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.15);
    font-weight: 500;
    transition: all 0.3s ease;
}

.word-counter.valid {
    color: var(--accent-emerald);
}

/* --- Tooltips --- */
.info-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 0.5rem;
}

.info-icon {
    width: 14px;
    height: 14px;
    color: rgba(255, 255, 255, 0.3);
    cursor: help;
    transition: color 0.2s;
}

.info-icon:hover {
    color: var(--text-main);
}

.tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #1e293b;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #fff;
    width: max-content;
    max-width: 220px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.2, 1, 0.3, 1);
    pointer-events: none;
    z-index: 200;
    line-height: 1.5;
}

.info-wrapper:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #1e293b transparent transparent transparent;
}

.input-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 340px;
}

.input-panel {
    position: relative;
    display: flex;
    flex-direction: column;
}

.input-split .input-panel:first-child {
    border-right: 1px solid var(--glass-border);
}

textarea {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    resize: none;
    color: var(--text-main);
    padding: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    line-height: 1.7;
}

textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.panel-footer {
    padding: 0.75rem 1.25rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.word-count {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
}

.panel-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.clear-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    padding: 0 0.75rem;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.7rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* --- CTA --- */
.cta-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 0 1.5rem;
}

/* Loader Base styles (animations) */
.loader-circle {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2.5px solid rgba(167, 139, 250, 0.2);
    border-top: 2.5px solid var(--accent-purple);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    box-shadow: 0 0 12px rgba(167, 139, 250, 0.25);
}

.loader-typewriter {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    min-height: 1.3em;
}

.typewriter-cursor {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--accent-purple);
    animation: blink-cursor 0.6s step-end infinite;
    margin-left: -2px;
}

@keyframes blink-cursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Results Section (Redesigned) --- */
.results-container {
    display: none;
    margin-top: 2rem;
    padding-bottom: 3rem;
}

/* === VERDICT HERO === */
.verdict-hero {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

.verdict-score-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    min-width: 180px;
}

.score-ring {
    position: relative;
    width: 120px;
    height: 120px;
}

.score-svg {
    transform: rotate(-90deg);
    overflow: visible;
}

.score-circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.06);
}

.score-circle-fill {
    fill: none;
    stroke: var(--accent-purple);
    stroke-dasharray: 327;
    stroke-dashoffset: 327;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.2, 1, 0.3, 1),
        stroke 0.6s ease;
}

.score-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
}

.verdict-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.verdict-summary {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    text-align: center;
    max-width: 220px;
}

/* Breakdown mini-bars */
.verdict-breakdown {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.breakdown-item {
    display: grid;
    grid-template-columns: 80px 1fr 45px;
    align-items: center;
    gap: 0.75rem;
}

.breakdown-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.breakdown-bar-bg {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 99rem;
    overflow: hidden;
}

.breakdown-bar-fill {
    height: 100%;
    border-radius: 99rem;
    width: 0;
    transition: width 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.breakdown-val {
    font-size: 0.8rem;
    font-weight: 700;
    text-align: right;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* === SKILLS SNAPSHOT === */
.skills-snapshot {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 1rem;
}

.snapshot-col {
    padding: 0 1.5rem;
}

.snapshot-divider {
    width: 1px;
    background: var(--glass-border);
}

.snapshot-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent-emerald);
    margin-bottom: 1rem;
}

.snapshot-header-gap {
    color: #f87171;
}

.badge-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill {
    padding: 0.3rem 0.8rem;
    border-radius: 99rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid transparent;
}

.pill-matched {
    background: rgba(52, 211, 153, 0.1);
    border-color: rgba(52, 211, 153, 0.3);
    color: var(--accent-emerald);
}

.pill-soft {
    background: rgba(167, 139, 250, 0.1);
    border-color: rgba(167, 139, 250, 0.3);
    color: #a78bfa;
}

.pill-gap-high {
    background: rgba(248, 113, 113, 0.1);
    border-color: rgba(248, 113, 113, 0.3);
    color: #f87171;
}

.pill-gap-med {
    background: rgba(251, 146, 60, 0.1);
    border-color: rgba(251, 146, 60, 0.3);
    color: var(--accent-orange);
}

.empty-hint {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.2);
    font-style: italic;
}

/* Status badges row */
.status-badges-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 99rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

/* === WHAT TO DO === */
.what-to-do {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    color: var(--accent-orange);
}

.todo-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.todo-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.todo-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    flex-shrink: 0;
    margin-top: 1px;
}

.todo-text {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.todo-text strong {
    color: #fff;
    font-weight: 600;
}

/* New Analysis button */
.analyze-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #0ea5e9 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 2.25rem;
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.3);
    transition: 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

.analyze-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.5);
}

/* --- Responsiveness --- */
@media (max-width: 850px) {

    .card-header,
    .input-split {
        grid-template-columns: 1fr;
    }

    .verdict-hero {
        flex-direction: column;
        text-align: center;
    }

    .verdict-summary {
        max-width: 100%;
    }

    .skills-snapshot {
        grid-template-columns: 1fr;
    }

    .snapshot-divider {
        width: 100%;
        height: 1px;
        margin: 1rem 0;
    }

    .input-split .input-panel:first-child {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }

    .header-tab:first-child {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }

    .card-bottom-bar {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }

    .score-ring {
        width: 120px;
        height: 120px;
    }

    .score-text {
        font-size: 2rem;
    }

    .breakdown-item {
        grid-template-columns: 60px 1fr 35px;
    }

    .status-badges-row {
        flex-direction: column;
        align-items: center;
    }
}

/* Animations */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.4s ease-in-out 0s 2;
}

/* ===== RESULTS TABS - PREMIUM FLUID GLASS ===== */

.tabs-container {
    margin: 2.5rem 0;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.tab-buttons {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px;
    border-radius: 99rem;
    gap: 4px;
    margin-bottom: 2rem;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    flex: 1;
    padding: 0.85rem 1.75rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 99rem;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.tab-btn:hover {
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Colored active states for individual tabs */
.tab-btn[data-tab="skills"].active {
    background: rgba(96, 165, 250, 0.15);
    border-color: rgba(96, 165, 250, 0.3);
    color: #fff;
    box-shadow: 0 8px 32px rgba(96, 165, 250, 0.25);
}

.tab-btn[data-tab="insights"].active {
    background: rgba(167, 139, 250, 0.15);
    border-color: rgba(167, 139, 250, 0.3);
    color: #fff;
    box-shadow: 0 8px 32px rgba(167, 139, 250, 0.25);
}

.tab-btn[data-tab="action"].active {
    background: rgba(52, 211, 153, 0.15);
    border-color: rgba(52, 211, 153, 0.3);
    color: #fff;
    box-shadow: 0 8px 32px rgba(52, 211, 153, 0.25);
}

/* Tabs Content - Ultra Thin Glass */
.tab-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 3rem;
    backdrop-filter: blur(40px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
    width: 100%;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: slideUpShort 0.5s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

@keyframes slideUpShort {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Skills Header - Minimalist */
.skills-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.score-section {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

@keyframes scorePulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.1));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.3));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.1));
    }
}

.score-ring-small {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scorePulse 2.5s infinite ease-in-out;
}

.score-text-small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.02em;
    z-index: 2;
}

.verdict-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.15rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.summary-text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 800px;
}

/* Skills Bubble Cloud */
.skills-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.skills-have,
.skills-missing {
    padding: 1.5rem;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.skills-have {
    background: rgba(96, 165, 250, 0.04);
    border: 1px solid rgba(96, 165, 250, 0.12);
}

.skills-have:hover {
    background: rgba(96, 165, 250, 0.08);
    border-color: rgba(96, 165, 250, 0.25);
}

.skills-missing {
    background: rgba(248, 113, 113, 0.04);
    border: 1px solid rgba(248, 113, 113, 0.12);
}

.skills-missing:hover {
    background: rgba(248, 113, 113, 0.08);
    border-color: rgba(248, 113, 113, 0.25);
}

.skills-have h4,
.skills-missing h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.pill {
    padding: 0.3rem 0.75rem;
    border-radius: 99rem;
    font-size: 0.68rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.03);
    background: rgba(255, 255, 255, 0.015);
    transition: all 0.4s ease;
    font-family: 'Inter', sans-serif;
}

.pill-matched {
    border-color: rgba(52, 211, 153, 0.08);
    color: rgba(52, 211, 153, 0.7);
}

.pill-gap-high {
    border-color: rgba(248, 113, 113, 0.08);
    color: rgba(248, 113, 113, 0.7);
}

.pill-gap-med {
    border-color: rgba(251, 146, 60, 0.08);
    color: rgba(251, 146, 60, 0.7);
}

.pill-soft {
    border-color: rgba(167, 139, 250, 0.08);
    color: rgba(167, 139, 250, 0.7);
}

.pill:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-1px);
    color: #fff;
}

/* Compact Shared Item Styles */
.insights-list,
.action-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.insight-item,
.action-item {
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(12px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.insight-item {
    background: rgba(167, 139, 250, 0.04);
    border: 1px solid rgba(167, 139, 250, 0.12);
}

.insight-item:hover {
    background: rgba(167, 139, 250, 0.08);
    border-color: rgba(167, 139, 250, 0.25);
    transform: translateX(6px);
}

.action-item {
    background: rgba(52, 211, 153, 0.04);
    border: 1px solid rgba(52, 211, 153, 0.12);
}

.action-item:hover {
    background: rgba(52, 211, 153, 0.08);
    border-color: rgba(52, 211, 153, 0.25);
    transform: translateX(6px);
}

.insight-icon-box,
.action-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.insight-title,
.action-content h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 0.3rem 0;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.insight-description,
.action-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .skills-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .score-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.25rem;
    }

    .score-info {
        width: 100%;
    }

    .tab-content {
        padding: 1.5rem;
    }

    .tab-btn {
        padding: 0.55rem 1.25rem;
        font-size: 0.8rem;
    }

    .action-item {
        gap: 1rem;
    }

    .action-number {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}