:root {
  --bg: #081423;
  --bg-2: #0d1d33;
  --card: rgba(13, 28, 48, 0.86);
  --card-2: rgba(18, 37, 63, 0.92);
  --panel: rgba(9, 21, 38, 0.78);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --ink: #f5f8ff;
  --muted: #adc0db;
  --accent: #ffb24f;
  --accent-2: #ff7d55;
  --accent-3: #63e0ff;
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 18px 36px rgba(0, 0, 0, 0.2);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: 1220px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Trebuchet MS", Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 178, 79, 0.2), transparent 18%),
    radial-gradient(circle at 88% 0%, rgba(99, 224, 255, 0.16), transparent 20%),
    linear-gradient(180deg, #0a1628 0%, #07111d 55%, #09192d 100%);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.08));
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; height: auto; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: #111;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 16px 0;
}
.header-shell {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, auto) 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(6, 16, 30, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.24), rgba(255,255,255,0.05));
  border: 1px solid var(--line);
  object-fit: cover;
}
.brand-copy { min-width: 0; }
.brand-copy strong {
  display: block;
  font: 800 1.52rem/1 Georgia, "Times New Roman", serif;
  letter-spacing: -0.04em;
}
.brand-copy span {
  display: block;
  color: var(--muted);
  font-size: 0.93rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.primary-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.primary-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #c5d5ea;
  font-weight: 700;
}
.primary-nav a:hover,
.primary-nav a.is-active {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.language-select {
  min-width: 96px;
  padding: 11px 36px 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: #131313;
  font-weight: 800;
}
.language-select option {
  background: #fff;
  color: #111;
}
.button,
.button-secondary,
.menu-toggle,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .18s ease, opacity .18s ease, background .18s ease;
}
.button:hover,
.button-secondary:hover,
.menu-toggle:hover,
.ghost-link:hover {
  transform: translateY(-1px);
}
.button {
  border: 0;
  color: #231000;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 36px rgba(255, 141, 77, 0.25);
}
.button-secondary {
  border: 1px solid var(--line);
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  color: #fff;
  background: rgba(255,255,255,0.05);
}
.page-shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 16px 120px;
}
.crumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: .95rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 22px;
  align-items: stretch;
}
.hero-card,
.media-shell,
.panel,
.summary-card,
.table-card,
.faq-card,
.footer-grid {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.hero-card {
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(99, 224, 255, 0.2), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255, 178, 79, 0.16), transparent 30%),
    linear-gradient(160deg, rgba(14, 31, 54, 0.96), rgba(10, 21, 38, 0.94));
}
.eyebrow {
  margin: 0 0 14px;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffd68f;
  font-weight: 900;
}
h1 {
  margin: 0;
  max-width: 900px;
  font: 800 clamp(2.28rem, 6vw, 4.8rem)/0.93 Georgia, "Times New Roman", serif;
  letter-spacing: -0.06em;
}
.lead {
  margin: 18px 0 0;
  max-width: 760px;
  color: #d7e4f6;
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.72;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.hero-note {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #f1f6ff;
  font-weight: 700;
}
.hero-side {
  display: grid;
  gap: 18px;
}
.media-shell {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
}
.hero-image,
.hero-video {
  width: 100%;
  min-height: 320px;
  height: 100%;
  object-fit: cover;
}
.panel {
  padding: 22px;
  background: linear-gradient(180deg, rgba(17, 36, 62, 0.92), rgba(9, 20, 35, 0.94));
}
.panel h2,
.section h2,
.table-card h2,
.faq-card h2,
.close-card h2 {
  margin: 0;
  font: 800 clamp(1.4rem, 3vw, 2.35rem)/1 Georgia, "Times New Roman", serif;
  letter-spacing: -0.04em;
}
.panel-list,
.bullet-list,
.faq-list,
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.panel-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.panel-list li {
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}
.panel-list strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffcf8e;
}
.panel-list span {
  display: block;
  margin-top: 6px;
  color: #f8fbff;
  font-weight: 700;
}
.hub-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.hub-nav a {
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  font-weight: 800;
  color: #e8f0fb;
}
.summary-grid,
.related-grid,
.footer-grid {
  display: grid;
  gap: 18px;
}
.summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}
.summary-card {
  padding: 22px;
  background: linear-gradient(180deg, rgba(16, 32, 54, 0.92), rgba(9, 19, 33, 0.92));
}
.summary-card h2 {
  margin: 0 0 12px;
  font: 800 1.5rem/1.05 Georgia, "Times New Roman", serif;
}
.summary-card p,
.section p,
.table-card p,
.faq-card p,
.close-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.74;
  font-size: 1rem;
}
.content-grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}
.section,
.table-card,
.faq-card,
.close-card {
  padding: 28px;
  background: linear-gradient(180deg, rgba(14, 29, 50, 0.92), rgba(10, 20, 35, 0.95));
}
.section-body {
  display: grid;
  gap: 18px;
}
.triple-grid,
.double-grid,
.related-grid {
  display: grid;
  gap: 16px;
}
.triple-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.double-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mini-card,
.related-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}
.mini-card h3,
.related-card h3,
.faq-item h3 {
  margin: 0 0 10px;
  font: 800 1.18rem/1.1 Georgia, "Times New Roman", serif;
}
.table-shell {
  margin-top: 18px;
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}
th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: left;
  vertical-align: top;
}
th {
  font-size: .82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffd391;
  background: rgba(255,255,255,0.04);
}
td {
  color: #e7effb;
  line-height: 1.6;
}
.bullet-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.bullet-list li {
  position: relative;
  padding-left: 20px;
  color: #dbe7f6;
  line-height: 1.65;
}
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}
.related-card p { margin-top: 8px; }
.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.faq-item {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}
.close-card {
  margin-top: 22px;
  text-align: center;
  background:
    radial-gradient(circle at top center, rgba(255, 178, 79, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(13, 28, 48, 0.96), rgba(8, 19, 34, 0.96));
}
.close-card p { margin-top: 14px; }
.close-card .hero-actions { justify-content: center; }
footer {
  padding: 0 16px 34px;
}
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px;
  background: rgba(6, 16, 30, 0.86);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.footer-top h2 {
  margin: 0 0 12px;
  font: 800 1.22rem/1.1 Georgia, "Times New Roman", serif;
}
.footer-links {
  display: grid;
  gap: 8px;
}
.footer-links a {
  color: #dbe7f6;
}
.floating-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 45;
  min-width: 170px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34);
}
.muted {
  color: var(--muted);
}
[dir="rtl"] body { direction: rtl; }
[dir="rtl"] th,
[dir="rtl"] td { text-align: right; }
[dir="rtl"] .bullet-list li {
  padding-left: 0;
  padding-right: 20px;
}
[dir="rtl"] .bullet-list li::before {
  left: auto;
  right: 0;
}
@media (max-width: 1040px) {
  .hero-grid,
  .footer-top,
  .summary-grid,
  .triple-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
  .double-grid { grid-template-columns: 1fr; }
  .hub-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .site-header { padding: 10px 10px 0; }
  .header-shell {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }
  .menu-toggle { display: inline-flex; }
  .primary-nav {
    display: none;
    grid-column: 1 / -1;
    padding-top: 6px;
    justify-content: flex-start;
  }
  .primary-nav.is-open { display: flex; }
}
@media (max-width: 720px) {
  .header-shell {
    padding: 10px 12px;
    border-radius: 22px;
  }
  .brand-logo {
    width: 48px;
    height: 48px;
  }
  .brand-copy strong { font-size: 1.25rem; }
  .brand-copy span { font-size: .86rem; }
  .header-actions {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .language-select,
  .button-secondary,
  .button,
  .menu-toggle {
    min-height: 42px;
    padding: 10px 14px;
  }
  .button-secondary { display: none; }
  .page-shell { padding: 14px 10px 118px; }
  .hero-card,
  .panel,
  .summary-card,
  .section,
  .table-card,
  .faq-card,
  .close-card,
  .footer-grid {
    padding: 22px 18px;
    border-radius: 24px;
  }
  .hero-image,
  .hero-video { min-height: 240px; }
  .hub-nav { grid-template-columns: 1fr 1fr; }
  .floating-cta {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
  }
}
