:root {
  --bg: #041412;
  --bg-2: #071c19;
  --bg-3: #0b2622;
  --card: rgba(255, 255, 255, 0.05);
  --card-2: rgba(255, 255, 255, 0.07);
  --text: #f3fbf8;
  --muted: #b5c9c3;
  --muted-2: #7d948d;
  --line: rgba(255, 255, 255, 0.08);
  --primary: #7cffc8;
  --primary-2: #32e6a0;
  --primary-3: #caffea;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1240px;
  --transition: 0.3s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Offset anchored sections so they don't tuck under the sticky header */
section[id] {
  scroll-margin-top: 100px;
}

@media (max-width: 820px) {
  section[id] {
    scroll-margin-top: 84px;
  }
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 15%, rgba(124, 255, 200, 0.12), transparent 18%),
    radial-gradient(circle at 85% 12%, rgba(50, 230, 160, 0.1), transparent 18%),
    linear-gradient(180deg, #041210 0%, #071b19 45%, #041210 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

body[dir="rtl"] {
  font-family: "Tajawal", "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

body[dir="rtl"] .eyebrow {
  letter-spacing: 0.06em;
}

.eyebrow::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--primary), var(--primary-3));
  box-shadow: 0 0 24px rgba(124, 255, 200, 0.55);
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-lead {
  margin: 0;
  max-width: 780px;
  color: var(--muted);
  font-size: 1.03rem;
}

/* HEADER */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(4, 18, 16, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav {
  min-height: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
}

.logo img,
.logo-img {
  height: 72px;
  width: auto;
  max-width: 270px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  min-width: 56px;
  padding: 0 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.88rem;
}

/* RTL: flip the active-link underline direction */
body[dir="rtl"] .nav-links a.active::after,
body[dir="rtl"] .nav-links a:hover::after {
  background: linear-gradient(270deg, var(--primary), transparent);
}

/* RTL: use a dedicated forward animation that scrolls right */
/* (reverse used to start at -50%, which hid the first row of logos) */
body[dir="rtl"] .partners-track {
  animation-name: scrollPartnersRTL;
  animation-direction: normal;
}

@keyframes scrollPartnersRTL {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(50%);
  }
}

/* RTL: flip the section-link arrow */
body[dir="rtl"] .section-link span:last-child {
  display: inline-block;
  transform: scaleX(-1);
}

/* Arabic typography overrides live at end of file */

/* ============================================ */
/*  TECHNOLOGY VISUAL BOARD — RTL ADJUSTMENTS  */
/*  Keep dimensions consistent with English.    */
/*  Only the text inside cards needs Arabic     */
/*  typography compensation.                    */
/* ============================================ */

body[dir="rtl"] .stack-card {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

body[dir="rtl"] .glass-insight strong {
  line-height: 1.45;
}

body[dir="rtl"] .glass-insight span {
  line-height: 1.75;
}

/* Tighter on tablet/mobile */
@media (max-width: 768px) {
  body[dir="rtl"] .stack-card {
    font-size: 0.88rem;
  }
}

.btn,
.lang-toggle,
.menu-toggle {
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #03261b;
  box-shadow: 0 12px 30px rgba(50, 230, 160, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(50, 230, 160, 0.28);
}

.btn-secondary,
.lang-toggle,
.menu-toggle {
  background: rgba(255,255,255,0.03);
  border-color: rgba(124,255,200,0.18);
  color: var(--text);
}

.btn-secondary:hover,
.lang-toggle:hover,
.menu-toggle:hover {
  background: rgba(124,255,200,0.08);
}

.menu-toggle {
  display: none;
  width: 46px;
  padding: 0;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 72px;
}

.hero-copy {
  padding-right: 10px;
}

body[dir="rtl"] .hero-copy {
  padding-right: 0;
  padding-left: 10px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(620px, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(3rem, 5.6vw, 5rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
  max-width: 620px;
}

.hero-copy p {
  margin: 0;
  max-width: 600px;
  font-size: 1.08rem;
  color: var(--muted);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.note {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.note strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.2rem;
}

.note span {
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-visual {
  min-height: 640px;
  position: relative;
  display: flex;
  align-items: top;
  width: 100%;
  max-width: 740px;
  height: 670px;
  max-height: 80vw;
  justify-content: flex-end;
  margin-inline: auto;
}

.orbit-shell {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1 / 1;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(124,255,200,0.14);
  background:
    linear-gradient(180deg, rgba(124,255,200,0.08), rgba(255,255,255,0.02)),
    rgba(255,255,255,0.03);
  box-shadow: var(--shadow);
}

.orbit-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,255,200,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,255,200,0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 50%, transparent 100%);
}

.orbit-ring {
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(124,255,200,0.14);
  border-radius: 28px;
}

.orbit-ring.r2 { inset: 26%; }
.orbit-ring.r3 { inset: 36%; }

.square {
  position: absolute;
  border-radius: 10px;
  border: 1px solid rgba(124,255,200,0.18);
  background: rgba(124,255,200,0.07);
  box-shadow: 0 0 34px rgba(124,255,200,0.09);
  animation: float 8s ease-in-out infinite;
}

.s1 { width: 90px; height: 90px; top: 13%; left: 18%; }
.s2 { width: 140px; height: 140px; top: 24%; right: 12%; animation-delay: 1s; }
.s3 { width: 74px; height: 74px; bottom: 18%; left: 26%; animation-delay: 2s; }
.s4 { width: 120px; height: 120px; bottom: 13%; right: 22%; animation-delay: 3s; }
.s5 {
  width: 170px;
  height: 170px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, rgba(124,255,200,0.18), rgba(124,255,200,0.03));
  box-shadow: 0 0 54px rgba(124,255,200,0.18);
}

.glass-panel {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  border-radius: 22px;
  padding: 18px 20px;
  background: rgba(4, 18, 16, 0.7);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
}

.glass-panel strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 1.1rem;
}

.glass-panel span {
  color: var(--muted);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  background: var(--card-2);
  border-color: rgba(124,255,200,0.18);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-weight: 800;
  color: var(--primary);
  background: linear-gradient(180deg, rgba(124,255,200,0.18), rgba(124,255,200,0.05));
  border: 1px solid rgba(124,255,200,0.18);
}

.card h3,
.card h4 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

body[dir="rtl"] .card ul {
  padding-left: 0;
  padding-right: 18px;
}

.band {
  padding: 18px 0;
  border-block: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.025);
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.band-item {
  padding: 14px 12px;
  text-align: center;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.04);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.metric {
  border-radius: 20px;
  padding: 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.metric strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--primary);
}

.metric span {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
}

.step-no {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #03261b;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}


.quote-block {
  position: relative;
  padding: 48px 56px;
  border-radius: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(124,255,200,0.08);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

/* glow خلفي */
.quote-block::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -120px;
  right: -120px;

  background: radial-gradient(
    circle,
    rgba(124, 255, 200, 0.376),
    rgba(124, 255, 200, 0.578),
    transparent 70%
  );

  filter: blur(60px);
  opacity: 0.7;
  pointer-events: none;
}

/* glow ثاني */


.quote-block::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(124,255,200,0.8),
    transparent
  );
}

.quote-block p {
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  margin: 0 0 12px;
  line-height: 1.25;
}

.quote-block span {
  color: var(--muted);
}


.quote-icon {
  position: absolute;
  top: 18px;
  left: 26px;
  font-size: 70px;
  line-height: 1;
  color: rgba(124,255,200,0.12);
  font-weight: 800;
  pointer-events: none;
}


.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.contact-card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow);
}

