:root {
    color-scheme: dark;
    --bg: #08101f;
    --bg-elevated: #101b31;
    --bg-soft: rgba(16, 27, 49, 0.78);
    --panel: rgba(12, 21, 38, 0.82);
    --panel-strong: #101a31;
    --panel-light: rgba(255, 255, 255, 0.06);
    --line: rgba(148, 163, 184, 0.18);
    --line-strong: rgba(148, 163, 184, 0.28);
    --text: #f8fafc;
    --text-muted: #a8b3c7;
    --text-soft: #7f8ca3;
    --brand: #68b5ff;
    --brand-strong: #4b88ff;
    --brand-accent: #7c5cff;
    --success: #34d399;
    --warning: #f59e0b;
    --danger: #f87171;
    --shadow-lg: 0 32px 90px rgba(5, 10, 20, 0.48);
    --shadow-md: 0 18px 40px rgba(5, 10, 20, 0.28);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --container: 1240px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(103, 176, 255, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(124, 92, 255, 0.14), transparent 24%),
        linear-gradient(180deg, #07101f 0%, #0b1324 100%);
    min-height: 100vh;
}

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

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.site-shell {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    backdrop-filter: blur(18px);
    background: rgba(8, 16, 31, 0.78);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.header-inner {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 80px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(75, 136, 255, 0.18);
}

.brand-copy {
    min-width: 0;
}

.brand-copy strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
}

.brand-copy span {
    display: block;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: 3px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-link,
.nav-btn,
.user-menu-btn,
.menu-btn,
.button,
.download-btn,
.ghost-chip {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.nav-link,
.nav-btn,
.ghost-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(148, 163, 184, 0.1);
    color: var(--text);
}

.nav-link:hover,
.nav-btn:hover,
.user-menu-btn:hover,
.menu-btn:hover,
.button:hover,
.download-btn:hover,
.ghost-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(4, 10, 20, 0.16);
}

.nav-link.secondary,
.nav-btn.secondary {
    color: var(--text-muted);
}

.nav-btn.register,
.button-primary {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-accent) 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 16px 34px rgba(75, 136, 255, 0.26);
}

.menu-btn {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    border-color: rgba(148, 163, 184, 0.12);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.auth-buttons,
.user-menu-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-menu-container {
    position: relative;
}

.user-menu-btn {
    min-height: 46px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border-color: rgba(148, 163, 184, 0.12);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 230px;
    padding: 10px;
    background: rgba(9, 16, 30, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    display: none;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--text);
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.06);
}

.dropdown-menu hr {
    border: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    margin: 8px 4px;
}

.hero-section {
    padding: 56px 0 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(440px, 620px);
    gap: 28px;
    align-items: stretch;
}

.hero-copy,
.map-shell,
.surface-card,
.feature-card,
.category-preview,
.legal-card,
.footer-card,
.results-panel,
.drawer,
.auth-card,
.app-card,
.stat-card,
.panel-card {
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(9, 16, 31, 0.82);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
}

.hero-copy,
.surface-card,
.legal-card,
.footer-card,
.auth-card,
.app-card,
.panel-card {
    border-radius: var(--radius-xl);
}

.hero-copy {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(104, 181, 255, 0.08);
    color: #b9d7ff;
    font-size: 0.84rem;
    font-weight: 600;
}

