/* ============================================================
   WrapVault — Global Styles
   ============================================================ */

/* --- Brand tokens -----------------------------------------
   Marketing accent colors live here as CSS variables so they
   are themeable and never hardcoded inline. The amber CTA and
   on-dark colors are intentionally outside the MudBlazor palette
   (the hero/CTA banner is always dark in both themes). */
:root {
    --wv-cta: #F59E0B;          /* amber call-to-action */
    --wv-cta-ink: #0F172A;      /* text/icon on amber */
    --wv-on-dark-text: #FFFFFF; /* text on dark hero / CTA banner */
    --wv-on-dark-border: rgba(255, 255, 255, 0.4);
    --wv-on-dark-muted: rgba(255, 255, 255, 0.55);
    --wv-stat-blue: #1E40AF;
    --wv-stat-green: #10B981;
    --wv-stat-purple: #7C3AED;
    --wv-accent-blue-bg: #EFF6FF;
}

html, body {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* --- Selection -------------------------------------------- */
::selection {
    background: #BFDBFE;
    color: #1E3A5F;
}

/* --- Custom Scrollbars ------------------------------------ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #CBD5E1 transparent;
}

/* Dark mode scrollbar overrides */
.mud-dark ::-webkit-scrollbar-thumb {
    background: #334155;
}

.mud-dark ::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

.mud-dark * {
    scrollbar-color: #334155 transparent;
}

.mud-dark ::selection {
    background: #1E3A5F;
    color: #E0F2FE;
}

/* --- Focus Rings ------------------------------------------ */
*:focus-visible {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* MudBlazor handles its own focus styles for inputs */
.mud-input-control *:focus-visible,
.mud-select *:focus-visible,
.mud-autocomplete *:focus-visible {
    outline: none;
}

/* --- Smooth Transitions ----------------------------------- */
.mud-button-root,
.mud-icon-button,
.mud-chip,
.mud-nav-link {
    transition: background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.mud-table-row {
    transition: background-color 0.15s ease;
}

/* --- Semantic Color Tokens -------------------------------- */
:root {
    /* Job status */
    --fv-status-scheduled: #64748B;
    --fv-status-checked-in: #0EA5E9;
    --fv-status-in-progress: #F59E0B;
    --fv-status-qc: #7C3AED;
    --fv-status-complete: #10B981;
    --fv-status-picked-up: #334155;

    /* Quote status */
    --fv-quote-draft: #94A3B8;
    --fv-quote-sent: #0EA5E9;
    --fv-quote-accepted: #10B981;
    --fv-quote-declined: #E11D48;
    --fv-quote-expired: #F59E0B;

    /* Appointment status */
    --fv-appt-scheduled: #1E40AF;
    --fv-appt-confirmed: #0EA5E9;
    --fv-appt-in-progress: #F59E0B;
    --fv-appt-completed: #10B981;
    --fv-appt-no-show: #E11D48;
    --fv-appt-cancelled: #64748B;

    /* KPI card accents (light mode) */
    --fv-kpi-blue-bg: #EBF5FF;
    --fv-kpi-blue-fg: #2361CE;
    --fv-kpi-green-bg: #ECFDF5;
    --fv-kpi-green-fg: #10B981;
    --fv-kpi-amber-bg: #FFF7ED;
    --fv-kpi-amber-fg: #F59E0B;
    --fv-kpi-purple-bg: #F5F3FF;
    --fv-kpi-purple-fg: #7C3AED;

    /* Kanban column headers */
    --fv-kanban-scheduled-bg: #F1F5F9;
    --fv-kanban-checked-in-bg: #E0F2FE;
    --fv-kanban-in-progress-bg: #FEF3C7;
    --fv-kanban-qc-bg: #EDE9FE;
    --fv-kanban-complete-bg: #D1FAE5;
    --fv-kanban-picked-up-bg: #E2E8F0;
}

/* Dark mode KPI overrides */
.mud-dark {
    --fv-kpi-blue-bg: rgba(30, 64, 175, 0.15);
    --fv-kpi-blue-fg: #60A5FA;
    --fv-kpi-green-bg: rgba(16, 185, 129, 0.15);
    --fv-kpi-green-fg: #34D399;
    --fv-kpi-amber-bg: rgba(245, 158, 11, 0.15);
    --fv-kpi-amber-fg: #FBBF24;
    --fv-kpi-purple-bg: rgba(124, 58, 237, 0.15);
    --fv-kpi-purple-fg: #A78BFA;

    --fv-kanban-scheduled-bg: rgba(100, 116, 139, 0.12);
    --fv-kanban-checked-in-bg: rgba(14, 165, 233, 0.12);
    --fv-kanban-in-progress-bg: rgba(245, 158, 11, 0.12);
    --fv-kanban-qc-bg: rgba(124, 58, 237, 0.12);
    --fv-kanban-complete-bg: rgba(16, 185, 129, 0.12);
    --fv-kanban-picked-up-bg: rgba(51, 65, 85, 0.15);
}

/* --- Utility Classes -------------------------------------- */

/* Tabular figures for numeric data (KPI cards, tables) */
.fv-tabular-nums {
    font-variant-numeric: tabular-nums;
}

/* Monospace styling for IDs (job numbers, invoice numbers, etc.) */
.fv-mono {
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.8125em;
    letter-spacing: -0.02em;
}

/* Subtle hover border + shadow lift on interactive cards */
.fv-card-interactive {
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.fv-card-interactive:hover {
    border-color: var(--mud-palette-primary) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

/* Trend indicator badges */
.fv-trend-up {
    color: var(--fv-kpi-green-fg);
    font-size: 0.75rem;
    font-weight: 600;
}

.fv-trend-down {
    color: #E11D48;
    font-size: 0.75rem;
    font-weight: 600;
}

.fv-trend-neutral {
    color: var(--mud-palette-text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
}

/* --- #9: Sidebar Nav Polish ------------------------------ */

/* Active nav link accent bar */
.mud-drawer .mud-nav-link.active {
    border-left: 3px solid #60A5FA !important;
    background: rgba(96, 165, 250, 0.1) !important;
    border-radius: 0 !important;
}

/* Section-colored nav icons */
.fv-nav-blue .mud-nav-link-icon { color: #60A5FA !important; }
.fv-nav-amber .mud-nav-link-icon { color: #FBBF24 !important; }
.fv-nav-teal .mud-nav-link-icon { color: #22D3EE !important; }
.fv-nav-purple .mud-nav-link-icon { color: #A78BFA !important; }
.fv-nav-emerald .mud-nav-link-icon { color: #34D399 !important; }
.fv-nav-slate .mud-nav-link-icon { color: #94A3B8 !important; }

/* Section label dividers */
.fv-nav-section {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 20px 16px 6px 16px;
    text-transform: uppercase;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    margin-top: 4px;
}

.fv-nav-section:first-of-type {
    border-top: none;
    margin-top: 0;
}

/* Section label color variants */
.fv-nav-section-blue { color: #60A5FA; }
.fv-nav-section-amber { color: #FBBF24; }
.fv-nav-section-teal { color: #22D3EE; }
.fv-nav-section-purple { color: #A78BFA; }
.fv-nav-section-slate { color: #64748B; }

/* --- #10: Data Table Polish ------------------------------ */

/* Alternating row tints */
.mud-table-body .mud-table-row:nth-child(even) {
    background: rgba(0, 0, 0, 0.015);
}

.mud-dark .mud-table-body .mud-table-row:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

/* Sticky table headers */
.mud-table-head th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--mud-palette-surface);
    border-bottom: 2px solid var(--mud-palette-lines-default) !important;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--mud-palette-text-secondary);
}

/* Row hover accent */
.mud-table-body .mud-table-row:hover {
    box-shadow: inset 3px 0 0 var(--mud-palette-primary);
}

/* Right-align currency/numeric cells */
.fv-align-right {
    text-align: right !important;
}

/* DataGrid header styling */
.mud-table-container .mud-table-head .header-cell .column-header span {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* --- Page Transitions ------------------------------------ */
.fv-page-enter {
    animation: fv-fade-up 0.2s ease-out;
}

@keyframes fv-fade-up {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .fv-page-enter {
        animation: none;
    }
}

/* ============================================================
   Marketing Pages
   ============================================================ */

/* --- Header ------------------------------------------------ */
.mkt-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #E2E8F0;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mkt-header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #0F172A;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
}

.mkt-header-logo-icon {
    width: 36px;
    height: 36px;
    background: #EFF6FF;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mkt-header-logo-icon svg {
    width: 20px;
    height: 20px;
    fill: #1E40AF;
}

.mkt-header-nav {
    display: none;
    align-items: center;
    gap: 8px;
}

.mkt-header-nav a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
}

.mkt-header-nav a:hover {
    color: #1E40AF;
    background: #EFF6FF;
}

.mkt-header-nav a.active {
    color: #1E40AF;
    font-weight: 600;
}

.mkt-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 960px) {
    .mkt-header-nav {
        display: flex;
    }
    .mkt-mobile-menu-btn {
        display: none !important;
    }
}

@media (max-width: 959px) {
    .mkt-header-actions .mkt-desktop-only {
        display: none;
    }
}

/* --- Hero -------------------------------------------------- */
.mkt-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #1E40AF 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 24px;
    text-align: center;
    color: #FFFFFF;
}

.mkt-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.mkt-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.25) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Hero slideshow */
.mkt-hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.mkt-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.mkt-hero-slide.active {
    opacity: 0.15;
}

.mkt-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* Early-access badge (honest above-the-fold trust signal) */
.mkt-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid var(--wv-on-dark-border);
    border-color: rgba(245, 158, 11, 0.45);
    color: var(--wv-cta);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.mkt-hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--wv-cta);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}

.mkt-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.mkt-hero p {
    font-size: 1.25rem;
    color: #94A3B8;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 32px;
}

@media (max-width: 600px) {
    .mkt-hero {
        padding: 80px 20px 56px;
    }
    .mkt-hero h1 {
        font-size: 2rem;
    }
    .mkt-hero p {
        font-size: 1.0625rem;
    }
}

/* --- Page Hero (secondary pages) --------------------------- */
.mkt-page-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 60%, #1E40AF 100%);
    position: relative;
    overflow: hidden;
    padding: 56px 24px;
    text-align: center;
    color: #FFFFFF;
}

.mkt-page-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.mkt-page-hero h1 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.mkt-page-hero p {
    font-size: 1.125rem;
    color: #94A3B8;
    position: relative;
    z-index: 1;
}

/* --- Sections ---------------------------------------------- */
.mkt-section {
    padding: 72px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.mkt-section-alt {
    background: #F8FAFC;
}

.mkt-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0F172A;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
}

.mkt-section-subtitle {
    font-size: 1.0625rem;
    color: #64748B;
    text-align: center;
    margin-bottom: 48px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Feature Cards ----------------------------------------- */
.mkt-feature-card {
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 28px;
    background: #FFFFFF;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    height: 100%;
}

.mkt-feature-card:hover {
    border-color: #1E40AF;
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.1);
    transform: translateY(-2px);
}

.mkt-feature-card-icon {
    width: 48px;
    height: 48px;
    background: #EFF6FF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #1E40AF;
}

.mkt-feature-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 8px;
}

.mkt-feature-card p {
    font-size: 0.9375rem;
    color: #64748B;
    line-height: 1.6;
}

/* --- Capabilities Strip (replaces social proof stats) ------ */
.mkt-capabilities {
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    padding: 24px;
    overflow: hidden;
}

.mkt-capabilities-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.mkt-cap-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
    white-space: nowrap;
}

.mkt-cap-pill:hover {
    border-color: #1E40AF;
    background: #EFF6FF;
    transform: translateY(-1px);
}

.mkt-cap-pill .mud-icon-root {
    color: #1E40AF;
    font-size: 1.125rem;
}

/* --- Workflow Pipeline ------------------------------------- */
.mkt-pipeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
    padding: 16px 0;
}

.mkt-pipeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    width: 100px;
}

.mkt-pipeline-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #EFF6FF;
    border: 2px solid #1E40AF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E40AF;
    transition: background 0.3s, transform 0.3s;
    position: relative;
    z-index: 1;
}

.mkt-pipeline-node:hover .mkt-pipeline-icon {
    background: #1E40AF;
    color: #FFFFFF;
    transform: scale(1.1);
}

.mkt-pipeline-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0F172A;
    text-align: center;
}

.mkt-pipeline-sublabel {
    font-size: 0.6875rem;
    color: #64748B;
    text-align: center;
    margin-top: -4px;
}

.mkt-pipeline-connector {
    flex: 1;
    min-width: 24px;
    height: 2px;
    margin-top: 28px;
    position: relative;
    overflow: hidden;
}

.mkt-pipeline-connector::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        #1E40AF 0px, #1E40AF 6px,
        transparent 6px, transparent 12px
    );
    animation: mkt-dash-flow 1s linear infinite;
}