.contact-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted-2);
  font-size: 0.92rem;
}

.form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.input,
.textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  transition: all var(--transition);
}

.input:focus,
.textarea:focus {
  border-color: rgba(124,255,200,0.3);
  background: rgba(255,255,255,0.05);
}

.textarea {
  min-height: 150px;
  resize: vertical;
}

.form-message {
  margin: 14px 0 0;
  min-height: 1.4em;
  font-size: 0.95rem;
  line-height: 1.55;
  transition: color 0.25s ease;
}

.footer {
  padding: 38px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 52px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-brand p {
  margin-top: 14px;
  margin-bottom: 0;
  max-width: 300px;
  line-height: 1.7;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer p,
.footer a {
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(124,255,200,0.15);
  color: var(--muted);
  transition: all var(--transition);
}

.social-link:hover {
  color: var(--primary);
  border-color: rgba(124,255,200,0.4);
  background: rgba(124,255,200,0.06);
}

.page-hero {
  padding: 86px 0 36px;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.page-hero p {
  margin: 0;
  max-width: 840px;
  color: var(--muted);
  font-size: 1.05rem;
}

.premium-panel {
  position: relative;
  padding: 34px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(124,255,200,0.14), rgba(50,230,160,0.05)),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(124,255,200,0.18);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.premium-panel::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  top: -70px;
  background: radial-gradient(circle, rgba(124,255,200,0.18), transparent 70%);
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.hide-mobile {
  display: inline-flex;
}

@media (max-width: 1100px) {
  .hero-grid,
  .contact-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .metrics,
  .footer-grid,
  .band-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-visual {
    min-height: 420px;
    height: auto;
    max-height: none;
    aspect-ratio: 1.1 / 1;
    justify-content: center;
  }

  .neuro-canvas-container {
    max-width: 100%;
    height: 420px;
  }

  .hero-copy h1,
  .hero-copy p {
    max-width: 100%;
  }

  .section {
    padding: 80px 0;
  }

  .band-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* iPad portrait / small tablets */
@media (max-width: 900px) {
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .band-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .quote-block {
    padding: 36px 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1020px) {
  .nav-links,
  .hide-mobile {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    padding: 18px;
    background: rgba(4, 18, 16, 0.96);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow);
  }

  .nav.open .nav-links a {
    width: 100%;
    padding: 8px 0;
  }

  .hero-grid,
  .contact-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .metrics,
  .band-grid,
  .form-row,
  .hero-notes {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero {
    padding-top: 64px;
    padding-bottom: 48px;
  }

  .hero-visual {
    min-height: 320px;
    aspect-ratio: auto;
    height: 360px;
  }

  .neuro-canvas-container {
    height: 340px;
  }

  .section {
    padding: 64px 0;
  }

  .section-sm {
    padding: 48px 0;
  }

  .page-hero {
    padding-top: 48px;
  }

  .step {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .quote-block {
    padding: 28px 22px;
  }

  .logo img,
  .logo-img {
    height: 48px;
    max-width: 160px;
  }

  .nav {
    min-height: 74px;
    height: 74px;
    gap: 10px;
  }

  .nav-actions {
    gap: 8px;
  }

  .btn,
  .lang-toggle,
  .menu-toggle {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.92rem;
  }

  .menu-toggle {
    width: 42px;
  }
}

/* Extra small phones */
@media (max-width: 480px) {
  .logo img,
  .logo-img {
    height: 42px;
    max-width: 140px;
  }

  .nav-actions .btn-primary {
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding: 56px 0 40px;
  }

  .section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .quote-block {
    padding: 32px 24px;
  }

  .quote-icon {
    font-size: 48px;
    top: 10px;
    left: 16px;
  }

  .premium-panel {
    padding: 24px;
  }
}


.neuro-canvas-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 560px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(124,255,200,0.10);
  background:
    radial-gradient(circle at center, rgba(124,255,200,0.08), transparent 58%),
    rgba(255,255,255,0.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

#neuroCanvas {
  width: 100%;
  height: 100%;
  display: block;
}


.partners-marquee {
  margin-top: 56px;
  overflow: hidden;
  position: relative;
  padding: 18px 0;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.partners-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: scrollPartners 34s linear infinite;
}

.partners-track:hover {
  animation-play-state: paused;
}

.partner-item {
  min-width: 220px;
  height: 110px;
  padding: 20px 26px;
  border-radius: 22px;
  background: #f3fbf8;
  border: 1px solid rgba(124, 255, 200, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.partner-item:hover {
  transform: translateY(-4px);
  background: rgba(207, 226, 217, 0.921);
  border-color: rgb(12, 155, 96);
}

.partner-item img {
  max-height: 64px;
  max-width: 170px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.92;
  filter: brightness(1.12) contrast(1.08);
  transition: all 0.3s ease;
}

.partner-item:hover img {
  opacity: 1;
  transform: scale(1.04);
}

@keyframes scrollPartners {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .partner-item {
    min-width: 180px;
    height: 92px;
    padding: 16px 18px;
  }

  .partner-item img {
    max-height: 50px;
    max-width: 130px;
  }
}

.about-intro {
  padding-top: 88px;
  padding-bottom: 54px;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  gap: 42px;
  align-items: center;
}

.about-copy .section-title {
  max-width: 760px;
}

.about-copy .section-lead {
  max-width: 700px;
}

.about-visual {
  display: flex;
  justify-content: flex-end;
}

.about-visual-panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 360px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(124,255,200,0.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02)),
    rgba(255,255,255,0.02);
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}

.about-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  right: -40px;
  top: -30px;
  background: radial-gradient(circle, rgba(124,255,200,0.18), transparent 70%);
  filter: blur(50px);
  opacity: 0.75;
}

.about-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,255,200,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,255,200,0.06) 1px, transparent 1px);
  background-size: 46px 46px;
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: center;
}

.about-story-text p {
  color: var(--muted);
  font-size: 1.03rem;
  margin-top: 0;
  margin-bottom: 18px;
  max-width: 820px;
}

.about-highlight-card {
  border-radius: 24px;
  padding: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow);
}

.about-highlight-card h3 {
  margin-top: 0;
  margin-bottom: 16px;
}

.about-highlight-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 12px;
}

body[dir="rtl"] .about-highlight-card ul {
  padding-left: 0;
  padding-right: 18px;
}

.about-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.about-value-card {
  border-radius: 24px;
  padding: 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow);
}

.about-value-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.6rem;
  line-height: 1.25;
}

.about-value-card p {
  margin: 0;
  color: var(--muted);
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.about-feature-card {
  border-radius: 22px;
  padding: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s ease;
}

.about-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,255,200,0.16);
  background: rgba(255,255,255,0.05);
}

.about-feature-card h4 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.about-feature-card p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 808px) {
  .about-intro-grid,
  .about-story-grid,
  .about-dual-grid,
  .about-feature-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    justify-content: center;
  }

  .about-visual-panel {
    max-width: 100%;
  }
}

