/* css/style.css */
:root {
    --bg-color: #0b0b0b;
    --surface-color: #141414;
    --border-color: #262626;
    --text-main: #e2e2e2;
    --text-muted: #b3b3b3;
    --text-soft: #8d8d8d;
    --font-main: Verdana, Geneva, Tahoma, sans-serif;
    --font-code: Verdana, Geneva, Tahoma, sans-serif;
    --footer-height: 56px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: var(--footer-height);
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: 0.15s;
}

a:hover {
    color: var(--text-main);
    text-decoration: underline;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1.5rem;
}

.logo {
    font-family: var(--font-code);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}

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

.nav-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.nav-links a.active {
    border-bottom: 1px solid var(--text-muted);
    padding-bottom: 0.1rem;
}

/* Layout */
main {
    flex: 1;
    padding: 4rem 5%;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.landing main {
    min-height: calc(100vh - var(--footer-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    max-width: none;
}

.landing h1 {
    font-size: clamp(2.8rem, 7vw, 4.6rem);
    letter-spacing: -1px;
    margin-bottom: 0.75rem;
}

.landing .subtitle {
    font-size: clamp(1rem, 2.6vw, 1.4rem);
    color: var(--text-muted);
    margin-bottom: 0;
    max-width: 720px;
}

.landing .contact-links {
    margin-top: 1.25rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    color: var(--text-soft);
    font-size: 0.95rem;
}

.landing .contact-links a {
    color: var(--text-muted);
}

.landing .contact-links a:hover {
    color: var(--text-main);
}
h1,
h2,
h3 {
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 1.9rem;
    margin-top: 3rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 700px;
}

/* Components */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: transparent;
    color: var(--text-main);
    font-weight: 600;
    border: 1px solid var(--text-muted);
    border-radius: 2px;
}

.btn:hover {
    background: var(--text-main);
    color: var(--bg-color);
}

.btn.is-disabled {
    border-color: var(--border-color);
    color: var(--text-soft);
    cursor: default;
    pointer-events: none;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

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

.card {
    background: var(--surface-color);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s ease;
}

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

.card.is-muted {
    opacity: 0.75;
}

.stat-number {
    font-family: var(--font-code);
    font-size: 2.2rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.status {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.feature-list {
    list-style: disc;
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.post-date {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.post-title {
    font-size: 1.4rem;
    margin-top: 0.25rem;
}

.read-more {
    font-size: 0.85rem;
    color: var(--text-main);
}

.read-more:hover {
    color: var(--text-main);
    text-decoration: underline;
}

.quote {
    border-left: 2px solid var(--border-color);
    padding-left: 1.5rem;
    margin-top: 2rem;
    color: var(--text-muted);
}

.contact-link {
    color: var(--text-main);
    font-weight: 600;
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--footer-height);
    display: flex;
    align-items: center;
    text-align: left;
    padding: 0 16px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-soft);
    font-size: 0.8rem;
}

/* Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem 5%;
    }

    main {
        padding: 3rem 5%;
    }

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

    .nav-links {
        gap: 1rem;
    }
}