@keyframes mkt-dash-flow {
    from { transform: translateX(-12px); }
    to { transform: translateX(0); }
}

@media (max-width: 700px) {
    .mkt-pipeline {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    .mkt-pipeline-connector {
        display: none;
    }
    .mkt-pipeline-node {
        width: 80px;
    }
}

/* --- Testimonials ------------------------------------------ */
.mkt-testimonial {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 28px;
    height: 100%;
}

.mkt-testimonial blockquote {
    font-size: 1rem;
    color: #334155;
    line-height: 1.7;
    font-style: italic;
    margin: 0 0 20px;
}

.mkt-testimonial-author {
    font-weight: 600;
    color: #0F172A;
    font-size: 0.9375rem;
}

.mkt-testimonial-role {
    font-size: 0.8125rem;
    color: #64748B;
}

/* --- CTA Banner -------------------------------------------- */
.mkt-cta-banner {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #1E40AF 100%);
    padding: 64px 24px;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.mkt-cta-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.mkt-cta-banner h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.025em;
}

.mkt-cta-banner p {
    font-size: 1.125rem;
    color: #94A3B8;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

/* --- Pricing ----------------------------------------------- */
.mkt-pricing-card {
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 32px 28px;
    background: #FFFFFF;
    text-align: center;
    height: 100%;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.mkt-pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #1E40AF;
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mkt-pricing-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 8px;
}

.mkt-pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.mkt-pricing-period {
    font-size: 1rem;
    font-weight: 400;
    color: #64748B;
}

.mkt-pricing-desc {
    font-size: 0.9375rem;
    color: #64748B;
    margin-bottom: 24px;
}

.mkt-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    text-align: left;
}

.mkt-pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9375rem;
    color: #334155;
    padding: 6px 0;
}