.section-link-row {
  margin-top: 26px;
  display: flex;
  justify-content: flex-end;
}

body[dir="rtl"] .section-link-row {
  justify-content: flex-start;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(124,255,200,0.14);
  background: rgba(255,255,255,0.02);
  transition: all 0.3s ease;
}

.section-link:hover {
  transform: translateY(-2px);
  background: rgba(124,255,200,0.08);
  border-color: rgba(124,255,200,0.28);
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}

.section-link span {
  font-size: 1rem;
  line-height: 1;
}


/* =========================
   TECHNOLOGY PAGE
========================= */

.technology-page {
  background:
    radial-gradient(circle at 10% 10%, rgba(0,255,170,.06), transparent 18%),
    radial-gradient(circle at 90% 0%, rgba(0,190,255,.05), transparent 20%),
    #04110d;
}

/* HERO */

.tech-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 90px;
}

.tech-animated-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(115,255,215,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115,255,215,.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black 62%, transparent 100%);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: .2;
  animation: orbFloat 12s ease-in-out infinite;
}

.orb-a {
  width: 260px;
  height: 260px;
  top: 8%;
  left: 6%;
  background: rgba(83,255,212,.22);
}

.orb-b {
  width: 340px;
  height: 340px;
  top: 18%;
  right: 6%;
  background: rgba(0,180,255,.14);
  animation-delay: 2s;
}

.orb-c {
  width: 220px;
  height: 220px;
  bottom: 8%;
  left: 38%;
  background: rgba(83,255,212,.16);
  animation-delay: 4s;
}

.bg-beam {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(115,255,215,.35), transparent);
  animation: beamMove 9s linear infinite;
  opacity: .75;
}

.beam-a {
  width: 340px;
  top: 24%;
  left: -10%;
}

.beam-b {
  width: 280px;
  top: 52%;
  right: -8%;
  animation-delay: 2s;
}

.beam-c {
  width: 400px;
  bottom: 24%;
  left: 8%;
  animation-delay: 4s;
}

.tech-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  align-items: center;
}

.tech-hero-copy h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1.02;
  color: #effff9;
  max-width: 760px;
}

.tech-hero-copy p {
  color: rgba(230,245,238,.85);
  line-height: 1.9;
  max-width: 760px;
  margin-bottom: 14px;
  font-size: 1.03rem;
}

.tech-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.tech-hero-tags span,
.tag-cloud span,
.selection-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(115,255,215,.14);
  background: rgba(10,32,25,.8);
  color: #bbffe8;
  font-size: .92rem;
}

.tech-hero-visual {
  display: flex;
  justify-content: center;
}

.tech-visual-board {
  position: relative;
  width: 100%;
  max-width: 560px;
  min-height: 560px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(17,46,37,.92), rgba(8,22,17,.97)),
    rgba(5,16,12,.95);
  border: 1px solid rgba(115,255,215,.1);
  box-shadow:
    0 25px 70px rgba(0,0,0,.32),
    0 0 80px rgba(0,255,170,.06),
    inset 0 0 0 1px rgba(255,255,255,.02);
  padding: 38px 28px 120px;
}

.board-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(115,255,215,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115,255,215,.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

.stack-card {
  position: relative;
  z-index: 2;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16,42,34,.94), rgba(7,22,17,.98));
  border: 1px solid rgba(115,255,215,.08);
  color: #effff9;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.stack-card:hover {
  transform: translateY(-4px);
  border-color: rgba(115,255,215,.18);
  box-shadow: 0 18px 36px rgba(0,0,0,.22), 0 0 24px rgba(0,255,170,.08);
}

.sc-1 { width: 68%; }
.sc-2 { width: 78%; margin-top: 16px; margin-bottom: 16px; margin-inline-start: auto; }
.sc-3 { width: 86%; margin: 16px 0; }
.sc-4 { width: 100%; margin-top: 16px; margin-inline-start: auto; }

.stack-link {
  position: relative;
  z-index: 2;
  width: 2px;
  height: 26px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(115,255,215,.18), rgba(115,255,215,.7), rgba(115,255,215,.18));
}

.stack-pulse {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #76ffdb;
  box-shadow: 0 0 18px rgba(118,255,219,.95);
  z-index: 2;
  animation: pulseGlow 3s ease-in-out infinite;
}

.sp-1 { top: 18%; right: 18%; }
.sp-2 { top: 48%; left: 18%; animation-delay: 1s; }
.sp-3 { bottom: 24%; right: 24%; animation-delay: 2s; }

.glass-insight {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  padding: 26px;
  border-radius: 24px;
  background: rgba(3,15,11,.82);
  border: 1px solid rgba(115,255,215,.1);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  z-index: 3;
}

.glass-insight strong {
  display: block;
  color: #72ffd9;
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.glass-insight span {
  color: rgba(236,250,244,.88);
  line-height: 1.8;
}

/* STICKY NAV */

.tech-anchor-bar {
  position: sticky;
  top: 84px;
  z-index: 25;
  backdrop-filter: blur(10px);
  background: rgba(4,17,13,.72);
  border-top: 1px solid rgba(115,255,215,.05);
  border-bottom: 1px solid rgba(115,255,215,.05);
}

.tech-anchor-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0;
}

.tech-anchor-links a {
  text-decoration: none;
  color: rgba(220,238,231,.82);
  padding: 10px 14px;
  border-radius: 999px;
  transition: .25s ease;
}

.tech-anchor-links a:hover {
  color: #72ffd9;
  background: rgba(18,50,39,.82);
}

/* GENERIC */

.tech-section {
  position: relative;
}

.section-dark {
  background: linear-gradient(180deg, rgba(9,26,20,.7), rgba(6,18,14,.82));
  border-top: 1px solid rgba(115,255,215,.04);
  border-bottom: 1px solid rgba(115,255,215,.04);
}

.constraint-card,
.model-box,
.accel-panel,
.integration-panel,
.interactive-panel {
  background: linear-gradient(180deg, rgba(16,42,34,.9), rgba(7,22,17,.96));
  border: 1px solid rgba(115,255,215,.08);
  border-radius: 24px;
  box-shadow: 0 16px 45px rgba(0,0,0,.18);
}

/* CHALLENGE */

.constraint-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.constraint-card {
  padding: 24px 20px;
  min-height: 190px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.constraint-card:hover {
  transform: translateY(-6px);
  border-color: rgba(115,255,215,.16);
  box-shadow: 0 22px 50px rgba(0,0,0,.24), 0 0 30px rgba(0,255,170,.05);
}

.constraint-no,
.model-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(114,255,217,.1);
  color: #72ffd9;
  border: 1px solid rgba(114,255,217,.18);
  font-weight: 700;
  margin-bottom: 16px;
}

.info-card .card-detail {
  margin-top: 12px;
  color: rgba(232,248,241,.86);
  line-height: 1.75;
  opacity: 0;
  transform: translateY(10px);
  transition: .3s ease;
}

.info-card:hover .card-detail {
  opacity: 1;
  transform: translateY(0);
}

.statement-panel {
  margin-top: 24px;
  padding: 26px 28px;
  border-radius: 22px;
  background: rgba(9,28,21,.86);
  border-left: 4px solid #72ffd9;
  color: rgba(232,248,241,.9);
}

