:root {
  --bg: #0a0e14;
  --bg-alt: #0d1420;
  --surface: #111826;
  --surface-border: rgba(0, 200, 255, 0.14);
  --text: #e8edf5;
  --text-dim: #9aa7bb;
  --accent: #00c8ff;
  --accent-dim: rgba(0, 200, 255, 0.12);
  --radius: 12px;
  --container: 1120px;
  --done: #3ddc84;
  --progress: #00c8ff;
  --planned: #b98cff;
  --exploring: #6f7d94;
}

* { box-sizing: border-box; }

html.i18n-loading body { visibility: hidden; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); }

h1, h2, h3 { line-height: 1.25; margin: 0 0 12px; font-weight: 700; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 12px; color: var(--text-dim); }

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.brand-dot { color: var(--accent); }

.site-nav {
  display: none;
  gap: 28px;
}
.site-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--text); }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 0.85rem;
  padding: 6px 12px;
  cursor: pointer;
}
.lang-toggle .lang-opt { padding: 0 2px; }
.lang-toggle .lang-opt.active { color: var(--accent); font-weight: 700; }
.lang-sep { opacity: 0.4; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.site-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--surface-border);
  padding: 16px 20px;
  gap: 16px;
}

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }

/* Hero */
.hero {
  padding: 88px 0 64px;
  text-align: left;
}
.badge {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(1.8rem, 1.3rem + 2.4vw, 2.8rem);
  max-width: 20ch;
}
.hero-sub {
  font-size: 1.05rem;
  max-width: 56ch;
  margin-bottom: 28px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Buttons (disabled placeholders) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid var(--surface-border);
  cursor: not-allowed;
  opacity: 0.85;
}
.btn-primary {
  background: var(--accent-dim);
  color: var(--accent);
}
.btn-outline {
  background: transparent;
  color: var(--text-dim);
}
.soon {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 2px 8px;
}

/* Grids / cards */
.grid {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}
.grid-4 { grid-template-columns: 1fr; }
.grid-5 { grid-template-columns: 1fr; }

.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { color: var(--text); }
.card p { margin-bottom: 0; font-size: 0.95rem; }

.card-step { position: relative; padding-top: 30px; }
.step-num {
  position: absolute;
  top: -14px;
  left: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Roadmap */
.disclaimer {
  font-size: 0.9rem;
  font-style: italic;
  max-width: 60ch;
}
.roadmap-grid { margin-top: 24px; }
.rm-col {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 20px;
}
.rm-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid;
}
.rm-done { color: var(--done); border-color: var(--done); }
.rm-progress { color: var(--progress); border-color: var(--progress); }
.rm-planned { color: var(--planned); border-color: var(--planned); }
.rm-exploring { color: var(--exploring); border-color: var(--exploring); }
.rm-col ul { margin: 0; padding-left: 18px; }
.rm-col li { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 8px; }

/* Contact */
.contact-email {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 8px 0 28px;
  word-break: break-word;
}
.contact-cta { margin-top: 4px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--surface-border);
  padding: 28px 0;
}
.site-footer p {
  font-size: 0.85rem;
  margin: 0;
  text-align: center;
}

/* Responsive */
@media (min-width: 720px) {
  .site-nav { display: flex; }
  .site-nav.open { display: flex; position: static; background: none; border: none; padding: 0; flex-direction: row; }
  .nav-toggle { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .roadmap-grid.grid-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 980px) {
  .grid-4:not(.roadmap-grid) { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
}