.mkt-pricing-features li .mud-icon-root {
    color: #10B981;
    margin-top: 2px;
    flex-shrink: 0;
}

/* --- Feature Sections (Features page) ---------------------- */
.mkt-feature-row {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 48px 0;
}

.mkt-feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.mkt-feature-row-content {
    flex: 1;
}

.mkt-feature-row-visual {
    flex: 1;
    background: #F8FAFC;
    border-radius: 16px;
    height: 280px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    color: #94A3B8;
    font-size: 0.875rem;
    padding: 0;
    overflow: hidden;
}

.mkt-feature-row-content h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 12px;
}

.mkt-feature-row-content p {
    font-size: 1rem;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 20px;
}

.mkt-feature-row-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mkt-feature-row-content ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: #334155;
    padding: 5px 0;
}

.mkt-feature-row-content ul li .mud-icon-root {
    color: #1E40AF;
    flex-shrink: 0;
}

@media (max-width: 960px) {
    .mkt-feature-row,
    .mkt-feature-row:nth-child(even) {
        flex-direction: column;
    }
    .mkt-feature-row-visual {
        width: 100%;
        height: 200px;
    }
}

/* --- Comparison Table -------------------------------------- */
.mkt-compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 48px;
}

.mkt-compare-table th,
.mkt-compare-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #E2E8F0;
    font-size: 0.9375rem;
}

