/* 
* Webgau - V4 Minimalist (Vercel Inspired)
* Aesthetic: Monochrome, Precision, Developer-First
*/

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

:root {
    /* Colors - Monochrome */
    --color-bg: #000000;
    --color-fg: #ffffff;
    --color-gray-100: #111111;
    --color-gray-200: #333333;
    --color-gray-500: #666666;
    --color-gray-800: #888888;

    /* Accents - Extremely Subtle */
    --color-accent: #ffffff;
    --color-border: #333333;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 64px;

    /* Animation */
    --transition: 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
}

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

.text-subtle {
    color: var(--color-gray-800);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    /* Vercel style: strict height */
    height: 48px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--color-fg);
    color: var(--color-bg);
    border: 1px solid var(--color-fg);
}

.btn-primary:hover {
    background: transparent;
    color: var(--color-fg);
}

.btn-secondary {
    background: var(--color-gray-100);
    color: var(--color-fg);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-gray-800);
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

header .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-fg);
    text-decoration: none;
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: var(--color-fg);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    /* Triangle */
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--color-gray-800);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--color-fg);
}

/* Hero */
.hero-v4 {
    padding: 120px 0 80px 0;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.hero-v4 h1 {
    font-size: 4.5rem;
    letter-spacing: -0.04em;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1;
    background: linear-gradient(180deg, #fff 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-v4 p {
    font-size: 1.25rem;
    color: var(--color-gray-500);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.hero-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse at bottom, rgba(255, 255, 255, 0.15), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Bento Grid */
.bento-section {
    padding: 80px 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 400px);
    gap: 24px;
}

.bento-item {
    background: var(--color-gray-100);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: border-color var(--transition);
}

.bento-item:hover {
    border-color: var(--color-gray-800);
}

/* Item Spanning */
.span-2 {
    grid-column: span 2;
}

.span-3 {
    grid-column: span 3;
}

.bento-visual {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #000;
    margin: 1px 1px 0 1px;
    border-radius: 11px 11px 0 0;
}

.bento-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.bento-content {
    padding: 24px;
    background: var(--color-gray-100);
    border-top: 1px solid var(--color-border);
}

.bento-content h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.bento-content p {
    font-size: 0.9rem;
    color: var(--color-gray-500);
}

/* Footer */
footer {
    border-top: 1px solid var(--color-border);
    padding: 60px 0;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
}

.footer-col h4 {
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.footer-col a {
    display: block;
    color: var(--color-gray-500);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--color-fg);
}

/* Responsive */
@media (max-width: 968px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .span-2,
    .span-3 {
        grid-column: span 1;
    }

    .hero-v4 h1 {
        font-size: 3rem;
    }
}