:root {
    --gens-primary: #721FE0;
    --gens-secondary: #8C52FF;
    --bg-base: #080510;
    --bg-surface: rgba(19, 14, 35, 0.84);
    --text-primary: #F5F3FF;
    --text-muted: #C4B5FD;
    --border-soft: rgba(167, 139, 250, 0.35);
    --navbar-bg: rgba(22, 16, 41, 0.86);
    --navbar-border: rgba(167, 139, 250, 0.38);
}

html {
    scroll-behavior: smooth;
}

@keyframes heroReveal {
    0% { opacity: 0; transform: translateY(20px) scale(.985); filter: blur(6px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes heroPulse {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 1; }
    50% { transform: translateY(-4px) scale(1.004); opacity: .98; }
}

@keyframes driftBlob {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(16px, -14px, 0) scale(1.06); }
}

@keyframes auroraSweep {
    0% { transform: translateX(-62%) rotate(10deg); opacity: .15; }
    35% { opacity: .9; }
    100% { transform: translateX(62%) rotate(10deg); opacity: .15; }
}

.animate-hero-reveal {
    animation: heroReveal .85s ease-out both;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px) scale(.985);
    filter: blur(6px);
    transition: opacity .75s ease, transform .75s ease, filter .75s ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: transform, opacity, filter;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.hero-loop {
    animation: heroPulse 6s ease-in-out infinite;
    transform-origin: left center;
}

.hero-landing-delay-1 {
    animation-delay: .12s;
}

.hero-landing-delay-2 {
    animation-delay: .24s;
}

.hero-landing-delay-3 {
    animation-delay: .36s;
}

.about-blob {
    animation: driftBlob 9s ease-in-out infinite;
}

.about-flip-scene {
    perspective: 1800px;
}

.about-flip-card {
    position: relative;
    transform-style: preserve-3d;
    transition: transform .72s cubic-bezier(.2, .78, .22, 1);
    min-height: 640px;
}

.about-flip-card.is-flipped {
    transform: rotateY(180deg);
}

.about-face {
    width: 100%;
    border-radius: 1.5rem;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.about-face-front {
    position: relative;
}

.about-face-back {
    position: absolute;
    inset: 0;
    transform: rotateY(180deg);
    overflow-y: auto;
}

.signup-card {
    border-radius: 1.5rem;
}

.hero-stage {
    transform-style: preserve-3d;
    transition: transform .2s ease-out;
    will-change: transform;
}

.signup-card-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition: box-shadow .28s ease, border-color .35s ease;
    border-radius: 1.5rem;
    box-shadow: 0 18px 44px rgba(114, 31, 224, 0.24);
}

.signup-card-panel::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -70%;
    width: 90%;
    height: 180%;
    border-radius: 999px;
    background: linear-gradient(110deg, rgba(114, 31, 224, 0) 0%, rgba(140, 82, 255, .95) 48%, rgba(180, 140, 255, .85) 52%, rgba(114, 31, 224, 0) 100%);
    animation: auroraSweep 4.8s ease-in-out infinite alternate;
    filter: blur(8px);
    mix-blend-mode: screen;
    z-index: -2;
}

.signup-card-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(114, 31, 224, .16);
    z-index: -1;
    box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.46);
}

.signup-card-panel:hover {
    box-shadow: 0 22px 56px rgba(114, 31, 224, 0.4);
}

.signup-countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .55rem;
}

.signup-countdown-unit {
    border-radius: .85rem;
    border: 1px solid rgba(196, 181, 253, .35);
    background: linear-gradient(180deg, rgba(38, 28, 70, .9), rgba(20, 14, 38, .95));
    padding: .62rem .35rem;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(245, 243, 255, .08);
}

.signup-countdown-value {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.05;
    color: #F5F3FF;
    text-shadow: 0 0 12px rgba(140, 82, 255, .25);
}

.signup-countdown-label {
    display: block;
    margin-top: .2rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #C4B5FD;
}

