/* S.C.O.P.E. Animation Section Styling */
.scope-container {
    width: 100%;
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.scope-container.visible {
    opacity: 1;
}

.scope-acronym {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 16px;
}

.scope-letter {
    font-family: var(--heading);
    font-size: var(--font-size-displayMedium);
    font-weight: 800;
    color: var(--auraDark-5);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scope-letter.active {
    color: #FFDDA0;
    /* base warm gold-beige */
    transform: scale(1.15) translateZ(0);
    text-shadow: 0 0 8px rgba(255, 220, 160, 0.3);
    position: relative;
    display: inline-block;
    overflow: hidden;

    /* shimmer effect */
    background: linear-gradient(90deg, #FFD700, #FFCC00, #FF9900);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: gradientShift 3s linear infinite;
    transition: transform 0.3s ease;
}


.scope-definition-wrapper {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scopeDefinitionText {
    font-family: var(--body);
    font-size: var(--font-size-heading5);
    color: var(--auraDark-9);
    position: relative;
    min-height: 1.5em;
}

#scopeDefinitionText::after {
    content: '_';
    position: absolute;
    right: -12px;
    font-weight: 300;
    color: var(--auraDark-8);
    opacity: 1;
    animation: blink 0.8s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}







.cards-wrapper {
    width: 100%;
}

.scope-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(650px, 1fr));
    gap: 32px;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    justify-content: center;
}

@media (max-width: 768px) {
    .scope-cards-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(343px, 1fr));
        gap: 32px;
        width: 100%;
        max-width: 650px;
        margin: 0 auto;
        justify-content: center;
    }

    .scope-card-title {
        font-size: var(--font-size-heading5) !important;
    }
}

.scope-card {
    display: flex;
    flex-direction: column;
}

.scope-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}


.scope-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.scope-card.visible:hover {
    transform: translateY(-5px);
    border-color: var(--auraDark-3);
    background: rgba(17, 24, 39, 0.2);
    cursor: pointer;
}


.scope-card i {
    font-size: var(--font-size-heading3);
    display: block;
    background: linear-gradient(90deg, #FFD700, #FFCC00, #FF9900);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 0%;
    }
}


.scope-card-title {
    font-family: var(--heading);
    font-size: var(--font-size-heading4);
    color: var(--auraDark-11);
}

.scope-card-text {
    font-size: var(--font-size-subtitle);
    color: var(--auraDark-9);
    line-height: 1.7;
}

.scope-card-subtext {
    font-family: var(--mono);
    font-size: var(--font-size-body);
    color: var(--auraDark-8);
    position: relative;
    padding-left: 28px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--auraDark-3);
}



.scope-card-subtext::before {
    content: '\E13A';
    font-family: 'Phosphor', 'Phosphor Icons', sans-serif;
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 24px;
    color: var(--auraDark-6);
}