:root {
  --black: #050505;
  --black-soft: #0a0a0a;
  --dark: #111111;
  --card: rgba(18, 18, 18, 0.74);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f4f4f4;
  --muted: #a7a7a7;
  --blue: #6ea8ff;
  --purple: #9b6dff;
  --teal: #7fffd4;
  --danger: #ff5f7e;
  --gold: #d6b86a;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 110px 0;
  z-index: 2;
}

.dark-section {
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.72), rgba(17, 17, 17, 0.88));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.site-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(110, 168, 255, 0.12), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(155, 109, 255, 0.11), transparent 35%),
    #050505;
}

.background-logo {
  position: fixed;
  width: 1400px;
  max-width: none;
  left: 50%;
  top: 50%;

  opacity: 0.20;

  filter: blur(0.8px) contrast(1.25)
    drop-shadow(0 0 60px rgba(110, 168, 255, 0.16));

  pointer-events: none;
  z-index: 0;

  transform-style: preserve-3d;
  transition: transform 0.18s ease-out;
}

.background-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(5, 5, 5, 0.28), rgba(5, 5, 5, 0.92) 72%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.28), rgba(5, 5, 5, 0.88));
}

.background-grid {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle, black 0%, transparent 70%);
}

@keyframes logoFloat3d {
  0% {
    transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg) scale(1);
  }
  50% {
    transform: translate(-50%, -47%) rotateX(4deg) rotateY(-9deg) scale(1.06);
  }
  100% {
    transform: translate(-50%, -50%) rotateX(0deg) rotateY(0deg) scale(1);
  }
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0px;
}

.brand-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  opacity: 0.9;
  transform: translateY(-8px);
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
    margin-left: -30px;
  line-height: 1;
}

.brand-name span {
  color: var(--blue);
}

.brand-sub {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: -30px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.nav-links a {
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: white;
}

.nav-cta {
  padding: 12px 18px;
  border: 1px solid rgba(110, 168, 255, 0.35);
  border-radius: 999px;
  background: rgba(110, 168, 255, 0.08);
  color: white;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(110, 168, 255, 0.7);
}

.menu-button {
  display: none;
  background: transparent;
  color: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.hero {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
}

.hero-inner {
  text-align: center;
  max-width: 980px;
}

.hero-badge {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(214, 184, 106, 0.26);
  background: rgba(214, 184, 106, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.16em;
  margin-bottom: 28px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.08em;
  text-shadow: 0 0 45px rgba(110, 168, 255, 0.1);
}

.hero h1 span {
  display: block;
  background: linear-gradient(90deg, #ffffff, #bcd6ff, #d8ccff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 760px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  font-weight: 800;
}

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

/* ===== Primary Button - Brand Aligned ===== */

.btn-primary {
  color: #ffffff;
  border: 1px solid rgba(214,184,106,0.16);

  background:
    linear-gradient(
      135deg,
      #15233f 0%,
      #1d3156 42%,
      #594c8e 100%
    );

  box-shadow:
    0 16px 38px rgba(0,0,0,0.32),
    0 0 26px rgba(110,168,255,0.12);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-4px);
  border-color: rgba(214,184,106,0.28);

  background:
    linear-gradient(
      135deg,
      #1a2b4c 0%,
      #223965 42%,
      #6753a5 100%
    );

  box-shadow:
    0 22px 48px rgba(0,0,0,0.40),
    0 0 34px rgba(110,168,255,0.16),
    0 0 18px rgba(214,184,106,0.08);
}

.full {
  width: 100%;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 64px;
}

.stat-card,
.card,
.panel {
  border-radius: 22px;
  padding: 24px 16px;
}

.stat-card strong {
  display: block;
  font-size: 26px;
  color: white;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.section-heading {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 54px;
}

.section-heading span {
  display: inline-block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  margin-bottom: 14px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.06em;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  border-radius: 28px;
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(110, 168, 255, 0.34);
  background: rgba(24, 24, 24, 0.82);
}

.card-icon {
  width: 52px;
  height: 52px;

  display: grid;
  place-items: center;

  border-radius: 18px;

  font-size: 22px;

  color: white;

  border: 1px solid rgba(110,168,255,0.18);

  background:
    linear-gradient(
      135deg,
      rgba(110,168,255,0.08),
      rgba(155,109,255,0.06)
    );

  box-shadow:
    0 0 24px rgba(110,168,255,0.08);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.card:hover .card-icon {
  transform: scale(1.08) rotate(-4deg);

  border-color: rgba(110,168,255,0.45);

  box-shadow:
    0 0 30px rgba(110,168,255,0.22);
}

.card h3,
.panel h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

.card p,
.panel p {
  color: var(--muted);
  line-height: 1.7;
}

.card ul {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.74);
}

.card li {
  margin: 10px 0;
}

.card li::before {
  content: "✓";
  color: var(--teal);
  margin-right: 10px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.panel {
  border-radius: 32px;
  padding: 34px;
}

.panel ol {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 24px 0 0;
}

.panel ol li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  margin: 22px 0;
}

.panel ol li::before {
  content: counter(step);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(110, 168, 255, 0.28);
  color: var(--blue);
  background: rgba(110, 168, 255, 0.06);
}

.panel ol span {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.6;
}

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

.big-list li {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
}

.testimonials .card p {
  font-size: 18px;
}

.testimonials .card strong,
.testimonials .card span {
  display: block;
}

.testimonials .card span {
  margin-top: 6px;
  color: var(--muted);
}

.contact-wrap {
  max-width: 860px;
}



.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  background: rgba(3, 3, 3, 0.94);
  padding: 70px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 38px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0px;
  margin-left: -30px;
}

.footer-brand img {
  width: 120px;
  height: 120px;
  object-fit: contain;
   margin-right: -30px;
   transform: translateY(-10px);
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand span,
.footer p,
.footer a {
  color: var(--muted);
}

.footer h4 {
  margin: 0 0 18px;
}

.footer a {
  display: block;
  margin: 12px 0;
  transition: color 0.25s ease;
}

.footer a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 50px;
  text-align: center;
  color: rgba(255, 255, 255, 0.42);
  font-size: 14px;
}

@media (max-width: 920px) {
  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(5, 5, 5, 0.94);
    backdrop-filter: blur(18px);
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 15px;
    border-radius: 14px;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .nav-cta {
    display: none;
  }

  .stats,
  .cards-grid,
  .two-col,
  .footer-grid {
    grid-template-columns: 1fr;
  }


  .hero {
    padding-top: 50px;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 84px 0;
  }

  .contact-form,
  .panel,
  .card {
    padding: 24px;
  }

  .hero h1 {
    font-size: 46px;
  }

}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

}

.timeline {
  position: relative;
  margin-top: 28px;
  padding-left: 10px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(110, 168, 255, 0.55),
    rgba(214, 184, 106, 0.35),
    transparent
  );
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  margin-bottom: 22px;
}

.timeline-number {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  background: rgba(110, 168, 255, 0.08);
  border: 1px solid rgba(110, 168, 255, 0.28);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 24px rgba(110, 168, 255, 0.08);
  z-index: 2;
}

.timeline-content {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-content h4 {
  margin: 0 0 8px;
  font-size: 17px;
}

.timeline-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== ANIMATION SYSTEM ===== */

.timeline-item {
  transition: transform 0.35s ease;
}

.timeline-content,
.timeline-number {
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

/* حركة العنصر كامل */
.timeline-item:hover {
  transform: translateX(10px) scale(1.02);
}

/* الدائرة */
.timeline-item:hover .timeline-number {
  transform: scale(1.12);
  border-color: rgba(110, 168, 255, 0.9);
  background: rgba(110, 168, 255, 0.22);
  box-shadow:
    0 0 30px rgba(110, 168, 255, 0.45),
    inset 0 0 20px rgba(110, 168, 255, 0.1);
}

/* الكارد */
.timeline-item:hover .timeline-content {
  transform: translateY(-6px);
  border-color: rgba(110, 168, 255, 0.5);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06),
    rgba(110, 168, 255, 0.08)
  );
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(110, 168, 255, 0.18);
}

/* العنوان */
.timeline-content h4 {
  transition: color 0.35s ease, letter-spacing 0.35s ease;
}

.timeline-item:hover .timeline-content h4 {
  color: #ffffff;
  letter-spacing: 0.03em;
}

/* النص */
.timeline-content p {
  transition: color 0.35s ease;
}

.timeline-item:hover .timeline-content p {
  color: rgba(255, 255, 255, 0.85);
}

/* ===== GLOW LINE EFFECT ===== */

.timeline-content {
  position: relative;
  overflow: hidden;
}

.timeline-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(110, 168, 255, 0.15),
    transparent
  );
  transform: translateX(-100%);
  opacity: 0;
}

.timeline-item:hover .timeline-content::before {
  opacity: 1;
  animation: shineMove 1.2s ease forwards;
}

@keyframes shineMove {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
  
}
/* ===== RIGHT PANEL (ADVANCED STYLE) ===== */

.principles {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.principle-item {
  position: relative;
  padding: 18px 20px;
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);

  transition: all 0.35s ease;
  overflow: hidden;
}

/* hover حركة */
.principle-item:hover {
  transform: translateX(8px) scale(1.01);
  border-color: rgba(110, 168, 255, 0.45);

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06),
    rgba(110, 168, 255, 0.07)
  );

  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.35),
    0 0 35px rgba(110, 168, 255, 0.15);
}

/* العنوان */
.principle-item h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* glow text */
.principle-item:hover h4 {
  color: #ffffff;
  letter-spacing: 0.02em;
}

/* light sweep effect */
.principle-item::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(110, 168, 255, 0.15),
    transparent
  );

  transform: translateX(-100%);
  opacity: 0;
}

.principle-item:hover::before {
  opacity: 1;
  animation: shineMove 1.2s ease forwards;
}

/* subtle left glow line */
.principle-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 2px;

  background: linear-gradient(
    180deg,
    transparent,
    rgba(110, 168, 255, 0.6),
    transparent
  );

  opacity: 0;
  transition: opacity 0.3s ease;
}

.principle-item:hover::after {
  opacity: 1;
}
/* ===== ULTRA MODERN BUTTON ===== */

.btn,
.nav-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* hover */
.btn:hover,
.nav-cta:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 25px 60px rgba(0,0,0,0.4),
    0 0 40px rgba(110,168,255,0.25);
}

/* dynamic glow layer */
.btn::after,
.nav-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    250px circle at var(--x) var(--y),
    rgba(110,168,255,0.25),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

.btn:hover::after,
.nav-cta:hover::after {
  opacity: 1;
}
/* ===== Nav Links Animation ===== */

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  transform: translateX(-50%);
  transition: width 0.35s ease;
}

.nav-links a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.nav-links a:hover::after {
  width: 100%;
}


/* ===== Stats Cards Animation ===== */

.stat-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(110, 168, 255, 0.45);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.055),
    rgba(110, 168, 255, 0.06)
  );
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.42),
    0 0 35px rgba(110, 168, 255, 0.14);
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    250px circle at var(--x, 50%) var(--y, 50%),
    rgba(110, 168, 255, 0.16),
    transparent 42%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card strong,
.stat-card span {
  position: relative;
  z-index: 1;
}

.stat-card:hover strong {
  text-shadow: 0 0 22px rgba(110, 168, 255, 0.25);
}
/* ===== Stacked Security Features Section ===== */

.stack-section {
  position: relative;
  z-index: 2;
  padding: 140px 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(110, 168, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.2), rgba(5, 5, 5, 0.92));
}

.stack-container {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 70px;
  align-items: start;
}

.stack-left {
  position: sticky;
  top: 130px;
  min-height: 420px;
}

.stack-label {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.22em;
  margin-bottom: 18px;
}

.stack-left h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.075em;
  display: block;

  color: transparent;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,1) 0%,
    rgba(248,250,255,0.98) 18%,
    rgba(228,235,247,0.92) 42%,
    rgba(175,183,196,0.68) 72%,
    rgba(105,111,121,0.52) 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow:
    0 0 22px rgba(255,255,255,0.03),
    0 0 48px rgba(110,168,255,0.04);
}

.stack-left h2 span {
  display: block;
  color: inherit;
}

.stack-left p {
  margin-top: 26px;
  max-width: 470px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
}

.stack-right {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.stack-card {
  position: sticky;
  top: 120px;
  min-height: 310px;
  display: grid;
  grid-template-columns: 1fr 270px;
  align-items: center;
  gap: 32px;
  padding: 38px;
  border-radius: 34px;
  overflow: hidden;

  background:
    radial-gradient(circle at 80% 50%, rgba(110, 168, 255, 0.12), transparent 36%),
    rgba(18, 18, 18, 0.82);

  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);

  backdrop-filter: blur(18px);
  transform-origin: center top;
  transition:
    transform 0.45s cubic-bezier(.22, 1, .36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.stack-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(110, 168, 255, 0.35);
  box-shadow:
    0 36px 110px rgba(0, 0, 0, 0.62),
    0 0 55px rgba(110, 168, 255, 0.12);
}

.stack-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      120deg,
      transparent,
      rgba(110, 168, 255, 0.08),
      transparent
    );
  transform: translateX(-120%);
  opacity: 0;
}

.stack-card:hover::before {
  opacity: 1;
  animation: stackShine 1.3s ease forwards;
}

@keyframes stackShine {
  to {
    transform: translateX(120%);
  }
}

.stack-card-1 {
  top: 120px;
}

.stack-card-2 {
  top: 145px;
}

.stack-card-3 {
  top: 170px;
}

.stack-card-4 {
  top: 195px;
}

.stack-content {
  position: relative;
  z-index: 1;
}

.stack-content h3 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.stack-content p {
  margin: 0;
  max-width: 430px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  font-size: 17px;
}

.stack-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.stack-visual::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(110, 168, 255, 0.12);
  filter: blur(45px);
}

.stack-visual img {
  position: relative;
  width: 220px;
  height: 220px;
  object-fit: contain;
  opacity: 0.78;
  filter:
    drop-shadow(0 0 35px rgba(110, 168, 255, 0.20))
    contrast(1.15);
  animation: stackFloat 6s ease-in-out infinite;
}

.stack-card-2 .stack-visual img {
  animation-delay: 0.8s;
}

.stack-card-3 .stack-visual img {
  animation-delay: 1.4s;
}

.stack-card-4 .stack-visual img {
  animation-delay: 2s;
}

@keyframes stackFloat {
  0%, 100% {
    transform: translateY(0) rotateY(0deg) scale(1);
  }
  50% {
    transform: translateY(-12px) rotateY(8deg) scale(1.04);
  }
}

@media (max-width: 920px) {
  .stack-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stack-left {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .stack-card,
  .stack-card-1,
  .stack-card-2,
  .stack-card-3,
  .stack-card-4 {
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
    text-align: left;
  }

  .stack-visual img {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 520px) {
  .stack-section {
    padding: 90px 0;
  }

  .stack-card {
    padding: 26px;
    border-radius: 26px;
  }

  .stack-left h2 {
    font-size: 42px;
  }
}
/* ===== Global Map Section ===== */

.map-section {
  position: relative;
  z-index: 2;
  padding: 130px 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(110, 168, 255, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(5,5,5,0.1), rgba(5,5,5,0.9));
}

.map-card {
  position: relative;

  /* ❌ احذف الإطار */
  border: none;
  box-shadow: none;
  background: none;

  /* 🔥 خليها فل سكرين */
  width: 100%;
  max-width: none;

  padding: 0;
  border-radius: 0;
  overflow: visible;
}

.map-image {
  width: 100%;
  max-width: none;
  opacity: 0.9;
}

.map-scan {
  position: absolute;
  left: 6%;
  right: 6%;
  top: calc(var(--map-progress, 0) * 1%);
  height: 2px;
  z-index: 3;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(127,255,212,0.95),
    rgba(110,168,255,0.95),
    transparent
  );
  box-shadow:
    0 0 24px rgba(127,255,212,0.45),
    0 0 42px rgba(110,168,255,0.25);
  opacity: 0.9;
  transition: top 0.08s linear;
}

.map-scan::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -70px;
  height: 140px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(110,168,255,0.055),
    transparent
  );
}

.map-point {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--teal);
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0.35;
  z-index: 4;
  box-shadow: 0 0 0 rgba(127,255,212,0);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.map-point.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  box-shadow:
    0 0 18px rgba(127,255,212,0.85),
    0 0 38px rgba(110,168,255,0.35);
}

.map-point.is-active::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1px solid rgba(127,255,212,0.55);
  animation: mapPulse 1.6s ease-out infinite;
}

@keyframes mapPulse {
  from {
    opacity: 0.9;
    transform: scale(0.7);
  }
  to {
    opacity: 0;
    transform: scale(2.2);
  }
}

.map-bottom-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
}
/* ===== Advanced Map Effects ===== */

.map-card {
  --mx: 50%;
  --my: 50%;
}

.map-image {
  width: min(900px, 92%);
  opacity: 0.9;
  filter:
    hue-rotate(190deg)
    saturate(1.6)
    brightness(1.1)
    contrast(1.15)
    drop-shadow(0 0 60px rgba(110,168,255,0.45));
  user-select: none;
  pointer-events: none;
}

.map-point {
  background: linear-gradient(135deg, var(--teal), var(--blue));
}

.map-point.is-active {
  box-shadow:
    0 0 20px rgba(127,255,212,0.8),
    0 0 45px rgba(110,168,255,0.45);
}

.map-image {
  opacity: 0.85;
  filter:
    brightness(0.75)
    contrast(1.2)
    drop-shadow(0 0 60px rgba(79, 125, 255, 0.15))
    drop-shadow(0 0 20px rgba(0, 0, 0, 0.6));
}
/* ===== Fix Full Map Alignment ===== */

.map-card {
  position: relative;
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
  min-height: 620px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.map-image {
  width: min(1150px, 78vw);
  max-width: none;
  display: block;
  margin: 0 auto;
}

/* الخط النازل */
.map-scan {
  left: 50% !important;
  right: auto !important;
  width: min(1250px, 86vw);
  transform: translateX(-50%);
}

/* الخط السفلي */
.map-bottom-line {
  left: 50% !important;
  right: auto !important;
  width: min(1450px, 94vw);
  transform: translateX(-50%);
}
.map-scan,
.map-bottom-line {
  left: 50% !important;
  right: auto !important;
  width: 100vw !important;
  transform: translateX(-50%) !important;
}

.map-card {
  overflow: visible !important;
}

.map-section {
  overflow: hidden;
}
/* ===== Full Responsive System: Mobile + iPad + Tablet ===== */

/* Tablets / iPad */
@media (max-width: 1180px) {
  .container {
    width: min(100% - 36px, 980px);
  }

  .nav-links {
    gap: 12px;
    font-size: 13px;
  }

  .brand-logo {
    width: 92px;
    height: 92px;
  }

  .brand-name,
  .brand-sub {
    margin-left: -24px;
  }

  .hero h1 {
    font-size: clamp(48px, 8vw, 78px);
  }

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

  .two-col,
  .stack-container {
    grid-template-columns: 1fr;
  }

  .stack-left {
    position: relative;
    top: auto;
  }

  .stack-card,
  .stack-card-1,
  .stack-card-2,
  .stack-card-3,
  .stack-card-4 {
    position: relative;
    top: auto;
  }

  .map-card {
    min-height: 520px;
  }

  .map-image {
    width: min(920px, 90vw);
  }

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

/* Mobile + small tablets */
@media (max-width: 920px) {
  .nav {
    height: 76px;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(5, 5, 5, 0.96);
    border: 1px solid var(--border);
    backdrop-filter: blur(18px);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 16px;
    border-radius: 14px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 90px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 62px);
    letter-spacing: -0.06em;
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr !important;
  }

  .timeline-item {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }

  .timeline-number {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .stack-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .stack-visual img {
    width: 170px;
    height: 170px;
  }

  .map-section {
    padding: 90px 0;
  }

  .map-card {
    width: 100vw;
    min-height: 420px;
  }

  .map-image {
    width: min(760px, 94vw);
  }

  .map-scan,
  .map-bottom-line {
    width: 120vw !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    margin-left: -20px;
  }

  .footer-brand img {
    width: 92px;
    height: 92px;
    margin-right: -24px;
  }
}

/* Phones */
@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 100%);
  }

  .section {
    padding: 78px 0;
  }

  .brand-logo {
    width: 78px;
    height: 78px;
  }

  .brand-name {
    font-size: 20px;
    margin-left: -22px;
  }

  .brand-sub {
    font-size: 9px;
    margin-left: -22px;
  }

  .hero-badge {
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .hero h1 {
    font-size: 42px;
  }

  .section-heading h2 {
    font-size: 34px;
    letter-spacing: -0.045em;
  }

  .section-heading p {
    font-size: 15px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .card,
  .panel,
  .contact-form,
  .stack-card {
    padding: 24px;
    border-radius: 24px;
  }


  .timeline {
    padding-left: 0;
  }

  .timeline::before {
    left: 24px;
  }

  .timeline-item {
    grid-template-columns: 48px 1fr;
  }

  .timeline-content {
    padding: 15px 16px;
  }

  .principle-item {
    padding: 15px 16px;
  }

  .map-card {
    min-height: 340px;
  }

  .map-image {
    width: 115vw;
  }

  .map-point {
    width: 10px;
    height: 10px;
  }

  .background-logo {
    width: 900px;
    opacity: 0.12;
  }

  .footer {
    padding-top: 50px;
  }
}

/* Very small phones */
@media (max-width: 390px) {
  .hero h1 {
    font-size: 36px;
  }

  .brand-logo {
    width: 70px;
    height: 70px;
  }

  .brand-name,
  .brand-sub {
    margin-left: -20px;
  }

  .btn {
    min-height: 48px;
    font-size: 14px;
  }

  .map-card {
    min-height: 300px;
  }
}
/* ===== FUTURE LUXURY NAVBAR ===== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 9999;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--teal));
  box-shadow: 0 0 18px rgba(110, 168, 255, 0.75);
}

.header {
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.header.is-scrolled {
  backdrop-filter: blur(26px) saturate(140%);
  background: rgba(5,5,5,0.65);

  box-shadow:
    0 20px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(110,168,255,0.08);
}

.header.is-scrolled .nav {
  height: 68px;
}

.nav {
  transition: height 0.35s ease;
}

.brand-logo {
  transition: width 0.35s ease, height 0.35s ease, opacity 0.35s ease;
}

.header.is-scrolled .brand-logo {
  width: 96px;
  height: 96px;
  opacity: 0.82;
}

.nav-links a {
  position: relative;
  transition:
    color 0.25s ease,
    transform 0.25s ease,
    text-shadow 0.25s ease;
}

.nav-links a.is-active {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(110, 168, 255, 0.45);
}

.nav-links a.is-active::after {
  width: 100%;
}

.nav-links a::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0;
  transform: translateX(-50%) scale(0.4);
  box-shadow: 0 0 16px rgba(127, 255, 212, 0.8);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-links a.is-active::before,
.nav-links a:hover::before {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.menu-button {
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.menu-button:hover {
  transform: scale(1.06);
  border-color: rgba(110, 168, 255, 0.45);
  background: rgba(110, 168, 255, 0.08);
  box-shadow: 0 0 28px rgba(110, 168, 255, 0.16);
}

@media (max-width: 920px) {
  .nav-links {
    display: flex;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px) scale(0.98);
    transition:
      opacity 0.28s ease,
      transform 0.28s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-links a {
    transform: translateX(-8px);
    opacity: 0;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      background 0.25s ease,
      color 0.25s ease;
  }

  .nav-links.is-open a {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links.is-open a:nth-child(1) { transition-delay: 0.04s; }
  .nav-links.is-open a:nth-child(2) { transition-delay: 0.08s; }
  .nav-links.is-open a:nth-child(3) { transition-delay: 0.12s; }
  .nav-links.is-open a:nth-child(4) { transition-delay: 0.16s; }
  .nav-links.is-open a:nth-child(5) { transition-delay: 0.20s; }
}
.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%,100% { opacity: 0.6; }
  50% { opacity: 1; }
}
/* ===== SYSTEM STATUS (TOP LEFT) ===== */

.system-status {
  position: fixed;
  top: 18px;
  left: 22px;
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 8px;

  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);

  letter-spacing: 0.06em;

  pointer-events: none; /* مهم */
}

