@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --gold: #d4af37;
    --gold-muted: rgba(212, 175, 55, 0.15);
    --cyber-glow: rgba(212, 175, 55, 0.25);
    --dark-bg: #030303;
    --surface: rgba(255, 255, 255, 0.02);
    --border: rgba(255, 255, 255, 0.06);
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    --font-mono: 'Space Grotesk', monospace;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--dark-bg);
    color: #e5e7eb;
    font-family: var(--font-primary);
    overflow-x: hidden;
    position: relative;
    /* A single, merged, hardware-accelerated static background mesh */
    background: 
        radial-gradient(circle at 15% 10%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 40%),
        #050505;
    background-attachment: fixed;
}

/* 💎 ULTRA-PERFORMANCE SURFACES (No Backdrop Filters) */
.cyber-glass {
    background: #0c0c0c; /* Fixed opaque surface */
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
}

/* Laser Border Edge Highlight */
.cyber-glass::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
}

/* 📊 LIGHTWEIGHT HOVER EFFECT (Compositor Only) */
.hover-scan {
    position: relative;
    transition: transform 0.3s ease-out, border-color 0.3s ease;
    will-change: transform;
}
.hover-scan:hover {
    border-color: var(--gold-muted);
    transform: translateY(-2px);
}

/* 🌟 ADVANCED TYPOGRAPHY & DECORATION */
.mono-text {
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
}

.gold-glow-text {
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

/* 🎞️ MOCKUP SKELETON EFFECTS */
.mockup-frame {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    perspective: 1000px;
}
.mockup-frame img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.mockup-frame:hover img {
    transform: scale(1.05) translateY(-5px);
}
.mockup-reflection {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
}

/* ✨ MOTION CORE */
.fade-in {
    opacity: 0;
    animation: smartFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes smartFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* INPUT FIELDS: FOCUSED INTENSITY */
.glass-input {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
    color: white;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.glass-input:focus {
    background: rgba(0,0,0,0.6);
    border-color: rgba(212,175,55,0.5);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2), 0 0 15px rgba(212,175,55,0.1);
    outline: none;
}

/* BUTTONS: KINETIC FEEDBACK */
.btn-kinetic {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.btn-kinetic:active {
    transform: scale(0.97);
}
.btn-kinetic::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 150%; height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.4s, opacity 0.4s;
}
.btn-kinetic:active::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    transition: 0s;
}

/* 🔔 TOAST REDUX */
#toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1a1a1a; /* Completely flat */
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-top: 2px solid var(--gold);
    padding: 18px 26px;
    border-radius: 16px;
    color: #fff;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    z-index: 1000;
    transform: translateY(100px) scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#toast.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

/* Custom Scrollbar for Cinematic look */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #050505;
}
::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 4px;
    border: 2px solid #050505;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}
