:root {
    --bg: #f9f9fb;
    --text: #111111;
    --text-muted: #666666;
    --accent: #000000;
    --card-bg: #ffffff;
    --font: 'Inter', -apple-system, sans-serif;
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
nav {
    padding: 2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(249, 249, 251, 0.8);
    backdrop-filter: blur(10px);
}

nav .container { display: flex; justify-content: space-between; align-items: center; }

.logo {
    font-weight: 600;
    text-decoration: none;
    color: var(--text);
    letter-spacing: -0.5px;
    font-size: 1.2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-left: 2rem;
    transition: color 0.3s ease;
}

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

/* Hero */
#hero { padding: 12rem 0 6rem 0; }

h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    max-width: 900px;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-top: 2rem;
    max-width: 600px;
    font-weight: 300;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 4rem 0;
}

.card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    border: 1px solid rgba(0,0,0,0.03);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.card-content h3 { font-size: 1.4rem; margin-bottom: 1rem; font-weight: 600; }
.card-content p { color: var(--text-muted); font-size: 0.95rem; }
.card-link { margin-top: 2rem; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* Footer */
footer { padding: 8rem 0 4rem 0; background: #fff; border-top: 1px solid #eee; }
.footer-wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3rem; }
.footer-info h2 { font-size: 2rem; margin-bottom: 1rem; letter-spacing: -1px; }
.footer-links { display: flex; flex-direction: column; gap: 1rem; }
.footer-links a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 1.1rem; }
.copyright { margin-top: 6rem; font-size: 0.8rem; color: var(--text-muted); }

/* Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}