.statement-panel p {
  line-height: 1.9;
  margin-bottom: 10px;
}

.statement-panel strong {
  color: #effff9;
}

.statement-panel.compact {
  border-left: none;
  border: 1px solid rgba(115,255,215,.08);
  background: rgba(9,28,21,.8);
}

/* MODELS */
/* =========================
   MODELS SECTION - CLEAN HOVER
========================= */

.clean-models{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
  align-items: start;
}

.model-hover-card{
  position: relative;
  min-height: 190px;
  height: 190px;
  padding: 28px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(16,42,34,.94), rgba(7,22,17,.98));
  border: 1px solid rgba(115,255,215,.08);
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  transition:
    height .4s ease,
    transform .3s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}

.model-hover-card:hover{
  height: 600px;
  transform: translateY(-6px);
  border-color: rgba(115,255,215,.18);
  box-shadow:
    0 24px 55px rgba(0,0,0,.24),
    0 0 30px rgba(0,255,170,.05);
}

.model-card-head{
  position: relative;
  z-index: 2;
}

.model-chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(114,255,217,.1);
  color: #72ffd9;
  border: 1px solid rgba(114,255,217,.18);
  font-weight: 700;
  margin-bottom: 18px;
}

.model-hover-card h3{
  margin: 0;
  color: #effff9;
  font-size: 1.45rem;
  line-height: 1.3;
  max-width: 90%;
}

.model-card-body{
  margin-top: 22px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .34s ease, transform .34s ease;
  pointer-events: none;
  position: relative;
  z-index: 2;
}

.model-hover-card:hover .model-card-body{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.model-card-body p{
  margin: 0 0 14px;
  color: rgba(232,248,241,.88);
  line-height: 1.8;
  font-size: 1rem;
}

.model-hover-card::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 65%;
  background: linear-gradient(
    180deg,
    rgba(4,17,13,0),
    rgba(4,17,13,.96)
  );
  opacity: 0;
  transition: opacity .34s ease;
  pointer-events: none;
}

.model-hover-card:hover::after{
  opacity: 1;
}

.ann-card{
  background:
    radial-gradient(circle at top left, rgba(0,190,255,.06), transparent 22%),
    linear-gradient(180deg, rgba(16,42,34,.94), rgba(7,22,17,.98));
}

.snn-card{
  background:
    radial-gradient(circle at top right, rgba(114,255,217,.08), transparent 24%),
    linear-gradient(180deg, rgba(16,42,34,.94), rgba(7,22,17,.98));
}

/* =========================
   SNN CONTENT FORMAT
========================= */

.model-block{
  margin-top: 16px;
}

.model-block strong{
  display: block;
  color: #72ffd9;
  font-size: 0.95rem;
  margin-bottom: 10px;
  letter-spacing: .3px;
}

.model-block ul{
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.model-block li{
  color: rgba(232,248,241,.88);
  line-height: 1.7;
  font-size: 0.95rem;
}

.snn-card .tag-cloud{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.snn-card .tag-cloud span{
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(115,255,215,.14);
  background: rgba(10,32,25,.82);
  color: #bbffe8;
  font-size: .88rem;
}



@media (max-width: 980px){
  .clean-models{
    grid-template-columns: 1fr;
  }

  .model-hover-card{
    height: 180px;
    min-height: 180px;
  }

  .model-hover-card:hover{
    height: 540px;
  }
}
/* ACCELERATION */

.accel-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 30px;
}

.accel-panel {
  padding: 28px;
}

.accel-panel h3,
.integration-panel h3 {
  color: #effff9;
  margin-bottom: 12px;
}

.tech-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: rgba(224,240,234,.84);
  line-height: 1.9;
}





/* INTEGRATION */

.integration-interactive {
  position: relative;
  margin-top: 34px;
  padding: 34px 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(16,42,34,.88), rgba(7,22,17,.95));
  border: 1px solid rgba(115,255,215,.08);
  overflow: hidden;
}

.integration-track {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(115,255,215,.08), rgba(115,255,215,.45), rgba(115,255,215,.08));
}

.integration-interactive::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(115,255,215,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115,255,215,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .4;
  pointer-events: none;
}

.integration-step {
  position: relative;
  z-index: 2;
  width: 25%;
  float: left;
  padding: 0 10px;
}

.step-dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #72ffd9;
  margin: 0 auto 18px;
  box-shadow: 0 0 18px rgba(114,255,217,.95);
}

.step-box {
  background: linear-gradient(180deg, rgba(16,42,34,.96), rgba(7,22,17,.98));
  border: 1px solid rgba(115,255,215,.08);
  border-radius: 20px;
  padding: 20px 18px;
  min-height: 170px;
  text-align: center;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.step-box h3 {
  color: #effff9;
  margin-bottom: 10px;
}

.step-box p {
  color: rgba(220,237,231,.82);
  line-height: 1.75;
  margin: 0;
}

.integration-step:hover .step-box {
  transform: translateY(-8px);
  border-color: rgba(115,255,215,.18);
  box-shadow: 0 18px 36px rgba(0,0,0,.2), 0 0 22px rgba(0,255,170,.06);
}

.signal-runner {
  position: absolute;
  top: 50%;
  left: 8%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #9bffe2;
  box-shadow: 0 0 24px rgba(155,255,226,.95);
  animation: signalRun 6s linear infinite;
}

.integration-interactive::after {
  content: "";
  display: block;
  clear: both;
}

.integration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 28px;
}

.integration-panel {
  padding: 28px;
}

/* RESEARCH */

.research-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 3px;
}

.clean-hover-card {
  position: relative;
  min-height: 20px;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(16,42,34,.9), rgba(7,22,17,.96));
  border: 1px solid rgba(115,255,215,.08);
  box-shadow: 0 16px 45px rgba(0,0,0,.18);
  transition: transform .25s ease, border-color .25s ease;
}

.clean-hover-card:hover {
  transform: translateY(-6px);
  border-color: rgba(115,255,215,.16);
}

.research-front {
  padding: 26px 22px;
  transition: .35s ease;
}

.research-front {
  position: relative;
  z-index: 2;
}

.research-front h3 {
  color: #effff9;
  margin: 0;
  line-height: 1.4;
}






/* CTA */

.premium-panel {
  background:
    radial-gradient(circle at top right, rgba(0,255,170,.08), transparent 22%),
    linear-gradient(90deg, rgba(22,58,47,.9), rgba(5,19,15,.98));
  border: 1px solid rgba(115,255,215,.12);
  border-radius: 40px;
  padding: 52px;
  box-shadow: 0 30px 80px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.02);
}

.premium-panel .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.premium-panel .eyebrow::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #9bffd9;
  display: inline-block;
}

/* ANIMATION */

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-18px) translateX(12px); }
}

@keyframes beamMove {
  0% { transform: translateX(0); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(140px); opacity: 0; }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.2); opacity: 1; }
}

@keyframes signalRun {
  0% { left: 8%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: 92%; opacity: 0; }
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .tech-hero-grid,
  .model-compare,
  .accel-layout,
  .integration-grid {
    grid-template-columns: 1fr;
  }

  .constraint-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .research-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .integration-step {
    width: 50%;
    margin-bottom: 18px;
  }

  .integration-track,
  .signal-runner {
    display: none;
  }
}