.system-status .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;

  background: var(--teal);

  box-shadow:
    0 0 10px var(--teal),
    0 0 20px rgba(127,255,212,0.6);

  animation: securePulse 2s ease-in-out infinite;
}

@keyframes securePulse {
  0%,100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.4);
  }
}
.system-status {
  backdrop-filter: blur(6px);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.25);
}
/* ===== Secure Contact Card ===== */

.secure-contact-card {
  max-width: 760px;
  margin: 0 auto;

  padding: 42px;
  border-radius: 34px;

  text-align: center;

  background:
    radial-gradient(circle at top, rgba(110,168,255,0.08), transparent 45%),
    rgba(14,14,14,0.82);

  border: 1px solid rgba(255,255,255,0.08);

  backdrop-filter: blur(20px);

  box-shadow:
    0 30px 90px rgba(0,0,0,0.55),
    0 0 60px rgba(110,168,255,0.06);
}

/* ===== Contact Icon - Premium Communication Style ===== */

.secure-contact-icon {
  position: relative;
  width: 74px;
  height: 74px;
  margin: 0 auto 26px;

  display: grid;
  place-items: center;

  border-radius: 22px;
  font-size: 28px;
  font-weight: 700;

  color: #d6b86a;

  background:
    radial-gradient(circle at 30% 30%, rgba(214,184,106,0.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
    rgba(10,10,10,0.72);

  border: 1px solid rgba(214,184,106,0.22);

  box-shadow:
    0 0 0 1px rgba(214,184,106,0.05),
    0 16px 40px rgba(0,0,0,0.35),
    0 0 30px rgba(214,184,106,0.08);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  animation: contactIconPulse 4.5s ease-in-out infinite;
}

.secure-contact-icon::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 28px;
  border: 1px solid rgba(214,184,106,0.10);
  opacity: 0.65;
  animation: contactIconRing 5s ease-in-out infinite;
}

@keyframes contactIconPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 0 0 1px rgba(214,184,106,0.05),
      0 16px 40px rgba(0,0,0,0.35),
      0 0 30px rgba(214,184,106,0.08);
  }

  50% {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
      0 0 0 1px rgba(214,184,106,0.08),
      0 20px 50px rgba(0,0,0,0.42),
      0 0 38px rgba(214,184,106,0.14);
  }
}

@keyframes contactIconRing {
  0%, 100% {
    transform: scale(1);
    opacity: 0.28;
  }

  50% {
    transform: scale(1.06);
    opacity: 0.55;
  }
}

.secure-contact-card h3 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.secure-contact-card p {
  max-width: 620px;
  margin: 18px auto 0;

  color: var(--muted);
  line-height: 1.8;
}


.secure-contact-note {
  margin-top: 24px;

  color: rgba(255,255,255,0.45);

  font-size: 13px;

  line-height: 1.7;
}
/* ===== Scroll Reveal Animation ===== */

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  filter: blur(8px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.22, 1, .36, 1),
    filter 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.cards-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.cards-grid .reveal:nth-child(2) { transition-delay: 0.10s; }
.cards-grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.cards-grid .reveal:nth-child(4) { transition-delay: 0.20s; }
.cards-grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.cards-grid .reveal:nth-child(6) { transition-delay: 0.30s; }
.card {
  animation: cardBreath 12s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
}

.cards-grid .card:nth-child(2) { animation-delay: 0.5s; }
.cards-grid .card:nth-child(3) { animation-delay: 1s; }
.cards-grid .card:nth-child(4) { animation-delay: 1.5s; }
.cards-grid .card:nth-child(5) { animation-delay: 2s; }
.cards-grid .card:nth-child(6) { animation-delay: 2.5s; }

@keyframes cardBreath {
  0%, 100% {
    box-shadow:
      0 24px 90px rgba(0, 0, 0, 0.55);
  }

  50% {
    box-shadow:
      0 24px 90px rgba(0, 0, 0, 0.55),
      0 0 42px rgba(110,168,255,0.10);
  }
}
/* ===== 3D LIVE CARDS ===== */

.card {
  position: relative;

  transform-style: preserve-3d;
  perspective: 1200px;

  transition:
    transform 0.18s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;

  will-change: transform;
}

/* glow layer */
.card::before {
  content: "";

  position: absolute;
  inset: 0;

  border-radius: inherit;

  background:
    radial-gradient(
      280px circle at var(--mx, 50%) var(--my, 50%),
      rgba(110,168,255,0.16),
      transparent 42%
    );

  opacity: 0;

  transition: opacity 0.25s ease;

  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

/* depth */
.card > * {
  transform: translateZ(24px);
}
.card:hover {
  animation-play-state: paused;
}
/* ===== CINEMATIC SPACE MOTION ===== */

.space-motion {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.space-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.26;
  mix-blend-mode: screen;
}

.orb-1 {
  width: 420px;
  height: 420px;
  left: 8%;
  top: 18%;
  background: rgba(110,168,255,0.34);
  animation: orbitMove1 22s ease-in-out infinite;
}

.orb-2 {
  width: 520px;
  height: 520px;
  right: 8%;
  top: 35%;
  background: rgba(155,109,255,0.26);
  animation: orbitMove2 28s ease-in-out infinite;
}

.orb-3 {
  width: 320px;
  height: 320px;
  left: 42%;
  bottom: 8%;
  background: rgba(127,255,212,0.18);
  animation: orbitMove3 25s ease-in-out infinite;
}

@keyframes orbitMove1 {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  35% { transform: translate3d(120px,70px,0) scale(1.18); }
  70% { transform: translate3d(-70px,150px,0) scale(0.95); }
}

@keyframes orbitMove2 {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  40% { transform: translate3d(-140px,-60px,0) scale(1.12); }
  75% { transform: translate3d(80px,120px,0) scale(0.92); }
}

@keyframes orbitMove3 {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  45% { transform: translate3d(90px,-120px,0) scale(1.2); }
  80% { transform: translate3d(-130px,-40px,0) scale(0.9); }
}

.star-field {
  position: absolute;
  inset: -50%;
  opacity: 0.18;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.75) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(110,168,255,0.7) 1px, transparent 1.5px);
  background-size: 110px 110px, 170px 170px;
  background-position: 0 0, 60px 80px;
  animation: starDrift 80s linear infinite;
}

@keyframes starDrift {
  from { transform: translate3d(0,0,0) rotate(0deg); }
  to { transform: translate3d(-220px,180px,0) rotate(2deg); }
}

.scan-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      115deg,
      transparent 0%,
      transparent 42%,
      rgba(110,168,255,0.035) 48%,
      rgba(127,255,212,0.035) 50%,
      transparent 56%,
      transparent 100%
    );
  animation: spaceScan 9s ease-in-out infinite;
}

@keyframes spaceScan {
  0% { transform: translateX(-120%); opacity: 0; }
  20% { opacity: 1; }
  55% { opacity: 0.8; }
  100% { transform: translateX(120%); opacity: 0; }
}

/* يخلي المحتوى فوق تأثيرات الفضاء */
.header,
main,
.footer,
.system-status {
  position: relative;
  z-index: 3;
}
/* ===== HOLOGRAPHIC COMMAND CORE ===== */

.hero-core {
  position: relative;
  width: min(330px, 72vw);
  height: min(330px, 72vw);
  margin: 0 auto 34px;

  display: grid;
  place-items: center;

  transform-style: preserve-3d;
  perspective: 1200px;

  filter:
    drop-shadow(0 0 45px rgba(110,168,255,0.18))
    drop-shadow(0 0 90px rgba(127,255,212,0.08));
}

.hero-core::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;

  background:
    radial-gradient(circle, rgba(110,168,255,0.12), transparent 56%),
    radial-gradient(circle, rgba(127,255,212,0.08), transparent 68%);

  filter: blur(12px);
  animation: corePulse 5s ease-in-out infinite;
}

.hero-core::after {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: 50%;

  background:
    conic-gradient(
      from 0deg,
      transparent,
      rgba(110,168,255,0.18),
      transparent,
      rgba(127,255,212,0.13),
      transparent
    );

  opacity: 0.45;
  filter: blur(18px);
  animation: coreAura 14s linear infinite;
}

.core-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(110,168,255,0.22);

  box-shadow:
    inset 0 0 24px rgba(110,168,255,0.06),
    0 0 26px rgba(110,168,255,0.08);

  transform-style: preserve-3d;
}

.core-ring-1 {
  inset: 4%;
  border-top-color: rgba(127,255,212,0.65);
  border-right-color: rgba(110,168,255,0.5);
  animation: ringRotateA 18s linear infinite;
}

.core-ring-2 {
  inset: 17%;
  border-left-color: rgba(155,109,255,0.55);
  border-bottom-color: rgba(127,255,212,0.42);
  animation: ringRotateB 13s linear infinite;
}

.core-ring-3 {
  inset: 30%;
  border-top-color: rgba(255,255,255,0.28);
  border-right-color: rgba(110,168,255,0.4);
  animation: ringRotateC 9s linear infinite;
}

.core-orbit {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.10);
}

.core-orbit span {
  position: absolute;
  top: 50%;
  right: -4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;

  background: var(--teal);

  box-shadow:
    0 0 14px rgba(127,255,212,0.95),
    0 0 34px rgba(110,168,255,0.45);
}

.orbit-a {
  transform: rotateX(62deg) rotateZ(18deg);
  animation: orbitSpinA 7s linear infinite;
}

.orbit-b {
  inset: 23%;
  transform: rotateX(72deg) rotateZ(-28deg);
  animation: orbitSpinB 5.5s linear infinite reverse;
}

.orbit-b span {
  background: var(--blue);
}

.core-scan {
  position: absolute;
  width: 74%;
  height: 74%;
  border-radius: 50%;
  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 45%,
      rgba(127,255,212,0.16) 50%,
      transparent 55%,
      transparent 100%
    );

  animation: coreScan 3.6s ease-in-out infinite;
  opacity: 0.85;
}

.core-center {
  position: relative;
  z-index: 3;

  width: 128px;
  height: 128px;
  border-radius: 50%;

  display: grid;
  place-items: center;

  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,0.08), transparent 34%),
    rgba(5,5,5,0.34);

  border: 1px solid rgba(255,255,255,0.12);

  backdrop-filter: blur(14px);

  box-shadow:
    inset 0 0 28px rgba(110,168,255,0.08),
    0 0 44px rgba(110,168,255,0.12);
}

.core-center img {
  position: absolute;
  width: 128px;
  height: 128px;
  object-fit: contain;
  opacity: 0.72;

  filter:
    drop-shadow(0 0 18px rgba(110,168,255,0.25))
    contrast(1.15);
}

.core-center span {
  position: absolute;
  bottom: 20px;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.34em;
  color: rgba(255,255,255,0.72);

  text-shadow: 0 0 16px rgba(127,255,212,0.32);
}

@keyframes corePulse {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

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

@keyframes ringRotateA {
  to {
    transform: rotateZ(360deg) rotateX(8deg);
  }
}

@keyframes ringRotateB {
  to {
    transform: rotateZ(-360deg) rotateY(12deg);
  }
}

@keyframes ringRotateC {
  to {
    transform: rotateZ(360deg) rotateX(-12deg);
  }
}

@keyframes orbitSpinA {
  to {
    transform: rotateX(62deg) rotateZ(378deg);
  }
}

@keyframes orbitSpinB {
  to {
    transform: rotateX(72deg) rotateZ(332deg);
  }
}

@keyframes coreScan {
  0%, 100% {
    transform: translateY(-14%) rotate(0deg);
    opacity: 0.45;
  }
  50% {
    transform: translateY(14%) rotate(180deg);
    opacity: 1;
  }
}

@media (max-width: 520px) {
  .hero-core {
    width: 245px;
    height: 245px;
    margin-bottom: 26px;
  }

  .core-center {
    width: 96px;
    height: 96px;
  }

  .core-center img {
    width: 96px;
    height: 96px;
  }

  .core-center span {
    bottom: 14px;
    font-size: 8px;
  }
}
/* ===== FINAL CINEMATIC HERO SYSTEM ===== */

.hero {
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 4;
}

/* ضبط النواة عشان تصير أفخم وأهدأ */
.hero-core {
  width: min(285px, 64vw);
  height: min(285px, 64vw);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(28px) scale(0.88);
  animation: coreEntrance 1.35s cubic-bezier(.22, 1, .36, 1) forwards;
  animation-delay: 0.25s;
}

@keyframes coreEntrance {
  0% {
    opacity: 0;
    transform: translateY(34px) scale(0.82) rotateX(18deg);
    filter: blur(10px);
  }

  60% {
    opacity: 1;
    transform: translateY(-6px) scale(1.03) rotateX(0deg);
    filter: blur(0);
  }

  100% {
    opacity: 0.82;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Hero entrance */
.hero-anim {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(8px);
  animation: heroReveal 1s cubic-bezier(.22, 1, .36, 1) forwards;
}

.hero-delay-1 { animation-delay: 0.95s; }
.hero-delay-2 { animation-delay: 1.18s; }
.hero-delay-3 { animation-delay: 1.42s; }
.hero-delay-4 { animation-delay: 1.66s; }

@keyframes heroReveal {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
    filter: blur(10px);
  }

  70% {
    opacity: 1;
    transform: translateY(-3px) scale(1.005);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Glitch خفيف على العنوان */
.hero-title {
  position: relative;
}

.hero-title::before,
.hero-title::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
  color: transparent;
  background: linear-gradient(90deg, #ffffff, #bcd6ff, #d8ccff);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-title::before {
  transform: translate(2px, -1px);
  text-shadow: -2px 0 rgba(127,255,212,0.45);
  clip-path: inset(0 0 58% 0);
}

.hero-title::after {
  transform: translate(-2px, 1px);
  text-shadow: 2px 0 rgba(155,109,255,0.38);
  clip-path: inset(48% 0 0 0);
}


@keyframes heroGlitch {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }

  15% {
    transform: translate(3px, -2px);
    opacity: 0.75;
  }

  32% {
    transform: translate(-3px, 1px);
    opacity: 0.55;
  }

  48% {
    transform: translate(2px, 2px);
    opacity: 0.7;
  }

  68% {
    transform: translate(-1px, -1px);
    opacity: 0.45;
  }

  100% {
    transform: translate(0, 0);
    opacity: 0;
  }
}

/* Data HUD */
.hero-data-hud {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-data-hud span {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(127,255,212,0.28);

  text-shadow: 0 0 18px rgba(127,255,212,0.18);

  animation: hudFloat 10s ease-in-out infinite;
}

.hero-data-hud span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(127,255,212,0.72);
  box-shadow: 0 0 14px rgba(127,255,212,0.7);
}

.hero-data-hud span:nth-child(1) {
  left: 8%;
  top: 26%;
  animation-delay: 0s;
}

.hero-data-hud span:nth-child(2) {
  right: 8%;
  top: 32%;
  animation-delay: 1.5s;
}

.hero-data-hud span:nth-child(3) {
  left: 11%;
  bottom: 24%;
  animation-delay: 3s;
}

.hero-data-hud span:nth-child(4) {
  right: 10%;
  bottom: 20%;
  animation-delay: 4.5s;
}

@keyframes hudFloat {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.16;
  }

  50% {
    transform: translateY(-14px);
    opacity: 0.42;
  }
}

/* خطوط بيانات تمر خلف العنوان */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(110,168,255,0.028) 50%,
      transparent 100%
    );

  transform: translateX(-120%);
  animation: heroWideScan 8s ease-in-out infinite;
}

@keyframes heroWideScan {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }

  18% {
    opacity: 1;
  }

  48% {
    opacity: 0.85;
  }

  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

/* Hologram vertical grid */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background-image:
    linear-gradient(rgba(110,168,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110,168,255,0.035) 1px, transparent 1px);

  background-size: 120px 120px;
  opacity: 0.07;

  mask-image: radial-gradient(circle at 50% 42%, black 0%, transparent 68%);

  animation: heroGridDrift 34s linear infinite;
}

@keyframes heroGridDrift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 120px 240px;
  }
}

/* تحسين الأزرار وقت الظهور */
.hero-actions .btn {
  position: relative;
}

.hero-actions .btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;

  background:
    linear-gradient(
      120deg,
      transparent,
      rgba(127,255,212,0.55),
      rgba(110,168,255,0.55),
      transparent
    );

  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.hero-actions .btn {
  position: relative;
  isolation: isolate;
}

.hero-actions .btn:hover::before {
  opacity: 1;
}

/* Mobile cleanup */
@media (max-width: 920px) {
  .hero-data-hud span {
    display: none;
  }

  .hero-core {
    width: 245px;
    height: 245px;
  }
}

@media (max-width: 520px) {
  .hero-core {
    width: 215px;
    height: 215px;
    margin-bottom: 22px;
  }

  .hero-delay-1 { animation-delay: 0.75s; }
  .hero-delay-2 { animation-delay: 0.95s; }
  .hero-delay-3 { animation-delay: 1.15s; }
  .hero-delay-4 { animation-delay: 1.35s; }
}
.hero-core.is-ready {
  animation: none;
  opacity: 0.82;
}
/* ===== UNIFIED GLOBAL BACKGROUND FIX ===== */

body {
  background: #050505 !important;
}

/* خلي كل السكاشن شفافة عشان الخلفية الفضائية تكون موحدة */
.section,
.dark-section,
.stack-section,
.map-section,
.footer {
  background: transparent !important;
}

/* لا تخلي حدود السكاشن تقطع الخلفية */
.dark-section {
  border-top: 1px solid rgba(255,255,255,0.035) !important;
  border-bottom: 1px solid rgba(255,255,255,0.035) !important;
}

/* خفف أي فواصل حادة بين الأقسام */
.section::before,
.section::after,
.dark-section::before,
.dark-section::after,
.stack-section::before,
.stack-section::after,
.map-section::before,
.map-section::after {
  background: transparent !important;
}

/* خلي الخلفية الأساسية مستمرة */
.site-background,
.space-motion {
  position: fixed;
  inset: 0;
}

/* تأكد المحتوى فوق الخلفية */
.header,
main,
.footer,
.system-status {
  position: relative;
  z-index: 3;
}
/* ===== REMOVE HARD SECTION CUTS ===== */

.section {
  border-top-color: transparent !important;
  border-bottom-color: transparent !important;
}

.dark-section {
  box-shadow: none !important;
}
/* ===== ALWAYS VISIBLE FIXED NAVBAR ===== */

