:root {
  color-scheme: dark;
  --bg: #070b12;
  --panel: #101722;
  --panel2: #0d131d;
  --text: #f5f1e8;
  --muted: #aeb9ce;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #e3c47c;
  --cyan: #48c7d8;
  --max: 1180px;
  font-family: Bahnschrift, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: inherit; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.topbar {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 18, 0.92);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; text-transform: uppercase; }
.brand img { height: 42px; width: auto; max-width: 132px; object-fit: contain; border: 1px solid rgba(227, 196, 124, 0.24); border-radius: 8px; background: rgba(7, 11, 18, 0.54); }
.nav { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.nav a, .button, .lang-toggle {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--muted);
  background: rgba(16, 23, 34, 0.72);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.nav img { width: 20px; height: 20px; opacity: 1; filter: brightness(0) saturate(100%) invert(89%) sepia(31%) saturate(751%) hue-rotate(350deg) brightness(104%) contrast(102%); }
.nav a:hover img { filter: brightness(0) saturate(100%) invert(82%) sepia(35%) saturate(903%) hue-rotate(142deg) brightness(99%) contrast(98%); }
.nav a:hover, .button:hover, .lang-toggle:hover { color: var(--gold); border-color: rgba(227, 196, 124, 0.5); }
.button.primary { background: var(--gold); color: #101014; border-color: var(--gold); }
.lang-toggle { cursor: pointer; font-family: inherit; }

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 128px clamp(18px, 5vw, 72px) 64px;
  overflow: hidden;
}
.hero-bg, .shade { position: absolute; inset: 0; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; opacity: 0.68; }
.shade { background: linear-gradient(90deg, rgba(7, 11, 18, 0.95), rgba(7, 11, 18, 0.62), rgba(7, 11, 18, 0.9)); }
.hero-copy { position: relative; max-width: 820px; }
.kicker { margin: 0 0 10px; color: var(--gold); text-transform: uppercase; font-size: 12px; font-weight: 900; letter-spacing: 0; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 18px; font-size: clamp(48px, 7vw, 96px); line-height: 0.92; letter-spacing: 0; }
h2 { margin-bottom: 14px; font-size: clamp(30px, 4vw, 54px); line-height: 1; letter-spacing: 0; }
p { color: var(--muted); font-size: 18px; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.section { max-width: var(--max); margin: 0 auto; padding: 86px clamp(18px, 4vw, 32px); }
.section-head { max-width: 760px; margin-bottom: 28px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
article {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(16, 23, 34, 0.94), rgba(10, 15, 24, 0.94));
}
article img { width: 34px; height: 34px; margin-bottom: 22px; opacity: 1; filter: brightness(0) saturate(100%) invert(89%) sepia(31%) saturate(751%) hue-rotate(350deg) brightness(104%) contrast(102%); }
.pillar-card {
  --pillar-accent: var(--gold);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.pillar-card:nth-child(even) { --pillar-accent: var(--cyan); }
.pillar-card::before {
  position: absolute;
  inset: 0 14% auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--pillar-accent), transparent);
  opacity: 0.66;
}
.pillar-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--pillar-accent) 48%, transparent);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}
.pillar-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--pillar-accent) 46%, transparent);
  border-radius: 8px;
  background: rgba(6, 10, 17, 0.78);
}
.pillar-icon img {
  width: 27px;
  height: 27px;
  margin: 0;
}
.pillar-card:nth-child(even) .pillar-icon img {
  filter: brightness(0) saturate(100%) invert(82%) sepia(35%) saturate(903%) hue-rotate(142deg) brightness(99%) contrast(98%);
}
article strong { display: block; margin-bottom: 10px; color: var(--text); font-size: 22px; }
article p { margin: 0; font-size: 15px; }
.proof { display: grid; grid-template-columns: 0.88fr 1.12fr; gap: 34px; align-items: center; }
.proof img { width: 100%; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); }
.routes article { min-height: 260px; }
.routes a { display: inline-flex; margin-top: 18px; color: var(--cyan); font-weight: 900; text-transform: uppercase; font-size: 12px; }
.next { padding-bottom: 96px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.timeline span { display: inline-flex; margin-bottom: 18px; color: var(--cyan); font-size: 34px; font-weight: 900; }
footer { display: flex; justify-content: space-between; gap: 16px; padding: 28px clamp(18px, 5vw, 72px); border-top: 1px solid var(--line); color: var(--muted); }
footer strong { color: var(--text); }

@media (max-width: 860px) {
  .topbar { position: sticky; flex-direction: column; align-items: stretch; min-height: 0; }
  .nav { margin-left: 0; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .nav a, .lang-toggle { flex: 0 0 auto; }
  .hero { min-height: auto; padding-top: 72px; }
  .grid, .grid.four, .proof, .timeline { grid-template-columns: 1fr; }
  h1 { font-size: 48px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .pillar-card { transition: none; }
  .pillar-card:hover { transform: none; }
}
