/* -------------------------------------------------------------
 * Brendan Boden - Digital Transformation Consultancy
 * Executive Design System & High-Contrast White Typography
 * (Fonts loaded asynchronously with display=swap in header.php)
 * ------------------------------------------------------------- */

:root {
    --bg-dark: #080b14;
    --bg-card: rgba(18, 24, 43, 0.85);
    --bg-card-hover: rgba(28, 37, 65, 0.95);
    --border-color: rgba(255, 255, 255, 0.2);
    --border-glow: rgba(0, 242, 254, 0.4);
    
    --primary-cyan: #00f2fe;
    --primary-blue: #4facfe;
    --primary-indigo: #6157ff;
    --accent-purple: #9254de;
    --accent-emerald: #00e676;
    
    --text-main: #ffffff;
    --text-muted: #ffffff;
    --text-dim: #f1f5f9;
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    --glow-shadow: 0 0 30px rgba(0, 242, 254, 0.3);
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Variables */
[data-theme="light"] {
    --bg-dark: #f4f6fb;
    --bg-card: rgba(255, 255, 255, 0.92);
    --bg-card-hover: rgba(255, 255, 255, 0.98);
    --border-color: rgba(0, 0, 0, 0.12);
    --border-glow: rgba(79, 172, 254, 0.5);
    
    --text-main: #0f172a;
    --text-muted: #1e293b;
    --text-dim: #334155;
    
    --glass-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    --glow-shadow: 0 10px 25px rgba(79, 172, 254, 0.2);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

/* High-Contrast White Text Overrides */
p, span, small, li, label, .text-muted, .text-dim, .text-white-50, .accordion-body, .form-text {
    color: #ffffff !important;
}

.text-muted {
    opacity: 0.95;
}

/* Typography Gradient Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-blue) 50%, var(--primary-indigo) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    display: inline-block;
}

.text-gradient-purple {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Interactive Canvas Background */
#hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Glassmorphism Containers */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: var(--border-glow);
    box-shadow: var(--glass-shadow), var(--glow-shadow);
}

.glass-nav {
    background: rgba(8, 11, 20, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

[data-theme="light"] .glass-nav {
    background: rgba(244, 246, 251, 0.95);
}

/* Buttons & CTA Styling */
.btn-gradient-primary {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-indigo) 100%);
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50rem;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.3);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

.btn-gradient-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary-indigo) 0%, var(--primary-cyan) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.btn-gradient-primary:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(97, 87, 255, 0.4);
}

.btn-gradient-primary:hover::before {
    opacity: 1;
}

.btn-outline-glass {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50rem;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

.btn-outline-glass:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan) !important;
    transform: translateY(-2px);
}

/* Badge Styles */
.badge-pill-glow {
    background: rgba(0, 242, 254, 0.15);
    border: 1px solid rgba(0, 242, 254, 0.4);
    color: var(--primary-cyan) !important;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-emerald);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(0, 230, 118, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

/* Pillar Card Grid */
.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 35px 28px;
    height: 100%;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.pillar-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-indigo));
    transition: width 0.4s ease;
}

.pillar-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    box-shadow: var(--glass-shadow), var(--glow-shadow);
}

.pillar-card:hover::after {
    width: 100%;
}

.pillar-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.2) 0%, rgba(97, 87, 255, 0.2) 100%);
    border: 1px solid rgba(0, 242, 254, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-cyan);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-icon-box {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-indigo) 100%);
    color: #ffffff;
}

/* Questionnaire Step Wizard Styling */
.wizard-progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.wizard-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-indigo));
    width: 20%;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.step-item {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    color: #ffffff !important;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    transition: var(--transition-smooth);
}

.step-item.active .step-number {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-indigo));
    border-color: transparent;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}

.step-item.completed .step-number {
    background: var(--accent-emerald);
    border-color: transparent;
    color: #ffffff !important;
}

.step-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff !important;
}

.step-item.active .step-title {
    color: var(--primary-cyan) !important;
}

/* Form Fields Styling */
.form-label-custom {
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff !important;
    margin-bottom: 8px;
    display: block;
}

.form-control-custom, .form-select-custom {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-color);
    color: #ffffff !important;
    border-radius: 12px;
    padding: 14px 18px;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
    width: 100%;
}

