:root {
    --background: #070a0f;
    --background-soft: #0b1018;

    --panel: #0f1620;
    --panel-hover: #141e2a;

    --border: #1d2937;
    --border-hover: #304156;

    --text: #f5f7fa;
    --text-soft: #98a5b6;
    --text-dark: #667386;

    --green: #66ff91;
    --green-hover: #8affaa;

    --green-soft:
        rgba(102, 255, 145, 0.08);

    --max-width: 1100px;
}


/* RESET */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    background: var(--background);

    color: var(--text);

    font-family:
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.5;
}

a {
    color: inherit;
}

button {
    font: inherit;
}


/* TOPBAR */

.topbar {
    position: sticky;
    top: 0;

    z-index: 1000;

    height: 72px;

    background:
        rgba(7, 10, 15, 0.94);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.07);

    backdrop-filter: blur(14px);
}

.topbar-container {
    width:
        min(
            1200px,
            calc(100% - 40px)
        );

    height: 100%;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.logo {
    color: white;

    font-size: 24px;
    font-weight: 900;

    letter-spacing: -1px;

    text-decoration: none;
}

.logo span {
    color: var(--green);
}


/* NAVIGATION */

.navigation {
    display: flex;
    align-items: center;

    gap: 4px;
}

.navigation a {
    padding: 10px 13px;

    color: var(--text-soft);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    border-radius: 7px;

    transition:
        background 0.15s ease,
        color 0.15s ease;
}

.navigation a:hover {
    color: white;

    background:
        rgba(255, 255, 255, 0.06);
}

.navigation .active {
    color: white;
}

.navigation .account-button {
    margin-left: 10px;

    padding-left: 18px;
    padding-right: 18px;

    color: #07110a;

    background: var(--green);

    font-weight: 800;
}

.navigation .account-button:hover {
    color: #07110a;

    background: var(--green-hover);
}

.mobile-menu-button {
    display: none;

    border: 0;

    background: transparent;

    color: white;

    font-size: 26px;

    cursor: pointer;
}


/* HERO */

.faq-hero {
    padding: 110px 20px 90px;

    background:
        radial-gradient(
            circle at 50% 0%,
            #18273a 0%,
            #0d141e 40%,
            #070a0f 75%
        );

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.06);
}

.faq-hero-content {
    width:
        min(
            var(--max-width),
            100%
        );

    margin: 0 auto;
}

.section-label {
    display: inline-block;

    margin-bottom: 13px;

    color: var(--green);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1.8px;
}

.faq-hero h1 {
    max-width: 760px;

    margin-bottom: 20px;

    font-size:
        clamp(
            42px,
            6vw,
            68px
        );

    line-height: 1;

    letter-spacing: -3px;
}

.faq-hero p {
    max-width: 650px;

    color: var(--text-soft);

    font-size: 17px;

    line-height: 1.7;
}


/* FAQ */

.faq-section {
    padding: 90px 20px 110px;
}

.faq-container {
    width:
        min(
            var(--max-width),
            100%
        );

    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.faq-item {
    overflow: hidden;

    background: var(--panel);

    border:
        1px solid var(--border);

    border-radius: 10px;

    transition:
        background 0.18s ease,
        border-color 0.18s ease;
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-item.open {
    background: var(--panel-hover);

    border-color:
        rgba(102, 255, 145, 0.22);
}

.faq-question {
    width: 100%;

    padding: 22px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border: 0;

    background: transparent;

    color: white;

    text-align: left;

    cursor: pointer;

    font-size: 16px;
    font-weight: 750;
}

.faq-icon {
    flex-shrink: 0;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--green);

    background: var(--green-soft);

    border:
        1px solid
        rgba(102, 255, 145, 0.16);

    border-radius: 6px;

    font-size: 20px;

    transition:
        transform 0.2s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;

    overflow: hidden;

    transition:
        max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding:
        0 24px 24px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.05);

    color: var(--text-soft);
}

.faq-answer-content p {
    margin-top: 18px;

    line-height: 1.7;
}

.faq-answer-content strong {
    color: white;
}

