/* ===== WinVision Dark Futuristic Theme ===== */

/* Suppress Blazor enhanced-nav focus rectangle on headings */
h1:focus, h2:focus, h3:focus,
h1:focus-visible, h2:focus-visible, h3:focus-visible,
[tabindex]:focus, [tabindex]:focus-visible {
    outline: none;
}

/* --- CSS Variables --- */
:root {
    --bg-primary: #0a0a1a;
    --bg-section-alt: #0d0d24;
    --bg-card: rgba(22, 22, 48, 0.7);
    --bg-card-hover: rgba(30, 30, 60, 0.85);
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-cyan: #06b6d4;
    --accent-purple: #a855f7;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;
    --border-glow: rgba(99, 102, 241, 0.18);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --navbar-height: 72px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

/* --- Global --- */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding-top: var(--navbar-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Bootstrap Dark Overrides --- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(129, 140, 248, 0.35);
    transform: translateY(-6px);
    box-shadow:
        0 12px 40px rgba(99, 102, 241, 0.12),
        0 0 0 1px rgba(99, 102, 241, 0.08);
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

.text-muted {
    color: var(--text-tertiary) !important;
}

.table {
    color: var(--text-primary);
}

.table td {
    border-color: var(--border-subtle);
}

a {
    color: var(--accent-light);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-cyan);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* --- Navbar (Glass) --- */
.site-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(16px) saturate(1.8);
    -webkit-backdrop-filter: blur(16px) saturate(1.8);
    border-bottom: 1px solid var(--border-subtle);
    height: var(--navbar-height);
}

.site-navbar .navbar-brand {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.site-navbar .navbar-brand:hover {
    color: var(--accent-light);
}

.site-navbar .navbar-brand img {
    border-radius: 6px;
}

.site-navbar .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    padding: 0.5rem 1rem !important;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--text-primary);
}

.site-navbar .navbar-toggler {
    border-color: var(--border-glow);
    padding: 0.35rem 0.65rem;
}

.site-navbar .navbar-toggler-icon {
    filter: invert(1);
}

.site-navbar .navbar-collapse {
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .site-navbar .navbar-collapse {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0;
    }
}

.navbar-github-link {
    color: var(--text-secondary);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.navbar-github-link:hover {
    color: var(--text-primary);
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(160deg, #0a0a1a 0%, #131340 35%, #1e1060 55%, #131340 75%, #0a0a1a 100%);
    position: relative;
    overflow: hidden;
    padding: 7rem 0 8rem;
}

.hero-section .hero-content {
    position: relative;
    z-index: 2;
}

.hero-dot-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(99, 102, 241, 0.12) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 1;
    opacity: 0.5;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.35;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent);
    top: -150px;
    right: -150px;
    animation: orbFloat1 8s ease-in-out infinite;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-cyan);
    bottom: -120px;
    left: -120px;
    animation: orbFloat2 10s ease-in-out infinite;
}

.hero-orb-3 {
    width: 250px;
    height: 250px;
    background: var(--accent-purple);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbFloat3 12s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-50px, 35px); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, -50px); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.3); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: var(--accent-light);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-icon {
    width: 88px;
    height: 88px;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.2);
}

.gradient-heading {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-light) 50%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-description {
    max-width: 640px;
    margin: 0 auto;
    color: var(--text-tertiary);
    font-size: 1.05rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    border: none;
    padding: 0.85rem 2.25rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(99, 102, 241, 0.5);
    color: #fff;
}

.btn-outline-light-custom {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.85rem 2.25rem;
    font-weight: 500;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline-light-custom:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline-light-custom svg {
    width: 18px;
    height: 18px;
}

/* --- Sections --- */
.section-alt {
    background-color: var(--bg-section-alt);
}

.section-heading {
    text-align: center;
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: -0.03em;
}

.section-heading::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-cyan));
    border-radius: 2px;
    margin: 12px auto 0;
}

.section-subheading {
    text-align: center;
    color: var(--text-tertiary);
    max-width: 600px;
    margin: 1rem auto 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
}

