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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #2c3e50;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #4facfe);
    background-size: 400% 400%;
    animation: gradientWave 8s ease infinite;
    color: white;
    padding: 80px 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

@keyframes gradientWave {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.header h1 {
    font-size: 56px;
    margin-bottom: 10px;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.header .subtitle {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 20px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
}

/* Header Small (für Szenario-Seiten) */
.header-small {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 20px;
}

.back-link {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 15px;
}

.back-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.header-small h1 {
    font-size: 32px;
    margin-bottom: 8px;
}

.header-small p {
    opacity: 0.9;
    font-size: 16px;
}

/* Main Content */
.main-content {
    padding: 40px 20px;
}

/* Intro Section */
.intro-section {
    text-align: center;
    margin-bottom: 50px;
}

.intro-section h2 {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.intro-section p {
    font-size: 22px;
    color: #5f6c7b;
    font-weight: 500;
}

/* Category Section */
.category-section {
    margin-bottom: 60px;
}

.category-title {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-icon {
    font-size: 32px;
}

.category-description {
    color: #7f8c8d;
    font-size: 16px;
    margin-bottom: 25px;
}

/* Scenarios Grid */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.scenario-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 20px;
    padding: 30px;
    text-decoration: none;
    color: inherit;
    border: 3px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
}

.scenario-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.scenario-card:hover::before {
    opacity: 1;
}

.scenario-card:hover {
    border-color: #667eea;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25);
    transform: translateY(-8px) scale(1.02);
}

.scenario-icon {
    font-size: 52px;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.2));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.scenario-card:hover .scenario-icon {
    transform: scale(1.15) rotate(5deg);
}

/* Scenario Illustrations */
.scenario-illustration {
    height: 80px;
    width: auto;
    flex-shrink: 0;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.15));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.scenario-card:hover .scenario-illustration {
    transform: scale(1.1) translateY(-4px);
    filter: drop-shadow(0 8px 20px rgba(102, 126, 234, 0.25));
}

@media (max-width: 768px) {
    .scenario-illustration {
        height: 60px;
        margin-bottom: 12px;
    }
}

.scenario-content {
    flex: 1;
}

.scenario-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
}

.scenario-description {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.5;
}

.scenario-arrow {
    font-size: 24px;
    color: #667eea;
    opacity: 0;
    transition: opacity 0.3s;
}

.scenario-card:hover .scenario-arrow {
    opacity: 1;
}

/* How it works + Search combined section */
.how-it-works-search-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    border: 2px solid #e1e8ed;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.info-section-compact {
    margin-bottom: 40px;
}

.info-section-compact h3 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    color: #2c3e50;
}

/* Info Section */
.info-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin: 60px 0;
    border: 2px solid #e1e8ed;
}

.info-section h3 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

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

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

.info-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 15px;
}

.info-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.info-card p {
    color: #7f8c8d;
    font-size: 14px;
}

/* Mobile responsive for combined section */
@media (max-width: 768px) {
    .how-it-works-search-section {
        padding: 24px;
        margin: 24px 0;
    }

    .info-section-compact {
        margin-bottom: 32px;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Disclaimer */
.disclaimer {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin-top: 40px;
}

.disclaimer p {
    font-size: 14px;
    line-height: 1.6;
}

/* Form Container */
.form-container {
    background: white;
    border-radius: 12px;
    padding: 40px;
    border: 2px solid #e1e8ed;
    max-width: 700px;
    margin: 0 auto;
}

/* Form Group */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 15px;
}

.optional {
    font-weight: 400;
    color: #95a5a6;
    font-size: 13px;
    margin-left: 5px;
}

.input-wrapper {
    position: relative;
}

input[type="number"],
input[type="text"],
select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    font-family: inherit;
}

input[type="number"]:focus,
input[type="text"]:focus,
select:focus {
    outline: none;
    border-color: #667eea;
}

.unit {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #95a5a6;
    font-size: 14px;
    pointer-events: none;
}

.help-text {
    font-size: 13px;
    color: #7f8c8d;
    margin-top: 6px;
}

/* Buttons */
.form-actions {
    margin-top: 35px;
}

.btn-primary,
.btn-secondary {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 18px;
    font-weight: 700;
    padding: 16px 32px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5), 0 0 30px rgba(102, 126, 234, 0.3);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 60px 20px;
}

