/* ==========================================================
   Application-wide Styles
   ========================================================== */

/* Self-hosted Inter font family — works offline */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('lib/fontsource/inter/files/inter-latin-400-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('lib/fontsource/inter/files/inter-latin-500-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('lib/fontsource/inter/files/inter-latin-600-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('lib/fontsource/inter/files/inter-latin-700-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Light mode CSS custom properties for theming */
:root, html[data-bs-theme="light"] {
    --bs-body-font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color-scheme: light;
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --card-bg: #ffffff;
    --body-bg: #ffffff;
    --text-color: #212529;
    --secondary-text: #6c757d;
    --border-color: #dee2e6;
    --input-bg: #ffffff;
    --nav-bg: #0d6efd;
    --footer-bg: #f8f9fa;
    --premium-upsell-bg: linear-gradient(135deg, #ffd700, #ffea60);
    --premium-upsell-text: #1a1a2e;
    --premium-upsell-border: #d4a000;
    --premium-upsell-title: #d4a000;
    --premium-upsell-icon: #d4a000;
}

/* Dark mode overrides for CSS custom properties */
html[data-bs-theme="dark"] {
    color-scheme: dark;
    --primary-color: #3788ff;
    --secondary-color: #a0a0a0;
    --success-color: #26b050;
    --info-color: #4da3ff;
    --warning-color: #ffca2c;
    --danger-color: #ea868f;
    --card-bg: #2b3035;
    --body-bg: #1a1d20;
    --text-color: #e9ecef;
    --secondary-text: #adb5bd;
    --border-color: #495057;
    --input-bg: #343a40;
    --nav-bg: #111111;
    --footer-bg: #111111;
    --premium-upsell-bg: #1a1a2e;
    --premium-upsell-text: #ffd700;
    --premium-upsell-border: #ffd700;
    --premium-upsell-title: #ffd700;
    --premium-upsell-icon: #ffd700;
}

/* Apply Bootstrap body background and color variables */
body {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

/* Override Leaflet's default font-family to use the offline Inter stack */
.leaflet-container {
    font-family: var(--bs-body-font-family) !important;
}

/* Remove default focus outline from h1 elements */
h1:focus {
    outline: none;
}

/* Green outline for valid modified form inputs */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

/* Red outline for invalid form inputs */
.invalid {
    outline: 1px solid #e50000;
}

/* Red text for validation error messages */
.validation-message {
    color: #e50000;
}

#blazor-error-ui {
    background: var(--warning-color);
    color: #212529;
    bottom: 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

#blazor-error-ui .dismiss:hover {
    opacity: 1;
}

/* Blazor error boundary banner with warning icon and red background */
.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;
}

/* Error message text appended after the boundary banner */
.blazor-error-boundary::after {
    content: "An error has occurred."
}

/* Darker border for checkbox inputs */
.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* Subtle bottom shadow for the navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

/* Large pill-shaped theme toggle button */
.theme-toggle-btn {
    min-height: 3rem;
    min-width: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.5rem 1.15rem;
}

/* Bold larger text for the navbar brand/logo */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Utility class for 75% minimum viewport height */
.min-vh-75 {
    min-height: 75vh;
}

/* Global card rounding and soft shadow */
.card {
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
}

/* Theme-aware background for the site footer */
.footer {
    background-color: var(--footer-bg);
}

/* Centered auth form with a capped maximum width */
.auth-form {
    max-width: 400px;
    margin: 0 auto;
}

/* Small circular profile image thumbnail */
.profile-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* List item card with a bottom divider */
.volt-card {
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 0;
}

/* Remove bottom border from the last list card */
.volt-card:last-child {
    border-bottom: none;
}

/* Post author avatar constrained to a small circle */
.volt-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    max-width: 40px;
    min-height: 40px;
    max-height: 40px;
    object-fit: cover;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: #f0f0f0;
}

/* Show/hide theme toggle icons based on the root theme attribute.
   This prevents a flash of the wrong icon during Blazor prerender/hydration
   because CSS resolves immediately, before the component state is initialized. */
html[data-bs-theme="dark"] .theme-icon-light {
    display: none !important;
}

html[data-bs-theme="dark"] .theme-icon-dark {
    display: inline-block !important;
}

html[data-bs-theme="light"] .theme-icon-dark {
    display: none !important;
}

html[data-bs-theme="light"] .theme-icon-light {
    display: inline-block !important;
}

/* Dark mode overrides for Bootstrap utility classes that have fixed colors
   and do NOT automatically adapt to data-bs-theme. These rules ensure that
   bg-light, bg-white, text-muted, text-dark etc. look correct in dark mode
   without having to edit every single component. */
html[data-bs-theme="dark"] .bg-light {
    background-color: #2b3035 !important;
}

html[data-bs-theme="dark"] .bg-white {
    background-color: #1a1d20 !important;
}

html[data-bs-theme="dark"] .text-muted {
    color: #adb5bd !important;
}

html[data-bs-theme="dark"] .text-dark {
    color: #e9ecef !important;
}

html[data-bs-theme="dark"] .text-white {
    color: #212529 !important;
}

/* Cards in dark mode should use the dark card background */
html[data-bs-theme="dark"] .card {
    background-color: #2b3035;
    border-color: #495057;
}

html[data-bs-theme="dark"] .card-header {
    background-color: #343a40;
    border-bottom-color: #495057;
}

html[data-bs-theme="dark"] .card-footer {
    background-color: #343a40;
    border-top-color: #495057;
}

/* Modal content in dark mode */
html[data-bs-theme="dark"] .modal-content {
    background-color: #2b3035;
    border-color: #495057;
}

html[data-bs-theme="dark"] .modal-header {
    border-bottom-color: #495057;
}

html[data-bs-theme="dark"] .modal-footer {
    border-top-color: #495057;
}

/* Increase horizontal container padding on narrow screens */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ==========================================================
   VoltVerse Shared Design System (.vv-* utilities)
   Extracted from the beautified landing-page aesthetic.
   These classes layer on top of existing Bootstrap/styles.
   ========================================================== */

/* ── Cards ── */
.vv-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    height: 100%;
    transition: all 0.3s ease;
}

