/* Home page — specifics */

/* ---------- HERO ---------- */
.hero {
  padding: clamp(40px, 7vw, 100px) 0 0;
  position: relative;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  gap: 40px;
  position: relative;
}
.hero__top {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--fg-muted); letter-spacing: 0.14em;
}
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 35%, transparent); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { opacity:1 } 50% { opacity:.4 } }
.hero__meta { display: flex; gap: 24px; }

.hero__title {
  font-size: clamp(56px, 10vw, 168px);
  line-height: 0.92;
  margin: 24px 0 0;
  letter-spacing: -0.035em;
  max-width: 16ch;
  position: relative;
  z-index: 2;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  font-family: "Space Grotesk", serif;
}
html[dir="rtl"] .hero__title { letter-spacing: 0; line-height: 1.1; font-size: clamp(44px, 8vw, 140px); }
html[dir="rtl"] .hero__title em { font-family: var(--font-arabic); font-style: normal; font-weight: 800; }

.hero__orb {
  position: absolute;
  inset-inline-end: -6%;
  top: 12%;
  width: 54vw; max-width: 720px;
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 1;
}
.orb {
  width: 100%; height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, oklch(0.78 0.18 var(--accent-h)) 0%, transparent 55%),
    radial-gradient(circle at 65% 70%, oklch(0.42 0.22 var(--accent-h)) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, var(--brand-deep) 0%, var(--bg) 75%);
  filter: blur(1px);
  opacity: 0.85;
  animation: orbFloat 14s ease-in-out infinite;
  mix-blend-mode: screen;
}
[data-theme="light"] .orb { opacity: 0.7; mix-blend-mode: multiply; }
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-3%, 4%) scale(1.04); }
}
/* decorative node lines */
.hero__net {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.5;
}

.hero__bottom {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  margin-top: clamp(40px, 8vw, 120px);
  align-items: end;
  position: relative; z-index: 3;
}
@media (min-width: 960px) { .hero__bottom { grid-template-columns: 1.4fr 1fr; gap: 80px; } }
.hero__lede {
  color: var(--fg-muted);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.65;
  max-width: 560px;
  margin: 0;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-self: start; }
@media (min-width: 960px) { .hero__cta { justify-self: end; } }

.pill--lg { padding: 16px 28px; font-size: 15px; }

/* marquee */
.marquee {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  background: var(--bg-1);
}
.marquee__track {
  display: inline-flex; gap: 36px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  white-space: nowrap;
  animation: marquee 42s linear infinite;
  color: var(--fg-muted);
}
.marquee__track span:nth-child(even) { color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
html[dir="rtl"] .marquee__track { animation-direction: reverse; }

/* ---------- STATS ---------- */
.stats {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
}
@media (min-width: 880px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat__lbl { color: var(--fg-muted); font-size: 13px; margin-top: 6px; font-family: var(--font-mono); letter-spacing: 0.06em; }

/* ---------- INDUSTRIES ---------- */
.ind-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .ind-grid { grid-template-columns: repeat(3, 1fr); } }
.ind-card {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-1);
  transition: border-color .3s, background .3s, transform .3s;
  overflow: hidden;
  isolation: isolate;
}
.ind-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 0%, color-mix(in oklch, var(--accent) 25%, transparent) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  z-index: -1;
}
.ind-card:hover::before { opacity: 1; }
.ind-card:hover { border-color: var(--accent-soft); transform: translateY(-4px); }
.ind-card--wide { grid-column: span 1; }
@media (min-width: 1080px) { .ind-card--wide { grid-column: span 3; flex-direction: row; align-items: center; gap: 40px; } }

