/*
Theme Name: TefoLab Theme
Theme URI: https://tefolab.com
Author: TefoLab
Author URI: https://tefolab.com
Description: Official theme for TefoLab Innovation Consulting.
Version: 2.0.0
License: Proprietary
Text Domain: tefolab-theme
*/

/* ============================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================ */
:root {
    --color-primary: #5BA4F5;
    --color-secondary: #6C63FF;
    --color-indigo: #5A4FCF;
    --color-light-blue: #7EC8F7;
    --color-cta: #F97316;
    --color-cta-hover: #EA6C0A;
    --color-dark: #0F0F1A;
    --color-dark-surface: #161628;
    --color-surface: #F7F8FC;
    --color-white: #FFFFFF;
    --color-text: #2D2D2D;
    --color-muted: #6B7280;
    --color-border: rgba(255, 255, 255, 0.1);

    --gradient-brand: linear-gradient(135deg, #6C63FF 0%, #5BA4F5 100%);
    --gradient-dark: linear-gradient(135deg, #0F0F1A 0%, #161628 100%);

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 32px rgba(108, 99, 255, 0.25);

    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    --container-max: 1200px;
    --container-pad: clamp(1.25rem, 5vw, 2.5rem);
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

h1 {
    font-size: clamp(1.3rem, 3.5vw, 2.625rem);
}

h2 {
    font-size: clamp(var(--font-size-2xl), 4vw, var(--font-size-4xl));
}

h3 {
    font-size: clamp(var(--font-size-xl), 3vw, var(--font-size-2xl));
}

h4 {
    font-size: var(--font-size-xl);
}

p {
    line-height: 1.7;
    color: var(--color-muted);
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

.section {
    padding-block: clamp(4rem, 8vw, 7rem);
}

.section--dark {
    background: var(--color-dark);
}

.section--surface {
    background: var(--color-surface);
}

.section--white {
    background: var(--color-white);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.flex {
    display: flex;
}

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

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

.flex-wrap {
    flex-wrap: wrap;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-3 {
    gap: 1.5rem;
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-inline: auto;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 56rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    font-family: var(--font-family);
    letter-spacing: 0.01em;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-cta);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    background: var(--color-cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-indigo);
    border: 2px solid var(--color-indigo);
}

.btn-outline:hover {
    background: var(--color-indigo);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Solid indigo button — used as a second primary CTA alongside the orange btn-primary */
.btn-indigo {
    background: var(--color-indigo);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(90, 79, 207, 0.3);
}

.btn-indigo:hover {
    background: #4940b8;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(90, 79, 207, 0.4);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: var(--font-size-base);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: var(--font-size-xs);
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(90, 79, 207, 0.15);
}

.card--glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all var(--transition-base);
}

.card--glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(108, 99, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   BADGES / TAGS
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.badge--blue {
    background: rgba(91, 164, 245, 0.15);
    color: var(--color-primary);
}

.badge--purple {
    background: rgba(108, 99, 255, 0.15);
    color: var(--color-secondary);
}

.badge--orange {
    background: rgba(249, 115, 22, 0.15);
    color: var(--color-cta);
}

.badge--green {
    background: rgba(34, 197, 94, 0.15);
    color: #22C55E;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-label {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: var(--font-size-lg);
    max-width: 42rem;
}

.section-header--center {
    text-align: center;
}

.section-header--center p {
    margin-inline: auto;
}

/* Dark section text overrides */
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--color-white);
}

.section--dark p {
    color: rgba(255, 255, 255, 0.65);
}

.section--dark .section-label {
    color: var(--color-light-blue);
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(15, 15, 26, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Always show dark header on dashboard pages (class injected via header.php) */
.site-header--dashboard {
    background: rgba(15, 15, 26, 0.96) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Push site header below the WP admin bar when admin is logged in */
.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo img,
.nav-logo .custom-logo {
    height: 36px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--font-size-sm);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    color: var(--color-white);
}

.mobile-only-menu-item {
    display: none !important;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ============================================
   HERO
   ============================================ */
/* .hero — full-height dark section, two-column layout on desktop */
.hero {
    min-height: 100vh;
    background: var(--color-dark);
    /* Dark base — the SVG visual provides all the richness */
    display: flex;
    align-items: center;
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
}

/* Subtle radial colour glows behind the content — purely decorative */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 15% 50%, rgba(108, 99, 255, 0.15) 0%, transparent 65%),
        radial-gradient(ellipse 50% 60% at 85% 30%, rgba(91, 164, 245, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

/* hero-inner — flex row: text left, SVG visual right */
.hero-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Text side — takes up the left portion */
.hero-content {
    flex: 1 1 calc(52% - 1.5rem);
    min-width: 0;
    max-width: calc(52% - 1.5rem);
}

.hero h1 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.hero p.hero-sub {
    font-size: clamp(var(--font-size-base), 2vw, var(--font-size-xl));
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    align-items: center;
}

/* Ensure the buttons shrink slightly on medium screens if needed so they stay side-by-side */
.hero-ctas .btn {
    white-space: nowrap;
}

/* SVG visual panel — right side of the hero */
.hero-visual {
    flex: 1 1 calc(48% - 1.5rem);
    max-width: 580px;
    min-width: 0;
    pointer-events: none;
    animation: heroVisualFadeIn 1s ease 0.3s both;
}

/* The SVG scales to fit its container */
.hero-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ── SVG ANIMATIONS ── */

/* Chart line draws itself in from left to right on page load */
.chart-line {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: drawChart 2s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

/* Individual nodes pulse with a soft glow */
.node-pulse {
    animation: nodePulse 2.5s ease-in-out infinite;
}

/* Floating stat cards gently rise and fall */
.stat-card {
    animation: floatCard 4s ease-in-out infinite;
}

/* Hero visual fades in as a whole */
@keyframes heroVisualFadeIn {
    from {
        opacity: 0;
        transform: translateX(24px);
    }

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

/* Chart line draw-in animation */
@keyframes drawChart {
    to {
        stroke-dashoffset: 0;
    }
}

/* Node glow pulse */
@keyframes nodePulse {

    0%,
    100% {
        opacity: 0.55;
    }

    50% {
        opacity: 1;
    }
}

/* Floating cards gentle bob */
@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-7px);
    }
}

/* Stack the layout on small screens and scale down the SVG */
@media (max-width: 900px) {
    .hero {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero p.hero-sub {
        margin: 0 auto 2.5rem auto;
    }

    .hero-ctas {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }
}

/* ============================================
   INNOVATION CARDS
   ============================================ */
.innovation-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.innovation-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(90, 79, 207, 0.15);
    border-color: rgba(90, 79, 207, 0.2);
}

.innovation-card__header {
    height: 8px;
    background: var(--gradient-brand);
}

.innovation-card__body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.innovation-card__meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.innovation-card__title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.innovation-card__problem {
    font-size: var(--font-size-sm);
    color: var(--color-muted);
    margin-bottom: 1rem;
    flex: 1;
}

.innovation-card__footer {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* ============================================
   FILTER BAR
   ============================================ */
.filter-bar {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 2.5rem;
}

.filter-select {
    appearance: none;
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-full);
    padding: 0.6rem 2.25rem 0.6rem 1rem;
    font-size: var(--font-size-sm);
    font-family: var(--font-family);
    color: var(--color-text);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    transition: border-color var(--transition-fast);
}

.filter-select:focus {
    outline: none;
    border-color: var(--color-indigo);
}

/* ============================================
   STEP FLOW (HOW IT WORKS)
   ============================================ */
.step-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
    position: relative;
}

.step-flow::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.3), transparent);
}

.step {
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
}

.step__number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: white;
    font-weight: 700;
    font-size: var(--font-size-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
}

.step__title {
    font-weight: 600;
    font-size: var(--font-size-base);
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.step__desc {
    font-size: var(--font-size-sm);
    color: var(--color-muted);
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-family: var(--font-family);
    color: var(--color-text);
    background: var(--color-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-indigo);
    box-shadow: 0 0 0 3px rgba(90, 79, 207, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Multi-step form */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step-indicator {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.form-step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transition: background var(--transition-base);
}

.form-step-dot.active {
    background: var(--color-indigo);
    width: 24px;
    border-radius: 4px;
}

/* Checkboxes */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: var(--font-size-sm);
    background: var(--color-white);
    color: var(--color-muted);
}

.checkbox-item:hover {
    border-color: var(--color-indigo);
    background: rgba(90, 79, 207, 0.02);
}

.checkbox-item:has(input:checked) {
    border-color: var(--color-indigo);
    background: rgba(90, 79, 207, 0.05);
    color: var(--color-indigo);
    font-weight: 500;
}

.checkbox-item input[type="checkbox"] {
    accent-color: var(--color-indigo);
    width: 16px;
    height: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.6);
    padding-block: 4rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    font-size: var(--font-size-sm);
    margin-top: 1rem;
    max-width: 280px;
    color: rgba(255, 255, 255, 0.75);
}

.footer-brand img {
    height: 32px;
    width: auto;
}

.footer-col h4 {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-col a {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--color-white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: var(--font-size-xs);
    flex-wrap: wrap;
    gap: 1rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease forwards;
}

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

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-visual {
        display: none;
    }
}

@media (max-width: 768px) {

    .nav-menu,
    .nav-cta {
        display: none;
    }

    .nav-hamburger {
        display: flex;
        position: relative;
        z-index: 1000;
    }

    .nav-hamburger.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .nav-hamburger.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        min-height: -webkit-fill-available;
        background: var(--color-dark);
        justify-content: flex-start;
        align-items: center;
        gap: 2.25rem;
        z-index: 999;
        overflow-y: auto;
        padding: 100px 24px 80px;
        box-sizing: border-box;
    }

    .nav-menu.open a {
        font-size: 1.25rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.9);
        letter-spacing: -0.01em;
        transition: color 0.2s ease, transform 0.2s ease;
        display: block;
        width: 100%;
        text-align: center;
    }

    .nav-menu.open a:hover {
        color: var(--color-white);
        transform: scale(1.04);
    }

    .nav-menu.open li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        padding-bottom: 1.5rem;
    }

    .nav-menu.open li:last-child {
        border-bottom: none;
    }

    .mobile-only-menu-item,
    .nav-menu.open .mobile-only-menu-item {
        display: block !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .step-flow::before {
        display: none;
    }

    /* Shift verified badge on mobile */
    .verified-badge {
        transform: translateX(-20%);
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.5rem;
    border-radius: var(--radius-sm);
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--color-text);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.pagination a.page-numbers:hover {
    border-color: var(--color-indigo);
    color: var(--color-indigo);
}

.pagination .current {
    background: var(--color-indigo);
    border-color: var(--color-indigo);
    color: var(--color-white);
}

/* ─── INNOVATION SINGLE PAGE & FORMS ────────────────── */

.innovation-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin-bottom: 2rem;
    transition: color 0.2s;
    text-decoration: none;
}

.innovation-back-link:hover {
    color: white;
}

.innovation-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.innovation-meta-block {
    margin-bottom: 2rem;
}

.innovation-timeline-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

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

.innovation-timeline-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.innovation-timeline-item:last-child {
    margin-bottom: 0;
}

.innovation-timeline-item.completed {
    color: #10b981;
}

.innovation-timeline-item.ongoing {
    color: var(--color-indigo);
}

.innovation-timeline-item.pending {
    color: #9ca3af;
}

.innovation-timeline-item span {
    font-size: 1.25rem;
}

.innovation-validation-box {
    background: rgba(90, 79, 207, 0.03);
    border: 1px dashed rgba(90, 79, 207, 0.2);
    padding: 1.25rem;
    border-radius: 12px;
    font-style: italic;
    color: #4B5563;
}

.innovation-success-msg {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid #22c55e;
    color: #15803d;
    padding: 1.25rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 1.5rem;
}

.innovation-login-badge {
    background: rgba(90, 79, 207, 0.05);
    border: 1px solid rgba(90, 79, 207, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* Hidden elements on success */
.hide-on-success {
    display: none !important;
}

/* ==========================================================================
   STICKY NOTE SYSTEM — PHASE 3 REFINEMENT
   ========================================================================== */

.sticky-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.sticky-card {
    position: relative;
    padding: 2.5rem;
    min-height: 280px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sticky-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    border-width: 0 35px 35px 0;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.05) #fff #fff rgba(0, 0, 0, 0.05);
    display: block;
    width: 0;
}

.sticky-card:hover {
    transform: translateY(-5px) rotate(0deg) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    z-index: 10;
}

.sticky-card__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 800;
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.sticky-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.sticky-card__content {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
    flex-grow: 1;
}

/* Variations */
.sticky-card--problem {
    background: #FEF9C3;
    /* Soft Yellow */
    transform: rotate(-1.5deg);
    border-bottom: 3px solid #EAB308;
}

.sticky-card--use-case {
    background: #DBEAFE;
    /* Soft Blue */
    transform: rotate(1deg);
    border-bottom: 3px solid #3B82F6;
}

.sticky-card--outcomes {
    background: #D1FAE5;
    /* Soft Green */
    transform: rotate(-0.8deg);
    border-bottom: 3px solid #10B981;
}

.sticky-card--timeline {
    background: #F3E8FF;
    /* Soft Purple */
    transform: rotate(1.2deg);
    border-bottom: 3px solid #A855F7;
}

@media (max-width: 768px) {
    .sticky-card {
        transform: none !important;
    }
}

/* ─── REQUEST MODAL SYSTEM ─────────────────────────── */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.modal-content {
    background: rgba(255, 255, 255, 0.6);
    padding: 3rem;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    border: none;
    background: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #333;
}

.modal-title {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: var(--color-dark);
}

.modal-subtitle {
    color: #666;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.modal-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.modal-option-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-option-item:hover {
    background: #f9fafb;
    border-color: var(--color-indigo);
}

.modal-option-item input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

.modal-option-label {
    font-weight: 500;
    color: var(--color-dark);
}

/* --- END STICKY NOTE SYSTEM --- */

/* ==========================================================================
   PHASE 4: DASHBOARDS (TALENT, CLIENT, REVIEWER)
   ========================================================================== */

.dashboard-main {
    background: #f8fafc;
    padding: 96px 0 60px;
    min-height: 100vh;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.welcome-block h1 {
    font-size: 2rem;
    color: var(--color-indigo);
    margin: 0 0 8px 0;
}

.dashboard-column {
    min-width: 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
}

.dashboard-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: var(--color-indigo);
    font-weight: 700;
}

.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.count-pill,
.count-badge {
    background: rgba(90, 79, 207, 0.05);
    color: var(--color-indigo);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Strength Discovery (Talent) */
.strength-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.strength-card {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #f1f5f9;
}

.str-icon-wrap,
.stat-icon-wrap,
.sub-icon-wrap {
    width: 44px;
    height: 44px;
    background: #fff;
    color: var(--color-indigo);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.str-data .label,
.stat-data .lbl {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 2px;
}

.str-data .value,
.stat-data .val {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.95rem;
}

/* Recommended Opportunities */
.opportunities-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.opportunity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.opportunity-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.opt-icon {
    width: 40px;
    height: 40px;
    background: rgba(90, 79, 207, 0.05);
    color: var(--color-indigo);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.opt-content {
    flex: 1;
    min-width: 0;
}

.opt-content h4 {
    margin: 0 0 2px 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.opt-content p {
    margin: 0;
    font-size: 0.75rem;
    color: #64748b;
}

/* Task & Submission Lists */
.task-list-premium,
.submission-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.task-card-item,
.submission-card-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.task-card-item:hover,
.submission-card-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.task-icon-circle {
    width: 44px;
    height: 44px;
    background: rgba(90, 79, 207, 0.05);
    color: var(--color-indigo);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.task-body,
.sub-info {
    flex: 1;
}

.task-body h4,
.sub-info h4 {
    margin: 0 0 6px 0;
    font-size: 1.1rem;
    color: #1e293b;
}

.task-meta-row,
.sub-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 0.85rem;
    color: #64748b;
}

.task-status-tag,
.status-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
}

.task-status-tag.in-progress,
.status-badge.in-progress {
    background: #e0f2fe;
    color: #0369a1;
}

.task-status-tag.submitted,
.status-badge.submitted {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.approved {
    background: #dcfce7;
    color: #166534;
}

/* Client Dashboard Specific */
.innovation-tracking-card-premium {
    padding: 40px;
}

.tracking-header-premium {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
}

.inv-icon-wrap {
    width: 56px;
    height: 56px;
    background: rgba(90, 79, 207, 0.05);
    color: var(--color-indigo);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.inv-title-premium {
    font-size: 1.75rem;
    color: var(--color-indigo);
    margin: 0;
}

.category-tag-premium {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.status-value-pill {
    background: var(--color-indigo);
    color: white;
    padding: 6px 16px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
}

.progress-section-premium {
    background: #f8fafc;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 40px;
}

.progress-bar-premium {
    height: 12px;
    background: #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
}

.progress-bar-premium .fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-indigo), #818cf8);
}

.tracking-footer-premium {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.feed-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    margin-bottom: 12px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
}

/* Reviewer Dashboard Specific */
.stat-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-item-premium {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
}

.stat-icon-wrap.indigo {
    background: rgba(90, 79, 207, 0.1);
    color: #4f46e5;
}

.stat-icon-wrap.emerald {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.stat-icon-wrap.amber {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.link-list {
    list-style: none;
    padding: 0;
}

.link-list a {
    color: var(--color-indigo);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    display: block;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.link-list a:hover {
    background: #f1f5f9;
    padding-left: 20px;
}

/* Deployment Hub */
.assignment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 200px;
    gap: 20px;
    align-items: end;
}

.form-action {
    margin-bottom: 20px;
}

.assignment-form-premium select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
    background: #f8fafc;
}

.assignment-form-premium label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 8px;
}

/* Dashboard Section Spacing */
.client-access-hub {
    margin-bottom: 30px;
}

.talent-metrics-hub {
    margin-top: 30px;
}

.pending-submissions {
    margin-top: 30px;
}

.alert {
    margin-bottom: 20px;
}

.cta-group {
    margin-top: 24px;
}

/* Talent Roster */
.roster-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.roster-item:last-child {
    border-bottom: none;
}

.roster-info {
    display: flex;
    flex-direction: column;
}

.roster-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.roster-status {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.roster-status.new {
    color: var(--color-indigo);
}

.roster-status.active {
    color: #10b981;
}

.manage-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.manage-link:hover {
    transform: translateX(3px);
    color: var(--color-indigo);
}

.view-all-link {
    display: block;
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--color-indigo);
    font-weight: 600;
    text-decoration: none;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* Metrics & Access Grid */
.metrics-grid-frontend {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.metrics-grid-frontend .form-group.wide {
    grid-column: span 3;
}

.metrics-grid-frontend .form-action-full {
    grid-column: span 3;
    margin-top: 10px;
}

.metrics-grid-frontend input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-weight: 600;
}

/* Alert Styling */
.alert {
    padding: 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

.task-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.task-score-pill {
    background: var(--color-indigo);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #10b981;
}

/* Progress Bars */
.progress-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-bar .fill {
    height: 100%;
    background: var(--color-indigo);
    transition: width 0.6s ease;
}

/* Single Task Submission */
.task-detail-page {
    padding: 60px 0;
    background: #f8fafc;
    min-height: 100vh;
}

.task-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 50px;
}

.submission-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 40px;
}

@media (max-width: 992px) {

    .dashboard-grid,
    .task-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-breadcrumb {
    margin-bottom: 30px;
}

.dashboard-breadcrumb a {
    color: var(--color-indigo);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.task-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}

.task-content {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.task-header h1 {
    font-size: 2.25rem;
    color: var(--color-indigo);
    margin: 12px 0 24px 0;
}

.content-area h3 {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.reviewer-feedback {
    margin-top: 40px;
    padding: 24px;
    background: rgba(90, 79, 207, 0.05);
    border-left: 4px solid var(--color-indigo);
    border-radius: 8px;
}

.submission-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    position: sticky;
    top: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.submission-card h3 {
    margin-bottom: 24px;
    color: var(--color-indigo);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1e293b;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
}

.text-tiny {
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 16px;
    text-align: center;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    padding: 20px;
    border-radius: 12px;
    font-weight: 500;
}

/* ─── VALIDATION TRIPTYCH (PHASE 2) ────────────────── */
.triptych-strip {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-block: 2.5rem;
}

.triptych-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.triptych-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.triptych-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
}

.triptych-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.4;
}

.triptych-subvalue {
    font-size: 0.875rem;
    color: var(--color-muted);
}

@media (max-width: 768px) {
    .triptych-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ─── COMPACT METRIC BADGES ───────────────────────── */
.metric-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-indigo);
    background: rgba(90, 79, 207, 0.05);
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
    border: 1px solid rgba(90, 79, 207, 0.1);
}

/* ─── DASHBOARD ITEMS & RESPONSIVENESS ─────────── */
.card--dashboard-item {
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.dashboard-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Fixed: Centered alignment */
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.dashboard-item__info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.15rem;
    /* Tighter spacing */
    color: var(--color-dark);
}

/* ─── TALENT DASHBOARD REFINEMENTS ─────────────── */
.task-card-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.task-card-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--color-indigo);
}

.task-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.task-score-pill {
    background: var(--color-indigo);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .task-card-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .task-cta {
        width: 100%;
    }

    .btn-view-task {
        width: 100%;
        text-align: center;
        background: var(--color-indigo);
        color: white;
        padding: 0.75rem;
        border-radius: 8px;
    }
}

.dashboard-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.meta-label {
    font-size: 0.75rem;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.meta-client {
    font-size: 0.75rem;
    color: var(--color-indigo);
    font-weight: 700;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .dashboard-item__header {
        flex-direction: column;
        gap: 1rem;
    }

    .dashboard-item__status {
        width: 100%;
    }

    .dashboard-item__status .badge {
        width: 100%;
        justify-content: center;
        display: flex;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .header-actions {
        width: 100%;
    }

    .header-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .grid-sidebar {
        grid-template-columns: 1fr;
    }

    /* Reviewer Dashboard Mobile Fixes */
    .assignment-grid,
    .metrics-grid-frontend {
        display: grid;
        grid-template-columns: 1fr;
        /* Stack on mobile */
        gap: 1.5rem;
    }

    .form-action,
    .form-action-full {
        width: 100%;
        margin-bottom: 0;
    }

    .form-action .btn,
    .form-action .btn-indigo {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .btn-block {
        width: 100%;
        justify-content: center;
    }

    .submission-card-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .sub-actions {
        width: 100%;
    }

    .sub-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }

    /* Talent Dashboard Mobile Optimizations */
    .strength-grid-premium {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .responsive-grid-cards {
        grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
        gap: 12px;
    }

    .filter-bar-premium>div {
        width: 100% !important;
        min-width: 0 !important;
    }
}

@media (min-width: 769px) {
    .assignment-grid {
        display: grid;
        grid-template-columns: 1fr 1fr auto;
        align-items: flex-end;
        gap: 1.5rem;
    }

    .metrics-grid-frontend {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        align-items: flex-end;
    }

    .metrics-grid-frontend .form-group.wide {
        grid-column: span 1;
    }
}

/* ─── MULTI-STEP FORM ─────────────────────────── */
.form-step {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.form-step.active {
    display: block;
}

.form-step-indicator {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.form-step-dot {
    width: 8px;
    height: 8px;
    background: #e2e8f0;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.form-step-dot.active {
    background: var(--color-indigo);
    transform: scale(1.2);
}

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

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

/* ==========================================================================
   TICKET PAGES (TALENT: page-my-ticket, CLIENT: page-client-ticket)
   ========================================================================== */

/* Shared hero */
.ticket-hero,
.ctkt-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #312e81 100%);
    padding: 8rem 0 4rem;
}

/* Shared body background */
.ticket-body,
.ctkt-body {
    background: #f8fafc;
    padding: 3rem 0;
}

/* Talent ticket grid (wider sidebar) */
.ticket-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: start;
}

.ticket-main-col {
    min-width: 0;
}

/* Client ticket grid (narrower sidebar) */
.ctkt-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
}

/* Shared card */
.ticket-card,
.ctkt-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.ticket-card h2,
.ctkt-card h2 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.25rem;
}

/* Deliverable badge (talent ticket) */
.sub-item-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f4ff;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #3730a3;
    text-decoration: none;
    word-break: break-all;
}

/* Shared comment bubble */
.comment-bubble {
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 12px 14px;
    margin-bottom: 8px;
}

.comment-bubble .meta {
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 4px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.comment-bubble .role-pill {
    padding: 1px 7px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
}

.comment-bubble .body {
    font-size: 13px;
    color: #374151;
    line-height: 1.6;
}

@media (max-width: 768px) {

    .ticket-grid,
    .ctkt-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   TASK MANAGER (Admin: page-task-manager)
   ========================================================================== */

.tm-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.tm-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #312e81 100%);
    color: #fff;
    padding: 8rem 0 4rem;
    margin-bottom: 2rem;
}

.tm-header h1 {
    color: #fff;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    margin: 0 0 .5rem;
    line-height: 1.25;
}

.tm-header p {
    color: rgba(255, 255, 255, .6);
    font-size: .9rem;
    margin: 0;
}

.tm-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tm-stat {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    flex: 1;
    min-width: 140px;
}

.tm-stat .val {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e293b;
}

.tm-stat .lbl {
    font-size: .75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.tm-task {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.tm-task-head {
    background: #f0f4ff;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    cursor: pointer;
}

.tm-task-body {
    display: none;
    padding: 1.25rem 1.5rem;
}

.tm-task-body.open {
    display: block;
}

.tm-ticket-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin-bottom: 8px;
}

.tm-btn {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.tm-btn-indigo {
    background: #4f46e5;
    color: #fff;
}

.tm-btn-green {
    background: #059669;
    color: #fff;
}

.tm-btn-red {
    background: #dc2626;
    color: #fff;
}

.tm-btn-gray {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.tm-form {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.25rem;
    margin-top: 10px;
}

.tm-form label {
    font-size: 11px;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.tm-form input,
.tm-form select,
.tm-form textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 13px;
    margin-bottom: 10px;
    background: #fff;
}

.tm-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.tm-sub-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 10px;
}

.tm-sub-card.pending {
    border-left: 4px solid #d97706;
}

.tm-sub-card.approved {
    border-left: 4px solid #16a34a;
}

.tm-sub-card.revision_requested {
    border-left: 4px solid #dc2626;
}

.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

@media (max-width: 768px) {
    .tm-form-grid {
        grid-template-columns: 1fr;
    }

    .tm-ticket-row {
        flex-wrap: wrap;
    }
}

/* ==========================================================================
   TALENT DASHBOARD PREMIUM RESPONSIVE ADDITIONS
   ========================================================================== */

/* Admin Preview Bar */
.admin-preview-bar {
    background: #1e1b4b;
    color: #fff;
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13px;
}

.admin-preview-label {
    font-weight: 700;
    color: #a5b4fc;
}

.admin-preview-text {
    color: #94a3b8;
}

.admin-preview-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.admin-preview-select {
    background: #2d2a5e;
    color: #fff;
    border: 1px solid #4f46e5;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 13px;
    cursor: pointer;
    outline: none;
}

.admin-preview-link {
    margin-left: auto;
    color: #a5b4fc;
    font-weight: 600;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s;
}

.admin-preview-link:hover {
    color: #c7d2fe;
}

/* Empty State Card */
.empty-state {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.empty-state .empty-icon {
    margin-bottom: 1.25rem;
    color: #94a3b8;
}

.empty-state h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.empty-state .btn-primary {
    background: #4f46e5;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.empty-state .btn-primary:hover {
    background: #3730a3;
}

@media (max-width: 480px) {
    .admin-preview-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .admin-preview-form,
    .admin-preview-select {
        width: 100%;
    }

    .admin-preview-select {
        flex-grow: 1;
    }

    .admin-preview-link {
        margin-left: 0;
        text-align: center;
        margin-top: 5px;
    }

    .empty-state {
        padding: 2rem 1rem;
    }
}

/* Talent Dashboard Component Overrides */
.task-selector-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
}

.task-selector-item {
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.task-selector-item:hover {
    border-color: #cbd5e1;
    color: #0f172a;
    background: #f8fafc;
}

.task-selector-item.active {
    background: #4f46e5;
    color: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

.skills-card {
    margin-top: 1.5rem;
}

.skills-card-desc {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-badge {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.skill-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.skill-badge-value {
    color: white;
    border-radius: 12px;
    padding: 0.15rem 0.5rem;
    font-size: 0.7rem;
}

.skills-empty-text {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.5rem;
    font-style: italic;
}

/* ==========================================================================
   TALENT DASHBOARD PREMIUM RESPONSIVE OVERRIDES & REFINEMENTS
   ========================================================================== */

.ox-audit-form-container {
    padding: 1.75rem;
}

@media (max-width: 768px) {
    .dashboard-main {
        padding: 100px 0 30px;
    }

    .dashboard-card {
        padding: 20px !important;
        border-radius: 16px !important;
        margin-bottom: 20px !important;
    }

    .strength-grid-premium {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .strength-card {
        padding: 16px !important;
        gap: 12px !important;
    }

    .ox-audit-form-container {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .dashboard-card {
        padding: 15px !important;
        border-radius: 12px !important;
    }

    .responsive-grid-cards {
        grid-template-columns: 1fr !important;
    }

    .ox-audit-form-container {
        padding: 1rem;
    }
}

/* ============================================
   CLIENT DASHBOARD MOBILE RESPONSIVENESS
   ============================================ */
@media (max-width: 768px) {

    /* ── Header ── */
    .client-dashboard .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .client-dashboard .header-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.625rem;
    }

    .client-dashboard .header-actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* ── Innovation tracking card ── */
    .innovation-tracking-card-premium {
        padding: 20px !important;
    }

    /* ── Tracking header: stack icon + title + status vertically ── */
    .tracking-header-premium {
        flex-direction: column;
        gap: 16px;
    }

    .tracking-header-premium .title-meta {
        width: 100%;
    }

    .inv-title-premium {
        font-size: 1.25rem !important;
        line-height: 1.3;
        word-break: break-word;
    }

    .status-block-premium {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }

    /* ── Progress section ── */
    .progress-section-premium {
        padding: 16px !important;
        margin-bottom: 24px !important;
    }

    /* ── Tracking footer: stack feed + actions ── */
    .tracking-footer-premium {
        flex-direction: column !important;
        gap: 1.25rem !important;
        align-items: stretch !important;
    }

    .tracking-actions-premium {
        flex-direction: column !important;
    }

    .tracking-actions-premium .btn {
        width: 100%;
        justify-content: center;
    }

    /* ── 2-column grid for VoicePass/OX: collapse to single column ── */
    .client-dashboard [style*="grid-template-columns:1fr 1fr"],
    .client-dashboard [style*="grid-template-columns: 1fr 1fr"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    /* ── Ticket rows: allow wrapping so status badge and link don't overflow ── */
    .client-dashboard [style*="display:flex;align-items:center;gap:12px"] {
        flex-wrap: wrap !important;
    }

    /* ── Ticket task header: stack completion info below title ── */
    .client-dashboard [style*="justify-content:space-between;align-items:center;flex-wrap:wrap"] {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    /* ── Submission preview indent: remove heavy left margin on mobile ── */
    .client-dashboard [style*="margin-left:36px"] {
        margin-left: 0 !important;
    }

    /* ── Submission deliverable items: wrap nicely ── */
    .client-dashboard [style*="display:flex;flex-wrap:wrap;gap:6px"] {
        gap: 8px !important;
    }

    /* ── Target companies table: make it scroll horizontally if wide ── */
    .client-dashboard table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        min-width: 0;
    }

    /* ── Progress bar in task header: full width ── */
    .client-dashboard [style*="width:120px"] {
        width: 100% !important;
        max-width: 160px;
    }

    /* ── Global audit progress box ── */
    .client-dashboard [style*="display:flex; justify-content:space-between; align-items:flex-end"] {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    /* ── Card header flex (Active Tasks header) ── */
    .card-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    /* ── Tracking grid: single column ── */
    .tracking-grid-premium {
        grid-template-columns: 1fr !important;
    }

    /* ── View button full width on small screens ── */
    .client-dashboard .btn-primary,
    .client-dashboard .btn-indigo {
        width: 100%;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {

    .innovation-tracking-card-premium {
        padding: 14px !important;
    }

    .inv-title-premium {
        font-size: 1.1rem !important;
    }

    .progress-section-premium {
        padding: 12px !important;
    }

    /* Submission item pills: full width on very small screens */
    .client-dashboard [style*="display:inline-flex;align-items:center;gap:5px"] {
        display: flex !important;
        width: 100%;
        box-sizing: border-box;
    }
}

/* ==========================================================================
   TEFOLAB PREMIUM EVOLVED DESIGN SYSTEM (FRONT-PAGE ADDITIONS)
   ========================================================================== */

/* ── HERO SECTION & LAYOUT ── */
.hero-section {
    min-height: 100vh;
    background: #0F0F1A;
    display: flex;
    align-items: center;
    padding-top: 7rem;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle 600px at 15% 50%, rgba(90, 79, 207, 0.15) 0%, transparent 80%),
        radial-gradient(circle 500px at 85% 30%, rgba(91, 164, 245, 0.08) 0%, transparent 80%);
    pointer-events: none;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1 1 50%;
    max-width: 550px;
}

.section-label-custom {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: clamp(2.25rem, 5.5vw, 3.5rem);
    line-height: 1.1;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-sub-text {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: #9CA3AF;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

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

/* ── BUTTON STYLES ── */
.btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-base);
    font-weight: 600;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.btn-primary-custom {
    background: var(--color-cta);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}

.btn-primary-custom:hover {
    background: var(--color-cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(249, 115, 22, 0.45);
}

.btn-secondary-custom {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}

.btn-secondary-custom:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ── HERO VISUAL PANEL & SVG ── */
.hero-visual-panel {
    flex: 1 1 50%;
    display: flex;
    justify-content: center;
    position: relative;
    max-width: 580px;
}

.visual-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.network-svg {
    width: 100%;
    height: auto;
    display: block;
}

.node-pulse {
    animation: nodeActivePulse 2s ease-in-out infinite;
}

@keyframes nodeActivePulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* ── GLASSMORPHIC WALLET CARD (stacks below SVG on desktop) ── */
.floating-wallet-card {
    position: relative;
    background: rgba(22, 22, 40, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 10;
}

.animate-float {
    animation: floatingBob 5s ease-in-out infinite;
}

@keyframes floatingBob {

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

    50% {
        transform: translateY(-8px);
    }
}

.wallet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wallet-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9CA3AF;
}

.currency-pills {
    display: flex;
    gap: 4px;
}

.currency-pills .pill {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    color: #6B7280;
    cursor: default;
}

.currency-pills .pill.active {
    background: var(--color-primary);
    color: #0F0F1A;
}

.wallet-balance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.coin-visual-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gold-coin-svg {
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 0 6px rgba(252, 211, 77, 0.4));
}

.balance-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-white);
}

.balance-amount .coin-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #FCD34D;
}

.exchange-rate-pill {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    background: rgba(252, 211, 77, 0.1);
    color: #FCD34D;
    border-radius: 99px;
    border: 1px solid rgba(252, 211, 77, 0.15);
}

.milestone-container {
    margin-bottom: 1.25rem;
}

.milestone-label-row {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #9CA3AF;
    margin-bottom: 4px;
}

.progress-bar-bg {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--gradient-brand);
    border-radius: 99px;
}

.btn-wallet-withdraw {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    color: #6B7280;
    padding: 0.625rem;
    border-radius: var(--radius-md);
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: not-allowed;
}

/* ── PROBLEM-TO-SOLUTION SPLIT PANEL ── */
.split-showcase-section {
    padding-block: 6rem;
}

.split-cards-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.split-card {
    flex: 1;
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all var(--transition-base);
}

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

.card-status-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 99px;
}

.card-status-badge.active {
    background: rgba(91, 164, 245, 0.15);
    color: var(--color-primary);
}

.card-status-badge.delivered {
    background: rgba(34, 197, 94, 0.15);
    color: #22C55E;
}

.card-brand-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 1.25rem;
}

.brief-category {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-indigo);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.solution-metric-badge {
    font-size: 11px;
    font-weight: 800;
    color: #22C55E;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.brief-post-date {
    font-size: 11px;
    color: var(--color-muted);
}

.split-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.brief-desc {
    color: var(--color-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.card-meta-list {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meta-item-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.meta-label-custom {
    font-weight: 600;
    color: #4B5563;
}

.meta-val-custom {
    font-weight: 700;
    color: var(--color-text);
}

.meta-val-custom.text-primary {
    color: var(--color-indigo);
}

.meta-val-custom.text-cta {
    color: var(--color-cta);
}

.meta-subval {
    font-size: 11px;
    font-weight: 500;
    color: #9CA3AF;
    margin-left: 4px;
}

.split-arrow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
}

.flow-arrow-svg {
    width: 100%;
    height: auto;
}

/* ── TASK LIFECYCLE FLOW ── */
.lifecycle-timeline-container {
    position: relative;
    margin-top: 4.5rem;
    padding-bottom: 2rem;
}

.timeline-line-svg {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 12px;
    z-index: 1;
}

.lifecycle-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.lifecycle-step-node {
    width: 15%;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.lifecycle-step-node.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-icon-circle {
    width: 80px;
    height: 80px;
    background: var(--color-white);
    border: 3px solid rgba(90, 79, 207, 0.15);
    border-radius: 50%;
    margin: 0 auto 1.25rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-indigo);
    font-size: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.lifecycle-step-node:hover .step-icon-circle {
    border-color: var(--color-indigo);
    background: var(--color-indigo);
    color: var(--color-white);
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(90, 79, 207, 0.25);
}

.step-num {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: var(--color-muted);
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 8px;
    border-radius: 99px;
    margin-bottom: 0.5rem;
}

.lifecycle-step-node h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.lifecycle-step-node p {
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--color-muted);
}

/* ── TALENT ACTIVATION & RIPPLE ── */
.ripple-graphic-container {
    position: relative;
    height: 320px;
    background: #161628;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ripple-core {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: #0F0F1A;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 5;
    box-shadow: 0 0 20px rgba(91, 164, 245, 0.5);
}

.core-label {
    font-size: 6px;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 2px;
    text-align: center;
    width: 80%;
    line-height: 1.2;
}

.ripple-wave {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(91, 164, 245, 0.25);
    border-radius: 50%;
    animation: rippleExpand 4s linear infinite;
    pointer-events: none;
    z-index: 2;
}

.wave-2 {
    animation-delay: 1.33s;
}

.wave-3 {
    animation-delay: 2.66s;
}

@keyframes rippleExpand {
    0% {
        width: 60px;
        height: 60px;
        opacity: 1;
    }

    100% {
        width: 320px;
        height: 320px;
        opacity: 0;
    }
}

/* Activating Talent Avatars */
.active-talent-avatar {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1F1F35;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    z-index: 4;
    transition: all 0.3s ease;
}

.active-talent-avatar.stem {
    top: 40px;
    left: 60px;
    animation: activatePulseStem 4s infinite 1.8s;
}

.active-talent-avatar.design {
    bottom: 50px;
    right: 70px;
    animation: activatePulseDesign 4s infinite 2.5s;
}

.active-talent-avatar.strategy {
    top: 80px;
    right: 60px;
    animation: activatePulseStrategy 4s infinite 3.1s;
}

.talent-path-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #1F1F35;
}

.active-talent-avatar.stem .talent-path-dot {
    background: var(--color-indigo);
}

.active-talent-avatar.design .talent-path-dot {
    background: var(--color-cta);
}

.active-talent-avatar.strategy .talent-path-dot {
    background: var(--color-primary);
}

@keyframes activatePulseStem {

    0%,
    40%,
    100% {
        transform: scale(1);
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: none;
    }

    50% {
        transform: scale(1.15);
        border-color: var(--color-indigo);
        box-shadow: 0 0 16px rgba(90, 79, 207, 0.45);
    }
}

@keyframes activatePulseDesign {

    0%,
    40%,
    100% {
        transform: scale(1);
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: none;
    }

    50% {
        transform: scale(1.15);
        border-color: var(--color-cta);
        box-shadow: 0 0 16px rgba(249, 115, 22, 0.45);
    }
}

@keyframes activatePulseStrategy {

    0%,
    40%,
    100% {
        transform: scale(1);
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: none;
    }

    50% {
        transform: scale(1.15);
        border-color: var(--color-primary);
        box-shadow: 0 0 16px rgba(91, 164, 245, 0.45);
    }
}

/* ── DISTRIBUTED SCALE BUBBLE CLUSTER ── */
.bubble-chart-container {
    position: relative;
    height: 370px;
    background: #161628;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-top: 1.5rem;
}

.bubble-cluster {
    position: absolute;
    width: var(--b-size);
    height: var(--b-size);
    top: var(--b-top);
    left: var(--b-left);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    transition: all var(--transition-base);
    animation: breathingBubble 6s ease-in-out infinite alternate;
}

.bubble-stem {
    background: rgba(90, 79, 207, 0.2);
    border: 1px solid rgba(90, 79, 207, 0.35);
    animation-delay: 0s;
}

.bubble-strategy {
    background: rgba(91, 164, 245, 0.2);
    border: 1px solid rgba(91, 164, 245, 0.35);
    animation-delay: 1s;
}

.bubble-design {
    background: rgba(249, 115, 22, 0.2);
    border: 1px solid rgba(249, 115, 22, 0.35);
    animation-delay: 2s;
}

.bubble-content {
    background: rgba(126, 200, 247, 0.15);
    border: 1px solid rgba(126, 200, 247, 0.25);
    animation-delay: 0.5s;
}

.bubble-media {
    background: rgba(108, 99, 255, 0.15);
    border: 1px solid rgba(108, 99, 255, 0.25);
    animation-delay: 1.5s;
}

.bubble-vocal {
    background: rgba(252, 211, 77, 0.15);
    border: 1px solid rgba(252, 211, 77, 0.25);
    animation-delay: 2.5s;
}

.bubble-business {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.25);
    animation-delay: 3s;
}

.bubble-cluster:hover {
    transform: scale(1.1) !important;
    background-opacity: 0.35;
    z-index: 8;
}

.bubble-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.bubble-skills {
    font-size: 8px;
    font-weight: 500;
    color: #9CA3AF;
    line-height: 1.3;
}

@keyframes breathingBubble {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-6px);
    }
}

/* ── POSTED TASK CARDS SHOWCASE ── */
.task-brief-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.task-brief-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(90, 79, 207, 0.15);
}

.task-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.client-badge {
    font-size: 10px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.06);
    color: var(--color-text);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.task-timeline {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-muted);
}

.task-brief-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.task-brief-card p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-muted);
    margin-bottom: 1.5rem;
    flex: 1;
}

.task-card-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 1rem;
    font-size: 11px;
}

.task-budget,
.task-talents,
.task-goal {
    display: flex;
    flex-direction: column;
}

.task-card-footer .card-label {
    font-weight: 600;
    color: #9CA3AF;
    text-transform: uppercase;
    font-size: 9px;
    margin-bottom: 2px;
}

.task-card-footer .card-val {
    font-weight: 700;
    color: var(--color-text);
}

/* ── PRIVATE CLIENT DASHBOARD SHOWCASE ── */
.dashboard-showcase-section {
    padding: 6rem 0;
    overflow: hidden;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 991px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.label-indigo {
    color: var(--color-indigo) !important;
}

.dashboard-showcase-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.dashboard-showcase-desc {
    margin-bottom: 2.25rem;
    color: var(--color-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.dashboard-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.dashboard-feature-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.feature-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(90, 79, 207, 0.08);
    color: var(--color-indigo);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 750;
    margin-bottom: 0.25rem;
    color: var(--color-text);
}

.feature-content p {
    font-size: 0.925rem;
    color: var(--color-muted);
    margin: 0;
    line-height: 1.5;
}

.dashboard-visual-col {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.mock-dashboard-wrapper {
    width: 100%;
    max-width: 650px;
    position: relative;
    padding: 12px;
    background: linear-gradient(135deg, rgba(90, 79, 207, 0.05), rgba(244, 63, 94, 0.05));
    border-radius: 28px;
    border: 1px dashed rgba(90, 79, 207, 0.15);
}

.mock-dashboard-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08), 0 0 1px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

/* ── APP WINDOW INTERFACE MOCKUP ── */
.dashboard-app-window {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.12), 0 0 1px 0 rgba(0, 0, 0, 0.15);
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.window-top-bar {
    background: #F8FAFC;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.window-dots {
    display: flex;
    gap: 6px;
}

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

.dot-btn.red {
    background: #FF5F56;
}

.dot-btn.yellow {
    background: #FFBD2E;
}

.dot-btn.green {
    background: #27C93F;
}

.window-address {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 6px;
    padding: 3px 20px;
    font-size: 10px;
    color: #94A3B8;
    font-weight: 500;
    text-align: center;
    min-width: 180px;
}

.window-spacer {
    width: 42px;
}

/* Dashboard Workspace Layout */
.dashboard-workspace-layout {
    display: flex;
    height: 100%;
    min-height: 480px;
    background: #F8FAFC;
}

/* Mini Sidebar Styling */
.dashboard-mini-sidebar {
    background: #ffffff;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    width: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    flex-shrink: 0;
}

.sidebar-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--color-indigo);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sidebar-nav .nav-item {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all var(--transition-base);
}

.sidebar-nav .nav-item:hover,
.sidebar-nav .nav-item.active {
    background: rgba(90, 79, 207, 0.08);
    color: var(--color-indigo);
}

.sidebar-profile {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(244, 63, 94, 0.1);
    color: var(--color-cta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

/* Main Content Styling */
.dashboard-main-content {
    flex: 1;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    overflow-y: auto;
}

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

.dashboard-sub-label {
    font-size: 9px;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 2px;
}

.dashboard-main-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-text);
    margin: 0;
}

.dashboard-status-badge {
    font-size: 10px;
    font-weight: 700;
    background: rgba(34, 197, 94, 0.08);
    color: #22C55E;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.status-pulse {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #22C55E;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Metrics Row styling */
.dashboard-metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.metric-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.metric-label {
    font-size: 8px;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
}

.metric-value {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text);
}

/* Workspace Card inside Dashboard */
.dashboard-workspace-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-tag {
    font-size: 12px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 4px;
    display: block;
}

.project-desc {
    font-size: 0.825rem;
    color: var(--color-muted);
    line-height: 1.4;
    margin: 0;
}

.workspace-progress-section {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding-top: 1rem;
    margin-bottom: 0.75rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.progress-title {
    font-size: 9px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
}

.progress-percentage {
    font-size: 10px;
    font-weight: 800;
}

.progress-bar-bg {
    width: 100%;
    height: 6px;
    background: #E2E8F0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    width: 66%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-indigo), var(--color-cta));
    border-radius: 3px;
}

.workspace-checklist {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checklist-title {
    font-size: 9px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #1E293B;
}

.checklist-item.completed i {
    color: #22C55E;
    font-size: 1rem;
}

.checklist-item.completed span {
    text-decoration: line-through;
    color: #94A3B8;
    font-weight: 500;
}

.active-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--color-cta);
    flex-shrink: 0;
    position: relative;
}

.active-dot::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-cta);
}

.active-text {
    font-weight: 600;
    color: var(--color-text);
}

/* ── DASHBOARD SHOWCASE RESPONSIVE ── */

@media (max-width: 991px) {
    .dashboard-showcase-section {
        padding: 4rem 0;
    }

    .dashboard-showcase-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .dashboard-showcase-title {
        font-size: 1.75rem;
    }

    .mock-dashboard-wrapper {
        max-width: 100%;
        padding: 8px;
    }

    .dashboard-workspace-layout {
        min-height: 380px;
    }

    /* Shrink the sidebar to icon-only strip */
    .dashboard-mini-sidebar {
        width: 48px;
        padding: 1rem 0;
    }

    .sidebar-logo {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .sidebar-nav .nav-item {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .sidebar-profile {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    .dashboard-main-content {
        padding: 1.25rem 1rem;
        gap: 1rem;
    }

    .dashboard-main-title {
        font-size: 0.95rem;
    }

    .window-address {
        min-width: 120px;
        font-size: 9px;
        padding: 3px 10px;
    }

    .dashboard-metrics-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .metric-card {
        padding: 0.6rem 0.5rem;
    }

    .metric-label {
        font-size: 7px;
    }

    .metric-value {
        font-size: 10px;
    }

    .dashboard-workspace-card {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .dashboard-showcase-title {
        font-size: 1.55rem;
    }

    .dashboard-showcase-desc {
        font-size: 0.95rem;
    }

    .dashboard-workspace-layout {
        min-height: 320px;
    }

    /* Hide sidebar entirely on very small screens to save space */
    .dashboard-mini-sidebar {
        display: none;
    }

    .dashboard-main-content {
        padding: 1rem;
        gap: 0.85rem;
    }

    .dashboard-metrics-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .window-address {
        min-width: 90px;
        font-size: 8px;
        padding: 3px 8px;
    }

    .window-top-bar {
        padding: 8px 12px;
    }

    .dot-btn {
        width: 8px;
        height: 8px;
    }
}



/* ── INCENTIVE FLYWHEEL LOOP ── */
.flywheel-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 2rem auto;
}

.flywheel-svg {
    width: 100%;
    height: auto;
}

.flywheel-spin {
    transform-origin: center;
    animation: rotateLoop 20s linear infinite;
}

@keyframes rotateLoop {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.flywheel-label {
    position: absolute;
    font-size: 10px;
    font-weight: 700;
    background: rgba(22, 22, 40, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4px 10px;
    border-radius: 4px;
    color: var(--color-white);
    white-space: nowrap;
    z-index: 5;
}

.flywheel-label.top {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.flywheel-label.right {
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.flywheel-label.bottom {
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.flywheel-label.left {
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
}

/* ── LIVE ACTIVITY TICKER CONSOLE ── */
.ticker-console-container {
    background: #12121E;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.console-header {
    background: #161628;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.console-dots {
    display: flex;
    gap: 6px;
}

.console-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.console-dots .dot.red {
    background: #EF4444;
}

.console-dots .dot.yellow {
    background: #F59E0B;
}

.console-dots .dot.green {
    background: #10B981;
}

.console-title {
    font-family: monospace;
    font-size: 11px;
    color: #6B7280;
}

.console-ticker-viewport {
    height: 230px;
    overflow: hidden;
    position: relative;
    padding: 1rem;
}

.console-ticker-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: consoleTickerScroll 22s linear infinite;
}

@keyframes consoleTickerScroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.console-ticker-item {
    font-family: monospace;
    font-size: 12px;
    line-height: 1.5;
    color: #D1D5DB;
}

.time-stamp {
    color: #6B7280;
    margin-right: 6px;
}

.talent-name {
    color: #FCD34D;
    font-weight: 700;
}

.company-name {
    color: var(--color-primary);
    font-weight: 700;
}

.coins-earned {
    color: #10B981;
    font-weight: 700;
}

.talent-count {
    color: var(--color-secondary);
}

.score-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 10px;
}

/* ── MEDIA QUERIES ── */
@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-ctas-custom {
        justify-content: center;
    }

    .hero-visual-panel {
        max-width: 485px;
    }

    .floating-wallet-card {
        max-width: 380px;
    }

    .split-cards-container {
        flex-direction: column;
    }

    .split-arrow-connector {
        transform: rotate(90deg);
        width: 60px;
        height: 40px;
        margin: 1.5rem auto;
    }

    .lifecycle-steps {
        flex-direction: column;
        gap: 2rem;
    }

    .lifecycle-step-node {
        width: 100%;
    }

    .timeline-line-svg {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-ctas-custom {
        flex-direction: column;
        width: 100%;
    }

    .hero-ctas-custom .btn-custom {
        width: 100%;
    }

    .floating-wallet-card {
        width: 100%;
        max-width: 290px;
    }

    .wallet-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .currency-pills {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

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

    .glass-career-card {
        padding: 1.25rem;
    }

    .execution-metrics-row {
        gap: 6px;
    }

    .metric-pill {
        padding: 6px 4px;
        font-size: 9px;
    }

    .metric-pill .val {
        font-size: 11px;
    }
}

/* ── CAREER FIT CARD STYLES ── */
.glass-career-card {
    background: rgba(22, 22, 40, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 5;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.career-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-indigo);
    color: var(--color-white);
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(90, 79, 207, 0.4);
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.profile-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-white);
}

.profile-status {
    font-size: 10px;
    color: #10B981;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
    display: inline-block;
    animation: nodeActivePulse 1.5s infinite;
}

.sub-label-custom {
    display: block;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9CA3AF;
    margin-bottom: 0.75rem;
}

.career-paths-fit {
    margin-bottom: 1.5rem;
}

.path-bar-item {
    margin-bottom: 0.875rem;
}

.path-bar-item:last-child {
    margin-bottom: 0;
}

.path-info {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
    color: #D1D5DB;
    margin-bottom: 4px;
}

.path-bar-bg {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    overflow: hidden;
}

.path-bar-fill {
    height: 100%;
    border-radius: 99px;
}

.execution-metrics-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.metric-pill {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 10px;
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 10px;
    color: #9CA3AF;
    font-weight: 500;
}

.metric-pill .val {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--color-white);
    margin-top: 2px;
}

.behavioral-summary {
    background: rgba(90, 79, 207, 0.08);
    border: 1px solid rgba(90, 79, 207, 0.15);
    padding: 1rem;
    border-radius: var(--radius-md);
}

.summary-text {
    font-size: 11px;
    line-height: 1.5;
    color: #D1D5DB;
}

/* ── CENTERED ticker FULL-WIDTH ── */
.ticker-console-full-width {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* ── RESPONSIVE MOBILE BUBBLE CHART (NEVER RUN OFF MARGINS) ── */
@media (max-width: 600px) {
    .bubble-chart-container {
        height: auto !important;
        min-height: auto !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
        padding: 1.25rem !important;
        overflow: visible !important;
    }

    .bubble-cluster {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 84px !important;
        height: 84px !important;
        border-radius: 50% !important;
        margin: 0 !important;
        flex: 0 0 84px !important;
        padding: 6px !important;
        box-sizing: border-box !important;
    }

    .bubble-cluster .bubble-title {
        font-size: 9px !important;
        margin-bottom: 1px !important;
    }

    .bubble-cluster .bubble-skills {
        font-size: 6px !important;
        line-height: 1.1 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
}

/* ==========================================================================
   STEP-BASED TICKET WORKSPACE
   ========================================================================== */

/* Step tab visibility — hide all, show only .active */
.step-tab-content {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.step-tab-content.active {
    display: block;
}

/* Step node hover feedback */
.step-node {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.step-node:hover .step-dot {
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
}

.step-node.locked {
    opacity: 0.5;
    cursor: default;
}

.step-node.locked:hover .step-dot {
    box-shadow: none;
}

/* ==========================================================================
   TALENT DASHBOARD: CAREER FIT & SKILL HEATMAP BARS
   ========================================================================== */

.career-fit-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.career-fit-label {
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    min-width: 140px;
    flex-shrink: 0;
}

.career-fit-bar-container {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.career-fit-bar {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    border-radius: 999px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 4px;
}

.career-fit-pct {
    font-size: 12px;
    font-weight: 800;
    color: #4f46e5;
    min-width: 36px;
    text-align: right;
}

/* ==========================================================================
   USE CASE CPT ARCHIVE STYLES
   ========================================================================== */
.use-cases-archive-wrapper {
    background: #F7F8FC;
    color: #2D2D2D;
    --primary: #4F46E5;
    --secondary: #6C63FF;
    --orange: #EA6C0A;
    --purple: #4F46E5;
    --dark: #0F0F1A;
    --dark-surface: #FFFFFF;
    --card: #FFFFFF;
    --border: rgba(0, 0, 0, 0.08);
    --text: #2D2D2D;
    --muted: #6B7280;
    --green: #16A34A;
    font-family: 'Inter', system-ui, sans-serif;
    padding-bottom: 6rem;
}

.use-cases-archive-wrapper .archive-hero {
    padding-top: 10rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #0F0F1A;
    background-image: radial-gradient(circle at top right, rgba(108, 99, 255, 0.15), transparent 60%);
}

.use-cases-archive-wrapper .archive-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.use-cases-archive-wrapper .archive-hero .tagline {
    font-size: 1.25rem;
    color: #94A3B8;
    max-width: 750px;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.use-cases-archive-wrapper .currency-banner {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.use-cases-archive-wrapper .currency-banner i {
    color: #5BA4F5;
    font-size: 16px;
}

.use-cases-archive-wrapper .currency-banner span.highlight {
    color: #5BA4F5;
}

.use-cases-archive-wrapper .guide-section {
    padding: 5rem 0 3rem 0;
}

.use-cases-archive-wrapper .guide-title-block {
    margin-bottom: 3rem;
}

.use-cases-archive-wrapper .guide-title-block h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0F0F1A;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.use-cases-archive-wrapper .guide-title-block p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 600px;
}

.use-cases-archive-wrapper .guide-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .use-cases-archive-wrapper .guide-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .use-cases-archive-wrapper .guide-steps-grid {
        grid-template-columns: 1fr;
    }
}

.use-cases-archive-wrapper .guide-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border-radius: 16px;
    padding: 2.25rem 1.75rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.use-cases-archive-wrapper .guide-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.use-cases-archive-wrapper .guide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.use-cases-archive-wrapper .guide-card:hover::before {
    opacity: 1;
}

.use-cases-archive-wrapper .guide-card .step-num {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.04);
}

.use-cases-archive-wrapper .guide-card .icon-holder {
    width: 48px;
    height: 48px;
    background: rgba(79, 70, 229, 0.06);
    border-radius: 12px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 1.25rem;
}

.use-cases-archive-wrapper .guide-card:nth-child(even) .icon-holder {
    background: rgba(108, 99, 255, 0.08);
    color: var(--secondary);
}

.use-cases-archive-wrapper .guide-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0F0F1A;
    margin-bottom: 0.5rem;
}

.use-cases-archive-wrapper .guide-card p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.6;
}

.use-cases-archive-wrapper .catalog-section {
    padding: 3rem 0 5rem 0;
}

.use-cases-archive-wrapper .grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem;
}

@media (max-width: 768px) {
    .use-cases-archive-wrapper .grid-2 {
        grid-template-columns: 1fr;
    }
}

.use-cases-archive-wrapper .use-case-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.use-cases-archive-wrapper .use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.05);
    border-color: rgba(79, 70, 229, 0.2);
}

.use-cases-archive-wrapper .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.use-cases-archive-wrapper .card-icon-badge {
    width: 52px;
    height: 52px;
    background: rgba(79, 70, 229, 0.05);
    border: 1px solid rgba(79, 70, 229, 0.12);
    border-radius: 12px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.use-cases-archive-wrapper .card-type-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    border-radius: 4px;
}

.use-cases-archive-wrapper .card-type-badge.built-in {
    background: rgba(22, 163, 74, 0.1);
    color: var(--green);
    border: 1px solid rgba(22, 163, 74, 0.15);
}

.use-cases-archive-wrapper .card-type-badge.on-demand {
    background: rgba(234, 108, 10, 0.1);
    color: var(--orange);
    border: 1px solid rgba(234, 108, 10, 0.15);
}

.use-cases-archive-wrapper .card-title {
    font-size: 22px;
    font-weight: 800;
    color: #0F0F1A;
    margin-bottom: 0.6rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.use-cases-archive-wrapper .card-tagline {
    font-size: 14.5px;
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.use-cases-archive-wrapper .card-tracks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1.75rem;
}

.use-cases-archive-wrapper .card-track-pill {
    font-size: 10.5px;
    font-weight: 600;
    background: rgba(108, 99, 255, 0.08);
    color: var(--purple);
    border-radius: 4px;
    padding: 3px 8px;
}

.use-cases-archive-wrapper .card-tasks-preview {
    background: #F8FAFC;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.75rem;
}

.use-cases-archive-wrapper .card-tasks-preview h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.use-cases-archive-wrapper .card-tasks-preview ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.use-cases-archive-wrapper .card-tasks-preview ul li {
    font-size: 13.5px;
    color: #334155;
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
}

.use-cases-archive-wrapper .card-tasks-preview ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.use-cases-archive-wrapper .card-tasks-preview ul li .t-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 10px;
}

.use-cases-archive-wrapper .card-tasks-preview ul li .t-val {
    color: var(--primary);
    font-weight: 700;
    font-size: 12.5px;
    flex-shrink: 0;
}

.use-cases-archive-wrapper .card-tasks-preview .preview-footnote {
    font-size: 10.5px;
    color: var(--muted);
    margin-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 8px;
    line-height: 1.4;
}

.use-cases-archive-wrapper .card-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: auto;
}

.use-cases-archive-wrapper .btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    text-align: center;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.use-cases-archive-wrapper .btn-action-primary {
    background: var(--primary);
    color: #FFFFFF;
}

.use-cases-archive-wrapper .btn-action-primary:hover {
    background: #3B32C4;
}

.use-cases-archive-wrapper .btn-action-outline {
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: #334155;
}

.use-cases-archive-wrapper .btn-action-outline:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.25);
}

.use-cases-archive-wrapper .table-section {
    padding: 5rem 0 6rem 0;
    border-top: 1px solid var(--border);
}

.use-cases-archive-wrapper .table-title-block {
    margin-bottom: 2.5rem;
}

.use-cases-archive-wrapper .table-title-block h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0F0F1A;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.use-cases-archive-wrapper .table-title-block p {
    color: var(--muted);
    font-size: 14px;
}

.use-cases-archive-wrapper .table-responsive {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    background: #FFFFFF;
}

.use-cases-archive-wrapper .table-responsive table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 800px;
}

.use-cases-archive-wrapper .table-responsive th {
    background: #F8FAFC;
    padding: 16px 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    border-bottom: 1px solid var(--border);
}

.use-cases-archive-wrapper .table-responsive td {
    padding: 18px 20px;
    font-size: 14px;
    color: #334155;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    line-height: 1.5;
}

.use-cases-archive-wrapper .table-responsive tr:last-child td {
    border-bottom: none;
}

.use-cases-archive-wrapper .table-responsive tr:hover td {
    background: #FAFBFD;
    color: #0F0F1A;
}

.use-cases-archive-wrapper .table-responsive td strong {
    color: #0F0F1A;
    font-weight: 700;
}

/* ==========================================================================
   USE CASE CPT SINGLE STYLES
   ========================================================================== */
.use-cases-wrapper {
    background: #F7F8FC;
    color: #2D2D2D;
    --primary: #4F46E5;
    --orange: #EA6C0A;
    --purple: #6C63FF;
    --dark: #0F0F1A;
    --card: #FFFFFF;
    --border: rgba(0, 0, 0, 0.08);
    --text: #2D2D2D;
    --muted: #6B7280;
    --green: #16A34A;
    font-family: 'Inter', system-ui, sans-serif;
}

.use-cases-wrapper .hero-section {
    padding-top: 10rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #0F0F1A;
    background-image: radial-gradient(circle at top right, rgba(108, 99, 255, 0.15), transparent 60%);
}

.use-cases-wrapper .hero-section .icon-badge {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(91, 164, 245, 0.12);
    border: 1px solid rgba(91, 164, 245, 0.3);
    color: #5BA4F5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 1.5rem;
}

.use-cases-wrapper .hero-section h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.use-cases-wrapper .hero-section .tagline {
    font-size: 1.25rem;
    color: #94A3B8;
    max-width: 650px;
    line-height: 1.6;
}

.use-cases-wrapper .track-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.use-cases-wrapper .track-pill {
    background: rgba(108, 99, 255, 0.15);
    color: #7870FF;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
}

.use-cases-wrapper .content-grid {
    padding-top: 4rem;
    padding-bottom: 6rem;
}

.use-cases-wrapper .rich-editor-content {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 3.5rem;
}

.use-cases-wrapper .rich-editor-content p {
    margin-bottom: 1.5rem;
    color: #334155;
}

.use-cases-wrapper .rich-editor-content strong {
    color: #0F0F1A;
    font-weight: 700;
}

.use-cases-wrapper .task-timeline {
    background: #FFFFFF;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border-radius: 16px;
    padding: 2.5rem;
}

.use-cases-wrapper .task-timeline h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0F0F1A;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

.use-cases-wrapper .timeline-list {
    position: relative;
    padding-left: 2rem;
    list-style: none;
    margin: 0;
}

.use-cases-wrapper .timeline-list::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border);
}

.use-cases-wrapper .timeline-item {
    position: relative;
    margin-bottom: 1.75rem;
}

.use-cases-wrapper .timeline-item:last-child {
    margin-bottom: 0;
}

.use-cases-wrapper .timeline-item::before {
    content: '';
    position: absolute;
    left: calc(-2rem + 1px);
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
}

.use-cases-wrapper .timeline-item .task-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #0F0F1A;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.use-cases-wrapper .timeline-item .task-val {
    color: var(--primary);
    font-weight: 700;
    white-space: nowrap;
}

