* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--para-font-family);
    background: var(--bg-light);
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
}


/* HERO*/
.hero {
    padding: var(--space-60) 0 var(--space-48);
    background: linear-gradient(135deg, var(--bg-main) 50%, #c2dcff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-48);
    align-items: center;
}

.hero h1 {
    font-family: var(--heading-bold-font-family);
    font-size: clamp(2rem, 4.5vw, 2.9rem);
    font-weight: var(--font-700);
    line-height: var(--leading-tight);
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: var(--space-20);
}

.hero p {
    font-size: var(--p-size-18);
    color: var(--text-primary);
    line-height: var(--leading-relaxed);
    max-width: 600px;
}

.hero-card {
    backdrop-filter: blur(5px);
    background: #ffffff6f;
    border: 3px solid var(--bg-main);
    border-radius: var(--radius-24);
    padding: var(--space-32);
    box-shadow: var(--shadow-panel);
    max-width: 600px;
    margin: auto;
}

.hero-card-title {
    font-family: var(--heading-bold-font-family);
    font-size: var(--p-size-20);
    font-weight: var(--font-700);
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-bottom: var(--space-16);
}

.hero-faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.hero-faq-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-16);
    padding: var(--space-16);
    border-radius: var(--radius-12);
    background: #f4f7f9c3;
    backdrop-filter: blur(5px);
    border: 1px solid var(--bg-main);
}

.hero-faq-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-active-bg);
    color: var(--primary-color);
    font-family: var(--heading-bold-font-family);
    font-weight: var(--font-800);
    font-size: var(--p-size-16);
    flex-shrink: 0;
}

.hero-faq-item strong {
    display: block;
    color: var(--text-primary);
    font-weight: var(--font-700);
    font-size: var(--p-size-14);
    margin-bottom: 2px;
}

.hero-faq-item span {
    color: var(--text-primary);
    font-size: var(--p-size-14);
    line-height: var(--leading-normal);
}



.faq-sec {
    padding: var(--space-85) 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* margin-bottom: var(--space-64); */
    gap: var(--space-48);
}

.section-header-left {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.section-eyebrow {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    font-family: var(--para-font-family);
    font-size: var(--p-size-14);
    font-weight: var(--font-600);
    color: var(--primary-color);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-eyebrow .dash {
    width: 18px;
    height: 2px;
    background: var(--primary-color);
    border-radius: var(--radius-6);
    display: inline-block;
}

.section-title {
    font-family: var(--heading-bold-font-family);
    font-size: clamp(var(--h2-size-28), 5vw, var(--h2-size-40));
    font-weight: var(--font-700);
    color: var(--text-primary);
    line-height: var(--leading-tight);
}

.section-header span {
    color: var(--primary-color);
}

.section-desc {
    font-family: var(--para-font-family);
    font-size: var(--p-size-18);
    font-weight: var(--font-400);
    color: var(--text-primary);
    line-height: var(--leading-normal);
    margin-top: 2px;
}




/* 2. CATEGORY PILLS — sticky tab bar*/
.cat-bar {
    background: var(--bg-main);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 18px;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(2, 6, 23, 0.04);
    padding: var(--space-16) 0;
}

.cat-bar__scroll {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--space-8);
    overflow-x: auto;
    padding: var(--space-16) 0;
    scrollbar-width: none;
    justify-content: center;
}

.cat-bar__scroll::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: var(--space-8);
    padding: 9px var(--space-8);
    border-radius: var(--radius-9999);
    background: var(--bg-light);
    border: 1.5px solid var(--color-border);
    color: var(--text-primary);
    font-size: var(--p-size-14);
    font-weight: var(--font-600);
    transition: 0.2s ease;
    white-space: nowrap;
    justify-content: center;
    letter-spacing: 0.5px;
}

.cat-pill:hover {
    background: var(--color-active-bg);
    border-color: #c5d8fc;
    color: var(--primary-color);
}

.cat-pill__count {
    background: rgba(0, 0, 0, 0.06);
    padding: 1px 8px;
    border-radius: var(--radius-9999);
    font-size: 11px;
    font-weight: var(--font-700);
}

/* 3. FAQ SECTIONS — full-width, no sidebar*/
.faq-main {
    padding: var(--space-64) 0;
}

.faq-category {
    /* max-width: 880px; */
    margin: 0 auto var(--space-64);
    scroll-margin-top: var(--space-64);
}

.faq-category:last-child {
    margin-bottom: 0;
}

/* Category header */
.cat-header {
    display: flex;
    align-items: center;
    gap: var(--space-16);
    margin-bottom: var(--space-32);
}