@media (max-width: 768px) {
  .tech-hero {
    padding: 128px 0 70px;
  }

  .tech-anchor-bar {
    top: 72px;
  }

  .constraint-grid,
  .research-cards {
    grid-template-columns: 1fr;
  }

  .tech-hero-copy h1 {
    font-size: 2.3rem;
  }

  .tech-visual-board {
    min-height: 420px;
    padding: 28px 18px 110px;
  }

  .glass-insight {
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 20px;
  }

  .integration-step {
    width: 100%;
    float: none;
    padding: 0;
    margin-bottom: 16px;
  }

  .premium-panel {
    padding: 34px 24px;
    border-radius: 28px;
  }
}



/* =========================
   HERO SECTION
========================= */

.tech-hero{
  position: relative;
  overflow: hidden;
  padding: 170px 0 110px;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(0,255,170,0.06), transparent 24%),
    radial-gradient(circle at top right, rgba(0,180,255,0.05), transparent 22%),
    linear-gradient(180deg, #03110d 0%, #041611 100%);
}

.tech-animated-bg{
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* grid */
.bg-grid{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108,255,214,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,255,214,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.9;
  animation: gridDrift 18s linear infinite;
  mask-image: radial-gradient(circle at center, black 62%, transparent 100%);
}

/* orbs */
.bg-orb{
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.18;
  mix-blend-mode: screen;
  animation: orbFloat 12s ease-in-out infinite;
}

.orb-a{
  width: 320px;
  height: 320px;
  top: 4%;
  left: 4%;
  background: rgba(88,255,214,0.28);
}

.orb-b{
  width: 420px;
  height: 420px;
  top: 12%;
  right: 3%;
  background: rgba(0,190,255,0.16);
  animation-delay: 2s;
}

.orb-c{
  width: 300px;
  height: 300px;
  bottom: 0%;
  left: 38%;
  background: rgba(88,255,214,0.18);
  animation-delay: 4s;
}

/* moving beams */
.bg-beam{
  position: absolute;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(108,255,214,0.55),
    transparent
  );
  box-shadow: 0 0 18px rgba(108,255,214,0.2);
  opacity: 0.85;
  animation: beamMove 9s linear infinite;
}

.beam-a{
  width: 360px;
  top: 24%;
  left: -12%;
}

.beam-b{
  width: 280px;
  top: 52%;
  right: -10%;
  animation-delay: 2.5s;
}

.beam-c{
  width: 420px;
  bottom: 22%;
  left: 6%;
  animation-delay: 4.5s;
}

/* extra glow layer */
.tech-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(108,255,214,0.08), transparent 18%),
    radial-gradient(circle at 80% 20%, rgba(108,255,214,0.05), transparent 22%),
    radial-gradient(circle at 50% 80%, rgba(0,190,255,0.04), transparent 20%);
  z-index: 0;
  animation: glowShift 12s ease-in-out infinite;
}

/* make content above background */
.tech-hero-grid{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.tech-hero-copy{
  position: relative;
  z-index: 2;
}

.tech-hero-copy h1{
  margin: 14px 0 18px;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.98;
  color: #effff9;
  max-width: 760px;
}

.tech-hero-copy p{
  color: rgba(228,244,237,0.85);
  line-height: 1.9;
  max-width: 760px;
  margin-bottom: 14px;
  font-size: 1.05rem;
}

/* animations */
@keyframes orbFloat{
  0%, 100%{
    transform: translate3d(0,0,0) scale(1);
  }
  50%{
    transform: translate3d(18px,-20px,0) scale(1.06);
  }
}

@keyframes beamMove{
  0%{
    transform: translateX(0);
    opacity: 0;
  }
  15%{
    opacity: 1;
  }
  85%{
    opacity: 1;
  }
  100%{
    transform: translateX(180px);
    opacity: 0;
  }
}

@keyframes glowShift{
  0%,100%{
    transform: translate3d(0,0,0);
    opacity: 1;
  }
  50%{
    transform: translate3d(0,-10px,0);
    opacity: 0.9;
  }
}

@keyframes gridDrift{
  0%{
    transform: translate3d(0,0,0);
  }
  100%{
    transform: translate3d(0,18px,0);
  }
}

/* responsive */
@media (max-width: 1100px){
  .tech-hero-grid{
    grid-template-columns: 1fr;
  }

  .tech-hero{
    min-height: auto;
    padding: 140px 0 80px;
  }
}

@media (max-width: 768px){
  .tech-hero-copy h1{
    font-size: 2.5rem;
  }

  .bg-grid{
    background-size: 40px 40px;
  }
}


/* =========================
   TECHNOLOGY HERO CLEAN
========================= */

.technology-page {
  background:
    radial-gradient(circle at 10% 10%, rgba(0,255,170,.06), transparent 18%),
    radial-gradient(circle at 90% 0%, rgba(0,190,255,.05), transparent 20%),
    #04110d;
}

.tech-hero {
  position: relative;
  overflow: hidden;
  padding: 170px 0 110px;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(0,255,170,0.06), transparent 24%),
    radial-gradient(circle at top right, rgba(0,180,255,0.05), transparent 22%),
    linear-gradient(180deg, #03110d 0%, #041611 100%);
}

.tech-animated-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  position: absolute;
  inset: -40px;
  background-image:
    linear-gradient(rgba(108,255,214,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,255,214,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: gridMove 8s linear infinite;
  mask-image: radial-gradient(circle at center, black 62%, transparent 100%);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.32;
  mix-blend-mode: screen;
}

.orb-a {
  width: 260px;
  height: 260px;
  top: 5%;
  left: 5%;
  background: rgba(88,255,214,0.30);
  animation: orbMoveA 7s ease-in-out infinite;
}

.orb-b {
  width: 360px;
  height: 360px;
  top: 10%;
  right: 5%;
  background: rgba(0,190,255,0.18);
  animation: orbMoveB 9s ease-in-out infinite;
}

.orb-c {
  width: 260px;
  height: 260px;
  bottom: 0%;
  left: 35%;
  background: rgba(88,255,214,0.22);
  animation: orbMoveC 8s ease-in-out infinite;
}

.bg-beam {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(108,255,214,0.9), transparent);
  box-shadow: 0 0 16px rgba(108,255,214,0.35);
}

.beam-a {
  width: 320px;
  top: 24%;
  left: -320px;
  animation: beamSlideA 6s linear infinite;
}

.beam-b {
  width: 260px;
  top: 50%;
  right: -260px;
  animation: beamSlideB 7s linear infinite;
}

.beam-c {
  width: 380px;
  bottom: 20%;
  left: -380px;
  animation: beamSlideC 8s linear infinite;
}

.tech-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.tech-hero-copy {
  position: relative;
  z-index: 2;
}

.tech-hero-copy h1 {
  margin: 14px 0 18px;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  line-height: 1.05;
  color: #effff9;
  max-width: 620px;
  letter-spacing: -0.02em;
}

.tech-hero-copy p {
  color: rgba(228,244,237,0.85);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.tech-hero-visual {
  display: flex;
  justify-content: center;
}

.tech-visual-board {
  position: relative;
  width: 100%;
  max-width: 560px;
  min-height: 680px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(17,46,37,.92), rgba(8,22,17,.97)),
    rgba(5,16,12,.95);
  border: 1px solid rgba(115,255,215,.1);
  box-shadow:
    0 25px 70px rgba(0,0,0,.32),
    0 0 80px rgba(0,255,170,.06),
    inset 0 0 0 1px rgba(255,255,255,.02);
  padding: 38px 28px 220px;
}

.board-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(115,255,215,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115,255,215,.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

.stack-card {
  position: relative;
  z-index: 2;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16,42,34,.94), rgba(7,22,17,.98));
  border: 1px solid rgba(115,255,215,.08);
  color: #effff9;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}

.sc-1 { width: 68%; }
.sc-2 { width: 78%; margin-top: 16px; margin-bottom: 16px; margin-inline-start: auto; }
.sc-3 { width: 86%; margin: 16px 0; }
.sc-4 { width: 100%; margin-top: 16px; margin-inline-start: auto; }

.stack-link {
  position: relative;
  z-index: 2;
  width: 2px;
  height: 26px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(115,255,215,.18), rgba(115,255,215,.7), rgba(115,255,215,.18));
}