.loading-illustration {
    height: 150px;
    width: auto;
    margin: 0 auto 24px;
    display: block;
    filter: drop-shadow(0 4px 16px rgba(102, 126, 234, 0.2));
    animation: floatAnimation 3s ease-in-out infinite;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .loading-illustration {
        height: 120px;
    }
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e1e8ed;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.loading-detail {
    color: #7f8c8d;
    font-size: 14px;
    margin-top: 10px;
}

/* Error State */
.error-state {
    background: #fee;
    border: 2px solid #e74c3c;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}

.error-state h3 {
    color: #e74c3c;
    margin-bottom: 10px;
}

/* Result State */
.result-state {
    margin-top: 30px;
}

.result-main {
    background: white;
    border-radius: 12px;
    padding: 40px;
    border: 2px solid #e1e8ed;
    text-align: center;
}

.result-probability {
    font-size: 72px;
    font-weight: 700;
    margin: 20px 0;
}

.result-probability.high {
    color: #27ae60;
}

.result-probability.medium {
    color: #f39c12;
}

.result-probability.low {
    color: #e74c3c;
}

.result-explanation {
    font-size: 18px;
    color: #7f8c8d;
    margin-top: 15px;
}

/* Alternatives */
.alternatives-section {
    margin-top: 40px;
}

.alternatives-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.alternative-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    border: 2px solid #e1e8ed;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.alternative-card:hover {
    border-color: #27ae60;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.1);
}

.alternative-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.alternative-probability {
    font-size: 28px;
    font-weight: 700;
    color: #27ae60;
    margin: 10px 0;
}

.alternative-description {
    color: #7f8c8d;
    font-size: 15px;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 30px 20px;
    text-align: center;
    margin-top: 80px;
}

footer p {
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 32px;
    }
    
    .scenarios-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 25px;
    }
    
    .result-probability {
        font-size: 56px;
    }
}


/* ============================================================================
   OPTIMIZATION ENGINE STYLES
   ============================================================================ */

