/**
 * Elcome/SpaceX Flagship Case Study Styles
 *
 * Custom styles for the flagship case study page at /results/elcome-spacex/
 *
 * @package Onyx_Child
 * @since   1.2.0
 */

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

.elcome-spacex-page {
    --elcome-charcoal: #141B2B;
    --elcome-navy: #1F273B;
    --elcome-cyan: #00C6D7;
    --elcome-green: #22C55E;
    --elcome-gold: var(--onyx-gold, #FFBB09);
    --elcome-white: #FFFFFF;
    --elcome-off-white: #F7F8FA;
    --elcome-text-muted: #9CA3AF;
    --elcome-text-dark: #374151;
}

/* ==========================================================================
   Section Labels & Headings (Shared)
   ========================================================================== */

.elcome-section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.elcome-section-label--gold {
    background: rgba(255, 187, 9, 0.15);
    color: var(--elcome-gold);
}

.elcome-section-label--cyan {
    background: rgba(0, 198, 215, 0.15);
    color: var(--elcome-cyan);
}

.elcome-section-heading {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--elcome-charcoal);
}

.elcome-section-heading--white {
    color: var(--elcome-white);
}

/* ==========================================================================
   Section 1: Hero
   ========================================================================== */

.elcome-hero {
    background: linear-gradient(135deg, var(--elcome-charcoal) 0%, var(--elcome-navy) 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 4rem 0 5rem;
    position: relative;
    overflow: hidden;
}

/* Atmospheric glow effects */
.elcome-hero__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.elcome-hero__glow--cyan {
    background: radial-gradient(ellipse 800px 500px at 30% 60%, rgba(0, 198, 215, 0.06) 0%, transparent 70%);
}

.elcome-hero__glow--gold {
    background: radial-gradient(ellipse 600px 400px at 70% 30%, rgba(255, 187, 9, 0.06) 0%, transparent 70%);
}

.elcome-hero__gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--elcome-navy), transparent);
    pointer-events: none;
}

.elcome-hero__container {
    position: relative;
    z-index: 2;
}

.elcome-hero__content {
    max-width: 720px;
}

.elcome-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .elcome-hero__grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Microsoft Badge */
.elcome-ms-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
}

.elcome-ms-badge__icon {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    width: 16px;
    height: 16px;
}

.elcome-ms-badge__icon span {
    display: block;
}

.elcome-ms-badge__icon span:nth-child(1) { background: #F25022; }
.elcome-ms-badge__icon span:nth-child(2) { background: #7FBA00; }
.elcome-ms-badge__icon span:nth-child(3) { background: #00A4EF; }
.elcome-ms-badge__icon span:nth-child(4) { background: #FFB900; }

.elcome-ms-badge__text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--elcome-white);
    letter-spacing: 0.05em;
}

/* Hero Content */
.elcome-hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--elcome-white);
    margin-bottom: 1.5rem;
}

.elcome-hero__title span {
    color: var(--elcome-gold);
}

.elcome-hero__subtitle {
    font-size: 1.25rem;
    color: var(--elcome-text-muted);
    margin-bottom: 2rem;
    max-width: 540px;
}

/* Partnership Pills */
.elcome-hero__logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.elcome-partner-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--elcome-text-muted);
}

.elcome-partner-pill__icon {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

/* Hero CTAs */
.elcome-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Hero Visual */
.elcome-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.elcome-hero__image {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Section 2: Trust Bar
   ========================================================================== */

.elcome-trust-bar {
    background: linear-gradient(180deg, var(--elcome-charcoal) 0%, var(--elcome-navy) 100%);
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

/* Subtle gradient accent line */
.elcome-trust-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--elcome-gold) 50%,
        transparent 100%
    );
    opacity: 0.4;
}

.elcome-trust-bar__text {
    text-align: center;
}

.elcome-trust-bar__label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 12px;
}

