:root {
    --primary-color: #0047AB;
    --accent-color: #FF5A1F;
    --dark-bg: #1A1A1B;
    --light-bg: #F4F7F9;
    --white: #FFFFFF;
    --text-main: #333333;
    --text-muted: #666666;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.analyse-hero {
    padding: 160px 0 60px;
    background: radial-gradient(circle at top right, #f0f7ff, #ffffff);
    text-align: center;
}

.simulator-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.simulator-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: flex-start;
}

.station-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

/* Connective line in the pipeline */
.station-list::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, #ddd, transparent);
    z-index: 0;
}

.station-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #EEE;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.station-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.station-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.station-icon {
    font-size: 2rem;
    background: var(--light-bg);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.station-header h4 {
    margin: 0;
    font-size: 1.1rem;
    flex-grow: 1;
}

.tension-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sliders */
.tension-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 5px;
    background: #e0e6ed;
    outline: none;
}

.station-form {
    padding: 10px 0;
}

.tension-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: 3px solid var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Symptoms */
.symptom {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dotted #eee;
    font-size: 0.9rem;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.symptom.active {
    display: block;
    opacity: 1;
}

.symptom-text {
    color: #e74c3c;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.impact {
    font-size: 0.8rem;
    color: #999;
}

/* Results Column */
.chart-column {
    position: sticky;
    top: 120px;
}

.sticky-results {
    background: var(--dark-bg);
    color: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}

.sticky-results h3 {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
}

.chart-container {
    margin-bottom: 3rem;
}

.bar-wrapper {
    margin-bottom: 2rem;
}

.bar-wrapper label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    color: #AAA;
}

.bar-outer {
    height: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
    display: flex;
}

.bar-fill {
    height: 100%;
    transition: width 0.5s cubic-bezier(0.1, 0.7, 0.1, 1);
}

.bar-fill.theory {
    background: linear-gradient(90deg, #4CAF50, #81c784);
    width: 100%;
}

.bar-fill.practice {
    background: linear-gradient(90deg, var(--accent-color), #ff8a5a);
}

/* The Waste Gap */
.bar-gap {
    height: 100%;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(231, 76, 60, 0.2),
        rgba(231, 76, 60, 0.2) 10px,
        rgba(231, 76, 60, 0.3) 10px,
        rgba(231, 76, 60, 0.3) 20px
    );
    flex-grow: 1;
    transition: width 0.5s ease;
}

.bar-val {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    margin-top: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.analysis-box {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.alert-box {
    background: #e74c3c;
    color: white;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    display: none;
    animation: flash 1s infinite alternate;
}

@keyframes flash {
    from { opacity: 0.7; }
    to { opacity: 1; transform: scale(1.02); }
}

.concepts-grid {
    display: grid;
    gap: 20px;
    margin-top: 2rem;
}

.concept-item h5 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.trs-status {
    color: #FF5A1F;
    font-size: 1.2rem;
    font-weight: 800;
}

.concept-item p {
    font-size: 0.85rem;
    color: #999;
}

.mini-input {
    background: transparent;
    border: 1px solid #ddd;
    color: var(--text-main);
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 700;
    width: 120px;
}

.btn-full {
    width: 100%;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .simulator-layout {
        grid-template-columns: 1fr;
    }
    
    .chart-column {
        position: static;
    }
}
