:root {
--bg: #0a0a0f;
--surface: #111118;
--surface2: #16161f;
--border: #1e1e2e;
--accent: #00f5a0;
--accent2: #7c3aed;
--accent3: #f59e0b;
--text: #e8e8f0;
--muted: #6b6b8a;
--mono: 'Share Tech Mono', monospace;
--display: 'Syne', sans-serif;
--body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
background: var(--bg);
color: var(--text);
font-family: var(--body);
font-weight: 300;
min-height: 100vh;
overflow-x: hidden;
}

/* Subtle grid background */
body::before {
content: '';
position: fixed;
inset: 0;
background-image:
  linear-gradient(rgba(0,245,160,0.03) 1px, transparent 1px),
  linear-gradient(90deg, rgba(0,245,160,0.03) 1px, transparent 1px);
background-size: 40px 40px;
pointer-events: none;
z-index: 0;
}

/* NAV */
nav {
position: fixed;
top: 0; left: 0; right: 0;
z-index: 100;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 2.5rem;
height: 64px;
background: rgba(10,10,15,0.85);
backdrop-filter: blur(12px);
border-bottom: 1px solid var(--border);
}

.nav-logo {
font-family: var(--display);
font-weight: 800;
font-size: 1.25rem;
color: var(--text);
text-decoration: none;
letter-spacing: -0.02em;
}

.nav-logo span {
color: var(--accent);
}

.nav-links {
display: flex;
gap: 0.25rem;
list-style: none;
}

.nav-links a {
font-family: var(--mono);
font-size: 0.78rem;
color: var(--muted);
text-decoration: none;
padding: 0.4rem 0.85rem;
border-radius: 4px;
transition: color 0.2s, background 0.2s;
letter-spacing: 0.04em;
}

.nav-links a:hover,
.nav-links a.active {
color: var(--accent);
background: rgba(0,245,160,0.06);
}

/* Hamburger */
.nav-toggle {
display: none;
flex-direction: column;
gap: 5px;
cursor: pointer;
padding: 4px;
}
.nav-toggle span {
display: block;
width: 22px;
height: 2px;
background: var(--text);
transition: 0.3s;
}

@media (max-width: 680px) {
.nav-toggle { display: flex; }
.nav-links {
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  padding: 1rem;
  gap: 0.1rem;
  display: none;
}
.nav-links.open { display: flex; }
.nav-links a { padding: 0.6rem 1rem; }
}

/* MAIN CONTENT */
main {
position: relative;
z-index: 1;
padding-top: 64px;
}

/* SECTION */
.section {
max-width: 1100px;
margin: 0 auto;
padding: 5rem 2rem;
}

.section-tag {
font-family: var(--mono);
font-size: 0.72rem;
color: var(--accent);
letter-spacing: 0.12em;
text-transform: uppercase;
margin-bottom: 0.75rem;
}

h1, h2, h3 {
font-family: var(--display);
font-weight: 800;
letter-spacing: -0.03em;
line-height: 1.1;
}

h1 { font-size: clamp(2.5rem, 7vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

p { line-height: 1.75; color: #a8a8c0; }

a { color: var(--accent); }

/* CARD */
.card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 12px;
padding: 1.75rem;
transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
border-color: rgba(0,245,160,0.3);
transform: translateY(-2px);
}

/* BUTTON */
.btn {
display: inline-flex;
align-items: center;
gap: 0.5rem;
font-family: var(--mono);
font-size: 0.82rem;
letter-spacing: 0.06em;
padding: 0.65rem 1.4rem;
border-radius: 6px;
text-decoration: none;
transition: all 0.2s;
cursor: pointer;
border: none;
}

.btn-primary {
background: var(--accent);
color: #000;
font-weight: 700;
}

.btn-primary:hover {
background: #00dda0;
transform: translateY(-1px);
color: #000;
}

.btn-outline {
background: transparent;
color: var(--accent);
border: 1px solid rgba(0,245,160,0.4);
}

.btn-outline:hover {
background: rgba(0,245,160,0.08);
border-color: var(--accent);
}

/* DIVIDER */
.divider {
height: 1px;
background: linear-gradient(90deg, transparent, var(--border), transparent);
margin: 1rem 0;
}

/* FOOTER */
footer {
position: relative;
z-index: 1;
border-top: 1px solid var(--border);
padding: 2rem;
text-align: center;
}

footer p {
font-family: var(--mono);
font-size: 0.75rem;
color: var(--muted);
}

/* FADE IN ANIMATION */
.fade-up {
opacity: 0;
transform: translateY(24px);
animation: fadeUp 0.7s ease forwards;
}

@keyframes fadeUp {
to { opacity: 1; transform: translateY(0); }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