.elcome-trust-bar__items {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.elcome-trust-bar__item {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    padding: 0 14px;
    white-space: nowrap;
}

.elcome-trust-bar__divider {
    width: 4px;
    height: 4px;
    background: var(--elcome-gold);
    border-radius: 50%;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .elcome-trust-bar__item {
        font-size: 11px;
        padding: 4px 10px;
    }

    .elcome-trust-bar__divider {
        display: none;
    }

    .elcome-trust-bar__items {
        flex-direction: column;
        gap: 4px;
    }
}

/* ==========================================================================
   Section 3: Impact Metrics
   ========================================================================== */

.elcome-impact {
    background: var(--elcome-charcoal);
    padding: 4rem 0;
}

.elcome-impact__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .elcome-impact__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.elcome-metric-card {
    text-align: center;
    padding: 1.5rem;
    border-top: 3px solid var(--elcome-cyan);
}

.elcome-metric-card[data-accent="gold"] {
    border-top-color: var(--elcome-gold);
}

.elcome-metric-card[data-accent="green"] {
    border-top-color: var(--elcome-green);
}

.elcome-metric-card__icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 1rem;
}

.elcome-metric-card__value {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--elcome-white);
    margin-bottom: 0.5rem;
}

.elcome-metric-card__label {
    font-size: 0.875rem;
    color: var(--elcome-text-muted);
    margin-bottom: 0.25rem;
}

.elcome-metric-card__before {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Section 4: Video
   ========================================================================== */

.elcome-video {
    background: var(--elcome-off-white);
    padding: 5rem 0;
}

.elcome-video__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.elcome-video__intro {
    color: var(--elcome-text-dark);
    font-size: 1.125rem;
}

.elcome-video__wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.elcome-video__poster {
    position: relative;
    aspect-ratio: 16 / 9;
    cursor: pointer;
    background: radial-gradient(ellipse at center, var(--elcome-navy) 0%, var(--elcome-charcoal) 100%);
}

.elcome-video__poster::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.elcome-video__poster:hover::before {
    background: rgba(0, 0, 0, 0.2);
}

.elcome-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--elcome-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 0 0 rgba(255, 187, 9, 0.4);
}

.elcome-video__poster:hover .elcome-video__play {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 0 20px rgba(255, 187, 9, 0.2);
}

.elcome-video__play svg {
    width: 32px;
    height: 32px;
    margin-left: 4px;
}

.elcome-video__element {
    display: none;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.elcome-video__wrapper.is-playing .elcome-video__poster {
    display: none;
}

.elcome-video__wrapper.is-playing .elcome-video__element {
    display: block;
}

/* ==========================================================================
   Section 5: Challenge
   ========================================================================== */

.elcome-challenge {
    background: var(--elcome-white);
    padding: 5rem 0;
}

.elcome-challenge__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .elcome-challenge__grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.elcome-challenge__intro {
    font-size: 1.125rem;
    color: var(--elcome-text-dark);
    margin-bottom: 1.5rem;
}

.elcome-challenge__body {
    color: var(--elcome-text-muted);
    line-height: 1.7;
}

.elcome-challenge__cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.elcome-info-card {
    background: var(--elcome-off-white);
    border-left: 4px solid var(--elcome-cyan);
    padding: 1.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.elcome-info-card[data-accent="gold"] {
    border-left-color: var(--elcome-gold);
}

.elcome-info-card[data-accent="green"] {
    border-left-color: var(--elcome-green);
}

.elcome-info-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--elcome-charcoal);
    margin-bottom: 0.5rem;
}

.elcome-info-card__desc {
    font-size: 0.875rem;
    color: var(--elcome-text-dark);
    line-height: 1.6;
}

/* ==========================================================================
   Section 6: Solution (Technology Cards)
   ========================================================================== */

.elcome-solution {
    background: linear-gradient(180deg, var(--elcome-charcoal) 0%, var(--elcome-navy) 100%);
    padding: 5rem 0;
}

.elcome-solution__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.elcome-solution__intro {
    font-size: 1.125rem;
    color: var(--elcome-text-muted);
}

.elcome-solution__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .elcome-solution__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .elcome-solution__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.elcome-tech-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.elcome-tech-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
}

.elcome-tech-card__icon {
    margin-bottom: 1.5rem;
}

.elcome-tech-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--elcome-white);
    margin-bottom: 0.75rem;
}

