/* ============================================
   PIPELINE PAGE - Custom Styles
============================================ */

/* ============================================
   HERO SECTION
============================================ */
.pipeline-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 5rem 4rem;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.pipeline-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    animation: pipeline-orb-drift 12s ease-in-out infinite;
}

.pipeline-hero-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-main);
    opacity: 0.12;
    top: -15%;
    left: -10%;
}

.pipeline-hero-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-diagonal);
    opacity: 0.1;
    bottom: 10%;
    right: -10%;
    animation-delay: -4s;
}

.pipeline-hero-orb-3 {
    width: 350px;
    height: 350px;
    background: var(--gradient-main-reverse);
    opacity: 0.08;
    top: 40%;
    left: 60%;
    animation-delay: -8s;
}

@keyframes pipeline-orb-drift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(20px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-15px, 20px) scale(0.95);
    }
}

.pipeline-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.pipeline-hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.eyebrow-line {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.pipeline-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: white;
    margin-bottom: 2rem;
}

.pipeline-hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

.pipeline-hero-visual {
    position: relative;
    z-index: 2;
    margin-top: 4rem;
}

.hero-needle-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 60px rgba(0, 102, 255, 0.2));
    animation: needle-float 8s ease-in-out infinite;
}

@keyframes needle-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

.pipeline-hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.scroll-indicator {
    width: 20px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    position: relative;
}

.scroll-dot {
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { top: 6px; opacity: 1; }
    50% { top: 18px; opacity: 0.5; }
}

/* ============================================
   MODULARITY SECTION
============================================ */
.pipeline-modularity {
    background: #0a0a0a;
}

.modularity-content {
    padding: 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.modularity-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: center;
}

.modularity-outcomes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.outcome-tag {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: default;
}

.outcome-tag[data-color="blue"],
.outcome-tag[data-color="purple"],
.outcome-tag[data-color="coral"] {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-color: rgba(159, 71, 219, 0.3);
}

.outcome-tag[data-color="teal"] {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-color: rgba(159, 71, 219, 0.3);
}

.outcome-tag:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(8px);
}

.modularity-text {
    /* Text container */
}

.modularity-lead {
    font-family: var(--font-body);
    font-size: 1.5rem;
    line-height: 1.6;
    color: white;
    margin-bottom: 1.5rem;
}

.modularity-note {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
}

.modularity-note strong {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   CYCLE SECTION
============================================ */
.pipeline-cycle {
    background: #0f0f0f;
}

.cycle-content {
    padding: 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cycle-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.cycle-badge {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 500;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.cycle-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: white;
    margin-bottom: 0.5rem;
}

.cycle-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
}

.cycle-indication {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.indication-visual {
    display: flex;
    justify-content: center;
}

.indication-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(0, 102, 255, 0.15));
}

.indication-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.indication-name {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: white;
    margin-bottom: 0.75rem;
}

.indication-rationale {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   PIPELINE TABLE SECTION
============================================ */
.pipeline-table-section {
    background: #0a0a0a;
}

.pipeline-table-content {
    padding: 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pipeline-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pipeline-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body);
}

.pipeline-table thead {
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.pipeline-table th {
    padding: 1.5rem 1rem;
    text-align: left;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.pipeline-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease;
}

.pipeline-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.pipeline-table td {
    padding: 1.5rem 1rem;
    vertical-align: middle;
}

.candidate-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    letter-spacing: -0.01em;
}

.candidate-mechanism {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.candidate-indication {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stage-cell {
    text-align: center;
}

.stage-dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    transition: all 0.3s ease;
}

.stage-dot.active {
    background: var(--gradient-main);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(159, 71, 219, 0.4);
}

/* ============================================
   CANDIDATE DETAILS SECTION
============================================ */
.pipeline-candidates {
    background: #0f0f0f;
}

.candidate-detail {
    padding: 5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 1000px;
    margin: 0 auto;
}

.candidate-detail:last-child {
    border-bottom: none;
}

.candidate-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
}

.candidate-number {
    font-family: monospace;
    font-size: 4rem;
    line-height: 1;
    transition: color 0.3s ease;
}

.candidate-detail .candidate-number {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.candidate-detail[data-color="teal"] .candidate-number,
.candidate-detail[data-color="orange"] .candidate-number {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.candidate-title-block {
    padding-top: 0.5rem;
}

.candidate-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: white;
    margin-bottom: 0.5rem;
}

.candidate-tagline {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.candidate-content {
    display: grid;
    gap: 2.5rem;
}

.content-label {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: white;
    margin-bottom: 0.75rem;
}

.candidate-problem p,
.candidate-solution p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.candidate-mechanism-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.mechanism-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.candidate-detail .mechanism-icon,
.candidate-detail[data-color="teal"] .mechanism-icon,
.candidate-detail[data-color="orange"] .mechanism-icon {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mechanism-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   CLOSING SECTION
============================================ */
.pipeline-closing {
    background: #0a0a0a;
    padding: 6rem 5rem;
}

.closing-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.closing-visual {
    display: flex;
    justify-content: center;
}

.closing-image {
    max-width: 350px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.3));
}

.closing-statement {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.4;
    color: white;
}

/* ============================================
   CTA SECTION
============================================ */
.pipeline-cta {
    background: linear-gradient(180deg, #0a0a0a 0%, #0f0f0f 100%);
    padding: 8rem 5rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: white;
    margin-bottom: 1rem;
}

.cta-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: white;
    color: #0a0a0a;
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--gradient-main);
    color: white;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .pipeline-hero {
        padding: 6rem 3rem 4rem;
    }

    .modularity-content,
    .cycle-content,
    .pipeline-table-content,
    .pipeline-closing {
        padding: 4rem 3rem;
    }

    .modularity-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .modularity-outcomes {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .cycle-indication {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .indication-visual {
        order: -1;
    }

    .closing-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .closing-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .pipeline-hero {
        padding: 5rem 1.5rem 3rem;
        min-height: auto;
        padding-top: 8rem;
    }

    .pipeline-hero-title {
        font-size: 2rem;
    }

    .pipeline-hero-visual {
        margin-top: 3rem;
    }

    .hero-needle-image {
        max-width: 300px;
    }

    .pipeline-hero-scroll {
        display: none;
    }

    .modularity-content,
    .cycle-content,
    .pipeline-table-content,
    .pipeline-closing {
        padding: 3rem 1.5rem;
    }

    .modularity-lead {
        font-size: 1.25rem;
    }

    .cycle-header {
        flex-direction: column;
        text-align: center;
    }

    .cycle-indication {
        padding: 2rem 1.5rem;
    }

    .candidate-detail {
        padding: 3rem 1.5rem;
    }

    .candidate-header {
        flex-direction: column;
        gap: 1rem;
    }

    .candidate-number {
        font-size: 3rem;
    }

    .pipeline-cta {
        padding: 5rem 1.5rem;
    }

    .closing-image {
        max-width: 200px;
    }
}
