/* ==========================================================================
   THE CITADEL GLOBAL SUPPORT & KNOWLEDGE HUB
   Color Scheme: Gold (#C59B27 / #D4AF37), Black (#0B0B0C / #16161A), White (#FFFFFF)
   Typography: Poppins (Headings/UI) & Open Sans (Body)
   ========================================================================== */

:root,
[data-theme="light"] {
    --gold-primary: #C59B27;
    --gold-bright: #D4AF37;
    --gold-dark: #9E7A18;
    --gold-tint: #FBF8F0;
    --gold-border: rgba(197, 155, 39, 0.28);

    --bg-page: #FFFFFF;
    --bg-subtle: #F7F6F2;
    --bg-card: #FFFFFF;
    --bg-elevated: #FFFFFF;
    --bg-header: rgba(255, 255, 255, 0.94);

    --text-primary: #0B0B0C;
    --text-secondary: #3A3A3E;
    --text-muted: #686870;

    --border-subtle: #E6E3DC;
    --shadow-sm: 0 4px 14px rgba(11, 11, 12, 0.05);
    --shadow-md: 0 12px 32px rgba(11, 11, 12, 0.08);
    --shadow-gold: 0 12px 28px rgba(197, 155, 39, 0.16);
}

[data-theme="dark"] {
    --gold-primary: #D4AF37;
    --gold-bright: #E5C158;
    --gold-dark: #B58E22;
    --gold-tint: rgba(212, 175, 55, 0.10);
    --gold-border: rgba(212, 175, 55, 0.28);

    --bg-page: #0B0B0C;
    --bg-subtle: #121215;
    --bg-card: #16161A;
    --bg-elevated: #1D1D22;
    --bg-header: rgba(11, 11, 12, 0.92);

    --text-primary: #FFFFFF;
    --text-secondary: #D8D6D0;
    --text-muted: #9A9890;

    --border-subtle: #28282F;
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 16px 38px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 14px 30px rgba(212, 175, 55, 0.14);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.65;
    transition: background-color 0.35s ease, color 0.35s ease;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-title, .btn, .nav-link, .filter-pill, .qa-cat-tag, .step-num {
    font-family: 'Poppins', sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gold {
    color: var(--gold-primary);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }

/* Top Utility Strip */
.top-utility-bar {
    background-color: #0B0B0C;
    color: #D8D6D0;
    font-size: 0.78rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.22);
    padding: 7px 0;
}

.utility-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.utility-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.utility-links a:hover {
    color: #D4AF37;
}

.utility-links .divider {
    opacity: 0.35;
}

/* Sticky Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    transition: background-color 0.35s ease, border-color 0.35s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-crest {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.brand-lockup:hover .brand-crest {
    transform: scale(1.05);
}

.brand-crest.small {
    width: 38px;
    height: 38px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.brand-sub {
    font-size: 0.78rem;
    color: var(--gold-primary);
    font-weight: 600;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-primary);
}

/* Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: var(--bg-subtle);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.theme-toggle:hover {
    border-color: var(--gold-primary);
    transform: rotate(15deg);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

[data-theme="light"] .theme-icon-sun { display: none; }
[data-theme="dark"] .theme-icon-moon { display: none; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-sm {
    padding: 9px 16px;
    font-size: 0.84rem;
}

.btn-lg {
    padding: 15px 28px;
    font-size: 0.96rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 17px;
    height: 17px;
}

.btn-gold {
    background: linear-gradient(135deg, #D4AF37 0%, #B88E1E 100%);
    color: #0B0B0C;
    box-shadow: 0 6px 18px rgba(197, 155, 39, 0.26);
}

.btn-gold:hover {
    box-shadow: 0 10px 24px rgba(197, 155, 39, 0.36);
}

.btn-gold-outline {
    background: transparent;
    border-color: var(--gold-primary);
    color: var(--text-primary);
}

.btn-gold-outline:hover {
    background: var(--gold-tint);
}

.btn-dark-surface {
    background: #0B0B0C;
    color: #FFFFFF;
    border-color: rgba(212, 175, 55, 0.4);
}

.btn-dark-surface:hover {
    border-color: #D4AF37;
}

.btn-ghost {
    background: var(--bg-subtle);
    color: var(--text-secondary);
    border-color: var(--border-subtle);
}

.btn-ghost:hover {
    border-color: var(--gold-primary);
    color: var(--text-primary);
}

/* Visual Hero Section */
.hero-visual {
    position: relative;
    overflow: hidden;
    padding: 76px 0 84px;
    background: var(--bg-subtle);
    border-bottom: 1px solid var(--border-subtle);
    transition: background-color 0.35s ease;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--gold-border) 1px, transparent 1px),
        linear-gradient(to bottom, var(--gold-border) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 50% 40%, black 25%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at 50% 40%, black 25%, transparent 78%);
    opacity: 0.45;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 680px;
    height: 360px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    text-align: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid var(--gold-border);
    color: var(--gold-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.pill-icon {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: clamp(2rem, 4.4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 32px;
}

/* Search Bar & Live Suggestions */
.hero-search-wrapper {
    position: relative;
    max-width: 700px;
    margin: 0 auto 28px;
}

.hero-search-form {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1.5px solid var(--gold-border);
    border-radius: 12px;
    padding: 6px 6px 6px 16px;
    box-shadow: var(--shadow-md);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-search-form:focus-within {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.search-leading-icon {
    color: var(--gold-primary);
    display: flex;
    align-items: center;
}

.search-leading-icon svg {
    width: 20px;
    height: 20px;
}

.hero-search-input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.96rem;
    padding: 12px 14px;
    outline: none;
}

.live-search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--gold-border);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: left;
    z-index: 50;
    overflow: hidden;
}

.live-search-dropdown.is-open {
    display: block;
    animation: fadeUp 0.2s ease both;
}

.live-match-item {
    display: block;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-subtle);
    transition: background-color 0.2s ease;
}

