/* =========================================
   PROGRESSION PAGE STYLES
   Dedicated page for MFS scoring system
   ========================================= */

/* Active page indicator in dropdown */
.dropdown-content .active-page {
    color: var(--accent-cyan) !important;
    border-left: 2px solid var(--accent-cyan);
    background: rgba(0, 212, 255, 0.08);
}

/* ================================
   HERO
   ================================ */

.prog-hero {
    padding: 10rem 2rem 4rem;
    text-align: center;
    position: relative;
}

.prog-breadcrumb {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.prog-breadcrumb a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.prog-breadcrumb a:hover {
    color: var(--accent-cyan);
}

.prog-breadcrumb span {
    color: var(--accent-cyan);
}

.prog-headline {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    text-shadow:
        0 0 40px var(--glow-cyan),
        0 0 80px var(--glow-purple);
}

.prog-tagline {
    font-family: 'Space Mono', monospace;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.6);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ================================
   FORMULA CARD
   ================================ */

.prog-formula-section {
    padding: 2rem 2rem 6rem;
}

.prog-formula-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.prog-formula-content {
    position: relative;
    z-index: 1;
    padding: 3rem;
    text-align: center;
}

.prog-formula-label {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.prog-formula {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.formula-symbol {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}

.formula-symbol.psi { color: var(--accent-cyan); filter: drop-shadow(0 0 10px var(--glow-cyan)); }
.formula-symbol.sigma { color: var(--accent-gold); filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6)); }
.formula-symbol.tau { color: var(--accent-teal); filter: drop-shadow(0 0 10px rgba(0, 255, 242, 0.6)); }
.formula-symbol.omega { color: var(--accent-magenta); filter: drop-shadow(0 0 10px var(--glow-magenta)); }
.formula-symbol.lambda { color: var(--accent-purple); filter: drop-shadow(0 0 10px var(--glow-purple)); }

.formula-op {
    font-family: 'Space Mono', monospace;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: rgba(255, 255, 255, 0.3);
}

.formula-group {
    font-family: 'Space Mono', monospace;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prog-formula-desc {
    font-family: 'Space Mono', monospace;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   COMPONENTS GRID
   ================================ */

.prog-components-section {
    padding: 6rem 2rem;
    background: radial-gradient(circle at 50% 0%, #1a1042 0%, #0a0e27 70%);
}

.prog-components-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.prog-comp-card {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    border-radius: 16px;
    background: rgba(10, 14, 39, 0.5);
    border: 1px solid rgba(var(--comp-color), 0.15);
    border-left: 3px solid rgba(var(--comp-color), 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.prog-comp-card:hover {
    background: rgba(10, 14, 39, 0.7);
    border-left-color: rgb(var(--comp-color));
    transform: translateX(5px);
    box-shadow: 0 0 30px rgba(var(--comp-color), 0.1);
}

.prog-comp-symbol {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgb(var(--comp-color));
    filter: drop-shadow(0 0 12px rgb(var(--comp-color)));
    min-width: 4rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0.25rem;
}

.prog-comp-body {
    flex: 1;
}

.prog-comp-name {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.prog-comp-range {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8rem;
    color: rgb(var(--comp-color));
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.prog-comp-desc {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.prog-comp-example {
    padding: 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.example-label {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    display: block;
    margin-bottom: 0.5rem;
}

.prog-comp-example p {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin: 0;
}

/* ================================
   EXAMPLE SESSIONS
   ================================ */

.prog-examples-section {
    padding: 6rem 2rem;
}

.prog-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.prog-example-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.prog-example-card:hover {
    transform: translateY(-5px);
}

.prog-example-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.prog-example-icon {
    color: var(--accent-cyan);
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 0 8px var(--glow-cyan));
}

.prog-example-title {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.prog-example-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.prog-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-label {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.detail-value {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-weight: 700;
}

.prog-example-note {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    font-style: italic;
}

/* ================================
   LEVELS TIMELINE
   ================================ */

.prog-levels-section {
    padding: 6rem 2rem;
    background: radial-gradient(circle at 50% 100%, #1a1042 0%, #0a0e27 70%);
}

.prog-levels-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* Vertical line */
.prog-levels-timeline::before {
    content: '';
    position: absolute;
    left: 130px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
        to bottom,
        rgba(100, 100, 150, 0.2),
        rgba(0, 212, 255, 0.3),
        rgba(168, 85, 247, 0.3),
        rgba(255, 0, 110, 0.3),
        rgba(255, 215, 0, 0.3)
    );
}

.prog-level-item {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.prog-level-item:hover {
    transform: translateX(5px);
}

/* Dot on the timeline */
.prog-level-item::before {
    content: '';
    position: absolute;
    left: 124px;
    top: 2.5rem;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: rgb(var(--level-color));
    box-shadow: 0 0 12px rgb(var(--level-color));
    z-index: 1;
}

.prog-level-marker {
    min-width: 110px;
    text-align: right;
    padding-top: 0.3rem;
}

.prog-level-score {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
}

.prog-level-info {
    padding-left: 2rem;
}

.prog-level-name {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: rgb(var(--level-color));
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(var(--level-color), 0.4);
}

.prog-level-desc {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

/* ================================
   CTA
   ================================ */

.prog-cta-section {
    padding: 6rem 2rem;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 768px) {
    .prog-hero {
        padding: 8rem 1rem 3rem;
    }

    .prog-formula-content {
        padding: 2rem 1.5rem;
    }

    .prog-components-section,
    .prog-examples-section,
    .prog-levels-section,
    .prog-cta-section {
        padding: 4rem 1rem;
    }

    .prog-comp-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .prog-comp-symbol {
        font-size: 2.5rem;
        min-width: auto;
        justify-content: flex-start;
    }

    .prog-comp-name {
        font-size: 1.1rem;
    }

    .prog-comp-desc {
        font-size: 0.85rem;
    }

    .prog-examples-grid {
        grid-template-columns: 1fr;
    }

    /* Timeline adjustments */
    .prog-levels-timeline::before {
        left: 10px;
    }

    .prog-level-item::before {
        left: 4px;
        width: 13px;
        height: 13px;
    }

    .prog-level-marker {
        display: none;
    }

    .prog-level-info {
        padding-left: 2rem;
    }

    .prog-level-name {
        font-size: 1.2rem;
    }

    .prog-level-desc {
        font-size: 0.85rem;
    }

    .prog-level-score {
        display: block;
        font-size: 0.7rem;
        margin-bottom: 0.25rem;
    }

    /* Show score inline on mobile since marker is hidden */
    .prog-level-info::before {
        font-family: 'Roboto Mono', monospace;
        font-size: 0.7rem;
        color: rgba(255, 255, 255, 0.3);
    }
}