.mkt-compare-table th {
    background: #F8FAFC;
    font-weight: 600;
    color: #0F172A;
    text-align: center;
}

.mkt-compare-table th:first-child {
    text-align: left;
}

.mkt-compare-table td {
    color: #334155;
    text-align: center;
}

.mkt-compare-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.mkt-compare-table tbody tr:hover {
    background: #F8FAFC;
}

/* --- Footer ------------------------------------------------ */
.mkt-footer {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: #94A3B8;
    padding: 64px 24px 0;
}

.mkt-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.mkt-footer h4 {
    color: #E2E8F0;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.mkt-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mkt-footer-links li {
    margin-bottom: 10px;
}

.mkt-footer-links a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.15s;
}

.mkt-footer-links a:hover {
    color: #E2E8F0;
}

.mkt-footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    margin-top: 48px;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8125rem;
}

/* --- Before / After Comparison ----------------------------- */
.mkt-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 700px) {
    .mkt-comparison {
        grid-template-columns: 1fr;
    }
}

.mkt-comparison-col {
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mkt-comparison-col.pain {
    background: #FEF2F2;
    border: 1px solid #FECACA;
}

.mkt-comparison-col.solution {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
}

.mkt-comparison-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.0625rem;
    font-weight: 700;
}

.mkt-comparison-col.pain .mkt-comparison-header {
    color: #991B1B;
}

