:root {
  --bg: #04060c;
  --bg-soft: #0a0e18;
  --card: #10151f;
  --border: #1e2532;
  --text: #eef1f6;
  --text-muted: #98a2b3;
  --accent: #299bf4;
  --accent-soft: rgba(41, 155, 244, 0.15);
  --radius: 18px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(4, 6, 12, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.brand:hover { text-decoration: none; }

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted);
}

.nav-links a { color: var(--text-muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  font-size: 12px;
  font-weight: 700;
}

.lang-switch a {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--text-muted);
}

.lang-switch a:hover { text-decoration: none; color: var(--text); }

.lang-switch a.active {
  background: var(--accent-soft);
  color: var(--accent);
}

@media (max-width: 640px) {
  .nav-links > a:not(.lang-switch) { display: none; }
  .nav-links { gap: 10px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}

.btn-primary {
  background: var(--accent);
  color: #04121f;
}
.btn-primary:hover { background: #4ba9f5; text-decoration: none; }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); text-decoration: none; }

/* Hero */
.hero {
  padding: 88px 0 64px;
  text-align: center;
}

.hero .logo {
  width: 104px;
  height: 104px;
  border-radius: 26px;
  margin: 0 auto 28px;
  box-shadow: 0 20px 60px -20px var(--accent-soft), 0 0 0 1px var(--border);
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.hero .accent { color: var(--accent); }

.hero p.subtitle {
  max-width: 640px;
  margin: 0 auto 12px;
  color: var(--text-muted);
  font-size: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(41, 155, 244, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Sections */
section { padding: 56px 0; }

.section-title {
  text-align: center;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 44px;
}

/* Features grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* Notice / disclaimer band */
.notice {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.notice-grid h3 {
  font-size: 15px;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice-grid p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

/* CTA */
.cta {
  text-align: center;
}

.cta-box {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 24px;
}

/* Legal / content pages */
.legal {
  padding: 56px 0 80px;
}

.legal h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 6px;
}

.legal .updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal p, .legal li {
  color: #d0d5dd;
  font-size: 15.5px;
}

.legal ul { padding-left: 20px; }

.legal .card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }

@media (max-width: 560px) {
  .footer-row { flex-direction: column; text-align: center; }
}