.header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;

  width: 100%;
  z-index: 9998;

  background:
    linear-gradient(
      180deg,
      rgba(5, 5, 5, 0.88),
      rgba(5, 5, 5, 0.62)
    ) !important;

  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);

  border-bottom: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 18px 70px rgba(0,0,0,0.45),
    0 0 45px rgba(110,168,255,0.055);
}

/* عشان الهيدر الثابت ما يغطي بداية الصفحة */
body {
  padding-top: 78px;
}

/* لأن عندك nav يصغر عند السكرول */
.header.is-scrolled + main {
  margin-top: 0;
}

@media (max-width: 920px) {
  body {
    padding-top: 76px;
  }
}
/* ===== ULTRA PREMIUM LIVE BRAND ===== */

.brand {
  position: relative;
  isolation: isolate;
}

.brand-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;

  transform-origin: left center;
  will-change: transform, filter;

  animation: brandFloatUltra 8s ease-in-out infinite;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
}

.brand-mark::before {
  content: "";
  position: absolute;
  width: 76px;
  height: 76px;
  border-radius: 50%;

  background:
    radial-gradient(circle, rgba(110,168,255,0.16), transparent 58%),
    radial-gradient(circle, rgba(127,255,212,0.08), transparent 72%);

  filter: blur(12px);
  opacity: 0.42;

  animation: brandCorePulse 5.8s ease-in-out infinite;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;

  border: 1px solid rgba(110,168,255,0.10);
  border-top-color: rgba(127,255,212,0.34);
  border-right-color: rgba(110,168,255,0.24);

  opacity: 0.55;

  animation: brandMiniOrbit 13s linear infinite;
}

.brand-logo {
  position: relative;
  z-index: 2;

  animation:
    brandLogoBreath 6.2s ease-in-out infinite,
    brandLogoMicroTilt 10s ease-in-out infinite;

  will-change: transform, filter, opacity;
}

.brand-copy {
  position: relative;
  z-index: 3;
}

.brand-copy::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -20px;
  top: 50%;

  height: 24px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(110,168,255,0.10),
    rgba(127,255,212,0.08),
    transparent
  );

  transform: translateY(-50%) translateX(-18px);
  filter: blur(12px);
  opacity: 0;

  animation: brandNameSweep 9s ease-in-out infinite;
  pointer-events: none;
}

.brand-name {
  animation: brandTextGlowUltra 6.4s ease-in-out infinite;
}

.brand-sub {
  animation: brandSubGlowUltra 6.4s ease-in-out infinite;
}

/* لما الهيدر يصغر مع السكرول */
.header.is-scrolled .brand-inner {
  animation-duration: 6.8s;
}

.header.is-scrolled .brand-mark::before {
  opacity: 0.34;
}

.header.is-scrolled .brand-mark::after {
  opacity: 0.42;
}

/* Animations */

@keyframes brandFloatUltra {
  0%, 100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-2.5px);
  }
}

@keyframes brandCorePulse {
  0%, 100% {
    transform: scale(0.88);
    opacity: 0.24;
  }

  50% {
    transform: scale(1.12);
    opacity: 0.56;
  }
}

@keyframes brandMiniOrbit {
  from {
    transform: rotate(0deg) scale(0.96);
  }

  to {
    transform: rotate(360deg) scale(0.96);
  }
}

@keyframes brandLogoBreath {
  0%, 100% {
    opacity: 0.84;
    filter:
      drop-shadow(0 0 8px rgba(110,168,255,0.08))
      contrast(1.02);
  }

  50% {
    opacity: 1;
    filter:
      drop-shadow(0 0 16px rgba(110,168,255,0.20))
      drop-shadow(0 0 30px rgba(127,255,212,0.08))
      contrast(1.10);
  }
}

@keyframes brandLogoMicroTilt {
  0%, 100% {
    transform: translateY(-8px) rotate(0deg) scale(1);
  }

  25% {
    transform: translateY(-9px) rotate(-0.8deg) scale(1.01);
  }

  50% {
    transform: translateY(-7px) rotate(0.8deg) scale(1.018);
  }

  75% {
    transform: translateY(-9px) rotate(-0.4deg) scale(1.008);
  }
}

@keyframes brandTextGlowUltra {
  0%, 100% {
    text-shadow: 0 0 0 rgba(110,168,255,0);
  }

  50% {
    text-shadow:
      0 0 12px rgba(110,168,255,0.18),
      0 0 24px rgba(127,255,212,0.08);
  }
}

@keyframes brandSubGlowUltra {
  0%, 100% {
    color: rgba(255,255,255,0.62);
    letter-spacing: 0.08em;
  }

  50% {
    color: rgba(255,255,255,0.82);
    letter-spacing: 0.095em;
  }
}

@keyframes brandNameSweep {
  0%, 72%, 100% {
    opacity: 0;
    transform: translateY(-50%) translateX(-24px);
  }

  82% {
    opacity: 0.55;
  }

  92% {
    opacity: 0;
    transform: translateY(-50%) translateX(28px);
  }
}

/* Mobile: خفف الحركة */
@media (max-width: 920px) {
  .brand-mark::before,
  .brand-mark::after {
    display: none;
  }

  .brand-copy::after {
    display: none;
  }

  .brand-inner {
    animation-duration: 10s;
  }
}
/* ===== FULL SITE SCROLL CINEMATIC ENGINE ===== */

body {
  --scroll-progress: 0;
  --scroll-velocity: 0;
}

/* الأقسام نفسها تصير طبقات تتحرك */
.section {
  transform-style: preserve-3d;
}

.section .container {
  transition:
    transform 0.5s cubic-bezier(.22, 1, .36, 1),
    opacity 0.5s ease,
    filter 0.5s ease;
}

/* Reveal أقوى أثناء دخول الأقسام */
.scroll-scene {
  opacity: 0;
  transform: translateY(55px) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 0.95s ease,
    transform 0.95s cubic-bezier(.22, 1, .36, 1),
    filter 0.95s ease;
}

.scroll-scene.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* خروج خفيف لما القسم يبتعد */
.scroll-scene.is-past {
  opacity: 0.72;
  transform: translateY(-22px) scale(0.992);
  filter: blur(1px);
}

/* خط scan يمر على السكشن وقت دخوله */
.section {
  position: relative;
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  left: -20%;
  top: 0;
  width: 140%;
  height: 1px;
  z-index: 1;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(127,255,212,0.45),
      rgba(110,168,255,0.55),
      transparent
    );

  opacity: 0;
  transform: translateY(0);
  pointer-events: none;
}

.section.is-active-section::before {
  animation: sectionScanLine 1.7s ease forwards;
}

@keyframes sectionScanLine {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(260px);
  }
}

/* الكروت تتفاعل أكثر مع السكرول */
.card,
.panel,
.stat-card,
.secure-contact-card {
  transition:
    transform 0.45s cubic-bezier(.22, 1, .36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    opacity 0.35s ease,
    filter 0.35s ease;
}

.is-active-section .card,
.is-active-section .panel,
.is-active-section .stat-card,
.is-active-section .secure-contact-card {
  border-color: rgba(110,168,255,0.16);
}

/* خلفية النجوم تتحرك حسب الصفحة */
.star-field {
  will-change: transform;
}

/* خطوط بيانات خفيفة تظهر مع الحركة */
.scroll-data-lines {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.12;
}

.scroll-data-lines span {
  position: absolute;
  left: var(--x);
  top: -40px;

  width: 1px;
  height: var(--h);

  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(127,255,212,0.38),
      rgba(110,168,255,0.28),
      transparent
    );

  filter: drop-shadow(0 0 10px rgba(110,168,255,0.25));
  animation: dataFall var(--d) linear infinite;
  animation-delay: var(--delay);
}

@keyframes dataFall {
  from {
    transform: translateY(-20vh);
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  to {
    transform: translateY(130vh);
    opacity: 0;
  }
}

/* حركة لطيفة للعناوين مع الظهور */
.section-heading h2 {
  position: relative;
}

.is-active-section .section-heading h2 {
  animation: headingBreath 4.5s ease-in-out infinite;
}

@keyframes headingBreath {
  0%, 100% {
    text-shadow: 0 0 0 rgba(110,168,255,0);
  }

  50% {
    text-shadow:
      0 0 22px rgba(110,168,255,0.10),
      0 0 44px rgba(127,255,212,0.045);
  }
}

/* احترام تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  body::before,
  .scroll-data-lines,
  .section::before {
    display: none !important;
  }

  .scroll-scene,
  .scroll-scene.is-visible,
  .scroll-scene.is-past {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ===== FINAL CLEAN STACKED CARDS FIX =====
   Keeps the real sticky stacking effect: cards close on scroll down and separate on scroll up.
   Do NOT animate/transform .stack-card itself; animate only the image inside it. */

#blackmail-defamation,
#stacked-features,
.stack-section,
.stack-container,
.stack-right {
  overflow: visible !important;
}

.stack-section {
  position: relative;
  z-index: 2;
}

.stack-container,
.stack-right {
  transform: none !important;
  filter: none !important;
}

.stack-right {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.stack-card {
  position: sticky;
  animation: none !important;
  transform: none !important;
  will-change: auto !important;
}

.stack-card-1 { top: 120px; }
.stack-card-2 { top: 138px; }
.stack-card-3 { top: 156px; }
.stack-card-4 { top: 174px; }

.stack-card:hover {
  transform: none !important;
  border-color: rgba(110, 168, 255, 0.35);
  box-shadow:
    0 36px 110px rgba(0, 0, 0, 0.62),
    0 0 55px rgba(110, 168, 255, 0.12);
}

.stack-visual img {
  animation: stackLogoFloat 6s ease-in-out infinite;
}

.stack-card-2 .stack-visual img { animation-delay: 0.8s; }
.stack-card-3 .stack-visual img { animation-delay: 1.6s; }
.stack-card-4 .stack-visual img { animation-delay: 2.4s; }

@keyframes stackLogoFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.76;
  }
  50% {
    transform: translateY(-10px) scale(1.05);
    opacity: 0.95;
  }
}

@media (max-width: 920px) {
  #blackmail-defamation,
  #stacked-features,
  .stack-section,
  .stack-container,
  .stack-right {
    overflow: hidden !important;
  }

  .stack-card,
  .stack-card-1,
  .stack-card-2,
  .stack-card-3,
  .stack-card-4 {
    position: relative;
    top: auto;
  }
}
/* ===== Contact Info Channels ===== */

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 30px auto 0;
  max-width: 560px;
}

.contact-info-item {
  position: relative;
  overflow: hidden;

  padding: 16px 18px;
  border-radius: 18px;

  text-align: left;

  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-info-item::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      120deg,
      transparent,
      rgba(110,168,255,0.12),
      transparent
    );

  transform: translateX(-120%);
  opacity: 0;
}

.contact-info-item:hover {
  transform: translateY(-4px);
  border-color: rgba(110,168,255,0.32);
  background: rgba(110,168,255,0.055);

  box-shadow:
    0 18px 50px rgba(0,0,0,0.35),
    0 0 34px rgba(110,168,255,0.10);
}

.contact-info-item:hover::before {
  opacity: 1;
  animation: contactSweep 1.1s ease forwards;
}

@keyframes contactSweep {
  to {
    transform: translateX(120%);
  }
}

.contact-label {
  display: block;
  margin-bottom: 6px;

  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;

  color: rgba(214,184,106,0.82);
}

.contact-info-item strong {
  position: relative;
  z-index: 1;

  color: rgba(255,255,255,0.88);
  font-size: 15px;
}

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

  .contact-info-item {
    text-align: center;
  }
}
/* ===== Plain Email Display ===== */

.contact-email-display {
  margin: 28px auto 0;
  width: fit-content;

  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;

  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.92);

  text-shadow: 0 0 18px rgba(110,168,255,0.08);
}
.card::before,
.stat-card::before,
.contact-info-item::before {
  pointer-events: none;
}
.card:hover::before {
  opacity: 1;
}

.stat-card:hover::before {
  opacity: 1;
}

/* =========================================================
   FINAL STABILITY PATCH — LIMNR
   Fixes: secondary button style, card glow reset, sticky stack,
   duplicated transform conflicts, and contact display polishing.
   ========================================================= */

/* Secondary hero button identity */
.btn-secondary {
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 16px 38px rgba(0,0,0,0.24),
    inset 0 1px 0 rgba(255,255,255,0.035);
}

.btn-secondary:hover {
  border-color: rgba(214,184,106,0.22);
  background:
    radial-gradient(circle at 50% 0%, rgba(214,184,106,0.06), transparent 55%),
    rgba(255,255,255,0.045);
  box-shadow:
    0 22px 52px rgba(0,0,0,0.34),
    0 0 22px rgba(214,184,106,0.07);
}

/* Keep mouse glow working, but never stuck after scroll */
.card:hover::before,
.stat-card:hover::before {
  opacity: 1;
}

body.is-scrolling .card::before,
body.is-scrolling .stat-card::before {
  opacity: 0 !important;
}

.card::before,
.stat-card::before,
.contact-info-item::before {
  pointer-events: none;
}

/* Sticky stacking must not be affected by scroll-scene or overflow rules */
#blackmail-defamation,
#blackmail-defamation.section,
.stack-section,
.stack-container,
.stack-right {
  overflow: visible !important;
  transform: none !important;
  filter: none !important;
}