.elcome-tech-card__desc {
    font-size: 0.875rem;
    color: var(--elcome-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   Section 7: Quote
   ========================================================================== */

.elcome-quote {
    background: var(--elcome-gold);
    padding: 5rem 0;
}

.elcome-quote__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.elcome-quote__mark {
    font-size: 8rem;
    font-family: Georgia, serif;
    line-height: 0.5;
    color: rgba(0, 0, 0, 0.15);
    margin-bottom: 1rem;
}

.elcome-quote__text {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    line-height: 1.5;
    color: var(--elcome-charcoal);
    margin-bottom: 2rem;
    font-style: italic;
}

.elcome-quote__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.elcome-quote__avatar {
    width: 56px;
    height: 56px;
    background: var(--elcome-charcoal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.elcome-quote__initials {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--elcome-gold);
}

.elcome-quote__meta {
    text-align: left;
}

.elcome-quote__name {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    font-style: normal;
    color: var(--elcome-charcoal);
}

.elcome-quote__title {
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   Section 8: Results
   ========================================================================== */

.elcome-results {
    background: var(--elcome-off-white);
    padding: 5rem 0;
}

.elcome-results__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.elcome-results__intro {
    font-size: 1.125rem;
    color: var(--elcome-text-dark);
}

.elcome-results__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .elcome-results__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .elcome-results__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.elcome-outcome-card {
    background: var(--elcome-white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.elcome-outcome-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.elcome-outcome-card__icon {
    margin-bottom: 1.5rem;
}

.elcome-outcome-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--elcome-charcoal);
    margin-bottom: 0.75rem;
}

.elcome-outcome-card__desc {
    font-size: 0.875rem;
    color: var(--elcome-text-dark);
    line-height: 1.6;
}

/* ==========================================================================
   Section 9: Validation
   ========================================================================== */

.elcome-validation {
    background: var(--elcome-charcoal);
    padding: 5rem 0;
}

.elcome-validation__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .elcome-validation__grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.elcome-validation__intro {
    font-size: 1.25rem;
    color: var(--elcome-text-muted);
    margin-bottom: 1.5rem;
}

.elcome-validation__body {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.elcome-validation__timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.elcome-validation__item {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 2rem;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
}

.elcome-validation__item:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
}

.elcome-validation__dot {
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--elcome-gold);
    border-radius: 50%;
}

.elcome-validation__date {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--elcome-gold);
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.elcome-validation__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--elcome-white);
    margin-bottom: 0.5rem;
}

.elcome-validation__desc {
    font-size: 0.875rem;
    color: var(--elcome-text-muted);
    margin-bottom: 0.75rem;
}

.elcome-validation__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--elcome-cyan);
    text-decoration: none;
    transition: color 0.2s ease;
}

.elcome-validation__link:hover {
    color: var(--elcome-white);
}

/* ==========================================================================
   Section 10: Value Ladder
   ========================================================================== */

.elcome-value-ladder {
    background: var(--elcome-white);
    padding: 5rem 0;
}

.elcome-value-ladder__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.elcome-value-ladder__intro {
    font-size: 1.125rem;
    color: var(--elcome-text-dark);
}

.elcome-value-ladder__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .elcome-value-ladder__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.elcome-step-card {
    position: relative;
    display: block;
    background: var(--elcome-off-white);
    border: 2px solid transparent;
    border-radius: 1rem;
    padding: 2rem;
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.elcome-step-card:hover {
    transform: translateY(-4px);
    border-color: var(--elcome-gold);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.elcome-step-card--highlighted {
    background: var(--elcome-charcoal);
    border-color: var(--elcome-gold);
}

.elcome-step-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--elcome-gold);
    color: var(--elcome-charcoal);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    white-space: nowrap;
}

/* Note: Step number size defined in Fix 11 overrides section */

.elcome-step-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--elcome-charcoal);
    margin-bottom: 0.75rem;
}

.elcome-step-card--highlighted .elcome-step-card__title {
    color: var(--elcome-white);
}

