/* Jrlicos Labs - Carbon Mint Theme
 * Derived from index.html design system
 */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* CSS Variables - Carbon Mint Palette */
:root {
    /* Background Colors */
    --carbon-bg: #0D0D0D;
    --carbon-surface: #1A1A1A;
    --carbon-border: #2D2D2D;
    
    /* Accent Colors */
    --mint-glow: #00FFC2;
    --mint-muted: #00664E;
    --mint-highlight: #57FFD9;
    
    /* Text Colors */
    --text-main: #E2E2E2;
    --text-dim: #888888;
    --text-muted: #555555;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--carbon-bg);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Classes */
.font-sans {
    font-family: var(--font-sans);
}

.font-mono {
    font-family: var(--font-mono);
}

.mono {
    font-family: var(--font-mono);
}

/* Glass Card Component */
.glass-card {
    background: var(--carbon-surface);
    border: 1px solid var(--carbon-border);
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: var(--mint-glow);
    box-shadow: 0 0 20px rgba(0, 255, 194, 0.1);
    transform: translateY(-4px);
}

/* Mint Glow Text */
.mint-glow-text {
    color: var(--mint-glow);
    text-shadow: 0 0 10px rgba(0, 255, 194, 0.3);
}

/* Mint Button */
.mint-button {
    display: inline-block;
    background-color: var(--mint-glow);
    color: #000;
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.625rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.mint-button:hover {
    background-color: var(--mint-highlight);
    box-shadow: 0 0 15px var(--mint-glow);
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-mono);
}

.status-badge--online {
    background-color: rgba(0, 255, 194, 0.1);
    color: var(--mint-glow);
    border: 1px solid rgba(0, 255, 194, 0.2);
}

.status-badge--dev {
    background-color: rgba(136, 136, 136, 0.1);
    color: var(--text-dim);
    border: 1px solid var(--carbon-border);
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #22c55e;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Custom Scrollbar - 2026 Aesthetic */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--carbon-border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--mint-muted);
}

/* Section Headers */
.section-header {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    font-family: var(--font-mono);
    text-decoration: underline;
    text-decoration-color: var(--carbon-border);
    text-underline-offset: 8px;
}

/* Card Links */
.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-link:hover {
    color: inherit;
}

/* Navigation */
.nav-link {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: white;
}

/* Info Grid */
.info-grid {
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.info-grid-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--carbon-border);
    padding: 0.5rem 0;
}

.info-grid-label {
    color: var(--text-muted);
}

.info-grid-value {
    color: var(--text-main);
}

/* Gradient Accent */
.gradient-accent {
    background: linear-gradient(to top right, rgba(0, 255, 194, 0.05), transparent);
}

/* Utility Classes */
.text-dim {
    color: var(--text-dim);
}

.text-muted {
    color: var(--text-muted);
}

.bg-surface {
    background-color: var(--carbon-surface);
}

.border-subtle {
    border-color: var(--carbon-border);
}