.faq-link {
    display: inline-block;

    margin-top: 18px;

    color: var(--green);

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;
}

.faq-link:hover {
    color: var(--green-hover);
}


/* SOCIAL LINKS */

.social-links {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 18px;
}

.social-links a {
    padding: 10px 14px;

    color: white;

    background:
        rgba(255, 255, 255, 0.04);

    border:
        1px solid var(--border);

    border-radius: 7px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.social-links a:hover {
    color: var(--green);

    background:
        rgba(102, 255, 145, 0.05);

    border-color:
        rgba(102, 255, 145, 0.20);
}


/* HELP */

.faq-help {
    margin-top: 70px;

    padding: 38px;

    background:
        linear-gradient(
            135deg,
            rgba(102, 255, 145, 0.07),
            rgba(72, 112, 255, 0.05)
        );

    border:
        1px solid
        rgba(102, 255, 145, 0.15);

    border-radius: 12px;
}

.faq-help h2 {
    margin-bottom: 14px;

    font-size:
        clamp(
            28px,
            4vw,
            40px
        );

    letter-spacing: -1.5px;
}

.faq-help p {
    max-width: 620px;

    color: var(--text-soft);

    line-height: 1.7;
}

.faq-help-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 26px;
}


/* BUTTONS */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 13px 20px;

    border-radius: 8px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform 0.15s ease,
        background 0.15s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #061009;

    background: var(--green);
}

.button-primary:hover {
    background: var(--green-hover);
}

.button-secondary {
    color: white;

    background:
        rgba(255, 255, 255, 0.05);

    border:
        1px solid
        rgba(255, 255, 255, 0.10);
}

.button-secondary:hover {
    background:
        rgba(255, 255, 255, 0.09);
}


/* FOOTER */

.footer {
    background: #05070b;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.06);
}

.footer-container {
    width:
        min(
            1200px,
            calc(100% - 40px)
        );

    margin: 0 auto;

    padding: 65px 0;

    display: grid;

    grid-template-columns:
        1fr 2fr;

    gap: 70px;
}

.footer-brand p {
    margin-top: 15px;

    color: var(--text-dark);

    font-size: 14px;
}

.footer-links {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 30px;
}

.footer-links h4 {
    margin-bottom: 16px;

    color: white;

    font-size: 13px;
}

.footer-links a {
    display: block;

    width: fit-content;

    margin-bottom: 9px;

    color: var(--text-dark);

    text-decoration: none;

    font-size: 13px;

    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--green);
}

.footer-bottom {
    width:
        min(
            1200px,
            calc(100% - 40px)
        );

    margin: 0 auto;

    padding: 22px 0;

    color: #596475;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.05);

    font-size: 12px;
}


/* TABLET */

@media (max-width: 900px) {

    .footer-container {
        grid-template-columns: 1fr;
    }

}


/* MOBILE */

@media (max-width: 760px) {

    .mobile-menu-button {
        display: block;
    }

    .navigation {
        display: none;

        position: absolute;

        top: 72px;
        left: 0;

        width: 100%;

        padding: 15px 20px 22px;

        flex-direction: column;
        align-items: stretch;

        background: #080c12;

        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.07);
    }

    .navigation.open {
        display: flex;
    }

    .navigation a {
        padding: 13px;
    }

    .navigation .account-button {
        margin: 5px 0 0;
    }

    .faq-hero {
        padding-top: 85px;
        padding-bottom: 70px;
    }

    .footer-links {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* SMALL MOBILE */

@media (max-width: 500px) {

    .topbar-container,
    .footer-container,
    .footer-bottom {
        width:
            calc(100% - 28px);
    }

    .faq-hero {
        padding-left: 14px;
        padding-right: 14px;
    }

    .faq-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .faq-hero h1 {
        font-size: 43px;

        letter-spacing: -2px;
    }

    .faq-question {
        padding: 19px;

        font-size: 15px;
    }

    .faq-answer-content {
        padding:
            0 19px 20px;
    }

    .faq-help {
        padding: 26px;
    }

    .faq-help-buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

}