.elcome-step-card__desc {
    font-size: 0.875rem;
    color: var(--elcome-text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.elcome-step-card--highlighted .elcome-step-card__desc {
    color: var(--elcome-text-muted);
}

.elcome-step-card__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--elcome-gold);
}

/* ==========================================================================
   Section 11: CTA Banner
   ========================================================================== */

.elcome-cta {
    background: var(--elcome-gold);
    padding: 5rem 0;
}

.elcome-cta__content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.elcome-cta__heading {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--elcome-charcoal);
    margin-bottom: 1rem;
}

.elcome-cta__text {
    font-size: 1.125rem;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 2rem;
}

.elcome-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Dark button variants for gold background */
.onyx-btn-primary--dark {
    background: var(--elcome-charcoal);
    color: var(--elcome-white);
}

.onyx-btn-primary--dark:hover {
    background: var(--elcome-navy);
}

.onyx-btn-outline--dark {
    border-color: var(--elcome-charcoal);
    color: var(--elcome-charcoal);
}

.onyx-btn-outline--dark:hover {
    background: var(--elcome-charcoal);
    color: var(--elcome-white);
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 767px) {
    .elcome-hero {
        padding: 4rem 0 3rem;
    }

    .elcome-hero__title {
        font-size: 2rem;
    }

    .elcome-hero__subtitle {
        font-size: 1rem;
    }

    .elcome-hero__ctas {
        flex-direction: column;
    }

    .elcome-hero__ctas .onyx-btn {
        width: 100%;
        text-align: center;
    }

    .elcome-quote__mark {
        font-size: 5rem;
    }

    .elcome-quote__text {
        font-size: 1.125rem;
    }

    .elcome-quote__author {
        flex-direction: column;
        text-align: center;
    }

    .elcome-quote__meta {
        text-align: center;
    }
}

/* ==========================================================================
   Animation Enhancements
   ========================================================================== */

/* Ensure smooth stagger animations */
.elcome-spacex-page .stagger-children > .onyx-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.elcome-spacex-page .stagger-children > .onyx-reveal.onyx-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay using CSS custom property */
.elcome-spacex-page .stagger-children > .onyx-reveal:nth-child(1) { transition-delay: 0ms; }
.elcome-spacex-page .stagger-children > .onyx-reveal:nth-child(2) { transition-delay: 100ms; }
.elcome-spacex-page .stagger-children > .onyx-reveal:nth-child(3) { transition-delay: 200ms; }
.elcome-spacex-page .stagger-children > .onyx-reveal:nth-child(4) { transition-delay: 300ms; }

/* ==========================================================================
   Fix 1: Hero Ghost Button Style
   ========================================================================== */

.elcome-btn-ghost {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--elcome-white);
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.elcome-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--elcome-white);
    color: var(--elcome-white);
}

.elcome-btn-ghost svg {
    flex-shrink: 0;
}

/* ==========================================================================
   Fix 2: Impact Metrics Section (Alias Classes)
   ========================================================================== */

/* Map .elcome-metrics classes to .elcome-impact styling */
.elcome-metrics {
    background: var(--elcome-charcoal);
    padding: 4rem 0;
    position: relative;
}

/* Gradient accent line at top */
.elcome-metrics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--elcome-cyan) 0%,
        var(--elcome-green) 33%,
        var(--elcome-gold) 66%,
        var(--elcome-cyan) 100%
    );
}

.elcome-metrics__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

@media (min-width: 768px) {
    .elcome-metrics__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.elcome-metrics__card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.elcome-metrics__card:first-child {
    border-left: none;
}

/* Colored top borders for each card */
.elcome-metrics__card--cyan {
    border-top: 3px solid var(--elcome-cyan);
}

.elcome-metrics__card--gold {
    border-top: 3px solid var(--elcome-gold);
}

.elcome-metrics__card--green {
    border-top: 3px solid var(--elcome-green);
}

.elcome-metrics__icon {
    width: 24px;
    height: 24px;
    margin: 0 auto 1rem;
}

.elcome-metrics__before {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.elcome-metrics__after {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--elcome-white);
    margin-bottom: 0.5rem;
}

.elcome-metrics__after--cyan {
    color: var(--elcome-cyan);
}

.elcome-metrics__after--gold {
    color: var(--elcome-gold);
}

.elcome-metrics__after--green {
    color: var(--elcome-green);
}

.elcome-metrics__value {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--elcome-white);
    margin-bottom: 0.5rem;
}