[data-theme="light"] .form-control-custom, [data-theme="light"] .form-select-custom {
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a !important;
}

.form-control-custom:focus, .form-select-custom:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.35);
    background: rgba(15, 23, 42, 0.95);
    color: #ffffff !important;
}

.option-card {
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid var(--border-color);
    border-radius: 14px;
    padding: 18px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
}

.option-card:hover {
    border-color: var(--primary-blue);
    background: rgba(79, 172, 254, 0.12);
}

.option-card.selected {
    border-color: var(--primary-cyan);
    background: rgba(0, 242, 254, 0.18);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
}

.option-card input[type="radio"], .option-card input[type="checkbox"] {
    display: none;
}

.option-radio-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.option-card.selected .option-radio-circle {
    border-color: var(--primary-cyan);
    background: var(--primary-cyan);
}

.option-card.selected .option-radio-circle::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #000000;
}

/* Range Slider Styling */
.custom-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.25);
    outline: none;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-cyan);
    box-shadow: 0 0 15px var(--primary-cyan);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Score Modal & Gauge */
.score-modal .modal-content {
    background: var(--bg-dark);
    border: 1px solid var(--border-glow);
    border-radius: 24px;
    color: #ffffff;
    box-shadow: 0 25px 60px rgba(0,0,0,0.9);
}

.gauge-circle {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto;
    border-radius: 50%;
    background: conic-gradient(var(--primary-cyan) calc(var(--score-deg, 0) * 1deg), rgba(255,255,255,0.12) 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.35);
}

.gauge-inner {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid var(--border-color);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.theme-toggle-btn:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan) !important;
    transform: rotate(15deg);
}

/* 3D Gordian Knot Card Styling */
.knot-card-container {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.knot-card-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 242, 254, 0.25) !important;
}

.knot-canvas-wrapper {
    position: relative;
    cursor: grab;
    min-height: 380px;
}

#gordian-knot-canvas {
    width: 100% !important;
    height: 100% !important;
    min-height: 380px;
    display: block;
    position: relative;
    z-index: 2;
}

.knot-canvas-wrapper:active {
    cursor: grabbing;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .step-title {
        display: none;
    }
    .wizard-progress-bar {
        margin-bottom: 20px;
    }
    .btn-gradient-primary, .btn-outline-glass {
        width: 100%;
        justify-content: center;
    }
    .knot-canvas-wrapper {
        height: 300px !important;
    }
}

/* -------------------------------------------------------------
 * Minimalist Digital Transformation Roadmap Component
 * Styled with Radar Chart Multi-Stop Gradient Palette
 * ------------------------------------------------------------- */
[id^="area-"], #advantage-areas {
    scroll-margin-top: 110px;
}

.dt-roadmap-container {
    position: relative;
    z-index: 2;
}

.dt-roadmap-card {
    background: radial-gradient(circle at 50% 0%, rgba(18, 24, 43, 0.92) 0%, rgba(10, 15, 30, 0.96) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 242, 254, 0.18);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.dt-roadmap-card:hover {
    border-color: rgba(0, 242, 254, 0.6);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 45px rgba(0, 242, 254, 0.28);
}

.dt-roadmap-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00f2fe 0%, #4facfe 35%, #7928ca 70%, #ff0080 100%);
}

.dt-roadmap-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
}

.dt-roadmap-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-cyan) !important;
    background: rgba(0, 242, 254, 0.12);
    border: 1px solid rgba(0, 242, 254, 0.3);
    padding: 4px 12px;
    border-radius: 50rem;
}

.radar-live-beacon {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00f2fe;
    box-shadow: 0 0 10px #00f2fe;
    animation: radarPulse 2s infinite;
}

@keyframes radarPulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.8); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(0, 242, 254, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); }
}