.btn-gens {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border-radius: 9999px;
    min-height: 46px;
    padding: .72rem 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    background: linear-gradient(90deg, var(--gens-primary), var(--gens-secondary));
    box-shadow: 0 10px 28px rgba(114, 31, 224, 0.35);
    transition: transform .2s ease, filter .2s ease, box-shadow .25s ease;
}

.btn-gens:hover {
    transform: translateY(-2px) scale(1.01);
    filter: brightness(1.08);
    box-shadow: 0 14px 34px rgba(114, 31, 224, 0.45);
}

.btn-gens:active {
    transform: translateY(0) scale(.98);
}

.btn-gens-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    min-height: 46px;
    padding: .72rem 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    border: 1px solid var(--border-soft);
    background: rgba(114, 31, 224, 0.16);
    transition: transform .2s ease, background-color .2s ease;
}

.btn-gens-outline:hover {
    transform: translateY(-2px);
    background: rgba(140, 82, 255, 0.24);
}

.word-accent {
    position: relative;
    display: inline-block;
    color: #efe7ff;
    text-shadow: 0 0 22px rgba(140, 82, 255, 0.45);
} 

.word-accent::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: .18rem;
    width: 100%;
    height: .5rem;
    z-index: -1;
    border-radius: 9999px;
    background: linear-gradient(90deg, rgba(114, 31, 224, .18), rgba(140, 82, 255, .55), rgba(114, 31, 224, .18));
    filter: blur(1px);
}

.gens-input {
    width: 100%;
    border-radius: .85rem;
    border: 1px solid rgba(167, 139, 250, .45);
    background: rgba(14, 10, 29, .78);
    padding: .82rem 1rem;
    font-size: .95rem;
    color: #f5f3ff;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.gens-input::placeholder {
    color: #b7a4ea;
}

.gens-input:focus {
    border-color: rgba(196, 181, 253, .9);
    box-shadow: 0 0 0 3px rgba(114, 31, 224, .32);
    background: rgba(16, 11, 33, .9);
}

.cursor-light {
    position: fixed;
    top: 0;
    left: 0;
    width: 360px;
    height: 360px;
    border-radius: 9999px;
    pointer-events: none;
    z-index: 30;
    opacity: .28;
    mix-blend-mode: screen;
    background: radial-gradient(circle, rgba(140, 82, 255, .42) 0%, rgba(114, 31, 224, .18) 36%, rgba(114, 31, 224, 0) 70%);
    transform: translate(-50%, -50%);
    transition: opacity .2s ease;
}

.dropdown-menu-panel {
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    padding: .45rem !important;
}

.nav-link-gens {
    position: relative;
    color: #f5f3ff;
    transition: color .2s ease, transform .2s ease;
}

.nav-link-gens::after {
    display: none;
}

.nav-link-gens:hover {
    color: #ddd6fe;
    transform: translateY(-1px);
}

.dropdown-item-gens {
    display: block;
    margin: 2px 0;
    color: #ede9fe;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.dropdown-item-gens:hover {
    background: rgba(140, 82, 255, 0.24);
    color: #ffffff;
    transform: translateX(2px);
}

.dropdown-open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.team-card {
    position: relative;
    width: 100%;
    max-width: 228px;
    border-radius: 1.25rem;
    border: 1px solid rgba(167, 139, 250, 0.32);
    background: linear-gradient(160deg, rgba(29, 21, 54, .82), rgba(17, 12, 34, .88));
    backdrop-filter: blur(10px);
    overflow: hidden;
    cursor: pointer;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.team-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -15%;
    width: 70%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(196, 181, 253, .85), transparent);
    opacity: .7;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(196, 181, 253, 0.7);
    box-shadow: 0 18px 40px rgba(114, 31, 224, 0.3);
}

.team-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 20%;
}

.team-card-indicator {
    position: absolute;
    right: .85rem;
    bottom: .85rem;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ede9fe;
    border: 1px solid rgba(196, 181, 253, 0.5);
    background: rgba(140, 82, 255, 0.22);
}

