.feature-container {
    width: 80%;
}

.traction {
    width: 90%;
    margin: auto;
}

/* Announcement top banner */
.top-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background-color: #fff4e6; /* light orange */
    color: #7a4b00;
    padding: 8px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
html.dark .top-banner {
    background-color: #4a2c2a; /* deep warm tone for dark mode */
    color: #ffe0b2;
}
.top-banner .close-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 4px;
}

/* Desktop brand styles */

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: contain;
    background-color: #4b3471;
}

.brand-text {
    font-size: 1.6rem;
    letter-spacing: 1px;
    font-weight: 500;
    color: #1a1a1c;
}

html.dark .brand-text {
    color: white;
}

/* Sticky persona tab bar (desktop) */
@media (min-width: 1024px) {
    .persona-tabbar {
        position: sticky;
        top: 5rem;
        /* adjust to sit clearly below fixed header */
        z-index: 30;
        background-color: #ffffff;
    }

    /* Dark mode fallback background if Tailwind dark class not applied */
    html.dark .persona-tabbar {
        background-color: #0F1222;
        /* matches background-6 tone */
    }
}

/* Ensure the sticky ancestor doesn't clip the sticky element */
@media (min-width: 1024px) {
    .persona-section {
        overflow: visible;
    }
}

/* Mobile sticky persona tabs */
@media (max-width: 1023.98px) {
    .persona-tabmobile {
        position: sticky;
        top: 4.4rem;
        /* below the fixed header on mobile */
        z-index: 30;
        background-color: #ffffff;
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }

    html.dark .persona-tabmobile {
        background-color: #0F1222;
        /* matches dark background */
    }

    /* Make sure the section doesn't clip sticky on mobile as well */
    .persona-section {
        overflow: visible;
    }
}

.startupworldcup-logo {
    width: 80px;
    height: auto;
    object-fit: contain;
    /* background-color: #4b3471; */
    border-radius: 8px;
    padding: 4px;
}

.traction-item{
    justify-content: space-between;
    gap: 1rem;
}

.traction-text {
    background-color:  #4b3471;
    color: #fff !important;
    margin-top: 0.8rem;
    min-width: 150px;
    font-weight: 500;
    font-size: 20px !important;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.info-graphic-card-container {
    padding: 2rem 2rem;
}

.info-graphic-card {
    height: 200px;
}

.for-teachers-graphic {
    height: 100%;

}

.mobile-tab-dropdown {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 2.5rem;
    display: none;
}

.custom-select {
    position: relative;
    width: 100%;
}

.select-button {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    border: 1px solid #E5E7EB;
    background: white;
    text-align: left;
}

.select-arrow {
    transition: transform 0.2s ease;
}

.custom-select.open .select-arrow {
    transform: rotate(180deg);
}

.select-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    display: none;
    z-index: 50;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.custom-select.open .select-options {
    display: block;
}

.option-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.option-item:hover {
    background-color: #F3F4F6;
}

html.dark .select-button {
    background: #1F2937;
    border-color: #374151;
}

html.dark .select-options {
    background: #1F2937;
    border-color: #374151;
}

html.dark .option-item:hover {
    background-color: #374151;
}

@media (max-width: 1023.98px) {
    .mobile-tab-dropdown {
        display: block;
    }
    .tab-mobile {
        display: none !important;
    }
}

.mobile-tab-dropdown select.light-theme {
    background-color: white;
    border: 1px solid #E5E7EB;
    color: #1F2937;
}

.mobile-tab-dropdown select.dark-theme {
    background-color: #1F2937;
    border: 1px solid #374151;
    color: #F3F4F6;
}

/* Mobile styles for info cards */
@media (max-width: 640px) {
    .feature-container{
        width: 100%;
    }

    .info-graphic-card-container {
        padding: 0;
        margin-top: 2rem;
    }
    .info-graphic-card {
        padding: 16px;
    }

    .investigate-chat{
        padding: 0px;
    }

    /* P7 Science card */
    .info-graphic-card h5 {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .info-graphic-card p {
        font-size: 14px;
        line-height: 1.4;
        opacity: 0.8;
    }

    /* Chat interface card */
    #investigate-chat {
        height: 200px;
    }

    #investigate-chat .chat-message {
        font-size: 10px;
        padding: 8px 12px;
        margin-bottom: 8px;
    }

    /* Hours saved card */
    .hours-card {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .hours-card svg {
        width: 80px;
        height: 80px;
    }

    .hours-card h4 {
        font-size: 24px;
        line-height: 1.2;
    }

    .hours-card p {
        font-size: 14px;
        line-height: 1.4;
    }
}

.loader {
  width: 30px;
  margin-left: 6px;
  aspect-ratio: 4;
  background: radial-gradient(circle closest-side,#DDDDDE 90%,#0000) 0/calc(100%/3) 100% space;
  clip-path: inset(0 100% 0 0);
  animation: l1 1s steps(4) infinite;
}
@keyframes l1 {to{clip-path: inset(0 -34% 0 0)}}

.card-text {
    color: #808081 !important;
}