.btn-secondary-action {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.btn-secondary-action:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

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

/* Optimization Loading */
.optimization-loading {
    text-align: center;
    padding: 40px 20px;
}

.optimization-loading h3 {
    font-size: 24px;
    margin: 20px 0 10px;
    color: #2c3e50;
}

.optimization-loading p {
    color: #7f8c8d;
    margin: 10px 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
    margin: 30px 0 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    font-weight: 600;
    color: #667eea;
}

/* Optimization Result */
.optimization-header {
    text-align: center;
    margin-bottom: 30px;
}

.optimization-header h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.tested-count {
    color: #7f8c8d;
    font-size: 14px;
}

.best-plan-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.best-plan-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.plan-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.metric-label {
    display: block;
    font-size: 12px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Insights */
.insights-section {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.insights-section h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.insights-list {
    list-style: none;
}

.insights-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.insights-list li:before {
    content: "💡";
    position: absolute;
    left: 0;
}

/* Alternatives */
.alternatives-section {
    margin: 30px 0;
}

.alternatives-section h3 {
    margin-bottom: 20px;
    color: #2c3e50;
}

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

.alternative-card {
    background: white;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.alternative-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.alternative-card h4 {
    font-size: 14px;
    margin-bottom: 10px;
    min-height: 40px;
    color: #2c3e50;
}

.alt-prob {
    font-size: 24px;
    font-weight: 700;
    margin: 10px 0;
}

.alt-prob.high { color: #27ae60; }
.alt-prob.medium { color: #f39c12; }
.alt-prob.low { color: #e74c3c; }

.alt-details {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ecf0f1;
}

.alt-details small {
    display: block;
    color: #7f8c8d;
    margin: 3px 0;
}

/* Optimization Actions */
.optimization-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.optimization-actions .btn-primary,
.optimization-actions .btn-secondary {
    min-width: 150px;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        padding: 20px;
        width: 95%;
        max-height: 95vh;
    }

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

    .plan-metrics {
        grid-template-columns: 1fr;
    }

    .optimization-actions {
        flex-direction: column;
    }

    .btn-secondary-action {
        margin-left: 0;
        margin-top: 10px;
    }
}


/* ============================================================================
   INTERACTIVE TIMELINE VISUALIZER
   ============================================================================ */

.timeline-visualizer {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.timeline-header {
    text-align: center;
    margin-bottom: 40px;
}

.timeline-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.timeline-header p {
    color: #7f8c8d;
    font-size: 16px;
}

/* Controls */
.timeline-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.control-group {
    display: flex;
    flex-direction: column;
}

.control-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2c3e50;
}

.control-label {
    font-size: 14px;
}

.control-value {
    font-size: 18px;
    color: #667eea;
    font-weight: 700;
}

/* Range Slider Styling */
.control-group input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #ecf0f1;
    outline: none;
    -webkit-appearance: none;
}

.control-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    transition: transform 0.2s ease;
}

.control-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.control-group input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    border: none;
}

/* Live Probability Circle */
.live-probability {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.probability-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #ecf0f1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.probability-circle.loading::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: #667eea;
    animation: spin 1s linear infinite;
}

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

.probability-circle.high {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    box-shadow: 0 4px 20px rgba(39, 174, 96, 0.3);
}

.probability-circle.medium {
    background: linear-gradient(135deg, #f39c12 0%, #f1c40f 100%);
    box-shadow: 0 4px 20px rgba(243, 156, 18, 0.3);
}

.probability-circle.low {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.3);
}

.prob-value {
    font-size: 32px;
    font-weight: 700;
    color: white;
}

.prob-label {
    font-size: 14px;
    color: white;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.probability-status {
    text-align: center;
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 600;
}

/* Timeline Canvas */
.timeline-canvas {
    background: white;
    border: 2px solid #ecf0f1;
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
}

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

/* Wealth Chart */
.wealth-chart-container {
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.wealth-chart-container h3 {
    margin-bottom: 20px;
    color: #2c3e50;
}

#wealthChart {
    max-width: 100%;
    height: auto;
}

/* Apply Button */
.timeline-apply {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 30px auto 0;
    padding: 18px;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-visualizer {
        padding: 20px;
    }

    .timeline-controls {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .probability-circle {
        width: 100px;
        height: 100px;
    }

    .prob-value {
        font-size: 28px;
    }

    .timeline-header h2 {
        font-size: 24px;
    }

    .timeline-canvas {
        padding: 10px;
        overflow-x: auto;
    }

    #timelineSvg {
        min-width: 600px;
    }
}

/* ========================================
   LIFE PLANNER STYLES
   ======================================== */

.life-planner-input {
    max-width: 900px;
    margin: 0 auto;
}

.section-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.section-card h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
}

/* Event Category Headers */
.event-category {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ecf0f1;
}

.event-category:first-of-type {
    margin-top: 20px;
}

/* Event Cards */
.event-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.event-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

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

.event-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
}

.event-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.event-title {
    font-size: 18px;
    color: #2c3e50;
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: 4px;
}

.star {
    font-size: 24px;
    cursor: pointer;
    color: #ffc107;
    transition: transform 0.2s;
    user-select: none;
}

.star:hover {
    transform: scale(1.2);
}

.star.active {
    color: #ffc107;
}

.event-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
    padding-left: 30px;
}

/* Large Button */
.btn-large {
    padding: 18px 40px;
    font-size: 18px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    display: block;
}

/* Results Dashboard */
.life-plan-results {
    max-width: 1100px;
    margin: 0 auto;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.results-header h2 {
    font-size: 32px;
    color: #2c3e50;
}

/* Scenario Budget Card */
.scenario-budget-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.budget-circle {
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 3px solid rgba(255,255,255,0.4);
}

.budget-number {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.budget-total {
    font-size: 16px;
    opacity: 0.9;
}

.budget-text h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.budget-text p {
    font-size: 16px;
    opacity: 0.95;
    line-height: 1.5;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.event-result-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 5px solid #ddd;
    transition: all 0.3s ease;
}

.event-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.event-result-card.success {
    border-left-color: #27ae60;
}

.event-result-card.warning {
    border-left-color: #f39c12;
}

.event-result-card.danger {
    border-left-color: #e74c3c;
}

.event-result-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.event-icon {
    font-size: 32px;
}

.event-result-header h3 {
    flex: 1;
    font-size: 18px;
    color: #2c3e50;
}

.status-badge {
    font-size: 24px;
}

.probability-bar {
    height: 8px;
    background: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.probability-fill {
    height: 100%;
    transition: width 1s ease;
}

.probability-fill.success {
    background: linear-gradient(90deg, #27ae60, #2ecc71);
}

.probability-fill.warning {
    background: linear-gradient(90deg, #f39c12, #f1c40f);
}

.probability-fill.danger {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.probability-text {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.event-status-message {
    font-size: 14px;
    color: #7f8c8d;
}

/* Recommendations */
.recommendations-section {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 30px;
}

.recommendations-section h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.recommendations-section ul {
    list-style: none;
    padding: 0;
}

.recommendations-section li {
    padding: 8px 0;
    font-size: 16px;
    color: #555;
}

/* Trade-offs */
.trade-offs-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.trade-offs-section h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.trade-offs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.trade-off-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.trade-off-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.trade-off-action {
    font-size: 16px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.trade-off-impact {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.impact-before,
.impact-after {
    font-size: 18px;
    font-weight: 600;
}

.impact-before {
    color: #e74c3c;
}

.impact-after {
    color: #27ae60;
}

.impact-arrow {
    font-size: 20px;
    color: #7f8c8d;
}

.improvement-badge {
    display: inline-block;
    background: #d4edda;
    color: #155724;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

/* Timeline Section */
.timeline-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.timeline-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2c3e50;
}

#wealthTimelineChart {
    max-width: 100%;
    height: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .scenario-budget-card {
        flex-direction: column;
        text-align: center;
    }

    .events-grid,
    .trade-offs-grid {
        grid-template-columns: 1fr;
    }

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

    .event-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========================================
   LIFE PLANNER CTA (Homepage)
   ======================================== */

.life-planner-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.life-planner-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-block;
    background: rgba(255,255,255,0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background: rgba(255,255,255,0.3); }
    50% { background: rgba(255,255,255,0.5); }
}

.life-planner-cta h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
}

.life-planner-cta p {
    font-size: 18px;
    margin-bottom: 20px;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.cta-features li {
    font-size: 16px;
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    opacity: 0.95;
}

.cta-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
}

.btn-cta {
    display: inline-block;
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
    color: #667eea;
    padding: 20px 48px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
    margin-top: 10px;
    border: 3px solid rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: left 0.5s;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 45px rgba(102, 126, 234, 0.4);
    color: #764ba2;
    border-color: #667eea;
}

.divider {
    text-align: center;
    margin: 40px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ddd, transparent);
}

.divider span {
    position: relative;
    background: #f5f7fa;
    padding: 0 20px;
    color: #7f8c8d;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .life-planner-cta {
        padding: 30px 20px;
    }

    .life-planner-cta h2 {
        font-size: 24px;
    }

    .life-planner-cta p {
        font-size: 16px;
    }

    .cta-features li {
        font-size: 14px;
    }

    .btn-cta {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   PREMIUM DESIGN ENHANCEMENTS (Quick Wins)
   ======================================== */

/* Inter Font aktivieren */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Premium Button Styles */
.btn-primary,
.btn-cta,
button[type="submit"] {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover,
.btn-cta:hover,
button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.btn-primary:active,
.btn-cta:active,
button[type="submit"]:active {
    transform: translateY(0);
}

/* Premium Scenario Cards */
.scenario-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.scenario-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.scenario-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scenario-card:hover::before {
    opacity: 1;
}

/* Enhanced Input Fields */
input[type="number"],
input[type="text"],
input[type="email"],
select,
textarea {
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

/* Smooth Transitions everywhere */
* {
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-duration: 0.2s;
    transition-timing-function: ease;
}

/* Better Typography */
h1 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-weight: 600;
    letter-spacing: -0.01em;
}

h3, h4 {
    font-weight: 600;
}

/* Premium Shadows for elevated elements */
.section-card,
.form-container,
.result-card {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Subtle Animations on Page Load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scenario-card,
.section-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.scenario-card:nth-child(1) { animation-delay: 0.1s; }
.scenario-card:nth-child(2) { animation-delay: 0.15s; }
.scenario-card:nth-child(3) { animation-delay: 0.2s; }
.scenario-card:nth-child(4) { animation-delay: 0.25s; }
.scenario-card:nth-child(5) { animation-delay: 0.3s; }
.scenario-card:nth-child(6) { animation-delay: 0.35s; }

/* ============================================================================
   ADVANCED FEATURES SECTION - Collapsible Accordion (Quick Win #2)
   ============================================================================ */

.advanced-features-section {
    margin: 60px 0;
}

.advanced-features-accordion {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8eaff 100%);
    border-radius: 20px;
    border: 2px solid #e0e0e0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.08);
    transition: all 0.3s ease;
}

.advanced-features-accordion[open] {
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15);
}

.accordion-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 24px 32px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #7689eb 0%, #8557b3 100%);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

/* Hide default disclosure triangle */
.accordion-header::-webkit-details-marker {
    display: none;
}

.accordion-title {
    font-size: 24px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.accordion-hint {
    font-size: 15px;
    opacity: 0.9;
    display: block;
    margin-left: 32px;
}

.accordion-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
    margin-left: auto;
    flex-shrink: 0;
}

.advanced-features-accordion[open] .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 40px 32px;
}

.advanced-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.advanced-tool-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.advanced-tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.tool-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.tool-icon {
    font-size: 56px;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.advanced-tool-card h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    color: white;
}

.tool-tagline {
    font-size: 18px;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 16px;
}

.tool-description {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tool-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.tool-features li {
    padding: 8px 0;
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.5;
}

.tool-meta {
    display: flex;
    gap: 20px;
    margin: 24px 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    opacity: 0.9;
}

.tool-time,
.tool-difficulty {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-advanced-tool {
    display: inline-block;
    background: white;
    color: #333;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-advanced-tool:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.tool-comparison {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.tool-comparison h4 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.comparison-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8eaff 100%);
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.comparison-item:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.comparison-item strong {
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

.comparison-item span {
    font-size: 13px;
    color: #666;
}

/* Mobile Responsiveness for Advanced Features */
@media (max-width: 768px) {
    .advanced-tools-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .accordion-header {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .accordion-hint {
        margin-left: 0;
        margin-top: 8px;
    }

    .accordion-icon {
        position: absolute;
        top: 24px;
        right: 20px;
    }

    .accordion-title {
        font-size: 20px;
    }

    .accordion-content {
        padding: 24px 20px;
    }

    .advanced-tool-card {
        padding: 24px;
    }

    .tool-icon {
        font-size: 48px;
    }

    .advanced-tool-card h3 {
        font-size: 24px;
    }
}

/* ============================================================================
   RECOMMENDED SCENARIOS - Guidance for Beginners
   ============================================================================ */

.recommended-scenario {
    border: 2px solid #4caf50 !important;
    position: relative;
}

.recommended-scenario:hover {
    border-color: #66bb6a !important;
    box-shadow: 0 20px 60px rgba(76, 175, 80, 0.25) !important;
}

/* Ensure scenario-card has position relative */
.scenario-card {
    position: relative;
}

/* ============================================================================
   FEATURE COMPARISON HELPER - Quick Win #4
   ============================================================================ */

.feature-comparison-helper {
    margin: 32px 0;
}

.comparison-details {
    background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%);
    border: 2px solid #ffa726;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(255, 167, 38, 0.15);
    transition: all 0.3s ease;
}

.comparison-details[open] {
    box-shadow: 0 8px 32px rgba(255, 167, 38, 0.25);
}

.comparison-summary {
    background: linear-gradient(135deg, #ffa726 0%, #ff9800 100%);
    color: white;
    padding: 20px 28px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    user-select: none;
    font-size: 16px;
}

.comparison-summary:hover {
    background: linear-gradient(135deg, #ffb74d 0%, #ffa726 100%);
}

.comparison-summary::-webkit-details-marker {
    display: none;
}

.comparison-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.comparison-text {
    flex: 1;
}

.comparison-text strong {
    font-weight: 700;
}

.comparison-chevron {
    font-size: 14px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.comparison-details[open] .comparison-chevron {
    transform: rotate(180deg);
}

.comparison-content {
    padding: 32px 28px;
}

.comparison-table {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.comparison-row {
    display: grid;
    grid-template-columns: 150px repeat(3, 1fr);
    gap: 2px;
    background: #f5f5f5;
}

.comparison-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.comparison-header .comparison-cell {
    color: white;
    font-weight: 700;
    font-size: 15px;
    padding: 16px 20px;
}

.comparison-cell {
    background: white;
    padding: 16px 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.comparison-label {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8eaff 100%);
    font-weight: 700;
    color: #333;
    justify-content: flex-start;
    text-align: left;
}

.comparison-actions {
    background: transparent;
}

.comparison-actions .comparison-cell {
    padding: 20px;
}

.btn-comparison-action {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-comparison-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Mobile Responsiveness for Comparison Table */
@media (max-width: 768px) {
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .comparison-header {
        display: none;
    }

    .comparison-cell {
        text-align: left;
        justify-content: flex-start;
        padding: 12px 16px;
        border-bottom: 1px solid #f0f0f0;
    }

    .comparison-label {
        font-size: 13px;
        font-weight: 700;
        background: linear-gradient(135deg, #f8f9ff 0%, #e8eaff 100%);
        padding: 10px 16px;
    }

    .comparison-label::after {
        content: ":";
    }

    .comparison-actions .comparison-cell {
        padding: 12px 16px;
    }

    .btn-comparison-action {
        width: 100%;
        text-align: center;
    }

    .comparison-content {
        padding: 20px 16px;
    }

    .comparison-summary {
        padding: 16px 20px;
        font-size: 15px;
    }

    .comparison-icon {
        font-size: 20px;
    }
}

/* ============================================================================
   SCENARIO SEARCH BAR - Quick Win #5
   ============================================================================ */

.scenario-search-container {
    margin: 40px 0 32px 0;
}

.search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    right: 52px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    pointer-events: none;
    z-index: 2;
}

.scenario-search-input {
    width: 100%;
    padding: 16px 90px 16px 20px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.scenario-search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.2);
}

.scenario-search-input::placeholder {
    color: #999;
}

.search-clear {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: #f0f0f0;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.search-clear:hover {
    background: #e0e0e0;
    transform: translateY(-50%) scale(1.1);
}

.search-results-count {
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
    color: #667eea;
    font-weight: 600;
}

/* Mobile Responsiveness for Search */
@media (max-width: 768px) {
    .scenario-search-input {
        padding: 14px 80px 14px 18px;
        font-size: 16px; /* Prevents iOS auto-zoom */
    }

    .search-icon {
        right: 48px;
        font-size: 18px;
    }

    .search-clear {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
}

/* ============================================================================
   DECISION TREE WIZARD - Interactive 3-Question Helper
   ============================================================================ */

.decision-tree-container {
    margin: 32px 0;
}

.decision-tree-details {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border: 2px solid #66bb6a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(102, 187, 106, 0.15);
    transition: all 0.3s ease;
}

.decision-tree-details[open] {
    box-shadow: 0 8px 32px rgba(102, 187, 106, 0.25);
}

.decision-tree-summary {
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
    color: white;
    padding: 20px 28px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    user-select: none;
    font-size: 16px;
}

.decision-tree-summary:hover {
    background: linear-gradient(135deg, #7bc67e 0%, #66bb6a 100%);
}

.decision-tree-summary::-webkit-details-marker {
    display: none;
}

.wizard-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.wizard-text {
    flex: 1;
}

.wizard-text strong {
    font-weight: 700;
}

.wizard-chevron {
    font-size: 14px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.decision-tree-details[open] .wizard-chevron {
    transform: rotate(180deg);
}

.decision-tree-content {
    padding: 32px 28px;
    position: relative;
}

/* Progress Bar */
.wizard-progress {
    margin-bottom: 32px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #66bb6a 0%, #4caf50 100%);
    width: 0%;
    transition: width 0.5s ease;
}

.progress-text {
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #4caf50;
}

/* Wizard Steps */
.wizard-step {
    animation: fadeIn 0.4s ease;
}

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

.wizard-question {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 24px;
    text-align: center;
}

.wizard-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.wizard-option {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.wizard-option:hover {
    border-color: #66bb6a;
    box-shadow: 0 6px 20px rgba(102, 187, 106, 0.2);
    transform: translateY(-2px);
}

.wizard-option:active {
    transform: translateY(0);
}

.option-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.wizard-option strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

.option-description {
    display: block;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Wizard Result */
.wizard-result {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.result-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

/* Result Illustration */
.result-illustration {
    height: 250px;
    width: auto;
    margin: 0 auto 32px;
    display: block;
    filter: drop-shadow(0 8px 24px rgba(102, 126, 234, 0.2));
    animation: fadeInScale 0.6s ease-out;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .result-illustration {
        height: 180px;
        margin-bottom: 24px;
    }
}

.result-title {
    font-size: 32px;
    font-weight: 800;
    color: #333;
    margin-bottom: 16px;
}

.result-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.result-features {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8eaff 100%);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    text-align: left;
}

.result-feature {
    padding: 10px 0;
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
}

.result-feature:last-child {
    border-bottom: none;
}

.btn-wizard-action {
    display: inline-block;
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.3);
    margin-bottom: 16px;
}

.btn-wizard-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.4);
}

.btn-wizard-restart {
    display: block;
    background: transparent;
    border: 2px solid #e0e0e0;
    color: #666;
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.btn-wizard-restart:hover {
    border-color: #66bb6a;
    color: #4caf50;
}

.wizard-back {
    background: #f0f0f0;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: #666;
    transition: all 0.2s ease;
    margin-top: 24px;
}

.wizard-back:hover {
    background: #e0e0e0;
}

/* Mobile Responsiveness for Wizard */
@media (max-width: 768px) {
    .decision-tree-summary {
        padding: 16px 20px;
        font-size: 15px;
    }

    .wizard-icon {
        font-size: 20px;
    }

    .decision-tree-content {
        padding: 24px 20px;
    }

    .wizard-question {
        font-size: 20px;
    }

    .wizard-option {
        padding: 16px 20px;
        flex-direction: column;
        gap: 12px;
    }

    .option-icon {
        font-size: 32px;
    }

    .wizard-option strong {
        font-size: 16px;
    }

    .option-description {
        font-size: 13px;
    }

    .result-icon {
        font-size: 48px;
    }

    .result-title {
        font-size: 24px;
    }

    .result-description {
        font-size: 15px;
    }

    .btn-wizard-action {
        width: 100%;
        padding: 14px 32px;
        font-size: 16px;
    }
}

/* ============================================================================
   MODERN HERO SECTION - Complete Homepage Redesign
   ============================================================================ */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 20px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #4facfe, #667eea);
    background-size: 400% 400%;
    animation: gradientWave 15s ease infinite;
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    width: 100%;
    text-align: center;
    color: white;
}

/* 10kFutures Logo */
.hero-logo {
    margin-bottom: 32px;
    animation: fadeInDown 0.6s ease;
}

.logo-image {
    max-width: 112px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

/* Responsive Logo */
@media (max-width: 768px) {
    .logo-image {
        max-width: 80px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        max-width: 64px;
    }

    .hero-logo {
        margin-bottom: 24px;
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-highlight {
    background: linear-gradient(90deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto 48px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

/* Hero Feature Cards */
.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 48px auto;
    max-width: 1200px;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-feature-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 32px 24px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.hero-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-feature-card:hover::before {
    opacity: 1;
}

.hero-feature-highlight {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.feature-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.feature-card-icon {
    font-size: 56px;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.hero-feature-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}

.hero-feature-card p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.5;
    margin-bottom: 16px;
}

.feature-meta {
    display: flex;
    gap: 12px;
    justify-content: center;
    font-size: 13px;
    opacity: 0.85;
}

.feature-meta span {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 12px;
}

/* Hero CTA */
.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 48px auto;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.hero-cta-primary {
    background: white;
    color: #667eea;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.hero-cta-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.hero-cta-secondary {
    background: transparent;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Hero Trust Indicators - OLD VERSION (DEPRECATED) */
/* Commented out in favor of compact inline badges below */
/*
.hero-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 64px auto 0;
    animation: fadeInUp 0.8s ease 1s backwards;
}

.trust-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.trust-item strong {
    display: block;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-item span {
    font-size: 13px;
    opacity: 0.9;
}
*/

/* Hero Trust Badges - Compact Inline Design (NEW) */
.hero-trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: default;
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.badge-icon {
    font-size: 18px;
    line-height: 1;
}

.badge-text {
    white-space: nowrap;
    opacity: 0.95;
}

/* Mobile Responsiveness for Hero */
@media (max-width: 1024px) {
    .hero-features {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .hero-feature-highlight {
        transform: scale(1);
    }

    /* Old .hero-trust media query removed - replaced by .hero-trust-badges below */
    .hero-trust-badges {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .hero-features {
        gap: 16px;
        margin: 32px auto;
    }

    .hero-feature-card {
        padding: 24px 20px;
    }

    .feature-card-icon {
        font-size: 48px;
    }

    .hero-feature-card h3 {
        font-size: 20px;
    }

    .hero-feature-card p {
        font-size: 14px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    .hero-cta-primary,
    .hero-cta-secondary {
        width: 100%;
        padding: 16px 32px;
    }

    /* Old .hero-trust mobile styles removed */
    /* New compact badge mobile styles */
    .hero-trust-badges {
        gap: 12px;
        margin-top: 20px;
    }

    .trust-badge {
        font-size: 13px;
        padding: 8px 14px;
    }

    .badge-icon {
        font-size: 16px;
    }
}

/* ============================================================================
   STICKY CATEGORY NAVIGATION - Phase 2
   ============================================================================ */

.sticky-nav {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    z-index: 100;
}

.sticky-nav.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.sticky-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sticky-nav-container::-webkit-scrollbar {
    display: none;
}

.nav-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    white-space: nowrap;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.nav-tab:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.nav-tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.nav-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
}

.nav-label {
    display: inline;
}

/* Mobile Responsiveness for Sticky Nav */
@media (max-width: 768px) {
    .sticky-nav-container {
        padding: 0 12px;
        gap: 4px;
    }

    .nav-tab {
        padding: 12px 16px;
        font-size: 14px;
    }

    .nav-label {
        display: none;
    }

    .nav-icon {
        font-size: 24px;
    }
}

/* ============================================================================
   BREADCRUMB NAVIGATION - Phase 2
   ============================================================================ */

.breadcrumb-container {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 0;
    animation: slideDown 0.3s ease;
}

.breadcrumb-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.breadcrumb-items {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
}

.breadcrumb-items::-webkit-scrollbar {
    display: none;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.breadcrumb-item:hover {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8eaff 100%);
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-1px);
}

.breadcrumb-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    font-weight: 600;
    cursor: default;
}

.breadcrumb-item.active:hover {
    transform: none;
}

.breadcrumb-separator {
    color: #ccc;
    font-size: 12px;
    user-select: none;
}

.breadcrumb-reset {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: white;
    border: 2px solid #ff6b6b;
    border-radius: 8px;
    color: #ff6b6b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.breadcrumb-reset:hover {
    background: #ff6b6b;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.breadcrumb-reset span {
    font-size: 16px;
    font-weight: 700;
}

/* Mobile Responsiveness for Breadcrumbs */
@media (max-width: 768px) {
    .breadcrumb-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .breadcrumb-items {
        width: 100%;
    }

    .breadcrumb-item {
        font-size: 13px;
        padding: 6px 10px;
    }

    .breadcrumb-reset {
        width: 100%;
        justify-content: center;
        font-size: 12px;
        padding: 10px 16px;
    }
}

/* ===================================================================
   Simulation Report Section
   =================================================================== */

.simulation-report-section {
    margin: 32px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8eaff 100%);
    border-radius: 16px;
    border: 2px solid #667eea;
    overflow: hidden;
}

.simulation-report-accordion {
    border: none;
}

.simulation-report-accordion summary {
    list-style: none;
}

.simulation-report-accordion summary::-webkit-details-marker {
    display: none;
}

.report-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.report-header:hover {
    background: linear-gradient(135deg, #7b8ff5 0%, #8a5ab8 100%);
}

.report-icon {
    font-size: 28px;
}

.report-title {
    font-size: 20px;
    font-weight: 700;
    flex: 1;
}

.report-hint {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 500;
}

.accordion-arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.simulation-report-accordion[open] .accordion-arrow {
    transform: rotate(180deg);
}

.report-content {
    padding: 32px 24px;
    background: white;
}

.report-intro {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 32px;
    padding: 20px;
    background: linear-gradient(135deg, #fff9e6 0%, #fff3d6 100%);
    border-left: 4px solid #ffc107;
    border-radius: 8px;
}

/* Stats Cards */
.report-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8eaff 100%);
    border: 2px solid #667eea;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
    border-color: #764ba2;
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 8px;
    font-feature-settings: 'tnum';
}

.stat-label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stat-description {
    font-size: 12px;
    color: #888;
    line-height: 1.4;
}

/* Methodology Section */
.report-methodology {
    margin-bottom: 32px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
}

.report-methodology h4 {
    font-size: 18px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 16px;
}

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

.methodology-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    line-height: 1.6;
}

.methodology-list li:last-child {
    border-bottom: none;
}

.methodology-list strong {
    color: #667eea;
    font-weight: 600;
}

/* Risk Analysis Section */
.report-risk-analysis {
    margin-bottom: 32px;
    padding: 24px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    border: 2px solid #ff6b6b;
    border-radius: 12px;
}

.report-risk-analysis h4 {
    font-size: 18px;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 16px;
}

.risk-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.risk-item {
    display: grid;
    grid-template-columns: 120px 1fr 80px;
    align-items: center;
    gap: 16px;
}

.risk-age {
    font-weight: 600;
    color: #333;
}

.risk-bar-container {
    background: #f0f0f0;
    border-radius: 8px;
    height: 24px;
    overflow: hidden;
    position: relative;
}

.risk-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b 0%, #ff8787 100%);
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
}

.risk-value {
    font-weight: 700;
    color: #ff6b6b;
    text-align: right;
}

.risk-desc {
    grid-column: 2 / -1;
    font-size: 12px;
    color: #888;
    margin-top: -12px;
}

/* Report Footer */
.report-footer {
    padding: 24px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-left: 4px solid #4caf50;
    border-radius: 8px;
}

.report-footer p {
    margin-bottom: 12px;
    line-height: 1.7;
}

.report-footer strong {
    color: #4caf50;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .report-header {
        padding: 16px;
        gap: 8px;
    }

    .report-icon {
        font-size: 24px;
    }

    .report-title {
        font-size: 16px;
    }

    .report-hint {
        display: none;
    }

    .report-content {
        padding: 20px 16px;
    }

    .report-stats {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 16px;
    }

    .stat-value {
        font-size: 24px;
    }

    .report-methodology,
    .report-risk-analysis,
    .report-footer {
        padding: 16px;
    }

    .risk-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .risk-age {
        margin-bottom: 4px;
    }

    .risk-value {
        text-align: left;
        grid-column: 1;
    }

    .risk-desc {
        grid-column: 1;
        margin-top: 4px;
    }
}
