/* ============================================================
   GeoTrack — FAQ Page (Premium v3)
   ============================================================ */

.faq-hero {
    padding: 152px 0 72px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.faq-hero--image {
    background:
        linear-gradient(180deg, rgba(248,250,252,0.88), rgba(248,250,252,0.94)),
        var(--faq-hero-image) center / cover no-repeat;
}
.faq-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(11,44,92,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.faq-hero--image::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(255,255,255,0.8));
}
.faq-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15,23,42,0.03) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 100%);
}
.faq-hero > * { position: relative; z-index: 2; }

.faq-hero__search {
    max-width: 520px;
    margin: 28px auto 0;
    position: relative;
}
.faq-hero__search-input {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border-medium);
    border-radius: 100px;
    padding: 15px 56px 15px 22px;
    font-size: 0.9375rem;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    box-shadow: var(--shadow-sm);
}
.faq-hero__search-input::placeholder { color: var(--text-subtle); }
.faq-hero__search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(11,44,92,0.1), var(--shadow-md);
}
.faq-hero__search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 100px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background 0.2s, transform 0.2s;
}
.faq-hero__search-btn:hover { background: var(--accent-hover); transform: translateY(-50%) scale(1.05); }

/* ── Tabs Section ──────────────────────────────────────────── */
.faq-tabs-section { background: var(--bg-primary); padding-top: 56px; padding-bottom: 72px; }

.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 36px;
    padding-bottom: 0;
    border-bottom: 1px solid var(--border);
}
.faq-tab {
    padding: 10px 20px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-muted);
    cursor: pointer;
    background: transparent;
    border: 1px solid transparent;
    border-bottom: none;
    transition: color 0.2s, background 0.2s;
    position: relative;
    bottom: -1px;
}
.faq-tab:hover { color: var(--text-primary); background: var(--bg-secondary); }
.faq-tab.is-active {
    color: var(--accent);
    background: var(--bg-primary);
    border-color: var(--border);
    border-bottom-color: var(--bg-primary);
}

/* ── Panel ─────────────────────────────────────────────────── */
.faq-panel { display: none; flex-direction: column; gap: 8px; }
.faq-panel.is-active { display: flex; }

/* ── CTA ───────────────────────────────────────────────────── */
.faq-cta-section { background: var(--bg-secondary); }
.faq-cta-card {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    padding: 56px 48px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s var(--ease-out);
}
.faq-cta-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.faq-cta-card__icon {
    width: 60px;
    height: 60px;
    background: var(--accent-secondary-light);
    border: 1px solid rgba(22,163,74,0.18);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #15803d;
    transition: all 0.35s var(--ease-spring);
}
.faq-cta-card:hover .faq-cta-card__icon {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(22,163,74,0.15);
}
.faq-cta-card__icon svg { width: 26px; height: 26px; }
.faq-cta-card__title { font-size: 1.375rem; margin-bottom: 10px; }
.faq-cta-card__text  { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.75; margin-bottom: 28px; }
.faq-cta-card__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