.team-card-indicator img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.offcanvas-shell {
    position: fixed;
    inset: 0;
    z-index: 70;
    pointer-events: none;
}

.team-section-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.team-light {
    position: absolute;
    border-radius: 999px;
    filter: blur(52px);
    opacity: .35;
    animation: driftBlob 11s ease-in-out infinite;
}

.team-light-a {
    width: 320px;
    height: 320px;
    left: -80px;
    top: 8%;
    background: rgba(140, 82, 255, .4);
}

.team-light-b {
    width: 360px;
    height: 360px;
    right: -110px;
    top: 30%;
    background: rgba(114, 31, 224, .42);
    animation-delay: 1.4s;
}

.team-light-c {
    width: 260px;
    height: 260px;
    left: 35%;
    bottom: 5%;
    background: rgba(196, 181, 253, .25);
    animation-delay: .7s;
}

.team-grid-lines {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(167, 139, 250, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(167, 139, 250, .08) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: .15;
    mask-image: radial-gradient(circle at center, black 30%, transparent 95%);
}

.between-zap-wrap {
    position: relative;
    height: 140px;
    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.between-zap-wrap::before {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(140, 82, 255, .5), transparent);
    transform: translateY(-50%);
}

.between-zap {
    position: relative;
    width: 100px;
    height: 150px;
    filter: drop-shadow(0 0 18px rgba(140, 82, 255, .45));
}

.between-zap::before {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: polygon(56% 0, 16% 52%, 48% 52%, 36% 100%, 84% 42%, 54% 42%);
    background: linear-gradient(180deg, #c4b5fd 0%, #8c52ff 58%, #721fe0 100%);
}

.between-zap::after {
    content: "";
    position: absolute;
    inset: 10px;
    clip-path: polygon(56% 0, 16% 52%, 48% 52%, 36% 100%, 84% 42%, 54% 42%);
    background: linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,.1));
    opacity: .32;
}

.offcanvas-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 2, 8, .45);
    opacity: 0;
    transition: opacity .25s ease;
}

.offcanvas-panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(42vw, 560px);
    background: linear-gradient(180deg, rgba(16, 12, 31, .98), rgba(12, 9, 24, .98));
    border-left: 1px solid rgba(167, 139, 250, .35);
    box-shadow: -20px 0 50px rgba(0, 0, 0, .35);
    transform: translateX(100%);
    transition: transform .28s ease;
    overflow: hidden;
}

.offcanvas-open .offcanvas-shell {
    pointer-events: auto;
}

.offcanvas-open .offcanvas-backdrop {
    opacity: 1;
}

.offcanvas-open .offcanvas-panel {
    transform: translateX(0);
}

.offcanvas-open .page-content {
    transform: translateX(-8vw);
}

.page-content {
    transition: transform .28s ease;
}

.offcanvas-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 1rem;
}

.offcanvas-profile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    min-height: 0;
    justify-content: flex-start;
}

.offcanvas-profile-image {
    height: min(52vh, 560px);
    width: 100%;
    object-fit: contain;
}

.offcanvas-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
} 

.btn-gens-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border-radius: 9999px;
    border: 1px solid rgba(167, 139, 250, .35);
    background: rgba(140, 82, 255, 0.2);
    color: #ede9fe;
    padding: .42rem .85rem;
    font-size: .86rem;
    font-weight: 700;
    line-height: 1;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.btn-gens-soft:hover {
    transform: translateY(-2px);
    background: rgba(140, 82, 255, 0.3);
    box-shadow: 0 10px 24px rgba(114, 31, 224, 0.28);
}

.btn-gens-soft img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}
 
.footer-link {
    display: inline-block;
    color: #f5f3ff;
    transition: color .2s ease, transform .2s ease;
}

.footer-link:hover {
    color: #ddd6fe;
    transform: translateY(-1px);
}

.footer-heading {
    font-size: .86rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 800;
    color: rgba(196, 181, 253, .95);
}

