/* Custom Styles for VMS */

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --vms-font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --vms-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    /* Marketing layout — always defined so horizontal padding never collapses */
    --landing-pad-x: clamp(24px, 5vw, 80px);
    --landing-content-max: min(1200px, 100%);
}

/* App wordmark (PNG) — light tray for contrast on dark headers / sidebars */
.app-logo-on-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    padding: 0;
    line-height: 0;
    box-shadow: none;
}

.app-logo-on-dark img {
    display: block;
    height: 40px;
    width: auto;
    max-width: min(320px, 70vw);
    object-fit: contain;
    border-radius: 8px;
}

.landing-brand--app {
    gap: 0;
}

.landing-brand--app .app-logo-on-dark img {
    height: clamp(28px, 3vw, 34px);
    max-width: min(280px, 60vw);
}

.landing-footer-logo .app-logo-on-dark img {
    height: 34px;
    max-width: 280px;
}

.legal-page-brand--app .app-logo-on-dark img {
    height: 36px;
    max-width: 280px;
}

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

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--vms-font-family);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #f8f9fa;
}

body.landing-page {
    overflow-x: clip;
    max-width: 100%;
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    --landing-v2-shell-bg:
        radial-gradient(circle at 16% 18%, rgba(244, 201, 93, 0.22), transparent 28%),
        radial-gradient(circle at 88% 10%, rgba(116, 211, 174, 0.18), transparent 26%),
        linear-gradient(135deg, #0b1f35 0%, #123c4a 48%, #101827 100%);
    --landing-hero-overlay: linear-gradient(135deg, rgba(8, 22, 36, 0.95), rgba(16, 68, 78, 0.82));
    --landing-surface: #ffffff;
    --landing-surface-muted: #f8fafc;
    --landing-surface-elevated: #ffffff;
    --landing-surface-accent: linear-gradient(145deg, #eef8f6 0%, #f8fafc 100%);
    --landing-surface-accent-hot: linear-gradient(145deg, #eef8f6 0%, #ffffff 100%);
    --landing-surface-band: linear-gradient(180deg, #fbfcfe 0%, #ffffff 48%);
    --landing-text: #12243a;
    --landing-text-muted: #64748b;
    --landing-text-subtle: #475569;
    --landing-text-body: #334155;
    --landing-border: #e2e9f1;
    --landing-border-soft: #e8eef4;
    --landing-accent: #14746f;
    --landing-accent-hover: #0f5c58;
    --landing-card-shadow: 0 12px 32px rgba(15, 38, 61, 0.06);
    --landing-card-shadow-sm: 0 8px 24px rgba(15, 38, 61, 0.04);
    --landing-footer-bg: #0a1828;
    --landing-footer-border: rgba(255, 255, 255, 0.12);
    --landing-footer-fg: rgba(255, 255, 255, 0.78);
}

/* Landing Page */
.landing-page {
    min-height: 100vh;
    background:
        linear-gradient(140deg, rgba(12, 28, 48, 0.88), rgba(16, 68, 78, 0.8)),
        url('/images/landing-bg-nairobi-office.jpg') center/cover fixed;
    color: #fff;
}

.landing-shell {
    min-height: 100vh;
    max-width: 100%;
    overflow-x: clip;
    overflow-y: visible;
}

.landing-inner-page {
    display: flex;
    flex-direction: column;
}

.landing-page-hero {
    width: 100%;
    padding: clamp(40px, 6vw, 72px) var(--landing-pad-x, clamp(24px, 5vw, 80px));
    background:
        var(--landing-hero-overlay),
        url('/images/landing-bg-nairobi-office.jpg') center/cover;
    color: #fff;
}

.landing-page-hero--compact {
    padding-top: clamp(28px, 4vw, 48px);
    padding-bottom: clamp(36px, 5vw, 56px);
}

.landing-page-hero-inner {
    width: 100%;
    max-width: var(--landing-content-max, min(1200px, 100%));
    margin: 0 auto;
}

.landing-page-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.landing-page-hero .lead {
    max-width: 42rem;
    font-size: 1.05rem;
}

.landing-hub-section {
    width: 100%;
    margin: 0;
    padding: clamp(40px, 5vw, 72px) var(--landing-pad-x, clamp(24px, 5vw, 80px));
    background: var(--landing-surface);
    color: var(--landing-text);
}

.landing-hub-section .section-intro {
    max-width: 42rem;
    margin-bottom: 28px;
    display: block;
}

.landing-hub-section .section-intro .eyebrow {
    margin: 0 0 10px;
    color: #14746f;
    letter-spacing: 0.06em;
}

.landing-hub-section .section-intro h2 {
    margin: 0 0 14px;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 850;
    color: var(--landing-text);
}

.landing-hub-section .section-intro p {
    margin: 0;
    max-width: 38rem;
    color: var(--landing-text-muted);
    line-height: 1.65;
}

.landing-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.landing-hub-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 100%;
    padding: 22px;
    border: 1px solid var(--landing-border);
    border-radius: 12px;
    background: var(--landing-surface-muted);
    color: var(--landing-text);
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.landing-hub-card:hover {
    border-color: rgba(20, 116, 111, 0.45);
    background: var(--landing-surface-elevated);
    transform: translateY(-2px);
    color: var(--landing-text);
}

.landing-hub-card i {
    font-size: 1.5rem;
    color: #14746f;
}

.landing-hub-card h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
}

.landing-hub-card p {
    margin: 0;
    flex: 1;
    color: var(--landing-text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.landing-hub-card-cta {
    margin-top: 4px;
    font-weight: 750;
    font-size: 0.9rem;
    color: #14746f;
}

.landing-hub-section--toc {
    padding-top: clamp(32px, 4vw, 56px);
    padding-bottom: clamp(28px, 4vw, 48px);
}

.landing-hub-grid--compact {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.landing-hub-grid--compact .landing-hub-card {
    padding: 16px 18px;
    gap: 8px;
}

.landing-hub-grid--compact .landing-hub-card h3 {
    font-size: 1.05rem;
}

.landing-hub-grid--compact .landing-hub-card-cta {
    font-size: 0.85rem;
    margin-top: 0;
}

.landing-hub-card--accent {
    border-color: rgba(20, 116, 111, 0.4);
    background: var(--landing-surface-accent);
}

.landing-hub-grid--overview {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.landing-hub-section--topics-first {
    padding-top: clamp(32px, 4vw, 56px);
}

.landing-home-topics {
    width: 100%;
    padding: clamp(36px, 5vw, 64px) var(--landing-pad-x);
    background: var(--landing-surface);
    color: var(--landing-text);
}

.landing-home-topics .landing-home-topics-intro.section-intro {
    display: block;
    max-width: 40rem;
    margin-bottom: clamp(28px, 4vw, 40px);
    gap: 0;
}

.landing-home-topics-intro .eyebrow {
    margin: 0 0 10px;
    color: #14746f;
    letter-spacing: 0.06em;
}

.landing-home-topics .landing-home-topics-intro.section-intro h2 {
    margin: 0 0 14px;
    max-width: none;
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    font-weight: 850;
    line-height: 1.15;
    color: var(--landing-text);
    text-wrap: balance;
}

.landing-home-topics .landing-home-topics-intro.section-intro p {
    margin: 0;
    max-width: 36rem;
    color: var(--landing-text-muted);
    line-height: 1.65;
}

.landing-info-section--snapshot .section-intro {
    display: block;
    max-width: 40rem;
    gap: 0;
}

.landing-info-section--snapshot .section-intro h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    line-height: 1.15;
    text-wrap: balance;
}

.home-topic-summary {
    max-width: var(--landing-content-max, min(920px, 100%));
    margin: 0 auto clamp(20px, 3vw, 28px);
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid var(--landing-border);
    border-radius: 14px;
    background: var(--landing-surface-muted);
}

.home-topic-summary--featured {
    border-color: rgba(20, 116, 111, 0.45);
    background: var(--landing-surface-accent);
    box-shadow: var(--landing-card-shadow);
}

.home-topic-summary-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.home-topic-summary-head > i {
    flex-shrink: 0;
    width: 2rem;
    font-size: 1.75rem;
    color: #14746f;
    line-height: 1;
    margin-top: 2px;
    text-align: center;
}

.home-topic-summary-head .eyebrow {
    margin: 0 0 6px;
    color: #14746f;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
    font-weight: 750;
    text-transform: uppercase;
}

.home-topic-summary-head h3 {
    margin: 0;
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    font-weight: 850;
    line-height: 1.2;
    color: var(--landing-text);
}

.home-topic-summary-lede {
    margin: 0 0 16px;
    color: var(--landing-text-subtle);
    line-height: 1.7;
    font-size: 1.02rem;
}

.home-topic-summary-points {
    margin: 0 0 20px;
    padding-left: 1.2rem;
    color: var(--landing-text-muted);
    line-height: 1.65;
}

.home-topic-summary-points li + li {
    margin-top: 8px;
}

.home-topic-summary-points strong {
    color: var(--landing-text);
}

.home-topic-view-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 750;
    font-size: 0.95rem;
    color: var(--landing-accent);
    text-decoration: none;
}

.home-topic-view-more:hover {
    color: var(--landing-accent-hover);
    text-decoration: underline;
}

.home-topic-view-more i {
    font-size: 1.1rem;
    transition: transform 0.15s ease;
}

.home-topic-view-more:hover i {
    transform: translateX(3px);
}

.landing-hub-card--hot {
    border-color: rgba(20, 116, 111, 0.55);
    background: var(--landing-surface-accent-hot);
    box-shadow: var(--landing-card-shadow-sm);
}

.landing-hub-card--hot i,
.landing-hub-card--hot .landing-hub-card-cta {
    color: #0f5c58;
}

.landing-topic-head {
    width: 100%;
    padding: clamp(28px, 4vw, 44px) var(--landing-pad-x) clamp(20px, 3vw, 32px);
    background: var(--landing-surface);
    color: var(--landing-text);
    border-bottom: 1px solid var(--landing-border-soft);
}

.landing-topic-head .eyebrow {
    margin: 0 0 10px;
    color: #14746f;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 750;
}

.landing-topic-head h1 {
    margin: 0;
    max-width: 52rem;
    font-size: clamp(1.5rem, 5vw, 2.75rem);
    font-weight: 850;
    line-height: 1.15;
    color: var(--landing-text);
    text-wrap: balance;
}

.landing-inner-page > .landing-topic-head + section {
    margin-top: 0;
}

.landing-info-section--lead {
    padding-top: clamp(28px, 4vw, 48px);
}

.landing-info-section--lead .info-grid {
    margin-top: 0;
}

.operations-band.operations-band--lead {
    grid-template-columns: 1fr;
    padding-top: clamp(28px, 4vw, 48px);
}

.operations-band--lead > .timeline-grid {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
}

.timeline-grid--prominent {
    gap: 16px;
}

.timeline-grid--prominent article {
    padding: 22px 20px;
    min-height: 0;
}

@media (min-width: 1200px) {
    .timeline-grid--prominent article {
        min-height: 168px;
    }
}

.venue-section.venue-section--lead {
    grid-template-columns: 1fr;
}

.venue-section--lead .venue-copy {
    order: 1;
    padding-top: clamp(28px, 4vw, 48px);
    padding-bottom: clamp(20px, 3vw, 32px);
}

.venue-section--lead .venue-image {
    order: 2;
    min-height: 360px;
}

.venue-grid--prominent {
    margin-top: 0;
}

.security-list--prominent {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.why-vms-section--lead {
    padding-top: clamp(28px, 4vw, 48px);
}

.pricing-section--lead,
.faq-section--lead {
    padding-top: clamp(28px, 4vw, 48px);
}

.related-links {
    width: 100%;
    margin: 0;
    padding: clamp(28px, 4vw, 40px) var(--landing-pad-x) clamp(40px, 5vw, 64px);
    background: var(--landing-surface-muted);
    border-top: 1px solid var(--landing-border-soft);
    color: var(--landing-text-muted);
}

.related-links-label {
    margin: 0 0 8px;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #14746f;
}

.related-links-row {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.related-links a {
    color: #14746f;
    font-weight: 700;
    text-decoration: none;
}

.related-links a:hover {
    text-decoration: underline;
}

/* Marketing pages — final layout & typography */
.landing-inner-page .showcase-copy h2,
.landing-inner-page .why-vms-copy h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    line-height: 1.15;
    text-wrap: balance;
}

.landing-inner-page .showcase-copy .eyebrow {
    margin: 0 0 10px;
    color: #14746f;
    letter-spacing: 0.06em;
}

.detail-showcase .showcase-copy--wide {
    grid-column: 1 / -1;
    width: 100%;
    max-width: var(--landing-content-max, min(920px, 100%));
}

.detail-showcase:has(.showcase-copy--wide):not(:has(.showcase-image)) {
    grid-template-columns: 1fr;
}

.security-section.security-section--lead .security-copy {
    grid-column: 1 / -1;
    max-width: 42rem;
}

.security-section--lead .security-copy p {
    margin: 0;
    color: var(--landing-text-muted);
    line-height: 1.7;
}

.landing-inner-page .bottom-cta-section .section-intro,
.landing-inner-page .bottom-cta-section > div:first-child {
    display: block;
    max-width: 42rem;
}

.landing-inner-page .bottom-cta-section h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    line-height: 1.15;
    text-wrap: balance;
}

.landing-inner-page .bottom-cta-section .eyebrow {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.06em;
}

.hero-actions .btn-ghost-on-hero {
    border-color: rgba(255, 255, 255, 0.35);
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
}

.hero-actions .btn-ghost-on-hero:hover {
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.landing-info-section--snapshot {
    padding-top: 0;
}

.bottom-cta-section--inline {
    justify-content: center;
    text-align: center;
    margin-bottom: 48px;
    padding: 28px var(--landing-pad-x);
}

.bottom-cta-section--inline p {
    margin: 0;
}

.landing-page {
    scroll-behavior: smooth;
}

.landing-nav-links > a.is-active:not(.nav-login) {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(244, 201, 93, 0.85);
    text-underline-offset: 4px;
}

.demo-section--page {
    flex: 1;
}

.demo-section--page .demo-form {
    max-width: min(760px, 100%);
    margin: 0 auto;
    width: 100%;
}

.landing-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 12px;
    width: 100%;
    max-width: var(--landing-content-max, min(1200px, 100%));
    margin: 0 auto;
    padding: clamp(8px, 1.1vw, 12px) var(--landing-pad-x, clamp(24px, 5vw, 80px));
    box-sizing: border-box;
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 1200;
    background: rgba(11, 31, 53, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-brand,
.nav-login {
    color: #fff;
    text-decoration: none;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    font-weight: 800;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #f4c95d;
    color: #0d2235;
}

.nav-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    font-weight: 700;
    font-size: 0.92rem;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.landing-nav-links .nav-login i {
    font-size: 1.05rem;
    opacity: 0.95;
}

.landing-nav-links .nav-login:hover,
.landing-nav-links .nav-login:focus-visible {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(244, 201, 93, 0.55);
    color: #fff;
    outline: none;
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 48px;
    align-items: center;
    width: 100%;
    min-height: calc(100vh - 96px);
    margin: 0;
    padding: 36px 24px 96px;
}

.eyebrow {
    margin-bottom: 14px;
    color: #f4c95d;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 0 0 20px;
    font-size: clamp(3.8rem, 8vw, 7rem);
    line-height: 0.92;
    font-weight: 900;
}

.hero-lede {
    max-width: 640px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.18rem;
    line-height: 1.7;
}

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

.hero-actions .btn {
    border-radius: 8px;
    min-height: 52px;
}

.hero-product {
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(250, 252, 255, 0.16);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(24px);
    overflow: hidden;
}

.preview-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 18px;
    background: rgba(9, 24, 38, 0.54);
}

.preview-toolbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef6f6c;
}

.preview-toolbar span:nth-child(2) {
    background: #f4c95d;
}

.preview-toolbar span:nth-child(3) {
    background: #74d3ae;
}

.preview-toolbar strong {
    margin-left: auto;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.75);
}

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

.metric-panel,
.visitor-list,
.badge-preview {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: #12243a;
}

.metric-panel {
    padding: 18px;
}

.metric-panel small,
.badge-preview small,
.visitor-list small {
    color: #65758b;
}

.metric-panel strong {
    display: block;
    margin: 6px 0;
    font-size: 2rem;
    line-height: 1;
}

.metric-panel span {
    color: #14746f;
    font-size: 0.9rem;
    font-weight: 700;
}

.metric-panel.accent {
    background: #f4c95d;
}

.visitor-list {
    grid-column: 1 / -1;
    padding: 10px;
}

.visitor-list > div {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #e7ecf2;
}

.visitor-list > div:last-child {
    border-bottom: 0;
}

.visitor-list p {
    margin: 0;
}

.visitor-list small {
    display: block;
}

.visitor-list b {
    color: #14746f;
    font-size: 0.84rem;
}

.avatar-initial {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #f4c95d;
    color: #12243a;
    font-size: 0.82rem;
    font-weight: 800;
}

.avatar-initial.blue {
    background: #b7d8ff;
}

.avatar-initial.green {
    background: #b9ead7;
}

.badge-preview {
    grid-column: 1 / -1;
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 18px;
}

.badge-preview i {
    color: #14746f;
    font-size: 2.5rem;
}

.workflow-band {
    width: 100%;
    margin: 0;
    padding: 34px;
    border-radius: 0;
    background: #fff;
    color: #12243a;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.workflow-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.workflow-header h2 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 850;
}

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

.workflow-steps article {
    padding: 22px;
    border: 1px solid #e2e9f1;
    border-radius: 8px;
    background: #f8fafc;
}

.workflow-steps i {
    color: #14746f;
    font-size: 2rem;
}

.workflow-steps h3 {
    margin: 14px 0 8px;
    font-size: 1.15rem;
}

.workflow-steps p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

/* Navigation */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 15px 15px 0 0 !important;
    font-weight: 600;
}

/* Buttons */
.btn {
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Forms */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Tables — header chrome only in light theme (dark: vms-theme.css) */
.table {
    border-radius: 10px;
    overflow: hidden;
}

html[data-vms-theme="light"] .table th,
html:not([data-vms-theme]) .table th {
    background-color: #f8f9fa;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}

html[data-vms-theme="light"] .table-hover tbody tr:hover,
html:not([data-vms-theme]) .table-hover tbody tr:hover {
    background-color: rgba(102, 126, 234, 0.05);
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.5em 1em;
    border-radius: 8px;
}

/* Stats Cards */
.stats-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 15px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stats-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Kiosk Mode */
.kiosk-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.kiosk-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.kiosk-body {
    padding: 2rem;
}

.kiosk-footer {
    background: #f8f9fa;
    padding: 1rem 2rem;
    border-top: 1px solid #dee2e6;
}

/* Visitor Badge */
.visitor-badge {
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
}

.visitor-badge h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.visitor-badge .qr-code {
    margin: 1rem 0;
}

.visitor-badge .badge-footer {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 1rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .landing-nav {
        padding-top: 10px;
    }

    .landing-hero {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 12px;
    }

    .hero-copy h1 {
        font-size: 4rem;
    }

    .hero-lede {
        font-size: 1rem;
    }

    .preview-grid {
        grid-template-columns: 1fr;
    }

    .workflow-band {
        margin-top: -40px;
        padding: 22px;
    }

    .workflow-header {
        display: block;
    }

    .workflow-steps {
        grid-template-columns: 1fr;
    }

    .stats-card {
        margin-bottom: 1rem;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* Loading Spinner */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

/* Rich Landing */
.landing-page.landing-v2 {
    background: var(--landing-v2-shell-bg);
}

.landing-v2 .landing-nav {
    width: 100%;
}

/* Hero: content sits in the same horizontal band as the nav (not flush to the viewport edge) */
.landing-v2 .hero-banner-content {
    max-width: var(--landing-content-max);
    margin-inline: auto;
    padding: clamp(40px, 8vw, 96px) var(--landing-pad-x);
    box-sizing: border-box;
}

.landing-v2 .hero-copy {
    max-width: 40rem;
}

.landing-v2 .hero-copy .eyebrow {
    margin-bottom: 1rem;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.landing-v2 .landing-hero.rich-hero .hero-copy h1 {
    max-width: 100%;
    margin-bottom: 1.25rem;
    font-size: clamp(2.15rem, 4.2vw, 3.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.12;
    text-shadow: 0 2px 32px rgba(0, 0, 0, 0.28);
}

.landing-v2 .hero-lede {
    max-width: 36rem;
    margin-bottom: 1.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.02rem, 1.25vw, 1.18rem);
    line-height: 1.65;
    text-shadow: 0 1px 20px rgba(0, 0, 0, 0.22);
}

.landing-v2 .hero-actions {
    gap: 12px 16px;
}

.landing-v2 .hero-proof {
    max-width: 52rem;
    margin-top: clamp(28px, 4vw, 40px);
}

.landing-v2 .hero-arrival-note {
    max-width: 36rem;
}

.landing-nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px 14px;
    max-width: 100%;
    min-width: 0;
}

.landing-nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
}

.landing-nav-links > a:not(.nav-login) {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    font-weight: 650;
    text-decoration: none;
}

.landing-nav-links > a:not(.nav-login):hover {
    color: #fff;
}

.landing-nav-swipe-hint {
    display: none;
}

.rich-hero {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
    padding-bottom: 72px;
}

.hero-photo-banner {
    position: relative;
    display: block;
    min-height: calc(100vh - 104px);
    padding: 0;
    border: none;
    border-radius: 0;
    background:
        linear-gradient(90deg, rgba(8, 22, 36, 0.92) 0%, rgba(8, 22, 36, 0.76) 42%, rgba(8, 22, 36, 0.24) 100%),
        url('/images/landing-office-laptop.jpg') center right/cover no-repeat;
    overflow: hidden;
}

.hero-banner-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 104px);
    padding: clamp(28px, 6vw, 72px) var(--landing-pad-x, clamp(24px, 5vw, 80px));
}

.landing-hero.rich-hero .hero-copy h1 {
    max-width: 600px;
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    line-height: 1.15;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 760px;
    margin-top: 30px;
}

.hero-proof span {
    min-height: 78px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.78);
}

.hero-proof strong {
    display: block;
    color: #fff;
}

.hero-arrival-note {
    max-width: 560px;
    margin-top: 14px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(8, 22, 36, 0.6);
    color: #fff;
    backdrop-filter: blur(14px);
}

.hero-arrival-note span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #f4c95d;
    font-size: 0.85rem;
    font-weight: 850;
}

.hero-arrival-note strong {
    display: block;
    line-height: 1.45;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.landing-info-section,
.operations-band,
.security-section,
.detail-showcase,
.why-vms-section,
.help-feature-section,
.venue-section,
.value-props-section,
.expected-flow-section,
.trust-section,
.vms-essentials-section,
.faq-section,
.brand-proof-section,
.testimonial-section,
.pricing-section,
.demo-section,
.bottom-cta-section,
.landing-metrics-band {
    width: 100%;
    margin: 0;
    border-radius: 0;
    background: var(--landing-surface);
    color: var(--landing-text);
}

.landing-info-section {
    padding: clamp(36px, 5vw, 64px) var(--landing-pad-x);
}

.venue-section {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.78fr);
    overflow: hidden;
}

.venue-section.venue-section--lead {
    grid-template-columns: 1fr;
}

.venue-section > *,
.detail-showcase > *,
.why-vms-section > *,
.security-section > *,
.demo-section > * {
    min-width: 0;
}

.venue-image {
    min-height: 520px;
    background: var(--landing-surface);
}

.venue-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.venue-copy {
    padding: clamp(36px, 5vw, 64px) var(--landing-pad-x);
}

.venue-copy h2,
.expected-flow-section h2,
.trust-section h2,
.faq-section h2,
.bottom-cta-section h2 {
    margin: 0 0 14px;
    color: var(--landing-text);
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 850;
}

.venue-copy > p:not(.eyebrow),
.expected-flow-section .section-intro p,
.trust-section .section-intro p,
.faq-section .section-intro p,
.bottom-cta-section p {
    color: var(--landing-text-muted);
    line-height: 1.7;
}

.venue-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.venue-grid div {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: center;
    min-height: 58px;
    padding: 12px;
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    background: var(--landing-surface-muted);
    color: var(--landing-text);
    font-weight: 750;
}

.venue-grid i {
    color: #14746f;
    font-size: 1.25rem;
}

.why-vms-section {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    gap: 28px;
    padding: clamp(36px, 5vw, 64px) var(--landing-pad-x);
    background: #10263d;
    color: #fff;
}

.why-vms-copy h2 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 850;
}

.why-vms-copy p:not(.eyebrow) {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.75;
}

.why-vms-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.why-vms-points article {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.why-vms-points i {
    color: #f4c95d;
    font-size: 1.8rem;
}

.why-vms-points h3 {
    margin: 16px 0 8px;
    font-size: 1.12rem;
}

.why-vms-points p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

.value-props-section {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: clamp(18px, 3vw, 28px) var(--landing-pad-x);
    background: var(--landing-surface);
}

.value-props-section article {
    padding: 22px;
    border-radius: 8px;
    background: var(--landing-surface-muted);
    border: 1px solid var(--landing-border);
}

.value-props-section i {
    color: #14746f;
    font-size: 1.8rem;
}

.value-props-section h3 {
    margin: 16px 0 8px;
    color: var(--landing-text);
    font-size: 1.08rem;
}

.value-props-section p {
    margin: 0;
    color: var(--landing-text-muted);
    line-height: 1.6;
}

.section-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 0.45fr);
    gap: 28px;
    align-items: start;
    margin-bottom: 26px;
}