/* --- Feature Cards --- */
.feature-card {
    position: relative;
    overflow: hidden;
    padding-top: 2px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-cyan));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    border: 1px solid rgba(99, 102, 241, 0.12);
}

.feature-icon svg {
    width: 26px;
    height: 26px;
    color: var(--accent-light);
}

/* --- Code Block --- */
pre {
    background: rgba(12, 12, 32, 0.9) !important;
    border: 1px solid var(--border-glow);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 1.25rem !important;
}

pre code {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-family: 'Cascadia Code', 'Fira Code', 'JetBrains Mono', monospace;
    line-height: 1.8;
}

/* --- How It Works SVG --- */
.how-it-works-svg {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.screen-glow {
    opacity: 0.08;
    animation: screenGlow 3s ease-in-out infinite;
}

.lens-glow {
    opacity: 0.06;
    animation: lensGlow 3s ease-in-out infinite 1.5s;
}

@keyframes screenGlow {
    0%, 100% { opacity: 0.05; }
    50% { opacity: 0.15; }
}

@keyframes lensGlow {
    0%, 100% { opacity: 0.04; }
    50% { opacity: 0.12; }
}

/* --- How It Works Cards --- */
.how-it-works-card {
    position: relative;
    overflow: hidden;
}

.how-it-works-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-cyan));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.how-it-works-card:hover::before {
    opacity: 1;
}

.how-it-works-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* --- Hologram effects in lenses --- */
.holo-content {
    animation: holoFlicker 4s ease-in-out infinite;
}

.holo-scan-bar {
    opacity: 0.12;
    animation: holoScan 3s linear infinite;
}

@keyframes holoFlicker {
    0%, 100% { opacity: 1; }
    48% { opacity: 1; }
    50% { opacity: 0.7; }
    52% { opacity: 1; }
    78% { opacity: 1; }
    80% { opacity: 0.85; }
    82% { opacity: 1; }
}

@keyframes holoScan {
    0% { transform: translateY(0); }
    100% { transform: translateY(40px); }
}

/* --- Blinking text cursor in editor --- */
.text-cursor {
    animation: textCursorBlink 1s step-end infinite;
}

@keyframes textCursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .screen-glow,
    .lens-glow,
    .holo-content,
    .holo-scan-bar,
    .text-cursor {
        animation: none;
    }

    .mouse-cursor,
    .mouse-cursor * {
        animation: none !important;
        animation-play-state: paused !important;
    }

    .stream-particle,
    .stream-particle * {
        animation: none !important;
        animation-play-state: paused !important;
    }

    .how-it-works-svg animateMotion,
    .how-it-works-svg animate {
        dur: 0s;
    }
}

/* --- Platform Cards --- */
.platform-card {
    text-align: center;
}

.platform-card .card-body {
    padding: 2rem 1.5rem;
}

.platform-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--accent-light);
}