.use-cases-wrapper .timeline-disclaimer {
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 1.5rem;
    line-height: 1.6;
    border-top: 1px dashed var(--border);
    padding-top: 12px;
}

.use-cases-wrapper .sidebar-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
    border-radius: 16px;
    padding: 2.5rem;
    position: sticky;
    top: 100px;
}

.use-cases-wrapper .sidebar-section {
    margin-bottom: 1.75rem;
}

.use-cases-wrapper .sidebar-section:last-of-type {
    margin-bottom: 2rem;
}

.use-cases-wrapper .sidebar-section h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 6px;
}

.use-cases-wrapper .sidebar-section ul {
    list-style: none;
    padding: 0;
}

.use-cases-wrapper .sidebar-section ul li {
    font-size: 14px;
    color: #334155;
    padding: 6px 0 6px 14px;
    position: relative;
    line-height: 1.5;
}

.use-cases-wrapper .sidebar-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
}

.use-cases-wrapper .sidebar-section ul li strong {
    color: #0F0F1A;
}

.use-cases-wrapper .outcome-box {
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
    font-size: 13.5px;
    line-height: 1.5;
}

.use-cases-wrapper .outcome-box.client {
    background: rgba(79, 70, 229, 0.05);
    border: 1px solid rgba(79, 70, 229, 0.12);
}

