:root {
  --bg: #000000;
  --surface: #1c1c1e;
  --surface-2: #171719;
  --border: #2c2c2e;
  --text: #ffffff;
  --muted: #8e8e93;
  --primary: #bc5a2b;
  --accent: #ff9500;
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.container {
  width: min(var(--max-width), 92vw);
  margin: 0 auto;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 15, 16, 0.98);
  border-bottom: 2px solid #3a3a3c;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--border);
  object-fit: cover;
}

.logo-name {
  width: 140px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  display: inline-flex;
  gap: 16px;
  margin-left: auto;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.main-nav a:hover { color: var(--text); }

.lang-select {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 7px 28px 7px 10px;
  font-size: 13px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238e8e93' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  flex-shrink: 0;
}

/* ── Panels ── */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}

/* ── Hero ── */
.hero {
  padding: 38px 0 22px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.hero-copy {
  padding: 22px;
}

.hero-title {
  margin: 0;
  font-size: clamp(32px, 4.3vw, 52px);
  line-height: 1.06;
}

.hero-tagline {
  margin: 8px 0 0;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 500;
  color: var(--accent);
}

.hero-subtitle {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.6;
}

.hero-media {
  overflow: hidden;
  display: flex;
  align-items: stretch;
  min-height: 0;
}

.showcase-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Sections ── */
.section { padding: 24px 0 32px; }

.section-muted {
  background: linear-gradient(to bottom, rgba(255,255,255,0.01), rgba(255,255,255,0.02));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head { margin-bottom: 14px; }

.section-title {
  margin: 0 0 18px;
  font-size: clamp(24px, 3vw, 34px);
}

/* ── Stats ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-card span {
  color: var(--muted);
  font-size: 13px;
}

.stat-card strong {
  font-size: 20px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* ── Roadmap ── */
.timeline {
  list-style: none;
  margin: 0;
  padding: 16px;
  display: grid;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 4px 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.timeline-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.timeline-item:first-child { padding-top: 0; }

.timeline-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.timeline-item h3 {
  margin: 0;
  font-size: 17px;
  grid-column: 2;
  grid-row: 1;
}

.timeline-item p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.55;
  grid-column: 2;
  grid-row: 2;
}

/* ── Bottom actions ── */
.bottom-bar { padding-bottom: 40px; }

.bottom-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.bottom-actions-left,
.bottom-actions-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 11px;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}

.btn-primary { background: var(--primary); }
.btn-secondary { background: var(--surface); border-color: #3a3a3c; }

.social-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.social-link:hover { text-decoration: underline; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 18px 0 26px;
  background: #0b0b0c;
}

.footer-copy {
  color: var(--muted);
  font-size: 13px;
}

/* ── Responsive ── */
@media (max-width: 1080px) {
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .header-inner { min-height: auto; padding: 12px 0; flex-wrap: wrap; }
  .main-nav { order: 3; width: 100%; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-media { min-height: 220px; }
  .timeline-item { grid-template-columns: 1fr; }
  .timeline-item h3,
  .timeline-item p { grid-column: 1; }
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-name { width: 112px; }
  .bottom-actions { flex-direction: column; align-items: stretch; }
  .bottom-actions-left,
  .bottom-actions-right { justify-content: center; }
}