.platform-badge {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.platform-badge-primary {
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-light);
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.platform-badge-supported {
    background: rgba(6, 182, 212, 0.12);
    color: var(--accent-cyan);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.platform-badge-basic {
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-tertiary);
    border: 1px solid rgba(148, 163, 184, 0.15);
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(160deg, #0d0d24 0%, #1a1050 50%, #0d0d24 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(99, 102, 241, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.5;
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

/* --- Footer --- */
.site-footer {
    background: #060612;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 3.5rem 0 2rem;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-primary);
    text-decoration: none;
    margin-bottom: 0.75rem;
}

.footer-brand img {
    border-radius: 6px;
}

.footer-brand:hover {
    color: var(--text-primary);
}

.footer-description {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-heading {
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-social a {
    color: var(--text-tertiary);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.footer-social a:hover {
    color: var(--text-primary);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

/* --- Scroll Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* --- Downloads Page --- */
.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-cyan), var(--accent-purple));
}

.download-card:hover {
    border-color: rgba(129, 140, 248, 0.35);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
    transform: translateY(-4px);
}

.download-icon {
    width: 52px;
    height: 52px;
    color: var(--accent-light);
    margin-bottom: 1.25rem;
}

.btn-download {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    border: none;
    padding: 0.85rem 2.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(99, 102, 241, 0.5);
    color: #fff;
}

/* Getting Started Steps */
.step-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.step-list li {
    counter-increment: step-counter;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-list li:last-child {
    border-bottom: none;
}

.step-list li::before {
    content: counter(step-counter);
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* System Req Table */
.dark-table {
    background: transparent;
}

.dark-table td {
    padding: 0.85rem 1.25rem;
    border-color: var(--border-subtle);
}

.dark-table td:first-child {
    color: var(--accent-light);
    font-weight: 600;
    white-space: nowrap;
}

/* --- Bug Report Page --- */
.bug-report-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.bug-report-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-cyan), var(--accent-purple));
}

.bug-report-input,
.bug-report-input.form-control,
.bug-report-input.form-select {
    background: rgba(12, 12, 32, 0.7);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.65rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bug-report-input:focus,
.bug-report-input.form-control:focus,
.bug-report-input.form-select:focus {
    background: rgba(12, 12, 32, 0.9);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    color: var(--text-primary);
    outline: none;
}

.bug-report-input::placeholder {
    color: var(--text-tertiary);
}

.bug-report-input option {
    background: #0a0a1a;
    color: var(--text-primary);
}

/* Radzen HTML Editor dark theme overrides */
.bug-report-editor .rz-html-editor {
    background: rgba(12, 12, 32, 0.7);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.bug-report-editor .rz-html-editor:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.bug-report-editor .rz-html-editor-toolbar {
    background: rgba(22, 22, 48, 0.9);
    border-bottom: 1px solid var(--border-subtle);
}

.bug-report-editor .rz-html-editor-toolbar .rz-button {
    color: var(--text-secondary);
    background: transparent;
    border: none;
}

.bug-report-editor .rz-html-editor-toolbar .rz-button:hover {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.12);
}

.bug-report-editor .rz-html-editor-content {
    background: rgba(12, 12, 32, 0.5);
    color: var(--text-primary);
    min-height: 250px;
}

.bug-report-editor .rz-html-editor-content .rz-editor {
    color: var(--text-primary);
}

.bug-report-editor .rz-html-editor-separator {
    background: var(--border-subtle);
}

.bug-report-success {
    background: rgba(22, 48, 32, 0.5);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.bug-report-alert-error {
    background: rgba(48, 22, 22, 0.5);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-sm);
    color: #fca5a5;
    display: flex;
    align-items: center;
}

/* File input dark styling */
.bug-report-input[type="file"]::file-selector-button,
input[type="file"].bug-report-input::file-selector-button {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.25);
    color: var(--accent-light);
    border-radius: 6px;
    padding: 0.4rem 1rem;
    margin-right: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.bug-report-input[type="file"]::file-selector-button:hover,
input[type="file"].bug-report-input::file-selector-button:hover {
    background: rgba(99, 102, 241, 0.25);
}

/* Turnstile container */
#turnstile-container {
    display: flex;
    justify-content: center;
}

/* Form labels */
.bug-report-card .form-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.bug-report-card .form-text {
    color: var(--text-tertiary);
}

/* --- Legal Pages (Privacy Policy, Terms of Service) --- */
.legal-page {
    padding: 5rem 0 4rem;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-effective {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.legal-content {
    max-width: 780px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.legal-content h2 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

.legal-content .table {
    margin: 1.25rem 0;
}

.legal-content .table th {
    color: var(--accent-light);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-color: var(--border-subtle);
    padding: 0.75rem 1rem;
}

.legal-content .table td {
    padding: 0.75rem 1rem;
}

.legal-content .list-unstyled li {
    margin-bottom: 0.25rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0 5rem;
    }

    .hero-section h1 {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-orb {
        opacity: 0.2;
    }

    :root {
        --navbar-height: 60px;
    }

    .section-heading {
        font-size: 1.65rem;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 3rem 0 4rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .step-list li {
        font-size: 0.95rem;
    }
}