.use-cases-wrapper .outcome-box.talent {
    background: rgba(22, 163, 74, 0.05);
    border: 1px solid rgba(22, 163, 74, 0.12);
}

.use-cases-wrapper .outcome-box .label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.use-cases-wrapper .outcome-box.client .label {
    color: var(--primary);
}

.use-cases-wrapper .outcome-box.talent .label {
    color: var(--green);
}

.use-cases-wrapper .outcome-box p {
    color: #334155;
    margin: 0;
    font-weight: 500;
}

.use-cases-wrapper .btn-deploy {
    width: 100%;
    justify-content: center;
    text-align: center;
    display: inline-flex;
    align-items: center;
    padding: 12px 18px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.use-cases-wrapper .btn-deploy:hover {
    background: #3B32C4;
}

/* ==========================================================================
   404 ERROR PAGE STYLES
   ========================================================================== */
.page-404 {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    position: relative;
    overflow: hidden;
    padding: 4rem 2rem;
}

.page-404 .glowing-backdrop-1 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    top: 10%;
    left: 15%;
    filter: blur(40px);
    pointer-events: none;
}

.page-404 .glowing-backdrop-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    bottom: 10%;
    right: 15%;
    filter: blur(40px);
    pointer-events: none;
}

.page-404 .container-inner {
    position: relative;
    z-index: 10;
    text-align: center;
}