.elcome-metrics__label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   Fix 3: Video Section Badge Dark Text
   ========================================================================== */

.elcome-video .elcome-ms-badge {
    background: rgba(31, 39, 59, 0.08);
    border: 1px solid rgba(31, 39, 59, 0.15);
}

.elcome-video .elcome-ms-badge__text {
    color: var(--elcome-charcoal);
}

.elcome-video__title {
    color: var(--elcome-charcoal);
}

/* Video container styling */
.elcome-video__container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Video poster */
.elcome-video__poster {
    position: relative;
    aspect-ratio: 16 / 9;
    cursor: pointer;
    background: radial-gradient(ellipse at center, var(--elcome-navy) 0%, var(--elcome-charcoal) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.elcome-video__poster-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at center, rgba(255, 187, 9, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.elcome-video__watermark {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.3);
}

.elcome-video__play-btn {
    width: 80px;
    height: 80px;
    background: var(--elcome-gold);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 0 0 rgba(255, 187, 9, 0.4);
}

.elcome-video__play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 20px rgba(255, 187, 9, 0.2);
}

.elcome-video__caption {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.elcome-video__player {
    width: 100%;
    aspect-ratio: 16 / 9;
}

/* ==========================================================================
   Fix 4: Quote Section Image Support
   ========================================================================== */

.elcome-quote__photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--elcome-charcoal);
}

.elcome-quote__logo {
    height: 32px;
    width: auto;
    margin-top: 1.5rem;
    opacity: 0.8;
}

/* ==========================================================================
   Fix 5: Challenge Section Info Cards
   ========================================================================== */

.elcome-info-card {
    background: var(--elcome-off-white);
    border-left: 4px solid var(--elcome-cyan);
    padding: 1.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.elcome-info-card--gold {
    border-left-color: var(--elcome-gold);
}

.elcome-info-card--cyan {
    border-left-color: var(--elcome-cyan);
}

.elcome-info-card--green {
    border-left-color: var(--elcome-green);
}

.elcome-info-card__label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--elcome-text-muted);
    margin-bottom: 0.5rem;
}

.elcome-info-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--elcome-charcoal);
    margin-bottom: 0.25rem;
}

.elcome-info-card__subtitle {
    font-size: 0.875rem;
    color: var(--elcome-text-dark);
}

/* ==========================================================================
   Fix 6: Solution Section Icon Backgrounds
   ========================================================================== */

.elcome-tech-card__icon {
    width: 48px;
    height: 48px;
    padding: 12px;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.elcome-tech-card[data-accent="cyan"] .elcome-tech-card__icon {
    background: rgba(0, 198, 215, 0.15);
}

.elcome-tech-card[data-accent="gold"] .elcome-tech-card__icon {
    background: rgba(255, 187, 9, 0.15);
}

.elcome-tech-card[data-accent="green"] .elcome-tech-card__icon {
    background: rgba(34, 197, 94, 0.15);
}

/* ==========================================================================
   Fix 7: Results Section Icon Backgrounds
   ========================================================================== */

.elcome-outcome-card__icon {
    width: 48px;
    height: 48px;
    padding: 12px;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.elcome-outcome-card[data-accent="cyan"] .elcome-outcome-card__icon {
    background: rgba(0, 198, 215, 0.15);
}

.elcome-outcome-card[data-accent="gold"] .elcome-outcome-card__icon {
    background: rgba(255, 187, 9, 0.15);
}

.elcome-outcome-card[data-accent="green"] .elcome-outcome-card__icon {
    background: rgba(34, 197, 94, 0.15);
}

/* ==========================================================================
   Fix 8: Validation Section Enhancements
   ========================================================================== */

.elcome-validation__buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

.elcome-validation__buttons .onyx-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    color: var(--elcome-white);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.elcome-validation__buttons .onyx-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--elcome-white);
}

