:root {
  --bg: #040506;
  --bg-elevated: rgba(10, 12, 15, 0.94);
  --bg-panel: rgba(13, 16, 20, 0.92);
  --bg-card: rgba(15, 19, 24, 0.88);
  --bg-soft: rgba(255, 255, 255, 0.028);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f7f1;
  --text-soft: #cad3c7;
  --muted: #8d978f;
  --faint: #5d675f;
  --gold: #d8b15a;
  --gold-bright: #f2d27b;
  --gold-soft: rgba(216, 177, 90, 0.1);
  --green: #7dff8c;
  --green-soft: rgba(125, 255, 140, 0.12);
  --green-strong: #b7ff54;
  --danger: #ff6d6d;
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 18px 42px rgba(0, 0, 0, 0.28);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(216, 177, 90, 0.12), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(125, 255, 140, 0.08), transparent 20%),
    linear-gradient(180deg, #060708 0%, #030405 100%);
  font-family: "Inter", "Space Grotesk", "Cairo", "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  padding-bottom: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3,
.brand-copy strong,
.cta-btn,
.plan-btn,
.plan-badge,
.eyebrow,
.metric-kicker,
.card-kicker,
.plan-kicker,
.perf-stat-label,
.ssp-title {
  font-family: "Space Grotesk", "Inter", "Cairo", "IBM Plex Sans Arabic", sans-serif;
}

a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: var(--max-width, 1200px);
  margin-inline: auto;
}

.site-shell {
  padding: 10px 0 20px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px) saturate(1.1);
  background: rgba(5, 6, 8, 0.82);
  border-bottom: 1px solid rgba(216, 177, 90, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid rgba(216, 177, 90, 0.22);
  background:
    linear-gradient(145deg, rgba(216, 177, 90, 0.2), rgba(216, 177, 90, 0.03)),
    radial-gradient(circle at 70% 28%, rgba(125, 255, 140, 0.16), transparent 34%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 30px rgba(216, 177, 90, 0.12);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 10px;
}

.brand-mark::before {
  border: 1px solid rgba(242, 210, 123, 0.42);
  clip-path: polygon(0 100%, 34% 18%, 52% 46%, 69% 0, 100% 0, 100% 100%);
}

.brand-mark::after {
  inset: 13px 12px;
  background: linear-gradient(180deg, rgba(183, 255, 84, 0.95), rgba(216, 177, 90, 0.95));
  clip-path: polygon(0 100%, 28% 38%, 48% 66%, 100% 0, 100% 26%, 56% 100%);
  opacity: 0.9;
}

.brand-copy strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-copy span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}

.nav-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.top-controls {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link,
.lang-switch,
.lang-item {
  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--gold);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.lang-switch:hover,
.lang-switch:focus-visible {
  border-color: rgba(216, 177, 90, 0.26);
  background: rgba(216, 177, 90, 0.08);
}

.lang-switch .pill {
  letter-spacing: 0.04em;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  min-width: 150px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(9, 10, 13, 0.98);
  box-shadow: var(--shadow-md);
}

.lang-menu[aria-hidden="false"],
.lang-menu.open {
  display: flex;
}

.lang-item {
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: start;
  font-size: 13px;
  font-weight: 600;
}

.lang-item:hover,
.lang-item:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  padding: 34px 0 18px;
}

.hero-panel,
.section-panel,
.perf-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(15, 18, 23, 0.96), rgba(8, 10, 12, 0.94)),
    linear-gradient(145deg, rgba(216, 177, 90, 0.04), transparent 40%);
  box-shadow: var(--shadow-lg);
}

.hero-panel::before,
.section-panel::before,
.perf-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  opacity: 0.35;
}

.hero-panel {
  padding: 28px 22px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 700px;
}