.page-404 h1.error-code {
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: 800;
    line-height: 1;
    margin: 0;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.3));
    letter-spacing: -0.05em;
    animation: error-float 6s ease-in-out infinite;
}

.page-404 h2.error-message {
    color: #ffffff;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-404 p.error-desc {
    color: #94a3b8;
    font-size: 1.125rem;
    max-width: 500px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.75;
}

.page-404 .cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.page-404 .btn-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    cursor: pointer;
}

.page-404 .btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.page-404 .btn-home:active {
    transform: translateY(0);
}

.page-404 .btn-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: background-color 0.2s, border-color 0.2s;
    text-decoration: none;
    cursor: pointer;
}

.page-404 .btn-secondary-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

@keyframes error-float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ==========================================================================
   SINGLE TALENT PROFILE STYLES
   ========================================================================== */
.talent-hero {
    padding-top: 10rem;
    padding-bottom: 5rem;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    position: relative;
}

.talent-hero-inner {
    display: flex;
    align-items: flex-end;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.talent-avatar {
    width: 120px;
    height: 120px;
    border-radius: 30px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.talent-badge-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.talent-title-name {
    margin: 0;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.talent-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.125rem;
    margin-top: 0.5rem;
}

.talent-grid-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

@media (max-width: 991px) {
    .talent-grid-container {
        grid-template-columns: 1fr;
    }
}

.talent-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.talent-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.75rem;
}

/* Meter bars for 6 dimensions */
.dim-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .dim-grid {
        grid-template-columns: 1fr;
    }
}