.mkt-comparison-col.solution .mkt-comparison-header {
    color: #1E40AF;
}

.mkt-comparison-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.mkt-comparison-item:last-child {
    border-bottom: none;
}

.mkt-comparison-col.pain .mkt-comparison-item {
    color: #7F1D1D;
}

.mkt-comparison-col.pain .mkt-comparison-item .mud-icon-root {
    color: #E11D48;
    flex-shrink: 0;
    margin-top: 2px;
}

.mkt-comparison-col.solution .mkt-comparison-item {
    color: #1E3A5F;
}

.mkt-comparison-col.solution .mkt-comparison-item .mud-icon-root {
    color: #1E40AF;
    flex-shrink: 0;
    margin-top: 2px;
}

/* --- Audience Tabs (Who It's For) -------------------------- */
.mkt-audience-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 36px;
}

.mkt-audience-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px 28px;
    max-width: 700px;
    margin: 0 auto;
}

.mkt-audience-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 6px;
}

.mkt-audience-card p {
    font-size: 0.9375rem;
    color: #64748B;
    margin-bottom: 16px;
    line-height: 1.6;
}

.mkt-audience-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
}

@media (max-width: 600px) {
    .mkt-audience-bullets {
        grid-template-columns: 1fr;
    }
}

.mkt-audience-bullets li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    color: #334155;
}

.mkt-audience-bullets li .mud-icon-root {
    color: #1E40AF;
    flex-shrink: 0;
}

/* --- ROI Calculator ---------------------------------------- */
.mkt-calc-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
    max-width: 700px;
    margin: 0 auto 40px;
}

@media (max-width: 700px) {
    .mkt-calc-inputs {
        grid-template-columns: 1fr;
    }
}

.mkt-calc-input-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 4px;
}

.mkt-calc-input-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E40AF;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.mkt-calc-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 700px) {
    .mkt-calc-results {
        grid-template-columns: 1fr;
    }
}

.mkt-calc-result-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.mkt-calc-result-card:hover {
    border-color: #1E40AF;
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.1);
    transform: translateY(-2px);
}

.mkt-calc-result-value {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 4px;
}

.mkt-calc-result-label {
    font-size: 0.875rem;
    color: #64748B;
    font-weight: 500;
}

/* --- Dot Pattern Overlay ----------------------------------- */
.mkt-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}

/* --- Scroll Fade-in ---------------------------------------- */
.mkt-fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.mkt-fade-up.mkt-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children within grids */
.mkt-stagger > .mud-grid-item:nth-child(1) .mkt-fade-up,
.mkt-stagger > :nth-child(1).mkt-fade-up { transition-delay: 0s; }
.mkt-stagger > .mud-grid-item:nth-child(2) .mkt-fade-up,
.mkt-stagger > :nth-child(2).mkt-fade-up { transition-delay: 0.08s; }
.mkt-stagger > .mud-grid-item:nth-child(3) .mkt-fade-up,
.mkt-stagger > :nth-child(3).mkt-fade-up { transition-delay: 0.16s; }
.mkt-stagger > .mud-grid-item:nth-child(4) .mkt-fade-up,
.mkt-stagger > :nth-child(4).mkt-fade-up { transition-delay: 0.24s; }
.mkt-stagger > .mud-grid-item:nth-child(5) .mkt-fade-up,
.mkt-stagger > :nth-child(5).mkt-fade-up { transition-delay: 0.32s; }
.mkt-stagger > .mud-grid-item:nth-child(6) .mkt-fade-up,
.mkt-stagger > :nth-child(6).mkt-fade-up { transition-delay: 0.4s; }
.mkt-stagger > .mud-grid-item:nth-child(7) .mkt-fade-up,
.mkt-stagger > :nth-child(7).mkt-fade-up { transition-delay: 0.44s; }
.mkt-stagger > .mud-grid-item:nth-child(8) .mkt-fade-up,
.mkt-stagger > :nth-child(8).mkt-fade-up { transition-delay: 0.48s; }
.mkt-stagger > .mud-grid-item:nth-child(9) .mkt-fade-up,
.mkt-stagger > :nth-child(9).mkt-fade-up { transition-delay: 0.52s; }