.elcome-validation__buttons .onyx-btn-outline svg {
    flex-shrink: 0;
}

/* Timeline card background */
.elcome-validation__content {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
}

/* ==========================================================================
   Fix 9: Value Ladder Card Enhancements
   ========================================================================== */

.elcome-step-card__number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--elcome-gold);
    margin-bottom: 0.75rem;
    line-height: 1;
}

/* ==========================================================================
   Fix 10: Challenge Content Typography
   ========================================================================== */

.elcome-challenge__content p {
    color: var(--elcome-text-dark);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.elcome-challenge__content p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Fix 11: Force Overrides with Page Scoping & Direct Hex Colors
   Using .elcome-spacex-page prefix for maximum specificity
   ========================================================================== */

/* Metrics colored borders - scoped with direct hex values */
.elcome-spacex-page .elcome-metrics__card--cyan {
    border-top: 3px solid #00C6D7 !important;
}

.elcome-spacex-page .elcome-metrics__card--gold {
    border-top: 3px solid #FFBB09 !important;
}

.elcome-spacex-page .elcome-metrics__card--green {
    border-top: 3px solid #22C55E !important;
}

/* Tech card icon backgrounds - scoped with direct hex values */
.elcome-spacex-page .elcome-tech-card[data-accent="cyan"] .elcome-tech-card__icon {
    background: rgba(0, 198, 215, 0.15) !important;
    display: flex !important;
    width: 48px !important;
    height: 48px !important;
    padding: 12px !important;
    border-radius: 0.75rem !important;
}

.elcome-spacex-page .elcome-tech-card[data-accent="gold"] .elcome-tech-card__icon {
    background: rgba(255, 187, 9, 0.15) !important;
    display: flex !important;
    width: 48px !important;
    height: 48px !important;
    padding: 12px !important;
    border-radius: 0.75rem !important;
}

.elcome-spacex-page .elcome-tech-card[data-accent="green"] .elcome-tech-card__icon {
    background: rgba(34, 197, 94, 0.15) !important;
    display: flex !important;
    width: 48px !important;
    height: 48px !important;
    padding: 12px !important;
    border-radius: 0.75rem !important;
}

/* Outcome card icon backgrounds - scoped with direct hex values */
.elcome-spacex-page .elcome-outcome-card[data-accent="cyan"] .elcome-outcome-card__icon {
    background: rgba(0, 198, 215, 0.15) !important;
    display: flex !important;
    width: 48px !important;
    height: 48px !important;
    padding: 12px !important;
    border-radius: 0.75rem !important;
}

.elcome-spacex-page .elcome-outcome-card[data-accent="gold"] .elcome-outcome-card__icon {
    background: rgba(255, 187, 9, 0.15) !important;
    display: flex !important;
    width: 48px !important;
    height: 48px !important;
    padding: 12px !important;
    border-radius: 0.75rem !important;
}

.elcome-spacex-page .elcome-outcome-card[data-accent="green"] .elcome-outcome-card__icon {
    background: rgba(34, 197, 94, 0.15) !important;
    display: flex !important;
    width: 48px !important;
    height: 48px !important;
    padding: 12px !important;
    border-radius: 0.75rem !important;
}

/* Step numbers - scoped force large size */
.elcome-spacex-page .elcome-step-card__number {
    display: block !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #FFBB09 !important;
    line-height: 1 !important;
    margin-bottom: 0.75rem !important;
}

/* Validation timeline - use original absolute positioning approach */
.elcome-spacex-page .elcome-validation__timeline {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

.elcome-spacex-page .elcome-validation__item {
    position: relative !important;
    padding-left: 2rem !important;
    padding-bottom: 2rem !important;
    border-left: 2px solid rgba(255, 255, 255, 0.2) !important;
}

.elcome-spacex-page .elcome-validation__item:last-child {
    padding-bottom: 0 !important;
    border-left-color: transparent !important;
}

.elcome-spacex-page .elcome-validation__dot {
    position: absolute !important;
    left: -7px !important;
    top: 0 !important;
    width: 12px !important;
    height: 12px !important;
    background: #FFBB09 !important;
    border-radius: 50% !important;
}