.dim-bar-wrap {
    margin-bottom: 0.5rem;
}

.dim-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: #334155;
}

.dim-track {
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
}

.dim-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 1s ease-out;
}

/* Career Fit confidence blocks */
.career-fit-row {
    display: grid;
    grid-template-columns: 140px 1fr 60px;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

.career-fit-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #475569;
}

.career-fit-bar-container {
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.career-fit-bar {
    height: 100%;
    border-radius: 4px;
    background: #4f46e5;
}

.career-fit-pct {
    font-size: 0.875rem;
    font-weight: 700;
    color: #4f46e5;
    text-align: right;
}

@media (max-width: 640px) {
    .career-fit-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .career-fit-pct {
        text-align: left;
    }
}

/* Interactive Modal */
.hire-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
}

.hire-modal.open {
    display: flex;
}

.hire-modal-content {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    position: relative;
    animation: modalSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlide {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

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

.hire-modal-header {
    padding: 1.5rem 2rem;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hire-modal-body {
    padding: 2rem;
}

.hire-option-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.hire-option-card:hover {
    border-color: #6366f1;
    background: #fcfcff;
}

.hire-option-card.selected {
    border-color: #4f46e5;
    background: #f8fafc;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.08);
}

.hire-option-card input[type="radio"] {
    position: absolute;
    right: 1.25rem;
    top: 1.5rem;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #4f46e5;
}

.hire-option-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
    display: block;
}

.hire-option-desc {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.4;
    display: block;
}

/* ==========================================================================
   SINGLE OPEN TASK / OPPORTUNITY STYLES
   ========================================================================== */
.career-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.career-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
    margin-top: 3rem;
    align-items: start;
}

.career-main-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.career-section-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
}

