/* ============================================
   JarvisGadgets — Kinetic Obsidian Theme
   ============================================ */

:root {
    --obsidian: #10141a;
    --surface: #181c22;
    --surface-high: #1c2026;
    --cyan-primary: #00f0ff;
    --cyan-dim: rgba(0, 240, 255, 0.15);
    --text-main: #dfe2eb;
    --text-muted: #849495;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--obsidian);
    color: var(--text-main);
    font-family: 'Space Grotesk', sans-serif;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* ============================================
   AUDIT CARDS
   ============================================ */

.audit-card {
    background-color: var(--surface);
    border: 1px solid transparent;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.audit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: var(--cyan-primary);
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.audit-card:hover::before {
    height: 100%;
}

.audit-card:hover {
    border-color: rgba(0, 240, 255, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 240, 255, 0.04);
}

/* Image container */
.audit-card .image-container {
    overflow: hidden;
    background-color: var(--obsidian);
}

/* Verdict badge */
.verdict-badge {
    background: var(--cyan-primary);
    color: var(--obsidian);
    font-weight: 900;
    padding: 2px 8px;
    clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
    display: inline-block;
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--obsidian);
}

::-webkit-scrollbar-thumb {
    background: #252a33;
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cyan-primary);
}

/* ============================================
   UTILITIES
   ============================================ */

.glow-text {
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

/* Line clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

.audit-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger cards */
.audit-card:nth-child(1) { animation-delay: 0.05s; }
.audit-card:nth-child(2) { animation-delay: 0.10s; }
.audit-card:nth-child(3) { animation-delay: 0.15s; }
.audit-card:nth-child(4) { animation-delay: 0.20s; }
.audit-card:nth-child(5) { animation-delay: 0.25s; }
.audit-card:nth-child(6) { animation-delay: 0.30s; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .audit-card:hover {
        transform: translateY(-3px);
    }
}
