/* NanoFact PPF — Obsidian Black & Neon Green Automotive Theme */
:root {
    --nf-bg: #050605;
    --nf-surface: #0b0d0b;
    --nf-surface-elevated: #121512;
    --nf-green: #5cc42b;
    --nf-green-bright: #6ee738;
    --nf-green-deep: #358511;
    --nf-border: rgba(255, 255, 255, 0.09);
    --nf-border-bright: rgba(92, 196, 43, 0.45);
}

html {
    background-color: var(--nf-bg);
    color: #f4f5f4;
    scroll-behavior: smooth;
}

body {
    background-color: var(--nf-bg);
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #050605;
}
::-webkit-scrollbar-thumb {
    background: #222822;
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5cc42b;
}

/* Carbon Black & Glass Surfaces */
.glass-panel {
    background: rgba(11, 13, 11, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.metallic-card {
    background: linear-gradient(145deg, rgba(20, 24, 20, 0.9) 0%, rgba(8, 10, 8, 0.97) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05), 0 24px 48px -18px rgba(0, 0, 0, 0.82);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.metallic-card:hover {
    border-color: rgba(92, 196, 43, 0.45);
    box-shadow: inset 0 1px 0 0 rgba(92, 196, 43, 0.16), 0 28px 56px -18px rgba(92, 196, 43, 0.14);
}

.tech-grid-bg {
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
    background-size: 48px 48px;
}

.glow-cyan {
    box-shadow: 0 0 34px -6px rgba(92, 196, 43, 0.38);
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 45%, #a1a7a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-cyan-gradient {
    background: linear-gradient(135deg, #74eb3b 0%, #5cc42b 58%, #3fa114 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes scanSweep {
    0% { transform: translateY(-100%); opacity: 0; }
    20% { opacity: 0.7; }
    80% { opacity: 0.7; }
    100% { transform: translateY(450%); opacity: 0; }
}

.scan-sweep {
    animation: scanSweep 4.5s ease-in-out infinite;
}

.comparison-wrapper {
    position: relative;
    overflow: hidden;
    user-select: none;
}

@media print {
    body {
        background: #ffffff !important;
        color: #0f172a !important;
    }
    .no-print {
        display: none !important;
    }
    .print-certificate {
        box-shadow: none !important;
        border: 2px solid #0f172a !important;
        background: #ffffff !important;
        color: #0f172a !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}