.live-match-item:last-child {
    border-bottom: none;
}

.live-match-item:hover {
    background: var(--gold-tint);
}

.live-match-cat {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold-primary);
}

.live-match-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-primary);
    margin-top: 2px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

/* 3-Step Visual Workflow Strip */
.section-workflow {
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-page);
    padding: 26px 0;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.workflow-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #0B0B0C;
    color: #D4AF37;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 1px solid rgba(212, 175, 55, 0.35);
}

.workflow-step h3 {
    font-size: 0.94rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.workflow-step p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Visual Categories Grid */
.section-categories {
    padding: 72px 0;
}

.section-header {
    margin-bottom: 42px;
}

.section-header.centered {
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-eyebrow {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--gold-primary);
    margin-bottom: 6px;
}

.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    font-weight: 700;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-secondary);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 26px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.category-card:hover,
.category-card.is-selected {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.category-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.category-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gold-tint);
    border: 1px solid var(--gold-border);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.category-card:hover .category-icon-box {
    background: var(--gold-primary);
    color: #0B0B0C;
}

.category-icon-box svg {
    width: 24px;
    height: 24px;
}

.category-count-badge {
    font-family: 'Poppins', sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--bg-subtle);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.category-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.category-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    flex: 1;
    margin-bottom: 20px;
}

.category-card-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--gold-primary);
}

.arrow-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

.category-card:hover .arrow-icon {
    transform: translateX(4px);
}

/* On-Demand Answers Section (Hidden until requested) */
.section-answers {
    padding: 20px 0 72px;
    scroll-margin-top: 90px;
}

.section-answers.is-hidden {
    display: none;
}

.section-answers.is-visible {
    display: block;
    animation: fadeUp 0.45s ease both;
}

.answers-panel {
    background: var(--bg-subtle);
    border: 1px solid var(--gold-border);
    border-radius: 18px;
    padding: 34px;
}

.answers-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.answers-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-pills-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
}

.filter-pill {
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: #0B0B0C;
}

/* Q&A Accordion Cards */
.qa-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.qa-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.qa-card.is-open {
    border-color: var(--gold-primary);
}

.qa-question-trigger {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 20px 24px;
    cursor: pointer;
    color: var(--text-primary);
}

.qa-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.qa-cat-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 6px;
    background: var(--gold-tint);
    color: var(--gold-primary);
    border: 1px solid var(--gold-border);
}

.qa-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.qa-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.qa-title-row h3 {
    font-size: 1.04rem;
    font-weight: 600;
}

.qa-chevron {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold-primary);
    transition: transform 0.25s ease;
}

.qa-card.is-open .qa-chevron {
    transform: rotate(45deg);
}

.qa-answer-body {
    display: none;
    padding: 0 24px 22px;
}

.qa-card.is-open .qa-answer-body {
    display: block;
    animation: fadeUp 0.25s ease both;
}

.qa-context {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.official-answer-box {
    background: var(--gold-tint);
    border-left: 3.5px solid var(--gold-primary);
    border-radius: 8px;
    padding: 16px 18px;
}

.official-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 8px;
}

.badge-icon {
    width: 15px;
    height: 15px;
}

.official-answer-text {
    font-size: 0.94rem;
    color: var(--text-primary);
}

/* Visual CTA Banner */
.section-cta-banner {
    padding: 16px 0 80px;
}

.cta-card {
    background: #0B0B0C;
    color: #FFFFFF;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 18px;
    padding: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-shadow: var(--shadow-md);
}

.cta-badge {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #D4AF37;
    margin-bottom: 8px;
}

.cta-copy h2 {
    font-size: 1.65rem;
    margin-bottom: 8px;
}

.cta-copy p {
    color: #D8D6D0;
    max-width: 600px;
}

/* Modal & Secure Form */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 120;
    background: rgba(11, 11, 12, 0.78);
    backdrop-filter: blur(5px);
    padding: 20px;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
}

.modal-backdrop.is-open {
    display: flex;
}

.modal-dialog {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--gold-border);
    border-radius: 16px;
    width: 100%;
    max-width: 620px;
    padding: 28px;
    box-shadow: var(--shadow-md);
    animation: fadeUp 0.28s ease both;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle);
}

