:root {
    --bg: #0A0A0C;
    --surface: #141418;
    --surface-border: #2A2A35;
    --primary: #00FFCC;
    --primary-glow: rgba(0, 255, 204, 0.2);
    --text: #F3F4F6;
    --text-muted: #9CA3AF;
    --danger: #FF3366;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.glow {
    position: fixed;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100vw;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    border-bottom: 1px solid var(--surface-border);
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--text);
}

.btn-primary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary);
    color: var(--bg);
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-1px);
}

.hero {
    padding: 6rem 4rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #FFF, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 4rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: var(--primary);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.dashboard {
    max-width: 1200px;
    margin: 0 auto 6rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    padding: 0 4rem;
}

.panel {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 2rem;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.panel h2 {
    font-size: 1.2rem;
    font-weight: 600;
}

.status-indicator.live {
    width: 10px;
    height: 10px;
    background: var(--danger);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 51, 102, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 51, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 51, 102, 0); }
}

.audit-list {
    list-style: none;
}

.audit-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--surface-border);
    animation: slideIn 0.3s ease-out forwards;
    opacity: 0;
    transform: translateX(-10px);
}

.audit-item:last-child {
    border-bottom: none;
}

.audit-meta {
    display: flex;
    flex-direction: column;
}

.hash {
    font-family: monospace;
    color: var(--primary);
    font-size: 0.85rem;
}

.supplier {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.status {
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
}

.status.verified {
    background: rgba(0, 255, 204, 0.1);
    color: var(--primary);
}

.status.violation {
    background: rgba(255, 51, 102, 0.1);
    color: var(--danger);
}

@keyframes slideIn {
    to { opacity: 1; transform: translateX(0); }
}

.chart-mockup {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 150px;
    margin-bottom: 1rem;
}

.bar {
    flex: 1;
    background: var(--surface-border);
    border-radius: 4px 4px 0 0;
    transition: height 1s ease, background 0.3s ease;
}

.bar:hover {
    background: var(--primary);
}

.chart-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}