.live-ticker,
.eyebrow,
.status-badge,
.plan-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.live-ticker {
  border: 1px solid rgba(125, 255, 140, 0.18);
  background: rgba(125, 255, 140, 0.06);
  color: var(--green-strong);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 10px rgba(125, 255, 140, 0.9);
  animation: pulse 2s ease-in-out infinite;
}

.sep {
  color: rgba(255, 255, 255, 0.22);
}

.ticker-stat {
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  border: 1px solid rgba(216, 177, 90, 0.18);
  background: rgba(216, 177, 90, 0.08);
  color: var(--gold-bright);
}

h1 {
  max-width: 13ch;
  font-size: clamp(34px, 6vw, 66px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(26px, 3.3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
  text-wrap: balance;
}

h3 {
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero-lead,
.section-head p,
.metric-note,
.plan-note,
.plan-helper,
.compare-note,
.cta-support,
.muted {
  color: var(--text-soft);
}

.hero-lead {
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.8;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-btn,
.plan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.cta-btn:hover,
.cta-btn:focus-visible,
.plan-btn:hover,
.plan-btn:focus-visible,
.contact-card:hover,
.contact-card:focus-visible,
.trust-card:hover,
.trust-card:focus-visible,
.step-card:hover,
.step-card:focus-visible,
.article-card:hover,
.article-card:focus-visible {
  transform: translateY(-2px);
}

.cta-btn.primary,
.plan-btn.primary {
  color: #050402;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: 0 16px 38px rgba(216, 177, 90, 0.24);
}

.cta-btn.primary:hover,
.cta-btn.primary:focus-visible,
.plan-btn.primary:hover,
.plan-btn.primary:focus-visible {
  box-shadow: 0 22px 46px rgba(216, 177, 90, 0.3);
}

.cta-btn.secondary,
.plan-btn.secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.cta-btn.secondary:hover,
.cta-btn.secondary:focus-visible,
.plan-btn.secondary:hover,
.plan-btn.secondary:focus-visible {
  border-color: rgba(125, 255, 140, 0.18);
  background: rgba(125, 255, 140, 0.06);
}

.hero-support,
.faint {
  color: var(--faint);
  font-size: 13px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 440px;
}

.proof-item {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.proof-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proof-item span {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.system-status-panel {
  position: relative;
  z-index: 1;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(216, 177, 90, 0.12);
  background:
    linear-gradient(180deg, rgba(16, 19, 24, 0.92), rgba(10, 12, 16, 0.9)),
    radial-gradient(circle at top right, rgba(216, 177, 90, 0.08), transparent 42%);
}

.ssp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.ssp-title {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ssp-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-strong);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ssp-rows {
  display: grid;
  gap: 10px;
}

.ssp-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ssp-row:last-child {
  border-bottom: 0;
}

.ssp-key {
  color: var(--muted);
  font-size: 12px;
}

.ssp-val {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}

.ssp-val.gold {
  color: var(--gold-bright);
}

.ssp-val.green {
  color: var(--green-strong);
}

.ssp-val.text {
  color: var(--text);
}

.ssp-val.muted {
  color: var(--text-soft);
}

.ssp-account {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--line);
}

.ssp-account-label {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.ssp-account-id {
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 700;
  word-break: break-word;
}

.section {
  padding: 18px 0 10px;
}

.section-panel,
.perf-panel {
  padding: 28px 22px;
}

.proof-head {
  margin-bottom: 22px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 62ch;
  margin-bottom: 26px;
}

.trust-grid,
.steps-grid,
.plans-grid,
.contact-grid,
.resources-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.metric-card,
.trust-card,
.step-card,
.plan-card,
.contact-card,
.article-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.perf-stat-label,
.metric-kicker,
.card-kicker,
.plan-kicker {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.metric-value,
.result-value,
.price {
  display: block;
  margin: 12px 0 8px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.price {
  color: var(--gold-bright);
}

.metric-note,
.plan-note,
.plan-helper,
.compare-note,
.cta-support {
  font-size: 13px;
  line-height: 1.75;
}

.proof-card {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(216, 177, 90, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)),
    radial-gradient(circle at top right, rgba(216, 177, 90, 0.08), transparent 38%);
}

.proof-note {
  max-width: 58ch;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.8;
}

.proof-actions {
  margin-top: 18px;
}

.proof-cta {
  min-width: min(100%, 320px);
}

.trust-card,
.step-card,
.plan-card,
.contact-card,
.article-card {
  padding: 22px 20px;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.trust-card:hover,
.step-card:hover,
.contact-card:hover,
.article-card:hover {
  border-color: rgba(216, 177, 90, 0.18);
  box-shadow: var(--shadow-md);
}

.trust-card h3,
.step-card h3,
.contact-card h3,
.article-card h3,
.plan-card h3 {
  margin: 10px 0 8px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan-card.featured {
  border-color: rgba(216, 177, 90, 0.22);
  background:
    linear-gradient(180deg, rgba(216, 177, 90, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.plan-badge {
  color: #050402;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
}

.price-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.price-term {
  margin-bottom: 7px;
  color: var(--faint);
  font-size: 14px;
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.plan-list li {
  position: relative;
  padding-inline-start: 18px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.plan-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green-strong);
  box-shadow: 0 0 10px rgba(125, 255, 140, 0.35);
}

.plan-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.plan-foot .cta-row {
  margin-bottom: 10px;
}

.contact-card,
.article-card {
  display: block;
  text-decoration: none;
}

.resources-head {
  margin-bottom: 20px;
}

.footer {
  padding: 28px 0 8px;
}

.footer-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
}

.footer-branding {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.footer-social-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-soft);
  text-decoration: none;
  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--gold-bright);
  border-color: rgba(216, 177, 90, 0.3);
  background: rgba(216, 177, 90, 0.08);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
}

.social-link-telegram {
  color: var(--green-strong);
  border-color: rgba(125, 255, 140, 0.2);
  background: rgba(125, 255, 140, 0.06);
}

.social-link-telegram:hover,
.social-link-telegram:focus-visible {
  color: #d9ffd5;
  border-color: rgba(125, 255, 140, 0.34);
  background: rgba(125, 255, 140, 0.12);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.9);
  }
}

@media (min-width: 700px) {
  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid,
  .steps-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resources-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .hero-panel,
  .section-panel,
  .perf-panel {
    padding: 44px 42px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
    gap: 24px;
    align-items: stretch;
  }

  .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-grid,
  .steps-grid,
  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .resources-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1240px) {
  h1 {
    font-size: clamp(42px, 4vw, 58px);
  }

  .hero-lead {
    font-size: 16px;
  }
}

@media (max-width: 699px) {
  .site-shell {
    padding-bottom: 8px;
  }

  .topbar-inner {
    align-items: flex-start;
    min-height: 62px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .top-actions {
    width: 100%;
    justify-content: space-between;
  }

  .nav-group {
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
  }

  .nav-group::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    white-space: nowrap;
  }

  .footer-panel {
    align-items: flex-start;
  }

  .footer-social {
    gap: 10px;
  }

  .hero {
    padding-top: 20px;
  }

  .proof-cta {
    width: 100%;
  }
}

/* Platform homepage overrides */
.trust-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.systems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.founder-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: 22px;
  border: 1px solid rgba(216, 177, 90, 0.16);
  background:
    linear-gradient(180deg, rgba(216, 177, 90, 0.08), rgba(255, 255, 255, 0.018)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    var(--shadow-md);
  padding: 24px 22px;
}

.founder-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.founder-card h3 {
  margin: 0;
}

.founder-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 78ch;
}

.founder-copy p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.9;
  white-space: pre-line;
}

.system-card,
.proof-sidecard,
.about-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  padding: 22px 20px;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.system-card:hover,
.proof-sidecard:hover,
.about-card:hover {
  transform: translateY(-2px);
  border-color: rgba(216, 177, 90, 0.18);
  box-shadow: var(--shadow-md);
}

.system-card-live {
  border-color: rgba(216, 177, 90, 0.24);
  background:
    linear-gradient(180deg, rgba(216, 177, 90, 0.07), rgba(255, 255, 255, 0.018)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.system-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.system-badge,
.system-type {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-family: "Space Grotesk", "Inter", "Cairo", "IBM Plex Sans Arabic", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.system-badge.available {
  color: #050402;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
}

.system-badge.soon {
  color: var(--text-soft);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.system-type {
  color: var(--green-strong);
  border: 1px solid rgba(125, 255, 140, 0.16);
  background: rgba(125, 255, 140, 0.06);
}

.system-card h3,
.proof-sidecard h3 {
  margin: 10px 0 8px;
}

.system-description {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.8;
}

.system-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.system-meta span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-soft);
  font-size: 13px;
}

.system-meta span:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.system-meta strong {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.system-actions {
  margin-top: auto;
  padding-top: 8px;
}

.system-note {
  margin-top: 12px;
  color: var(--faint);
  font-size: 13px;
  line-height: 1.7;
}

.systems-grid-single {
  max-width: 760px;
}

.proof-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

.proof-sidecard {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.performance-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.performance-summary-card {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.performance-summary-label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.performance-summary-value {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.performance-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0 0;
  margin-bottom: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.performance-status-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.performance-status-value {
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
  text-align: end;
}

.about-card h3 {
  margin: 10px 0 8px;
}

.about-card p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.8;
}

.section-tight {
  padding-top: 8px;
}

.disclaimer-panel {
  padding-top: 22px;
  padding-bottom: 22px;
}

.disclaimer-stack {
  display: grid;
  gap: 14px;
}

.disclaimer-copy {
  max-width: 72ch;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.85;
  white-space: pre-line;
}

@media (min-width: 700px) {
  .systems-grid,
  .proof-layout,
  .trust-grid-4,
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .performance-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .systems-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .systems-grid-single {
    grid-template-columns: minmax(0, 1fr);
  }

  .trust-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .proof-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  }

  .about-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* RTL and overflow stability */
.topbar .wrap,
.site-shell .wrap {
  width: 100%;
  margin: 0 auto;
}

.topbar-inner,
.top-actions,
.nav-group,
.hero-panel,
.hero-grid,
.hero-copy,
.system-status-panel,
.proof-layout,
.performance-summary-card,
.footer-panel {
  min-width: 0;
}

.topbar-inner,
.hero-panel,
.hero-grid,
.proof-layout,
.footer-panel {
  width: 100%;
}

.footer {
  margin: 0;
  padding-bottom: 0;
}

.topbar .nav-link {
  margin: 0;
  white-space: nowrap;
}

.lang-menu {
  inset-inline-start: auto;
  inset-inline-end: 0;
  max-width: calc(100% - 12px);
}

html[dir="rtl"] .topbar .brand {
  flex-direction: row-reverse;
}

html[dir="rtl"] .topbar .topbar-inner,
html[dir="rtl"] .topbar .top-actions,
html[dir="rtl"] .topbar .nav-group,
html[dir="rtl"] .topbar .nav-link {
  margin: 0;
}

html[dir="rtl"] .topbar .lang-menu {
  inset-inline-start: auto;
  inset-inline-end: 0;
}

@media (max-width: 699px) {
  .site-shell {
    padding-bottom: 8px;
  }

  .topbar-inner {
    justify-content: center;
  }

  .top-actions {
    width: 100%;
    justify-content: center;
  }

  .nav-group {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-group::-webkit-scrollbar {
    display: none;
  }

  .top-controls {
    margin-inline: auto;
  }

  .hero-panel,
  .section-panel,
  .perf-panel {
    overflow: hidden;
  }

  .footer {
    padding-top: 20px;
    padding-bottom: 0;
  }
}