.dt-roadmap-list {
    position: relative;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Continuous Radar Gradient Timeline Track */
.dt-roadmap-list::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 8px;
    width: 2px;
    background: linear-gradient(180deg, #00f2fe 0%, #4facfe 35%, #7928ca 70%, #ff0080 100%);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
}

.dt-roadmap-phase-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 4px;
    margin-bottom: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.dt-phase-1-text { color: #00f2fe !important; }
.dt-phase-2-text { color: #8a70ff !important; }
.dt-phase-3-text { color: #ff3399 !important; }

.dt-roadmap-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.dt-roadmap-item:hover {
    background: rgba(0, 242, 254, 0.12);
    border-color: rgba(0, 242, 254, 0.4);
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.15);
}

.dt-roadmap-item:hover .dt-node-title {
    color: #00f2fe !important;
}

.dt-roadmap-item:hover .dt-node-arrow {
    transform: translateX(3px);
    color: #00f2fe;
    opacity: 1;
}

.dt-roadmap-item-left {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.dt-node-num {
    font-size: 0.7rem;
    font-weight: 800;
    font-family: var(--font-heading);
    padding: 2px 6px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.dt-phase-1 .dt-node-num {
    border-color: rgba(0, 242, 254, 0.5);
    color: #00f2fe !important;
}

.dt-phase-2 .dt-node-num {
    border-color: rgba(97, 87, 255, 0.5);
    color: #a399ff !important;
}

.dt-phase-3 .dt-node-num {
    border-color: rgba(255, 0, 128, 0.5);
    color: #ff66b2 !important;
}

.dt-node-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dt-node-title {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    transition: color 0.2s ease;
}

.dt-node-sub {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    margin-top: 1px;
}

.dt-node-arrow {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    opacity: 0.6;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 6px;
}

/* Roadmap Footer Summary Chips */
.dt-roadmap-footer {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: wrap;
}

.dt-driver-chip {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.dt-driver-chip:hover {
    background: rgba(0, 242, 254, 0.15);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan) !important;
}

/* Light Mode Overrides for Roadmap */
[data-theme="light"] .dt-roadmap-card {
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.96) 0%, rgba(240, 244, 255, 0.98) 100%);
    border-color: rgba(79, 172, 254, 0.35);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1), 0 0 25px rgba(79, 172, 254, 0.15);
}

[data-theme="light"] .dt-roadmap-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15), 0 0 35px rgba(79, 172, 254, 0.25);
}

[data-theme="light"] .dt-roadmap-header {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .dt-roadmap-item {
    background: rgba(15, 23, 42, 0.03);
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .dt-roadmap-item:hover {
    background: rgba(79, 172, 254, 0.12);
    border-color: var(--primary-blue);
}

[data-theme="light"] .dt-node-title {
    color: #0f172a !important;
}

[data-theme="light"] .dt-node-sub {
    color: #475569 !important;
}

[data-theme="light"] .dt-driver-chip {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1e293b !important;
}

[data-theme="light"] .dt-driver-chip:hover {
    background: rgba(79, 172, 254, 0.18);
    border-color: var(--primary-blue);
    color: #0369a1 !important;
}

/* -------------------------------------------------------------
 * Research Form & 30-Question Likert Rating Component
 * ------------------------------------------------------------- */
.barrier-question-card {
    transition: var(--transition-smooth);
}

.barrier-question-card:hover {
    border-color: var(--border-glow) !important;
    box-shadow: 0 8px 24px rgba(0, 242, 254, 0.08);
}

.likert-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.likert-btn {
    flex: 1 1 calc(20% - 8px);
    min-width: 120px;
    margin: 0;
    cursor: pointer;
    position: relative;
}

.likert-btn input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.likert-btn span {
    display: block;
    padding: 9px 12px;
    text-align: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff !important;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.25s ease;
    user-select: none;
}

.likert-btn:hover span {
    background: rgba(0, 242, 254, 0.12);
    border-color: var(--primary-cyan);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.likert-btn.selected span,
.likert-btn input[type="radio"]:checked + span {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.25) 0%, rgba(97, 87, 255, 0.3) 100%) !important;
    border-color: var(--primary-cyan) !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.35);
    font-weight: 700;
}

[data-theme="light"] .likert-btn span {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(0, 0, 0, 0.12);
    color: #1e293b !important;
}

[data-theme="light"] .likert-btn:hover span {
    background: rgba(79, 172, 254, 0.15);
    border-color: var(--primary-blue);
    color: #0f172a !important;
}

[data-theme="light"] .likert-btn.selected span,
[data-theme="light"] .likert-btn input[type="radio"]:checked + span {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.3) 0%, rgba(146, 84, 222, 0.25) 100%) !important;
    border-color: var(--primary-blue) !important;
    color: #0f172a !important;
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.25);
}


