:root {
  --bg: #060d18;
  --bg-soft: #0a1526;
  --panel: rgba(14, 25, 44, 0.72);
  --panel-solid: #0d192d;
  --text: #f5f8fc;
  --muted: #9bb0cd;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --purple: #8b5cf6;
  --violet: #6d5dfc;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --pink: #ec4899;
  --green: #10b981;
  --accent-text: #22d3ee;
  --accent-text-hover: #67e8f9;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 24px;
}

html[data-theme="light"] {
  --bg: #f8fafc;
  --bg-soft: #edf2f9;
  --panel: rgba(255, 255, 255, 0.85);
  --panel-solid: #ffffff;
  --text: #0b1528;
  --muted: #475569;
  --line: rgba(15, 23, 42, 0.09);
  --line-strong: rgba(15, 23, 42, 0.16);
  --accent-text: #0284c7;
  --accent-text-hover: #0369a1;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Cairo, system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: clip;
  transition: background 0.25s ease, color 0.25s ease;
}

body[dir="rtl"] {
  font-family: Cairo, Inter, system-ui, sans-serif;
}

body[dir="rtl"] .hero h1,
body[dir="rtl"] h2,
body[dir="rtl"] h3,
body[dir="rtl"] .eyebrow,
body[dir="rtl"] .section-kicker {
  letter-spacing: 0 !important;
}

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

/* In-page anchor offset for any element with an ID */
[id] {
  scroll-margin-top: 92px;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* Ambient glow blobs */
.ambient {
  position: fixed;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.22;
  z-index: -2;
  border-radius: 999px;
}
.ambient-a {
  width: 520px;
  height: 520px;
  background: var(--purple);
  top: -200px;
  right: -120px;
}
.ambient-b {
  width: 440px;
  height: 440px;
  background: var(--cyan);
  bottom: 5%;
  left: -180px;
  opacity: 0.14;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(109, 93, 252, 0.38);
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(34, 211, 238, 0.38));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

.brand:hover .brand-logo-img {
  transform: scale(1.08) rotate(3deg);
  filter: drop-shadow(0 6px 18px rgba(34, 211, 238, 0.6));
}

.brand-word {
  font-size: 1.22rem;
  letter-spacing: 0.05em;
  font-weight: 800;
}

.desktop-nav {
  display: flex;
  gap: clamp(14px, 1.8vw, 30px);
  color: var(--muted);
  font-size: clamp(0.86rem, 0.95vw, 0.93rem);
  font-weight: 600;
  white-space: nowrap;
}

.desktop-nav a {
  transition: color 0.2s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn, .lang-btn {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.icon-btn:hover, .lang-btn:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.lang-btn {
  padding: 0 12px;
  font-weight: 800;
  font-size: 0.86rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  padding: 13px 20px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-small {
  padding: 9px 15px;
  font-size: 0.88rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--purple));
  color: #fff;
  box-shadow: 0 10px 28px rgba(109, 93, 252, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(109, 93, 252, 0.45);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--panel);
  backdrop-filter: blur(14px);
}

.btn-light {
  background: #fff;
  color: #0c1528;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.btn-block {
  width: 100%;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px;
}

.mobile-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobile Drawer Overlay */
@media (min-width: 981px) {
  .mobile-drawer,
  .drawer-backdrop {
    display: none !important;
  }
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(320px, 85vw);
  background: var(--panel-solid);
  border-right: 1px solid var(--line);
  z-index: 100;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

body[dir="rtl"] .mobile-drawer {
  left: auto;
  right: 0;
  border-right: none;
  border-left: 1px solid var(--line);
  transform: translateX(100%);
}

.mobile-drawer.open,
body[dir="rtl"] .mobile-drawer.open {
  transform: translateX(0) !important;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.close-drawer {
  font-size: 1.1rem;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 0;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease;
}

.mobile-nav-link:hover, .mobile-nav-link:focus {
  background: var(--panel);
  color: var(--text);
}

.drawer-footer {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-controls {
  display: flex;
  gap: 10px;
}

.drawer-controls .lang-btn,
.drawer-controls .icon-btn {
  flex: 1;
}

/* Hero Section */
.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 50px;
  padding-block: 84px 72px;
}

.eyebrow, .section-kicker {
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
  font-size: 0.76rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 3.8vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin: 18px 0 24px;
  max-width: 760px;
}

.hero h1 span { display: block; }

.gradient-text {
  background: linear-gradient(90deg, #8b5cf6, #3b82f6, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.14rem;
  max-width: 660px;
  line-height: 1.65;
}

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

.hero-proof {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 34px;
}

.hero-proof .accent {
  color: var(--text);
  font-weight: 700;
}

/* Interactive Ecosystem Stage in Hero */
.hero-visual {
  display: grid;
  place-items: center;
  position: relative;
}

.ecosystem-stage {
  width: min(480px, calc(100% - 60px));
  aspect-ratio: 1;
  position: relative;
  border-radius: 50%;
  margin-bottom: 12px;
}

.orbit-glow {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.15) 0%, rgba(109, 93, 252, 0.10) 45%, transparent 70%);
  filter: blur(28px);
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.05); }
}

.orbit {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(126, 146, 255, 0.22);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}

.orbit-two {
  position: absolute;
  inset: 24%;
  border: 1px dashed rgba(34, 211, 238, 0.25);
  border-radius: 50%;
  animation: spinReverse 28s linear infinite;
}

.orbit-pulse {
  position: absolute;
  inset: 31%;
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 50%;
  animation: radarRipple 4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes spinReverse {
  to { transform: rotate(-360deg); }
}

@keyframes radarRipple {
  0% { transform: scale(0.92); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Central EISAX Hub */
.hub {
  position: absolute;
  inset: 29%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(18, 30, 52, 0.95), rgba(7, 13, 24, 0.98));
  border: 1.5px solid rgba(34, 211, 238, 0.45);
  box-shadow: 
    0 0 0 10px rgba(34, 211, 238, 0.05),
    0 0 45px rgba(34, 211, 238, 0.25),
    inset 0 0 25px rgba(109, 93, 252, 0.3);
  z-index: 5;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hub:hover {
  transform: scale(1.04);
  border-color: rgba(34, 211, 238, 0.7);
  box-shadow: 
    0 0 0 14px rgba(34, 211, 238, 0.08),
    0 0 65px rgba(34, 211, 238, 0.4),
    inset 0 0 35px rgba(34, 211, 238, 0.4);
}

html[data-theme="light"] .hub {
  background: radial-gradient(circle at 40% 35%, rgba(255, 255, 255, 0.98), rgba(238, 245, 255, 0.95));
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 
    0 0 0 10px rgba(109, 93, 252, 0.06),
    0 16px 45px rgba(34, 211, 238, 0.22);
}

.hub-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  line-height: 1.15;
}

.hub-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(34, 211, 238, 0.5));
  animation: hubFloat 3.6s ease-in-out infinite;
}

@keyframes hubFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.hub-title {
  font-weight: 900;
  letter-spacing: 0.06em;
  font-size: 1.18rem;
  margin-top: 3px;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff, #a5f3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="light"] .hub-title {
  background: linear-gradient(135deg, #0b1528, #0284c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hub-sub {
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cyan);
  text-transform: uppercase;
  line-height: 1.2;
  max-width: 100%;
  text-wrap: balance;
}

html[data-theme="light"] .hub-sub {
  color: #0284c7;
}

/* Symmetrical Satellite Project Nodes */
.node {
  position: absolute;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text);
  min-width: 126px;
  padding: 9px 13px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.82rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  user-select: none;
}

.node-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.node-label {
  white-space: nowrap;
}

/* Specific Satellite Positions (Geometric Balance) */
.node-2 {
  top: 17%;
  right: -2%;
}
.node-2:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: #a78bfa;
  box-shadow: 0 12px 30px rgba(167, 139, 250, 0.3);
}

.node-3 {
  top: 50%;
  right: -7%;
  transform: translateY(-50%);
}
.node-3:hover {
  transform: translateY(calc(-50% - 3px)) scale(1.04);
  border-color: var(--green);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.3);
}

.node-4 {
  bottom: 11%;
  right: 3%;
}
.node-4:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: #fbbf24;
  box-shadow: 0 12px 30px rgba(251, 191, 36, 0.3);
}

.node-5 {
  bottom: 11%;
  left: 3%;
}
.node-5:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: #60a5fa;
  box-shadow: 0 12px 30px rgba(96, 165, 250, 0.3);
}

.node-6 {
  top: 50%;
  left: -7%;
  transform: translateY(-50%);
}
.node-6:hover {
  transform: translateY(calc(-50% - 3px)) scale(1.04);
  border-color: #c084fc;
  box-shadow: 0 12px 30px rgba(192, 132, 252, 0.3);
}

.node-1 {
  top: 1%;
  left: 50%;
  transform: translateX(-50%);
}
.node-1:hover {
  transform: translate(-50%, -3px) scale(1.04);
  border-color: var(--cyan);
  box-shadow: 0 12px 30px rgba(34, 211, 238, 0.35);
}

.node-8 {
  top: 17%;
  left: -2%;
}
.node-8:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: #818cf8;
  box-shadow: 0 12px 30px rgba(129, 140, 248, 0.3);
}

/* Individual node icon styles */
.node-1 .node-icon { background: rgba(34, 211, 238, 0.16); color: var(--cyan); }
.node-2 .node-icon { background: rgba(109, 93, 252, 0.16); color: #c4b5fd; }
.node-3 .node-icon { background: rgba(16, 185, 129, 0.16); color: var(--green); }
.node-4 .node-icon { background: rgba(245, 158, 11, 0.16); color: #fbbf24; }
.node-5 .node-icon { background: rgba(59, 130, 246, 0.16); color: #60a5fa; }
.node-6 .node-icon { background: rgba(168, 85, 247, 0.16); color: #c084fc; }
.node-8 .node-icon { background: rgba(129, 140, 248, 0.16); color: #818cf8; }

/* Trust Strip */
.trust-strip {
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-soft) 70%, transparent);
}

.trust-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.trust-items {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trust-items span {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.84rem;
}

/* Sections */
.section {
  padding-block: 100px;
}

.section-soft {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.section-head {
  margin-bottom: 44px;
}

.section-head.centered {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 54px;
}

.section-head h2,
.company-grid h2,
.statement-card h2,
.final-card h2 {
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 12px 0 16px;
}

.section-head p {
  color: var(--muted);
  max-width: 720px;
  margin: 0;
  font-size: 1.08rem;
}

.section-head.split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
}

/* Worlds Grid */
.worlds-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.research-intro {
  margin-top: 26px;
  padding: 20px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg-soft) 76%, transparent);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 20px;
}
.research-intro .section-kicker { color: var(--muted); white-space: nowrap; }
.research-intro p { margin: 0; flex: 1; font-size: .88rem; }
.research-intro a { color: var(--accent-text); font-weight: 700; white-space: nowrap; }
.research-section {
  margin-top: 44px;
  padding: 48px 0 80px;
  border-top: 1px dashed var(--line-strong);
}
.research-section h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin: .4rem 0; }
.research-section > p, .portfolio-future > p { max-width: 700px; color: var(--muted); }
.research-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.research-item { padding: 22px; border: 1px dashed var(--line-strong); border-radius: 16px; background: color-mix(in srgb, var(--bg-soft) 72%, transparent); }
.research-item .product-pill { color: var(--muted); }
.research-item h3 { font-size: 1.2rem; margin: 12px 0 6px; }
.research-item p { color: var(--muted); font-size: .9rem; margin: 0 0 16px; }
.research-item .registry-facts { margin-bottom: 0; }
.research-item .registry-fact { border-color: var(--line); }

.world-card, .product-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.world-card {
  padding: 28px;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.world-card:before {
  content: "";
  position: absolute;
  inset: auto -30px -70px auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--purple);
  filter: blur(50px);
  opacity: 0.14;
}

.world-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.16);
  color: #bca7ff;
  font-size: 1.3rem;
}

.world-card h3 {
  font-size: 1.35rem;
  margin: 24px 0 8px;
}

.world-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.world-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.world-tags span {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.product-card {
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.product-card.featured {
  background: linear-gradient(145deg, rgba(109, 93, 252, 0.22), var(--panel));
  border-color: rgba(109, 93, 252, 0.35);
}

.product-card.card-highlight {
  animation: pulseHighlight 1.8s ease-in-out;
}

@keyframes pulseHighlight {
  0%, 100% { border-color: var(--line); box-shadow: var(--shadow); }
  50% { border-color: var(--cyan); box-shadow: 0 0 35px rgba(34, 211, 238, 0.45); }
}

.product-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-pill, .product-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 11px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.product-pill {
  border: 1px solid var(--line);
  color: var(--muted);
}

.product-badge {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.product-badge.badge-flagship {
  background: rgba(34, 211, 238, 0.15);
  color: var(--accent-text);
  border: 1px solid rgba(34, 211, 238, 0.35);
}

html[data-theme="light"] .product-badge.badge-flagship {
  background: rgba(2, 132, 199, 0.10);
  border-color: rgba(2, 132, 199, 0.30);
  color: #0284c7;
}

.product-badge.badge-lab {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.product-card h3 {
  font-size: 1.65rem;
  margin: 20px 0 5px;
  letter-spacing: -0.025em;
}

.product-sub {
  color: #bca7ff;
  font-weight: 700;
  margin-top: 0;
  font-size: 0.95rem;
}

.product-card > p:not(.product-sub) {
  color: var(--muted);
  font-size: 0.94rem;
}

.product-card ul {
  padding-left: 18px;
  color: var(--muted);
  margin: 18px 0 24px;
  font-size: 0.91rem;
}

body[dir="rtl"] .product-card ul {
  padding-left: 0;
  padding-right: 18px;
}

.text-link {
  font-weight: 800;
  color: var(--accent-text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease, color 0.2s ease;
  margin-top: auto;
}

.text-link:hover {
  color: var(--accent-text-hover);
  gap: 10px;
}

/* Solutions / Principles */
.statement-card {
  padding: 48px;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(14, 25, 44, 0.72), rgba(10, 18, 32, 0.88));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.statement-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.5), transparent);
}

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

.principles div {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.principles div:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.04);
}

.principles strong {
  display: block;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  font-size: 1.35rem;
  font-weight: 900;
}

/* Company / About */
.company-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: center;
}

.company-copy {
  color: var(--muted);
  font-size: 1.06rem;
}

.company-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0 24px;
}

.region-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
}

.company-copy .btn {
  margin-top: 10px;
  color: #fff;
}

/* Final CTA Section */
.final-cta {
  padding-top: 70px;
}

.final-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 72px 36px;
  border-radius: 32px;
  background: radial-gradient(ellipse at 50% 0%, rgba(34, 211, 238, 0.16), rgba(109, 93, 252, 0.12) 42%, rgba(9, 18, 33, 0.94) 80%);
  border: 1px solid rgba(34, 211, 238, 0.28);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: #fff;
}

html[data-theme="light"] .final-card {
  background: radial-gradient(ellipse at 50% 0%, rgba(34, 211, 238, 0.14), rgba(109, 93, 252, 0.08) 42%, rgba(255, 255, 255, 0.95) 80%);
  border-color: rgba(34, 211, 238, 0.38);
  color: var(--text);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.final-card .section-kicker {
  margin-bottom: 14px;
}

.final-card h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin: 0 auto 20px;
}

.final-card p {
  max-width: 620px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

html[data-theme="dark"] .final-card p {
  color: rgba(226, 232, 240, 0.88);
}

.final-watermark {
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 340px;
  height: 340px;
  object-fit: contain;
  opacity: 0.05;
  pointer-events: none;
  filter: blur(1px);
  user-select: none;
}

.final-glow-a {
  position: absolute;
  top: -120px;
  left: 25%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--cyan);
  filter: blur(100px);
  opacity: 0.18;
  pointer-events: none;
}

.final-glow-b {
  position: absolute;
  bottom: -100px;
  right: 25%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--purple);
  filter: blur(90px);
  opacity: 0.16;
  pointer-events: none;
}

.final-content {
  position: relative;
  z-index: 2;
}

.final-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-glow {
  box-shadow: 0 4px 25px rgba(34, 211, 238, 0.4);
}

.btn-glow:hover {
  box-shadow: 0 6px 35px rgba(34, 211, 238, 0.65);
}

/* Footer */
.footer {
  padding: 50px 0 60px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 30px;
  align-items: end;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer p {
  color: var(--muted);
  margin: 0;
  max-width: 440px;
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-meta {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Legal Pages (Privacy, Terms, Disclaimer) */
.legal-page {
  padding: 64px 0 110px;
}

.legal-card {
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  max-width: 900px;
  margin: 0 auto;
}

.legal-card h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.03em;
  margin-top: 0;
  margin-bottom: 12px;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.92rem;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.legal-card h2 {
  font-size: 1.45rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.legal-card p, .legal-card li {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.legal-card strong {
  color: var(--text);
}

.legal-box {
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 16px;
  padding: 22px 26px;
  margin: 28px 0;
}

html[data-theme="light"] .legal-box {
  background: rgba(2, 132, 199, 0.05);
  border-color: rgba(2, 132, 199, 0.24);
}

.legal-box p {
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}

.legal-table th {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 2px solid var(--line-strong);
  color: var(--text);
  font-weight: 700;
}

body[dir="rtl"] .legal-table th {
  text-align: right;
}

.legal-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

/* Media Queries */
/* Tablet & Narrow Desktop (981px - 1200px) Overflow Containment */
@media (min-width: 981px) and (max-width: 1200px) {
  .hero {
    gap: 32px;
  }
  .ecosystem-stage {
    width: min(390px, calc(100% - 50px));
  }
  .node {
    min-width: 104px;
    padding: 7px 10px;
    font-size: 0.74rem;
    gap: 6px;
  }
  .node-icon {
    width: 20px;
    height: 20px;
    font-size: 0.76rem;
  }
  .node-3 {
    right: -2%;
  }
  .node-6 {
    left: -2%;
  }
  .node-2 {
    right: 0%;
  }
  .node-8 {
    left: 0%;
  }
}

@media (max-width: 980px) {
  .desktop-nav, .desktop-cta { display: none; }
  .mobile-toggle { display: flex; }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
    gap: 40px;
  }
  .hero-copy { text-align: center; }
  .hero-lead, .hero h1 { margin-inline: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .worlds-grid { grid-template-columns: 1fr 1fr; }
  .company-grid, .statement-card { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav-wrap { height: 68px; }
  .hero { min-height: auto; padding-block: 44px; }
  .hero h1 { font-size: clamp(2rem, 8.8vw, 2.8rem); }
  .hero-visual { margin-top: 20px; }
  .ecosystem-stage { transform: scale(0.88); }
  .hub { padding: 8px; }
  .hub-logo-img { width: 34px; height: 34px; }
  .hub-title { font-size: 0.9rem; }
  .hub-sub { font-size: 0.5rem; line-height: 1.1; letter-spacing: 0.01em; max-width: 88%; }
  .node {
    min-width: 95px;
    padding: 6px 9px;
    font-size: 0.70rem;
    gap: 6px;
    border-radius: 10px;
  }
  .node-icon { width: 20px; height: 20px; font-size: 0.75rem; }
  .node-2 { top: 16%; right: -5%; }
  .node-3 { top: 50%; right: -9%; transform: translateY(-50%); }
  .node-4 { bottom: 10%; right: 0%; }
  .node-5 { bottom: 10%; left: 0%; }
  .node-6 { top: 50%; left: -9%; transform: translateY(-50%); }
  .node-1 { top: 0%; left: 50%; transform: translateX(-50%); }
  .node-8 { top: 16%; left: -5%; }
  .research-intro { align-items: flex-start; flex-direction: column; gap: 6px; }
  .research-grid { grid-template-columns: 1fr; }

  .trust-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 20px;
  }
  .section { padding-block: 70px; }
  .section-head.split { display: block; }
  .worlds-grid, .products-grid, .principles { grid-template-columns: 1fr; }
  .statement-card { padding: 30px 20px; }
  .final-card { padding: 48px 20px; }
  .final-card h2 { font-size: 1.8rem; }
  .final-card p { font-size: 0.95rem; }
}

@media (max-width: 360px) {
  .node-8 { left: -20%; }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* Portfolio facts: keep maturity, access, audience and commercial model distinct. */
.registry-card { display: flex; flex-direction: column; gap: .55rem; }
.registry-card .product-sub { min-height: 3.2em; }
.registry-facts { margin: .6rem 0 1rem; display: grid; gap: .5rem; }
.registry-fact { display: grid; grid-template-columns: minmax(105px, 32%) 1fr; gap: .75rem; padding-top: .45rem; border-top: 1px solid rgba(145,160,185,.2); }
.registry-fact dt { font-size: .78rem; font-weight: 700; opacity: .7; }
.registry-fact dd { margin: 0; font-size: .86rem; line-height: 1.5; }
.portfolio-more { margin: 2rem 0 0; text-align: center; }
.portfolio-page { padding-top: 9rem; padding-bottom: 5rem; }
.portfolio-page h1 { font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1.1; max-width: 900px; margin: 1rem 0 1.5rem; }
.portfolio-intro { max-width: 850px; font-size: 1.15rem; line-height: 1.7; margin-bottom: 3.5rem; }
.portfolio-page h2 { font-size: clamp(1.7rem, 3vw, 2.8rem); }
.portfolio-future { padding-top: 5rem; border-top: 1px dashed var(--line-strong); margin-top: 5rem; }
.portfolio-disclosure { margin-top: 4rem; padding: 1.5rem; border: 1px solid rgba(145,160,185,.25); border-radius: 1rem; line-height: 1.7; }
@media (max-width: 600px) { .registry-fact { grid-template-columns: 1fr; gap: .15rem; } .portfolio-page { padding-top: 7rem; } }

/* Security route accessibility, scoped to the new page. */
.security-skip {
  position: fixed;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--panel-solid);
  color: var(--text);
  border-radius: 8px;
  transform: translateY(-160%);
}
.security-skip:focus-visible { transform: none; }
.security-surface :focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; }
.security-surface .legal-card { overflow-wrap: anywhere; }
@media (max-width: 360px) { .security-surface .nav-actions .btn-primary { display: none; } }