.faq-list {
    display: grid;
    gap: .9rem;
}

.faq-item {
    border: 1px solid rgba(196, 181, 253, 0.3);
    border-radius: .95rem;
    background: linear-gradient(180deg, rgba(20, 14, 39, .94), rgba(14, 10, 29, .96));
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(5, 3, 11, 0.32);
    transition: border-color .34s cubic-bezier(.22, .8, .26, 1), box-shadow .34s cubic-bezier(.22, .8, .26, 1), transform .34s cubic-bezier(.22, .8, .26, 1);
}

.faq-item[open] {
    border-color: rgba(196, 181, 253, 0.62);
    box-shadow: 0 14px 32px rgba(114, 31, 224, 0.24);
}

.faq-question {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    min-height: 58px;
    padding: .9rem 1rem;
    font-size: 1.02rem;
    font-weight: 800;
    color: #F5F3FF;
    background: rgba(140, 82, 255, 0.08);
    transition: background-color .32s cubic-bezier(.22, .8, .26, 1), color .32s cubic-bezier(.22, .8, .26, 1), box-shadow .32s cubic-bezier(.22, .8, .26, 1);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-item:hover .faq-question {
    background: rgba(140, 82, 255, 0.15);
}

.faq-item:hover {
    transform: translateY(-1px);
    border-color: rgba(196, 181, 253, 0.48);
}

.faq-question:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(196, 181, 253, 0.55);
}

.faq-icon {
    width: 1.4rem;
    height: 1.4rem;
    border-radius: .35rem;
    border: 1px solid rgba(196, 181, 253, 0.4);
    background: rgba(124, 58, 237, 0.16);
    position: relative;
    flex: none;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 2px;
    background: #DDD6FE;
    transform: translate(-50%, -50%);
    transition: transform .34s cubic-bezier(.22, .8, .26, 1), opacity .3s ease;
}

.faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) scale(.7);
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 1rem;
    color: #C4B5FD;
    font-size: 1rem;
    line-height: 1.68;
    text-align: justify;
    border-top: 1px solid rgba(196, 181, 253, 0);
    background: linear-gradient(180deg, rgba(25, 18, 49, .8), rgba(16, 11, 33, .85));
    transform: translateY(-6px);
    transition: max-height .44s cubic-bezier(.2, .8, .22, 1), opacity .34s ease, transform .34s ease, padding .34s ease, border-color .34s ease;
}

.faq-item[open] .faq-answer {
    max-height: 1200px;
    opacity: 1;
    transform: translateY(0);
    padding: 1rem 1rem 1.05rem;
    border-top-color: rgba(196, 181, 253, 0.2);
}

.faq-answer p + p {
    margin-top: .85rem;
}

.redacted-inline {
    display: inline;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    word-break: normal;
    letter-spacing: normal;
    font-family: inherit;
    font-weight: inherit;
    filter: blur(.4px);
    user-select: none;
}

@media (max-width: 1024px) {
    .offcanvas-panel {
        width: min(90vw, 560px);
    }

    .offcanvas-open .page-content {
        transform: translateX(-3vw);
    }
}

@media (max-width: 640px) {
    .team-card {
        max-width: 320px;
    }

    .between-zap-wrap {
        height: 112px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .between-zap {
        width: 78px;
        height: 116px;
    }

    .btn-gens,
    .btn-gens-outline {
        width: 100%;
    }

    #mobileMenuPanel .btn-gens {
        width: 100%;
    }

    .signup-countdown-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-flip-card {
        min-height: 760px;
    }

    .faq-question {
        font-size: .95rem;
        padding: .85rem .9rem;
    }

    .faq-answer {
        padding: .2rem .9rem .9rem;
        font-size: .97rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .signup-card-panel::before {
        animation: none;
    }

    .signup-card-panel {
        transition: none;
    }

    .team-card,
    .offcanvas-backdrop,
    .offcanvas-panel,
    .page-content,
    .about-flip-card {
        transition: none;
    }

    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}