#blackmail-defamation.scroll-scene,
.stack-section.scroll-scene,
.stack-container.scroll-scene,
.stack-right.scroll-scene {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.stack-card {
  position: sticky;
  animation: none !important;
  will-change: auto;
}

.stack-card-1 { top: 120px; }
.stack-card-2 { top: 138px; }
.stack-card-3 { top: 156px; }
.stack-card-4 { top: 174px; }

.stack-card:hover {
  transform: none !important;
  border-color: rgba(110, 168, 255, 0.35);
  box-shadow:
    0 36px 110px rgba(0,0,0,0.62),
    0 0 55px rgba(110,168,255,0.12),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Movement stays inside the stacked cards, so sticky stacking remains clean */
.stack-visual img {
  animation: stackFloat 6s ease-in-out infinite;
}

/* Unified transparent sections */
.section,
.dark-section,
.stack-section,
.map-section,
.footer {
  background-color: transparent !important;
}

.dark-section {
  background: transparent !important;
  border-top-color: rgba(255,255,255,0.035) !important;
  border-bottom-color: rgba(255,255,255,0.035) !important;
}

/* Contact email should read as text, not a button */
.contact-email-display {
  margin: 28px auto 0;
  width: fit-content;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 0 18px rgba(110,168,255,0.08);
}

/* Contact channel cards: keep labels clean and clickable-looking without turning email into a CTA */
.contact-info-item strong {
  word-break: break-word;
}

/* Fixed navbar stays visible */
.header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9998;
}

body {
  padding-top: 78px;
}

@media (max-width: 920px) {
  body { padding-top: 76px; }

  .stack-card,
  .stack-card-1,
  .stack-card-2,
  .stack-card-3,
  .stack-card-4 {
    position: relative;
    top: auto;
  }
}
/* ===== FORCE MAP PERFECT CENTER ===== */

.map-section {
  position: relative;
  overflow: hidden !important;
}

.map-section .container {
  width: 100% !important;
  max-width: none !important;
}

.map-card {
  position: relative !important;
  width: 100vw !important;
  max-width: none !important;
  height: 620px !important;
  min-height: 620px !important;

  margin-left: 50% !important;
  transform: translateX(-50%) !important;

  display: block !important;
  overflow: visible !important;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* أهم جزء: يمسك صورة الخريطة نفسها ويحطها بالنص */
.map-image {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;

  width: min(1120px, 78vw) !important;
  max-width: none !important;
  height: auto !important;

  margin: 0 !important;
  display: block !important;

  transform: translate(-50%, -50%) !important;

  object-fit: contain !important;
  object-position: center center !important;

  opacity: 0.85;
}

/* الخط يظل فل عرض */
.map-scan,
.map-bottom-line {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  width: 100vw !important;
  transform: translateX(-50%) !important;
}

/* النقاط ترجع تتحسب على نفس مساحة الخريطة */
.map-point {
  z-index: 5;
}
/* ===== REMOVE SECTION LINES ONLY ===== */

.section,
.dark-section,
.stack-section,
.map-section,
.footer {
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.section::before,
.section::after,
.dark-section::before,
.dark-section::after,
.stack-section::before,
.stack-section::after,
.map-section::before,
.map-section::after,
.footer::before,
.footer::after {
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* ===== HERO PREMIUM FINAL TUNING ===== */

.hero-inner {
  max-width: 1080px;
}

.hero-core {
  width: min(250px, 52vw);
  height: min(250px, 52vw);
  margin-bottom: 22px;
  opacity: 0.72;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 11px 22px;
  margin-bottom: 28px;

  border-radius: 999px;

  border: 1px solid rgba(110,168,255,0.22);

  background:
    linear-gradient(
      135deg,
      rgba(15,20,32,0.72),
      rgba(26,34,58,0.58)
    );

  color: rgba(240,245,255,0.82);

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;

  backdrop-filter: blur(14px);

  box-shadow:
    0 0 24px rgba(110,168,255,0.08),
    inset 0 1px 0 rgba(255,255,255,0.04);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.hero-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(110,168,255,0.38);

  box-shadow:
    0 0 36px rgba(110,168,255,0.16),
    0 0 12px rgba(155,109,255,0.10);
}

.hero-title,
.hero h1 {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(52px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-text,
.hero p {
  max-width: 760px;
  margin: 26px auto 0;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
}

.hero-actions {
  gap: 18px;
  margin-top: 34px;
}

.hero-actions .btn {
  min-width: 210px;
}

.btn-secondary {
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.btn-secondary:hover {
  border-color: rgba(214,184,106,0.22);
  background: rgba(255,255,255,0.045);
  box-shadow:
    0 22px 48px rgba(0,0,0,0.36),
    0 0 24px rgba(214,184,106,0.07);
}

.hero-data-hud span {
  color: rgba(127,255,212,0.30);
  font-size: 10px;
}

/* ===== STACK TITLE CINEMATIC GRADIENT ===== */

.stack-left h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.075em;
  display: block;

  color: transparent;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,1) 0%,
    rgba(248,250,255,0.98) 18%,
    rgba(228,235,247,0.92) 42%,
    rgba(175,183,196,0.68) 72%,
    rgba(105,111,121,0.52) 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow:
    0 0 22px rgba(255,255,255,0.03),
    0 0 48px rgba(110,168,255,0.04);
}

.stack-left h2 span {
  display: block;
  color: inherit;
}

/* ===== DISABLE HEAVY SCROLL LIGHT EFFECT ===== */

body::before {
  display: none !important;
  content: none !important;
}

/* ===== PERFORMANCE TUNING ===== */

.space-orb {
  filter: blur(42px) !important;
  opacity: 0.16 !important;
}

.star-field {
  opacity: 0.11 !important;
  will-change: transform;
}

.scan-vignette {
  opacity: 0.45;
}

.card,
.panel,
.stat-card,
.stack-card,
.secure-contact-card,
.contact-info-item {
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.card,
.panel,
.stat-card,
.stack-card,
.secure-contact-card {
  box-shadow: 0 18px 55px rgba(0,0,0,0.42) !important;
}

.card:hover,
.stack-card:hover,
.stat-card:hover,
.secure-contact-card:hover {
  box-shadow:
    0 24px 70px rgba(0,0,0,0.48),
    0 0 30px rgba(110,168,255,0.10) !important;
}

/* Keep sticky stack behavior stable */
.stack-section,
.stack-container,
.stack-right {
  overflow: visible !important;
}

.stack-card {
  animation: none !important;
}

.stack-visual img {
  animation: stackFloat 6s ease-in-out infinite;
}

@media (max-width: 920px) {
  .hero-title,
  .hero h1 {
    font-size: clamp(40px, 12vw, 62px);
    letter-spacing: -0.055em;
  }

  .hero-core {
    width: 215px;
    height: 215px;
  }

  .hero-actions .btn {
    min-width: 0;
    width: 100%;
  }

  .card,
  .stat-card,
  .stack-card {
    transform: none !important;
  }

  .card::before,
  .stat-card::before {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .hero-title,
  .hero h1 {
    font-size: 42px;
  }

  .hero-text,
  .hero p {
    font-size: 15.5px;
  }
}
/* ===== KEEP HERO CORE SMALL & STABLE ===== */

.hero-core,
.hero-orbital,
.hero-radar,
.hero-rings {
  width: 220px !important;
  height: 220px !important;
  max-width: 220px !important;
  max-height: 220px !important;

  transform: scale(1) !important;
  transform-origin: center center !important;
  transition: none !important;
}

/* إلغاء أي أنيميشن تكبير أولي */
.hero-core {
  animation: heroCoreIdle 8s ease-in-out infinite !important;
}

/* النواة نفسها تظل ثابتة وصغيرة */
@keyframes heroCoreIdle {
  0%, 100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-2px) scale(1);
  }
}

/* الحلقات تظل شغالة لكن بدون تكبير مفاجئ */
.hero-core::before,
.hero-core::after,
.hero-rings::before,
.hero-rings::after {
  transform: scale(1) !important;
}

/* لو عندك أنيميشن reveal أو zoom على النواة ألغيه */
.hero-core,
.hero-core-wrap,
.hero-orbital,
.hero-radar {
  animation-name: heroCoreIdle !important;
}

/* شعار الوسط */
.hero-core img,
.hero-core-logo {
  width: 54px !important;
  height: auto !important;
  transform: none !important;
}
/* ===== PREMIUM NON-BLOCKING INTRO ===== */


@media (max-width: 600px) {

}
/* ===== CLEAN INTRO OVERLAP FIX ===== */

body.intro-active .hero-core {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: scale(0.85) !important;
}

/* يخلي الانترو أنظف وما يتداخل بصريًا */


/* تصغير الانترو شوي عشان ما يحس ثقيل */

/* ===== HOLD HERO UNTIL INTRO FINISHES ===== */

body.intro-active .hero-core,
body.intro-active .hero-badge,
body.intro-active .hero-title,
body.intro-active .hero-text,
body.intro-active .hero-actions,
body.intro-active .stats {
  opacity: 0 !important;
  visibility: hidden !important;
  filter: blur(12px) !important;
  transform: translateY(20px) scale(0.985) !important;
  animation: none !important;
  transition: none !important;
}

/* بعد ما يخلص الانترو يرجع الهيرو يدخل بنعومة */
body:not(.intro-active) .hero-core,
body:not(.intro-active) .hero-badge,
body:not(.intro-active) .hero-title,
body:not(.intro-active) .hero-text,
body:not(.intro-active) .hero-actions,
body:not(.intro-active) .stats {
  visibility: visible;
}

/* دخول ناعم للإحصائيات لأنها ما عليها hero-anim */
body:not(.intro-active) .stats {
  animation: statsAfterIntro 0.9s cubic-bezier(.22, 1, .36, 1) forwards;
  animation-delay: 0.35s;
}

@keyframes statsAfterIntro {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(24px) scale(0.985);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}
/* ===== SMOOTH HERO CORE REVEAL AFTER INTRO ===== */

/* أثناء الانترو */
body.intro-active .hero-core,
body.intro-active .hero-core-wrap,
body.intro-active .hero-rings,
body.intro-active .hero-orbital,
body.intro-active .hero-radar {
  opacity: 0 !important;
  visibility: hidden !important;
  filter: blur(12px) !important;
  transform: translateY(18px) scale(0.88) !important;
  transition: none !important;
  animation: none !important;
}

/* بعد انتهاء الانترو */
body.intro-finished .hero-core,
body.intro-finished .hero-core-wrap {
  visibility: visible !important;
  animation: heroCoreRevealSmooth 1s cubic-bezier(.22, 1, .36, 1) forwards;
}

body.intro-finished .hero-rings,
body.intro-finished .hero-orbital,
body.intro-finished .hero-radar {
  visibility: visible !important;
  animation: heroOrbitRevealSmooth 1.15s cubic-bezier(.22, 1, .36, 1) forwards;
}

/* دخول الشعار الداخلي */
body.intro-finished .hero-core img,
body.intro-finished .hero-core-logo {
  animation: heroCoreLogoReveal 1.05s cubic-bezier(.22, 1, .36, 1) forwards;
}


@keyframes heroOrbitRevealSmooth {
  0% {
    opacity: 0;
    filter: blur(14px);
    transform: translateY(12px) scale(0.9) rotate(-10deg);
  }

  65% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1.02) rotate(-2deg);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

/* ===== SMOOTH HERO CORE REVEAL AFTER INTRO ===== */

/* أثناء الانترو: نخفي نواة الهيرو عشان ما تتداخل */
body.intro-active .hero-core {
  opacity: 0 !important;
  visibility: hidden !important;
  filter: blur(12px) !important;
  transform: translateY(18px) scale(0.88) !important;
  transition: none !important;
  animation: none !important;
}

/* بعد الانترو: دخول سلس للنواة */
body.intro-finished .hero-core {
  visibility: visible !important;
  animation: heroCoreRevealSmooth 1.25s cubic-bezier(.22, 1, .36, 1) forwards;
}

/* دخول الشعار داخل النواة */
body.intro-finished .hero-core img {
  animation: heroCoreLogoReveal 1.15s cubic-bezier(.22, 1, .36, 1) forwards;
}

/* الحلقات داخل النواة تدخل أنعم */
body.intro-finished .core-ring,
body.intro-finished .core-orbit,
body.intro-finished .core-scan {
  animation-delay: 0.18s;
}

/* ===== PREMIUM MICRO-GLITCH ===== */

.hero-title,
.hero h1 {
  position: relative;
  display: inline-block;
  isolation: isolate;
}

/* الطبقتين الإضافيتين */


/* سماوي خفيف */


/* بنفسجي خفيف */

/* ===== INTRO FINAL POLISH ===== */

/* =========================================================
   LIMNR FINAL CLEANUP + SECURITY-SAFE CSS
   No inline style dependency. Keep these rules at the end.
========================================================= */

/* Remove old / heavy scroll light layer completely */
body::before {
  content: none !important;
  display: none !important;
}

/* Unified background: no hard section divider lines */
.section,
.dark-section,
.stack-section,
.map-section,
.footer {
  background-color: transparent !important;
  border-top: none !important;
  border-bottom: none !important;
}

.section::before,
.section::after,
.dark-section::before,
.dark-section::after,
.stack-section::before,
.stack-section::after,
.map-section::before,
.map-section::after,
.footer::before,
.footer::after {
  border: none !important;
  box-shadow: none !important;
  background-image: none !important;
}

/* Disable headline glitch remnants. The premium look stays clean. */
.hero-title::before,
.hero-title::after,
.hero h1::before,
.hero h1::after {
  content: none !important;
  display: none !important;
  animation: none !important;
}

.hero-title,
.hero h1 {
  animation: none !important;
  filter: none !important;
  text-shadow: 0 0 24px rgba(110,168,255,0.06);
}

/* Security-safe replacement for old inline CSS variables */
.data-line-1 { --x: 6%; --h: 120px; --d: 9s; --delay: -1s; }
.data-line-2 { --x: 14%; --h: 80px; --d: 12s; --delay: -5s; }
.data-line-3 { --x: 27%; --h: 150px; --d: 10s; --delay: -3s; }
.data-line-4 { --x: 39%; --h: 90px; --d: 14s; --delay: -7s; }
.data-line-5 { --x: 51%; --h: 140px; --d: 11s; --delay: -2s; }
.data-line-6 { --x: 64%; --h: 100px; --d: 13s; --delay: -6s; }
.data-line-7 { --x: 76%; --h: 160px; --d: 10s; --delay: -4s; }
.data-line-8 { --x: 88%; --h: 110px; --d: 15s; --delay: -8s; }

.map-point-1 { --x: 22%; --y: 43%; }
.map-point-2 { --x: 31%; --y: 68%; }
.map-point-3 { --x: 50%; --y: 51%; }
.map-point-4 { --x: 58%; --y: 38%; }
.map-point-5 { --x: 69%; --y: 42%; }
.map-point-6 { --x: 71%; --y: 57%; }

/* Final non-blocking premium intro */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9997;
  display: grid;
  place-items: center;
  pointer-events: auto;
  background: radial-gradient(circle at 50% 42%, rgba(110,168,255,0.055), rgba(5,5,5,0.08) 22%, transparent 50%);
  opacity: 1;
  visibility: visible;
  animation: introOverlayExit 3s cubic-bezier(.22, 1, .36, 1) forwards;
}

.intro-card {
  position: relative;
  width: 270px;
  height: 270px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(110,168,255,0.16), transparent 48%),
    rgba(5,5,5,0.12);
  border: 1px solid rgba(110,168,255,0.16);
  box-shadow: 0 0 70px rgba(110,168,255,0.14), 0 0 120px rgba(127,255,212,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: scale(0.88) translateY(14px);
  animation: introCardIn 0.75s cubic-bezier(.22, 1, .36, 1) forwards, introFinalPulse 3s ease-in-out forwards;
}

.intro-orbit {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px solid rgba(110,168,255,0.18);
  border-top-color: rgba(127,255,212,0.55);
  border-right-color: rgba(110,168,255,0.35);
  opacity: 0;
  transform: scale(0.82) rotate(-18deg);
  animation: orbitReveal 1.1s cubic-bezier(.22, 1, .36, 1) forwards, orbitSpin 12s linear infinite 1.1s;
}

.intro-orbit::before {
  content: "";
  position: absolute;
  top: 42px;
  right: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px rgba(127,255,212,0.9), 0 0 28px rgba(110,168,255,0.38);
}

.intro-mark {
  position: absolute;
  width: 102px;
  height: 102px;
  object-fit: contain;
  opacity: 0.82;
  filter: drop-shadow(0 0 26px rgba(110,168,255,0.30)) contrast(1.15);
  animation: introMarkPulse 2.4s ease-in-out infinite;
}

.intro-word {
  position: absolute;
  bottom: 54px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.44em;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 0 18px rgba(110,168,255,0.22), 0 0 34px rgba(127,255,212,0.08);
  transform: translateX(0.18em);
}

.intro-status {
  position: absolute;
  bottom: 31px;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(127,255,212,0.72);
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(127,255,212,0.28), 0 0 24px rgba(110,168,255,0.12);
}

.intro-scan {
  position: absolute;
  bottom: 20px;
  width: 165px;
  height: 1px;
  overflow: hidden;
  background: rgba(255,255,255,0.10);
}

.intro-scan::after {
  content: "";
  display: block;
  width: 38%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(127,255,212,0.95), rgba(110,168,255,0.95), transparent);
  animation: introScanMove 1s ease-in-out infinite;
}

body.intro-active .hero-core,
body.intro-active .hero-badge,
body.intro-active .hero-title,
body.intro-active .hero-text,
body.intro-active .hero-actions,
body.intro-active .stats {
  opacity: 0 !important;
  visibility: hidden !important;
  filter: blur(12px) !important;
  transform: translateY(20px) scale(0.985) !important;
  animation: none !important;
  transition: none !important;
}

body.intro-finished .hero-core {
  visibility: visible !important;
  animation: heroCoreRevealSmooth 1.25s cubic-bezier(.22, 1, .36, 1) forwards;
}

body.intro-finished .hero-core img {
  animation: heroCoreLogoReveal 1.15s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes introCardIn {
  0% { opacity: 0; transform: scale(0.78) translateY(14px); filter: blur(10px); }
  70% { opacity: 1; transform: scale(1.02) translateY(0); filter: blur(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

@keyframes introOverlayExit {
  0%, 72% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

@keyframes orbitReveal {
  0% { opacity: 0; transform: scale(0.82) rotate(-18deg); filter: blur(10px); }
  60% { opacity: 1; transform: scale(1.03) rotate(-4deg); filter: blur(0); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); filter: blur(0); }
}

@keyframes orbitSpin {
  from { transform: scale(1) rotate(0deg); }
  to { transform: scale(1) rotate(360deg); }
}

@keyframes introMarkPulse {
  0%, 100% { opacity: 0.76; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.025); }
}

@keyframes introScanMove {
  from { transform: translateX(-110%); }
  to { transform: translateX(285%); }
}

@keyframes introFinalPulse {
  0%, 72% { transform: scale(1); }
  84% { transform: scale(1.035); box-shadow: 0 0 90px rgba(110,168,255,0.22), 0 0 150px rgba(127,255,212,0.10); }
  100% { transform: scale(1); }
}

@keyframes heroCoreRevealSmooth {
  0% { opacity: 0; filter: blur(14px); transform: translateY(20px) scale(0.86); }
  55% { opacity: 1; filter: blur(0); transform: translateY(-4px) scale(1.015); }
  100% { opacity: 0.82; filter: blur(0); transform: translateY(0) scale(1); }
}

@keyframes heroCoreLogoReveal {
  0% { opacity: 0; filter: blur(10px); transform: scale(0.78); }
  65% { opacity: 0.9; filter: blur(0); transform: scale(1.035); }
  100% { opacity: 0.72; filter: blur(0); transform: scale(1); }
}

/* Final hero tuning */
.hero-inner {
  max-width: 1000px;
}

.hero h1,
.hero-title {
  max-width: 980px;
  margin-inline: auto;
  font-size: clamp(52px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.hero p,
.hero-text {
  max-width: 760px;
  margin: 26px auto 0;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.72;
  color: rgba(255,255,255,0.72);
}

.hero-badge {
  padding: 14px 26px;
  border-radius: 999px;
  border-color: rgba(214,184,106,0.22);
  background: rgba(214,184,106,0.04);
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.16em;
}

.hero-actions {
  gap: 18px;
  margin-top: 34px;
}

.btn-primary,
.btn-secondary {
  min-width: 210px;
}

.btn-secondary {
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.035);
  box-shadow: 0 16px 38px rgba(0,0,0,0.28);
}

.btn-secondary:hover {
  border-color: rgba(110,168,255,0.28);
  background: rgba(110,168,255,0.055);
}

/* Keep hero core compact and stable */
.hero-core {
  width: min(245px, 52vw) !important;
  height: min(245px, 52vw) !important;
  margin-bottom: 22px !important;
  opacity: 0.82;
}

/* Performance tuning */
.space-orb {
  filter: blur(42px) !important;
  opacity: 0.16 !important;
}

.star-field {
  opacity: 0.11 !important;
  will-change: transform;
}

.scan-vignette {
  opacity: 0.55;
}

.card,
.panel,
.stat-card,
.stack-card,
.secure-contact-card,
.contact-info-item {
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.card,
.panel,
.stat-card,
.stack-card,
.secure-contact-card {
  box-shadow: 0 18px 55px rgba(0,0,0,0.42) !important;
}

.card:hover,
.stack-card:hover,
.stat-card:hover,
.secure-contact-card:hover {
  box-shadow: 0 24px 70px rgba(0,0,0,0.48), 0 0 30px rgba(110,168,255,0.10) !important;
}

@media (max-width: 600px) {
  .intro-card { width: 225px; height: 225px; }
  .intro-mark { width: 82px; height: 82px; }
  .intro-word { bottom: 46px; font-size: 11px; }
  .intro-status { bottom: 25px; font-size: 8px; }
  .intro-scan { width: 148px; }
}

@media (max-width: 920px) {
  .card,
  .stat-card,
  .stack-card {
    transform: none !important;
    animation: none !important;
  }

  .card::before,
  .stat-card::before {
    display: none !important;
  }
}
.hero-title::before,
.hero-title::after {
  display: none !important;
  content: none !important;
}
/* ===== RESTORE MAP SCAN LINE ===== */

.map-scan {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  top: calc(var(--map-progress, 0) * 1%) !important;

  width: 100vw !important;
  height: 2px !important;

  transform: translateX(-50%) !important;
  z-index: 5 !important;

  display: block !important;
  opacity: 0.9 !important;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(127,255,212,0.95),
    rgba(110,168,255,0.95),
    transparent
  ) !important;

  box-shadow:
    0 0 24px rgba(127,255,212,0.45),
    0 0 42px rgba(110,168,255,0.25) !important;

  transition: top 0.08s linear;
}

.map-scan::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -70px;
  height: 140px;

  background: linear-gradient(
    180deg,
    transparent,
    rgba(110,168,255,0.055),
    transparent
  );
}
.hero-title.hero-anim {
  animation: heroReveal 1s cubic-bezier(.22, 1, .36, 1) forwards !important;
  animation-delay: 1.18s !important;
}

.hero-title {
  text-shadow: 0 0 24px rgba(110,168,255,0.06);
}
#contact {
  padding-top: 100px !important;
}
.hero-badge {
  border: 1px solid rgba(110,168,255,0.22) !important;

  background:
    linear-gradient(
      135deg,
      rgba(12,16,28,0.78),
      rgba(20,28,48,0.62)
    ) !important;

  color: rgba(240,245,255,0.84) !important;

  box-shadow:
    0 0 24px rgba(110,168,255,0.10),
    inset 0 1px 0 rgba(255,255,255,0.04) !important;
}

.hero-badge::before,
.hero-badge::after {
  border-color: rgba(110,168,255,0.22) !important;
  background: none !important;
}
img,
svg,
video {
  max-width: 100%;
  height: auto;
}

section,
.container,
.hero,
.map-section,
.stack-section,
.footer {
  max-width: 100%;
}

body {
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .hero-title,
  .hero h1 {
    max-width: 100%;
    word-break: normal;
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    max-width: 100%;
  }
}
.hero-inner {
  width: 100%;
  max-width: 980px;
  margin-inline: auto;
}

.hero {
  overflow: hidden;
}

.hero h1,
.hero-title {
  margin-inline: auto;
}

.hero-badge,
.hero-text,
.hero-actions,
.stats {
  margin-left: auto;
  margin-right: auto;
}
.map-point {
  z-index: 30 !important;
  opacity: 0.22 !important;
  filter: brightness(0.8) !important;
}

.map-point.is-active {
  opacity: 1 !important;
  transform: translate(-50%, -50%) scale(1.25) !important;
  filter: brightness(1.8) saturate(1.4) !important;

  box-shadow:
    0 0 14px rgba(127,255,212,0.95),
    0 0 34px rgba(127,255,212,0.75),
    0 0 62px rgba(110,168,255,0.45) !important;
}

.map-point.is-active::after {
  content: "";
  position: absolute;
  inset: -11px;
  border-radius: 50%;
  border: 1px solid rgba(127,255,212,0.75);
  animation: mapPulse 1.4s ease-out infinite;
}
@media (max-width: 768px) {
  .space-orb,
  .scroll-data-lines,
  .background-grid,
  .scan-vignette,
  .hero-data-hud {
    display: none !important;
  }

  .background-logo {
    opacity: 0.08 !important;
    filter: none !important;
    width: 720px !important;
  }

  .site-background {
    background:
      radial-gradient(circle at 50% 30%, rgba(110,168,255,0.08), transparent 35%),
      #050505 !important;
  }

  .card,
  .stack-visual img,
  .secure-contact-icon,
  .hero-core,
  .map-point.is-active::after {
    animation: none !important;
  }

  .card,
  .panel,
  .secure-contact-card,
  .stack-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 18px 42px rgba(0,0,0,0.45) !important;
  }

  .map-image {
    filter: brightness(0.75) contrast(1.1) !important;
  }

  .map-scan {
    box-shadow: 0 0 12px rgba(127,255,212,0.35) !important;
  }

  * {
    will-change: auto !important;
  }
}

/* ===== LIMNR 10/10 LANGUAGE + PERFORMANCE UPGRADE ===== */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(214,184,106,0.24);
  background: rgba(214,184,106,0.065);
  color: rgba(255,255,255,0.92);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.lang-toggle:hover {
  transform: translateY(-3px);
  border-color: rgba(214,184,106,0.48);
  background: rgba(214,184,106,0.11);
  box-shadow: 0 16px 45px rgba(0,0,0,0.35), 0 0 28px rgba(214,184,106,0.10);
}

html[lang="ar"] .brand-sub,
html[lang="ar"] .hero-badge,
html[lang="ar"] .section-heading span,
html[lang="ar"] .stack-label {
  letter-spacing: 0.03em;
}

html[lang="ar"] .hero-title,
html[lang="ar"] .hero h1,
html[lang="ar"] .section-heading h2,
html[lang="ar"] .stack-left h2 {
  letter-spacing: -0.045em;
  line-height: 1.12;
}

html[lang="ar"] .hero-text,
html[lang="ar"] .section-heading p,
html[lang="ar"] .card p,
html[lang="ar"] .panel p,
html[lang="ar"] .stack-content p,
html[lang="ar"] .stack-left p,
html[lang="ar"] .secure-contact-card p,
html[lang="ar"] .footer p {
  line-height: 1.95;
}

html[lang="ar"] .card,
html[lang="ar"] .panel,
html[lang="ar"] .stack-left,
html[lang="ar"] .stack-content,
html[lang="ar"] .secure-contact-card,
html[lang="ar"] .footer {
  text-align: right;
}

html[lang="ar"] .hero-inner,
html[lang="ar"] .section-heading,
html[lang="ar"] .hero-actions,
html[lang="ar"] .stats {
  text-align: center;
}

html[lang="ar"] .card li::before {
  margin-right: 0;
  margin-left: 10px;
}

html[lang="ar"] .timeline {
  padding-left: 0;
  padding-right: 10px;
}

html[lang="ar"] .timeline::before {
  left: auto;
  right: 28px;
}

html[lang="ar"] .timeline-item:hover,
html[lang="ar"] .principle-item:hover {
  transform: translateX(-8px) scale(1.01);
}

html[lang="ar"] .footer-brand {
  margin-left: 0;
  margin-right: -30px;
}

html[lang="ar"] .footer-brand img {
  margin-right: 0;
  margin-left: -30px;
}

.trust-grid .card {
  min-height: 240px;
}

@media (max-width: 920px) {
  .lang-toggle {
    min-height: 44px;
    padding: 0 14px;
  }

  .nav {
    gap: 12px;
  }
}

@media (max-width: 768px), (pointer: coarse) {
  .background-logo {
    transition: none !important;
    transform: translate(-50%, -50%) scale(1.02) !important;
  }

  .card,
  .panel,
  .stat-card,
  .stack-card,
  .secure-contact-card {
    transform: none !important;
  }

  .space-orb,
  .scroll-data-lines span,
  .star-field,
  .core-ring,
  .core-orbit,
  .stack-visual img {
    animation-duration: 18s !important;
  }

  .hero-data-hud span {
    display: none !important;
  }
}

/* ===== SAFE LANGUAGE FIX ===== */

/* لا تقلب تصميم الموقع بالكامل */
html,
body {
  direction: ltr !important;
}

/* عند اللغة العربية: النصوص تقرأ عربي بدون قلب الهيدر والتصميم */
body.lang-ar {
  font-family: "IBM Plex Sans Arabic", "Noto Kufi Arabic", "Tajawal", system-ui, sans-serif;
}

/* خلك محافظ على اتجاه الهيدر */
body.lang-ar .header,
body.lang-ar .nav,
body.lang-ar .brand,
body.lang-ar .brand-inner,
body.lang-ar .nav-links,
body.lang-ar .hero-actions,
body.lang-ar .footer-grid,
body.lang-ar .contact-info-grid {
  direction: ltr !important;
}

/* النصوص العربية فقط */
body.lang-ar .hero-title,
body.lang-ar .hero-text,
body.lang-ar .section-heading,
body.lang-ar .card,
body.lang-ar .panel,
body.lang-ar .stack-left,
body.lang-ar .stack-content,
body.lang-ar .secure-contact-card,
body.lang-ar .footer p,
body.lang-ar .footer h4 {
  direction: rtl;
}

/* توسيط الهيرو والعناوين مثل تصميمك الأصلي */
body.lang-ar .hero-inner,
body.lang-ar .hero-title,
body.lang-ar .hero-text,
body.lang-ar .section-heading,
body.lang-ar .secure-contact-card {
  text-align: center;
}

/* الكروت العربية تكون مرتبة */
body.lang-ar .card,
body.lang-ar .panel,
body.lang-ar .stack-left,
body.lang-ar .stack-content {
  text-align: right;
}

/* لا تعكس البراند */
body.lang-ar .brand-copy,
body.lang-ar .brand-name,
body.lang-ar .brand-sub {
  direction: ltr !important;
  text-align: left !important;
}

/* لا تعكس روابط الناف */
body.lang-ar .nav-links a,
body.lang-ar .nav-cta,
body.lang-ar .lang-toggle {
  direction: ltr !important;
}

/* صحح علامة الصح في القوائم العربية */
body.lang-ar .card li::before {
  margin-right: 0;
  margin-left: 10px;
}

/* لا تخلي أزرار الهيرو تنعكس */
body.lang-ar .hero-actions {
  flex-direction: row;
}

@media (max-width: 920px) {
  body.lang-ar .hero-actions {
    flex-direction: column;
  }
}

/* ===== Operational Intelligence Layer ===== */

.operations-section {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(110,168,255,0.075), transparent 34%),
    radial-gradient(circle at 82% 62%, rgba(155,109,255,0.07), transparent 36%),
    linear-gradient(180deg, rgba(5,5,5,0.08), rgba(5,5,5,0.72));
}

.operations-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255,255,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 76%);
}

.ops-block {
  position: relative;
  margin-top: 42px;
  padding: 34px;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,0.09);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.045), rgba(110,168,255,0.035)),
    rgba(14,14,14,0.72);
  box-shadow:
    0 30px 90px rgba(0,0,0,0.42),
    inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.ops-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(110,168,255,0.10), transparent 32%),
    radial-gradient(circle at 90% 70%, rgba(214,184,106,0.07), transparent 36%);
  pointer-events: none;
}

