/* CRITICAL: WordPress Theme Override - Force Dark Background */
html,
body,
body.page,
body.single,
body.home,
#page,
#content,
.site,
.site-content,
#primary,
#main,
.entry-content,
article,
.page-content,
.post-content {
    background: #0a0a0f !important;
    background-color: #0a0a0f !important;
    background-image: none !important;
    color: #f8f9fa !important;
}

/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #13131a;
    --bg-card: #1e1e2e;
    --accent: #6366f1;
    --accent-2: #8b5cf6;
    --text-primary: #f8f9fa;
    --text-secondary: #b4b4c8;
    --text-muted: #7a7a8c;
    --border: #2a2a3a;
    --border-light: #3a3a4a;
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem
}

/* WordPress Full-Width Override */
.decision-clarity-tool-wrapper,
.hero,
.trust-strip,
.what-section,
.how-section,
.defense-section,
.cta-section,
.footer {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* WordPress Theme Color & Style Overrides */
.hero,
.trust-strip,
.what-section,
.how-section,
.defense-section,
.cta-section,
.footer,
.hero *,
.trust-strip *,
.what-section *,
.how-section *,
.defense-section *,
.cta-section *,
.footer * {
    background-color: transparent !important;
    border-color: var(--border) !important;
}

/* Force our dark backgrounds */
.hero {
    background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.15) 0%, transparent 60%) !important;
}

.trust-strip {
    background: var(--bg-secondary) !important;
}

.how-section {
    background: var(--bg-secondary) !important;
}

.footer {
    background: var(--bg-secondary) !important;
}

/* Force our text colors */
.hero h1,
.hero h2,
.hero h3,
.hero p,
.section-title,
.what-section h2,
.what-section h3,
.what-section p,
.what-section li,
.how-section h2,
.how-section h3,
.how-section p,
.defense-section h2,
.defense-section p,
.cta-section h2,
.footer p {
    color: var(--text-primary) !important;
}

/* Force our font families */
.hero *,
.trust-strip *,
.what-section *,
.how-section *,
.defense-section *,
.cta-section *,
.footer * {
    font-family: var(--font-primary) !important;
}

.hero-title,
.section-title,
.tool-step-title {
    font-family: var(--font-display) !important;
}

/* Remove WordPress theme margins/padding */
.hero,
.trust-strip,
.what-section,
.how-section,
.defense-section,
.cta-section,
.footer {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

html {
    scroll-behavior: smooth
}

/* Force dark background on body when plugin is active */
body.page .hero,
body.page .trust-strip,
body.page .what-section,
body.page .how-section,
body.page .defense-section,
body.page .cta-section,
body.page .footer {
    background-attachment: scroll !important;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg)
}

/* Hero */
.hero {
    position: relative;
    padding: var(--spacing-3xl) 0 0;
    background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    overflow: hidden
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1)
    }

    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.1)
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: var(--spacing-2xl)
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6
}

.hero-critical {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: var(--spacing-lg);
    font-style: italic
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 250ms;
    position: relative;
    overflow: hidden
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 350ms, height 350ms
}

.btn:hover::before {
    width: 300px;
    height: 300px
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.4)
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 40px rgba(99, 102, 241, 0.3)
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--border-light)
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: var(--bg-secondary)
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem
}

.btn-icon {
    position: relative;
    z-index: 1;
    transition: transform 250ms
}

.btn:hover .btn-icon {
    transform: translateX(4px)
}

/* Trust Strip */
.trust-strip {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-2xl)
}

.trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 0.9375rem
}

.trust-icon {
    color: var(--accent);
    flex-shrink: 0
}

/* Sections */
.what-section,
.how-section,
.defense-section,
.cta-section {
    padding: var(--spacing-3xl) 0
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    letter-spacing: -0.02em
}

.what-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center
}

.what-intro {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg)
}

.what-helps {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md)
}

.what-list {
    list-style: none;
    margin-bottom: var(--spacing-lg)
}

.what-list li {
    font-size: 1.125rem;
    padding: var(--spacing-sm) 0;
    position: relative;
    padding-left: var(--spacing-lg)
}

