:root {
  --bg-deep: #04101c;
  --bg-mid: #0a2540;
  --accent: #4fc3f7;
  --accent-soft: #8fd6ff;
  --text: #e9f4fb;
  --text-dim: #9fb6c6;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(143, 214, 255, 0.18);
  --max: 980px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 700px at 20% -10%, rgba(79, 195, 247, 0.22), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(35, 120, 200, 0.20), transparent 60%),
    linear-gradient(160deg, var(--bg-mid), var(--bg-deep) 70%);
}

/* Header */
.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.2px;
}
.brand-mark { font-size: 22px; }

.nav { display: flex; gap: 22px; }
.nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--accent-soft); }

/* Main */
main { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Hero */
.hero {
  text-align: center;
  padding: 90px 0 80px;
}
.hero h1 {
  font-size: clamp(38px, 7vw, 68px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(120deg, #ffffff, var(--accent-soft) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tagline {
  max-width: 620px;
  margin: 26px auto 0;
  font-size: 19px;
  color: var(--text-dim);
}

.cta-row {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: linear-gradient(120deg, var(--accent), #2a9fe0);
  color: #021420;
  box-shadow: 0 10px 30px rgba(79, 195, 247, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(79, 195, 247, 0.45); }
.btn-ghost {
  background: var(--card);
  border-color: var(--card-border);
  color: var(--text);
}
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,0.07); }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  padding: 30px 0 60px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 26px 24px;
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(143, 214, 255, 0.4); }
.feature-icon { font-size: 30px; margin-bottom: 12px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--text-dim); font-size: 15px; }

/* Closing */
.closing {
  text-align: center;
  padding: 70px 24px 90px;
}
.closing h2 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.5px;
}
.closing p {
  color: var(--text-dim);
  font-size: 18px;
  margin: 16px auto 34px;
  max-width: 520px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.copyright { color: var(--text-dim); font-size: 14px; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--accent-soft); }

/* Legal pages */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px 24px 80px;
}
.legal h1 {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.legal .updated { color: var(--text-dim); font-size: 14px; margin-bottom: 34px; }
.legal h2 {
  font-size: 22px;
  margin: 34px 0 10px;
  color: var(--accent-soft);
}
.legal p, .legal li { color: var(--text-dim); font-size: 16px; }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent); }
.back-link {
  display: inline-block;
  margin-top: 40px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.back-link:hover { text-decoration: underline; }

@media (max-width: 540px) {
  .site-header { flex-direction: column; gap: 14px; }
  .hero { padding: 60px 0 50px; }
}