.vv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    border-color: transparent;
}

.vv-dashboard-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.vv-dashboard-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.vv-admin-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.vv-admin-card:hover {
    border-color: var(--primary-color);
}

/* ── Buttons ── */
.vv-btn-primary {
    background: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 999px;
    font-weight: 700;
    padding: 0.7rem 2rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.vv-btn-primary:hover {
    background: color-mix(in srgb, var(--primary-color) 85%, #000);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0,0,0,0.22);
}

.vv-btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--border-color);
    border-radius: 999px;
    font-weight: 700;
    padding: 0.7rem 2rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.vv-btn-secondary:hover {
    background: var(--card-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ── Section Titles ── */
.vv-section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

.vv-section-subtitle {
    font-size: 1.15rem;
    color: var(--secondary-text);
    margin-top: 0.5rem;
}

/* ── Gradient Text ── */
.vv-gradient-text {
    background: linear-gradient(90deg, #ffd700, #ffea60, #ffd700);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: vv-shimmer 3s linear infinite;
}

@keyframes vv-shimmer {
    to { background-position: 200% center; }
}

.landing-gradient-text {
    background: linear-gradient(90deg, #ffd700, #ffea60, #ffd700);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #ffd700;
    animation: landing-shimmer 3s linear infinite;
}

@keyframes landing-shimmer {
    to { background-position: 200% center; }
}

@keyframes landing-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

/* ── Badges ── */
.vv-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-color);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ── Feature / Detail Icons ── */
.vv-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    color: #fff;
}

.vv-icon-blue   { background: linear-gradient(135deg, #0d6efd, #0a58ca); }
.vv-icon-green  { background: linear-gradient(135deg, #198754, #146c43); }
.vv-icon-orange { background: linear-gradient(135deg, #fd7e14, #ca6510); }
.vv-icon-purple { background: linear-gradient(135deg, #6f42c1, #5a32a3); }
.vv-icon-teal   { background: linear-gradient(135deg, #20c997, #1aa179); }
.vv-icon-pink   { background: linear-gradient(135deg, #d63384, #b02a6f); }

/* ── Empty State ── */
.vv-empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.vv-empty-state i {
    font-size: 4rem;
    color: var(--secondary-text);
    margin-bottom: 1rem;
    display: inline-block;
}

.vv-empty-state h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.vv-empty-state p {
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
}

/* ── Hero ── */
.vv-hero {
    position: relative;
    overflow: hidden;
    background: var(--body-bg);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.vv-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, color-mix(in srgb, var(--primary-color) 12%, transparent), transparent 60%),
                radial-gradient(ellipse at bottom left, color-mix(in srgb, var(--primary-color) 8%, transparent), transparent 60%);
    pointer-events: none;
}

/* ── CTA Box ── */
.vv-cta-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3.5rem 2rem;
    color: var(--text-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
}

.vv-cta-box h2 {
    color: var(--text-color);
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.vv-cta-text {
    color: var(--secondary-text);
    font-size: 1.1rem;
}

/* ── Admin Stats ── */
.vv-admin-stat {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: border-color 0.2s ease;
}

.vv-admin-stat:hover {
    border-color: var(--primary-color);
}

.vv-admin-stat .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.vv-admin-stat .stat-label {
    font-size: 0.85rem;
    color: var(--secondary-text);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Hover Lift (additive) ── */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* ── Dark Mode Overrides ── */
html[data-bs-theme="dark"] .vv-card {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

html[data-bs-theme="dark"] .vv-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

html[data-bs-theme="dark"] .vv-dashboard-card {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

html[data-bs-theme="dark"] .vv-admin-card {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

html[data-bs-theme="dark"] .vv-admin-card:hover {
    border-color: var(--primary-color);
}

html[data-bs-theme="dark"] .btn.vv-btn-secondary,
html[data-bs-theme="dark"] .vv-btn-secondary {
    color: var(--text-color) !important;
    background: transparent !important;
    border-color: var(--text-color) !important;
}

html[data-bs-theme="dark"] .btn.vv-btn-secondary:hover,
html[data-bs-theme="dark"] .vv-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

/* Safety net: Bootstrap btn-outline-secondary is nearly invisible in dark mode */
html[data-bs-theme="dark"] .btn.btn-outline-secondary,
html[data-bs-theme="dark"] .btn-outline-secondary {
    color: var(--text-color) !important;
    border-color: var(--text-color) !important;
    background: transparent !important;
}

html[data-bs-theme="dark"] .btn.btn-outline-secondary:hover,
html[data-bs-theme="dark"] .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

html[data-bs-theme="dark"] .vv-badge {
    background: var(--card-bg);
    border-color: var(--border-color);
}

html[data-bs-theme="dark"] .vv-cta-box {
    background: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

html[data-bs-theme="dark"] .vv-admin-stat {
    background: var(--card-bg);
    border-color: var(--border-color);
}

html[data-bs-theme="dark"] .hover-lift:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* ==========================================================
   Landing Page Styles (global fallback)
   ========================================================== */

/* ── Hero Section ── */
.landing-hero {
    position: relative;
    overflow: hidden;
    background: var(--body-bg);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.landing-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, color-mix(in srgb, var(--primary-color) 12%, transparent), transparent 60%),
                radial-gradient(ellipse at bottom left, color-mix(in srgb, var(--primary-color) 8%, transparent), transparent 60%);
    pointer-events: none;
}

.min-vh-90 {
    min-height: 90vh;
}

.landing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-color);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.landing-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-color);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.landing-hero-subtitle {
    font-size: 1.25rem;
    color: var(--secondary-text);
    max-width: 540px;
    line-height: 1.6;
}

.landing-hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    animation: landing-float 6s ease-in-out infinite;
}

/* ── CTA Buttons ── */
.landing-cta-primary {
    background: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 999px;
    font-weight: 700;
    padding: 0.7rem 2rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.landing-cta-primary:hover {
    background: color-mix(in srgb, var(--primary-color) 85%, #000);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0,0,0,0.22);
}

.landing-cta-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--border-color);
    border-radius: 999px;
    font-weight: 700;
    padding: 0.7rem 2rem;
    transition: all 0.25s ease;
}

.landing-cta-secondary:hover {
    background: var(--card-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ── Stats Bar ── */
.landing-stats {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 2.5rem 0;
}

.landing-stat-item {
    padding: 1rem 0.5rem;
    border-right: 1px solid var(--border-color);
}

.landing-stat-item:last-child {
    border-right: none;
}

.landing-stat-number {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.landing-stat-label {
    font-size: 0.85rem;
    color: var(--secondary-text);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Features Section ── */
.landing-features {
    padding: 5rem 0;
    background: var(--body-bg);
}

.landing-section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

.landing-section-subtitle {
    font-size: 1.15rem;
    color: var(--secondary-text);
    margin-top: 0.5rem;
}

.landing-feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    height: 100%;
    transition: all 0.3s ease;
}

.landing-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    border-color: transparent;
}

.landing-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    color: #fff;
}

.landing-icon-blue   { background: linear-gradient(135deg, #0d6efd, #0a58ca); }
.landing-icon-green  { background: linear-gradient(135deg, #198754, #146c43); }
.landing-icon-orange { background: linear-gradient(135deg, #fd7e14, #ca6510); }
.landing-icon-purple { background: linear-gradient(135deg, #6f42c1, #5a32a3); }
.landing-icon-teal   { background: linear-gradient(135deg, #20c997, #1aa179); }
.landing-icon-pink   { background: linear-gradient(135deg, #d63384, #b02a6f); }

.landing-feature-title {
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.landing-feature-desc {
    color: var(--secondary-text);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ── CTA Section ── */
.landing-cta-section {
    padding: 4rem 0 5rem;
    background: var(--body-bg);
}

.landing-cta-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3.5rem 2rem;
    color: var(--text-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.landing-cta-box h2 {
    color: var(--text-color);
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.landing-cta-text {
    color: var(--secondary-text);
    font-size: 1.1rem;
}

/* ── Landing Responsive ── */
@media (max-width: 768px) {
    .landing-stat-item:nth-child(2) {
        border-right: none;
    }
    .landing-stat-item:nth-child(1),
    .landing-stat-item:nth-child(2) {
        border-bottom: 1px solid var(--border-color);
    }
}

/* ==========================================================
   Pagination control layout (shared across all components)
   ========================================================== */
.vv-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.vv-pagination .btn.disabled,
.vv-pagination .btn:disabled {
    opacity: 0.5;
    pointer-events: none;
}