.ops-block-head {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-bottom: 28px;
}

.ops-block-head span,
.ops-warning-copy span {
  display: inline-block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  margin-bottom: 14px;
}

.ops-block-head h3,
.ops-warning-copy h3 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.ops-block-head p,
.ops-warning-copy p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
  margin-top: 16px;
}

.threat-matrix-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.threat-card {
  position: relative;
  min-height: 178px;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.035);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.threat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(110,168,255,0.38);
  background: rgba(255,255,255,0.055);
  box-shadow:
    0 24px 70px rgba(0,0,0,0.38),
    0 0 38px rgba(110,168,255,0.10);
}

.threat-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -50px;
  top: -50px;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.18;
}

.threat-card.critical::after { background: var(--danger); }
.threat-card.high::after { background: var(--blue); }
.threat-card.medium::after { background: var(--gold); }

.threat-top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.threat-priority {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.055);
}

.threat-card.critical .threat-priority {
  color: #ffd9e1;
  border-color: rgba(255,95,126,0.28);
  background: rgba(255,95,126,0.08);
}

.threat-card.high .threat-priority {
  color: #cfe2ff;
  border-color: rgba(110,168,255,0.28);
  background: rgba(110,168,255,0.08);
}

.threat-card.medium .threat-priority {
  color: #fff0bd;
  border-color: rgba(214,184,106,0.28);
  background: rgba(214,184,106,0.08);
}

.threat-card strong {
  font-size: 22px;
  line-height: 1.15;
}

.threat-card p {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.vault-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.vault-step {
  position: relative;
  min-height: 210px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at 50% 0%, rgba(110,168,255,0.08), transparent 38%),
    rgba(255,255,255,0.032);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.vault-step:hover {
  transform: translateY(-8px);
  border-color: rgba(127,255,212,0.26);
  box-shadow:
    0 22px 60px rgba(0,0,0,0.35),
    0 0 32px rgba(127,255,212,0.08);
}

.vault-step span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  color: white;
  font-weight: 900;
  font-size: 12px;
  border: 1px solid rgba(110,168,255,0.28);
  background: rgba(110,168,255,0.08);
  box-shadow: 0 0 22px rgba(110,168,255,0.10);
}

.vault-step h4 {
  margin: 20px 0 10px;
  font-size: 19px;
}

.vault-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.ops-warning-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: start;
}

.ops-warning-copy {
  position: sticky;
  top: 120px;
}

.warning-list {
  display: grid;
  gap: 14px;
}

.warning-item {
  position: relative;
  padding: 19px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.035);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.warning-item:hover {
  transform: translateX(8px);
  border-color: rgba(255,95,126,0.26);
  background:
    linear-gradient(135deg, rgba(255,95,126,0.055), rgba(110,168,255,0.035));
}

.warning-item::before {
  content: "!";
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  color: #ffd9e1;
  font-weight: 900;
  border: 1px solid rgba(255,95,126,0.28);
  background: rgba(255,95,126,0.08);
}

.warning-item strong,
.warning-item span {
  display: block;
  padding-left: 46px;
}

.warning-item strong {
  color: white;
  font-size: 17px;
}

.warning-item span {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.6;
}

body.lang-ar .operations-section .section-heading,
body.lang-ar .ops-block-head,
body.lang-ar .ops-warning-copy,
body.lang-ar .threat-card,
body.lang-ar .vault-step,
body.lang-ar .warning-item {
  direction: rtl;
}

body.lang-ar .operations-section .section-heading { text-align: center; }

body.lang-ar .ops-block-head,
body.lang-ar .ops-warning-copy,
body.lang-ar .threat-card,
body.lang-ar .vault-step,
body.lang-ar .warning-item {
  text-align: right;
}

body.lang-ar .warning-item::before {
  left: auto;
  right: 18px;
}

body.lang-ar .warning-item strong,
body.lang-ar .warning-item span {
  padding-left: 0;
  padding-right: 46px;
}

body.lang-ar .warning-item:hover { transform: translateX(-8px); }
body.lang-ar .threat-priority { letter-spacing: 0; }

@media (max-width: 1180px) {
  .vault-steps { grid-template-columns: repeat(3, 1fr); }
  .threat-matrix-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .ops-block {
    padding: 26px;
    border-radius: 28px;
  }

  .ops-warning-panel { grid-template-columns: 1fr; }

  .ops-warning-copy {
    position: relative;
    top: auto;
  }

  .vault-steps,
  .threat-matrix-grid { grid-template-columns: 1fr; }

  .vault-step { min-height: auto; }
}

@media (max-width: 520px) {
  .operations-section {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .ops-block { padding: 22px; }

  .threat-card,
  .vault-step,
  .warning-item { border-radius: 22px; }
}
/* ===== OPERATIONS - TRANSPARENT / SAME FEEL AS WHY LIMNR ===== */

#operations .ops-block,
#operations .threat-matrix-block,
#operations .evidence-vault-block,
#operations .before-react-block {
  margin-top: 88px;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
}

#operations .ops-block::before,
#operations .ops-block::after,
#operations .threat-matrix-block::before,
#operations .evidence-vault-block::before,
#operations .before-react-block::before {
  display: none !important;
}

#operations .ops-block-head {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

/* نفس إحساس كروت Why Limnr */
#operations .threat-card,
#operations .vault-step {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.028),
      rgba(110, 168, 255, 0.018)
    ),
    rgba(14, 14, 14, 0.26) !important;

  border: 1px solid rgba(255, 255, 255, 0.075) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.025),
    0 18px 40px rgba(0,0,0,0.16) !important;

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

#operations .threat-card:hover,
#operations .vault-step:hover {
  transform: translateY(-8px);
  border-color: rgba(110, 168, 255, 0.28) !important;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.038),
      rgba(110,168,255,0.028)
    ),
    rgba(14,14,14,0.32) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.03),
    0 24px 55px rgba(0,0,0,0.22),
    0 0 28px rgba(110,168,255,0.06) !important;
}

/* نخلي لوحة before react نفسها مفتوحة، بدون كارد كبير */
#operations .ops-warning-panel {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 42px;
  align-items: center;
}

/* القائمة نفسها شفافة */
#operations .warning-list {
  display: grid;
  gap: 12px;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

/* عناصر التحذير نفس الجو الزجاجي */
#operations .warning-item {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 20px 22px;

  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.075) !important;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.028),
      rgba(255,95,126,0.018)
    ),
    rgba(14,14,14,0.24) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.025),
    0 18px 40px rgba(0,0,0,0.14) !important;

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

#operations .warning-item:hover {
  transform: translateX(6px);
  border-color: rgba(255,95,126,0.22) !important;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.035),
      rgba(255,95,126,0.03)
    ),
    rgba(14,14,14,0.30) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.03),
    0 22px 52px rgba(0,0,0,0.20),
    0 0 22px rgba(255,95,126,0.05) !important;
}

/* شكل أيقونة التحذير */
#operations .warning-item::before {
  content: "!";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #ffd9e1;
  font-weight: 900;
  border: 1px solid rgba(255,95,126,0.22);
  background: rgba(255,95,126,0.07);
  box-shadow: 0 0 18px rgba(255,95,126,0.06);
}

/* النصوص */
#operations .warning-item strong,
#operations .warning-item span {
  display: block;
  padding: 0;
}

#operations .warning-item strong {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.35;
}

#operations .warning-item span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.65;
}

/* الهيدر الداخلي للقسم */
#operations .ops-block-head h3,
#operations .ops-warning-copy h3 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

#operations .ops-block-head p,
#operations .ops-warning-copy p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
  margin-top: 16px;
}

#operations .ops-block-head span,
#operations .ops-warning-copy span {
  display: inline-block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  margin-bottom: 14px;
}

/* العربي */
body.lang-ar #operations .threat-card,
body.lang-ar #operations .vault-step,
body.lang-ar #operations .warning-item,
body.lang-ar #operations .ops-warning-copy {
  direction: rtl;
  text-align: right;
}

body.lang-ar #operations .ops-block-head {
  text-align: center;
}

body.lang-ar #operations .warning-item:hover {
  transform: translateX(-6px);
}

body.lang-ar #operations .threat-priority {
  letter-spacing: 0;
}

/* responsive */
@media (max-width: 1180px) {
  #operations .threat-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #operations .vault-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 920px) {
  #operations .ops-warning-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #operations .threat-matrix-grid,
  #operations .vault-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  #operations .ops-block {
    margin-top: 72px;
  }

  #operations .warning-item,
  #operations .threat-card,
  #operations .vault-step {
    border-radius: 20px;
  }
}
/* ===== FIX BEFORE YOU REACT TEXT LAYOUT ===== */

#operations .warning-item {
  display: block !important;
  position: relative !important;

  min-height: auto;
  padding: 22px 26px 22px 78px !important;

  direction: ltr;
  text-align: left;
}

#operations .warning-item::before {
  position: absolute !important;
  left: 24px;
  top: 24px;

  margin: 0 !important;
}

#operations .warning-item strong,
#operations .warning-item span {
  display: block !important;
  width: auto !important;
  max-width: none !important;

  padding: 0 !important;
  margin: 0 !important;

  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

#operations .warning-item strong {
  font-size: 17px;
  line-height: 1.45;
  margin-bottom: 7px !important;
}

#operations .warning-item span {
  color: var(--muted);
  line-height: 1.75;
}

/* Arabic Fix */

body.lang-ar #operations .warning-item {
  direction: rtl !important;
  text-align: right !important;

  padding: 22px 78px 22px 26px !important;
}

body.lang-ar #operations .warning-item::before {
  left: auto !important;
  right: 24px !important;
}

body.lang-ar #operations .warning-item strong,
body.lang-ar #operations .warning-item span {
  direction: rtl !important;
  text-align: right !important;
  unicode-bidi: plaintext;
}

/* Mobile */

@media (max-width: 520px) {
  #operations .warning-item {
    padding: 20px 22px 20px 68px !important;
  }

  #operations .warning-item::before {
    left: 20px;
    top: 22px;
  }

  body.lang-ar #operations .warning-item {
    padding: 20px 68px 20px 22px !important;
  }

  body.lang-ar #operations .warning-item::before {
    right: 20px !important;
  }
}

/* =====================================================
   LIMNR FINAL LIGHT MODE READABILITY + TWO-WAY THEME MOTION
   هذا البلوك النهائي يحل:
   1) النصوص البيضاء المخفية في الوايت مود
   2) قوة الإضاءة الزائدة في قسم التواصل
   3) إيموشن تبديل الدارك/الوايت في الاتجاهين
   ملاحظة: اتركه في آخر ملف CSS دائمًا
===================================================== */

html[data-theme="light"] {
  --black: #eee8df;
  --black-soft: #f5efe6;
  --dark: #e6ded2;
  --card: rgba(244, 239, 231, 0.82);
  --border: rgba(18, 24, 38, 0.12);
  --text: #111827;
  --muted: #5b6472;
  --blue: #2d5fd0;
  --purple: #6757dc;
  --teal: #0f8f83;
  --danger: #b94661;
  --gold: #9a7830;
  --shadow: 0 24px 70px rgba(54, 43, 30, 0.14);
}

html[data-theme="light"],
html[data-theme="light"] body {
  background:
    radial-gradient(circle at 50% 18%, rgba(45, 95, 208, 0.065), transparent 34%),
    radial-gradient(circle at 82% 64%, rgba(103, 87, 220, 0.045), transparent 32%),
    linear-gradient(180deg, #f3ede4 0%, #e7ded1 52%, #efe7dc 100%) !important;
  color: var(--text) !important;
}

html[data-theme="light"] .site-background {
  background:
    radial-gradient(circle at 50% 20%, rgba(45, 95, 208, 0.055), transparent 35%),
    radial-gradient(circle at 80% 72%, rgba(154, 120, 48, 0.075), transparent 34%),
    linear-gradient(180deg, #f3ede4 0%, #e8dfd2 100%) !important;
}

html[data-theme="light"] .background-overlay {
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.015), rgba(231,222,209,0.58) 72%),
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(226,216,202,0.66)) !important;
}

html[data-theme="light"] .background-grid {
  opacity: 0.045 !important;
}

html[data-theme="light"] .space-orb {
  opacity: 0.075 !important;
  mix-blend-mode: multiply !important;
}

html[data-theme="light"] .star-field,
html[data-theme="light"] .scan-vignette,
html[data-theme="light"] .scroll-data-lines {
  opacity: 0.045 !important;
}

html[data-theme="light"] .background-logo {
  opacity: 0.105 !important;
  filter:
    blur(0.2px)
    contrast(1.05)
    saturate(0.62)
    drop-shadow(0 0 38px rgba(45, 95, 208, 0.065)) !important;
}

html[data-theme="light"] .header {
  background: rgba(243, 237, 228, 0.82) !important;
  border-bottom: 1px solid rgba(18, 24, 38, 0.08) !important;
  box-shadow:
    0 14px 42px rgba(54, 43, 30, 0.075),
    inset 0 1px 0 rgba(255,255,255,0.50) !important;
  backdrop-filter: blur(20px) saturate(118%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(118%) !important;
}

html[data-theme="light"] .header.is-scrolled {
  background: rgba(243, 237, 228, 0.90) !important;
}

html[data-theme="light"] .brand-name,
html[data-theme="light"] .brand-sub,
html[data-theme="light"] .nav-links a {
  color: #111827 !important;
}

html[data-theme="light"] .brand-sub {
  opacity: 0.62 !important;
}

html[data-theme="light"] .nav-links a:hover,
html[data-theme="light"] .nav-links a.is-active {
  color: #2d5fd0 !important;
}

html[data-theme="light"] .hero h1,
html[data-theme="light"] .hero-title,
html[data-theme="light"] .section-heading h2,
html[data-theme="light"] .card h3,
html[data-theme="light"] .panel h3,
html[data-theme="light"] .stat-card strong,
html[data-theme="light"] .stack-content h3,
html[data-theme="light"] .timeline-content h4,
html[data-theme="light"] .principle-item h4,
html[data-theme="light"] .secure-contact-card h3,
html[data-theme="light"] .ops-block-head h3,
html[data-theme="light"] .ops-warning-copy h3,
html[data-theme="light"] .threat-card strong,
html[data-theme="light"] .vault-step h4,
html[data-theme="light"] .warning-item strong {
  color: #111827 !important;
  -webkit-text-fill-color: initial;
}

html[data-theme="light"] .hero h1 span,
html[data-theme="light"] .stack-left h2 {
  background: linear-gradient(90deg, #182033 0%, #2d5fd0 52%, #6757dc 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
}

html[data-theme="light"] .hero p,
html[data-theme="light"] .hero-text,
html[data-theme="light"] .section-heading p,
html[data-theme="light"] .card p,
html[data-theme="light"] .panel p,
html[data-theme="light"] .stack-left p,
html[data-theme="light"] .stack-content p,
html[data-theme="light"] .timeline-content p,
html[data-theme="light"] .principle-item p,
html[data-theme="light"] .ops-block-head p,
html[data-theme="light"] .ops-warning-copy p,
html[data-theme="light"] .threat-card p,
html[data-theme="light"] .vault-step p,
html[data-theme="light"] .warning-item span,
html[data-theme="light"] .footer p,
html[data-theme="light"] .footer a {
  color: rgba(17, 24, 39, 0.64) !important;
}

/* Contact section readability fix */
html[data-theme="light"] .secure-contact-card {
  background:
    radial-gradient(circle at 50% 0%, rgba(45, 95, 208, 0.055), transparent 42%),
    linear-gradient(145deg, rgba(246, 241, 233, 0.92), rgba(232, 223, 210, 0.84)) !important;
  border: 1px solid rgba(18, 24, 38, 0.105) !important;
  box-shadow:
    0 26px 70px rgba(54, 43, 30, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.54) !important;
}

html[data-theme="light"] .secure-contact-card p {
  color: rgba(17, 24, 39, 0.66) !important;
}

html[data-theme="light"] .secure-contact-icon {
  color: #9a7830 !important;
  background:
    radial-gradient(circle at 30% 25%, rgba(154,120,48,0.14), transparent 58%),
    linear-gradient(180deg, rgba(68, 63, 53, 0.94), rgba(44, 45, 47, 0.92)) !important;
  border: 1px solid rgba(154,120,48,0.24) !important;
  box-shadow:
    0 18px 38px rgba(54,43,30,0.22),
    0 0 30px rgba(154,120,48,0.08) !important;
}

html[data-theme="light"] .contact-info-item {
  background:
    linear-gradient(145deg, rgba(244, 239, 231, 0.90), rgba(231, 222, 209, 0.78)) !important;
  border: 1px solid rgba(18, 24, 38, 0.09) !important;
  box-shadow:
    0 16px 38px rgba(54,43,30,0.09),
    inset 0 1px 0 rgba(255,255,255,0.42) !important;
}

html[data-theme="light"] .contact-info-item:hover {
  background:
    linear-gradient(145deg, rgba(247, 242, 235, 0.96), rgba(232, 225, 214, 0.88)) !important;
  border-color: rgba(45, 95, 208, 0.18) !important;
  box-shadow:
    0 22px 55px rgba(54,43,30,0.13),
    0 0 24px rgba(45, 95, 208, 0.055) !important;
}

html[data-theme="light"] .contact-label {
  color: rgba(154, 120, 48, 0.92) !important;
}

html[data-theme="light"] .contact-info-item strong,
html[data-theme="light"] .contact-email-display {
  color: rgba(17, 24, 39, 0.82) !important;
  text-shadow: none !important;
}

html[data-theme="light"] .secure-contact-note {
  color: rgba(17, 24, 39, 0.48) !important;
}

html[data-theme="light"] .contact-info-item::before {
  background:
    linear-gradient(
      120deg,
      transparent,
      rgba(45, 95, 208, 0.075),
      transparent
    ) !important;
}

/* Cards / panels less bright */
html[data-theme="light"] .stat-card,
html[data-theme="light"] .card,
html[data-theme="light"] .panel,
html[data-theme="light"] .ops-block,
html[data-theme="light"] .threat-card,
html[data-theme="light"] .vault-step,
html[data-theme="light"] .warning-item,
html[data-theme="light"] .timeline-content,
html[data-theme="light"] .principle-item,
html[data-theme="light"] .stack-card {
  background:
    linear-gradient(145deg, rgba(244, 239, 231, 0.86), rgba(232, 224, 212, 0.78)) !important;
  border: 1px solid rgba(18, 24, 38, 0.085) !important;
  box-shadow:
    0 20px 54px rgba(54, 43, 30, 0.105),
    inset 0 1px 0 rgba(255,255,255,0.48) !important;
  color: #111827 !important;
}

html[data-theme="light"] .stat-card:hover,
html[data-theme="light"] .card:hover,
html[data-theme="light"] .panel:hover,
html[data-theme="light"] .stack-card:hover,
html[data-theme="light"] .timeline-item:hover .timeline-content,
html[data-theme="light"] .principle-item:hover {
  background:
    linear-gradient(145deg, rgba(247, 242, 235, 0.94), rgba(235, 228, 217, 0.88)) !important;
  border-color: rgba(45, 95, 208, 0.17) !important;
  box-shadow:
    0 25px 68px rgba(54, 43, 30, 0.13),
    0 0 24px rgba(45, 95, 208, 0.055) !important;
}

html[data-theme="light"] .card ul,
html[data-theme="light"] .big-list li {
  color: rgba(17, 24, 39, 0.68) !important;
}

html[data-theme="light"] .card-icon,
html[data-theme="light"] .timeline-number,
html[data-theme="light"] .vault-step span {
  color: #1f3b74 !important;
  background:
    linear-gradient(135deg, rgba(45, 95, 208, 0.085), rgba(154, 120, 48, 0.06)) !important;
  border-color: rgba(45, 95, 208, 0.16) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.50),
    0 0 22px rgba(45,95,208,0.055) !important;
}

html[data-theme="light"] .hero-badge {
  background: linear-gradient(135deg, #46536a, #59667f) !important;
  color: rgba(255,255,255,0.94) !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  box-shadow: 0 14px 32px rgba(34, 43, 58, 0.14) !important;
}

html[data-theme="light"] .btn-primary {
  color: #fff !important;
  background: linear-gradient(135deg, #2248a8 0%, #2d5fd0 50%, #6757dc 100%) !important;
  border-color: rgba(45, 95, 208, 0.18) !important;
  box-shadow:
    0 16px 36px rgba(45, 95, 208, 0.16),
    0 0 22px rgba(103, 87, 220, 0.08) !important;
}

html[data-theme="light"] .btn-secondary,
html[data-theme="light"] .lang-toggle,
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .nav-cta {
  color: #111827 !important;
  background: linear-gradient(135deg, rgba(246,241,233,0.96), rgba(230,222,209,0.88)) !important;
  border: 1px solid rgba(18, 24, 38, 0.10) !important;
  box-shadow:
    0 14px 32px rgba(54, 43, 30, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.58) !important;
}

html[data-theme="light"] .footer {
  background: linear-gradient(180deg, rgba(235,228,217,0.92), rgba(221,212,199,0.96)) !important;
  border-top: 1px solid rgba(18, 24, 38, 0.08) !important;
}

html[data-theme="light"] .hero-data-hud span,
html[data-theme="light"] .system-status {
  color: rgba(17, 24, 39, 0.38) !important;
  background: rgba(244,239,231,0.30) !important;
  border-color: rgba(18, 24, 38, 0.055) !important;
}

/* Two-way theme switching emotion */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0;
  transform: scale(1.02);
}

html[data-theme="light"] body.theme-switching::after {
  background:
    radial-gradient(circle at 50% 18%, rgba(45, 95, 208, 0.20), transparent 30%),
    radial-gradient(circle at 58% 48%, rgba(154, 120, 48, 0.14), transparent 38%),
    linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.52) 45%, rgba(45,95,208,0.12) 51%, transparent 62%);
  mix-blend-mode: normal !important;
  animation: limnrLightModeBloom 0.86s cubic-bezier(.22,1,.36,1) both !important;
}

