:root {
  --navy-dark: #030b1a;
  --navy: #061b35;
  --navy-soft: #0a254a;
  --blue: #007bff;
  --cyan: #00d9ff;
  --cyan-light: #6ef3ff;
  --white: #ffffff;
  --text: #e8eefc;
  --muted: #8fa7c2;
  --danger: #ff3b30;
  --success: #2ee59d;
  --card: rgba(10, 37, 74, 0.55);
  --line: rgba(0, 217, 255, 0.22);
  --font: "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  background: #030b1a;
  line-height: 1.55;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-light); }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(3, 11, 26, 0.86);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.12em;
}
.brand-link img { width: 44px; height: 44px; object-fit: cover; border-radius: 12px; }
.header-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
nav a { color: var(--muted); font-size: 0.95rem; }
nav a[aria-current="page"], nav a:hover { color: var(--cyan); }
.lang-wrap { display: flex; align-items: center; gap: 8px; }
.lang-wrap select {
  appearance: none;
  background: #061b35;
  color: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 28px 8px 12px;
  font: inherit;
  background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%),
    linear-gradient(135deg, var(--cyan) 50%, transparent 50%);
  background-position: calc(100% - 14px) calc(50% - 3px), calc(100% - 9px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: #030b1a url("../assets/hero.png") center/cover no-repeat;
  filter: saturate(1.05);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,11,26,0.55) 0%, rgba(3,11,26,0.82) 100%);
}
.hero-content { position: relative; padding: 72px 0 88px; }
.hero-logo {
  width: min(520px, 92vw);
  max-height: 52vh;
  height: auto;
  object-fit: contain;
  margin: 0 auto 18px;
  display: block;
  filter: drop-shadow(0 12px 40px rgba(0, 217, 255, 0.25));
}
.eyebrow {
  color: var(--cyan);
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 10px;
}
.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.1rem, 5vw, 4rem);
  letter-spacing: 0.08em;
}
.hero p { max-width: 720px; margin: 0 auto 28px; color: var(--muted); font-size: 1.15rem; }
.hero .lead-strong {
  color: var(--white);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 650;
  line-height: 1.4;
}
.pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--cyan-light);
  font-size: 0.82rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  border: 1px solid transparent;
}
.btn-primary { background: var(--cyan); color: var(--navy-dark); }
.btn-ghost { border-color: var(--line); color: var(--white); }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

section { padding: 72px 0; }
.section-title { margin: 0 0 8px; font-size: 1.8rem; }
.lede { color: var(--muted); max-width: 680px; margin: 0 0 32px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.card h3 { margin: 0 0 8px; color: var(--cyan-light); }
.card p { margin: 0; color: var(--muted); }

.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { width: 34%; color: var(--cyan); font-weight: 600; }
.note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.prose { max-width: 760px; }
.prose h2 { color: var(--cyan-light); }
.prose h3 { margin-top: 28px; }
.prose ul { padding-left: 20px; color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.footer-grid a { display: block; margin: 6px 0; color: var(--muted); }
.legal-en { margin-top: 28px; padding-top: 20px; border-top: 1px dashed var(--line); }

.manifesto {
  padding: 80px 0;
  background:
    radial-gradient(900px 280px at 10% 0%, rgba(0, 217, 255, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(10, 37, 74, 0.45), rgba(3, 11, 26, 0.2));
  border-bottom: 1px solid var(--line);
}
.manifesto-kicker {
  color: var(--cyan);
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0 0 10px;
}
.manifesto h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}
.manifesto .lede { max-width: 820px; font-size: 1.12rem; }
.reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.reason {
  background: rgba(3, 11, 26, 0.55);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  min-height: 100%;
}
.reason .num {
  display: block;
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  margin-bottom: 8px;
}
.reason h3 { margin: 0 0 10px; font-size: 1.25rem; }
.reason p { margin: 0; color: var(--muted); }
.file-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.file-chip {
  border: 1px solid var(--line);
  background: rgba(0, 217, 255, 0.08);
  color: var(--cyan-light);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 700;
}
html[dir="rtl"] .lang-wrap select {
  padding: 8px 12px 8px 28px;
  background-position: 14px calc(50% - 3px), 9px calc(50% - 3px);
}

@media (max-width: 800px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  nav { gap: 10px 14px; }
  .reasons { grid-template-columns: 1fr; }
}
