
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #1D4ED8;
    --primary-dark: #12316B;
    --secondary: #60A5FA;
    --light-blue: #EFF6FF;
    --background: #F8FAFC;
    --text: #172033;
    --muted: #64748B;
    --border: #E2E8F0;
    --white: #FFFFFF;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--background);
}

button,
input {
    font: inherit;
}

.help-page {
    width: 100%;
    overflow: hidden;
}

/* HERO */

.help-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 380px;
    padding: 65px max(7%, calc((100% - 1150px) / 2));
    background: linear-gradient(120deg, #12316B, #1D4ED8);
    color: white;
    overflow: hidden;
}

.help-hero-content {
    position: relative;
    z-index: 2;
    width: min(100%, 650px);
}

.hero-label,
.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.hero-label {
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(255,255,255,.12);
    color: #BFDBFE;
}

.help-hero h1 {
    margin: 22px 0 14px;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.15;
    letter-spacing: -1.8px;
    font-weight: 800;
}

.help-hero h1 span {
    color: #93C5FD;
}

.help-hero p {
    max-width: 530px;
    margin: 0 0 25px;
    color: #DBEAFE;
    font-size: 15px;
    line-height: 1.8;
}

.help-search {
    display: flex;
    align-items: center;
    width: min(100%, 570px);
    height: 58px;
    padding: 0 16px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 10px 35px rgba(0,0,0,.12);
}

.search-icon {
    color: #64748B;
    font-size: 28px;
    margin-right: 12px;
}

.help-search input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: none;
    color: var(--text);
    font-size: 14px;
}

.help-search input::placeholder {
    color: #94A3B8;
}

.help-search button {
    display: none;
    border: 0;
    background: transparent;
    color: #64748B;
    font-size: 23px;
    cursor: pointer;
}

.help-search button.visible {
    display: block;
}

.search-hint {
    margin-top: 12px;
    color: #BFDBFE;
    font-size: 11px;
}

.hero-decoration {
    position: absolute;
    top: 0;
    right: 8%;
    width: 360px;
    height: 100%;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
}

.circle-one {
    width: 300px;
    height: 300px;
    right: 0;
    top: 35px;
}

.circle-two {
    width: 220px;
    height: 220px;
    right: 40px;
    top: 75px;
}

.decoration-card {
    position: absolute;
    top: 105px;
    right: 105px;
    display: grid;
    place-items: center;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 25px;
    background: rgba(255,255,255,.13);
    backdrop-filter: blur(8px);
    transform: rotate(-10deg);
}

.decoration-card span {
    font-size: 55px;
    font-weight: 800;
}

/* GENERAL */

.help-categories,
.faq-section {
    width: min(1100px, 86%);
    margin: 75px auto;
}

.section-heading {
    margin-bottom: 30px;
}

.section-label {
    color: var(--primary);
}

.section-heading h2 {
    margin: 10px 0;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -.7px;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* CATEGORIES */

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 90px;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: white;
    text-align: left;
    cursor: pointer;
    transition: .2s ease;
}

.category-card:hover,
.category-card.active {
    border-color: #93C5FD;
    background: #F8FBFF;
    transform: translateY(-2px);
}

.category-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 47px;
    height: 47px;
    border-radius: 12px;
    font-size: 22px;
    font-weight: 700;
}

.category-icon.blue {
    color: #1D4ED8;
    background: #DBEAFE;
}

.category-icon.purple {
    color: #7C3AED;
    background: #EDE9FE;
}

.category-icon.green {
    color: #15803D;
    background: #DCFCE7;
}

.category-icon.orange {
    color: #C2410C;
    background: #FFEDD5;
}

.category-icon.red {
    color: #B91C1C;
    background: #FEE2E2;
}

.category-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.category-info strong {
    font-size: 14px;
}

.category-info small {
    color: var(--muted);
    font-size: 11px;
}

.category-arrow {
    margin-left: auto;
    color: #94A3B8;
    font-size: 20px;
}

/* FAQ */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: white;
}

.faq-item[hidden] {
    display: none !important;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 21px;
    border: 0;
    background: white;
    color: var(--text);
    text-align: left;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-toggle {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 27px;
    height: 27px;
    border-radius: 7px;
    background: var(--light-blue);
    color: var(--primary);
    font-size: 20px;
    transition: .2s;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
    background: var(--primary);
    color: white;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .25s ease;
}

.faq-answer p {
    min-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0 21px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.faq-item.open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.open .faq-answer p {
    padding-bottom: 21px;
}

.no-results {
    padding: 55px 20px;
    text-align: center;
}

.no-results[hidden] {
    display: none !important;
}

.no-results > span {
    color: var(--primary);
    font-size: 40px;
}

.no-results h3 {
    margin: 12px 0;
    font-size: 19px;
}

.no-results p {
    color: var(--muted);
    font-size: 13px;
}

.no-results button {
    margin-top: 12px;
    padding: 11px 17px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    font-weight: 650;
    cursor: pointer;
}

/* CONTACT */

.help-contact {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1100px, 86%);
    min-height: 240px;
    margin: 80px auto;
    padding: 40px 50px;
    border-radius: 18px;
    background: linear-gradient(110deg, #EFF6FF, #DBEAFE);
    overflow: hidden;
}

.contact-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.contact-content h2 {
    margin: 12px 0;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -.7px;
}

.contact-content p {
    max-width: 550px;
    color: #475569;
    font-size: 13px;
    line-height: 1.8;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 12px;
    padding: 13px 18px;
    border-radius: 9px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: .2s;
}

.contact-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.contact-decoration {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 130px;
    height: 130px;
    margin-right: 35px;
    border: 1px solid #BFDBFE;
    border-radius: 35px;
    background: rgba(255,255,255,.55);
    color: #1D4ED8;
    font-size: 80px;
    font-weight: 800;
    transform: rotate(10deg);
}

/* RESPONSIVE */

@media (max-width: 750px) {

    .help-hero {
        min-height: 350px;
        padding: 55px 7%;
    }

    .hero-decoration {
        opacity: .25;
        right: -180px;
    }

    .help-hero-content {
        width: 100%;
    }

    .help-hero h1 {
        font-size: 35px;
    }

    .help-categories,
    .faq-section {
        width: 88%;
        margin: 55px auto;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .category-card {
        min-height: 78px;
    }

    .section-heading h2 {
        font-size: 23px;
    }

    .faq-question {
        padding: 17px;
        font-size: 13px;
    }

    .faq-answer p {
        padding-left: 17px;
        padding-right: 17px;
    }

    .faq-item.open .faq-answer p {
        padding-bottom: 17px;
    }

    .help-contact {
        width: 88%;
        min-height: 260px;
        margin: 60px auto;
        padding: 30px 25px;
    }

    .contact-decoration {
        display: none;
    }

    .contact-content h2 {
        font-size: 23px;
    }
}

@media (max-width: 380px) {
    .help-hero h1 {
        font-size: 30px;
    }

    .help-search {
        height: 52px;
    }

    .search-hint {
        font-size: 10px;
    }
}
