/* =============================================================================
   SUPPORT.CSS - Styles for public Get in Touch / support page
   All selectors scoped to #supportPage
   Self-contained: does NOT load the app's base.css. Brand colours mirror
   theme.css. Dark is default; light via [data-theme="light"] on <html>.
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700;9..144,900&family=Outfit:wght@400;500;600;700&display=swap');

/* -----------------------------------------------------------------------------
   Tokens (dark default)
   ----------------------------------------------------------------------------- */
#supportPage {
    --s-purple: #764ba2;
    --s-purple-light: #667eea;
    --s-orange: #f97316;
    --s-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 60%, #9333ea 100%);
    --s-bg: #16162a;
    --s-surface: #1e2332;
    --s-surface-2: #262b3d;
    --s-ink: rgba(255, 255, 255, 0.96);
    --s-soft: rgba(255, 255, 255, 0.68);
    --s-muted: rgba(255, 255, 255, 0.45);
    --s-line: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] #supportPage {
    --s-bg: #f7f4fc;
    --s-surface: #ffffff;
    --s-surface-2: #f4f0fa;
    --s-ink: #221a33;
    --s-soft: #574a6e;
    --s-muted: #8b80a0;
    --s-line: rgba(118, 75, 162, 0.14);
}

/* -----------------------------------------------------------------------------
   Base
   ----------------------------------------------------------------------------- */
html, body {
    margin: 0;
    padding: 0;
    background: #16162a;
}

[data-theme="light"] html,
[data-theme="light"] body {
    background: #f7f4fc;
}

#supportPage * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#supportPage {
    font-family: 'Outfit', system-ui, sans-serif;
    color: var(--s-ink);
    background: var(--s-bg);
    line-height: 1.6;
    min-height: 100vh;
}

/* -----------------------------------------------------------------------------
   Header
   ----------------------------------------------------------------------------- */
#supportPage .support-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 106px;
    padding: 0 32px;
    max-width: 1280px;
    margin: 0 auto;
}

#supportPage .support-header-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

#supportPage .support-nav {
    display: flex;
    gap: 24px;
}

#supportPage .support-nav-link {
    text-decoration: none;
    color: var(--s-soft);
    font-weight: 600;
    font-size: 0.95rem;
}

#supportPage .support-nav-link:hover {
    color: var(--s-purple-light);
}

#supportPage .support-theme-toggle {
    background: var(--s-surface-2);
    border: 1px solid var(--s-line);
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--s-ink);
}

/* -----------------------------------------------------------------------------
   Main
   ----------------------------------------------------------------------------- */
#supportPage .support-main {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 24px 70px;
}

/* -----------------------------------------------------------------------------
   Hero
   ----------------------------------------------------------------------------- */
#supportPage .support-hero {
    text-align: center;
    padding: 20px 0 40px;
}

#supportPage .support-hero-title {
    font-family: 'Fraunces', serif;
    font-weight: 900;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    line-height: 1.05;
    margin-bottom: 12px;
}

#supportPage .support-hero-sub {
    color: var(--s-soft);
    font-size: 1.1rem;
    max-width: 46ch;
    margin: 0 auto;
}

/* -----------------------------------------------------------------------------
   Contact Card
   ----------------------------------------------------------------------------- */
#supportPage .support-contact {
    display: flex;
    gap: 18px;
    align-items: center;
    background: var(--s-surface);
    border: 1px solid var(--s-line);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 50px;
}

#supportPage .support-contact-icon {
    font-size: 2.4rem;
    flex-shrink: 0;
}

#supportPage .support-contact-title {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 6px;
}

#supportPage .support-contact-text {
    color: var(--s-soft);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

#supportPage .support-contact-email {
    display: inline-block;
    background: var(--s-orange);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: 12px;
    transition: transform 0.2s;
}

#supportPage .support-contact-email:hover {
    transform: translateY(-2px);
}

/* -----------------------------------------------------------------------------
   FAQs
   ----------------------------------------------------------------------------- */
#supportPage .support-faqs-title {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 22px;
}

#supportPage .support-faq {
    background: var(--s-surface);
    border: 1px solid var(--s-line);
    border-radius: 16px;
    padding: 22px 24px;
    margin-bottom: 14px;
}

#supportPage .support-faq-q {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--s-purple-light);
    margin-bottom: 8px;
}

#supportPage .support-faq-a {
    color: var(--s-soft);
    font-size: 0.95rem;
}

/* -----------------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------------- */
#supportPage .support-footer {
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid var(--s-line);
}

#supportPage .support-footer-links {
    display: flex;
    gap: 22px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

#supportPage .support-footer-link {
    color: var(--s-soft);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

#supportPage .support-footer-link:hover {
    color: var(--s-purple-light);
}

#supportPage .support-footer-copy {
    color: var(--s-muted);
    font-size: 0.85rem;
}

/* -----------------------------------------------------------------------------
   Responsive
   ----------------------------------------------------------------------------- */
@media (max-width: 640px) {
    #supportPage .support-contact {
        flex-direction: column;
        text-align: center;
    }

    #supportPage .support-header-right {
        gap: 62px;
    }
}