.what-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700
}

.what-output {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic
}

/* How Section */
.how-section {
    background: var(--bg-secondary)
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1100px;
    margin: 0 auto
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all 250ms;
    position: relative;
    overflow: hidden
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 350ms
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5)
}

.step-card:hover::before {
    transform: scaleX(1)
}

.step-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md)
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm)
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md)
}

.step-list {
    list-style: none;
    margin-top: var(--spacing-md)
}

.step-list li {
    color: var(--text-secondary);
    padding: 0.375rem 0;
    padding-left: var(--spacing-md);
    position: relative
}

.step-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent)
}

/* Defense */
.defense-content {
    max-width: 800px;
    margin: 0 auto
}

.defense-text {
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary)
}

.defense-text p {
    margin-bottom: var(--spacing-lg)
}

.defense-highlight {
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    color: var(--text-primary)
}

.defense-highlight strong {
    color: var(--accent);
    font-weight: 700
}

/* CTA */
.cta-section {
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%)
}

.cta-title {
    margin-bottom: var(--spacing-xl)
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: var(--spacing-xl) 0;
    text-align: center
}

.footer-disclaimer {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    overflow-y: auto
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg)
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: slideUp 350ms
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.modal-close {
    position: sticky;
    top: var(--spacing-md);
    left: 100%;
    margin-left: calc(-1 * var(--spacing-md) - 40px);
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: 50%;
    display: grid;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 250ms;
    z-index: 10;
    margin-bottom: calc(-40px - var(--spacing-md));
    color: var(--text-primary) !important;
}

.modal-close svg {
    color: var(--text-primary) !important;
    stroke: var(--text-primary) !important;
    width: 20px;
    height: 20px;
}

.modal-close:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: rotate(90deg);
    color: white !important;
}

.modal-close:hover svg {
    color: white !important;
    stroke: white !important;
}

/* Tool Steps */
.tool-container {
    padding: var(--spacing-xl)
}

.tool-step {
    display: none
}

.tool-step.active {
    display: block;
    animation: fadeIn 250ms
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.step-header {
    margin-bottom: var(--spacing-xl)
}

.step-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md)
}

.tool-step-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm)
}

.tool-step-subtitle {
    color: var(--text-secondary);
    font-size: 1rem
}

.step-body {
    margin-bottom: var(--spacing-xl)
}

.step-footer {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-end;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border)
}

/* Form */
.input-label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary)
}

.input-field {
    width: 100%;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.875rem 1rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 250ms;
    resize: vertical
}

.input-field:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1)
}

.input-field::placeholder {
    color: var(--text-muted)
}

.category-tags {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-top: var(--spacing-md)
}

.category-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 250ms
}

.category-tag:hover {
    border-color: var(--accent);
    background: var(--bg-secondary)
}

.category-tag.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-color: transparent;
    color: white
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl)
}

.option-input-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm)
}

/* Priorities */
.priorities-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg)
}

.priority-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg)
}

.priority-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm)
}

.priority-label {
    font-weight: 600
}

.priority-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    min-width: 2rem;
    text-align: right
}

.priority-slider {
    width: 100%;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    outline: none;
    -webkit-appearance: none;
    margin: var(--spacing-sm) 0
}

.priority-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 250ms
}

.priority-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2)
}

.priority-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3)
}

.priority-scale {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted)
}

/* Rating */
.rating-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl)
}

.rating-group {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg)
}

.rating-group-title {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    color: var(--accent)
}

.rating-item {
    margin-bottom: var(--spacing-md)
}

/* Results */
.results-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl)
}

.result-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden
}

.result-card.winner {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3)
}

.result-card.winner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2))
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg)
}

.result-option-name {
    font-size: 1.5rem;
    font-weight: 700
}

.result-score {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent)
}

.result-winner-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md)
}

.result-breakdown {
    margin-top: var(--spacing-lg)
}

.result-breakdown-title {
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary)
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border)
}

.breakdown-item:last-child {
    border-bottom: none
}