html[data-theme="dark"] body.theme-switching::after,
body.theme-dark.theme-switching::after {
  background:
    radial-gradient(circle at 50% 16%, rgba(127,255,212,0.24), transparent 26%),
    radial-gradient(circle at 55% 50%, rgba(110,168,255,0.20), transparent 38%),
    linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.20) 45%, rgba(127,255,212,0.16) 51%, transparent 64%);
  mix-blend-mode: screen !important;
  animation: limnrDarkModeBloom 0.86s cubic-bezier(.22,1,.36,1) both !important;
}

@keyframes limnrLightModeBloom {
  0% {
    opacity: 0;
    transform: translateX(-5%) scale(1.035);
    filter: blur(8px);
  }
  34% {
    opacity: 0.78;
    filter: blur(2px);
  }
  100% {
    opacity: 0;
    transform: translateX(5%) scale(1);
    filter: blur(0);
  }
}

@keyframes limnrDarkModeBloom {
  0% {
    opacity: 0;
    transform: translateX(5%) scale(1.035);
    filter: blur(8px);
  }
  34% {
    opacity: 0.82;
    filter: blur(2px);
  }
  100% {
    opacity: 0;
    transform: translateX(-5%) scale(1);
    filter: blur(0);
  }
}

.theme-toggle.is-switching .theme-toggle-icon {
  animation: limnrThemeIconFlip 0.68s cubic-bezier(.22,1,.36,1) both !important;
}

.theme-toggle.is-switching .theme-toggle-text {
  animation: limnrThemeTextFade 0.58s cubic-bezier(.22,1,.36,1) both !important;
}

@keyframes limnrThemeIconFlip {
  0% { transform: rotate(0deg) scale(1); opacity: 1; }
  42% { transform: rotate(135deg) scale(0.62); opacity: 0.45; }
  100% { transform: rotate(360deg) scale(1); opacity: 1; }
}

@keyframes limnrThemeTextFade {
  0% { transform: translateY(0); opacity: 1; }
  45% { transform: translateY(7px); opacity: 0.35; }
  100% { transform: translateY(0); opacity: 1; }
}

@media (max-width: 920px) {
  html[data-theme="light"] .nav-links {
    background: rgba(243, 237, 228, 0.96) !important;
    border-color: rgba(18, 24, 38, 0.11) !important;
    box-shadow:
      0 24px 70px rgba(54,43,30,0.14),
      inset 0 1px 0 rgba(255,255,255,0.48) !important;
  }
}
/* =====================================================
   LIGHT MODE - HERO CORE VISIBILITY FIX
   حطه آخر ملف CSS
===================================================== */

html[data-theme="light"] .hero-core {
  opacity: 1 !important;
  filter:
    drop-shadow(0 0 24px rgba(47, 95, 208, 0.16))
    drop-shadow(0 0 55px rgba(109, 90, 230, 0.10))
    drop-shadow(0 18px 40px rgba(56, 42, 26, 0.08)) !important;
}

/* الهالة الداخلية */
html[data-theme="light"] .hero-core::before {
  background:
    radial-gradient(circle, rgba(47,95,208,0.16), transparent 56%),
    radial-gradient(circle, rgba(109,90,230,0.10), transparent 72%) !important;
  filter: blur(10px) !important;
  opacity: 1 !important;
}

/* الهالة الخارجية */
html[data-theme="light"] .hero-core::after {
  background:
    conic-gradient(
      from 0deg,
      transparent,
      rgba(47,95,208,0.18),
      transparent,
      rgba(109,90,230,0.14),
      transparent
    ) !important;
  opacity: 0.82 !important;
  filter: blur(14px) !important;
}

/* الحلقات */
html[data-theme="light"] .core-ring {
  border-color: rgba(47,95,208,0.18) !important;
  box-shadow:
    inset 0 0 18px rgba(47,95,208,0.06),
    0 0 22px rgba(47,95,208,0.08) !important;
}

html[data-theme="light"] .core-ring-1 {
  border-top-color: rgba(28,159,143,0.72) !important;
  border-right-color: rgba(47,95,208,0.56) !important;
}

html[data-theme="light"] .core-ring-2 {
  border-left-color: rgba(109,90,230,0.58) !important;
  border-bottom-color: rgba(28,159,143,0.46) !important;
}

html[data-theme="light"] .core-ring-3 {
  border-top-color: rgba(18,24,38,0.12) !important;
  border-right-color: rgba(47,95,208,0.34) !important;
}

/* المدارات */
html[data-theme="light"] .core-orbit {
  border: 1px dashed rgba(47,95,208,0.18) !important;
  opacity: 0.9 !important;
}

html[data-theme="light"] .core-orbit span {
  width: 10px !important;
  height: 10px !important;
  background: #1c9f8f !important;
  box-shadow:
    0 0 12px rgba(28,159,143,0.85),
    0 0 26px rgba(47,95,208,0.26) !important;
}

html[data-theme="light"] .orbit-b span {
  background: #2f5fd0 !important;
}

/* خط المسح داخل النواة */
html[data-theme="light"] .core-scan {
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 44%,
      rgba(28,159,143,0.22) 50%,
      transparent 56%,
      transparent 100%
    ) !important;
  opacity: 0.95 !important;
}

/* قلب النواة - أهم جزء */
html[data-theme="light"] .core-center {
  background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,0.96), rgba(222,228,238,0.88)) !important;
  border: 1px solid rgba(47,95,208,0.18) !important;
  box-shadow:
    inset 0 0 22px rgba(47,95,208,0.08),
    0 0 30px rgba(47,95,208,0.12),
    0 10px 24px rgba(56,42,26,0.08) !important;
}

/* الشعار داخل النواة */
html[data-theme="light"] .core-center img {
  opacity: 0.92 !important;
  filter:
    drop-shadow(0 0 10px rgba(47,95,208,0.18))
    contrast(1.18)
    saturate(0.88) !important;
}

/* النص الصغير داخل النواة لو موجود */
html[data-theme="light"] .core-center span {
  color: rgba(18,24,38,0.62) !important;
  text-shadow: 0 0 8px rgba(47,95,208,0.10) !important;
}
/* =====================================================
   LIMNR FINAL PATCH
   1) Better hero core visibility in light mode
   2) Smoother theme emoji transition
===================================================== */

/* ---------- Smooth Theme Toggle ---------- */

.theme-toggle {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  width: auto;
  min-width: unset;
  padding: 14px 24px;

  flex: 0 0 auto;
}

.theme-toggle-icon,
.theme-toggle-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.52s cubic-bezier(.22,1,.36,1),
    opacity 0.38s ease,
    filter 0.38s ease;
  will-change: transform, opacity, filter;
}

.theme-toggle-icon {
  font-size: 16px;
  transform-origin: center center;
  filter: drop-shadow(0 0 10px rgba(214,184,106,0.12));
}

.theme-toggle.is-switching .theme-toggle-icon {
  transform: translateY(-8px) rotate(160deg) scale(0.68);
  opacity: 0;
  filter: blur(3px);
}

.theme-toggle.is-switching .theme-toggle-text {
  transform: translateY(8px) scale(0.96);
  opacity: 0;
  filter: blur(3px);
}

.theme-toggle::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(214,184,106,0.16),
      rgba(110,168,255,0.14),
      transparent
    );
  transform: translateX(-130%);
}

.theme-toggle.is-switching::before {
  opacity: 1;
  animation: limnrThemeSweep 0.7s cubic-bezier(.22,1,.36,1) forwards;
}

@keyframes limnrThemeSweep {
  0% {
    transform: translateX(-130%);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    transform: translateX(130%);
    opacity: 0;
  }
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.28), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.14), transparent 62%);
  mix-blend-mode: screen;
  transform: scaleY(0.94);
  transition:
    opacity 0.62s ease,
    transform 0.62s cubic-bezier(.22,1,.36,1);
}

body.theme-switching::after {
  opacity: 0.72;
  transform: scaleY(1);
}

/* ---------- Light Mode: Hero Core Visibility ---------- */

html[data-theme="light"] .hero-core {
  opacity: 1 !important;
  filter:
    drop-shadow(0 0 24px rgba(47, 95, 208, 0.16))
    drop-shadow(0 0 55px rgba(109, 90, 230, 0.10))
    drop-shadow(0 18px 40px rgba(56, 42, 26, 0.08)) !important;
}

html[data-theme="light"] .hero-core::before {
  background:
    radial-gradient(circle, rgba(47,95,208,0.16), transparent 56%),
    radial-gradient(circle, rgba(109,90,230,0.10), transparent 72%) !important;
  filter: blur(10px) !important;
  opacity: 1 !important;
}

html[data-theme="light"] .hero-core::after {
  background:
    conic-gradient(
      from 0deg,
      transparent,
      rgba(47,95,208,0.18),
      transparent,
      rgba(109,90,230,0.14),
      transparent
    ) !important;
  opacity: 0.78 !important;
  filter: blur(14px) !important;
}

html[data-theme="light"] .core-ring {
  border-color: rgba(47,95,208,0.18) !important;
  box-shadow:
    inset 0 0 18px rgba(47,95,208,0.06),
    0 0 22px rgba(47,95,208,0.08) !important;
}

html[data-theme="light"] .core-ring-1 {
  border-top-color: rgba(28,159,143,0.72) !important;
  border-right-color: rgba(47,95,208,0.56) !important;
}

html[data-theme="light"] .core-ring-2 {
  border-left-color: rgba(109,90,230,0.58) !important;
  border-bottom-color: rgba(28,159,143,0.46) !important;
}

html[data-theme="light"] .core-ring-3 {
  border-top-color: rgba(18,24,38,0.12) !important;
  border-right-color: rgba(47,95,208,0.34) !important;
}

html[data-theme="light"] .core-orbit {
  border: 1px dashed rgba(47,95,208,0.18) !important;
  opacity: 0.95 !important;
}

html[data-theme="light"] .core-orbit span {
  width: 10px !important;
  height: 10px !important;
  background: #1c9f8f !important;
  box-shadow:
    0 0 12px rgba(28,159,143,0.85),
    0 0 26px rgba(47,95,208,0.26) !important;
}

html[data-theme="light"] .orbit-b span {
  background: #2f5fd0 !important;
}

html[data-theme="light"] .core-scan {
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 44%,
      rgba(28,159,143,0.22) 50%,
      transparent 56%,
      transparent 100%
    ) !important;
  opacity: 0.95 !important;
}

html[data-theme="light"] .core-center {
  background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,0.96), rgba(222,228,238,0.88)) !important;
  border: 1px solid rgba(47,95,208,0.18) !important;
  box-shadow:
    inset 0 0 22px rgba(47,95,208,0.08),
    0 0 30px rgba(47,95,208,0.12),
    0 10px 24px rgba(56,42,26,0.08) !important;
}

html[data-theme="light"] .core-center img {
  opacity: 0.94 !important;
  filter:
    drop-shadow(0 0 10px rgba(47,95,208,0.18))
    contrast(1.18)
    saturate(0.88) !important;
}

html[data-theme="light"] .core-center span {
  color: rgba(18,24,38,0.62) !important;
  text-shadow: 0 0 8px rgba(47,95,208,0.10) !important;
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle,
  .theme-toggle-icon,
  .theme-toggle-text,
  body::after {
    transition: none !important;
    animation: none !important;
  }
}
html[data-theme="light"] .core-center {
  background:
    radial-gradient(circle at 45% 35%, rgba(255,255,255,0.92), rgba(210,218,230,0.72) 58%, rgba(170,180,195,0.42) 100%) !important;
  border: 1px solid rgba(47,95,208,0.24) !important;
  box-shadow:
    inset 0 0 28px rgba(47,95,208,0.12),
    inset 0 0 55px rgba(18,24,38,0.06),
    0 0 34px rgba(47,95,208,0.18),
    0 16px 38px rgba(56,42,26,0.10) !important;
}

html[data-theme="light"] .core-center img {
  opacity: 1 !important;
  filter:
    contrast(1.35)
    saturate(0.9)
    brightness(0.78)
    drop-shadow(0 0 8px rgba(47,95,208,0.22)) !important;
}

html[data-theme="light"] .core-ring {
  border-width: 1.4px !important;
}

html[data-theme="light"] .hero-core::after {
  opacity: 0.62 !important;
}
html[data-theme="light"] .hero-core {
  opacity: 0.96 !important;
}

html[data-theme="light"] .core-center {
  width: 118px !important;
  height: 118px !important;

  background:
    radial-gradient(circle at 45% 35%,
      rgba(238,242,248,0.88) 0%,
      rgba(196,207,224,0.58) 62%,
      rgba(108,123,148,0.28) 100%
    ) !important;

  border: 1px solid rgba(47,95,208,0.22) !important;

  box-shadow:
    inset 0 0 22px rgba(47,95,208,0.08),
    0 0 24px rgba(47,95,208,0.14),
    0 12px 30px rgba(18,24,38,0.08) !important;
}

html[data-theme="light"] .core-center img {
  width: 42px !important;
  height: 42px !important;
  opacity: 0.88 !important;

  filter:
    brightness(0.55)
    contrast(1.45)
    saturate(0.85)
    drop-shadow(0 0 6px rgba(47,95,208,0.16)) !important;
}

html[data-theme="light"] .core-ring-1 {
  border-top-color: rgba(28,159,143,0.55) !important;
  border-right-color: rgba(47,95,208,0.42) !important;
}

html[data-theme="light"] .hero-core::after {
  opacity: 0.45 !important;
}
/* Arabic hero title cut fix */
body.lang-ar .hero-title,
body.lang-ar .hero h1 {
  line-height: 1.22 !important;
  padding-bottom: 0.16em !important;
  overflow: visible !important;
}

body.lang-ar .hero-title span,
body.lang-ar .hero h1 span {
  line-height: 1.22 !important;
  padding-bottom: 0.10em !important;
  display: inline-block !important;
}

@media (max-width: 768px) {
  body.lang-ar .hero-title,
  body.lang-ar .hero h1 {
    line-height: 1.28 !important;
    padding-bottom: 0.20em !important;
  }
}
/* ===== Smooth Language Switch Animation ===== */

.lang-toggle {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.lang-toggle::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(214,184,106,0.28),
    rgba(110,168,255,0.20),
    transparent
  );
  opacity: 0;
  transform: translateX(-130%);
  pointer-events: none;
}

.lang-toggle.is-switching::after {
  animation: langButtonSweep 0.62s cubic-bezier(.22,1,.36,1) forwards;
}

@keyframes langButtonSweep {
  0% {
    opacity: 0;
    transform: translateX(-130%);
  }

  25% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(130%);
  }
}

body.lang-switching main,
body.lang-switching .nav-links,
body.lang-switching .system-status,
body.lang-switching .footer {
  animation: langPageSoftSwap 0.58s cubic-bezier(.22,1,.36,1);
}

@keyframes langPageSoftSwap {
  0% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }

  45% {
    opacity: 0.42;
    filter: blur(5px);
    transform: translateY(6px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-toggle .theme-toggle-icon {
  font-size: 14px;
  line-height: 1;
}

.theme-toggle .theme-toggle-text {
  white-space: nowrap;
  line-height: 1;
}

/* =====================================================
   LIMNR - PRO LANGUAGE TOGGLE FINAL OVERRIDE
===================================================== */

.lang-toggle {
  --lang-gold: rgba(214, 184, 106, 0.92);
  --lang-blue: rgba(110, 168, 255, 0.94);
  --lang-purple: rgba(155, 109, 255, 0.60);

  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;

  min-width: 106px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 13px !important;

  border-radius: 999px !important;
  border: 1px solid rgba(214, 184, 106, 0.28) !important;

  background:
    linear-gradient(135deg, rgba(255,255,255,0.075), rgba(110,168,255,0.035)),
    rgba(8, 8, 10, 0.74) !important;

  color: rgba(255,255,255,0.94) !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  letter-spacing: 0.015em !important;
  line-height: 1 !important;

  cursor: pointer !important;
  overflow: hidden !important;
  isolation: isolate !important;
  white-space: nowrap !important;
  -webkit-tap-highlight-color: transparent !important;

  box-shadow:
    0 14px 40px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -14px 28px rgba(0,0,0,0.20) !important;

  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;

  transition:
    transform 0.36s cubic-bezier(.22,1,.36,1),
    border-color 0.36s ease,
    background 0.36s ease,
    box-shadow 0.36s ease,
    color 0.36s ease !important;
}

.lang-toggle::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 18px;
  top: 50%;
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(214,184,106,0.30), rgba(110,168,255,0.12) 42%, transparent 72%);
  opacity: 0.42;
  transform: translate(-50%, -50%) scale(0.82);
  transition:
    left 0.52s cubic-bezier(.22,1,.36,1),
    transform 0.52s cubic-bezier(.22,1,.36,1),
    opacity 0.35s ease;
}

.lang-toggle::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      transparent 0%,
      rgba(255,255,255,0.08) 24%,
      rgba(214,184,106,0.34) 43%,
      rgba(110,168,255,0.24) 58%,
      transparent 78%
    );
  opacity: 0;
  transform: translateX(-135%) skewX(-14deg);
}

.lang-toggle:hover {
  transform: translateY(-3px) scale(1.035) !important;
  border-color: rgba(214,184,106,0.56) !important;
  background:
    linear-gradient(135deg, rgba(214,184,106,0.105), rgba(110,168,255,0.075)),
    rgba(10,10,13,0.86) !important;
  box-shadow:
    0 22px 58px rgba(0,0,0,0.42),
    0 0 34px rgba(214,184,106,0.10),
    0 0 28px rgba(110,168,255,0.10),
    inset 0 1px 0 rgba(255,255,255,0.10) !important;
}

.lang-toggle:hover::before {
  left: calc(100% - 18px);
  opacity: 0.72;
  transform: translate(-50%, -50%) scale(1.05);
}

.lang-toggle:focus-visible {
  outline: none !important;
  border-color: rgba(127,255,212,0.72) !important;
  box-shadow:
    0 0 0 4px rgba(127,255,212,0.10),
    0 0 42px rgba(110,168,255,0.18),
    0 18px 46px rgba(0,0,0,0.40) !important;
}

.lang-toggle-orb {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 24%, rgba(255,255,255,0.16), transparent 26%),
    radial-gradient(circle at 76% 70%, rgba(110,168,255,0.12), transparent 34%);
  opacity: 0.70;
}

.lang-toggle-icon,
.lang-toggle-label,
.lang-toggle-code {
  position: relative;
  z-index: 1;
}

.lang-toggle-icon {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  border-radius: 999px;
  color: rgba(255,255,255,0.95);
  font-size: 13px;
  line-height: 1;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.25), transparent 38%),
    linear-gradient(135deg, rgba(214,184,106,0.32), rgba(110,168,255,0.20));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 0 18px rgba(214,184,106,0.12),
    inset 0 0 10px rgba(255,255,255,0.06);
  transform-origin: center;
}

.lang-toggle-label {
  display: inline-block;
  min-width: 40px;
  text-align: center;
  transform-origin: center;
}

.lang-toggle-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 25px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  color: rgba(255,255,255,0.74);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.10em;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  transform-origin: center;
}

.lang-toggle.is-switching {
  pointer-events: none !important;
  transform: translateY(-2px) scale(1.045) !important;
  border-color: rgba(127,255,212,0.50) !important;
  box-shadow:
    0 24px 70px rgba(0,0,0,0.48),
    0 0 46px rgba(110,168,255,0.18),
    0 0 28px rgba(214,184,106,0.12) !important;
}

.lang-toggle.is-switching::before {
  left: 50%;
  opacity: 0.92;
  transform: translate(-50%, -50%) scale(1.20);
}

.lang-toggle.is-switching::after {
  animation: limnrLangSweep 0.78s cubic-bezier(.22,1,.36,1) forwards;
}

.lang-toggle.is-switching .lang-toggle-icon {
  animation: limnrLangIconOrbit 0.78s cubic-bezier(.22,1,.36,1) both;
}

.lang-toggle.is-switching .lang-toggle-label {
  animation: limnrLangTextMorph 0.62s cubic-bezier(.22,1,.36,1) both;
}

.lang-toggle.is-switching .lang-toggle-code {
  animation: limnrLangCodeMorph 0.62s cubic-bezier(.22,1,.36,1) 0.04s both;
}

body.lang-switching main,
body.lang-switching .nav-links,
body.lang-switching .system-status,
body.lang-switching .footer {
  animation: none !important;
}

body.lang-switching :where(
  [data-i18n],
  [data-i18n-html],
  .contact-label,
  .secure-contact-note,
  .footer-bottom
) {
  animation: limnrLangContentReveal 0.72s cubic-bezier(.22,1,.36,1) both;
}

body.lang-to-ar .lang-toggle::before {
  background:
    radial-gradient(circle, rgba(127,255,212,0.22), rgba(214,184,106,0.20) 42%, transparent 72%);
}

body.lang-to-en .lang-toggle::before {
  background:
    radial-gradient(circle, rgba(110,168,255,0.26), rgba(155,109,255,0.16) 42%, transparent 72%);
}

@keyframes limnrLangSweep {
  0% {
    opacity: 0;
    transform: translateX(-135%) skewX(-14deg);
  }
  18%, 58% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(135%) skewX(-14deg);
  }
}

@keyframes limnrLangIconOrbit {
  0% {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    filter: blur(0);
  }
  42% {
    opacity: 0.36;
    transform: rotate(170deg) scale(0.64);
    filter: blur(2.5px);
  }
  100% {
    opacity: 1;
    transform: rotate(360deg) scale(1);
    filter: blur(0);
  }
}

@keyframes limnrLangTextMorph {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  42% {
    opacity: 0;
    transform: translateY(-9px) scale(0.94);
    filter: blur(4px);
  }
  58% {
    opacity: 0;
    transform: translateY(9px) scale(0.96);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes limnrLangCodeMorph {
  0% {
    opacity: 1;
    transform: translateX(0) rotateY(0deg) scale(1);
  }
  45% {
    opacity: 0;
    transform: translateX(8px) rotateY(88deg) scale(0.92);
  }
  55% {
    opacity: 0;
    transform: translateX(-8px) rotateY(-88deg) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotateY(0deg) scale(1);
  }
}

@keyframes limnrLangContentReveal {
  0% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  36% {
    opacity: 0.52;
    transform: translateY(5px);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

html[data-theme="light"] .lang-toggle {
  color: #111827 !important;
  border-color: rgba(47,95,208,0.16) !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.86), rgba(235,228,217,0.76)),
    rgba(246,241,233,0.92) !important;
  box-shadow:
    0 15px 36px rgba(54,43,30,0.12),
    inset 0 1px 0 rgba(255,255,255,0.76),
    inset 0 -14px 28px rgba(47,95,208,0.04) !important;
}

html[data-theme="light"] .lang-toggle:hover {
  border-color: rgba(47,95,208,0.28) !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(232,224,211,0.90)),
    rgba(246,241,233,0.98) !important;
  box-shadow:
    0 22px 52px rgba(54,43,30,0.16),
    0 0 26px rgba(47,95,208,0.10),
    inset 0 1px 0 rgba(255,255,255,0.86) !important;
}

html[data-theme="light"] .lang-toggle-icon {
  color: #1f2937;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.72), transparent 38%),
    linear-gradient(135deg, rgba(214,184,106,0.28), rgba(47,95,208,0.14));
  border-color: rgba(18,24,38,0.08);
}

html[data-theme="light"] .lang-toggle-code {
  color: rgba(17,24,39,0.64);
  border-color: rgba(18,24,38,0.08);
  background: rgba(18,24,38,0.045);
}

@media (max-width: 920px) {
  .lang-toggle {
    min-width: 98px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 11px !important;
    gap: 7px !important;
  }
}

@media (max-width: 520px) {
  .lang-toggle {
    min-width: 84px !important;
    padding: 0 10px !important;
  }

  .lang-toggle-code {
    display: none !important;
  }

  .lang-toggle-label {
    min-width: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lang-toggle,
  .lang-toggle::before,
  .lang-toggle::after,
  .lang-toggle *,
  body.lang-switching :where([data-i18n], [data-i18n-html], .contact-label, .secure-contact-note, .footer-bottom) {
    animation: none !important;
    transition: none !important;
    filter: none !important;
  }
}
/* ===== LIMNR LANGUAGE NO RESPAWN FIX ===== */

body.lang-switching main,
body.lang-switching .nav-links,
body.lang-switching .system-status,
body.lang-switching .footer {
  animation: none !important;
}

body.lang-switching :where(
  [data-i18n],
  [data-i18n-html],
  .contact-label,
  .secure-contact-note,
  .footer-bottom
),
body.lang-to-ar :where(
  [data-i18n],
  [data-i18n-html],
  .contact-label,
  .secure-contact-note,
  .footer-bottom
),
body.lang-to-en :where(
  [data-i18n],
  [data-i18n-html],
  .contact-label,
  .secure-contact-note,
  .footer-bottom
) {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
body.lang-switching,
body.lang-switching main,
body.lang-switching .nav-links,
body.lang-switching .system-status,
body.lang-switching .footer,
body.lang-switching [data-i18n],
body.lang-switching [data-i18n-html] {
  animation: none !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

@keyframes limnrLangContentReveal {
  0%, 36%, 100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* =====================================================
   LIMNR FINAL PRODUCTION STABILITY PASS
   الهوية كما هي — هذه طبقة تثبيت وتنظيف نهائية فقط
===================================================== */

:root {
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
}

body {
  min-width: 320px;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

/* Header: ثابت، لا يهتز مع تبديل اللغة */
.header {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  width: 100% !important;
  z-index: 9998 !important;
  transform: translateZ(0);
  will-change: background, box-shadow, border-color;
}

.nav {
  min-height: 78px;
  height: 78px;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: clamp(10px, 1.55vw, 22px) !important;
  min-width: 0;
}

.brand {
  flex: 0 0 auto;
  min-width: 0;
}

.brand-inner {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand-copy {
  min-width: 0;
}

.nav-links {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
  gap: clamp(12px, 1.8vw, 26px) !important;
  white-space: nowrap;
}

.header-actions {
  flex: 0 0 266px;
  width: 266px;
  min-width: 266px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  contain: layout;
}

/* Language toggle: fixed structure, fixed width, inner-only motion */
.lang-toggle {
  flex: 0 0 112px !important;
  width: 112px !important;
  min-width: 112px !important;
  max-width: 112px !important;
  height: 44px !important;
  min-height: 44px !important;
  contain: layout paint !important;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.lang-toggle-label {
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}

.lang-toggle-code {
  width: 28px !important;
  min-width: 28px !important;
  text-align: center !important;
}

.lang-toggle-icon {
  flex: 0 0 24px !important;
}

.lang-toggle.is-switching {
  pointer-events: none;
}

.lang-toggle.is-switching .lang-toggle-icon {
  animation: limnrLangIconOrbit 0.66s cubic-bezier(.22,1,.36,1) both !important;
}

.lang-toggle.is-switching .lang-toggle-label {
  animation: limnrLangTextMorph 0.66s cubic-bezier(.22,1,.36,1) both !important;
}

.lang-toggle.is-switching .lang-toggle-code {
  animation: limnrLangCodeMorph 0.66s cubic-bezier(.22,1,.36,1) 0.03s both !important;
}

/* Theme toggle: stable markup and mobile visibility */
.theme-toggle {
  flex: 0 0 142px !important;
  width: 142px !important;
  min-width: 142px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  contain: layout paint;
}

.theme-toggle.is-switching {
  pointer-events: none;
}

.theme-toggle-icon,
.theme-toggle-text {
  flex: 0 0 auto;
}

/* منع حركة المحتوى الكاملة وقت تبديل اللغة — الحركة تكون داخل الزر فقط */
body.lang-switching main,
body.lang-switching .nav-links,
body.lang-switching .system-status,
body.lang-switching .footer,
body.lang-switching [data-i18n],
body.lang-switching [data-i18n-html],
body.lang-switching [data-legal] {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

body.lang-ar {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body.lang-ar .hero-text,
body.lang-ar .section-heading p,
body.lang-ar .card p,
body.lang-ar .panel p,
body.lang-ar .stack-content p,
body.lang-ar .secure-contact-card p,
body.lang-ar .legal-card p {
  line-height: 1.9;
}

/* Light mode: نفس الهوية لكن بتوازن أنظف */
html[data-theme="light"] body {
  background: #f4efe6 !important;
  color: #111827 !important;
}

html[data-theme="light"] .site-background {
  background:
    radial-gradient(circle at 50% 28%, rgba(47,95,208,0.13), transparent 36%),
    radial-gradient(circle at 82% 70%, rgba(155,109,255,0.10), transparent 35%),
    linear-gradient(180deg, #f7f2ea, #eee6d8) !important;
}

html[data-theme="light"] .background-overlay {
  background:
    radial-gradient(circle at center, rgba(247,242,234,0.12), rgba(247,242,234,0.72) 72%),
    linear-gradient(180deg, rgba(247,242,234,0.22), rgba(238,230,216,0.78)) !important;
}

html[data-theme="light"] .header {
  background:
    linear-gradient(180deg, rgba(250,247,241,0.90), rgba(250,247,241,0.68)) !important;
  border-bottom-color: rgba(18,24,38,0.09) !important;
  box-shadow:
    0 16px 58px rgba(54,43,30,0.12),
    0 0 44px rgba(47,95,208,0.055) !important;
}

html[data-theme="light"] .card,
html[data-theme="light"] .panel,
html[data-theme="light"] .stat-card,
html[data-theme="light"] .ops-block,
html[data-theme="light"] .threat-card,
html[data-theme="light"] .vault-step,
html[data-theme="light"] .warning-item,
html[data-theme="light"] .secure-contact-card,
html[data-theme="light"] .legal-card {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.72), rgba(246,241,233,0.58)) !important;
  border-color: rgba(18,24,38,0.09) !important;
  box-shadow:
    0 24px 70px rgba(54,43,30,0.11),
    inset 0 1px 0 rgba(255,255,255,0.66) !important;
}

html[data-theme="light"] .card:hover,
html[data-theme="light"] .legal-card:hover,
html[data-theme="light"] .stat-card:hover {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.88), rgba(240,233,222,0.76)) !important;
  border-color: rgba(47,95,208,0.20) !important;
  box-shadow:
    0 28px 80px rgba(54,43,30,0.15),
    0 0 34px rgba(47,95,208,0.10) !important;
}

html[data-theme="light"] .section-heading h2,
html[data-theme="light"] .hero h1,
html[data-theme="light"] .card h3,
html[data-theme="light"] .panel h3,
html[data-theme="light"] .legal-card h3,
html[data-theme="light"] .brand-name,
html[data-theme="light"] .footer strong {
  color: #111827 !important;
}

html[data-theme="light"] .section-heading p,
html[data-theme="light"] .hero p,
html[data-theme="light"] .card p,
html[data-theme="light"] .panel p,
html[data-theme="light"] .legal-card p,
html[data-theme="light"] .footer p,
html[data-theme="light"] .footer a,
html[data-theme="light"] .brand-sub {
  color: rgba(17,24,39,0.66) !important;
}

/* Legal section */
.legal-section {
  position: relative;
  z-index: 2;
  padding: 110px 0 120px;
}

.legal-heading {
  margin-bottom: 42px;
}

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

.legal-card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(110,168,255,0.10), transparent 34%),
    rgba(18,18,18,0.72);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 24px 80px rgba(0,0,0,0.36);
  transition:
    transform 0.32s cubic-bezier(.22,1,.36,1),
    border-color 0.32s ease,
    background 0.32s ease,
    box-shadow 0.32s ease;
}

.legal-card:hover {
  transform: translateY(-8px);
  border-color: rgba(110,168,255,0.32);
  background:
    radial-gradient(circle at 82% 18%, rgba(110,168,255,0.16), transparent 36%),
    rgba(24,24,24,0.82);
  box-shadow:
    0 28px 90px rgba(0,0,0,0.48),
    0 0 38px rgba(110,168,255,0.11);
}

.legal-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 15px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(214,184,106,0.22);
  background: rgba(214,184,106,0.065);
}

.legal-card h3 {
  margin: 0 0 14px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.legal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}

.contact-info-item a,
.contact-email-display,
.footer a[href^="mailto:"] {
  color: inherit;
  text-decoration: none;
}

.contact-email-display {
  display: block;
}

/* Responsive final pass */
@media (max-width: 1180px) {
  .nav-links {
    gap: 14px !important;
    font-size: 13px;
  }

  .header-actions {
    flex-basis: 250px;
    width: 250px;
    min-width: 250px;
  }

  .theme-toggle {
    flex-basis: 132px !important;
    width: 132px !important;
    min-width: 132px !important;
  }
}

@media (max-width: 920px) {
  .nav {
    justify-content: space-between !important;
    gap: 10px !important;
  }

  .brand-logo {
    width: 98px !important;
    height: 98px !important;
  }

  .brand-name,
  .brand-sub {
    margin-left: -24px !important;
  }

  .menu-button {
    display: inline-grid !important;
    place-items: center;
    flex: 0 0 44px;
    order: 3;
  }

  .nav-links {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 16px !important;
    right: 16px !important;
    width: auto !important;
    max-height: calc(100vh - 108px);
    overflow: auto;
    z-index: 9999;
  }

  .header-actions {
    order: 2;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    gap: 8px !important;
  }

  .lang-toggle {
    flex-basis: 96px !important;
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    height: 42px !important;
  }

  .lang-toggle-label {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
  }

  .theme-toggle.nav-cta {
    display: inline-flex !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }

  .theme-toggle .theme-toggle-text {
    display: none !important;
  }

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .nav {
    min-height: 74px;
    height: 74px;
  }

  body {
    padding-top: 74px !important;
  }

  .brand-logo {
    width: 86px !important;
    height: 86px !important;
  }

  .brand-name {
    font-size: 20px !important;
    margin-left: -22px !important;
  }

  .brand-sub {
    display: none !important;
  }

  .header-actions {
    gap: 6px !important;
  }

  .lang-toggle {
    flex-basis: 86px !important;
    width: 86px !important;
    min-width: 86px !important;
    max-width: 86px !important;
    padding: 0 9px !important;
    gap: 6px !important;
  }

  .lang-toggle-icon {
    flex-basis: 22px !important;
    width: 22px !important;
    height: 22px !important;
  }

  .lang-toggle-code {
    display: none !important;
  }

  .lang-toggle-label {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .legal-card {
    min-height: auto;
  }
}

@media (max-width: 390px) {
  .container {
    width: min(100% - 18px, 1160px);
  }

  .nav {
    gap: 6px !important;
  }

  .brand-logo {
    width: 76px !important;
    height: 76px !important;
  }

  .brand-name {
    font-size: 18px !important;
    margin-left: -20px !important;
  }

  .lang-toggle {
    flex-basis: 76px !important;
    width: 76px !important;
    min-width: 76px !important;
    max-width: 76px !important;
  }

  .lang-toggle-label {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    font-size: 12px !important;
  }

  .theme-toggle.nav-cta,
  .menu-button {
    width: 40px !important;
    min-width: 40px !important;
    flex-basis: 40px !important;
    height: 40px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lang-toggle.is-switching .lang-toggle-icon,
  .lang-toggle.is-switching .lang-toggle-label,
  .lang-toggle.is-switching .lang-toggle-code,
  .theme-toggle.is-switching .theme-toggle-icon,
  .theme-toggle.is-switching .theme-toggle-text {
    animation: none !important;
  }
}
/* =====================================================
   FINAL FIX: LIGHT MODE BRAND HALO VISIBILITY
   Keeps the exact Limnr identity while matching the dark-mode logo aura.
===================================================== */

html[data-theme="light"] .brand-mark::before {
  width: 86px !important;
  height: 86px !important;
  background:
    radial-gradient(circle, rgba(45, 95, 208, 0.20), transparent 56%),
    radial-gradient(circle, rgba(15, 143, 131, 0.12), transparent 72%) !important;
  filter: blur(10px) !important;
  opacity: 0.82 !important;
  mix-blend-mode: multiply;
}

html[data-theme="light"] .brand-mark::after {
  width: 92px !important;
  height: 92px !important;
  border: 1px solid rgba(45, 95, 208, 0.18) !important;
  border-top-color: rgba(15, 143, 131, 0.42) !important;
  border-right-color: rgba(45, 95, 208, 0.34) !important;
  opacity: 0.86 !important;
  box-shadow:
    0 0 22px rgba(45, 95, 208, 0.10),
    inset 0 0 18px rgba(255, 255, 255, 0.28) !important;
}

html[data-theme="light"] .brand-logo {
  opacity: 0.94 !important;
  filter:
    contrast(1.08)
    drop-shadow(0 0 10px rgba(45, 95, 208, 0.10)) !important;
}

html[data-theme="light"] .header.is-scrolled .brand-mark::before {
  opacity: 0.68 !important;
}

html[data-theme="light"] .header.is-scrolled .brand-mark::after {
  opacity: 0.72 !important;
}
/* =====================================================
   FINAL FIX: 3 CONTACT CHANNELS LAYOUT
===================================================== */

.contact-info-grid.contact-info-grid-3 {
  max-width: 760px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.contact-info-grid.contact-info-grid-3 .contact-info-item {
  width: 100%;
  min-width: 0;
  grid-column: auto !important;
}

body.lang-ar .contact-info-grid.contact-info-grid-3 {
  direction: ltr !important;
}

body.lang-ar .contact-info-grid.contact-info-grid-3 .contact-info-item {
  text-align: right;
}

@media (max-width: 760px) {
  .contact-info-grid.contact-info-grid-3 {
    max-width: 560px;
    grid-template-columns: 1fr;
  }

  .contact-info-grid.contact-info-grid-3 .contact-info-item {
    text-align: center;
  }

  body.lang-ar .contact-info-grid.contact-info-grid-3 .contact-info-item {
    text-align: center;
  }
}
/* =====================================================
   FINAL FIX: ARABIC LANGUAGE BUTTON TEXT CLIPPING
===================================================== */

.lang-toggle {
  overflow: visible !important;
}

.lang-toggle-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-height: 24px !important;
  line-height: 1.6 !important;

  padding-top: 1px !important;
  padding-bottom: 3px !important;

  overflow: visible !important;
  white-space: nowrap !important;
}

html[lang="ar"] .lang-toggle-label,
body.lang-ar .lang-toggle-label {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif !important;
  line-height: 1.7 !important;
  padding-bottom: 4px !important;
  transform: translateY(1px) !important;
}

.lang-toggle-code {
  line-height: 1 !important;
}
/* =====================================================
   FINAL FIX: SAFE GREEN VAULT STEPS BORDER
   Makes evidence/protocol step frames feel secure and correct.
===================================================== */

.vault-step {
  border-color: rgba(127, 255, 212, 0.24) !important;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.34),
    0 0 26px rgba(127, 255, 212, 0.045) !important;
}

.vault-step:hover {
  border-color: rgba(127, 255, 212, 0.62) !important;
  box-shadow:
    0 28px 86px rgba(0, 0, 0, 0.46),
    0 0 34px rgba(127, 255, 212, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

.vault-step::before {
  background:
    linear-gradient(
      120deg,
      transparent,
      rgba(127, 255, 212, 0.13),
      transparent
    ) !important;
}

.vault-step-number,
.vault-step .step-number,
.vault-step span:first-child {
  border-color: rgba(127, 255, 212, 0.38) !important;
  color: rgba(235, 255, 249, 0.95) !important;
  background: rgba(127, 255, 212, 0.07) !important;
  box-shadow:
    0 0 22px rgba(127, 255, 212, 0.10) !important;
}

.vault-step:hover .vault-step-number,
.vault-step:hover .step-number,
.vault-step:hover span:first-child {
  border-color: rgba(127, 255, 212, 0.78) !important;
  background: rgba(127, 255, 212, 0.13) !important;
  box-shadow:
    0 0 28px rgba(127, 255, 212, 0.22) !important;
}

/* Light mode version */
html[data-theme="light"] .vault-step {
  border-color: rgba(15, 143, 131, 0.22) !important;
  box-shadow:
    0 22px 60px rgba(30, 48, 70, 0.08),
    0 0 24px rgba(15, 143, 131, 0.045) !important;
}

html[data-theme="light"] .vault-step:hover {
  border-color: rgba(15, 143, 131, 0.48) !important;
  box-shadow:
    0 28px 76px rgba(30, 48, 70, 0.13),
    0 0 34px rgba(15, 143, 131, 0.12) !important;
}

html[data-theme="light"] .vault-step-number,
html[data-theme="light"] .vault-step .step-number,
html[data-theme="light"] .vault-step span:first-child {
  border-color: rgba(15, 143, 131, 0.32) !important;
  color: #0f514c !important;
  background: rgba(15, 143, 131, 0.065) !important;
}
.nav-links a::after,
.nav-links a.is-active::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(127, 255, 212, 0.95),
    transparent
  ) !important;
}

.nav-links a.is-active {
  color: rgba(235, 255, 249, 0.98) !important;
}
/* =====================================================
   FINAL FIX: STACK CARDS ART AS SOFT BACKGROUND
   يجعل صور الكروت مدموجة وفخمة بدل مربع ملصوق
===================================================== */

#stacked-features .stack-card {
  position: sticky !important;
  overflow: hidden !important;

  display: block !important;
  min-height: 310px !important;

  padding: 46px 44px !important;

  background:
    radial-gradient(circle at 82% 50%, rgba(110, 168, 255, 0.12), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015)),
    rgba(18, 18, 18, 0.82) !important;
}

#stacked-features .stack-content {
  position: relative !important;
  z-index: 3 !important;

  max-width: 52% !important;
}

#stacked-features .stack-content h3,
#stacked-features .stack-content p {
  position: relative !important;
  z-index: 3 !important;
}

#stacked-features .stack-visual {
  position: absolute !important;
  z-index: 1 !important;

  top: 50% !important;
  right: 34px !important;

  width: 360px !important;
  height: 270px !important;

  transform: translateY(-50%) !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  pointer-events: none !important;
  overflow: visible !important;
  isolation: isolate !important;
}

