:root {
  --bg: #07090a;
  --surface: #0e1113;
  --border: #1a1e22;
  --text: #e4e6e8;
  --text-dim: #8a9099;
  --accent: #00d46a;
  --accent-dim: #00a854;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Exo', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
  z-index: 9999;
}

/* ---- Header ---- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -1px;
  background: var(--accent);
  color: var(--bg);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
nav a:hover { color: var(--text); }

/* ---- Hero ---- */
main { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }

.hero {
  padding: 6rem 0 5rem;
  max-width: 680px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
}

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

.subtitle {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta-row { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--bg);
  font-family: inherit;
  font-weight: 900;
  font-size: 1rem;
  padding: 0.85rem 1.8rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: -0.02em;
}
.btn-primary:hover { background: var(--accent-dim); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.cta-note {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ---- Features ---- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  padding: 3rem 0 6rem;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: border-color 0.2s;
}
.feature:hover { border-color: var(--accent); }

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.feature p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ---- Footer ---- */
footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
}
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ---- Responsive ---- */
@media (max-width: 640px) {
  header { padding: 1rem 1.2rem; }
  main { padding: 0 1.2rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .features { gap: 1rem; }
  footer { padding: 1.5rem 1.2rem; }
}