.breakdown-label {
    color: var(--text-secondary)
}

.breakdown-value {
    font-weight: 600
}

.result-insights {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 2px solid var(--border)
}

.insight-section {
    margin-bottom: var(--spacing-lg)
}

.insight-title {
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--accent)
}

.insight-list {
    list-style: none
}

.insight-list li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-md);
    position: relative;
    color: var(--text-secondary)
}

.insight-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent)
}

/* Responsive */
@media (max-width:768px) {
    .hero {
        padding: var(--spacing-2xl) 0 0
    }

    .hero-title {
        font-size: 2rem
    }

    .hero-subtitle {
        font-size: 1.125rem
    }

    .trust-items {
        flex-direction: column;
        gap: var(--spacing-md)
    }

    .section-title {
        font-size: 1.75rem
    }

    .steps-grid {
        grid-template-columns: 1fr
    }

    .step-footer {
        flex-direction: column
    }

    .step-footer .btn {
        width: 100%;
        justify-content: center
    }

    .tool-container {
        padding: var(--spacing-md)
    }

    .modal-content {
        margin: var(--spacing-md)
    }
}

/* Score Comparison */
.score-comparison {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl)
}

.score-comparison-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    text-align: center
}

.score-bars {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md)
}

.score-bar-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md)
}

.score-bar-label {
    min-width: 120px;
    font-weight: 600;
    font-size: 0.875rem
}

.score-bar-container {
    flex: 1;
    height: 40px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden
}

.score-bar-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 var(--spacing-sm);
    font-weight: 700;
    font-size: 0.875rem;
    transition: width 1s ease-out
}

.score-bar-value {
    min-width: 60px;
    text-align: right;
    font-weight: 700;
    color: var(--accent)
}

/* Confidence Metric */
.confidence-section {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl)
}

.confidence-header {
    text-align: center;
    margin-bottom: var(--spacing-lg)
}

.confidence-score {
    font-size: 3rem;
    font-weight: 700;
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.confidence-label {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: var(--spacing-xs)
}

.confidence-explanation {
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.6;
    margin-top: var(--spacing-md)
}

/* Sensitivity Analysis */
.sensitivity-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl)
}

.sensitivity-title {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    color: var(--accent)
}

.sensitivity-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md)
}

.sensitivity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border)
}

.sensitivity-item:last-child {
    border-bottom: none
}

.sensitivity-priority {
    color: var(--text-primary);
    font-weight: 500
}

.sensitivity-impact {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm)
}

.impact-bar {
    width: 100px;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    overflow: hidden
}

.impact-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: var(--radius-sm);
    transition: width 0.8s ease-out
}

.impact-value {
    min-width: 50px;
    text-align: right;
    font-weight: 600;
    color: var(--accent);
    font-size: 0.875rem
}

/* Enhanced Insights */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl)
}

.insight-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    transition: all 250ms
}

.insight-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px)
}

.insight-card-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem
}

.insight-card-title {
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary)
}

.insight-card-content {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6
}

/* Risk Indicators */
.risk-section {
    background: var(--bg-card);
    border-left: 4px solid var(--color-warning);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl)
}

.risk-title {
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-warning);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm)
}

.risk-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm)
}

.risk-item {
    color: var(--text-secondary);
    padding-left: var(--spacing-md);
    position: relative
}

.risk-item::before {
    content: '⚠';
    position: absolute;
    left: 0;
    color: var(--color-warning)
}

/* Detailed Breakdown Enhancement */
.breakdown-enhanced {
    margin-top: var(--spacing-lg)
}

.breakdown-category {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border)
}

.breakdown-category:last-child {
    border-bottom: none
}

.breakdown-category-title {
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--accent);
    font-size: 1rem
}

.breakdown-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0
}

.breakdown-detail-label {
    color: var(--text-secondary);
    font-size: 0.9375rem
}

.breakdown-detail-value {
    font-weight: 600;
    color: var(--text-primary)
}

.breakdown-formula {
    font-family: monospace;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: var(--spacing-xs)
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary)
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: var(--radius-sm)
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent)
}