/* ---------- Base ---------- */
:root {
  --bg: #060708;
  --panel: #0e1012;
  --text: #e8f0f7;
  --muted: #98a3ad;
  --accent: #3ec0ff;
  --maxw: 1200px;
  --header-height: 64px;
  --ff: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--ff);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(6, 7, 8, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  z-index: 100;
}
.site-header .wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-header nav a {
  margin: 0 10px;
  font-size: 14px;
  opacity: 0.85;
}
.brand { font-weight: 700; letter-spacing: 1px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-content {
  text-align: center;
  position: relative;
  z-index: 5;
}
.hero-title {
  font-size: clamp(32px, 6vw, 72px);
  margin: 0;
}
.hero-subtitle {
  font-size: clamp(16px, 3vw, 24px);
  color: var(--muted);
}

/* Parallax layers */
.layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 0;
}
.layer-back { background: rgba(0,0,0,0); }
.layer-mid { background: rgba(0,0,0,0); }
.layer-front { z-index: 2; }

/* ---------- Panels ---------- */
.panel {
  position: relative;
  padding: 100px 20px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}
.panel .wrap {
  max-width: var(--maxw);
  position: relative;
  z-index: 2;
  text-align: center;
}
.panel h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.panel p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
}

.panel-dark::before {
  background: rgba(0,0,0,0.55);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0a0b0c;
  text-align: center;
  padding: 30px 0;
  color: var(--muted);
}
.small { font-size: 14px; }

@media (max-width: 720px) {
  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 18px; }
  .panel { padding: 60px 20px; }
}