#stacked-features .stack-visual::before {
  content: "" !important;
  position: absolute !important;

  width: 360px !important;
  height: 270px !important;

  border-radius: 50% !important;

  background:
    radial-gradient(
      circle,
      rgba(110, 168, 255, 0.18),
      rgba(110, 168, 255, 0.08) 42%,
      transparent 74%
    ) !important;

  filter: blur(38px) !important;
  opacity: 0.75 !important;
  z-index: 0 !important;
}

#stacked-features .stack-visual img {
  position: relative !important;
  z-index: 1 !important;

  width: 360px !important;
  height: 270px !important;

  object-fit: cover !important;
  object-position: center !important;

  opacity: 0.90 !important;
  border-radius: 0 !important;

  mix-blend-mode: screen !important;

  filter:
    contrast(1.08)
    saturate(1.12)
    brightness(1.08)
    drop-shadow(0 0 34px rgba(110, 168, 255, 0.20)) !important;

  animation: stackArtFloat 8s ease-in-out infinite !important;

  -webkit-mask-image:
    radial-gradient(
      ellipse at center,
      black 0%,
      black 38%,
      rgba(0, 0, 0, 0.62) 58%,
      transparent 82%
    ) !important;

  mask-image:
    radial-gradient(
      ellipse at center,
      black 0%,
      black 38%,
      rgba(0, 0, 0, 0.62) 58%,
      transparent 82%
    ) !important;
}

#stacked-features .stack-card::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;

  background:
    linear-gradient(
      90deg,
      rgba(18,18,18,0.92) 0%,
      rgba(18,18,18,0.72) 42%,
      rgba(18,18,18,0.22) 72%,
      rgba(18,18,18,0.50) 100%
    ) !important;
}

#stacked-features .stack-card:hover .stack-visual img {
  opacity: 0.52 !important;
  filter:
    contrast(1.12)
    saturate(1.18)
    brightness(1.12)
    drop-shadow(0 0 44px rgba(127, 255, 212, 0.24)) !important;
}

@keyframes stackArtFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-8px) scale(1.035);
  }
}

/* Arabic stays elegant */
body.lang-ar #stacked-features .stack-content {
  max-width: 52% !important;
}

/* Light mode */
html[data-theme="light"] #stacked-features .stack-card {
  background:
    radial-gradient(circle at 82% 50%, rgba(45, 95, 208, 0.10), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,0.55), rgba(255,255,255,0.20)),
    rgba(244, 239, 231, 0.84) !important;
}

html[data-theme="light"] #stacked-features .stack-card::after {
  background:
    linear-gradient(
      90deg,
      rgba(244,239,231,0.92) 0%,
      rgba(244,239,231,0.74) 44%,
      rgba(244,239,231,0.34) 74%,
      rgba(244,239,231,0.58) 100%
    ) !important;
}

html[data-theme="light"] #stacked-features .stack-visual img {
  opacity: 0.28 !important;
  mix-blend-mode: multiply !important;
  filter:
    contrast(1.02)
    saturate(0.92)
    brightness(1.04)
    drop-shadow(0 0 26px rgba(45, 95, 208, 0.12)) !important;
}

/* Mobile */
@media (max-width: 920px) {
  #stacked-features .stack-card {
    min-height: auto !important;
    padding: 34px 28px 190px !important;
  }

  #stacked-features .stack-content,
  body.lang-ar #stacked-features .stack-content {
    max-width: 100% !important;
  }

  #stacked-features .stack-visual {
    top: auto !important;
    right: 50% !important;
    bottom: 8px !important;

    width: 260px !important;
    height: 180px !important;

    transform: translateX(50%) !important;
  }

  #stacked-features .stack-visual img {
    width: 260px !important;
    height: 180px !important;
    opacity: 0.36 !important;
  }

  #stacked-features .stack-card::after {
    background:
      linear-gradient(
        180deg,
        rgba(18,18,18,0.92) 0%,
        rgba(18,18,18,0.74) 52%,
        rgba(18,18,18,0.35) 100%
      ) !important;
  }
}

@media (max-width: 520px) {
  #stacked-features .stack-card {
    padding: 28px 24px 165px !important;
  }

  #stacked-features .stack-visual,
  #stacked-features .stack-visual img {
    width: 230px !important;
    height: 155px !important;
  }
}
/* =====================================================
   FINAL FIX: STACK IMAGES FLUSH RIGHT
   يلصق صور كروت stack بآخر يمين الكرت ويخليها مدموجة
===================================================== */

#stacked-features .stack-card {
  position: sticky !important;
  overflow: hidden !important;
  isolation: isolate !important;

  display: block !important;
  min-height: 310px !important;
  padding: 46px 44px !important;

  background:
    radial-gradient(circle at 100% 50%, rgba(110, 168, 255, 0.12), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015)),
    rgba(18, 18, 18, 0.82) !important;
}

#stacked-features .stack-content {
  position: relative !important;
  z-index: 5 !important;
  max-width: 55% !important;
}

#stacked-features .stack-visual {
  position: absolute !important;
  z-index: 1 !important;

  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;

  width: 48% !important;
  height: 100% !important;

  transform: none !important;

  display: block !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

#stacked-features .stack-visual::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;

  background:
    radial-gradient(
      circle at 82% 50%,
      rgba(110, 168, 255, 0.22),
      rgba(110, 168, 255, 0.08) 36%,
      transparent 68%
    ) !important;

  filter: blur(18px) !important;
  opacity: 0.85 !important;
}

#stacked-features .stack-visual img {
  position: absolute !important;
  z-index: 2 !important;

  top: 0 !important;
  right: 0 !important;

  width: 115% !important;
  height: 100% !important;

  object-fit: cover !important;
  object-position: right center !important;

  border-radius: 0 !important;
  opacity: 0.50 !important;
  mix-blend-mode: screen !important;

  transform: translateX(8%) scale(0.90) !important;
  animation: none !important;

  filter:
    contrast(1.1)
    saturate(1.14)
    brightness(1.08)
    drop-shadow(0 0 34px rgba(110, 168, 255, 0.20)) !important;

  -webkit-mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(0,0,0,0.18) 14%,
      rgba(0,0,0,0.74) 34%,
      black 58%,
      black 100%
    ) !important;

  mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(0,0,0,0.18) 14%,
      rgba(0,0,0,0.74) 34%,
      black 58%,
      black 100%
    ) !important;
}

#stacked-features .stack-card::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  pointer-events: none !important;

  background:
    linear-gradient(
      90deg,
      rgba(18,18,18,0.94) 0%,
      rgba(18,18,18,0.72) 48%,
      rgba(18,18,18,0.20) 78%,
      rgba(18,18,18,0.05) 100%
    ) !important;
}

#stacked-features .stack-card:hover .stack-visual img {
  opacity: 0.62 !important;
  transform: translateX(5%) scale(1.08) !important;

  filter:
    contrast(1.14)
    saturate(1.2)
    brightness(1.12)
    drop-shadow(0 0 44px rgba(127, 255, 212, 0.24)) !important;
}

/* Light mode */
html[data-theme="light"] #stacked-features .stack-card {
  background:
    radial-gradient(circle at 100% 50%, rgba(45, 95, 208, 0.10), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,0.58), rgba(255,255,255,0.22)),
    rgba(244, 239, 231, 0.84) !important;
}

html[data-theme="light"] #stacked-features .stack-card::after {
  background:
    linear-gradient(
      90deg,
      rgba(244,239,231,0.94) 0%,
      rgba(244,239,231,0.74) 48%,
      rgba(244,239,231,0.28) 78%,
      rgba(244,239,231,0.08) 100%
    ) !important;
}

html[data-theme="light"] #stacked-features .stack-visual img {
  opacity: 0.34 !important;
  mix-blend-mode: multiply !important;
}

/* Mobile */
@media (max-width: 920px) {
  #stacked-features .stack-card {
    padding: 34px 28px 185px !important;
    min-height: auto !important;
  }

  #stacked-features .stack-content {
    max-width: 100% !important;
  }

  #stacked-features .stack-visual {
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;

    width: 100% !important;
    height: 185px !important;
  }

  #stacked-features .stack-visual img {
    width: 100% !important;
    height: 100% !important;
    transform: translateX(0) scale(1.04) !important;
    object-position: center center !important;
  }

  #stacked-features .stack-card::after {
    background:
      linear-gradient(
        180deg,
        rgba(18,18,18,0.94) 0%,
        rgba(18,18,18,0.74) 58%,
        rgba(18,18,18,0.24) 100%
      ) !important;
  }
}

@media (max-width: 520px) {
  #stacked-features .stack-card {
    padding: 28px 24px 160px !important;
  }

  #stacked-features .stack-visual {
    height: 160px !important;
  }
}
/* =====================================================
   FINAL FIX: STACK IMAGES ALWAYS IN HOVER STATE
   يخلي صورة كرت stack تظهر بنفس قوة التأشير طول الوقت
===================================================== */

#stacked-features .stack-visual img {
  opacity: 0.62 !important;
  transform: translateX(5%) scale(1.08) !important;

  filter:
    contrast(1.14)
    saturate(1.2)
    brightness(1.12)
    drop-shadow(0 0 44px rgba(127, 255, 212, 0.24)) !important;
}

#stacked-features .stack-visual::before {
  opacity: 1 !important;

  background:
    radial-gradient(
      circle at 82% 50%,
      rgba(127, 255, 212, 0.17),
      rgba(110, 168, 255, 0.08) 42%,
      transparent 74%
    ) !important;
}

#stacked-features .stack-card:hover .stack-visual img {
  opacity: 0.62 !important;
  transform: translateX(5%) scale(1.08) !important;

  filter:
    contrast(1.14)
    saturate(1.2)
    brightness(1.12)
    drop-shadow(0 0 44px rgba(127, 255, 212, 0.24)) !important;
}
/* Light mode — صور stack cards دايماً واضحة */
html[data-theme="light"] #stacked-features .stack-visual img {
  opacity: 0.62 !important;
  transform: translateX(5%) scale(1.08) !important;
  mix-blend-mode: multiply !important;
  filter:
    contrast(1.14)
    saturate(1.2)
    brightness(1.12)
    drop-shadow(0 0 44px rgba(45, 95, 208, 0.24)) !important;
}
/* =====================================================
   LIMNR — RESPONSIVE FIX
   أضف هذا الملف بعد limnr.css في الـ HTML هكذا:
   <link href="./limnr.css" rel="stylesheet"/>
   <link href="./responsive-fix.css" rel="stylesheet"/>
===================================================== */


/* =====================================================
   FIX 1: Stack cards تشتغل حتى 920px
   المشكلة: كانت تنكسر عند 1180px (حجم لابتوب صغير)
===================================================== */

@media (min-width: 921px) {
  .stack-card   { position: sticky !important; }
  .stack-card-1 { top: 120px !important; }
  .stack-card-2 { top: 138px !important; }
  .stack-card-3 { top: 156px !important; }
  .stack-card-4 { top: 174px !important; }

  .stack-container {
    grid-template-columns: 0.9fr 1.25fr !important;
    gap: 70px !important;
  }

  .stack-left {
    position: sticky !important;
    top: 130px !important;
  }

  #stacked-features .stack-content {
    max-width: 52% !important;
  }

  #stacked-features .stack-visual {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 48% !important;
    height: 100% !important;
  }
}


/* =====================================================
   FIX 2: لابتوبات اللمس (pointer: coarse)
   المشكلة: كانت تُعامَل كموبايل وتُلغى الأنيميشنات
===================================================== */

@media (pointer: coarse) and (min-width: 921px) {

  /* إعادة تشغيل حركات الكروت على لابتوبات اللمس */
  .card {
    animation: cardBreath 12s ease-in-out infinite !important;
  }

  .stack-visual img {
    animation: stackLogoFloat 6s ease-in-out infinite !important;
  }

  .secure-contact-icon {
    animation: contactIconPulse 4.5s ease-in-out infinite !important;
  }

  .hero-core {
    animation: heroCoreIdle 8s ease-in-out infinite !important;
  }

  .map-point.is-active::after {
    animation: mapPulse 1.4s ease-out infinite !important;
  }

  /* إعادة تشغيل تأثير hover على الكروت */
  .card:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(110, 168, 255, 0.34) !important;
  }

  .stat-card:hover {
    transform: translateY(-8px) scale(1.03) !important;
  }
}


/* =====================================================
   FIX 3: أداء أفضل على GPU ضعيف (لابتوب متوسط)
   نقلل عدد الأنيميشنات المتزامنة
===================================================== */

@media (max-width: 1366px) and (min-width: 921px) {

  /* نخفف الـ space orbs لأنها مكلفة على GPU */
  .space-orb {
    filter: blur(60px) !important;
    opacity: 0.12 !important;
    animation-duration: 30s !important;
  }

  /* نوقف star field على اللابتوب الصغير لأنه لا يُضيف كثيراً */
  .star-field {
    animation-duration: 120s !important;
    opacity: 0.07 !important;
  }

  /* نخفف الـ scan vignette */
  .scan-vignette {
    animation-duration: 14s !important;
    opacity: 0.3 !important;
  }

  /* نحسن GPU acceleration للعناصر المتحركة */
  .hero-core,
  .core-ring,
  .core-orbit,
  .stack-visual img,
  .space-orb,
  .card {
    will-change: transform !important;
    transform: translateZ(0);
  }

  /* نقلل blur effect على الكروت لأنه مكلف */
  .card,
  .panel,
  .stat-card,
  .stack-card,
  .secure-contact-card {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }
}


/* =====================================================
   FIX 4: شاشات 1024-1180px تحديداً
   نضبط التصميم العمودي للـ stack بشكل أجمل
===================================================== */

@media (max-width: 1180px) and (min-width: 921px) {

  .stack-left h2 {
    font-size: clamp(36px, 4.5vw, 58px) !important;
  }

  .stack-left p {
    font-size: 15px !important;
  }

  #stacked-features .stack-card {
    min-height: 280px !important;
    padding: 38px 36px !important;
  }

  #stacked-features .stack-content h3 {
    font-size: clamp(24px, 3vw, 36px) !important;
  }

  #stacked-features .stack-content p {
    font-size: 15px !important;
  }
}


/* =====================================================
   FIX 5: Hero core أخف على اللابتوب
===================================================== */

@media (max-width: 1366px) and (min-width: 921px) {

  .hero-core {
    width: min(220px, 48vw) !important;
    height: min(220px, 48vw) !important;
  }

  /* نوقف 2 من حلقات الـ hero core لتخفيف الحمل */
  .core-ring-2 {
    display: none !important;
  }

  .orbit-b {
    display: none !important;
  }
}
/* =====================================================
   LIMNR — RESPONSIVE FIX v2
   أضف هذا الملف بعد limnr.css في الـ HTML:
   <link href="./limnr.css" rel="stylesheet"/>
   <link href="./responsive-fix.css" rel="stylesheet"/>
===================================================== */


/* =====================================================
   FIX 1: Hero Core — تشتغل على كل الشاشات بدون استثناء
===================================================== */

.hero-core,
.core-ring,
.core-ring-1,
.core-ring-2,
.core-ring-3,
.core-orbit,
.orbit-a,
.orbit-b,
.core-scan,
.core-center {
  visibility: visible !important;
  animation-play-state: running !important;
}

.core-orbit,
.core-orbit span {
  display: block !important;
}

.core-ring-2,
.orbit-b {
  display: block !important;
  opacity: 1 !important;
}


/* =====================================================
   FIX 2: Stack cards تشتغل حتى 920px
===================================================== */

@media (min-width: 921px) {
  .stack-card   { position: sticky !important; }
  .stack-card-1 { top: 120px !important; }
  .stack-card-2 { top: 138px !important; }
  .stack-card-3 { top: 156px !important; }
  .stack-card-4 { top: 174px !important; }

  .stack-container {
    grid-template-columns: 0.9fr 1.25fr !important;
    gap: 70px !important;
  }

  .stack-left {
    position: sticky !important;
    top: 130px !important;
  }

  #stacked-features .stack-content {
    max-width: 52% !important;
  }

  #stacked-features .stack-visual {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 48% !important;
    height: 100% !important;
  }
}


/* =====================================================
   FIX 3: لابتوبات اللمس تحصل على نفس الأنيميشنات
===================================================== */

@media (pointer: coarse) and (min-width: 921px) {

  .card {
    animation: cardBreath 12s ease-in-out infinite !important;
  }

  .stack-visual img {
    animation: stackLogoFloat 6s ease-in-out infinite !important;
  }

  .secure-contact-icon {
    animation: contactIconPulse 4.5s ease-in-out infinite !important;
  }

  .hero-core {
    animation: heroCoreIdle 8s ease-in-out infinite !important;
  }

  .map-point.is-active::after {
    animation: mapPulse 1.4s ease-out infinite !important;
  }

  .card:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(110, 168, 255, 0.34) !important;
  }

  .stat-card:hover {
    transform: translateY(-8px) scale(1.03) !important;
  }
}


/* =====================================================
   FIX 4: تحسين GPU — بدون إخفاء أي أنيميشن
===================================================== */

.space-orb {
  will-change: transform !important;
  animation-duration: 36s !important;
}

.star-field {
  will-change: transform !important;
  animation-duration: 100s !important;
}

.hero-core,
.core-ring,
.core-orbit,
.stack-visual img {
  will-change: transform !important;
  transform: translateZ(0);
}

.card,
.panel,
.stat-card,
.stack-card {
  will-change: transform, box-shadow !important;
}


/* =====================================================
   FIX 5: شاشات 1024-1180px
===================================================== */

@media (max-width: 1180px) and (min-width: 921px) {

  .stack-left h2 {
    font-size: clamp(36px, 4.5vw, 58px) !important;
  }

  .stack-left p {
    font-size: 15px !important;
  }

  #stacked-features .stack-card {
    min-height: 280px !important;
    padding: 38px 36px !important;
  }

  #stacked-features .stack-content h3 {
    font-size: clamp(24px, 3vw, 36px) !important;
  }

  #stacked-features .stack-content p {
    font-size: 15px !important;
  }
}


/* =====================================================
   FIX 6: منع تجاوز المحتوى للشاشة
===================================================== */

@media (max-width: 1280px) {

  .container {
    width: min(1100px, calc(100% - 40px)) !important;
  }

  .hero h1,
  .hero-title {
    font-size: clamp(44px, 5.5vw, 78px) !important;
  }

  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  }

  .threat-matrix-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  }

  .vault-steps {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}