/* ========================================================
   MOLIS.WEB.ID - LUXURY AUTOMOTIVE INTELLIGENCE STYLES
   Electric Motorcycle Intelligence Platform
   ======================================================== */

:root {
    --ev-primary: #0284c7;
    --ev-accent: #10b981;
    --ev-dark: #090d16;
    --ev-surface: #0f172a;
    --ev-glow: rgba(16, 185, 129, 0.25);
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Engineering Monospace for Specs (kWh, Nm, km/h, Volt) */
.font-spec {
    font-family: 'JetBrains Mono', monospace;
    font-feature-settings: 'tnum' on, 'zero' on;
}

/* Custom scrollbars */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Glassmorphism effects */
.glass-nav {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.dark .glass-nav {
    background: rgba(9, 13, 22, 0.94);
    border-bottom: 1px solid rgba(30, 41, 59, 0.85);
}

/* Luxury Automotive Hero Glows */
.hero-mesh-dark {
    background-color: #090d16;
    background-image: 
        radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.18) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(14, 165, 233, 0.18) 0px, transparent 50%),
        radial-gradient(at 50% 100%, rgba(99, 102, 241, 0.12) 0px, transparent 50%);
}

.hero-mesh-light {
    background-image: 
        radial-gradient(at 10% 20%, rgba(16, 185, 129, 0.08) 0px, transparent 40%),
        radial-gradient(at 90% 80%, rgba(14, 165, 233, 0.08) 0px, transparent 40%);
}

/* Spec sheet comparisons & cards */
.spec-highlight-better {
    background-color: #ecfdf5 !important;
    border-left: 3px solid #10b981 !important;
    font-weight: 700 !important;
    color: #065f46 !important;
}

.spec-table tr:hover {
    background-color: #f8fafc;
}

/* Electric glow badges */
.glow-ev {
    box-shadow: 0 0 25px -4px rgba(16, 185, 129, 0.35);
}

.glow-blue {
    box-shadow: 0 0 25px -4px rgba(14, 165, 233, 0.35);
}

/* Official Molis Verified Badge */
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.2rem 0.55rem;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.35);
    box-shadow: 0 1px 2px rgba(16, 185, 129, 0.1);
}

.verified-badge-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.2rem 0.55rem;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    backdrop-filter: blur(8px);
}

/* TKDN Official Seal */
.tkdn-seal {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.15rem 0.5rem;
    border-radius: 0.375rem;
    background-color: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

/* Compare floating dock */
#compare-dock {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Smooth card transitions */
.bike-card {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.bike-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
    border-color: rgba(16, 185, 129, 0.5);
}

/* Shimmer animation for loading / highlight */
@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}
.shimmer-badge {
    position: relative;
    overflow: hidden;
}
.shimmer-badge::after {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.3) 20%,
        rgba(255, 255, 255, 0.5) 60%,
        rgba(255, 255, 255, 0)
    );
    animation: shimmer 3s infinite;
    content: '';
}

/* Studio lighting vehicle stage */
.studio-stage {
    background: radial-gradient(circle at 50% 65%, rgba(241, 245, 249, 1) 0%, rgba(226, 232, 240, 0.6) 100%);
    position: relative;
}

.studio-stage::after {
    content: '';
    position: absolute;
    bottom: 8%;
    left: 15%;
    right: 15%;
    height: 14px;
    background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.16) 0%, transparent 75%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(4px);
}

/* Dropdown menu animation */
.nav-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.group:hover .nav-dropdown,
.group:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Metric Pill in cards */
.metric-pill {
    display: inline-flex;
    flex-direction: column;
    padding: 0.35rem 0.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    transition: all 0.15s ease;
}

.metric-pill:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
    box-shadow: 0 -4px 20px -2px rgba(15, 23, 42, 0.08);
}

/* Print spec sheet */
@media print {
    nav, footer, #compare-dock, .no-print {
        display: none !important;
    }
}
