/* ============================================================
   SubPath — Dark, Moody, Atmospheric Theme
   "We've been through it too" — 2am energy, not wellness-spa
   ============================================================ */

/* ── Override root variables ──────────────────────────────── */
:root {
    --green-deep: #7B2DFF !important;
    --green-mid: #8B5CF6 !important;
    --green-light: #A78BFA !important;
    --green-pale: rgba(123, 45, 255, 0.08) !important;
    --cream: #111113 !important;
    --warm-white: #0A0A0B !important;
    --text-primary: #E8E6E3 !important;
    --text-secondary: #A0A0A0 !important;
    --text-muted: #666666 !important;
    --amber: #FF6B35 !important;
    --amber-light: rgba(255, 107, 53, 0.1) !important;
    --red-soft: #FF1744 !important;
    --red-bg: rgba(255, 23, 68, 0.08) !important;
    --red: #FF1744 !important;
    --red-light: rgba(255, 23, 68, 0.1) !important;
    --blue: #6366F1 !important;
    --blue-light: rgba(99, 102, 241, 0.1) !important;
    --border: rgba(255, 255, 255, 0.06) !important;

    /* New dark-specific variables */
    --surface: #111113;
    --surface-elevated: #1A1A1E;
    --surface-card: #151517;
    --glow-purple: rgba(123, 45, 255, 0.15);
    --glow-red: rgba(255, 23, 68, 0.08);
    --accent-primary: #7B2DFF;
    --accent-secondary: #FF1744;
    --border-subtle: rgba(255, 255, 255, 0.04);
    --border-glow: rgba(123, 45, 255, 0.2);
}

/* ── Global ──────────────────────────────────────────────── */
* { -webkit-font-smoothing: antialiased; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    background: #0A0A0B !important;
    color: #E8E6E3 !important;
}

::selection {
    background: rgba(123, 45, 255, 0.4);
    color: white;
}

