/* Global Design System - Mattae Cooper */

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

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --text-primary: #e0e0e0;
    --text-secondary: #999;
    --text-tertiary: #666;
    --text-muted: #444;
    --border-color: rgba(255, 255, 255, 0.1);
    --accent: #fff;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.pixel-text {
    font-family: 'VT323', monospace;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    letter-spacing: 0.1em;
    line-height: 1.6;
}

.mono-text {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 300;
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

/* Geometric overlays */
.geo-circle {
    position: fixed;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.geo-line {
    position: fixed;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    z-index: 1;
}

.geo-line-v {
    width: 1px;
    height: 100vh;
}

.geo-line-h {
    width: 100vw;
    height: 1px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 2rem 3rem;
    position: relative;
    z-index: 100;
}

.logo {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    font-family: 'VT323', monospace;
}

.nav-main {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.3s;
    font-family: 'VT323', monospace;
    letter-spacing: 0.1em;
}

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

/* Content sections */
.section {
    padding: 4rem 0;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 4rem;
    height: 1px;
    background: var(--accent);
}

/* Cards */
.card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: lowercase;
    color: var(--accent);
    background: transparent;
    border: 1px solid var(--accent);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    font-family: 'IBM Plex Mono', monospace;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

/* Footer */
.footer {
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: end;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.3s;
    font-family: 'VT323', monospace;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-credit {
    font-size: 0.625rem;
    color: var(--text-muted);
    text-align: right;
    font-family: 'VT323', monospace;
}

/* Cursor effect */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.3s;
    opacity: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Large background numbers */
.large-number {
    position: fixed;
    font-size: 25vw;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.02);
    pointer-events: none;
    z-index: 1;
    font-family: 'Space Grotesk', sans-serif;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 2rem;
    }

    .header {
        padding: 1.5rem 2rem;
    }

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

    .nav-main {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }

    .section {
        padding: 2rem 0;
    }

    .footer {
        flex-direction: column;
        gap: 2rem;
        align-items: start;
    }
}