.modal-close-btn {
    background: transparent;
    border: none;
    font-size: 1.7rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-close-btn:hover {
    color: var(--gold-primary);
}

/* Honeypot field strictly hidden off-screen */
.hp-field-wrap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.req { color: var(--gold-primary); }
.optional { color: var(--text-muted); font-weight: 400; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-page);
    color: var(--text-primary);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.94rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
}

.duplicate-guard-box {
    display: none;
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--gold-tint);
    border: 1px solid var(--gold-border);
    font-size: 0.84rem;
}

.duplicate-guard-box.is-visible {
    display: block;
}

.security-check-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: var(--bg-subtle);
    border: 1px solid var(--gold-border);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.security-check-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shield-sm {
    width: 22px;
    height: 22px;
    color: var(--gold-primary);
    flex-shrink: 0;
}

.security-check-info label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.84rem;
}

.security-check-info small {
    color: var(--text-muted);
    font-size: 0.76rem;
}

.math-input {
    width: 82px !important;
    text-align: center;
    font-weight: 700;
    padding: 9px !important;
    border-radius: 8px;
    border: 1.5px solid var(--gold-primary);
    background: var(--bg-card);
    color: var(--text-primary);
}

.modal-footer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Alerts & Empty State */
.toast-container {
    padding-top: 20px;
}

.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.alert-success {
    background: var(--gold-tint);
    border: 1px solid var(--gold-primary);
    color: var(--text-primary);
}

.alert-danger {
    background: rgba(200, 45, 45, 0.12);
    border: 1px solid rgba(200, 45, 45, 0.45);
    color: var(--text-primary);
}

.alert-icon svg {
    width: 20px;
    height: 20px;
    color: var(--gold-primary);
}

.empty-state-box {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-card);
    border: 1px dashed var(--gold-border);
    border-radius: 12px;
}

.empty-state-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

/* Admin Portal Styles */
.admin-main {
    padding: 48px 0 80px;
}

.admin-login-wrapper {
    max-width: 440px;
    margin: 30px auto;
}

.admin-login-card {
    background: var(--bg-card);
    border: 1px solid var(--gold-border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.admin-login-header {
    margin-bottom: 22px;
}

.admin-dashboard-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
}

.admin-header-actions {
    display: flex;
    gap: 10px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 36px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 20px;
}

.stat-label {
    display: block;
    font-size: 0.84rem;
    color: var(--text-muted);
}

.stat-value {
    font-family: 'Poppins', sans-serif;
    font-size: 1.9rem;
}

.admin-section {
    margin-bottom: 42px;
}

.admin-section-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.admin-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.admin-item-card {
    background: var(--bg-card);
    border: 1px solid var(--gold-border);
    border-radius: 14px;
    padding: 24px;
}

.admin-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.admin-item-context {
    background: var(--bg-subtle);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.admin-form-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.responder-input {
    max-width: 260px;
    padding: 9px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-page);
    color: var(--text-primary);
}

.admin-delete-inline {
    margin-top: 12px;
    text-align: right;
}

.btn-link-danger {
    background: transparent;
    border: none;
    color: #C83E3E;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background: #0B0B0C;
    color: #D8D6D0;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    padding-top: 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 44px;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-title {
    display: block;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-size: 0.98rem;
}

.footer-motto {
    font-size: 0.8rem;
    color: #D4AF37;
}

.footer-desc {
    font-size: 0.88rem;
    color: #9A9890;
    max-width: 420px;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 0.88rem;
}

.footer-col a:hover {
    color: #D4AF37;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    font-size: 0.8rem;
    color: #9A9890;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

/* Mobile Navigation & Responsive Breakpoints */
.mobile-controls,
.mobile-nav-drawer {
    display: none;
}

@media (max-width: 960px) {
    .workflow-grid {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .utility-location {
        display: none;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-controls {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-menu-btn {
        width: 42px;
        height: 42px;
        border-radius: 8px;
        border: 1px solid var(--border-subtle);
        background: var(--bg-subtle);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        cursor: pointer;
    }

    .mobile-menu-btn span {
        width: 20px;
        height: 2px;
        background: var(--text-primary);
        transition: transform 0.25s ease;
    }

    .mobile-nav-drawer.is-open {
        display: block;
        background: var(--bg-card);
        border-bottom: 1px solid var(--gold-border);
        padding: 16px 0 22px;
        animation: fadeUp 0.25s ease both;
    }

    .mobile-drawer-inner {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mobile-nav-link {
        font-family: 'Poppins', sans-serif;
        font-weight: 500;
        padding: 8px 0;
        border-bottom: 1px solid var(--border-subtle);
    }

    .hero-visual {
        padding: 52px 0 60px;
    }

    .hero-search-form {
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        gap: 8px;
    }

    .search-leading-icon {
        display: none;
    }

    .category-grid,
    .form-row-2,
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .answers-panel {
        padding: 20px;
    }

    .security-check-box {
        flex-direction: column;
        align-items: flex-start;
    }
}