@media (prefers-reduced-motion: reduce) {
    .mkt-fade-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .mkt-pipeline-connector::before {
        animation: none;
    }
    .mkt-pricing-popular {
        animation: none;
    }
}

/* --- Pricing Shimmer & Hover ------------------------------- */
.mkt-pricing-popular {
    border: 2px solid #1E40AF;
    box-shadow: 0 4px 24px rgba(30, 64, 175, 0.12);
    position: relative;
    animation: mkt-glow 3s ease-in-out infinite;
}

@keyframes mkt-glow {
    0%, 100% { box-shadow: 0 4px 24px rgba(30, 64, 175, 0.12); }
    50% { box-shadow: 0 8px 40px rgba(30, 64, 175, 0.22), 0 0 0 1px rgba(96, 165, 250, 0.2); }
}

.mkt-pricing-card:hover {
    border-color: #93C5FD;
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.1);
    transform: translateY(-4px);
}

.mkt-pricing-popular:hover {
    border-color: #1E40AF;
}

/* --- Testimonial Enhancements ------------------------------ */
.mkt-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #EFF6FF;
    color: #1E40AF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.mkt-testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
    color: #F59E0B;
}

.mkt-testimonial-specialty {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #1E40AF;
    background: #EFF6FF;
    padding: 2px 10px;
    border-radius: 100px;
    margin-top: 6px;
    letter-spacing: 0.02em;
}

/* --- App Mockup Frame (Features page) ---------------------- */
.mkt-mockup {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mkt-mockup-bar {
    background: #E2E8F0;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 16px 16px 0 0;
}

.mkt-mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.mkt-mockup-dot:nth-child(1) { background: #FCA5A5; }
.mkt-mockup-dot:nth-child(2) { background: #FCD34D; }
.mkt-mockup-dot:nth-child(3) { background: #6EE7B7; }

.mkt-mockup-body {
    flex: 1;
    background: #FFFFFF;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 0 0 16px 16px;
    border: 1px solid #E2E8F0;
    border-top: none;
    overflow: hidden;
}

/* Mini kanban */
.mkt-mock-kanban {
    display: flex;
    gap: 8px;
    flex: 1;
}

.mkt-mock-kanban-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mkt-mock-kanban-header {
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 6px;
    border-radius: 4px;
    text-align: center;
}

.mkt-mock-kanban-card {
    height: 28px;
    border-radius: 4px;
    border-left: 3px solid;
    background: #F8FAFC;
    border-color: #94A3B8;
}

/* Mini chart */
.mkt-mock-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 120px;
    padding-top: 8px;
}

.mkt-mock-chart-bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
    min-height: 8px;
    transition: height 0.3s;
}

/* Mini calendar */
.mkt-mock-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    flex: 1;
}

.mkt-mock-cal-cell {
    aspect-ratio: 1;
    border-radius: 4px;
    background: #F8FAFC;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    color: #64748B;
}

.mkt-mock-cal-cell.active {
    background: #DBEAFE;
    color: #1E40AF;
    font-weight: 600;
}

/* Mini list rows */
.mkt-mock-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid #F1F5F9;
}

.mkt-mock-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mkt-mock-text-line {
    height: 8px;
    border-radius: 4px;
    background: #E2E8F0;
}

.mkt-mock-text-short {
    height: 6px;
    border-radius: 3px;
    background: #F1F5F9;
    margin-top: 4px;
}

/* Mini inventory bars */
.mkt-mock-inv-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
}

.mkt-mock-inv-swatch {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
}

.mkt-mock-inv-bar-bg {
    flex: 1;
    height: 8px;
    background: #F1F5F9;
    border-radius: 4px;
    overflow: hidden;
}

.mkt-mock-inv-bar-fill {
    height: 100%;
    border-radius: 4px;
}

/* Mini quote/invoice */
.mkt-mock-line-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #F1F5F9;
    font-size: 0.625rem;
    color: #64748B;
}

.mkt-mock-line-item:last-child {
    border-bottom: none;
    font-weight: 700;
    color: #0F172A;
}

/* --- Contact Form ------------------------------------------ */
.mkt-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
}

.mkt-contact-info-item .mud-icon-root {
    color: #1E40AF;
    margin-top: 2px;
}

/* --- Blazor Error Boundary -------------------------------- */
.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }
