:root {
  --bg: #05070d;
  --bg-soft: #080c15;
  --surface: #0b111d;
  --surface-strong: #101725;
  --surface-line: rgba(255, 255, 255, 0.09);
  --text: #f5f7fb;
  --muted: #b8c2d6;
  --faint: #7f8ba4;
  --blue: #4c73ff;
  --pink: #ff4cd8;
  --violet: #8b5cff;
  --success: #62d2a2;
  --danger: #ff6b8a;
  --gradient: linear-gradient(135deg, #4c73ff 0%, #8b5cff 48%, #ff4cd8 100%);
  --shell: 1160px;
  --radius: 8px;
  --radius-lg: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.22);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.7), rgba(5, 7, 13, 0.98)),
    linear-gradient(90deg, rgba(76, 115, 255, 0.08), transparent 36%, rgba(255, 76, 216, 0.07)),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html[data-lang="en"] .lang-ar,
html[data-lang="ar"] .lang-en {
  display: none !important;
}

html[data-lang="ar"] {
  direction: rtl;
}

html[data-lang="ar"] body {
  text-align: right;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

button, input, textarea { font: inherit; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--surface-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-toggle-button {
  min-width: 46px;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.lang-toggle-button:hover {
  color: var(--text);
}

.lang-toggle-button.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.page-shell {
  min-height: 100vh;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 92px 92px;
}

.site-header {
  position: sticky;
  top: 10px;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  width: min(var(--shell), calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(7, 10, 18, 0.88);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.site-header::before {
  content: none;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 800;
}

.brand span,
.footer-brand span {
  display: none;
}

.brand img,
.footer-brand img {
  width: auto;
  height: 28px;
  object-fit: contain;
  flex: none;
}

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

.primary-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 180ms ease;
}

.primary-nav a {
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a.is-active,
.site-footer a:hover,
.text-link:hover { color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.header-actions form {
  margin: 0;
}

.mobile-nav-actions {
  display: none;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--surface-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  border-radius: 2px;
}

main {
  width: min(var(--shell), calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.hero {
  min-height: calc(100vh - 116px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 56px;
}

.hero-simplified {
  min-height: auto;
  padding: 84px 0 40px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy-block {
  max-width: 720px;
}

.hero-copy-block h1,
.hero-copy-block .hero-copy {
  text-align: left;
}

.hero-actions-left,
.contact-actions-left {
  justify-content: flex-start;
}

.hero-panel,
.contact-panel,
.community-note-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid transparent;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(10, 16, 28, 0.98), rgba(8, 12, 20, 0.94)) padding-box,
    linear-gradient(135deg, rgba(76, 115, 255, 0.3), rgba(139, 92, 255, 0.24), rgba(255, 76, 216, 0.22)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 22px 54px rgba(0, 0, 0, 0.22);
}

.hero-panel::before,
.contact-panel::before,
.community-note-card::before {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 255, 0.24), rgba(139, 92, 255, 0));
  pointer-events: none;
}

.hero-panel-block {
  position: relative;
  z-index: 1;
}

.hero-panel-label {
  color: #d9d2ff;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-points {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.hero-points li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  box-shadow: 0 0 0 5px rgba(139, 92, 255, 0.1);
}

.hero-panel-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.hero-panel-grid div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-panel-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--faint);
  font-size: 0.82rem;
}

.hero-panel-grid strong {
  display: block;
  line-height: 1.35;
  font-size: 1rem;
}

.hero-layout-premium {
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
}

.hero-stage {
  position: relative;
}

.hero-stage-panel {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(12, 18, 31, 0.98), rgba(8, 12, 20, 0.96)) padding-box,
    linear-gradient(135deg, rgba(76, 115, 255, 0.26), rgba(139, 92, 255, 0.18), rgba(255, 76, 216, 0.22)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 30px 80px rgba(0, 0, 0, 0.28);
}

.hero-stage-panel::before {
  content: "";
  position: absolute;
  inset: -40px -30px auto auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 115, 255, 0.22), rgba(76, 115, 255, 0));
  pointer-events: none;
}

.hero-stage-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(139, 92, 255, 0.32);
  border-radius: 999px;
  background: rgba(139, 92, 255, 0.08);
  color: #e6ddff;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-stage-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

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

.hero-media-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  min-height: 0;
}

.hero-media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 8, 16, 0) 32%, rgba(4, 8, 16, 0.86));
  pointer-events: none;
}

.hero-media-card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.hero-media-card-large img {
  min-height: 320px;
}

.hero-media-copy {
  position: absolute;
  inset: auto 18px 18px 18px;
  z-index: 1;
  display: grid;
  gap: 4px;
}

.hero-media-copy strong {
  font-size: 1rem;
}

.hero-media-copy span {
  color: rgba(245, 247, 251, 0.8);
  font-size: 0.9rem;
}

.hero-stage-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.hero-stage-metrics-vertical {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-stage-metrics div {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-stage-metrics strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.hero-stage-metrics span {
  color: var(--muted);
  font-size: 0.88rem;
}

.community-preview-panel {
  padding: 24px;
}

.community-mobile-preview {
  position: relative;
  margin-top: 16px;
}

.community-mobile-scene {
  position: relative;
  overflow: hidden;
  min-height: 574px;
  padding: 26px 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at top center, rgba(111, 88, 255, 0.26), rgba(111, 88, 255, 0) 44%),
    radial-gradient(circle at bottom center, rgba(255, 76, 216, 0.16), rgba(255, 76, 216, 0) 36%),
    linear-gradient(180deg, rgba(9, 13, 24, 0.98), rgba(7, 10, 18, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 28px 64px rgba(0, 0, 0, 0.28);
}

.community-mobile-scene::before {
  content: "";
  position: absolute;
  inset: auto 14% 78px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 68%);
  opacity: 0.18;
  filter: blur(16px);
}

.community-mobile-watermark {
  position: absolute;
  left: 50%;
  bottom: 112px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.055);
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 800;
  letter-spacing: 0;
  pointer-events: none;
  user-select: none;
}

.community-mobile-caption {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  max-width: 400px;
  margin: 2px auto 18px;
  text-align: center;
}

.community-mobile-caption strong {
  font-size: 1.02rem;
}

.community-mobile-caption span {
  color: var(--muted);
  font-size: 0.92rem;
}

.community-device-shell {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.community-device-frame {
  position: relative;
  width: min(100%, 292px);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  background:
    linear-gradient(180deg, rgba(27, 30, 41, 0.98), rgba(11, 13, 21, 0.98)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 28px 60px rgba(0, 0, 0, 0.36);
}

.community-device-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 108px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 0 0 16px 16px;
  background: #06070d;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.community-device-screen {
  display: grid;
  gap: 14px;
  min-height: 472px;
  padding: 30px 16px 16px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top center, rgba(111, 88, 255, 0.22), rgba(111, 88, 255, 0) 32%),
    linear-gradient(180deg, rgba(11, 14, 24, 0.98), rgba(8, 10, 18, 0.98));
}

.community-device-header,
.community-device-brand,
.community-device-actions {
  display: flex;
  align-items: center;
}

.community-device-header {
  justify-content: space-between;
  gap: 12px;
}

.community-device-brand {
  gap: 10px;
  min-width: 0;
}

.community-device-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: none;
}

.community-device-brand strong,
.community-device-brand span,
.community-device-card strong {
  display: block;
}

.community-device-brand strong {
  font-size: 0.98rem;
}

.community-device-brand span {
  color: var(--muted);
  font-size: 0.76rem;
}

.community-live-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(98, 210, 162, 0.35);
  border-radius: 999px;
  background: rgba(98, 210, 162, 0.12);
  color: #e9fff5;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.community-device-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.community-device-tabs span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.community-device-tabs .is-active {
  color: var(--text);
  border-color: rgba(139, 92, 255, 0.34);
  background: linear-gradient(135deg, rgba(76, 115, 255, 0.14), rgba(139, 92, 255, 0.18), rgba(255, 76, 216, 0.14));
}

.community-device-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 98px;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(14, 21, 35, 0.98), rgba(10, 14, 24, 0.92)),
    radial-gradient(circle at right, rgba(76, 115, 255, 0.14), transparent 42%);
}

.community-device-feature-copy {
  display: grid;
  gap: 6px;
}

.community-device-feature-copy p {
  margin: 0;
  color: #dcd3ff;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.community-device-feature-copy strong {
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.35;
}

.community-device-feature-copy span {
  color: var(--muted);
  font-size: 0.82rem;
}

.community-device-orbit {
  position: relative;
  align-self: center;
  width: 98px;
  height: 98px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.community-device-orbit-arc {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 10px solid transparent;
}

.community-device-orbit-arc-a {
  border-top-color: #7f5fff;
  transform: rotate(22deg);
}

.community-device-orbit-arc-b {
  inset: 20px;
  border-width: 8px;
  border-right-color: #f6f7fb;
  transform: rotate(14deg);
}

.community-device-orbit-arc-c {
  inset: 28px;
  border-width: 8px;
  border-bottom-color: #f0c93d;
  transform: rotate(-18deg);
}

.community-device-orbit-core {
  position: absolute;
  inset: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(7, 10, 18, 0.96);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.community-device-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.community-device-card {
  min-height: 100%;
  padding: 14px 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.community-device-card p {
  margin: 0 0 8px;
  font-size: 0.78rem;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.community-device-card strong {
  color: var(--text);
  font-size: 0.88rem;
}

.community-device-actions {
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.community-device-actions .button-small {
  flex: 1 1 118px;
}

.contact-panel-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: center;
}

.contact-heading {
  max-width: 640px;
  margin: 0;
}

.contact-rail {
  display: grid;
}

.contact-rail-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(14, 21, 35, 0.94), rgba(10, 14, 24, 0.92)),
    radial-gradient(circle at top right, rgba(76, 115, 255, 0.14), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 42px rgba(0, 0, 0, 0.18);
}

.contact-rail-kicker {
  margin: 0;
  color: #dcd3ff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-rail-list {
  display: grid;
  gap: 12px;
}

.contact-rail-item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.contact-rail-item strong {
  font-size: 0.96rem;
}

.contact-rail-item span {
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-brand {
  width: min(210px, 42vw);
  margin: 0 auto 20px;
}

.hero-brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(76, 115, 255, 0.18));
}

.eyebrow,
.section-kicker,
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid rgba(139, 92, 255, 0.34);
  border-radius: 8px;
  background: rgba(139, 92, 255, 0.1);
  color: #d5ccff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 { font-size: 4.2rem; max-width: 980px; }
h2 { font-size: 2.45rem; }
h3 { font-size: 1.18rem; }

.hero-copy {
  max-width: 820px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-copy-block .hero-copy {
  margin-left: 0;
  margin-right: 0;
  max-width: 640px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-weight: 800;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 16px 36px rgba(76, 115, 255, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(76, 115, 255, 0.24);
}

.button-secondary,
.button-small,
.button-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--surface-line);
  box-shadow: none;
}

.button-small {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 0.9rem;
  border-radius: 14px;
}

.button-card {
  width: fit-content;
  margin-top: auto;
}

.market-strip {
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 42px;
  border: 1px solid var(--surface-line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-line);
  box-shadow: var(--shadow);
}

.market-strip div {
  padding: 18px;
  background: rgba(10, 17, 29, 0.92);
  text-align: left;
}

.market-strip span {
  display: block;
  color: var(--faint);
  font-size: 0.82rem;
  margin-bottom: 4px;
}

.market-strip strong {
  display: block;
  font-size: 0.98rem;
}

.section,
.blog-hero,
.article-shell {
  padding: 86px 0;
}

.simplified-section {
  padding-block: 74px;
}

.section-band {
  position: relative;
  margin-inline: calc(50% - 50vw);
  padding-left: max(16px, calc((100vw - var(--shell)) / 2));
  padding-right: max(16px, calc((100vw - var(--shell)) / 2));
  background: linear-gradient(180deg, rgba(10, 17, 29, 0.62), rgba(9, 13, 22, 0.35));
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.section-copy,
.wide-copy {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 760px;
}

.section-heading p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-copy p,
.wide-copy { margin: 16px 0 0; }

.section > h2,
.section-heading-row h2,
.blog-hero h1 {
  margin-top: 14px;
  max-width: 840px;
}

.card-grid,
.article-grid,
.related-grid {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.simple-grid {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

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

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

.five-grid { grid-template-columns: repeat(5, 1fr); }
.three-grid { grid-template-columns: repeat(3, 1fr); }
.latest-grid { grid-template-columns: repeat(3, 1fr); }
.blog-grid { grid-template-columns: repeat(2, 1fr); }

.feature-card,
.article-card,
.related-link,
.note-template {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--surface-line);
  border-radius: 8px;
  background: rgba(11, 17, 29, 0.78);
}

.feature-card span {
  color: var(--pink);
  font-weight: 800;
  margin-bottom: 18px;
}

.feature-card h3,
.article-card h3 { margin-bottom: 10px; }

.feature-card p,
.article-card p,
.article-header p,
.article-content p,
.article-cta p,
.note-template li,
.contact-line {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 46px;
  align-items: start;
}

.opportunity-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0;
  margin: 28px 0;
  list-style: none;
}

.opportunity-list li {
  border: 1px solid var(--surface-line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

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

.premium-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border: 1px solid transparent;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(10, 16, 28, 0.98), rgba(8, 12, 20, 0.94)) padding-box,
    linear-gradient(135deg, rgba(76, 115, 255, 0.28), rgba(139, 92, 255, 0.2), rgba(255, 76, 216, 0.24)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 20px 44px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.premium-card::before {
  content: "";
  position: absolute;
  inset: -48px -36px auto auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 115, 255, 0.16), rgba(76, 115, 255, 0));
  pointer-events: none;
}

.premium-card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 52px rgba(76, 115, 255, 0.12);
}

.premium-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.premium-card p {
  position: relative;
  z-index: 1;
  color: var(--muted);
}

.premium-card-link .button-card,
.course-card .button-card {
  margin-top: auto;
}

.premium-card-badge,
.status-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(139, 92, 255, 0.34);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(76, 115, 255, 0.16), rgba(139, 92, 255, 0.18), rgba(255, 76, 216, 0.14));
  color: #efeaff;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.course-card-top {
  display: grid;
  gap: 18px;
  margin-bottom: 6px;
}

.learn-heading-row {
  align-items: end;
}

.learn-hero {
  padding: 86px 0 48px;
}

.learn-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.learn-course-shell {
  align-items: start;
}

.learn-outline-list {
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.learn-outline-list li + li {
  margin-top: 10px;
}

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

.partner-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 24px;
  border: 1px solid transparent;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(10, 16, 28, 0.98), rgba(8, 12, 20, 0.94)) padding-box,
    linear-gradient(135deg, rgba(76, 115, 255, 0.34), rgba(139, 92, 255, 0.24), rgba(255, 76, 216, 0.28)) border-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 22px 46px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.partner-card::before {
  content: "";
  position: absolute;
  inset: -35% auto auto 52%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 255, 0.22), rgba(139, 92, 255, 0));
  pointer-events: none;
}

.partner-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 23px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  opacity: 0.8;
  pointer-events: none;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 26px 54px rgba(76, 115, 255, 0.14);
}

.partner-card-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(139, 92, 255, 0.34);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(76, 115, 255, 0.16), rgba(139, 92, 255, 0.16), rgba(255, 76, 216, 0.14));
  color: #efeaff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.partner-card h3,
.partner-card p {
  position: relative;
  z-index: 1;
}

.partner-card h3 {
  margin-top: 20px;
  font-size: 1.28rem;
}

.partner-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.partner-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.partner-cta {
  min-width: 240px;
  min-height: 52px;
  padding-inline: 28px;
  border-radius: 18px;
  box-shadow:
    0 18px 40px rgba(76, 115, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
}

.article-card .tag { margin-bottom: 16px; }
.article-card h3 a:hover { color: #fff; }

.article-card-image {
  display: block;
  position: relative;
  height: 0;
  padding-top: 56.25%;
  margin: -8px -8px 18px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--surface-line);
  background: rgba(255, 255, 255, 0.04);
}

.article-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  color: #c6d2ff;
  font-weight: 800;
}

.contact-section {
  text-align: center;
}

.contact-section h2,
.contact-section .section-kicker {
  margin-left: auto;
  margin-right: auto;
}

.contact-line a { color: var(--text); }

.site-footer {
  width: min(var(--shell), calc(100% - 32px));
  margin: 28px auto 0;
  padding: 46px 0 34px;
  border-top: 1px solid var(--surface-line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.site-footer h2 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.site-footer a { display: block; margin-top: 8px; }

.site-footer p {
  color: var(--muted);
  margin: 12px 0 0;
}

.risk-disclaimer {
  margin-top: 34px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.copyright { font-size: 0.9rem; }

.blog-hero {
  text-align: center;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.blog-hero-premium {
  text-align: left;
  align-items: stretch;
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: center;
  width: 100%;
}

.blog-hero-copy .hero-copy {
  margin: 18px 0 0;
  max-width: 760px;
}

.learn-slab-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.learn-slab,
.learn-flow-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(11, 17, 29, 0.78);
}

.learn-slab::before,
.learn-flow-card::before {
  content: "";
  position: absolute;
  inset: auto -50px -50px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 76, 216, 0.16), rgba(255, 76, 216, 0));
  pointer-events: none;
}

.learn-slab h3,
.learn-flow-card h3 {
  margin-top: 18px;
  margin-bottom: 10px;
}

.learn-slab p,
.learn-flow-card p {
  color: var(--muted);
  margin: 0;
}

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

.learn-flow-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(76, 115, 255, 0.16);
  color: #dbe2ff;
  font-size: 0.95rem;
}

.market-strip-premium {
  margin-left: 0;
  margin-right: 0;
}

.learn-hero-premium .hero-copy {
  margin-left: 0;
  margin-right: 0;
}

.category-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.category-chip {
  border: 1px solid var(--surface-line);
  border-radius: 8px;
  padding: 8px 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
}

html[data-lang="ar"] .hero-copy-block h1,
html[data-lang="ar"] .hero-copy-block .hero-copy,
html[data-lang="ar"] .section-heading,
html[data-lang="ar"] .blog-hero-copy,
html[data-lang="ar"] .contact-actions-left,
html[data-lang="ar"] .hero-actions-left,
html[data-lang="ar"] .hero-panel-grid,
html[data-lang="ar"] .hero-stage-metrics,
html[data-lang="ar"] .hero-media-copy,
html[data-lang="ar"] .market-strip div,
html[data-lang="ar"] .site-footer,
html[data-lang="ar"] .article-card,
html[data-lang="ar"] .article-header,
html[data-lang="ar"] .article-content,
html[data-lang="ar"] .article-cta,
html[data-lang="ar"] .article-disclaimer,
html[data-lang="ar"] .related-reading,
html[data-lang="ar"] .community-app-phone,
html[data-lang="ar"] .community-app-card,
html[data-lang="ar"] .community-app-primary,
html[data-lang="ar"] .learn-flow-card,
html[data-lang="ar"] .learn-slab {
  text-align: right;
}

html[data-lang="ar"] .brand,
html[data-lang="ar"] .footer-brand,
html[data-lang="ar"] .header-actions,
html[data-lang="ar"] .hero-actions,
html[data-lang="ar"] .contact-actions,
html[data-lang="ar"] .section-heading-row,
html[data-lang="ar"] .contact-panel-grid,
html[data-lang="ar"] .community-app-top,
html[data-lang="ar"] .community-app-brand,
html[data-lang="ar"] .community-app-actions {
  direction: rtl;
}

html[data-lang="ar"] .article-card-image,
html[data-lang="ar"] .hero-media-card,
html[data-lang="ar"] .hero-stage-panel,
html[data-lang="ar"] .contact-panel {
  direction: ltr;
}

html[data-lang="ar"] .hero-points li {
  padding-left: 0;
  padding-right: 18px;
}

html[data-lang="ar"] .hero-points li::before {
  left: auto;
  right: 0;
}

html[data-lang="ar"] .site-footer a,
html[data-lang="ar"] .text-link {
  width: fit-content;
}

.article-shell {
  max-width: 820px;
  margin: 0 auto;
}

.article-header {
  padding: 36px 0 24px;
  border-bottom: 1px solid var(--surface-line);
}

.article-header h1 {
  font-size: 3rem;
  margin-top: 18px;
}

.article-header p {
  font-size: 1.12rem;
  margin-bottom: 0;
}

.article-content {
  padding-top: 26px;
  font-size: 1.08rem;
}

.article-content p { margin: 0 0 20px; }

.article-content h2 {
  margin: 34px 0 14px;
  font-size: 1.7rem;
}

.article-content ul {
  margin: 0 0 22px;
  padding-left: 22px;
  color: var(--muted);
}

.article-content li + li {
  margin-top: 10px;
}

.article-hero-image {
  margin: 30px 0 34px;
  overflow: hidden;
  border: 1px solid var(--surface-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.article-hero-image img {
  width: 100%;
  height: auto;
}

.related-reading,
.article-cta,
.note-template {
  margin-top: 34px;
}

.related-reading h2,
.article-cta h2,
.note-template h2 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.related-grid { grid-template-columns: 1fr; margin-top: 0; }

.related-link {
  padding: 16px;
  color: var(--text);
}

.related-link span {
  color: var(--faint);
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 4px;
}

.article-cta {
  padding: 24px;
  border: 1px solid rgba(139, 92, 255, 0.32);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(76, 115, 255, 0.13), rgba(255, 76, 216, 0.1));
}

.article-cta div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.article-disclaimer {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--surface-line);
  color: var(--faint);
  font-size: 0.95rem;
}

.note-template ul {
  margin: 0;
  padding-left: 20px;
}

.button-danger {
  background: rgba(255, 107, 138, 0.16);
  border-color: rgba(255, 107, 138, 0.4);
  color: #ffd7e2;
}

.flash {
  margin: 26px auto 0;
  padding: 16px 18px;
  border: 1px solid var(--surface-line);
  border-radius: 8px;
  background: rgba(11, 17, 29, 0.88);
}

.flash p {
  margin: 0;
}

.flash-success {
  border-color: rgba(98, 210, 162, 0.38);
  background: rgba(98, 210, 162, 0.1);
}

.flash-error {
  border-color: rgba(255, 107, 138, 0.38);
  background: rgba(255, 107, 138, 0.08);
}

.flash-warning {
  border-color: rgba(255, 196, 84, 0.38);
  background: rgba(255, 196, 84, 0.08);
}

.flash-details {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--text);
}

.flash-details code {
  white-space: pre-wrap;
  word-break: break-word;
}

.community-shell {
  padding: 72px 0 0;
}

.community-shell-narrow {
  max-width: 820px;
  margin: 0 auto;
}

.community-auth-page {
  padding: 72px 0 0;
}

.community-auth-container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.community-auth-container-request .community-page-header,
.community-auth-container-request .community-notice-card,
.community-auth-container-request .community-form-card {
  max-width: 820px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.community-auth-container-login .community-page-header,
.community-auth-container-login .community-form-card {
  max-width: 560px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.community-hero,
.dashboard-hero,
.portal-shell {
  display: grid;
  gap: 28px;
}

.community-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: stretch;
}

.dashboard-hero,
.portal-shell {
  align-items: center;
  padding: 56px 0 32px;
}

.dashboard-hero {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.portal-shell {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.95fr);
}

.portal-shell-narrow {
  max-width: 940px;
  margin: 0 auto;
}

.portal-shell-center {
  min-height: calc(100vh - 300px);
  place-items: center;
  grid-template-columns: 1fr;
}

.community-page-header {
  max-width: 780px;
  margin-bottom: 28px;
}

.community-page-header-centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.community-auth-page .community-page-header {
  margin-bottom: 0;
}

.community-page-header h1,
.portal-copy h1,
.community-hero h1,
.dashboard-hero h1 {
  margin-top: 16px;
  text-wrap: balance;
}

.community-page-header h1,
.community-hero h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.community-page-header h2,
.community-status-card h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  text-wrap: balance;
}

.community-shell-narrow .community-page-header h1 {
  max-width: 11ch;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.community-page-header p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.community-auth-page .community-page-header h1 {
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.8rem, 4.7vw, 4rem);
}

.community-auth-page .community-page-header p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.community-auth-container-login .community-page-header h1 {
  max-width: 10ch;
  font-size: clamp(2.7rem, 4.4vw, 4rem);
}

.community-hero-panel,
.community-status-card,
.dashboard-card,
.form-panel,
.community-form-card,
.composer-panel,
.feed-post,
.status-card {
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-lg);
  background: rgba(11, 17, 29, 0.8);
  box-shadow: var(--shadow);
}

.community-hero-panel,
.community-status-card {
  position: relative;
  overflow: hidden;
}

.community-hero-panel {
  padding: 36px 38px;
  background:
    radial-gradient(circle at top right, rgba(139, 92, 255, 0.22), transparent 36%),
    linear-gradient(180deg, rgba(13, 19, 31, 0.96), rgba(8, 12, 20, 0.96));
}

.community-hero-panel::before,
.community-status-card::before,
.community-form-card::before {
  content: "";
  position: absolute;
  inset: auto auto -42px -42px;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(76, 115, 255, 0.18), transparent 68%);
  pointer-events: none;
}

.community-status-card {
  display: grid;
  gap: 22px;
  padding: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 76, 216, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(15, 21, 34, 0.96), rgba(9, 13, 22, 0.96));
}

.community-status-intro {
  position: relative;
  z-index: 1;
}

.community-status-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.community-status-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.community-status-line span {
  color: var(--faint);
  font-size: 0.95rem;
}

.community-status-line strong {
  font-size: 1rem;
  text-align: right;
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.community-button,
.community-button-secondary {
  min-width: 180px;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

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

.community-card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--surface-line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(15, 21, 34, 0.92), rgba(10, 14, 23, 0.88));
  box-shadow: var(--shadow-soft);
}

.community-card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 30px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 255, 0.3);
  background: rgba(139, 92, 255, 0.12);
  color: #d8ccff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.community-card h3,
.community-preview-card h3 {
  margin-bottom: 10px;
}

.community-card p,
.community-preview-card p {
  margin: 0;
  color: var(--muted);
}

.community-section-heading {
  align-items: end;
  margin-bottom: 24px;
}

.community-preview-grid {
  margin-top: 0;
}

.community-preview-card {
  min-height: 100%;
}

.premium-stat {
  padding: 22px;
  background: rgba(9, 14, 24, 0.94);
}

.premium-stat span,
.meta-line,
.muted-line,
.status-note {
  color: var(--faint);
}

.status-note {
  margin-top: 0;
  font-size: 0.98rem;
}

.form-panel,
.community-form-card,
.composer-panel,
.dashboard-card,
.feed-post,
.status-card {
  padding: 24px;
}

.community-form-card {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(76, 115, 255, 0.12), transparent 30%),
    rgba(11, 17, 29, 0.92);
}

.community-form-card-request,
.community-form-card-login {
  width: 100%;
}

.community-notice-card {
  margin-bottom: 20px;
}

.community-auth-container-request .community-notice-card {
  margin-bottom: 0;
}

.community-form {
  display: block;
  width: 100%;
}

.community-form-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.community-form-grid-single {
  grid-template-columns: 1fr;
}

.community-form .community-field,
.community-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-weight: 600;
}

.community-field-full,
.community-field--full {
  grid-column: 1 / -1;
}

.community-form-actions {
  display: grid;
  gap: 12px;
}

.community-actions-form {
  margin-top: 20px;
}

.community-actions-login {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.community-actions-form .community-button {
  min-width: 0;
}

.community-button-primary {
  justify-content: center;
}

.community-button-secondary {
  justify-content: center;
  text-align: center;
}

.status-card {
  max-width: 760px;
  margin: 0 auto;
}

.status-card-danger {
  border-color: rgba(255, 107, 138, 0.35);
}

.stack-form {
  display: grid;
  gap: 16px;
}

.stack-form label,
.filter-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
}

input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--surface-line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(139, 92, 255, 0.4);
  outline-offset: 1px;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-errors {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 107, 138, 0.38);
  border-radius: 8px;
  background: rgba(255, 107, 138, 0.08);
}

.form-errors p {
  margin: 0;
}

.form-errors p + p {
  margin-top: 8px;
}

.dashboard-grid,
.resource-grid,
.stats-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

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

.resource-grid {
  grid-template-columns: repeat(2, 1fr);
  margin: 28px 0 72px;
}

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

.link-list {
  padding-left: 18px;
  margin: 18px 0 0;
}

.link-list li + li {
  margin-top: 10px;
}

.link-list a {
  color: #dce4ff;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.status-approved {
  color: #d7ffef;
  background: rgba(98, 210, 162, 0.13);
  border-color: rgba(98, 210, 162, 0.36);
}

.status-pending {
  color: #ffe8bb;
  background: rgba(255, 196, 84, 0.12);
  border-color: rgba(255, 196, 84, 0.3);
}

.status-rejected,
.status-blocked {
  color: #ffd9e2;
  background: rgba(255, 107, 138, 0.12);
  border-color: rgba(255, 107, 138, 0.32);
}

.status-muted {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
}

.filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  justify-content: flex-end;
}

.feed-list,
.staff-card-list {
  display: grid;
  gap: 18px;
  margin: 24px 0 80px;
}

.feed-post h2 {
  margin-top: 10px;
}

.post-header,
.staff-card-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.post-tags,
.inline-actions,
.moderation-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.post-content {
  color: var(--muted);
  white-space: pre-wrap;
}

.inline-editor {
  margin-top: 18px;
  border-top: 1px solid var(--surface-line);
  padding-top: 16px;
}

.inline-editor summary {
  cursor: pointer;
  color: #dce4ff;
  font-weight: 700;
}

.comments-block {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--surface-line);
}

.comment-card {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
}

.staff-section {
  padding: 34px 0 0;
}

.email-status-grid {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.email-error-line {
  color: #ffd3dc;
}

.manual-email-draft {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.manual-email-draft pre {
  margin: 14px 0 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.search-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-form input {
  min-width: 280px;
}

.category-admin-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.category-admin-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr auto auto;
  gap: 10px;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.05rem; }
  .five-grid { grid-template-columns: repeat(2, 1fr); }
  .three-grid, .latest-grid, .blog-grid, .opportunity-list, .partner-grid, .simple-grid-four, .community-grid-telegram { grid-template-columns: 1fr 1fr; }
  .simple-grid-three { grid-template-columns: 1fr 1fr; }
  .learn-slab-grid, .learn-flow-grid, .hero-stage-metrics-vertical { grid-template-columns: 1fr 1fr; }
  .blog-hero-grid { grid-template-columns: 1fr; }
  .market-strip { grid-template-columns: 1fr 1fr; }
  .split-section { grid-template-columns: 1fr; }
  .hero-layout { grid-template-columns: 1fr; }
  .contact-panel-grid { grid-template-columns: 1fr; }
  .community-mobile-scene { min-height: 560px; }
  .community-hero, .dashboard-hero, .portal-shell, .dashboard-grid, .resource-grid, .stats-grid { grid-template-columns: 1fr; }
  .community-form-grid { grid-template-columns: 1fr 1fr; }
  .community-grid-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-admin-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto;
    width: min(100% - 24px, var(--shell));
    padding: 12px 14px;
  }
  .menu-toggle { display: inline-block; justify-self: end; }
  .primary-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--surface-line);
    border-radius: 18px;
    background: rgba(5, 7, 13, 0.98);
    box-shadow: var(--shadow-soft);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px; }
  .primary-nav .mobile-nav-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }
  .primary-nav .mobile-nav-actions form,
  .primary-nav .mobile-nav-actions > * {
    width: 100%;
  }
  .header-actions { display: none; }
  .hero { min-height: auto; padding-top: 64px; }
  h1 { font-size: 2.45rem; }
  h2 { font-size: 1.72rem; }
  .hero-copy { font-size: 1rem; }
  .five-grid, .three-grid, .latest-grid, .blog-grid, .opportunity-list, .footer-grid, .simple-grid-three, .simple-grid-four { grid-template-columns: 1fr; }
  .learn-slab-grid, .learn-flow-grid, .hero-stage-grid, .hero-stage-metrics, .hero-stage-metrics-vertical { grid-template-columns: 1fr; }
  .section-heading-row { display: block; }
  .section-heading-row .button { margin-top: 18px; }
  .blog-hero-copy .hero-copy { margin-right: 0; }
  .article-header h1 { font-size: 2.15rem; }
  .dashboard-grid, .resource-grid, .stats-grid, .community-hero, .dashboard-hero, .portal-shell, .category-admin-row, .community-form-grid { grid-template-columns: 1fr; }
  .post-header, .staff-card-header, .search-form, .filter-form { display: grid; }
  .community-shell { padding-top: 52px; }
  .community-auth-page { padding-top: 52px; }
  .community-mobile-scene {
    min-height: 0;
    padding: 22px 18px 22px;
  }
  .community-mobile-watermark {
    bottom: 98px;
    font-size: clamp(3rem, 18vw, 4.8rem);
  }
  .community-mobile-caption {
    max-width: 300px;
    margin-bottom: 18px;
  }
  .community-device-frame {
    width: min(100%, 320px);
  }
  .community-device-screen {
    min-height: 500px;
    padding-inline: 14px;
  }
  .community-device-feature,
  .community-device-grid {
    grid-template-columns: 1fr;
  }
  .contact-rail-card {
    padding: 20px;
  }
  .community-device-orbit {
    justify-self: center;
  }
  .hero-panel-grid { grid-template-columns: 1fr 1fr; }
  .hero-simplified { padding-top: 66px; }
  .community-page-header h1,
  .community-hero h1 { font-size: clamp(2.5rem, 10vw, 4.1rem); }
  .community-shell-narrow .community-page-header h1 { font-size: clamp(2.3rem, 8.5vw, 3.7rem); }
  .community-auth-page .community-page-header h1,
  .community-auth-container-login .community-page-header h1 { font-size: clamp(2.5rem, 7.2vw, 3.6rem); }
  .community-hero-panel,
  .community-status-card,
  .community-form-card { padding: 24px; }
  .community-status-line { grid-template-columns: 1fr; }
  .community-actions-login { grid-template-columns: 1fr; }
  .partner-card { min-height: auto; }
  .partner-cta-row { justify-content: stretch; }
  .partner-cta { width: 100%; }
}

@media (max-width: 560px) {
  main, .site-header, .site-footer { width: min(100% - 22px, var(--shell)); }
  .hero-actions, .contact-actions, .article-cta div { flex-direction: column; align-items: stretch; }
  .button, .button-card { width: 100%; }
  .market-strip { grid-template-columns: 1fr; }
  .partner-grid, .community-grid-telegram { grid-template-columns: 1fr; }
  .section, .blog-hero, .article-shell { padding: 58px 0; }
  h1 { font-size: 2rem; }
  .site-header { top: 8px; }
  .brand { gap: 10px; }
  .brand img,
  .footer-brand img { width: auto; height: 24px; }
  .primary-nav .mobile-nav-actions {
    grid-template-columns: 1fr;
  }
  .lang-toggle { width: 100%; justify-content: center; }
  .lang-toggle-button { flex: 1; }
  .community-app-top { align-items: flex-start; }
  .community-app-actions { flex-direction: column; }
  .community-app-actions .button-small { width: 100%; }
  .hero-panel,
  .contact-panel,
  .community-note-card { padding: 22px; border-radius: 22px; }
  .hero-panel-grid { grid-template-columns: 1fr; }
  .inline-actions, .moderation-strip { flex-direction: column; align-items: stretch; }
  .community-actions { flex-direction: column; }
  .community-button,
  .community-button-secondary { width: 100%; min-width: 0; }
  .community-grid { grid-template-columns: 1fr; }
  .community-auth-page .community-page-header h1,
  .community-auth-container-login .community-page-header h1 { font-size: clamp(2.15rem, 10vw, 3.05rem); }
  .community-page-header h1,
  .community-hero h1 { font-size: clamp(2.2rem, 12vw, 3.25rem); }
  .community-shell-narrow .community-page-header h1 { font-size: clamp(2rem, 11vw, 2.9rem); }
  .community-page-header p { font-size: 0.98rem; }
  .community-status-card,
  .community-hero-panel,
  .community-form-card,
  .feed-post,
  .dashboard-card,
  .status-card { border-radius: 20px; }
  .risk-disclaimer {
    padding: 16px 18px;
    border-radius: 18px;
    font-size: 0.9rem;
  }
}

/* Brand24-inspired light redesign */

:root {
  --bg: #f6f9fc;
  --bg-soft: #eef4fb;
  --surface: #ffffff;
  --surface-strong: #f7faff;
  --surface-line: rgba(18, 39, 74, 0.1);
  --text: #10233f;
  --muted: #50627f;
  --faint: #7a8ba5;
  --blue: #1f7ae0;
  --pink: #ff6fae;
  --violet: #5f7cff;
  --success: #1fa971;
  --danger: #d14e67;
  --gradient: linear-gradient(135deg, #2e86ea 0%, #5f7cff 55%, #7dc4ff 100%);
  --shadow: 0 28px 70px rgba(33, 74, 131, 0.12);
  --shadow-soft: 0 18px 46px rgba(33, 74, 131, 0.1);
  color-scheme: light;
}

body {
  background:
    radial-gradient(circle at top left, rgba(120, 180, 255, 0.18), rgba(120, 180, 255, 0) 32%),
    radial-gradient(circle at top right, rgba(255, 182, 205, 0.16), rgba(255, 182, 205, 0) 26%),
    linear-gradient(180deg, #f9fbfe 0%, #f3f7fc 100%);
  color: var(--text);
}

.page-shell {
  background-image:
    linear-gradient(rgba(19, 55, 102, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 55, 102, 0.04) 1px, transparent 1px);
  background-size: 108px 108px;
}

.site-header,
.site-header-light {
  top: 16px;
  border: 1px solid rgba(17, 40, 74, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 42px rgba(20, 56, 103, 0.1);
  backdrop-filter: blur(18px);
}

.primary-nav a,
.site-footer a {
  color: var(--muted);
}

.primary-nav a:hover,
.primary-nav a.is-active,
.site-footer a:hover,
.text-link:hover {
  color: var(--blue);
}

.menu-toggle {
  border-color: rgba(17, 40, 74, 0.08);
  background: #fff;
  color: var(--text);
}

.lang-toggle {
  border-color: rgba(17, 40, 74, 0.1);
  background: rgba(17, 40, 74, 0.04);
}

.lang-toggle-button {
  color: var(--muted);
}

.lang-toggle-button.is-active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 8px 20px rgba(24, 57, 102, 0.08);
}

.button {
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 16px 32px rgba(35, 104, 187, 0.22);
}

.button:hover {
  transform: translateY(-1px);
}

.button-secondary,
.button-card {
  border-color: rgba(17, 40, 74, 0.1);
  background: #fff;
  color: var(--text);
  box-shadow: none;
}

.button-secondary:hover,
.button-card:hover {
  border-color: rgba(31, 122, 224, 0.22);
  color: var(--blue);
}

.button-small.button-secondary {
  background: #fff;
}

.section,
.blog-hero,
.article-shell {
  padding-top: 72px;
  padding-bottom: 72px;
}

.brand-hero {
  padding: 92px 0 48px;
}

.brand-hero-grid,
.feature-split,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: center;
}

.brand-hero-copy h1 {
  max-width: 720px;
  margin: 0 0 18px;
  font-size: clamp(2.9rem, 6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.eyebrow,
.section-kicker {
  color: var(--blue);
}

.hero-copy,
.section-heading p,
.spotlight-card p,
.channel-card p,
.feature-list li,
.footer-grid p,
.risk-disclaimer,
.article-card p,
.article-header p,
.article-content p {
  color: var(--muted);
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.proof-strip span,
.feature-panel-pill-row span,
.community-live-pill,
.dashboard-topline span,
.channel-label {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(31, 122, 224, 0.12);
  border-radius: 999px;
  background: rgba(31, 122, 224, 0.07);
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 800;
}

.hero-dashboard,
.feature-panel,
.contact-grid,
.article-card,
.spotlight-card,
.hero-stage-panel,
.premium-card,
.contact-panel,
.community-note-card,
.article-shell,
.site-footer,
.site-footer-light {
  color: var(--text);
}

.dashboard-shell,
.feature-panel-card,
.channel-card,
.spotlight-card,
.article-card,
.hero-stage-panel,
.premium-card,
.contact-panel,
.community-note-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
  border: 1px solid rgba(18, 39, 74, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.dashboard-shell,
.feature-panel-card,
.channel-card {
  padding: 28px;
}

.dashboard-topline,
.feature-panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-topline {
  margin-bottom: 18px;
}

.dashboard-topline strong,
.feature-panel-row strong {
  font-size: 1rem;
}

.dashboard-metrics {
  display: grid;
  gap: 14px;
}

.dashboard-metrics article {
  padding: 18px;
  border: 1px solid rgba(18, 39, 74, 0.08);
  border-radius: 22px;
  background: rgba(246, 250, 255, 0.9);
}

.dashboard-metrics article span {
  display: block;
  margin-bottom: 8px;
  color: var(--faint);
  font-size: 0.85rem;
}

.dashboard-metrics article strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.dashboard-journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.journey-step {
  padding: 16px;
  border: 1px solid rgba(18, 39, 74, 0.08);
  border-radius: 18px;
  background: #fff;
}

.journey-step strong {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(31, 122, 224, 0.08);
  color: var(--blue);
}

.journey-step span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.journey-step.is-active {
  background: linear-gradient(135deg, rgba(31, 122, 224, 0.1), rgba(95, 124, 255, 0.08));
}

.simple-section-block {
  padding-top: 34px;
  padding-bottom: 34px;
}

.section-soft {
  margin-top: 18px;
  padding: 42px 34px;
  border: 1px solid rgba(18, 39, 74, 0.06);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(241, 247, 255, 0.96));
  box-shadow: var(--shadow-soft);
}

.spotlight-grid,
.channel-card-grid {
  display: grid;
  gap: 20px;
}

.spotlight-grid-three,
.channel-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spotlight-card,
.channel-card {
  padding: 26px;
}

.spotlight-number {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.spotlight-card h3,
.channel-card h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.feature-list {
  margin: 24px 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue);
}

html[data-lang="ar"] .feature-list li {
  padding-right: 18px;
  padding-left: 0;
}

html[data-lang="ar"] .feature-list li::before {
  right: 0;
  left: auto;
}

.feature-panel-card {
  display: grid;
  gap: 14px;
}

.feature-panel-row {
  padding: 18px;
  border: 1px solid rgba(18, 39, 74, 0.08);
  border-radius: 18px;
  background: #fff;
}

.feature-panel-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.contact-grid {
  padding: 34px;
  border: 1px solid rgba(18, 39, 74, 0.08);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.98));
  box-shadow: var(--shadow);
}

.contact-heading {
  margin: 0;
}

.channel-card-grid {
  align-self: stretch;
}

.article-card,
.premium-card,
.hero-panel,
.contact-panel,
.community-note-card {
  border: 1px solid rgba(18, 39, 74, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
  box-shadow: var(--shadow-soft);
}

.article-card h3 a,
.article-header h1,
.section-heading h2,
.blog-hero-copy h1 {
  color: var(--text);
}

.tag,
.category-chip,
.status-pill,
.premium-card-badge {
  background: rgba(31, 122, 224, 0.08);
  color: var(--blue);
  border: 1px solid rgba(31, 122, 224, 0.12);
}

.site-footer,
.site-footer-light {
  width: min(var(--shell), calc(100% - 32px));
  margin: 40px auto 28px;
  padding: 34px;
  border: 1px solid rgba(18, 39, 74, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.risk-disclaimer {
  margin-top: 28px;
  border: 1px solid rgba(18, 39, 74, 0.06);
  background: rgba(244, 248, 255, 0.92);
}

.article-shell {
  border: 1px solid rgba(18, 39, 74, 0.08);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.article-cta {
  border: 1px solid rgba(18, 39, 74, 0.08);
  background: linear-gradient(135deg, rgba(31, 122, 224, 0.08), rgba(125, 196, 255, 0.15));
}

@media (max-width: 980px) {
  .brand-hero-grid,
  .feature-split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .spotlight-grid-three,
  .channel-card-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-journey {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .brand-hero {
    padding-top: 74px;
  }

  .brand-hero-copy h1 {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
  }

  .dashboard-shell,
  .feature-panel-card,
  .contact-grid,
  .spotlight-card,
  .channel-card,
  .article-card,
  .site-footer {
    padding: 22px;
  }

  .section-soft {
    padding: 28px 20px;
  }
}

/* 2026-07-10 polish pass */
.dashboard-topline strong {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(18, 39, 74, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(460px, 1.08fr);
  align-items: stretch;
  gap: 30px;
}

.contact-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 10px;
}

.channel-card-grid {
  grid-template-columns: repeat(3, minmax(148px, 1fr));
  grid-auto-rows: 1fr;
  gap: 18px;
  align-items: stretch;
}

.channel-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  justify-items: center;
  gap: 14px;
  min-height: 100%;
  padding: 24px 18px;
  text-align: center;
}

.channel-card h3 {
  margin: 0;
  max-width: 100%;
  min-height: 2.7em;
  font-size: 1.04rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.channel-card p {
  margin: 0;
  max-width: 100%;
  font-size: 0.94rem;
  line-height: 1.58;
  min-height: 7.6rem;
}

.channel-card .button-card {
  width: 100%;
  max-width: 164px;
  margin-inline: auto;
}

.hero-stage-label {
  color: #46608d;
  background: rgba(124, 97, 255, 0.08);
  border-color: rgba(124, 97, 255, 0.18);
}

.hero-stage-metrics div {
  background: rgba(247, 250, 255, 0.96);
  border: 1px solid rgba(18, 39, 74, 0.08);
}

.hero-stage-metrics strong {
  color: var(--text);
}

.hero-stage-metrics span {
  color: var(--muted);
}

.section-band {
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.98), rgba(241, 247, 255, 0.98));
  border-block: 1px solid rgba(18, 39, 74, 0.06);
}

.learn-flow-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.98));
  border: 1px solid rgba(18, 39, 74, 0.08);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.learn-flow-card h3 {
  color: var(--text);
  margin-top: 16px;
}

.learn-flow-card p {
  color: var(--muted);
}

.learn-flow-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(31, 122, 224, 0.12);
  border-radius: 999px;
  background: rgba(31, 122, 224, 0.08);
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.learn-flow-card::before {
  opacity: 0.16;
}

.blog-hero-grid {
  grid-template-columns: 1fr;
}

.blog-hero-copy-wide {
  max-width: none;
  padding: 34px 36px;
  border: 1px solid rgba(18, 39, 74, 0.08);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 249, 255, 0.97));
  box-shadow: var(--shadow-soft);
}

.blog-hero-copy h1 {
  max-width: 920px;
  font-size: clamp(2.9rem, 5vw, 4.45rem);
  line-height: 1.04;
}

.blog-hero-copy p {
  max-width: 840px;
  font-size: 1.16rem;
  line-height: 1.72;
}

.article-shell {
  width: min(1100px, calc(100% - 32px));
  padding: 44px 56px;
}

.article-header h1 {
  max-width: 900px;
  font-size: clamp(2.6rem, 4.6vw, 4.2rem);
  line-height: 1.08;
}

.article-header p {
  max-width: 820px;
  font-size: 1.14rem;
}

.article-content {
  font-size: 1.02rem;
}

.article-content p,
.article-content li {
  line-height: 1.82;
}

.article-hero-image {
  margin-inline: 0;
}

@media (max-width: 1100px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .channel-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .blog-hero-copy-wide,
  .article-shell {
    padding: 24px 22px;
  }

  .blog-hero-copy h1,
  .article-header h1 {
    font-size: clamp(2.15rem, 10vw, 3.1rem);
  }
}

.related-reading {
  padding-top: 6px;
}

.related-link {
  display: block;
  border: 1px solid rgba(18, 39, 74, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.98));
  box-shadow: var(--shadow-soft);
  color: var(--text);
}