.stack-pulse {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #76ffdb;
  box-shadow: 0 0 18px rgba(118,255,219,.95);
  z-index: 2;
  animation: pulseGlow 3s ease-in-out infinite;
}

.sp-1 { top: 18%; right: 18%; }
.sp-2 { top: 48%; left: 18%; animation-delay: 1s; }
.sp-3 { bottom: 24%; right: 24%; animation-delay: 2s; }

.glass-insight {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  padding: 26px;
  border-radius: 24px;
  background: rgba(3,15,11,.82);
  border: 1px solid rgba(115,255,215,.1);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  z-index: 3;
}

.glass-insight strong {
  display: block;
  color: #72ffd9;
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.glass-insight span {
  color: rgba(236,250,244,.88);
  line-height: 1.8;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(0, 56px); }
}

@keyframes orbMoveA {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(80px, -30px) scale(1.08); }
}

@keyframes orbMoveB {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-100px, 40px) scale(1.06); }
}

@keyframes orbMoveC {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(60px, -50px) scale(1.1); }
}

@keyframes beamSlideA {
  0% { left: -320px; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 110%; opacity: 0; }
}

@keyframes beamSlideB {
  0% { right: -260px; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { right: 110%; opacity: 0; }
}

@keyframes beamSlideC {
  0% { left: -380px; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 110%; opacity: 0; }
}

@keyframes pulseGlow {
  0%,100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.2); opacity: 1; }
}

@media (max-width: 1100px) {
  .tech-hero-grid {
    grid-template-columns: 1fr;
  }

  .tech-hero {
    min-height: auto;
    padding: 140px 0 80px;
  }
}

@media (max-width: 768px) {
  .tech-hero-copy h1 {
    font-size: 2.5rem;
  }

  .bg-grid {
    background-size: 40px 40px;
  }

  .tech-visual-board {
    min-height: 420px;
    padding: 28px 18px 110px;
  }

  .glass-insight {
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 20px;
  }
}

/* =========================
   SOLUTIONS HERO
========================= */

.solutions-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 95px;
  background:
    radial-gradient(circle at 12% 14%, rgba(124,255,200,0.08), transparent 20%),
    radial-gradient(circle at 88% 10%, rgba(0,180,255,0.07), transparent 22%),
    linear-gradient(180deg, #041210 0%, #071b19 52%, #041210 100%);
}

.solutions-animated-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.solutions-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.solutions-hero h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.02;
  color: #effff9;
  letter-spacing: -0.04em;
}

.solutions-hero p {
  margin: 0;
  max-width: 760px;
  color: rgba(230,245,238,0.85);
  line-height: 1.9;
  font-size: 1.05rem;
}

/* extra solution-specific shapes */
.solutions-shape {
  position: absolute;
  border: 1px solid rgba(115,255,215,0.12);
  background: linear-gradient(180deg, rgba(115,255,215,0.06), rgba(255,255,255,0.015));
  box-shadow: 0 0 35px rgba(115,255,215,0.06);
  backdrop-filter: blur(6px);
}

.shape-1 {
  width: 170px;
  height: 170px;
  border-radius: 28px;
  top: 18%;
  right: 14%;
  transform: rotate(12deg);
  animation: solutionFloat 8s ease-in-out infinite;
}

.shape-2 {
  width: 110px;
  height: 110px;
  border-radius: 22px;
  bottom: 18%;
  right: 24%;
  transform: rotate(-14deg);
  animation: solutionFloat 9s ease-in-out infinite 1.4s;
}

.shape-3 {
  width: 210px;
  height: 210px;
  border-radius: 32px;
  bottom: 10%;
  left: 8%;
  transform: rotate(8deg);
  animation: solutionFloat 10s ease-in-out infinite 2.2s;
  opacity: 0.9;
}

@keyframes solutionFloat {
  0%, 100% {
    transform: translateY(0) rotate(10deg);
  }
  50% {
    transform: translateY(-14px) rotate(14deg);
  }
}

@media (max-width: 820px) {
  .solutions-hero {
    padding: 120px 0 78px;
  }

  .solutions-hero h1 {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }

  .solutions-hero p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .shape-1,
  .shape-2,
  .shape-3 {
    opacity: 0.45;
  }
}

/* =========================
   INDUSTRIES HERO
========================= */

.industries-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 95px;
  background:
    radial-gradient(circle at 10% 12%, rgba(124,255,200,0.07), transparent 20%),
    radial-gradient(circle at 88% 8%, rgba(0,180,255,0.06), transparent 22%),
    linear-gradient(180deg, #041210 0%, #071b19 52%, #041210 100%);
}

.industries-animated-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.industries-hero-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
}

.industries-hero h1 {
  margin: 12px 0 0;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.02;
  color: #effff9;
  letter-spacing: -0.04em;
}

/* network-inspired visuals for industries */

.industry-node {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(115,255,215,0.18);
  background:
    radial-gradient(circle at 35% 35%, rgba(124,255,200,0.28), rgba(124,255,200,0.05));
  box-shadow:
    0 0 24px rgba(115,255,215,0.10),
    0 0 60px rgba(0,180,255,0.06);
  animation: nodePulse 6s ease-in-out infinite;
}

.node-1 {
  width: 110px;
  height: 110px;
  top: 20%;
  right: 14%;
}

.node-2 {
  width: 70px;
  height: 70px;
  top: 46%;
  right: 28%;
  animation-delay: 1.4s;
}

.node-3 {
  width: 150px;
  height: 150px;
  bottom: 12%;
  left: 10%;
  animation-delay: 2.1s;
}

.node-4 {
  width: 82px;
  height: 82px;
  bottom: 24%;
  left: 34%;
  animation-delay: 3s;
}

.industry-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(115,255,215,0.22), transparent);
  transform-origin: left center;
  opacity: 0.7;
}

.line-1 {
  width: 260px;
  top: 30%;
  right: 20%;
  transform: rotate(-24deg);
}

.line-2 {
  width: 320px;
  bottom: 24%;
  left: 16%;
  transform: rotate(18deg);
}

.line-3 {
  width: 220px;
  top: 56%;
  left: 24%;
  transform: rotate(-12deg);
}