.cat-header__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-16);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cat-header__icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cat-header__text h2 {
    font-family: var(--heading-bold-font-family);
    font-size: var(--h2-size-28);
    font-weight: var(--font-800);
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.cat-header__text p {
    color: var(--text-primary);
    font-size: var(--p-size-16);
}

/* Per-category icon colors */
.icon--blue {
    background: var(--color-active-bg);
}

.icon--blue svg {
    stroke: var(--primary-color);
}

.icon--green {
    background: #ecf3ec;
}

.icon--green svg {
    stroke: var(--success-color);
}

.icon--purple {
    background: #f0eaff;
}

.icon--purple svg {
    stroke: var(--purple-color);
}

.icon--orange {
    background: #fff0e8;
}

.icon--orange svg {
    stroke: var(--danger-color);
}

.icon--teal {
    background: #e0f2fe;
}

.icon--teal svg {
    stroke: #0ea5e9;
}

.icon--pink {
    background: #fdf2f8;
}

.icon--pink svg {
    stroke: #db2777;
}

/* FAQ accordion */
.faq-wrap {
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
    margin-left: 60px;
}

details {
    background: var(--bg-main);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-16);
    overflow: hidden;
    transition: border-color 0.2s;
}

details[open] {
    border-color: #c5d8fc;
}

summary {
    list-style: none;
    cursor: pointer;
    padding: var(--space-20) var(--space-24);
    color: var(--text-primary);
    font-family: var(--para-font-family);
    font-size: var(--p-size-18);
    font-weight: var(--font-600);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-16);
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "";
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border: 1.5px solid var(--color-border);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237C889C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: 0.25s ease;
}

details[open] summary::after {
    transform: rotate(180deg);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

.faq-answer {
    padding: 0 var(--space-85) var(--space-24) var(--space-24);
    color: var(--text-grey);
    font-size: var(--p-size-14);
    line-height: var(--leading-relaxed);
}

.faq-answer p {
    margin-bottom: var(--space-12);
    color: var(--text-primary);
    font-size: var(--p-size-16);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.simple-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.simple-list li {
    position: relative;
    padding-left: var(--space-20);
    color: var(--text-primary);
    font-size: var(--p-size-14);
}

.simple-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
}

/* Back to top link inside category */
.cat-back-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: var(--space-20);
    font-size: var(--p-size-16);
    font-weight: var(--font-600);
    color: var(--danger-color);
    transition: color 0.2s;
    margin-left: 60px;
}

.cat-back-top:hover {
    color: var(--primary-color);
}

.cat-back-top svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
}

/*  4. HELP BANNER */
.help-sec {
    padding: var(--space-64) 0;
}

.help-box {
    /* max-width: 880px; */
    display: grid;
    grid-template-columns: 1fr auto;

    /* margin: 0 auto; */
    background: radial-gradient(circle at top right, rgb(45 155 212 / 18%), transparent 35%), var(--bg-main);
    /* background: var(--bg-main); */
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-24);
    padding: var(--space-32);
    box-shadow: var(--shadow-panel);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-32);
    align-items: center;
}

.help-box__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-active-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin: 0 auto var(--space-20); */
    margin-bottom: var(--space-24);
}

.help-box__icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--primary-color);
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.help-box h2 {
    font-family: var(--heading-bold-font-family);
    font-size: var(--h2-size-32);
    font-weight: var(--font-800);
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-12);
}

.help-box p {
    color: var(--text-primary);
    font-size: var(--p-size-16);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-16);
    /* margin: 0 auto var(--space-32); */
}

.help-box__ctas {
    display: flex;
    gap: var(--space-16);
    /* justify-content: center;  */
    flex-wrap: wrap;
}

/* 5. FINAL CTA */
.final-cta {
    background: var(--bg-dark);
    padding: var(--space-64) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 101, 242, 0.15) 0%, transparent 65%);
    border-radius: 50%;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.final-cta__inner {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.final-cta__title {
    font-family: var(--heading-bold-font-family);
    font-size: var(--h2-size-32);
    font-weight: var(--font-800);
    color: #fff;
    letter-spacing: -0.02em;
    line-height: var(--leading-tight);
    margin-bottom: var(--space-16);
}

.final-cta__title span {
    color: #60a5fa;
}

.final-cta__desc {
    font-size: var(--p-size-16);
    color: #9ca3af;
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-32);
}

.final-cta .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.final-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.4);
}


@media (max-width:1280px) {
    .hero {
        padding: var(--space-32) 0;
    }

}

@media (max-width:1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-lft {
        text-align: center;
    }

    .hero p {
        margin: auto;
    }

    .btn-group {
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .section-header {
        flex-direction: column;
        gap: var(--space-16);
    }

    .help-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {


    .cat-bar {
        position: static;
    }

    .faq-main,
    .help-sec,
    .final-cta {
        padding: var(--space-48) 0;
    }

    summary {
        padding: var(--space-16) var(--space-20);
    }

    .faq-answer {
        padding: 0 var(--space-20) var(--space-20);
    }

    .help-box {
        padding: var(--space-24);
    }

    .help-box__ctas {
        flex-direction: column;
        width: 100%;
    }

    .help-box__ctas a {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width:600px) {
    .cat-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-wrap {
        margin-left: 0;
    }

    .cat-back-top {
        margin-left: 0;
    }
}

@media (max-width:400px) {
    .cat-header__text h2 {
        font-size: var(--h3-size-24);
    }

    .help-box h2 {
        font-size: var(--h3-size-24);
    }
}