:root {
  --seo-bg: #020617;
  --seo-panel: rgba(6, 15, 32, .82);
  --seo-panel-strong: rgba(6, 15, 32, .94);
  --seo-text: #f8fafc;
  --seo-muted: #cbd5e1;
  --seo-gold: #d8b46a;
  --seo-gold-strong: #f7e7bf;
  --seo-cyan: #67e8f9;
  --seo-border: rgba(216, 180, 106, .32);
  --seo-shadow: 0 24px 90px rgba(0, 0, 0, .55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.seo-landing {
  margin: 0;
  min-height: 100svh;
  color: var(--seo-text);
  background:
    radial-gradient(circle at 12% 10%, rgba(103, 232, 249, .18), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(216, 180, 106, .17), transparent 34%),
    linear-gradient(180deg, rgba(2, 6, 23, .74), #020617 64%),
    var(--tamga-bg-image, url("../tamga-bg-desktop.webp")) center / cover fixed,
    var(--seo-bg);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.seo-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 46px);
  border-bottom: 1px solid rgba(216, 180, 106, .22);
  background: linear-gradient(180deg, rgba(2, 6, 23, .92), rgba(2, 6, 23, .70));
  backdrop-filter: blur(18px);
}

.seo-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.seo-brand img { width: 48px; height: 48px; object-fit: contain; }

.seo-brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: .18em;
  color: var(--seo-gold-strong);
}

.seo-brand small {
  display: block;
  margin-top: 2px;
  color: rgba(203, 213, 225, .78);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .72rem;
}

.seo-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;
}

.seo-nav a,
.seo-lang-select,
.seo-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 999px;
  background: rgba(15, 23, 42, .54);
  color: #e2e8f0;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 800;
  font-size: .92rem;
}

.seo-nav a:hover,
.seo-btn:hover,
.seo-lang-select:hover {
  border-color: rgba(216, 180, 106, .58);
  filter: brightness(1.08);
}

.seo-lang-select {
  cursor: pointer;
  color-scheme: dark;
}

.seo-hero,
.seo-section,
.seo-footer {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.seo-hero {
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(42px, 8vw, 110px) 0 clamp(34px, 6vw, 72px);
}

.seo-eyebrow {
  color: var(--seo-cyan);
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.seo-hero h1 {
  margin: 0;
  max-width: 820px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 7vw, 5.9rem);
  line-height: .96;
  color: #fff7d6;
  text-shadow: 0 18px 54px rgba(0, 0, 0, .55);
}

.seo-lead {
  max-width: 760px;
  color: var(--seo-muted);
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  line-height: 1.72;
}

.seo-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.seo-btn.seo-primary {
  color: #fff7d6;
  border-color: rgba(216, 180, 106, .70);
  background: linear-gradient(135deg, rgba(14, 165, 233, .94), rgba(30, 64, 175, .96));
  box-shadow: 0 16px 44px rgba(14, 165, 233, .18);
}

.seo-hero-art,
.seo-card {
  border: 1px solid var(--seo-border);
  border-radius: 28px;
  background: linear-gradient(180deg, var(--seo-panel), rgba(2, 6, 23, .78));
  box-shadow: var(--seo-shadow);
}

.seo-hero-art {
  padding: clamp(18px, 4vw, 34px);
  overflow: hidden;
}

.seo-wordmark {
  width: min(420px, 100%);
  display: block;
  margin: 0 auto 20px;
}

.seo-card-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.seo-card-row img {
  width: 100%;
  border-radius: 16px;
  filter: drop-shadow(0 16px 24px rgba(0,0,0,.42));
}

.seo-section {
  margin-top: 24px;
  padding: clamp(22px, 4vw, 38px);
}

.seo-section h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--seo-gold-strong);
  font-size: clamp(1.65rem, 3.2vw, 2.65rem);
}

.seo-section p,
.seo-section li {
  color: var(--seo-muted);
  line-height: 1.72;
  font-size: 1.02rem;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.seo-grid article {
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 22px;
  padding: 18px;
  background: rgba(15, 23, 42, .48);
}

.seo-grid h3 {
  margin: 0 0 8px;
  color: #fff7d6;
}

.seo-steps {
  padding-inline-start: 24px;
}

.seo-note {
  border-left: 3px solid var(--seo-gold);
  padding-left: 14px;
}

.seo-media {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, 1.05fr);
  align-items: center;
  gap: 22px;
}

.seo-media img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(216, 180, 106, .22);
}

.seo-faq {
  display: grid;
  gap: 10px;
}

.seo-faq details {
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(15, 23, 42, .42);
}

.seo-faq summary {
  cursor: pointer;
  color: #fff7d6;
  font-weight: 900;
}

.seo-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 34px 0 46px;
  color: rgba(203, 213, 225, .72);
}

.seo-footer a {
  color: var(--seo-gold-strong);
  text-decoration: none;
}

.rtl .seo-note {
  border-left: 0;
  border-right: 3px solid var(--seo-gold);
  padding-left: 0;
  padding-right: 14px;
}

@media (max-width: 980px) {
  .seo-topbar { align-items: flex-start; flex-direction: column; }
  .seo-nav { justify-content: flex-start; }
  .seo-hero { grid-template-columns: 1fr; min-height: auto; }
  .seo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-media { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .seo-nav a { display: none; }
  .seo-grid { grid-template-columns: 1fr; }
  .seo-card-row { grid-template-columns: repeat(2, 1fr); }
  .seo-hero, .seo-section, .seo-footer { width: min(100% - 22px, 1180px); }
}