.hero-copy h1 {
    margin: 18px 0 16px;
    font-size: clamp(2.4rem, 4vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.hero-copy p.lead {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.7;
    max-width: 60ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    min-height: 52px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(148, 163, 184, 0.14);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}

.metric-card {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.metric-card strong {
    display: block;
    font-size: 1.45rem;
    margin-bottom: 6px;
}

.metric-card span {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.map-shell {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    min-height: 680px;
}

.map-toolbar {
    position: absolute;
    inset: 20px 20px auto 20px;
    z-index: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 22px;
    background: rgba(7, 12, 23, 0.72);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.map-toolbar-title strong {
    display: block;
    font-size: 0.95rem;
}

.map-toolbar-title span {
    color: var(--text-muted);
    font-size: 0.82rem;
}

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

.ghost-chip {
    min-height: 40px;
    padding: 0 14px;
    color: var(--text-muted);
}

#map {
    width: 100%;
    height: 100%;
    min-height: 680px;
    background: #0c1527;
}

.fab-container {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 620;
}

.fab {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 0;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-accent) 100%);
    color: white;
    box-shadow: 0 22px 40px rgba(75, 136, 255, 0.3);
}

.results-panel {
    position: absolute;
    top: 92px;
    right: 20px;
    z-index: 610;
    width: min(400px, calc(100% - 40px));
    max-height: calc(100% - 116px);
    border-radius: 26px;
    overflow: hidden;
    display: none;
}

.results-panel.open {
    display: block;
}

.results-header {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.results-header h3 {
    margin: 0;
    font-size: 1rem;
}

.close-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
}

.results-list {
    padding: 12px;
    max-height: calc(100% - 74px);
    overflow-y: auto;
}

.result-item {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(148, 163, 184, 0.08);
    margin-bottom: 12px;
    cursor: pointer;
}

.result-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.result-item h4 {
    margin: 0 0 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.result-item .address,
.result-item .distance,
.result-item div {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.result-item a {
    color: #cbe2ff;
}

.badge-registered {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.7rem;
}

.section {
    padding: 26px 0;
}

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

.section-header h2 {
    margin: 0 0 10px;
    font-size: clamp(1.7rem, 2.2vw, 2.6rem);
}

.section-header p {
    margin: 0;
    color: var(--text-muted);
    max-width: 70ch;
    line-height: 1.7;
}

.surface-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card,
.category-preview {
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.feature-card i,
.category-preview i {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(104, 181, 255, 0.1);
    color: #b9d7ff;
    margin-bottom: 18px;
}

.feature-card h3,
.category-preview h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.feature-card p,
.category-preview p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.65;
}

.category-preview span {
    display: inline-flex;
    margin-top: 18px;
    color: #cfe0ff;
    font-size: 0.85rem;
    font-weight: 600;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 24px;
}

.surface-card {
    padding: 30px;
}

.check-list {
    display: grid;
    gap: 14px;
    margin: 20px 0 0;
}

.check-list li {
    list-style: none;
    display: flex;
    gap: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.check-list li i {
    color: var(--success);
    margin-top: 3px;
}

.steps {
    display: grid;
    gap: 14px;
}

.step-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.step-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.step-index {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(104, 181, 255, 0.12);
    color: #d7e8ff;
    font-weight: 700;
}

.step-copy h3 {
    margin: 0 0 8px;
}

.step-copy p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.app-card {
    padding: 34px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
}

.app-card h2,
.legal-card h1 {
    margin: 0 0 12px;
}

.app-card p,
.legal-card p,
.footer-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
}

.download-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.download-btn {
    min-height: 50px;
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(148, 163, 184, 0.12);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.download-btn.android {
    background: linear-gradient(135deg, #45d58c 0%, #159e73 100%);
    color: white;
}

.download-btn.ios {
    background: rgba(255, 255, 255, 0.06);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.faq-item {
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.faq-item h3 {
    margin: 0 0 10px;
}

.faq-item p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.65;
}

.site-footer {
    padding: 26px 0 42px;
}

.footer-card {
    padding: 28px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 0.8fr));
    gap: 18px;
}

.footer-title {
    margin: 0 0 10px;
    font-size: 1rem;
}

.footer-list {
    display: grid;
    gap: 10px;
}

.footer-list a,
.footer-list span {
    color: var(--text-muted);
    line-height: 1.5;
}

.footer-bottom {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.88rem;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.language-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 58px;
    height: 32px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.12);
    transition: all 0.2s ease;
}

.slider::before {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: white;
    transition: all 0.2s ease;
}

.switch input:checked + .slider {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-accent) 100%);
}

.switch input:checked + .slider::before {
    transform: translateX(26px);
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(3, 8, 18, 0.62);
    z-index: 1300;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 100%);
    padding: 24px;
    border-left: 1px solid rgba(148, 163, 184, 0.12);
    z-index: 1350;
    transform: translateX(102%);
    transition: transform 0.24s ease;
    overflow-y: auto;
}

.drawer.open {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.drawer-header h2 {
    margin: 0;
    font-size: 1.1rem;
}

.close-drawer {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.drawer-section {
    padding: 18px 0;
}

.drawer hr {
    border: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    margin: 0;
}

.drawer-section label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
}

.radius-value {
    margin-bottom: 12px;
    color: var(--text-muted);
}

input[type="range"] {
    width: 100%;
}

.radius-labels {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    color: var(--text-soft);
    font-size: 0.84rem;
}

.categories-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.category-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 13px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.category-chip.selected {
    color: var(--text);
    border-color: rgba(104, 181, 255, 0.4);
    box-shadow: inset 0 0 0 1px rgba(104, 181, 255, 0.18);
}

.search-btn {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 18px;
    padding: 0 20px;
    margin-top: 22px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-accent) 100%);
    color: white;
    font-weight: 700;
    box-shadow: 0 18px 34px rgba(75, 136, 255, 0.28);
}