@keyframes nodePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@media (max-width: 820px) {
  .industries-hero {
    padding: 120px 0 78px;
  }

  .industries-hero h1 {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }

  .industry-node {
    opacity: 0.5;
  }

  .industry-line {
    opacity: 0.35;
  }
}


/* =========================
   ABOUT HERO
========================= */

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 95px;
  background:
    radial-gradient(circle at 10% 10%, rgba(124,255,200,0.08), transparent 20%),
    radial-gradient(circle at 88% 12%, rgba(0,180,255,0.06), transparent 24%),
    linear-gradient(180deg, #041210 0%, #071b19 52%, #041210 100%);
}

.about-animated-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.about-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: center;
}

.about-hero-copy h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.02;
  color: #effff9;
  letter-spacing: -0.04em;
  max-width: 560px;
}

.about-hero-copy p {
  margin: 0;
  max-width: 560px;
  color: rgba(230,245,238,0.86);
  line-height: 1.9;
  font-size: 1.05rem;
}

.about-hero-panel {
  position: relative;
  padding: 30px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025)),
    rgba(7, 28, 25, 0.72);
  border: 1px solid rgba(124,255,200,0.14);
  box-shadow: 0 24px 70px rgba(0,0,0,0.30);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.about-hero-panel::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -80px;
  right: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,255,200,0.18), transparent 72%);
  pointer-events: none;
}

.about-panel-label {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.about-defines-list {
  display: grid;
  gap: 14px;
}

.about-define-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: #effff9;
  transition: all 0.3s ease;
}

.about-define-item:hover {
  transform: translateY(-2px);
  border-color: rgba(124,255,200,0.22);
  background: rgba(124,255,200,0.06);
}

.define-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 18px rgba(124,255,200,0.45);
}

/* neural-network inspired layer */

.neural-web {
  position: absolute;
  inset: 0;
}

.neural-node {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(124,255,200,0.9), rgba(124,255,200,0.18));
  border: 1px solid rgba(124,255,200,0.18);
  box-shadow:
    0 0 18px rgba(124,255,200,0.20),
    0 0 48px rgba(0,180,255,0.08);
  animation: neuralPulse 5.5s ease-in-out infinite;
}

.n1 { width: 18px; height: 18px; top: 18%; right: 18%; }
.n2 { width: 12px; height: 12px; top: 30%; right: 28%; animation-delay: .8s; }
.n3 { width: 16px; height: 16px; top: 42%; right: 12%; animation-delay: 1.5s; }
.n4 { width: 14px; height: 14px; bottom: 28%; left: 16%; animation-delay: 1s; }
.n5 { width: 20px; height: 20px; bottom: 18%; left: 28%; animation-delay: 2s; }
.n6 { width: 11px; height: 11px; bottom: 38%; left: 36%; animation-delay: 2.8s; }

.neural-link {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,255,200,0.24), transparent);
  opacity: 0.8;
  transform-origin: left center;
}

.l1 {
  width: 180px;
  top: 24%;
  right: 18%;
  transform: rotate(28deg);
}

.l2 {
  width: 130px;
  top: 36%;
  right: 20%;
  transform: rotate(-18deg);
}

.l3 {
  width: 210px;
  bottom: 24%;
  left: 18%;
  transform: rotate(14deg);
}

.l4 {
  width: 160px;
  bottom: 32%;
  left: 24%;
  transform: rotate(-22deg);
}

.l5 {
  width: 240px;
  top: 54%;
  left: 18%;
  transform: rotate(-8deg);
}

@keyframes neuralPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.88;
  }
  50% {
    transform: scale(1.16);
    opacity: 1;
  }
}

@media (max-width: 808px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-hero-panel {
    max-width: 760px;
  }
}

@media (max-width: 820px) {
  .about-hero {
    padding: 120px 0 78px;
  }

  .about-hero-copy h1 {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }

  .about-hero-copy p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .about-hero-panel {
    padding: 24px;
    border-radius: 24px;
  }

  .about-define-item {
    padding: 13px 14px;
  }

  .neural-link {
    opacity: 0.35;
  }

  .neural-node {
    opacity: 0.55;
  }
}
/* =========================
   ABOUT STORY VISUAL
========================= */

.about-story-visual {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}

.story-neuro-panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: 520px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(124,255,200,0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    rgba(6, 24, 21, 0.82);
  box-shadow: 0 24px 70px rgba(0,0,0,0.30);
  backdrop-filter: blur(14px);
}

.story-neuro-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,255,200,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,255,200,0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 58%, transparent 100%);
}

.story-neuro-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124,255,200,0.16), transparent 70%);
  filter: blur(26px);
  opacity: 0.85;
}

.story-core {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 160px;
  height: 160px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
}

.core-chip {
  position: relative;
  z-index: 3;
  width: 84px;
  height: 84px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: #03261b;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow:
    0 0 30px rgba(124,255,200,0.25),
    0 0 60px rgba(50,230,160,0.15);
}

.core-ring {
  position: absolute;
  inset: 50%;
  border-radius: 50%;
  border: 1px solid rgba(124,255,200,0.14);
  transform: translate(-50%, -50%);
  animation: ringPulse 6s ease-in-out infinite;
}

.ring-1 {
  width: 120px;
  height: 120px;
}

.ring-2 {
  width: 180px;
  height: 180px;
  animation-delay: 1s;
}

.ring-3 {
  width: 250px;
  height: 250px;
  animation-delay: 2s;
}

.story-node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(124,255,200,0.95), rgba(124,255,200,0.18));
  border: 1px solid rgba(124,255,200,0.2);
  box-shadow:
    0 0 16px rgba(124,255,200,0.18),
    0 0 40px rgba(0,180,255,0.08);
  animation: nodeBlink 5s ease-in-out infinite;
}

.sn-1 { top: 14%; left: 22%; }
.sn-2 { top: 20%; right: 22%; animation-delay: .6s; }
.sn-3 { top: 38%; left: 10%; animation-delay: 1.2s; }
.sn-4 { top: 42%; right: 10%; animation-delay: 1.8s; }
.sn-5 { bottom: 24%; left: 18%; animation-delay: 2.4s; }
.sn-6 { bottom: 18%; right: 20%; animation-delay: 3s; }
.sn-7 { bottom: 10%; left: 40%; animation-delay: 1.4s; }
.sn-8 { top: 10%; left: 46%; animation-delay: 2.1s; }

.story-link {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,255,200,0.24), transparent);
  opacity: 0.75;
  transform-origin: left center;
}

.sl-1 {
  width: 180px;
  top: 23%;
  left: 22%;
  transform: rotate(30deg);
}

.sl-2 {
  width: 165px;
  top: 24%;
  right: 22%;
  transform: rotate(150deg);
}

.sl-3 {
  width: 170px;
  top: 43%;
  left: 10%;
  transform: rotate(-12deg);
}

.sl-4 {
  width: 170px;
  top: 44%;
  right: 10%;
  transform: rotate(192deg);
}

.sl-5 {
  width: 180px;
  bottom: 24%;
  left: 18%;
  transform: rotate(-24deg);
}

.sl-6 {
  width: 180px;
  bottom: 20%;
  right: 20%;
  transform: rotate(206deg);
}

.story-floating-card {
  position: absolute;
  z-index: 3;
  min-width: 190px;
  max-width: 220px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(4,18,16,0.68);
  border: 1px solid rgba(124,255,200,0.12);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.18);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.story-floating-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
  font-size: 0.98rem;
}