.ind-card__list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ind-card__list li {
  position: relative;
  padding-inline-start: 18px;
  color: var(--fg-muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.ind-card__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* Teaser cards (8 & 9) with motion graphics */
.ind-card--teaser { overflow: hidden; }
.ind-card--teaser .ind-card__body { position: relative; z-index: 2; }
.ind-card--teaser .ind-card__teaserlede {
  color: var(--fg-muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 10px 0 0;
  max-width: 34ch;
}
.indg-motion,
.ind-g-motion2 {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.85;
  pointer-events: none;
}
.indg-motion svg,
.ind-g-motion2 svg {
  width: 100%; height: 100%;
  display: block;
}
.ind-card--teaser .ind-card__num { position: relative; z-index: 2; }
.ind-card--teaser .ind-card__go { z-index: 3; }

.ind-card__num {
  font-size: 13px; letter-spacing: 0.2em; color: var(--fg-muted);
}
.ind-card__body { margin-top: auto; }
.ind-card__body h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
html[dir="rtl"] .ind-card__body h3 { letter-spacing: 0; line-height: 1.3; }
.ind-card__body p { color: var(--fg-muted); font-size: 14px; line-height: 1.65; margin: 0; max-width: 52ch; }
.ind-card__go {
  position: absolute;
  top: 24px; inset-inline-end: 24px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--fg-muted);
  transition: all .3s;
}
html[dir="rtl"] .ind-card__go svg { transform: scaleX(-1); }
.ind-card:hover .ind-card__go { background: var(--accent); border-color: var(--accent); color: #0A0812; }

/* ---------- ROADMAP ---------- */
.roadmap { background: var(--bg); }
.roadmap__topline {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  justify-items: start;
  max-width: 100%;
}
@media (min-width: 880px) { .roadmap__topline { grid-template-columns: 1fr 1.2fr; justify-content: space-between; align-items: start; } }
.roadmap__topcopy {
  color: var(--fg-muted); font-size: 14px; line-height: 1.7; max-width: 440px;
  text-align: end;
  justify-self: end;
}
html[dir="rtl"] .roadmap__topcopy { text-align: start; }
.roadmap__title {
  margin: 36px 0 0;
  font-size: clamp(40px, 6vw, 96px);
  max-width: 18ch;
}
.roadmap__rule {
  margin: 48px 0;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--line-strong) 0 2px, transparent 2px 10px);
}
.roadmap__cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 14px;
}
@media (max-width: 1100px) { .roadmap__cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .roadmap__cards { grid-template-columns: repeat(1, 1fr); } }

.rm-card {
  position: relative;
  border-radius: var(--r-lg);
  min-height: 380px;
  padding: 22px 20px;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform .3s;
}
.rm-card:hover { transform: translateY(-6px); }

.rm-card--intro {
  background: var(--bg-1);
  border: 1px solid var(--line);
  color: var(--fg);
}
.rm-card--intro .tag { background: var(--accent); }
.rm-card__dots {
  align-self: center;
  margin-top: auto; margin-bottom: auto;
  width: 110px; height: 110px;
  background-image: radial-gradient(currentColor 1.5px, transparent 2px);
  background-size: 9px 9px;
  mask-image: radial-gradient(circle, black 60%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, black 60%, transparent 70%);
  color: var(--fg-muted);
  opacity: 0.8;
}
.rm-card__line {
  position: absolute;
  bottom: 50%;
  inset-inline-end: -8px;
  width: 28px; height: 1px;
  background: var(--fg-muted);
}