.related-link:hover {
  border-color: rgba(31, 122, 224, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(240, 247, 255, 1));
  color: var(--blue);
}

.related-link span {
  color: #6880ab;
}

@media (max-width: 820px) {
  .primary-nav {
    border: 1px solid rgba(18, 39, 74, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.98));
    box-shadow: 0 18px 42px rgba(20, 56, 103, 0.12);
    backdrop-filter: blur(18px);
  }

  .primary-nav a {
    color: var(--text);
  }

  .primary-nav .mobile-nav-actions {
    padding-top: 16px;
    border-top: 1px solid rgba(18, 39, 74, 0.08);
  }

  .primary-nav .lang-toggle {
    border-color: rgba(17, 40, 74, 0.1);
    background: rgba(17, 40, 74, 0.04);
  }

  .primary-nav .lang-toggle-button {
    color: var(--muted);
  }

  .primary-nav .lang-toggle-button.is-active {
    background: #fff;
    color: var(--text);
    box-shadow: 0 8px 20px rgba(24, 57, 102, 0.08);
  }
}

.autotrade-layout,
.autotrade-admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
  gap: 24px;
  margin-top: 24px;
}

.autotrade-admin-layout {
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.45fr);
  align-items: start;
}

.autotrade-main-card,
.autotrade-admin-detail,
.autotrade-admin-list,
.autotrade-side-stack {
  min-width: 0;
}

.autotrade-side-stack {
  display: grid;
  gap: 20px;
}

.autotrade-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
}

.checkbox-label input[type='checkbox'] {
  width: 18px;
  height: 18px;
  margin: 0;
}

.autotrade-status-list {
  display: grid;
  gap: 12px;
}

.autotrade-status-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(18, 39, 74, 0.08);
  border-radius: 16px;
  background: rgba(247, 250, 255, 0.85);
}

.autotrade-status-list span {
  color: var(--muted);
}

.autotrade-status-list strong {
  color: var(--text);
  text-transform: capitalize;
}

.autotrade-note {
  margin-top: 14px;
}

.autotrade-code {
  display: block;
  width: 100%;
  margin: 8px 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(18, 39, 74, 0.08);
  border-radius: 14px;
  background: rgba(244, 248, 255, 0.95);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, monospace;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.autotrade-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.autotrade-profile-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.autotrade-profile-link {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(18, 39, 74, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.autotrade-profile-link:hover,
.autotrade-profile-link.is-selected {
  border-color: rgba(31, 122, 224, 0.22);
  box-shadow: 0 18px 42px rgba(20, 56, 103, 0.12);
  transform: translateY(-2px);
}

.autotrade-profile-link span {
  color: var(--muted);
  font-size: 0.94rem;
}

.autotrade-action-stack {
  display: grid;
  gap: 12px;
}

.autotrade-action-stack form {
  margin: 0;
}

.autotrade-admin-grid {
  margin-top: 22px;
}

@media (max-width: 1100px) {
  .autotrade-layout,
  .autotrade-admin-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .autotrade-form-grid,
  .autotrade-download-grid {
    grid-template-columns: 1fr;
  }
}
