:root {
    --bg: #0a0a0a;
    --surface: #111111;
    --card: #1a1a1a;
    --border: #2a2a2a;
    --accent: #00d4aa;
    --text: #e2e2e2;
    --muted: #888888;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --mono: 'Courier New', 'Consolas', monospace;
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.65;
    font-size: 16px;
}

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

/* NAV */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 24px;
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    font-family: var(--mono);
    font-size: 1rem;
    font-weight: bold;
    color: var(--accent);
    letter-spacing: 0.12em;
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

/* HERO */
.hero {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 24px 100px;
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
}

.hero-content h1 {
    font-family: var(--mono);
    font-size: clamp(3.5rem, 12vw, 8rem);
    font-weight: bold;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 28px;
}

.tagline {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--muted);
    max-width: 460px;
}

/* SECTIONS */
section {
    padding: 96px 0;
    border-bottom: 1px solid var(--border);
}

section h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text);
}

section > .container > p {
    color: var(--muted);
    max-width: 620px;
    margin-bottom: 14px;
}

/* MISSION VALUES */
.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-top: 52px;
}

.value h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.value p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0;
}

/* PROJECTS */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.project-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px;
    transition: border-color 0.2s;
}

.project-card:hover {
    border-color: #444;
}

.project-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.project-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

.badges {
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 3px 8px;
    border-radius: 4px;
}

.badge.live {
    background: rgba(0, 212, 170, 0.12);
    color: var(--accent);
    border: 1px solid rgba(0, 212, 170, 0.3);
}

.badge.private {
    background: rgba(136, 136, 136, 0.1);
    color: var(--muted);
    border: 1px solid rgba(136, 136, 136, 0.25);
}

.badge.coming-soon {
    background: rgba(255, 180, 50, 0.1);
    color: #ffb432;
    border: 1px solid rgba(255, 180, 50, 0.25);
}

/* STATUS INDICATOR */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    color: var(--muted);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--border);
    flex-shrink: 0;
}

.status-dot.up {
    background: var(--accent);
    box-shadow: 0 0 6px rgba(0, 212, 170, 0.5);
}

.status-dot.down {
    background: #ff4d4d;
    box-shadow: 0 0 6px rgba(255, 77, 77, 0.5);
}

.status-dot.unknown {
    background: var(--muted);
}

.project-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.85rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
    padding-bottom: 1px;
}

.project-link:hover {
    border-bottom-color: var(--accent);
}

.project-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0;
    max-width: none;
    line-height: 1.6;
}

/* CONTACT */
.contact p {
    margin-bottom: 20px;
}

.email-link {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-size: 1.05rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
    padding-bottom: 2px;
}

.email-link:hover {
    border-bottom-color: var(--accent);
}

/* FOOTER */
footer {
    padding: 32px 0;
}

footer .container {
    display: flex;
    justify-content: center;
}

footer span {
    color: var(--muted);
    font-size: 0.8rem;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    section {
        padding: 64px 0;
    }

    .hero-content {
        padding-bottom: 72px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .values {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