.career-stats-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.career-stat-item {
    flex: 1;
    min-width: 100px;
}

@media (max-width: 991px) {
    .career-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .career-sidebar-sticky {
        position: static !important;
    }
}

@media (max-width: 768px) {
    .career-stats-row {
        gap: 1.25rem;
    }

    .career-section-card {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   WORKSPACE STANDARD STYLES
   ========================================================================== */
.standard-workspace {
    font-family: 'Inter', sans-serif;
}

.task-brief-card {
    background: #ffffff;
    border-left: 4px solid #4f46e5;
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.05);
    border-top: 1px solid #f1f5f9;
    border-right: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.tickets-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.ticket-row-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.ticket-row-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 12px -2px rgba(0, 0, 0, 0.05);
}

.ticket-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ticket-title-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ticket-order-badge {
    font-size: 0.75rem;
    background: #f1f5f9;
    color: #64748b;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
}

.ticket-title-text {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.status-badge-premium {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    color: #ffffff;
}

.brief-text-block {
    font-size: 0.925rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 1.25rem;
    background: #f8fafc;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
}

.upload-proof-form {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.25rem;
    margin-top: 1rem;
}

.form-label-premium {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.5rem;
}

.form-input-premium {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.875rem;
    background: #ffffff;
    color: #1e293b;
    transition: all 0.2s;
    box-sizing: border-box;
}

.form-input-premium:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
}

.btn-submit-premium {
    background: #4f46e5;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit-premium:hover {
    background: #3730a3;
}

@media (max-width: 768px) {
    .ticket-header-flex {
        flex-direction: column;
        align-items: flex-start;
    }

    .status-badge-premium {
        align-self: flex-start;
    }

    .btn-submit-premium {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   WORKSPACE PRODUCT MANAGER STYLES
   ========================================================================== */
.pm-workspace {
    font-family: 'Inter', sans-serif;
}

.metrics-gradient-card {
    background: linear-gradient(135deg, #1e1b4b, #311042);
    color: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.metrics-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.metrics-stat-box {
    background: rgba(255, 255, 255, 0.04);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.2s ease;
}

.metrics-stat-box:hover {
    transform: translateY(-2px);
}

.metrics-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #c084fc;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.metrics-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.metrics-stat-unit {
    font-size: 0.875rem;
    font-weight: 500;
    color: #a78bfa;
}

.pm-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.05);
}

.pm-input-premium {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.875rem;
    background: #ffffff;
    color: #1e293b;
    transition: all 0.2s;
}

.pm-input-premium:focus {
    border-color: #a78bfa;
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.2);
    outline: none;
}

.pm-button-premium {
    background: #6d28d9;
    color: #ffffff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    text-align: center;
}

.pm-button-premium:hover {
    background: #5b21b6;
}

@media (max-width: 768px) {
    .metrics-grid-premium {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .metrics-gradient-card {
        padding: 1.25rem;
    }

    .pm-form-card {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .metrics-grid-premium {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   WORKSPACE DATA ANALYST STYLES
   ========================================================================== */
.tefolab-workspace {
    font-family: 'Inter', sans-serif;
}

.pacing-gradient-card {
    background: linear-gradient(135deg, #0f172a, #1e1b4b);
    color: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pacing-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.pacing-stat-box {
    background: rgba(255, 255, 255, 0.04);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.2s ease;
}

.pacing-stat-box:hover {
    transform: translateY(-2px);
}

.pacing-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.pacing-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.pacing-stat-unit {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
}

.sop-card-premium {
    background: #ffffff;
    border-left: 4px solid #4f46e5;
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.05);
    border-top: 1px solid #f1f5f9;
    border-right: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.form-card-premium {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.05);
}

.responsive-grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.responsive-grid-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.responsive-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.target-box-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.target-box-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.premium-input-field {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.875rem;
    background: #ffffff;
    color: #1e293b;
    transition: all 0.2s;
}

.premium-input-field:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
}

.premium-button-dark {
    background: #0f172a;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.premium-button-dark:hover {
    background: #1e293b;
}

/* Responsive Media Queries */
@media (max-width: 768px) {

    .responsive-grid-three,
    .responsive-grid-two {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pacing-grid-premium {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .pacing-gradient-card {
        padding: 1.25rem;
    }

    .form-card-premium,
    .sop-card-premium {
        padding: 1.25rem;
    }

    .premium-button-dark {
        width: 100%;
        justify-content: center;
    }

    .filter-bar-premium {
        flex-direction: column;
        align-items: stretch !important;
    }

    .filter-bar-premium>div {
        width: 100% !important;
    }

    .filter-button-group {
        width: 100%;
        display: flex;
        gap: 0.5rem;
    }

    .filter-button-group>button,
    .filter-button-group>a {
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .pacing-grid-premium {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   WORKSPACE CUSTOM CONTENT STYLE
   ========================================================================== */
.custom-content-premium-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #8b5cf6;
}

/* ==========================================================================
   SINGLE INNOVATION STYLES
   ========================================================================== */
.avatar-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2.5px solid white;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s;
}

.avatar-circle:hover {
    transform: translateY(-3px);
    z-index: 50 !important;
}

.avatar-circle::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #1f2937;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    margin-bottom: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    pointer-events: none;
}

.avatar-circle::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    border-width: 5px;
    border-style: solid;
    border-color: #1f2937 transparent transparent transparent;
    margin-bottom: -2px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    pointer-events: none;
}

.avatar-circle:hover::after,
.avatar-circle:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* ==========================================================================
   TALENT JOIN PAGE STATE TOGGLE STYLES
   ========================================================================== */
.card.reveal.join-submitted #talent-onboarding-form,
.card.reveal.join-submitted .form-step-indicator {
    display: none !important;
}

/* ==========================================================================
   TALENT PORTAL DASHBOARD SCOPED STYLES
   ========================================================================== */
.talent-dashboard-wrapper .container {
    max-width: 1000px !important;
}

.talent-dashboard-wrapper .td-hero {
    padding: 9rem 0 4rem;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
}

.talent-dashboard-wrapper .td-tabs-bar {
    display: flex;
    gap: 1rem;
    border-bottom: 2px solid #e2e8f0;
    margin-top: 2rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.talent-dashboard-wrapper .td-tab-link {
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: #64748b;
    font-weight: 700;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    font-size: 0.9375rem;
    white-space: nowrap;
}

.talent-dashboard-wrapper .td-tab-link:hover {
    color: #4f46e5;
}

.talent-dashboard-wrapper .td-tab-link.active {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
}

.talent-dashboard-wrapper .td-grid {
    display: grid;
    grid-template-columns: minmax(auto, 680px) 300px;
    gap: 30px;
    justify-content: center;
}

@media (max-width: 991px) {
    .talent-dashboard-wrapper .td-grid {
        grid-template-columns: minmax(auto, 680px);
        justify-content: center;
    }
}

.talent-dashboard-wrapper .td-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.talent-dashboard-wrapper .td-section-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.5rem;
}

/* Simulations layout */
.talent-dashboard-wrapper .simulation-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    gap: 1rem;
    flex-wrap: nowrap;
}

/* Heatmap styling */
.talent-dashboard-wrapper .heatmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1rem;
}

.talent-dashboard-wrapper .heatmap-node {
    padding: 1.25rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid transparent;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.talent-dashboard-wrapper .heatmap-node.high {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.talent-dashboard-wrapper .heatmap-node.medium {
    background: #fdf4ff;
    border-color: #f3d9fa;
    color: #6b21a8;
}

.talent-dashboard-wrapper .heatmap-node.low {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #475569;
}

.talent-dashboard-wrapper .heatmap-score {
    font-size: 1.5rem;
    font-weight: 800;
    display: block;
    margin-top: 0.25rem;
}

/* Table layout */
.talent-dashboard-wrapper .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.talent-dashboard-wrapper .td-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.talent-dashboard-wrapper .td-table th {
    background: #f8fafc;
    padding: 0.5rem 0.75rem;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    border-bottom: 2px solid #e2e8f0;
}

.talent-dashboard-wrapper .td-table td {
    padding: 0.75rem;
    font-size: 13px;
    color: #334155;
    border-bottom: 1px solid #e2e8f0;
}

/* Admin Preview Bar */
.talent-dashboard-wrapper .admin-preview-bar {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 24px;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    width: 100%;
    box-sizing: border-box;
}

.talent-dashboard-wrapper .admin-preview-label {
    background: #818cf8;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.talent-dashboard-wrapper .admin-preview-text {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

.talent-dashboard-wrapper .admin-preview-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.talent-dashboard-wrapper .admin-preview-select {
    background: #0f172a;
    border: 1px solid #334155;
    color: #f8fafc;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

.talent-dashboard-wrapper .admin-preview-select:focus {
    border-color: #6366f1;
}

.talent-dashboard-wrapper .admin-preview-link {
    color: #a5b4fc;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.talent-dashboard-wrapper .admin-preview-link:hover {
    color: #c7d2fe;
}

/* Custom Styles for Filters & Pagination */
.talent-dashboard-wrapper .deployment-filters-form {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px 20px;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1.5rem;
}

.talent-dashboard-wrapper .filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.talent-dashboard-wrapper .filter-group label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.05em;
}

.talent-dashboard-wrapper .filter-group.fg-inno {
    grid-column: span 2;
}

.talent-dashboard-wrapper .filter-group.fg-status {
    grid-column: span 2;
}

.talent-dashboard-wrapper .filter-group.fg-incentive {
    grid-column: span 2;
}

.talent-dashboard-wrapper .filter-group.fg-showcase {
    grid-column: span 3;
}

.talent-dashboard-wrapper .filter-group.fg-sort {
    grid-column: span 3;
}

@media (max-width: 991px) {
    .talent-dashboard-wrapper .deployment-filters-form {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px 16px;
    }

    .talent-dashboard-wrapper .filter-group.fg-inno {
        grid-column: span 2;
    }

    .talent-dashboard-wrapper .filter-group.fg-status {
        grid-column: span 2;
    }

    .talent-dashboard-wrapper .filter-group.fg-incentive {
        grid-column: span 2;
    }

    .talent-dashboard-wrapper .filter-group.fg-showcase {
        grid-column: span 2;
    }

    .talent-dashboard-wrapper .filter-group.fg-sort {
        grid-column: span 4;
    }
}

@media (max-width: 768px) {
    .talent-dashboard-wrapper .deployment-filters-form {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .talent-dashboard-wrapper .filter-group.fg-inno {
        grid-column: span 2;
    }

    .talent-dashboard-wrapper .filter-group.fg-status {
        grid-column: span 1;
    }

    .talent-dashboard-wrapper .filter-group.fg-incentive {
        grid-column: span 1;
    }

    .talent-dashboard-wrapper .filter-group.fg-showcase {
        grid-column: span 1;
    }

    .talent-dashboard-wrapper .filter-group.fg-sort {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .talent-dashboard-wrapper .deployment-filters-form {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .talent-dashboard-wrapper .filter-group.fg-inno,
    .talent-dashboard-wrapper .filter-group.fg-status,
    .talent-dashboard-wrapper .filter-group.fg-incentive,
    .talent-dashboard-wrapper .filter-group.fg-showcase,
    .talent-dashboard-wrapper .filter-group.fg-sort {
        grid-column: span 1;
    }
}

.talent-dashboard-wrapper .deployment-filter-select {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    width: 100%;
    height: 36px;
}

.talent-dashboard-wrapper .deployment-filter-select:focus {
    border-color: #4f46e5;
    background: #ffffff;
}

.talent-dashboard-wrapper .paged-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #475569;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    height: 34px;
    min-width: 34px;
    box-sizing: border-box;
}

.talent-dashboard-wrapper .paged-link:hover {
    border-color: #4f46e5;
    color: #4f46e5;
    background: #eeebff;
}

.talent-dashboard-wrapper .paged-link.active {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #ffffff;
}

/* ==========================================================================
   CLIENT HUB PORTAL DASHBOARD SCOPED STYLES
   ========================================================================== */
.client-dashboard-wrapper .client-hero {
    padding: 9rem 0 4rem;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
}

.client-dashboard-wrapper .client-tabs-nav {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.client-dashboard-wrapper .project-subtabs-container {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.75rem;
    flex-wrap: wrap;
}

.client-dashboard-wrapper .client-tab-btn {
    padding: 0.875rem 1.5rem;
    border: none;
    background: none;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.client-dashboard-wrapper .client-tab-btn svg {
    width: 18px;
    height: 18px;
    transition: stroke 0.2s ease;
}

.client-dashboard-wrapper .client-tab-btn:hover {
    color: var(--color-indigo);
}

.client-dashboard-wrapper .client-tab-btn.active {
    color: var(--color-indigo);
    border-bottom-color: var(--color-indigo);
}

.client-dashboard-wrapper .client-tab-btn.active svg {
    stroke: var(--color-indigo);
}

.client-dashboard-wrapper .client-tab-content {
    display: none;
}

.client-dashboard-wrapper .client-tab-content.active {
    display: block;
    animation: clientTabFade 0.3s ease-out;
}

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

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

/* Innovation cards & timelines */
.client-dashboard-wrapper .inno-timeline-wrap {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.client-dashboard-wrapper .inno-timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.client-dashboard-wrapper .inno-timeline-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.client-dashboard-wrapper .milestone-track {
    position: relative;
    padding-left: 2.5rem;
    margin-top: 2rem;
}

.client-dashboard-wrapper .milestone-track::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #e2e8f0;
}

.client-dashboard-wrapper .milestone-node {
    position: relative;
    margin-bottom: 2rem;
}

.client-dashboard-wrapper .milestone-node:last-child {
    margin-bottom: 0;
}

.client-dashboard-wrapper .milestone-circle {
    position: absolute;
    left: -2.5rem;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #cbd5e1;
    background: #cbd5e1;
}

.client-dashboard-wrapper .milestone-node.approved .milestone-circle {
    box-shadow: 0 0 0 2px #10b981;
    background: #10b981;
}

.client-dashboard-wrapper .milestone-node.in_progress .milestone-circle {
    box-shadow: 0 0 0 2px #3b82f6;
    background: #3b82f6;
}

.client-dashboard-wrapper .milestone-node.submitted .milestone-circle {
    box-shadow: 0 0 0 2px #f59e0b;
    background: #f59e0b;
}

.client-dashboard-wrapper .milestone-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.client-dashboard-wrapper .milestone-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.client-dashboard-wrapper .milestone-meta-info {
    flex: 1;
    min-width: 250px;
}

.client-dashboard-wrapper .milestone-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.client-dashboard-wrapper .milestone-details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8125rem;
    color: #64748b;
    font-weight: 600;
}

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

/* Talent roster cards */
.client-dashboard-wrapper .roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.client-dashboard-wrapper .roster-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.client-dashboard-wrapper .roster-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.client-dashboard-wrapper .roster-avatar {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #6c63ff, #5ba4f5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
}

.client-dashboard-wrapper .dim-ratios-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px;
}

.client-dashboard-wrapper .dim-ratio-item {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    display: flex;
    justify-content: space-between;
}

/* Table wraps */
.client-dashboard-wrapper .table-container {
    width: 100%;
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.client-dashboard-wrapper .hub-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.875rem;
}

.client-dashboard-wrapper .hub-table th {
    background: #f8fafc;
    padding: 1rem;
    font-weight: 700;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.client-dashboard-wrapper .hub-table td {
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.client-dashboard-wrapper .hub-table tr:last-child td {
    border-bottom: none;
}

/* Heatmap styling */
.client-dashboard-wrapper .heatmap-section-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

@media (max-width: 991px) {
    .client-dashboard-wrapper .heatmap-section-grid {
        grid-template-columns: 1fr;
    }

    /* Client tab nav: allow horizontal scroll instead of wrapping under 991px */
    .client-dashboard-wrapper .client-tabs-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 2px;
    }

    .client-dashboard-wrapper .client-tabs-nav::-webkit-scrollbar {
        display: none;
    }

    .client-dashboard-wrapper .client-tab-btn {
        flex-shrink: 0;
        font-size: 0.8125rem;
        padding: 0.75rem 1.25rem;
    }

    /* Project switcher subtabs: scroll horizontally instead of wrapping under 991px */
    .client-dashboard-wrapper .project-subtabs-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .client-dashboard-wrapper .project-subtabs-container::-webkit-scrollbar {
        display: none;
    }

    .client-dashboard-wrapper .project-subtab-btn {
        flex-shrink: 0;
    }
}

.client-dashboard-wrapper .heatmap-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.client-dashboard-wrapper .heatmap-cells-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.client-dashboard-wrapper .heatmap-block {
    border-radius: 10px;
    padding: 1rem;
    border-left: 4px solid #cbd5e1;
    transition: transform 0.2s ease;
}

.client-dashboard-wrapper .heatmap-block:hover {
    transform: translateY(-2px);
}

.client-dashboard-wrapper .heatmap-block.high {
    background: #f5f3ff;
    border-left-color: #7c3aed;
}

.client-dashboard-wrapper .heatmap-block.medium {
    background: #f0fdf4;
    border-left-color: #10b981;
}

.client-dashboard-wrapper .heatmap-block.building {
    background: #eff6ff;
    border-left-color: #3b82f6;
}

.client-dashboard-wrapper .heatmap-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 0.25rem;
}

.client-dashboard-wrapper .heatmap-lbl {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Financial Summaries */
.client-dashboard-wrapper .ledger-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .client-dashboard-wrapper .ledger-summary-grid {
        grid-template-columns: 1fr;
    }
}

/* Pipeline grid & hero area responsiveness */
@media (max-width: 768px) {

    /* Sales Pipeline tab: stack left/right panels */
    .client-dashboard-wrapper .client-pipeline-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Roster cards single column */
    .client-dashboard-wrapper .roster-grid {
        grid-template-columns: 1fr;
    }

    /* Milestone cards: stack meta and actions */
    .client-dashboard-wrapper .milestone-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .client-dashboard-wrapper .milestone-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    /* Client tab nav: override button padding on smaller mobile screens */
    .client-dashboard-wrapper .client-tab-btn {
        padding: 0.75rem 1rem;
    }

    /* Hero action bar: stack report form below logout link */
    .client-dashboard-wrapper .client-hero>.container>div:first-child>div:last-child {
        align-items: stretch;
        min-width: 0;
        width: 100%;
    }

    /* Chevron nodes: wrap to 2 per row on mobile */
    .client-pipeline-chevron-node {
        min-width: 80px !important;
        font-size: 9px !important;
        padding: 6px 2px !important;
    }

    /* Table in milestone/billing sections horizontal scroll */
    .client-dashboard-wrapper .hub-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
}

/* Collapse inline 2-col grids in client hub on mobile */
@media (max-width: 768px) {

    .client-dashboard-wrapper [style*="grid-template-columns: 1.2fr 1fr"],
    .client-dashboard-wrapper [style*="grid-template-columns:1.2fr 1fr"],
    .client-dashboard-wrapper [style*="grid-template-columns: 1fr 1.2fr"],
    .client-dashboard-wrapper [style*="grid-template-columns:1fr 1.2fr"],
    .client-dashboard-wrapper [style*="grid-template-columns: 1fr 1fr"],
    .client-dashboard-wrapper [style*="grid-template-columns:1fr 1fr"],
    .client-dashboard-wrapper [style*="grid-template-columns: repeat(3, 1fr)"],
    .client-dashboard-wrapper [style*="grid-template-columns:repeat(3,1fr)"] {
        grid-template-columns: 1fr !important;
    }
}

.client-dashboard-wrapper .ledger-summary-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.client-dashboard-wrapper .ledger-summary-lbl {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.client-dashboard-wrapper .ledger-summary-val {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
}

.client-dashboard-wrapper .ledger-summary-val.indigo {
    color: var(--color-indigo);
}

.client-dashboard-wrapper .ledger-summary-val.green {
    color: #10b981;
}

@keyframes tefolab-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.client-dashboard-wrapper .tefolab-dev-btn:hover {
    transform: translateY(-1px);
}

.client-dashboard-wrapper .tefolab-dev-btn:active {
    transform: translateY(0);
}

.client-dashboard-wrapper .tefolab-dev-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
    transform: none !important;
}

.client-dashboard-wrapper .tefolab-dev-spinner {
    animation: tefolab-spin 1s linear infinite;
    display: inline-block;
}

@keyframes tefolab-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Dynamic Workspace Tabs */
.workspace-tabs-nav {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.workspace-tabs-nav::-webkit-scrollbar {
    display: none;
}

.workspace-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.15rem;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: #64748b;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.workspace-tab-btn:hover {
    color: #4f46e5;
    background: #f1f5f9;
}

.workspace-tab-btn.active {
    color: white;
    background: #4f46e5;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.workspace-tab-panel {
    display: none;
    animation: workspaceFadeIn 0.3s ease;
}

.workspace-tab-panel.active {
    display: block;
}

@keyframes workspaceFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

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

/* Step Progress Bar */
.step-progress-track {
    margin-bottom: 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 12px;
    position: relative;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.step-progress-track::-webkit-scrollbar {
    display: none;
}

.step-progress-bar {
    position: absolute;
    top: 18px;
    left: 40px;
    right: 40px;
    height: 4px;
    background: #e2e8f0;
    z-index: 1;
}

.step-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    transition: width 0.4s ease;
}

.step-progress-nodes {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Responsiveness adjustments */
@media (max-width: 768px) {
    .workspace-tabs-nav {
        flex-wrap: wrap;
        border-bottom: none;
        gap: 0.5rem;
    }

    .workspace-tab-btn {
        flex-grow: 1;
        justify-content: center;
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        padding: 0.5rem 0.75rem;
        font-size: 12px;
    }

    .workspace-tab-btn.active {
        border-color: #4f46e5;
    }

    .step-progress-scroll-container {
        min-width: 500px;
    }

    /* Collapse large 2-column inline grid layouts inside workspace / talent dashboards to single-column */
    .talent-dashboard-wrapper [style*="grid-template-columns: 1fr 1fr"],
    .talent-dashboard-wrapper [style*="grid-template-columns:1fr 1fr"],
    .talent-dashboard-wrapper [style*="grid-template-columns: 1.2fr 1fr"],
    .talent-dashboard-wrapper [style*="grid-template-columns:1.2fr 1fr"],
    .talent-dashboard-wrapper [style*="grid-template-columns: 1fr 1.2fr"],
    .talent-dashboard-wrapper [style*="grid-template-columns:1fr 1.2fr"],
    .ticket-body [style*="grid-template-columns: 1fr 1fr"],
    .ticket-body [style*="grid-template-columns:1fr 1fr"],
    .ticket-body [style*="grid-template-columns: 1.2fr 1fr"],
    .ticket-body [style*="grid-template-columns:1.2fr 1fr"],
    .ticket-body [style*="grid-template-columns: 1fr 1.2fr"],
    .ticket-body [style*="grid-template-columns:1fr 1.2fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Fix simulation list overflow on mobile by wrapping contents */
    .talent-dashboard-wrapper .simulation-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
    }

    .talent-dashboard-wrapper .simulation-row>div:nth-child(2) {
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
    }
}

/* ==========================================================================
   DASHBOARD HERO CONTRAST & PREMIUM POLISHES
   ========================================================================== */
.client-dashboard-wrapper .client-hero h1 {
    color: #ffffff !important;
}

.talent-dashboard-wrapper .td-hero .td-tabs-bar {
    border-bottom: 2px solid rgba(255, 255, 255, 0.15) !important;
}

.talent-dashboard-wrapper .td-hero .td-tab-link {
    color: rgba(255, 255, 255, 0.6) !important;
}

.talent-dashboard-wrapper .td-hero .td-tab-link:hover {
    color: #a5b4fc !important;
}

.talent-dashboard-wrapper .td-hero .td-tab-link.active {
    color: #a5b4fc !important;
    border-bottom-color: #a5b4fc !important;
}