:root {
    --brand-primary: #0d3b66;
    --brand-accent: #f4a024;
    --brand-light: #f4f7fb;
    --bs-primary: #0d3b66;
    --bs-primary-rgb: 13, 59, 102;
    --bs-link-color: #0d3b66;
    --bs-link-color-rgb: 13, 59, 102;
    --bs-link-hover-color: #1a5490;
    --bs-link-hover-color-rgb: 26, 84, 144;
    --bs-body-color: #1f2937;
    --bs-body-color-rgb: 31, 41, 55;
    --bs-body-font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    --bs-focus-ring-color: rgba(13, 59, 102, 0.25);
}

.hero-section {
    background: linear-gradient(135deg, #585d65 0%, #636a75 60%, #d0d3d5 100%);
    color: #fff;
}

.hero-eyebrow {
    color: var(--brand-accent);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 1.5rem;
}

.hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.88);
    max-width: 42rem;
}

.product-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(13, 59, 102, 0.12) !important;
}

.site-footer {
    background: #0a2d4d;
    color: rgba(255, 255, 255, 0.85);
}

.footer-link:hover {
    color: var(--brand-accent) !important;
}

.navbar.site-navbar {
    background: linear-gradient(135deg, #0d3b66 0%, #1a5490 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar.site-navbar .nav-link {
    font-weight: 500;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
}

.navbar.site-navbar .nav-link.active {
    color: #f4a024 !important;
}

.site-navbar .navbar-brand {
    font-size: 1.05rem;
    max-width: 70vw;
    white-space: normal;
    line-height: 1.3;
}

@media (min-width: 992px) {
    .site-navbar .navbar-brand {
        max-width: none;
        white-space: nowrap;
    }
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1100;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