/* Marketing topic pages: stack intro copy (avoid title | body split columns) */
.landing-inner-page .section-intro:not(.landing-home-topics-intro) {
    display: block;
    max-width: 42rem;
    margin-bottom: clamp(22px, 3vw, 32px);
}

.landing-inner-page .section-intro:not(.landing-home-topics-intro) .eyebrow {
    margin: 0 0 10px;
}

.landing-inner-page .section-intro:not(.landing-home-topics-intro) h2 {
    margin: 0 0 14px;
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    line-height: 1.15;
    text-wrap: balance;
}

.landing-inner-page .section-intro:not(.landing-home-topics-intro) p {
    margin: 0;
    max-width: 36rem;
    line-height: 1.65;
}

@media (max-width: 1024px) {
    .section-intro {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 12px;
    }
}

.section-intro .eyebrow {
    grid-column: 1 / -1;
    margin: 0;
}

.section-intro h2,
.operations-band h2,
.security-section h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 850;
}

.section-intro p,
.security-copy p {
    margin: 0;
    color: var(--landing-text-muted);
    line-height: 1.7;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.info-grid article {
    min-height: 250px;
    padding: 22px;
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    background: var(--landing-surface-muted);
}

.info-grid i,
.timeline-grid span,
.security-list i {
    color: #14746f;
}

.info-grid i {
    font-size: 2rem;
}

.info-grid h3 {
    margin: 18px 0 10px;
    font-size: 1.1rem;
}

.info-grid p,
.timeline-grid p {
    margin: 0;
    color: var(--landing-text-muted);
    line-height: 1.6;
}

.detail-showcase {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.9fr);
    gap: 0;
    overflow: hidden;
}

.showcase-image {
    min-height: 520px;
    background: var(--landing-surface);
}

.showcase-copy {
    padding: clamp(36px, 5vw, 64px) var(--landing-pad-x);
}

.showcase-copy h2 {
    margin: 0 0 16px;
    color: var(--landing-text);
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 850;
}

.showcase-copy > p:not(.eyebrow) {
    margin: 0 0 24px;
    color: var(--landing-text-muted);
    line-height: 1.75;
}

.detail-list {
    display: grid;
    gap: 12px;
}

.detail-list div {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: start;
    padding: 14px;
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    background: var(--landing-surface-muted);
}

.detail-list i {
    color: #14746f;
    font-size: 1.35rem;
}

.detail-list span {
    color: var(--landing-text-muted);
    line-height: 1.55;
}

.detail-list strong {
    display: block;
    color: var(--landing-text);
}

.help-feature-section {
    padding: clamp(36px, 5vw, 64px) var(--landing-pad-x);
}

.help-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.help-feature-grid article {
    min-height: 220px;
    padding: 22px;
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    background: var(--landing-surface-muted);
}

.help-feature-grid i {
    color: #14746f;
    font-size: 2rem;
}

.help-feature-grid h3 {
    margin: 18px 0 10px;
    color: var(--landing-text);
    font-size: 1.12rem;
}

.help-feature-grid p {
    margin: 0;
    color: var(--landing-text-muted);
    line-height: 1.65;
}

.operations-band {
    display: grid;
    grid-template-columns: minmax(0, 0.42fr) 1fr;
    gap: 28px;
    padding: clamp(32px, 5vw, 52px) var(--landing-pad-x);
    align-items: start;
}

.timeline-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
}

.timeline-grid article {
    padding: 18px;
    border-radius: 8px;
    background: #0f263d;
    color: #fff;
}

.timeline-grid span {
    display: block;
    margin-bottom: 14px;
    font-size: 0.86rem;
    font-weight: 850;
}

.timeline-grid strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.12rem;
}

.timeline-grid p {
    color: rgba(255, 255, 255, 0.72);
}

.expected-flow-section,
.trust-section,
.faq-section {
    padding: clamp(36px, 5vw, 64px) var(--landing-pad-x);
}

.expected-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.expected-flow article {
    position: relative;
    min-height: 0;
    padding: 20px;
    border-radius: 8px;
    background: #10263d;
    color: #fff;
}

.expected-flow span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 22px;
    border-radius: 8px;
    background: #f4c95d;
    color: #10263d;
    font-weight: 900;
}

.expected-flow strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.expected-flow p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

.security-section {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.55fr);
    gap: 30px;
    padding: clamp(36px, 5vw, 64px) var(--landing-pad-x);
    margin-bottom: 0;
}

.security-section.security-section--lead {
    grid-template-columns: 1fr;
    padding-top: clamp(28px, 4vw, 48px);
}

.security-section--lead > .security-list {
    grid-column: 1 / -1;
    width: 100%;
}

.security-list {
    display: grid;
    gap: 12px;
}

.security-list div {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    background: var(--landing-surface-muted);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.trust-grid article {
    display: grid;
    gap: 10px;
    padding: 20px;
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    background: var(--landing-surface-muted);
}

.trust-grid i {
    color: #14746f;
    font-size: 1.8rem;
}

.trust-grid strong {
    color: var(--landing-text);
}

.trust-grid span {
    color: var(--landing-text-muted);
    line-height: 1.55;
}

.vms-essentials-section {
    padding: clamp(36px, 5vw, 64px) var(--landing-pad-x);
    border-top: 1px solid var(--landing-border-soft);
    background: var(--landing-surface-band);
}

.vms-essentials-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.vms-essentials-grid article {
    padding: 22px;
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    background: var(--landing-surface-elevated);
    box-shadow: var(--landing-card-shadow-sm);
}

.vms-essentials-grid i {
    color: #14746f;
    font-size: 1.85rem;
}

.vms-essentials-grid h3 {
    margin: 16px 0 10px;
    color: var(--landing-text);
    font-size: 1.1rem;
}

.vms-essentials-grid p {
    margin: 0;
    color: var(--landing-text-muted);
    line-height: 1.65;
}

.brand-proof-section {
    padding: clamp(24px, 4vw, 40px) var(--landing-pad-x);
}

.brand-proof-section .eyebrow {
    margin-bottom: 14px;
}

.brand-proof-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.brand-proof-grid span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 58px;
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    background: var(--landing-surface-muted);
    color: var(--landing-text);
    font-weight: 800;
}

.brand-proof-grid i {
    color: #14746f;
}

.testimonial-section,
.pricing-section,
.demo-section {
    padding: clamp(36px, 5vw, 64px) var(--landing-pad-x);
}

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

.testimonial-grid article,
.pricing-grid article {
    padding: 24px;
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    background: var(--landing-surface-muted);
}

.testimonial-grid p {
    margin: 0 0 18px;
    color: var(--landing-text-body);
    line-height: 1.7;
}

.testimonial-grid strong,
.testimonial-grid span {
    display: block;
}

.testimonial-grid span,
.pricing-grid p,
.pricing-grid li {
    color: var(--landing-text-muted);
}

.pricing-grid article {
    background: var(--landing-surface-elevated);
}

.pricing-grid .featured-plan {
    background: #10263d;
    color: #fff;
}

.pricing-grid span {
    color: #14746f;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.pricing-grid .featured-plan span {
    color: #f4c95d;
}

.pricing-grid h3 {
    margin: 10px 0;
    color: var(--landing-text);
    font-size: 1.35rem;
}

.pricing-grid .featured-plan h3 {
    color: #fff;
}

.pricing-grid ul {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    padding-left: 18px;
}

.pricing-grid .featured-plan p,
.pricing-grid .featured-plan li {
    color: rgba(255, 255, 255, 0.74);
}

.landing-metrics-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: clamp(20px, 4vw, 36px) var(--landing-pad-x);
    margin-bottom: 0;
}

.landing-metrics-band article {
    padding: 24px;
    border-radius: 8px;
    background: #10263d;
    color: #fff;
}

.landing-metrics-band strong {
    color: #f4c95d;
}

.landing-metrics-band h3 {
    margin: 12px 0 8px;
    font-size: 1.25rem;
}

.landing-metrics-band p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.65;
}

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

.faq-grid article {
    padding: 22px;
    border: 1px solid var(--landing-border);
    border-radius: 8px;
    background: var(--landing-surface-muted);
}

.faq-grid h3 {
    margin: 0 0 10px;
    color: var(--landing-text);
    font-size: 1.08rem;
}

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

.demo-section {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
    gap: 28px;
    background: #10263d;
    color: #fff;
}

/* Marketing /demo and home: form-only section (no .demo-copy column) */
.demo-section.demo-section--page {
    display: block;
    grid-template-columns: none;
    gap: 0;
    background: var(--landing-surface);
    color: var(--landing-text);
}

.demo-copy h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 850;
}

.demo-copy p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.75;
}

.demo-form {
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 16px;
    background: var(--landing-surface-elevated);
    color: var(--landing-text);
    overflow-x: clip;
    border: 1px solid var(--landing-border);
    box-shadow: var(--landing-card-shadow);
}

.demo-form-head {
    margin-bottom: 1.25rem;
}

.demo-form-title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--landing-text);
}

.demo-form-lead {
    margin: 0;
    color: var(--landing-text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 42rem;
}

.demo-form .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--landing-text-body);
    margin-bottom: 0.4rem;
}

.demo-form .form-control,
.demo-form .form-select {
    background: var(--landing-surface-muted);
    border: 1px solid var(--landing-border);
    color: var(--landing-text);
    border-radius: 10px;
    min-height: 46px;
    padding: 0.65rem 0.85rem;
}

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

.demo-form .form-control::placeholder {
    color: #94a3b8;
}

.demo-form .form-control:focus,
.demo-form .form-select:focus {
    background: var(--landing-surface-elevated);
    border-color: rgba(102, 126, 234, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.12);
    color: var(--landing-text);
}

.demo-phone-row {
    display: grid;
    grid-template-columns: minmax(9.5rem, 42%) 1fr;
    gap: 0.5rem;
    align-items: stretch;
}

.demo-phone-country {
    font-size: 0.88rem;
}

.demo-form-hint {
    margin-top: 0.45rem;
    color: var(--landing-text-muted);
}

.demo-form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.demo-form-alert {
    border-radius: 10px;
    margin-bottom: 1rem;
}

.demo-form-submit {
    border-radius: 999px;
    padding-inline: 1.35rem;
    font-weight: 600;
    flex-shrink: 0;
}

.demo-form-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.demo-form-actions .demo-form-note {
    width: 100%;
    max-width: 36rem;
    margin: 0;
    text-align: right;
    font-size: 0.8125rem;
    line-height: 1.4;
    text-wrap: pretty;
}

.demo-form-note a {
    color: inherit;
}

@media (max-width: 575.98px) {
    .demo-phone-row {
        grid-template-columns: 1fr;
    }

    .demo-form-actions .demo-form-note {
        text-align: center;
        max-width: none;
    }
}

.demo-success {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #e7f7ef;
    color: #14746f;
    font-weight: 850;
}

.bottom-cta-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(36px, 5vw, 56px) var(--landing-pad-x);
    margin-bottom: 64px;
    background:
        linear-gradient(135deg, rgba(13, 35, 57, 0.96), rgba(18, 79, 88, 0.92)),
        linear-gradient(45deg, rgba(244, 201, 93, 0.18), transparent);
    color: #fff;
}

.bottom-cta-section h2 {
    color: #fff;
}

.bottom-cta-section p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
}

/* Admin shell — modern dashboard layout */
.admin-app-body {
    --admin-sidebar-w: 268px;
    --admin-accent: #14b8a6;
    --admin-accent-soft: rgba(20, 184, 166, 0.15);
    min-height: 100vh;
    background: #e8edf4;
    overflow-x: hidden;
}

.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    width: var(--admin-sidebar-w);
    height: 100vh;
    max-height: 100vh;
    padding: 20px 14px 18px;
    background: #fff;
    color: #111;
    box-shadow: 4px 0 24px rgba(15, 23, 42, 0.06);
    border-right: 1px solid rgba(15, 23, 42, 0.08);
    overflow: hidden;
    box-sizing: border-box;
}

.admin-sidebar-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 2px;
    margin-right: -2px;
}

.admin-sidebar-label {
    margin: 4px 10px 10px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.45);
}

.admin-right {
    margin-left: var(--admin-sidebar-w);
    width: calc(100% - var(--admin-sidebar-w));
    min-width: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: linear-gradient(165deg, #e5eaf2 0%, #eef3f8 38%, #eef3f8 100%);
}

.admin-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(15, 38, 61, 0.08);
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 900;
}

.admin-notice-stack {
    flex-shrink: 0;
    border-bottom: 1px solid rgba(120, 53, 15, 0.15);
    background: linear-gradient(105deg, rgba(254, 243, 199, 0.97) 0%, rgba(253, 224, 71, 0.55) 55%, rgba(254, 215, 170, 0.75) 100%);
}

.admin-notice {
    border-bottom: 1px solid rgba(120, 53, 15, 0.12);
}

.admin-notice:last-child {
    border-bottom: none;
}

.admin-notice-inner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 28px;
    max-width: 1200px;
}

.admin-notice-icon {
    flex-shrink: 0;
    color: #b45309;
    font-size: 1.25rem;
    margin-top: 2px;
}

.admin-notice-text {
    min-width: 0;
}

.admin-notice-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #78350f;
    letter-spacing: -0.02em;
}

.admin-notice-body {
    display: block;
    font-size: 0.86rem;
    color: #92400e;
    margin-top: 4px;
    line-height: 1.45;
    white-space: pre-wrap;
}

.admin-notice-meta {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(120, 53, 15, 0.75);
    margin-top: 6px;
}

.admin-topbar-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.admin-menu-toggle {
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(15, 38, 61, 0.12);
    border-radius: 12px;
    background: #fff;
    color: #0f263d;
    box-shadow: 0 2px 8px rgba(15, 38, 61, 0.06);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.admin-menu-toggle:hover {
    background: #f8fafc;
    border-color: rgba(15, 38, 61, 0.18);
}

.admin-menu-toggle:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}

.admin-menu-toggle i {
    font-size: 1.35rem;
}

.admin-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1090;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.admin-sidebar-backdrop.is-visible {
    display: block;
}

body.admin-drawer-open {
    overflow: hidden;
}

.admin-topbar-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.18), rgba(99, 102, 241, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: #0f263d;
    font-size: 0.82rem;
    font-weight: 800;
}

.admin-topbar-badge i {
    color: #0d9488;
}

.admin-topbar-hint {
    font-size: 0.88rem;
    color: #64748b;
}

.admin-topbar-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
}

/* Account menu in admin topbar (same control as manager/staff tier header; admin does not load tier-dashboards.css) */
.admin-topbar .tier-mgr-account-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}

.admin-topbar .tier-mgr-account-btn:hover,
.admin-topbar .tier-mgr-account-btn:focus-visible {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(56, 189, 248, 0.35);
    color: #fff;
    outline: none;
}

.admin-topbar .tier-mgr-account-btn.show {
    border-color: rgba(56, 189, 248, 0.45);
}

.admin-topbar .tier-mgr-account-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
    display: grid;
    place-items: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.admin-topbar .tier-mgr-account-text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-topbar .tier-mgr-account-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 750;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-topbar .tier-mgr-account-role {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
}

.admin-topbar .tier-mgr-account-chev {
    flex-shrink: 0;
    font-size: 0.85rem;
    opacity: 0.55;
    transition: transform 0.2s ease, opacity 0.15s ease;
}

.admin-topbar .tier-mgr-account-btn.show .tier-mgr-account-chev {
    transform: rotate(-180deg);
    opacity: 0.95;
}

.admin-topbar .tier-mgr-header-account {
    position: relative;
}

.admin-topbar .tier-mgr-account-btn--header {
    width: auto;
    max-width: min(260px, 42vw);
    padding: 6px 10px 6px 8px;
    border: 1px solid rgba(15, 38, 61, 0.1);
    background: #fff;
    color: #0f172a;
    box-shadow: none;
}

.admin-topbar .tier-mgr-account-btn--header:hover,
.admin-topbar .tier-mgr-account-btn--header:focus-visible {
    background: #f8fafc;
    border-color: rgba(56, 189, 248, 0.35);
    color: #0f172a;
}

.admin-topbar .tier-mgr-account-btn--header.show {
    border-color: rgba(56, 189, 248, 0.45);
}

.admin-topbar .tier-mgr-account-btn--header .tier-mgr-account-name {
    color: #0f172a;
}

.admin-topbar .tier-mgr-account-btn--header .tier-mgr-account-role {
    color: #64748b;
}

.admin-topbar .tier-mgr-account-btn--header .tier-mgr-account-chev {
    color: #64748b;
    opacity: 0.75;
}

.admin-topbar .tier-mgr-account-btn--header .tier-mgr-account-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 0.75rem;
}

.admin-topbar .tier-mgr-account-menu {
    width: 100%;
    min-width: 100%;
    margin-top: 6px !important;
    padding: 6px;
    border-radius: 12px;
    border: 1px solid rgba(15, 38, 61, 0.1);
    background: #fff;
    box-shadow: 0 12px 40px rgba(15, 38, 61, 0.12);
}

.admin-topbar .tier-mgr-account-menu--header {
    width: auto;
    min-width: 220px;
    margin-top: 8px !important;
}

.admin-topbar .tier-mgr-account-menu .dropdown-item {
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    font-size: 0.88rem;
    font-weight: 600;
}

.admin-topbar .tier-mgr-account-menu .dropdown-item {
    color: #1f2937;
}

.admin-topbar .tier-mgr-account-menu .dropdown-item:hover,
.admin-topbar .tier-mgr-account-menu .dropdown-item:focus {
    background: rgba(102, 126, 234, 0.1);
    color: #111;
}

.admin-topbar .tier-mgr-account-menu .dropdown-item.active,
.admin-topbar .tier-mgr-account-menu .dropdown-item:active {
    background: rgba(102, 126, 234, 0.16);
    color: #111;
}

.admin-topbar .tier-mgr-account-menu .dropdown-divider {
    border-color: rgba(15, 38, 61, 0.1);
    margin: 0.35rem 0;
}

.admin-topbar .tier-mgr-account-logout {
    color: #b91c1c !important;
}

.admin-topbar .tier-mgr-account-logout:hover,
.admin-topbar .tier-mgr-account-logout:focus {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #991b1b !important;
}

@media (max-width: 575.98px) {
    .admin-topbar .tier-mgr-account-btn--header .tier-mgr-account-text {
        display: none;
    }

    .admin-topbar .tier-mgr-account-btn--header .tier-mgr-account-chev {
        display: none;
    }

    .admin-topbar .tier-mgr-account-btn--header {
        max-width: none;
        padding: 6px;
    }
}

.admin-topbar-time {
    display: inline-flex;
    align-items: center;
    font-size: 0.84rem;
    font-weight: 650;
    color: #64748b;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(15, 38, 61, 0.04);
}

.admin-topbar-time .portal-datetime {
    gap: 0.05rem;
    line-height: 1.2;
}

.admin-topbar-time .portal-datetime-date,
.admin-topbar-time .portal-datetime-meta {
    font-size: 0.8rem;
    white-space: nowrap;
}

.admin-topbar-time .portal-datetime-meta {
    font-size: 0.72rem;
}

.admin-sidebar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px 16px;
    color: #111;
    text-decoration: none;
}

.admin-sidebar-brand:hover {
    color: #111;
}

.admin-sidebar-brand span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f4c95d;
    color: #10263d;
}

.admin-sidebar-brand .app-logo-on-dark {
    display: inline-flex;
    width: auto;
    height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    place-items: unset;
}

.admin-sidebar-brand .app-logo-on-dark img {
    height: 34px;
    max-width: 240px;
}

.admin-sidebar-brand--logo {
    padding: 6px 8px 16px;
}

.admin-sidebar-nav {
    display: grid;
    gap: 6px;
}

.admin-sidebar-nav a,
.admin-sidebar-actions a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 10px;
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.94rem;
    letter-spacing: -0.011em;
    line-height: 1.35;
    transition: background 0.15s ease, color 0.15s ease;
}

.admin-sidebar-nav a:hover,
.admin-sidebar-actions a:hover {
    background: rgba(15, 23, 42, 0.06);
    color: #111;
}

.admin-sidebar-nav a.active {
    background: rgba(102, 126, 234, 0.12);
    color: #111;
    box-shadow: inset 3px 0 0 var(--primary-color);
    font-weight: 600;
}

.admin-sidebar-nav i,
.admin-sidebar-actions i {
    width: 22px;
    text-align: center;
    font-size: 1.08rem;
}

.admin-sidebar-actions {
    display: grid;
    gap: 6px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

/* Admin demo request detail */
.demo-detail-hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(20, 184, 166, 0.06));
}

.demo-detail-avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #14b8a6 100%);
    flex-shrink: 0;
}

.demo-detail-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.demo-detail-name {
    letter-spacing: -0.02em;
}

.demo-detail-tile-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 0.85rem;
    font-size: 1.1rem;
}

.demo-detail-tile-icon.email {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}

.demo-detail-tile-icon.phone {
    background: rgba(20, 184, 166, 0.12);
    color: #0f766e;
}

.demo-detail-tile-icon.org {
    background: rgba(139, 92, 246, 0.12);
    color: #7c3aed;
}

.demo-detail-tile-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.35rem;
}

.demo-detail-tile-value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    word-break: break-word;
}

a.demo-detail-tile-value:hover {
    color: #4057d7;
}

.demo-detail-message {
    white-space: pre-wrap;
    line-height: 1.7;
    color: #334155;
    background: #f8fafc;
    border: 1px solid rgba(15, 38, 61, 0.08);
    border-radius: 12px;
    padding: 1rem 1.1rem;
}

.demo-detail-meta-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(15, 38, 61, 0.06);
}

.demo-detail-meta-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.demo-detail-meta-label {
    color: #64748b;
    font-size: 0.88rem;
    flex-shrink: 0;
}

.admin-content {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
    padding: 22px 28px 40px;
    flex: 1;
}

.admin-shell.admin-content {
    box-sizing: border-box;
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding: 22px 28px 48px;
}

/* Keep wide tables inside the viewport; scroll inside the card only */
.admin-table-card {
    max-width: 100%;
    min-width: 0;
}

.admin-table-card .card-body {
    min-width: 0;
}

.admin-table-card .table-responsive {
    max-width: 100%;
}

.admin-table-card .table td,
.admin-table-card .table th {
    vertical-align: middle;
}

.admin-table-card .table td {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.admin-properties-table-wrap {
    margin-right: -0.15rem;
    padding-right: 0.15rem;
}

.admin-properties-table {
    margin-bottom: 0;
    table-layout: auto;
}

.admin-properties-table .admin-col-logo {
    width: 4.5rem;
}

.admin-properties-table .admin-col-name {
    min-width: 9rem;
}

.admin-properties-table .admin-col-address {
    min-width: 10rem;
    max-width: 14rem;
}

.admin-properties-table .admin-col-contact {
    min-width: 11rem;
    max-width: 15rem;
}

.admin-properties-table .admin-col-status,
.admin-properties-table .admin-col-billing,
.admin-properties-table .admin-col-payby,
.admin-properties-table .admin-col-created {
    white-space: nowrap;
}

.admin-properties-table .admin-col-creator {
    min-width: 7.5rem;
}

.admin-properties-table .admin-col-actions {
    width: 1%;
    white-space: nowrap;
    padding-left: 0.75rem;
    padding-right: 0.25rem;
}

.admin-properties-table .admin-col-name,
.admin-properties-table .admin-col-address,
.admin-properties-table .admin-col-contact,
.admin-properties-table .admin-col-creator {
    word-break: normal;
    overflow-wrap: normal;
}

.admin-users-table-wrap {
    margin-right: -0.15rem;
    padding-right: 0.15rem;
}

.admin-users-table {
    margin-bottom: 0;
    table-layout: auto;
}

.admin-users-table td,
.admin-users-table th {
    word-break: normal;
    overflow-wrap: normal;
}

.admin-users-col-name {
    min-width: 8.5rem;
    max-width: 11rem;
}

.admin-users-col-email {
    min-width: 10rem;
    max-width: 15rem;
}

.admin-users-col-role,
.admin-users-col-status,
.admin-users-col-department {
    white-space: nowrap;
}

.admin-users-col-date {
    white-space: normal;
}

.admin-users-col-properties {
    min-width: 8rem;
    max-width: 12rem;
}

.admin-users-col-creator {
    min-width: 7rem;
    max-width: 10rem;
}

.admin-users-col-actions {
    width: 1%;
    white-space: nowrap;
    padding-left: 0.75rem;
    padding-right: 0.25rem;
}

.admin-users-truncate {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-users-truncate-lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.35;
}

.portal-datetime,
.admin-users-datetime {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    line-height: 1.25;
}

.portal-datetime-date,
.portal-datetime-meta,
.admin-users-datetime-date,
.admin-users-datetime-meta {
    display: block;
    white-space: nowrap;
}

.portal-datetime-meta,
.admin-users-datetime-meta {
    font-size: 0.8125rem;
    color: var(--bs-secondary-color);
}

td .portal-datetime,
td .admin-users-datetime,
dd .portal-datetime,
p .portal-datetime {
    width: fit-content;
}

.admin-property-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.admin-property-name {
    display: block;
    line-height: 1.35;
}

.admin-property-address-line {
    display: block;
    line-height: 1.4;
}

.admin-property-contact-line {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    line-height: 1.4;
    font-size: 0.875rem;
}

.admin-property-contact-line + .admin-property-contact-line {
    margin-top: 0.25rem;
}

.admin-property-contact-line .bi {
    flex-shrink: 0;
    color: #64748b;
    font-size: 0.9rem;
}

.admin-property-email {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.admin-property-email:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.admin-property-creator {
    display: block;
    line-height: 1.35;
}

.admin-property-actions {
    flex-wrap: nowrap;
}

/* Visitor photo thumbnails (manager / staff / admin visit lists) */
.tier-visitor-photo-thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(15, 38, 61, 0.12);
    vertical-align: middle;
}

.tier-visitor-photo-modal-img {
    max-height: min(78vh, 720px);
    width: auto;
    max-width: 100%;
}

.tier-visitor-photo-detail {
    max-height: min(70vh, 520px);
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.admin-list-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px 16px;
    margin-bottom: 1rem;
}

.admin-list-toolbar .form-label {
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
    color: #64748b;
}

.admin-list-toolbar form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    width: 100%;
}

.admin-list-toolbar-actions,
.admin-reports-toolbar-actions,
.admin-filter-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}

.admin-list-toolbar .form-control,
.admin-list-toolbar .form-select {
    min-width: 140px;
}

.admin-list-toolbar .form-control[type="date"],
.admin-list-toolbar .form-control[type="datetime-local"] {
    min-height: calc(1.5em + 0.75rem + 2px);
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    line-height: 1.5;
}

.admin-visit-logs-toolbar form {
    display: grid;
    grid-template-columns:
        minmax(12rem, 1.55fr)
        minmax(9rem, 1.05fr)
        minmax(8rem, 0.9fr)
        minmax(10rem, 1fr)
        minmax(10rem, 1fr)
        auto;
    align-items: end;
    gap: 10px 14px;
    width: 100%;
}

.admin-visit-logs-toolbar .admin-visit-logs-field .form-control,
.admin-visit-logs-toolbar .admin-visit-logs-field .form-select {
    width: 100%;
    min-width: 0;
}

.admin-visit-logs-toolbar .admin-list-toolbar-actions {
    margin-left: 0;
    justify-content: flex-end;
    align-self: end;
}

@media (max-width: 1399.98px) {
    .admin-visit-logs-toolbar form {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-visit-logs-toolbar .admin-visit-logs-field--search {
        grid-column: 1 / -1;
    }

    .admin-visit-logs-toolbar .admin-list-toolbar-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .admin-visit-logs-toolbar form {
        grid-template-columns: 1fr;
    }
}

.date-scope-all-time-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    border: 2px solid #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 0.8125rem;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.date-scope-all-time-link:hover {
    background: #dbeafe;
    border-color: #1d4ed8;
    color: #1e3a8a;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.18);
}

.date-scope-all-time-link.is-active {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
    box-shadow: 0 2px 8px rgba(29, 78, 216, 0.28);
}

.admin-list-toolbar .date-scope-all-time-link {
    align-self: flex-end;
}

.admin-reports-toolbar.admin-list-toolbar {
    margin-bottom: 0.5rem;
}

.admin-reports-toolbar form {
    width: 100%;
}

.admin-reports-toolbar-property {
    flex: 1 1 12rem;
    min-width: 10rem;
    max-width: 18rem;
}

.admin-reports-toolbar-hint {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.35;
}

@media (max-width: 991.98px) {
    .admin-list-toolbar-actions,
    .admin-reports-toolbar-actions,
    .admin-filter-actions {
        flex-wrap: wrap;
        width: 100%;
        margin-left: 0;
        justify-content: flex-end;
    }
}

.admin-table-card form.row .admin-filter-actions {
    padding-left: 0;
    padding-right: 0;
}

/* Admin surfaces — override global card hover (too jumpy for data UIs) */
.admin-app-body .card {
    border: 1px solid rgba(15, 38, 61, 0.07);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15, 38, 61, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-app-body .card:hover {
    transform: none;
    box-shadow: 0 12px 36px rgba(15, 38, 61, 0.1);
    border-color: rgba(15, 38, 61, 0.1);
}

.admin-app-body .card-header {
    background: linear-gradient(180deg, #fafbfd 0%, #f4f6f9 100%);
    border-bottom: 1px solid rgba(15, 38, 61, 0.08);
    color: #12243a;
    font-weight: 750;
    border-radius: 14px 14px 0 0 !important;
    padding: 1rem 1.25rem;
}

.admin-app-body .table {
    --bs-table-bg: transparent;
    font-size: 0.92rem;
}

.admin-app-body .table thead th {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    border-bottom-color: rgba(15, 38, 61, 0.1);
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    white-space: nowrap;
}

.admin-app-body .table tbody td {
    border-color: rgba(15, 38, 61, 0.06);
    vertical-align: middle;
}

.admin-app-body .table tbody tr:hover {
    background-color: rgba(20, 184, 166, 0.05);
}

.admin-billing-category-table-wrap {
    max-width: 100%;
}

.admin-billing-category-table {
    width: 100%;
    table-layout: fixed;
}

.admin-billing-category-col-label {
    width: 16%;
}

.admin-billing-category-col-key {
    width: 11%;
}

.admin-billing-category-col-description {
    width: 36%;
}

.admin-billing-category-col-amount {
    width: 15%;
}

.admin-billing-category-col-active {
    width: 7%;
}

.admin-billing-category-table .form-control-sm {
    min-width: 0;
    width: 100%;
}

.admin-billing-category-table code {
    word-break: break-word;
}

.admin-page-heading {
    margin-bottom: 1.5rem;
}

.admin-page-heading .h1,
.admin-page-heading h1 {
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    font-weight: 800;
    color: #0f263d;
    letter-spacing: -0.02em;
}

.admin-mini-stat {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(15, 38, 61, 0.1);
}

.admin-mini-stat .card-body {
    padding: 1.15rem 1.25rem;
}

.admin-mini-stat .card-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.92;
    margin-bottom: 0.35rem;
}

.admin-mini-stat h2 {
    font-size: 1.85rem;
    font-weight: 800;
    margin: 0;
}

.admin-mini-stat.bg-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
}

.admin-mini-stat.bg-success {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
}

.admin-mini-stat.bg-info {
    background: linear-gradient(135deg, #0e7490 0%, #06b6d4 100%) !important;
}

.admin-mini-stat.bg-warning {
    background: linear-gradient(135deg, #b45309 0%, #f59e0b 100%) !important;
    color: #fff !important;
}

.admin-dashboard-page {
    background: transparent;
}

.admin-app-body .btn-primary {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    border: none;
    font-weight: 650;
}

.admin-app-body .btn-primary:hover,
.admin-app-body .btn-primary:focus {
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
    border: none;
}

.admin-app-body .btn-success {
    font-weight: 650;
}

.admin-shell {
    width: min(1440px, calc(100% - 28px));
    margin: 0 auto;
    padding: 22px 0 40px;
}

.admin-hero {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 16px;
    padding: 22px 24px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(13, 35, 57, 0.96), rgba(18, 79, 88, 0.92)),
        linear-gradient(45deg, rgba(244, 201, 93, 0.14), transparent);
    color: #fff;
    box-shadow: 0 12px 32px rgba(21, 39, 56, 0.16);
}

.admin-hero-copy {
    min-width: 0;
}

.admin-hero-eyebrow {
    margin: 0 0 6px;
    color: #f4c95d;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.admin-hero h1 {
    margin: 0 0 6px;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.admin-hero-lede {
    max-width: 42rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    line-height: 1.5;
}

.admin-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.admin-hero-date {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.8125rem;
}

.admin-hero-date > i {
    font-size: 1rem;
    opacity: 0.9;
}

.admin-hero-date .portal-datetime-date,
.admin-hero-date .portal-datetime-meta {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.8125rem;
    line-height: 1.2;
}

.admin-hero-date .portal-datetime-meta {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.75rem;
}

.admin-hero-reports-btn {
    font-weight: 600;
}

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.admin-kpi {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 0;
    padding: 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(15, 38, 61, 0.06);
    box-shadow: 0 4px 18px rgba(21, 39, 56, 0.05);
}

.admin-kpi-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #e9efff;
    color: #4057d7;
    font-size: 1.15rem;
}

.admin-kpi-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-kpi-label {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.admin-kpi-value {
    color: #12243a;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.admin-kpi-hint {
    color: #94a3b8;
    font-size: 0.78rem;
    line-height: 1.35;
}

.admin-kpi.green .admin-kpi-icon {
    background: #e4f8ed;
    color: #198754;
}

.admin-kpi.blue .admin-kpi-icon {
    background: #e1f4fb;
    color: #1686a0;
}

.admin-kpi.amber .admin-kpi-icon {
    background: #fff4d7;
    color: #ad7900;
}

.admin-kpi.purple .admin-kpi-icon {
    background: #f0e8ff;
    color: #6f42c1;
}

.admin-action-strip,
.admin-panel {
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(15, 38, 61, 0.06);
    box-shadow: 0 4px 18px rgba(21, 39, 56, 0.05);
}

.admin-action-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    margin-bottom: 14px;
}

.admin-action-strip a {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(15, 38, 61, 0.08);
    border-radius: 999px;
    color: #334155;
    background: #f8fafc;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.admin-action-strip a:hover {
    background: #eef6f5;
    border-color: rgba(20, 116, 111, 0.22);
    color: #0f4c49;
}

.admin-action-strip i {
    color: #14746f;
    font-size: 0.95rem;
}

.admin-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.65fr);
    gap: 14px;
    margin-bottom: 14px;
}

.admin-secondary-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 14px;
}

.admin-panel {
    padding: 16px 18px;
}

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

.panel-title .eyebrow {
    margin: 0 0 4px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #0d9488;
}

.panel-title h2 {
    margin: 0;
    color: #12243a;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.admin-table {
    margin: 0;
}

.admin-table td strong,
.admin-table td small {
    display: block;
}

.admin-table td small {
    color: #64748b;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    background: #e7f7ef;
    color: #14746f;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: capitalize;
}

.today-stack {
    display: grid;
    gap: 10px;
}

.today-stack div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    border-radius: 8px;
    background: #f6f9fc;
}

.today-stack span,
.property-health-list span,
.property-health-list small,
.ops-notes span {
    color: #64748b;
}

.admin-stat-value,
.today-stack strong {
    color: #12243a;
    font-size: 1.2rem;
    font-weight: 700;
}

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

.property-health-list article {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid #e2e9f1;
    border-radius: 8px;
}

.property-health-list span,
.property-health-list small {
    display: block;
}

.property-health-list b {
    color: #14746f;
}

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

.visit-type-grid article {
    padding: 16px;
    border: 1px solid #e2e9f1;
    border-radius: 8px;
    background: #f8fafc;
}

.visit-type-grid i {
    font-size: 1.7rem;
}

.visit-type-grid strong {
    display: block;
    margin-top: 6px;
    color: #12243a;
    font-size: 1.25rem;
    font-weight: 700;
}

.visit-type-grid span {
    color: #64748b;
    font-size: 0.9rem;
}

.ops-notes {
    display: grid;
    gap: 12px;
}

.ops-notes div {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: start;
    padding: 14px;
    border-radius: 8px;
    background: #f8fafc;
}

.ops-notes i {
    color: #14746f;
    font-size: 1.25rem;
}

.empty-state {
    display: grid;
    place-items: center;
    min-height: 220px;
    color: #64748b;
    text-align: center;
}

.empty-state i {
    color: #94a3b8;
    font-size: 3rem;
}

.empty-state.small {
    min-height: 150px;
}

@media (max-width: 1100px) {
    .rich-hero,
    .operations-band,
    .security-section,
    .detail-showcase,
    .why-vms-section,
    .venue-section,
    .demo-section,
    .admin-main-grid,
    .admin-secondary-grid {
        grid-template-columns: 1fr;
    }

    .info-grid,
    .why-vms-points,
    .help-feature-grid,
    .value-props-section,
    .trust-grid,
    .vms-essentials-grid,
    .brand-proof-grid,
    .testimonial-grid,
    .pricing-grid,
    .admin-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

@media (min-width: 768px) {
    .timeline-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .expected-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .timeline-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .expected-flow {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1200px) {
    .admin-right {
        margin-left: 0;
        width: 100%;
    }

    .admin-topbar {
        padding: 12px 16px;
    }

    .admin-topbar-hint {
        display: none;
    }

    .admin-topbar-right {
        width: 100%;
        justify-content: flex-start;
        gap: 10px;
    }

    /* Off-canvas drawer — full nav labels, no horizontal icon strip */
    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(300px, 88vw);
        max-width: var(--admin-sidebar-w);
        min-height: 100vh;
        padding: 20px 14px 24px;
        transform: translateX(-100%);
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 12px 0 48px rgba(15, 23, 42, 0.12);
        border-right: 1px solid rgba(15, 23, 42, 0.08);
        z-index: 1100;
    }

    .admin-sidebar.admin-sidebar--open {
        transform: translateX(0);
    }

    .admin-sidebar-label {
        display: block;
    }

    .admin-sidebar-brand {
        padding-bottom: 16px;
    }

    .admin-sidebar-nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .admin-sidebar-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        margin-top: auto;
        padding-top: 16px;
    }

    .admin-sidebar-nav a,
    .admin-sidebar-actions a {
        justify-content: flex-start;
        min-height: 46px;
    }

    .admin-sidebar-nav a span,
    .admin-sidebar-actions a span {
        display: inline;
    }

    .admin-content,
    .admin-shell.admin-content {
        width: 100%;
        margin-left: 0;
        padding: 16px;
    }
}

@media (max-width: 768px) {
    .admin-topbar {
        padding: 10px 12px;
    }

    .admin-topbar-left,
    .admin-topbar-right {
        width: 100%;
    }

    .admin-topbar-time {
        font-size: 0.78rem;
        padding: 6px 10px;
    }

    .admin-content,
    .admin-shell.admin-content {
        padding: 12px;
    }
}

@media (max-width: 768px) {
    :root {
        --landing-pad-x: clamp(16px, 4.5vw, 22px);
    }

    .landing-nav-right {
        width: 100%;
        flex-wrap: wrap;
    }

    .landing-nav-links {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2px;
    }

    .landing-nav-theme {
        margin-left: auto;
        flex-shrink: 0;
    }

    .landing-nav-links > a:not(.nav-login) {
        display: inline-flex;
        white-space: nowrap;
    }

    .landing-nav {
        position: relative;
    }

    .landing-nav::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        width: 42px;
        height: 40px;
        pointer-events: none;
        background: linear-gradient(90deg, rgba(11, 31, 53, 0) 0%, rgba(11, 31, 53, 0.95) 80%);
    }

    .landing-nav-swipe-hint {
        display: inline-flex;
        align-items: center;
        gap: 2px;
        margin-left: auto;
        margin-top: 4px;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.01em;
        color: rgba(255, 255, 255, 0.72);
        pointer-events: none;
    }

    .landing-nav-swipe-hint i {
        font-size: 0.95rem;
        line-height: 1;
    }

    .hero-proof,
    .section-intro,
    .info-grid,
    .timeline-grid,
    .security-section,
    .why-vms-points,
    .help-feature-grid,
    .venue-grid,
    .value-props-section,
    .expected-flow,
    .trust-grid,
    .vms-essentials-grid,
    .faq-grid,
    .brand-proof-grid,
    .testimonial-grid,
    .pricing-grid,
    .landing-metrics-band,
    .admin-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .visit-type-grid {
        grid-template-columns: 1fr;
    }

    .rich-hero {
        grid-template-columns: 1fr;
    }

    .hero-banner-content {
        padding-top: 20px;
        padding-bottom: 36px;
    }

    .landing-v2 .landing-hero.rich-hero .hero-copy h1 {
        font-size: clamp(2.1rem, 10vw, 2.8rem);
        line-height: 1.08;
    }

    .landing-v2 .hero-lede {
        font-size: 1rem;
        line-height: 1.55;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .landing-hub-grid--compact .landing-hub-card {
        padding: 18px;
        border-radius: 14px;
    }

    .landing-hub-grid--compact .landing-hub-card h3 {
        font-size: 1.2rem;
    }

    .landing-hub-grid--compact .landing-hub-card-cta {
        font-size: 0.95rem;
    }

    .brand-proof-grid span {
        min-height: 72px;
        justify-content: flex-start;
        padding: 0 18px;
        font-size: 1.15rem;
        font-weight: 800;
    }

    .brand-proof-grid i {
        font-size: 1.2rem;
    }

    .hero-photo-banner,
    .hero-banner-content {
        min-height: auto;
    }

    .hero-photo-banner {
        background:
            linear-gradient(180deg, rgba(8, 22, 36, 0.92) 0%, rgba(8, 22, 36, 0.74) 58%, rgba(8, 22, 36, 0.34) 100%),
            url('/images/landing-office-laptop.jpg') center/cover no-repeat;
    }

    .landing-info-section,
    .operations-band,
    .security-section,
    .why-vms-section,
    .help-feature-section,
    .venue-copy,
    .expected-flow-section,
    .trust-section,
    .vms-essentials-section,
    .faq-section,
    .brand-proof-section,
    .testimonial-section,
    .pricing-section,
    .demo-section,
    .bottom-cta-section,
    .showcase-copy {
        padding: 24px var(--landing-pad-x);
    }

    .landing-metrics-band {
        padding: 20px var(--landing-pad-x);
    }

    .value-props-section {
        padding: 18px var(--landing-pad-x);
    }

    .showcase-image,
    .venue-image {
        min-height: 360px;
    }

    .bottom-cta-section {
        display: block;
        margin-bottom: 0;
    }

    .bottom-cta-section .btn {
        margin-top: 18px;
        width: 100%;
        justify-content: center;
    }

    .bottom-cta-section h2 {
        font-size: clamp(2rem, 8.5vw, 2.8rem);
    }

    .landing-page-hero h1 {
        font-size: clamp(2rem, 8.6vw, 2.7rem);
    }

    .demo-form {
        padding: 18px;
    }

    .demo-form .btn.btn-lg {
        width: 100%;
    }

    .admin-hero {
        display: block;
    }

    .admin-hero-actions {
        justify-content: flex-start;
        margin-top: 14px;
    }

    .admin-kpi-grid {
        grid-template-columns: 1fr;
    }
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Status Colors */
.status-checked-in {
    color: var(--success-color);
}

.status-checked-out {
    color: var(--secondary-color);
}

.status-expected {
    color: var(--warning-color);
}

/* Skip link (accessibility) */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 2000;
    padding: 12px 18px;
    border-radius: 8px;
    background: #f4c95d;
    color: #0d2235;
    font-weight: 800;
    text-decoration: none;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Landing footer */
.landing-footer {
    border-top: 1px solid var(--landing-footer-border);
    background: var(--landing-footer-bg);
    color: var(--landing-footer-fg);
}

.landing-footer-inner {
    max-width: var(--landing-content-max, min(1200px, 100%));
    margin: 0 auto;
    padding: clamp(28px, 4vw, 44px) var(--landing-pad-x, clamp(24px, 5vw, 80px));
    display: grid;
    gap: 20px;
    align-items: start;
    box-sizing: border-box;
}

.landing-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
}

.landing-footer-logo:hover {
    color: #fff;
}

.landing-footer-tagline {
    margin: 8px 0 0;
    max-width: 28rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.5;
}

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

.landing-footer-nav a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-weight: 650;
    font-size: 0.95rem;
}

.landing-footer-nav a:hover {
    color: #f4c95d;
}

.landing-footer-contact {
    grid-column: 1 / -1;
    text-align: center;
    padding: 8px 0 0;
    margin-top: 8px;
    font-size: 0.92rem;
}

.landing-footer-contact-line {
    margin: 0;
}

.landing-footer-contact a:hover {
    color: #fff !important;
}

.landing-footer-copy {
    margin: 0;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.5);
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .landing-footer-inner {
        grid-template-columns: 1fr auto;
    }

    .landing-footer-nav {
        justify-content: flex-end;
    }

    .landing-footer-contact {
        text-align: left;
    }
}

/* Legal (privacy / terms) */
.legal-page-body {
    --landing-pad-x: clamp(24px, 5vw, 80px);
    margin: 0;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    color: #12243a;
    font-family: var(--vms-font-family);
}

.legal-page-header {
    width: 100%;
    background: #0f263d;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-page-header-inner {
    width: 100%;
    max-width: min(1200px, calc(100vw - 2 * var(--landing-pad-x, 24px)));
    margin: 0 auto;
    padding: 16px var(--landing-pad-x, 24px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
}

.legal-page-brand {
    color: #fff;
}

.legal-page-main {
    flex: 1;
    align-self: stretch;
    width: 100%;
    max-width: none;
    min-width: 0;
    background: #fff;
}

.legal-page-article {
    width: 100%;
    max-width: min(1200px, calc(100vw - 2 * var(--landing-pad-x, 24px)));
    margin: 0 auto;
    padding: clamp(32px, 5vw, 48px) var(--landing-pad-x, 24px) clamp(48px, 6vw, 72px);
    min-height: 50vh;
    box-sizing: border-box;
}

.legal-page-article h1 {
    margin: 0 0 8px;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #0f263d;
}

.legal-page-updated {
    margin: 0 0 28px;
    color: #64748b;
    font-size: 1rem;
}

.legal-page-article h2 {
    margin: 28px 0 12px;
    font-size: 1.15rem;
    font-weight: 750;
    color: #12243a;
}

.legal-page-article p {
    margin: 0 0 14px;
    color: #475569;
    line-height: 1.65;
}

.legal-page-disclaimer {
    color: #94a3b8;
}

.legal-page-body .landing-footer {
    width: 100%;
    max-width: none;
    margin-top: auto;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .visitor-badge {
        border: 2px solid #000;
        page-break-inside: avoid;
    }
}
