:root {
  --bg: #0d0f16;
  --card: rgba(30, 35, 52, .78);
  --field: #2c3247;
  --fg: #c8d0ea;
  --muted: #8b93b0;
  --green: #9ece6a;
  --green-a: #86b457;
  --accent: #7aa2f7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
code { background: var(--field); padding: 1px 6px; border-radius: 5px; font-size: .9em; }
#bg {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1200px 600px at 70% -10%, #2a3352 0%, transparent 60%),
    radial-gradient(900px 500px at 10% 110%, #1c2b26 0%, transparent 55%),
    var(--bg);
}
#vmark {
  position: fixed; inset: 0; z-index: -1;
  display: flex; align-items: center; justify-content: center;
  font-size: 80vmin; font-weight: 900; line-height: 1;
  pointer-events: none; user-select: none;
  color: rgba(70, 235, 165, .06);
  text-shadow: 0 0 60px rgba(46, 230, 160, .28), 0 0 180px rgba(46, 230, 160, .18);
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
  background: rgba(13, 15, 22, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; letter-spacing: 2px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand em { color: var(--green); font-style: normal; }
.nav nav { display: flex; gap: 22px; }
.nav nav a { color: var(--muted); font-size: 15px; }
.nav nav a:hover { color: var(--fg); }
.nav nav a.tg { color: var(--accent); }
.nav nav a.tg:hover { color: #a9c2ff; }

main { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* HERO */
.hero { padding: 90px 0 70px; text-align: center; }
.hero-badge {
  display: inline-block; padding: 5px 14px; margin-bottom: 18px;
  border: 1px solid rgba(158, 206, 106, .35); border-radius: 999px;
  color: var(--green); font-size: 13px; font-weight: 600; letter-spacing: 1px;
  background: rgba(158, 206, 106, .08);
}
.hero h1 { margin: 0; font-size: clamp(34px, 6vw, 64px); line-height: 1.05; color: #fff; letter-spacing: -1px; }
.hero h1 em { color: var(--green); font-style: normal; text-shadow: 0 0 40px rgba(46, 230, 160, .35); }
.lead { max-width: 620px; margin: 20px auto 0; color: var(--muted); font-size: clamp(15px, 2vw, 19px); }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-note { margin-top: 16px; color: var(--muted); font-size: 13px; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 10px; padding: 13px 26px; cursor: pointer;
  font-size: 15px; font-weight: 600; transition: transform .1s, box-shadow .2s, background .2s;
}
.btn.primary {
  background: var(--green); color: #14161f; font-weight: 800;
  box-shadow: 0 0 26px rgba(158, 206, 106, .35);
}
.btn.primary:hover { background: var(--green-a); box-shadow: 0 0 38px rgba(158, 206, 106, .55); }
.btn.ghost { background: var(--card); color: var(--fg); border: 1px solid #333a52; }
.btn.ghost:hover { background: #333a52; }
.btn.ghost.tg { color: var(--accent); border-color: rgba(122, 162, 247, .5); }
.btn:active { transform: scale(.98); }
.btn.full { width: 100%; margin-top: 14px; }

/* SECTIONS */
.section { padding: 54px 0; }
.section h2 { font-size: 28px; color: #fff; letter-spacing: 1px; margin: 0 0 22px; }
.muted { color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 14px; padding: 22px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}
.card .ico { font-size: 30px; margin-bottom: 8px; }
.card h3 { margin: 0 0 8px; color: #fff; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card.dl { text-align: center; }

details.card { margin-bottom: 10px; }
details.card summary { cursor: pointer; color: #fff; font-weight: 600; }
details.card[open] summary { color: var(--green); }
details.card p { margin-top: 12px; }

footer {
  max-width: 1080px; margin: 0 auto; padding: 40px 24px 60px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 14px;
}

@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr; }
  .grid.two { grid-template-columns: 1fr; }
  .nav nav { gap: 14px; }
  .nav nav a { font-size: 14px; }
  .hero { padding: 60px 0 44px; }
}
