* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #080808;
  --bg2: #0f0f0f;
  --bg3: #161616;
  --border: rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.12);
  --text: #f5f5f5;
  --text2: #a0a0a0;
  --text3: #5a5a5a;
  --accent: #f5f5f5;
  --green: #4ade80;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; font-family: inherit; }

/* Nav */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo svg { width: 28px; height: 28px; }
.nav-logo span { font-size: 15px; font-weight: 700; letter-spacing: -0.04em; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--text2);
  padding: 6px 12px; border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--text); }
.nav-cta {
  background: var(--text); color: var(--bg);
  font-size: 13px; font-weight: 600;
  padding: 7px 16px; border-radius: 9px;
  transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.88; }

/* Page wrapper */
.page { padding-top: 56px; }

/* Cards */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

/* Buttons */
.btn-primary {
  background: var(--text); color: var(--bg);
  font-size: 14px; font-weight: 600; letter-spacing: -0.02em;
  padding: 12px 24px; border-radius: 11px;
  transition: opacity 0.15s;
  display: inline-flex; align-items: center; gap-8px;
}
.btn-primary:hover { opacity: 0.88; }
.btn-secondary {
  background: transparent; color: var(--text2);
  font-size: 14px; font-weight: 500;
  padding: 12px 24px; border-radius: 11px;
  border: 1px solid var(--border2);
  transition: color 0.15s, border-color 0.15s;
  display: inline-flex; align-items: center;
}
.btn-secondary:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }

/* Form */
input, textarea, select {
  background: var(--bg3); color: var(--text);
  border: 1px solid var(--border2);
  border-radius: 10px; padding: 12px 14px;
  font-size: 14px; font-family: inherit;
  width: 100%; outline: none;
  transition: border-color 0.15s;
}
input:focus, textarea:focus { border-color: rgba(255,255,255,0.3); }
input::placeholder, textarea::placeholder { color: var(--text3); }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 32px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-left { display: flex; align-items: center; gap: 10px; }
.footer-left span { font-size: 13px; font-weight: 600; letter-spacing: -0.03em; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: var(--text3); transition: color 0.15s; }
.footer-links a:hover { color: var(--text2); }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text2); font-size: 13px; transition: all 0.15s;
}
.social-links a:hover { color: var(--text); border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); }

/* Tag */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 6px;
  background: rgba(74,222,128,0.08); color: var(--green);
  border: 1px solid rgba(74,222,128,0.2);
}

/* Section */
.section { max-width: 1100px; margin: 0 auto; padding: 100px 32px; }
.section-sm { max-width: 720px; margin: 0 auto; padding: 80px 32px; }
h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; }

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .section { padding: 80px 20px; }
  .section-sm { padding: 60px 20px; }
  footer { padding: 32px 20px; flex-direction: column; align-items: flex-start; }
}