.story-floating-card span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.card-a {
  top: 38px;
  right: 28px;
  animation: cardFloat 7s ease-in-out infinite;
}

.card-b {
  bottom: 34px;
  left: 28px;
  animation: cardFloat 8s ease-in-out infinite 1.2s;
}

.story-neuro-panel:hover .story-floating-card {
  transform: translateY(-6px);
  border-color: rgba(124,255,200,0.22);
  background: rgba(8, 28, 23, 0.82);
}

.story-neuro-panel:hover .core-chip {
  transform: scale(1.04);
}

@keyframes ringPulse {
  0%, 100% {
    opacity: 0.35;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@keyframes nodeBlink {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

@keyframes cardFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1100px) {
  .about-story-visual {
    justify-content: center;
  }

  .story-neuro-panel {
    max-width: 100%;
    min-height: 480px;
  }
}

@media (max-width: 820px) {
  .story-neuro-panel {
    min-height: 420px;
    border-radius: 24px;
  }

  .core-chip {
    width: 72px;
    height: 72px;
    font-size: 1.5rem;
    border-radius: 20px;
  }

  .ring-3 {
    width: 210px;
    height: 210px;
  }

  .story-floating-card {
    min-width: auto;
    max-width: 180px;
    padding: 12px 14px;
  }

  .card-a {
    top: 20px;
    right: 16px;
  }

  .card-b {
    left: 16px;
    bottom: 20px;
  }
}

/* PCB CHIP */

.pcb-chip {
  position: relative;
  z-index: 3;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(8, 38, 30, 0.98), rgba(5, 24, 19, 0.98));
  border: 1px solid rgba(124,255,200,0.22);
  box-shadow:
    0 0 30px rgba(124,255,200,0.18),
    inset 0 0 22px rgba(124,255,200,0.05);
  overflow: visible;
}

.chip-core {
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(124,255,200,0.18), rgba(50,230,160,0.05));
  border: 1px solid rgba(124,255,200,0.16);
  box-shadow: inset 0 0 18px rgba(124,255,200,0.08);
}

.chip-core::before,
.chip-core::after {
  content: "";
  position: absolute;
  background: rgba(124,255,200,0.14);
  border-radius: 999px;
}

.chip-core::before {
  width: 34px;
  height: 1px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.chip-core::after {
  width: 1px;
  height: 34px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.chip-pin {
  position: absolute;
  width: 14px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(124,255,200,0.18), rgba(124,255,200,0.6));
  box-shadow: 0 0 10px rgba(124,255,200,0.2);
}

/* top */
.pin-top-1 { top: -3px; left: 18px; transform: rotate(90deg); }
.pin-top-2 { top: -3px; left: 41px; transform: rotate(90deg); }
.pin-top-3 { top: -3px; left: 64px; transform: rotate(90deg); }

/* right */
.pin-right-1 { right: -5px; top: 20px; }
.pin-right-2 { right: -5px; top: 46px; }
.pin-right-3 { right: -5px; top: 72px; }

/* bottom */
.pin-bottom-1 { bottom: -3px; left: 18px; transform: rotate(90deg); }
.pin-bottom-2 { bottom: -3px; left: 41px; transform: rotate(90deg); }
.pin-bottom-3 { bottom: -3px; left: 64px; transform: rotate(90deg); }

/* left */
.pin-left-1 { left: -5px; top: 20px; }
.pin-left-2 { left: -5px; top: 46px; }
.pin-left-3 { left: -5px; top: 72px; }

.chip-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(124,255,200,0.45);
  animation: chipBlink 3.2s ease-in-out infinite;
}

.dot-1 { top: 26px; left: 26px; }
.dot-2 { top: 30px; right: 24px; animation-delay: .4s; }
.dot-3 { left: 50%; top: 50%; transform: translate(-50%, -50%); animation-delay: .9s; }
.dot-4 { bottom: 26px; left: 28px; animation-delay: 1.3s; }
.dot-5 { bottom: 24px; right: 26px; animation-delay: 1.8s; }

@keyframes chipBlink {
  0%, 100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

/* إذا عندك hover على اللوحة */
.story-neuro-panel:hover .pcb-chip {
  transform: scale(1.05);
  transition: transform 0.35s ease;
}

/* ==========================================================
   ARABIC TYPOGRAPHY OVERRIDES (end of file = highest priority)
   Arabic (Tajawal) is visually denser than Inter.
   Smaller sizes + more line-height + zero letter-spacing.
   Edit the clamp() values below to tune Arabic sizes.
   ========================================================== */

body[dir="rtl"] .hero-copy h1,
body[dir="rtl"] .tech-hero-copy h1,
body[dir="rtl"] .about-hero-copy h1 {
  font-size: clamp(1.9rem, 4.6vw, 3.4rem) !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  font-weight: 700;
  max-width: 720px;
}

body[dir="rtl"] .page-hero h1 {
  font-size: clamp(1.7rem, 4vw, 3rem) !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
}

body[dir="rtl"] .section-title {
  font-size: clamp(1.5rem, 3.4vw, 2.6rem) !important;
  line-height: 1.32 !important;
  letter-spacing: 0 !important;
}

body[dir="rtl"] .hero-copy p,
body[dir="rtl"] .tech-hero-copy p,
body[dir="rtl"] .about-hero-copy p,
body[dir="rtl"] .page-hero p,
body[dir="rtl"] .section-lead {
  line-height: 1.9 !important;
  letter-spacing: 0 !important;
  font-size: 1rem;
}

body[dir="rtl"] .eyebrow {
  letter-spacing: 0.04em !important;
  font-size: 0.82rem;
}

body[dir="rtl"] .card h3,
body[dir="rtl"] .card h4 {
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
}

body[dir="rtl"] .quote-block p {
  font-size: clamp(1.1rem, 2.2vw, 1.7rem) !important;
  line-height: 1.55 !important;
  letter-spacing: 0 !important;
}

/* Buttons and nav items: zero letter-spacing in Arabic */
body[dir="rtl"] .btn,
body[dir="rtl"] .nav-links a {
  letter-spacing: 0 !important;
}

/* Mobile: further reduce Arabic sizes */
@media (max-width: 820px) {
  body[dir="rtl"] .hero-copy h1,
  body[dir="rtl"] .tech-hero-copy h1,
  body[dir="rtl"] .about-hero-copy h1 {
    font-size: clamp(1.7rem, 6.5vw, 2.6rem) !important;
  }

  body[dir="rtl"] .section-title {
    font-size: clamp(1.4rem, 5.5vw, 2rem) !important;
  }
}

@media (max-width: 480px) {
  body[dir="rtl"] .hero-copy h1,
  body[dir="rtl"] .tech-hero-copy h1,
  body[dir="rtl"] .about-hero-copy h1 {
    font-size: clamp(1.5rem, 7vw, 2.1rem) !important;
  }

  body[dir="rtl"] .section-title {
    font-size: clamp(1.25rem, 6vw, 1.75rem) !important;
  }
}

/* Hide navbar "Partner With Us" CTA on English at 1143px and below */
@media (max-width: 1143px) {
  html[lang="en"] .nav-cta-btn {
    display: none !important;
  }
}