.app-promo {
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.app-promo h3 {
    margin: 14px 0 8px;
}

.app-promo p {
    margin: 0;
    color: var(--text-muted);
}

.app-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.app-note {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.55;
}

.drawer-footer {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.6;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 1500;
    background: rgba(3, 8, 18, 0.72);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
}

.spinner {
    width: 54px;
    height: 54px;
    border: 4px solid rgba(255, 255, 255, 0.16);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.notification,
.toast-notification {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1400;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: min(420px, calc(100% - 40px));
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(8, 16, 31, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: var(--shadow-md);
}

.notification.error {
    border-color: rgba(248, 113, 113, 0.35);
}

.notification.fade-out,
.toast-notification.fade-out {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast-notification button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.auth-page,
.app-page,
.legal-page {
    min-height: 100vh;
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 52px;
}

.page-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
}

.page-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.12);
    color: var(--text);
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    gap: 24px;
    align-items: center;
}

.auth-hero {
    padding: 40px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: var(--shadow-md);
}

.auth-hero h1,
.auth-card h1 {
    margin: 0 0 14px;
}

.auth-hero p,
.auth-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
}

.auth-card {
    padding: 34px;
}

.auth-form,
.business-form {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label {
    font-size: 0.94rem;
    font-weight: 600;
    color: #dbe4f2;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.form-helper,
.error-message {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.5;
}

.error-message {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(248, 113, 113, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.16);
    display: none;
}

.auth-footer {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.auth-footer a {
    color: #d7e7ff;
}

.panel-layout {
    display: grid;
    gap: 22px;
}

.panel-card {
    padding: 28px;
}

.panel-card h1,
.panel-card h2,
.panel-card h3 {
    margin-top: 0;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.stat-card {
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.stat-card strong {
    display: block;
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.stat-card span {
    color: var(--text-muted);
}

.business-grid {
    display: grid;
    gap: 16px;
}

.business-card {
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.business-card h3 {
    margin: 0 0 12px;
}

.business-card p {
    margin: 8px 0;
    color: var(--text-muted);
}

.business-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.status-approved {
    background: rgba(52, 211, 153, 0.16);
    color: #98f5d4;
}

.status-pending {
    background: rgba(245, 158, 11, 0.14);
    color: #ffd48a;
}

.status-rejected {
    background: rgba(248, 113, 113, 0.14);
    color: #ffb4b4;
}

.empty-state {
    padding: 32px;
    text-align: center;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 2.8rem;
    margin-bottom: 16px;
    color: #d7e7ff;
}

.services-container {
    display: grid;
    gap: 10px;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}

.service-item button {
    min-width: 42px;
    min-height: 42px;
    border-radius: 14px;
    border: 0;
    background: rgba(248, 113, 113, 0.16);
    color: #ffd1d1;
}

.loading-spinner {
    text-align: center;
    padding: 34px;
    color: var(--text-muted);
}

.loading-spinner i {
    font-size: 2rem;
    color: #d8e6ff;
}

.legal-shell {
    width: min(960px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0 58px;
}

.legal-card {
    padding: 36px;
}

.legal-card h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.legal-card h2 {
    margin: 30px 0 14px;
    font-size: 1.3rem;
}

.legal-card ul,
.legal-card ol {
    margin: 12px 0 0;
    padding-left: 20px;
    color: var(--text-muted);
    line-height: 1.8;
}

.legal-card li + li {
    margin-top: 8px;
}

.loading-inline {
    color: var(--text-muted);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1180px) {
    .hero-grid,
    .two-column,
    .auth-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .surface-grid,
    .faq-grid,
    .stats-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .app-card {
        grid-template-columns: 1fr;
    }

    .download-stack {
        justify-content: flex-start;
    }
}

@media (max-width: 860px) {
    .header-inner {
        min-height: 74px;
    }

    .header-nav .nav-link {
        display: none;
    }

    .hero-copy,
    .surface-card,
    .legal-card,
    .footer-card,
    .auth-card,
    .app-card,
    .panel-card {
        padding: 26px;
    }

    .hero-metrics,
    .surface-grid,
    .faq-grid,
    .stats-row {
        grid-template-columns: 1fr;
    }

    .map-shell,
    #map {
        min-height: 560px;
    }

    .results-panel {
        top: auto;
        bottom: 96px;
    }

    .categories-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-shell,
    .page-shell,
    .legal-shell,
    .header-inner {
        width: min(var(--container), calc(100% - 20px));
    }

    .hero-section {
        padding-top: 24px;
    }

    .brand-copy span,
    .map-toolbar-title span {
        display: none;
    }

    .auth-buttons {
        gap: 8px;
    }

    .nav-btn,
    .button,
    .download-btn,
    .ghost-chip {
        min-height: 46px;
        padding-inline: 16px;
    }

    .map-toolbar {
        inset: 14px 14px auto 14px;
        padding: 12px;
    }

    .results-panel {
        width: calc(100% - 28px);
        right: 14px;
    }

    .fab-container {
        right: 14px;
        bottom: 14px;
    }

    .drawer {
        padding: 18px;
    }
}