a { color: #A78BFA; }
a:hover { color: #C4B5FD; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0A0A0B; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }

/* ── Typography overrides ─────────────────────────────────── */
h1, h2, h3, h4, h5, h6,
.logo, .provider-name, .stat-num, .step-number,
.hero h1, .hero-eyebrow, .guide-card .guide-num,
.section-label, .section-header h2,
.auth-header h1, .welcome-banner h1, .page-header h1,
.search-section h1, .faq h2, .neighbors h2,
.providers-section h2, .about-section h2,
.guide-section h2, .footer-cta h2,
.search-widget h2, .telehealth-cta h2,
.inperson-cta h3, .th-name {
    font-family: 'Space Grotesk', -apple-system, sans-serif !important;
}

/* ── Nav ──────────────────────────────────────────────────── */
nav {
    background: rgba(10, 10, 11, 0.88) !important;
    backdrop-filter: blur(24px) saturate(1.2) !important;
    -webkit-backdrop-filter: blur(24px) saturate(1.2) !important;
    border-bottom: 1px solid rgba(123, 45, 255, 0.1) !important;
}

.logo {
    color: #E8E6E3 !important;
    font-family: 'Space Grotesk', sans-serif !important;
}
.logo span {
    color: #7B2DFF !important;
}

.nav-links a, .nav-links a.nav-link {
    color: #A0A0A0 !important;
}
.nav-links a:hover, .nav-links a.active {
    color: #E8E6E3 !important;
}

.nav-cta, .btn-search {
    background: #7B2DFF !important;
    color: white !important;
    border: none !important;
}
.nav-cta:hover, .btn-search:hover {
    background: #6D28D9 !important;
}

.nav-crisis {
    color: #FF1744 !important;
    background: rgba(255, 23, 68, 0.1) !important;
}

.nav-account-name { color: #E8E6E3 !important; }
.nav-signout { color: #666 !important; }
.nav-signout:hover { color: #FF1744 !important; }

/* ── Hero sections ────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, #0D0D12 0%, #110B1E 60%, #0A0A0B 100%) !important;
    position: relative;
}
.hero::before {
    background: radial-gradient(ellipse at 30% 20%, rgba(123, 45, 255, 0.08) 0%, transparent 60%) !important;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 50%, rgba(255, 23, 68, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.hero .inner { position: relative; z-index: 1; }

.hero h1 {
    color: #E8E6E3 !important;
    letter-spacing: -2px !important;
}
.hero h1 em, .hero h1 span {
    color: #7B2DFF !important;
    font-style: normal;
}
.hero-sub, .hero p {
    color: #A0A0A0 !important;
}
.hero-eyebrow {
    background: rgba(123, 45, 255, 0.1) !important;
    border: 1px solid rgba(123, 45, 255, 0.2) !important;
    color: #A78BFA !important;
}
.hero-eyebrow .dot {
    background: #7B2DFF !important;
}
.neutral-note {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #666 !important;
}

/* Hero stats */
.hero-stats .stat-num {
    font-family: 'Space Grotesk', sans-serif !important;
    color: white !important;
}
.hero-stats .stat-label {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Hero badge (state pages) */
.hero .badge {
    background: rgba(123, 45, 255, 0.15) !important;
    border: 1px solid rgba(123, 45, 255, 0.3) !important;
    color: #C4B5FD !important;
}

/* ── Search bar & form ────────────────────────────────────── */
.search-section {
    background: #0D0D12 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}
.search-section h1 {
    color: #E8E6E3 !important;
}
.search-section p, .search-section .subtitle {
    color: #A0A0A0 !important;
}

.search-bar, .search-form, .search-widget {
    background: #151517 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4) !important;
}
.search-bar:focus-within, .search-widget:focus-within {
    border-color: rgba(123, 45, 255, 0.4) !important;
    box-shadow: 0 4px 32px rgba(123, 45, 255, 0.1) !important;
}

.search-bar input, .search-input, .zip-input,
.search-bar select {
    background: transparent !important;
    color: #E8E6E3 !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}
.search-bar input::placeholder, .search-input::placeholder,
.zip-input::placeholder {
    color: #555 !important;
}
.search-bar input:focus, .search-input:focus, .zip-input:focus {
    border-color: rgba(123, 45, 255, 0.4) !important;
}

.search-bar button, .search-btn, .btn-find {
    background: #7B2DFF !important;
    color: white !important;
}
.search-bar button:hover, .search-btn:hover, .btn-find:hover {
    background: #6D28D9 !important;
}

/* Search widget on state pages */
.search-widget {
    background: #151517 !important;
    border-radius: 8px !important;
}
.search-widget h2 {
    color: #E8E6E3 !important;
}

.search-row { gap: 0.75rem; }

/* ── Filters bar ──────────────────────────────────────────── */
.filters-bar {
    background: #0D0D12 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3) !important;
}

.filter-label { color: #666 !important; }

.chip {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
    color: #A0A0A0 !important;
    border-radius: 6px !important;
    font-family: 'Inter', sans-serif !important;
}
.chip:hover {
    border-color: rgba(123, 45, 255, 0.3) !important;
    color: #C4B5FD !important;
    background: rgba(123, 45, 255, 0.08) !important;
}
.chip.active {
    background: #7B2DFF !important;
    border-color: #7B2DFF !important;
    color: white !important;
}

.sort-select {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
    color: #E8E6E3 !important;
    font-family: 'Inter', sans-serif !important;
    border-radius: 6px !important;
}
.sort-select:focus {
    border-color: rgba(123, 45, 255, 0.4) !important;
}

/* ── Provider cards ───────────────────────────────────────── */
.providers-section {
    background: #0A0A0B !important;
}

.results-summary {
    color: #666 !important;
}
.results-summary strong {
    color: #E8E6E3 !important;
}

.provider-card, .th-card {
    background: #151517 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.04) !important;
    border-radius: 8px !important;
}
.provider-card:hover, .th-card:hover {
    border-color: rgba(123, 45, 255, 0.2) !important;
    box-shadow: 0 8px 40px rgba(123, 45, 255, 0.06), 0 0 0 1px rgba(123, 45, 255, 0.1) !important;
    transform: translateY(-2px) !important;
}

.provider-name, .th-name {
    color: #E8E6E3 !important;
}
.provider-tagline, .th-tagline {
    color: #666 !important;
}

/* Provider icon */
.provider-icon, .th-icon {
    border-radius: 6px !important;
}

/* Badges */
.badge-medicaid, .th-badge.badge-medicaid {
    background: rgba(123, 45, 255, 0.12) !important;
    color: #A78BFA !important;
}
.badge-medicare, .th-badge.badge-medicare {
    background: rgba(99, 102, 241, 0.12) !important;
    color: #818CF8 !important;
}
.badge-commercial, .th-badge.badge-commercial {
    background: rgba(167, 139, 250, 0.12) !important;
    color: #C4B5FD !important;
}
.badge-cash, .th-badge.badge-cash {
    background: rgba(255, 107, 53, 0.1) !important;
    color: #FF8A65 !important;
}
.badge-walkin {
    background: rgba(123, 45, 255, 0.08) !important;
    color: #A78BFA !important;
}

/* Card stats */
.stat-item, .th-meta-item {
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 6px !important;
}
.stat-item .stat-label, .th-meta-label {
    color: #555 !important;
}
.stat-item .stat-value, .th-meta-value {
    color: #E8E6E3 !important;
    font-family: 'Space Grotesk', sans-serif !important;
}
.stat-item .stat-value.price-good, .th-meta-value.price-good {
    color: #4ADE80 !important;
}
.stat-item .stat-value.price-moderate, .th-meta-value.price-mod {
    color: #FF8A65 !important;
}
.stat-item .stat-value.price-high {
    color: #FF1744 !important;
}
.stat-item .stat-sub {
    color: #555 !important;
}

/* Platform */
.platform-icon {
    background: rgba(123, 45, 255, 0.1) !important;
    color: #A78BFA !important;
    border-radius: 6px !important;
}
.platform-text .ptitle { color: #E8E6E3 !important; }
.platform-text .psub { color: #666 !important; }

/* Card states line */
.card-states { color: #A0A0A0 !important; }
.card-states strong { color: #E8E6E3 !important; }

/* Card CTA button */
.btn-getstarted, .th-cta {
    background: #7B2DFF !important;
    color: white !important;
    border-radius: 6px !important;
    font-family: 'Inter', sans-serif !important;
    border: none !important;
}
.btn-getstarted:hover, .th-cta:hover {
    background: #6D28D9 !important;
    box-shadow: 0 4px 20px rgba(123, 45, 255, 0.25) !important;
}

/* Caveat box */
.provider-card div[style*="amber-light"] {
    background: rgba(255, 107, 53, 0.08) !important;
    color: #FF8A65 !important;
}

/* ── Guide / How-to section ───────────────────────────────── */
.guide-section, .how, .features {
    background: #0D0D12 !important;
}
.guide-section h2, .how h2, .features h2 {
    color: #E8E6E3 !important;
}
.section-label {
    color: #7B2DFF !important;
}
.guide-card {
    background: #151517 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.04) !important;
    border-radius: 8px !important;
}
.guide-card .guide-num {
    color: rgba(123, 45, 255, 0.2) !important;
}
.guide-card h3 {
    color: #E8E6E3 !important;
}
.guide-card p {
    color: #A0A0A0 !important;
}
.guide-card p strong {
    color: #E8E6E3 !important;
}

/* ── Problem / Content sections ───────────────────────────── */
.problem, .section {
    background: #0A0A0B !important;
}
.problem h2, .section h2 {
    color: #E8E6E3 !important;
}
.problem p, .section p {
    color: #A0A0A0 !important;
}

/* ── Step cards ───────────────────────────────────────────── */
.step-card {
    background: #151517 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.04) !important;
    border-radius: 8px !important;
}
.step-number {
    color: #7B2DFF !important;
}
.step-card h3 { color: #E8E6E3 !important; }
.step-card p { color: #A0A0A0 !important; }

/* ── Feature grid ─────────────────────────────────────────── */
.feature-card {
    background: #151517 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.04) !important;
    border-radius: 8px !important;
}
.feature-card h3 { color: #E8E6E3 !important; }
.feature-card p { color: #A0A0A0 !important; }

/* ── Stats strip ──────────────────────────────────────────── */
.stats-strip, .hero-chips {
    background: rgba(123, 45, 255, 0.04) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}
.stats-strip .stat-value, .hero-chips .chip-item {
    color: #E8E6E3 !important;
}
.stats-strip .stat-label {
    color: #666 !important;
}

/* ── Quick filters (homepage) ─────────────────────────────── */
.quick-filters {
    background: #0D0D12 !important;
}
.filter-chip {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.06) !important;
    color: #A0A0A0 !important;
    border-radius: 6px !important;
}
.filter-chip:hover {
    background: rgba(123, 45, 255, 0.08) !important;
    border-color: rgba(123, 45, 255, 0.2) !important;
    color: #C4B5FD !important;
}

/* ── Provider CTA section ─────────────────────────────────── */
.provider-cta, .closing {
    background: #0D0D12 !important;
}

/* ── State links section ──────────────────────────────────── */
.state-links {
    background: #0A0A0B !important;
}
.state-links h2 { color: #E8E6E3 !important; }
.state-link {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    color: #A0A0A0 !important;
    border-radius: 6px !important;
}
.state-link:hover {
    background: rgba(123, 45, 255, 0.08) !important;
    border-color: rgba(123, 45, 255, 0.2) !important;
    color: #C4B5FD !important;
}

/* ── Telehealth CTA ───────────────────────────────────────── */
.telehealth-cta, .inperson-cta {
    background: rgba(123, 45, 255, 0.06) !important;
    border: 1px solid rgba(123, 45, 255, 0.1) !important;
    border-radius: 8px !important;
}
.telehealth-cta h2, .inperson-cta h3 {
    color: #E8E6E3 !important;
}
.telehealth-cta p, .inperson-cta p {
    color: #A0A0A0 !important;
}
.btn-telehealth, .btn-inperson {
    background: #7B2DFF !important;
    color: white !important;
}

/* ── Trust bar ────────────────────────────────────────────── */
.trust-bar {
    background: rgba(255, 107, 53, 0.06) !important;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1) !important;
    color: #FF8A65 !important;
}
.trust-bar a {
    color: #A78BFA !important;
}

/* ── About section ────────────────────────────────────────── */
.about-section h2 { color: #E8E6E3 !important; }
.about-section p { color: #A0A0A0 !important; }
.about-section p a { color: #A78BFA !important; }

/* ── FAQ section ──────────────────────────────────────────── */
.faq h2 { color: #E8E6E3 !important; }
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important; }
.faq-item h3 { color: #E8E6E3 !important; }
.faq-item p { color: #A0A0A0 !important; }
.faq-item p a { color: #A78BFA !important; }

/* ── Neighbors section ────────────────────────────────────── */
.neighbors h2 { color: #E8E6E3 !important; }
.neighbors a {
    background: rgba(123, 45, 255, 0.08) !important;
    color: #A78BFA !important;
    border-radius: 6px !important;
}
.neighbors a:hover {
    background: rgba(123, 45, 255, 0.15) !important;
}

/* ── Disclaimer ───────────────────────────────────────────── */
.disclaimer {
    color: #555 !important;
}

/* ── Footer CTA ───────────────────────────────────────────── */
.footer-cta {
    background: linear-gradient(135deg, #0D0D12 0%, #1A0B2E 100%) !important;
    border-top: 1px solid rgba(123, 45, 255, 0.1);
}
.footer-cta::before {
    background: radial-gradient(circle, rgba(123, 45, 255, 0.1) 0%, transparent 60%) !important;
}
.footer-cta h2 { color: white !important; }
.footer-cta p { color: rgba(255, 255, 255, 0.5) !important; }
.btn-white {
    background: #7B2DFF !important;
    color: white !important;
    border: none !important;
}
.btn-white:hover {
    background: #6D28D9 !important;
    box-shadow: 0 4px 20px rgba(123, 45, 255, 0.3) !important;
}
.btn-outline-white {
    background: transparent !important;
    border: 2px solid rgba(123, 45, 255, 0.3) !important;
    color: #C4B5FD !important;
}
.btn-outline-white:hover {
    border-color: rgba(123, 45, 255, 0.6) !important;
    background: rgba(123, 45, 255, 0.08) !important;
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
    background: #0D0D12 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    color: #555 !important;
}
footer a {
    color: #A78BFA !important;
}
footer .crisis {
    background: rgba(255, 23, 68, 0.06) !important;
    border: 1px solid rgba(255, 23, 68, 0.1);
    border-radius: 6px !important;
}
footer .crisis strong { color: #FF8A65 !important; }

/* ── Crisis bar ───────────────────────────────────────────── */
.crisis-bar {
    background: #0D0D12 !important;
    border-top: 2px solid rgba(255, 23, 68, 0.2) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}
.crisis-bar-label {
    color: rgba(255, 255, 255, 0.6) !important;
}
.crisis-bar-link {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #E8E6E3 !important;
    border-radius: 6px !important;
    font-family: 'Inter', sans-serif !important;
}
.crisis-bar-link:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}
.crisis-bar-link.emergency {
    background: #B91C1C !important;
    color: white !important;
}
.crisis-bar-link.emergency:hover {
    background: #991B1B !important;
}

/* ── Crisis resources section ─────────────────────────────── */
.crisis-resources, .crisis-res {
    background: #0D0D12 !important;
}
.crisis-card {
    background: #151517 !important;
    border: 1.5px solid rgba(255, 23, 68, 0.08) !important;
    border-radius: 8px !important;
}
.crisis-card h3 { color: #E8E6E3 !important; }
.crisis-card p { color: #A0A0A0 !important; }
.crisis-card a {
    color: #FF8A65 !important;
}

/* ── Provider portal specific ─────────────────────────────── */

/* Auth container */
.auth-container, .auth-form-wrapper, .auth-form {
    background: transparent !important;
}
.auth-header h1 {
    color: #E8E6E3 !important;
}
.auth-header p {
    color: #A0A0A0 !important;
}

/* Auth tabs */
.auth-tabs {
    background: rgba(255, 255, 255, 0.04) !important;
    border-radius: 8px !important;
}
.auth-tab {
    background: transparent !important;
    color: #666 !important;
    font-family: 'Inter', sans-serif !important;
    border-radius: 6px !important;
}
.auth-tab.active {
    background: #7B2DFF !important;
    color: white !important;
    box-shadow: none !important;
}

/* Form inputs */
.form-group label, .field-label {
    color: #A0A0A0 !important;
}
.form-input, .form-group input, .form-group select, .form-group textarea,
input[type="text"], input[type="email"], input[type="password"],
input[type="tel"], input[type="url"], input[type="number"],
select, textarea {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
    color: #E8E6E3 !important;
    font-family: 'Inter', sans-serif !important;
    border-radius: 6px !important;
}
.form-input:focus, .form-group input:focus, .form-group select:focus,
input:focus, select:focus, textarea:focus {
    border-color: rgba(123, 45, 255, 0.4) !important;
    box-shadow: 0 0 0 3px rgba(123, 45, 255, 0.1) !important;
}

/* Form buttons */
.btn-primary, .auth-btn, .btn-submit {
    background: #7B2DFF !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    font-family: 'Inter', sans-serif !important;
}
.btn-primary:hover, .auth-btn:hover, .btn-submit:hover {
    background: #6D28D9 !important;
}

/* Toasts */
.toast.success {
    background: #7B2DFF !important;
}
.toast.error {
    background: #DC2626 !important;
}
.toast.info {
    background: #FF6B35 !important;
}

/* Dashboard/portal cards */
.dashboard-card, .listing-card, .welcome-banner {
    background: #151517 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.04) !important;
    border-radius: 8px !important;
}
.welcome-banner h1 {
    color: #E8E6E3 !important;
}
.welcome-banner p {
    color: #A0A0A0 !important;
}

/* Provider listing items */
.listing-item, .listing-card {
    background: #151517 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.04) !important;
    border-radius: 8px !important;
}
.listing-item:hover, .listing-card:hover {
    border-color: rgba(123, 45, 255, 0.15) !important;
}

/* Status badges */
.status-verified {
    background: rgba(123, 45, 255, 0.12) !important;
    color: #A78BFA !important;
}
.status-pending {
    background: rgba(255, 107, 53, 0.1) !important;
    color: #FF8A65 !important;
}

/* Featured provider */
.featured-badge, .verified-badge {
    background: rgba(123, 45, 255, 0.12) !important;
    color: #A78BFA !important;
    border: 1px solid rgba(123, 45, 255, 0.2) !important;
}

/* ── No-results ───────────────────────────────────────────── */
.no-results {
    color: #555 !important;
}
.no-results h3 {
    color: #A0A0A0 !important;
}

/* ── Loading states ───────────────────────────────────────── */
.loading, .spinner {
    color: #7B2DFF !important;
}

/* ── Atmospheric effects ──────────────────────────────────── */

/* Subtle noise texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* Atmospheric gradient accents */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse at 10% 10%, rgba(123, 45, 255, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 90%, rgba(255, 23, 68, 0.02) 0%, transparent 50%);
}

/* Ensure content sits above atmospheric effects */
nav, .hero, section, main, .search-section, .filters-bar,
.providers-section, .guide-section, .footer-cta, footer,
.crisis-bar, .toast-container, .main-content, .auth-container,
.faq, .neighbors, .about-section, .trust-bar, .providers-section,
.disclaimer, .inperson-cta, .telehealth-cta {
    position: relative;
    z-index: 1;
}

/* ── Glow accent on focused interactive elements ──────────── */
.provider-card:hover, .th-card:hover,
.guide-card:hover, .step-card:hover,
.feature-card:hover, .listing-card:hover {
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(123, 45, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.02) !important;
}

/* ── Responsive adjustments ───────────────────────────────── */
@media (max-width: 768px) {
    body::before, body::after { display: none; }

    .chip { border-radius: 6px !important; }
}

/* ── State grid (hub pages) ────────────────────────────────── */
.state-grid {
    border-color: rgba(255, 255, 255, 0.06) !important;
    background: #111113 !important;
    border-radius: 8px !important;
}
.state-grid a {
    color: #E8E6E3 !important;
    border-bottom-color: rgba(255, 255, 255, 0.04) !important;
}
.state-grid a:hover {
    background: rgba(123, 45, 255, 0.08) !important;
}
.state-grid .abbr, .state-grid span[style*="green-pale"] {
    background: rgba(123, 45, 255, 0.12) !important;
    color: #A78BFA !important;
}

/* Sub-links on hub pages */
.sub-links a {
    color: #A78BFA !important;
}
.subtitle {
    color: #A0A0A0 !important;
}

main h1 {
    color: #E8E6E3 !important;
}

/* ── Print styles ─────────────────────────────────────────── */
@media print {
    body { background: white !important; color: black !important; }
    body::before, body::after { display: none !important; }
    nav, .crisis-bar, .music-toggle { display: none !important; }
}
