:root {
  --bg: #0b0f1a;
  --bg2: #111827;
  --card: #151d2e;
  --card2: #1a2438;
  --text: #e5ecf8;
  --muted: #9fb0c9;
  --accent: #6c8cff;
  --accent2: #37d0b2;
  --border: #24304a;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PT Sans", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11,15,26,.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--muted); font-size: .95rem; }
.nav-links a.active, .nav-links a:hover { color: var(--text); text-decoration: none; }

.hero {
  padding: 90px 0 70px;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(108,140,255,.16), transparent),
    radial-gradient(500px 260px at 80% 10%, rgba(55,208,178,.12), transparent);
  text-align: center;
}
.hero h1 { font-size: 2.6rem; line-height: 1.2; margin-bottom: 18px; }
.hero h1 span { background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { max-width: 640px; margin: 0 auto 32px; color: var(--muted); font-size: 1.15rem; }
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 10px;
  background: linear-gradient(90deg, var(--accent), #4f6fe0);
  color: #fff; font-weight: 600; font-size: 1rem;
}
.btn:hover { text-decoration: none; filter: brightness(1.1); }
.btn.ghost { background: transparent; border: 1px solid var(--border); color: var(--text); margin-left: 12px; }

section { padding: 64px 0; }
h2 { font-size: 1.9rem; margin-bottom: 14px; text-align: center; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 44px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 26px;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); border-color: #31405f; }
.card .icon { width: 42px; height: 42px; margin-bottom: 14px; }
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }

.steps { counter-reset: step; max-width: 720px; margin: 0 auto; }
.step { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step::before {
  counter-increment: step; content: counter(step);
  flex: 0 0 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: .95rem; }

article.post { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 30px; margin-bottom: 24px; }
article.post h3 { margin-bottom: 10px; font-size: 1.25rem; }
article.post .meta { color: var(--muted); font-size: .85rem; margin-bottom: 14px; }
article.post p { color: var(--muted); margin-bottom: 12px; }
article.post p b, article.post p strong { color: var(--text); }

footer { border-top: 1px solid var(--border); padding: 34px 0; color: var(--muted); font-size: .9rem; text-align: center; }
footer .container { display: flex; flex-direction: column; gap: 6px; }

@media (max-width: 640px) {
  .hero h1 { font-size: 1.9rem; }
  .nav-links { gap: 14px; }
  .btn.ghost { margin-left: 0; margin-top: 10px; }
}