.rm-card--1 { background: #3A3248; color: #F4F1FA; }
.rm-card--2 { background: var(--brand-deep-2); color: #F4F1FA; }
.rm-card--3 { background: var(--brand-deep); color: #F4F1FA; }
.rm-card--4 { background: var(--accent); color: #0A0812; }

.rm-card__num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.rm-card__head {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 40px;
  letter-spacing: -0.01em;
  min-height: 2.4em;
}
html[dir="rtl"] .rm-card__head { line-height: 1.35; }
.rm-card__body {
  color: inherit;
  opacity: 0.78;
  font-size: 13px;
  line-height: 1.65;
  margin: 18px 0 0;
}
.rm-card--4 .rm-card__body { opacity: 0.9; }
.rm-card__foot {
  margin-top: auto;
  padding-top: 40px;
  font-size: 12px;
  opacity: 0.7;
  letter-spacing: 0.05em;
}

.roadmap__footrow {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 24px;
  margin-top: 72px;
}
.roadmap__afterword { color: var(--fg-muted); font-size: 14px; max-width: 340px; line-height: 1.7; margin: 0; }
.roadmap__action { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- SERVICES PREVIEW ---------- */
.srv-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.srv-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
  transition: background .3s, padding .3s;
  cursor: default;
}
.srv-row:hover { background: color-mix(in oklch, var(--accent) 8%, transparent); padding-inline-start: 20px; }
.srv-row__num { color: var(--fg-muted); font-size: 13px; }
.srv-row__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 600;
  letter-spacing: -0.015em;
}
html[dir="rtl"] .srv-row__title { letter-spacing: 0; line-height: 1.3; }
.srv-row__tags { display: none; gap: 6px; }
@media (min-width: 900px) { .srv-row__tags { display: inline-flex; } }
.srv-chip {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}
.services-preview__foot { margin-top: 48px; }

/* ---------- ABOUT TEASER ---------- */
.about-teaser__grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  align-items: stretch;
}
@media (min-width: 900px) { .about-teaser__grid { grid-template-columns: 2fr 1fr; gap: 40px; } }
.about-quote {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 56px;
  margin: 0;
  position: relative;
}
.about-quote::before {
  content: "❝";
  position: absolute; top: 16px; inset-inline-start: 30px;
  font-size: 64px; color: var(--accent); opacity: 0.5; line-height: 1;
}
.about-quote p {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 500;
  line-height: 1.25;
  margin: 32px 0 20px;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
html[dir="rtl"] .about-quote p { letter-spacing: 0; line-height: 1.45; }
.about-quote footer {
  font-family: var(--font-mono);
  color: var(--fg-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.about-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--accent);
  color: #0A0812;
  border-radius: var(--r-lg);
  padding: 40px 32px;
  min-height: 200px;
  transition: transform .3s;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.2vw, 32px);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
html[dir="rtl"] .about-cta { letter-spacing: 0; line-height: 1.3; }
.about-cta:hover { transform: translateY(-4px); }
.about-cta .arrow-btn { align-self: flex-end; background: #0A0812; color: #fff; }

/* ---------- CTA FINAL ---------- */
.cta-final {
  padding: clamp(60px, 10vw, 140px) 0;
}
.cta-final__inner {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  align-items: end;
  padding: clamp(40px, 6vw, 80px);
  background: linear-gradient(135deg, var(--brand-deep-2) 0%, var(--brand-deep) 45%, color-mix(in oklch, var(--accent) 70%, #000) 100%);
  border-radius: var(--r-xl);
  color: #F4F1FA;
  position: relative;
  overflow: hidden;
}
.cta-final__inner::before {
  content: "";
  position: absolute; inset-inline-end: -10%; top: -30%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, color-mix(in oklch, var(--accent) 60%, #fff) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}
@media (min-width: 900px) { .cta-final__inner { grid-template-columns: 2fr 1fr; gap: 60px; } }
.cta-final__copy h2 {
  margin: 14px 0 0;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}
html[dir="rtl"] .cta-final__copy h2 { letter-spacing: 0; line-height: 1.2; }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 2; }
.cta-final__actions .pill { border-color: rgba(255,255,255,0.3); }
.cta-final__actions .pill:hover { background: #fff; color: var(--brand-deep); border-color: #fff; }
.cta-final__actions .pill-filled { background: #fff; color: var(--brand-deep); border-color: #fff; }
.cta-final__actions .pill-filled:hover { background: #0A0812; color: #fff; border-color: #0A0812; }

/* ---------- MOBILE POLISH ---------- */
@media (max-width: 719px) {
  .container { padding-inline: 20px; }
  .hero { padding-top: 28px; }
  .hero__title { font-size: clamp(44px, 12vw, 72px); max-width: 100%; letter-spacing: -0.02em; }
  html[dir="rtl"] .hero__title { font-size: clamp(38px, 11vw, 64px); }
  .hero__orb { inset-inline-end: -30%; top: 8%; width: 110vw; opacity: 0.6; }
  .hero__meta { gap: 12px; font-size: 11px; }
  .hero__lede { font-size: 15px; }
  .hero__cta { width: 100%; }
  .hero__cta .pill { flex: 1 1 auto; justify-content: center; }
  .section { padding: clamp(56px, 10vw, 96px) 0; }
  .intro__title { font-size: clamp(32px, 8vw, 52px) !important; }
  .ind-grid { gap: 14px; }
  .ind-card { padding: 24px 22px; min-height: 220px; }
  .ind-card__body h3 { font-size: 26px; }
  .ind-card__go { width: 36px; height: 36px; top: 18px; inset-inline-end: 18px; }
  .marquee { font-size: 36px; }
  .footer-grid { gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-tag { max-width: 100%; }
  .cta-final__inner { padding: 40px 24px; }
  .cta-final__actions { width: 100%; }
  .cta-final__actions .pill { flex: 1 1 auto; justify-content: center; }
}

/* Overflow safety — nothing horizontally scrolls on mobile */
body { overflow-x: clip; }
