:root {
  --bg: #0b1220;
  --bg-soft: #101a2e;
  --card: #131f36;
  --card-border: #1c2b49;
  --text: #e6edf7;
  --text-muted: #94a3b8;
  --accent: #2fd4a7;
  --accent-soft: rgba(47, 212, 167, 0.12);
  --footer-bg: #080d18;
  --radius: 10px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--card-border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1100px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, #2fd4a7, #2b7fd4); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; color: #08131f; }
.nav-links { display: flex; gap: 26px; flex-wrap: wrap; }
.nav-links a { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); text-decoration: none; }

/* Hero */
.hero { padding: 84px 0 70px; background: radial-gradient(ellipse at top right, rgba(47,212,167,0.08), transparent 55%); text-align: center; }
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; }
.hero h1 span { color: var(--accent); }
.hero p { color: var(--text-muted); max-width: 640px; margin: 0 auto 30px; font-size: 1.08rem; }
.badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.badge { background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(47,212,167,0.25); padding: 7px 16px; border-radius: 999px; font-size: 0.83rem; font-weight: 600; }

/* Sections */
section { padding: 54px 0; }
.section-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; text-align: center; }
.section-sub { color: var(--text-muted); text-align: center; max-width: 560px; margin: 0 auto 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 26px; transition: transform 0.2s ease, border-color 0.2s ease; }
.card:hover { transform: translateY(-3px); border-color: rgba(47,212,167,0.4); }
.card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.92rem; }
.card .num { display: inline-flex; width: 34px; height: 34px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); align-items: center; justify-content: center; font-weight: 700; margin-bottom: 14px; }
article h2 { font-size: 1.5rem; margin: 34px 0 14px; }
article h3 { font-size: 1.1rem; margin: 24px 0 10px; }
article p { margin-bottom: 14px; color: var(--text-muted); }
article strong { color: var(--text); }

/* Page header for subpages */
.page-head { padding: 64px 0 40px; background: radial-gradient(ellipse at top center, rgba(43,127,212,0.1), transparent 60%); text-align: center; }
.page-head h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.page-head p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* Footer */
.site-footer { background: var(--footer-bg); border-top: 1px solid var(--card-border); padding: 44px 0 34px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid h4 { font-size: 0.95rem; margin-bottom: 14px; color: var(--text); }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a, .footer-grid p { color: var(--text-muted); font-size: 0.9rem; }
.footer-grid a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--card-border); margin-top: 36px; padding-top: 22px; color: var(--text-muted); font-size: 0.82rem; text-align: center; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .nav-links { display: none; } }
