/* Base Variables & Reset */
:root {
    --bg-color: #0d1117;
    --card-bg: #161b22;
    --card-hover: #1f242c;
    --text-main: #c9d1d9;
    --text-muted: #8b949e;
    --accent: #58a6ff;
    --border: #30363d;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family:
        system-ui,
        -apple-system,
        sans-serif;
    line-height: 1.6;
}

.labs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.labs-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent);
    font-weight: 400;
}

.btn-outline {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    border: 1px solid var(--border);
    padding: 6px 16px;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero-section {
    padding: 80px 0 60px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.architecture-badges {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

/* Products Section */
.products-section {
    padding: 60px 0;
}

.products-section h2 {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.product-icon {
    font-size: 32px;
}

.status-badge {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.status-badge.active {
    background: rgba(46, 160, 67, 0.15);
    color: #3fb950;
    border: 1px solid rgba(46, 160, 67, 0.4);
}

.status-badge.pending {
    background: rgba(139, 148, 158, 0.1);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.product-card h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
}

.product-card p {
    color: var(--text-muted);
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.card-footer {
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
}

.card-footer.muted {
    color: var(--text-muted);
    font-weight: 400;
}

/* Footer */
.labs-footer {
    text-align: center;
    padding: 60px 0 40px;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid var(--border);
    margin-top: 60px;
}
