:root {
  color-scheme: dark;
  --ink: #f5f1e8;
  --muted: #b9b0a4;
  --soft: rgba(245, 241, 232, 0.68);
  --bg: #10100f;
  --panel: rgba(27, 28, 27, 0.72);
  --line: rgba(245, 241, 232, 0.14);
  --coral: #e85d4f;
  --cyan: #70d6cf;
  --olive: #9bb77d;
  --gold: #d3b56e;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(112, 214, 207, 0.12), transparent 32rem),
    linear-gradient(135deg, #10100f 0%, #191716 45%, #111414 100%);
  color: var(--ink);
}

body[dir="rtl"] {
  font-family:
    "Noto Sans Arabic", Tahoma, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
}

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

button,
input {
  font: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.22;
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, 0.04), transparent 22%),
    repeating-radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 18px;
  left: clamp(14px, 3vw, 36px);
  right: clamp(14px, 3vw, 36px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 13, 12, 0.66);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(1.2);
}

.brand,
.nav-links,
.language-switcher,
.hero-actions,
.form-tabs {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--coral), var(--gold), var(--cyan), var(--coral));
  color: #10100f;
  font-size: 12px;
  font-weight: 900;
}

.nav-links {
  justify-content: center;
  gap: clamp(12px, 3vw, 38px);
  color: var(--soft);
  font-size: 14px;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.language-switcher {
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.lang-btn {
  width: 34px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 760;
  transition: background 180ms ease, color 180ms ease;
}

.lang-btn.active {
  background: var(--ink);
  color: var(--bg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: end;
  padding: 132px clamp(20px, 5vw, 72px) 52px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 36%, rgba(112, 214, 207, 0.16), transparent 24rem),
    radial-gradient(circle at 72% 72%, rgba(232, 93, 79, 0.12), transparent 22rem),
    linear-gradient(115deg, #11110f 0%, #181616 48%, #0b1514 100%);
}

.hero-media canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.kinetic-orbit {
  position: absolute;
  border: 1px solid rgba(245, 241, 232, 0.14);
  border-radius: 50%;
  filter: drop-shadow(0 0 32px rgba(112, 214, 207, 0.2));
}

.kinetic-orbit::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 28px rgba(232, 93, 79, 0.75);
}

.orbit-one {
  top: 14%;
  right: 7%;
  width: min(42vw, 620px);
  aspect-ratio: 1 / 1;
  animation: rotate 18s linear infinite;
}

.orbit-two {
  right: 21%;
  bottom: 12%;
  width: min(30vw, 430px);
  aspect-ratio: 1 / 1;
  animation: rotate 26s linear infinite reverse;
}

.orbit-three {
  top: 32%;
  right: 35%;
  width: min(18vw, 260px);
  aspect-ratio: 1 / 1;
  border-color: rgba(211, 181, 110, 0.18);
  animation: rotate 14s linear infinite;
}

.orbit-one::after {
  top: 12%;
  left: 18%;
}

.orbit-two::after {
  right: 16%;
  bottom: 14%;
  background: var(--cyan);
}

.orbit-three::after {
  top: 48%;
  right: -6px;
  background: var(--gold);
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 16, 15, 0.98), rgba(16, 16, 15, 0.72) 42%, rgba(16, 16, 15, 0.2)),
    linear-gradient(0deg, rgba(16, 16, 15, 0.98), transparent 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: min(850px, 92vw);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 24px;
  font-size: clamp(54px, 10vw, 132px);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5.5vw, 74px);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 32px;
  color: var(--soft);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 790;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.primary {
  border-color: transparent;
  background: var(--ink);
  color: var(--bg);
}

.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  backdrop-filter: blur(12px);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: clamp(24px, 6vw, 70px);
  display: grid;
  gap: 6px;
  width: min(260px, calc(100vw - 40px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 16, 15, 0.6);
  backdrop-filter: blur(24px);
}

.hero-panel span,
.signal-row p,
.method-card p,
.glass-card p,
.lead-form p,
footer {
  color: var(--soft);
}

.hero-panel strong {
  font-size: 28px;
  line-height: 1;
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.signal-row article {
  min-height: 180px;
  padding: clamp(22px, 4vw, 44px);
  background: #141412;
}

.signal-row span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-size: clamp(36px, 6vw, 76px);
  font-weight: 850;
  line-height: 0.85;
}

.signal-row p {
  max-width: 230px;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.45;
}

.section {
  padding: clamp(72px, 11vw, 150px) clamp(20px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: start;
  background: #f5f1e8;
  color: #111313;
}

.split .eyebrow {
  color: #9c3e36;
}

.method-grid {
  display: grid;
  gap: 12px;
}

.method-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px 22px;
  min-height: 154px;
  padding: 24px;
  border: 1px solid rgba(17, 19, 19, 0.14);
  border-radius: 8px;
  background: rgba(17, 19, 19, 0.035);
}

.method-card span {
  grid-row: span 2;
  color: #9c3e36;
  font-size: 15px;
  font-weight: 850;
}

.method-card p {
  color: rgba(17, 19, 19, 0.68);
  line-height: 1.55;
}

.atmosphere {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(232, 93, 79, 0.16), transparent 32%),
    linear-gradient(225deg, rgba(112, 214, 207, 0.14), transparent 36%),
    #10100f;
}

.ticker {
  position: absolute;
  top: 26px;
  left: 0;
  display: flex;
  width: max-content;
  gap: 42px;
  color: rgba(245, 241, 232, 0.16);
  font-size: clamp(42px, 8vw, 112px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  animation: drift 34s linear infinite;
}

@keyframes drift {
  to {
    transform: translateX(-50%);
  }
}

.talent-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  margin-top: 92px;
}

.talent-grid > article:first-child {
  grid-row: span 2;
  display: flex;
  min-height: 480px;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(245, 241, 232, 0.08), rgba(245, 241, 232, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.glass-card {
  min-height: 232px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(245, 241, 232, 0.07);
  backdrop-filter: blur(16px);
}

.glass-card.accent {
  background: rgba(112, 214, 207, 0.1);
}

.glass-card p {
  margin-bottom: 0;
  line-height: 1.55;
}

.contact {
  background: #151715;
}

.contact-head {
  max-width: 820px;
}

.form-tabs {
  gap: 8px;
  margin: 42px 0 16px;
}

.tab {
  min-width: 150px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.tab.active {
  background: var(--cyan);
  color: #0c1716;
}

.forms-shell {
  display: grid;
}

.lead-form {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px) auto;
  gap: 18px;
  align-items: end;
  min-height: 250px;
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(245, 241, 232, 0.08), transparent),
    rgba(245, 241, 232, 0.04);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.lead-form.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lead-form h3 {
  margin-bottom: 12px;
}

.lead-form p {
  max-width: 460px;
  margin-bottom: 0;
  line-height: 1.55;
}

label {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input[type="email"] {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(245, 241, 232, 0.26);
  border-radius: 999px;
  outline: 0;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input[type="email"]:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(112, 214, 207, 0.12);
}

.submit-btn {
  min-width: 168px;
  border: 0;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: var(--cyan);
  font-size: 14px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #10100f;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    border-radius: 24px;
  }

  .nav-links {
    display: none;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 1;
    margin-top: 34px;
  }

  .split,
  .talent-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .talent-grid > article:first-child {
    min-height: 340px;
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    left: 10px;
    right: 10px;
    gap: 10px;
    padding: 8px;
  }

  .brand span:last-child {
    display: none;
  }

  .language-switcher {
    max-width: calc(100vw - 78px);
    overflow-x: auto;
  }

  .hero {
    padding: 112px 18px 36px;
  }

  .kinetic-orbit {
    opacity: 0.7;
  }

  .orbit-one {
    right: -18%;
    width: 82vw;
  }

  .orbit-two {
    right: 18%;
    bottom: 20%;
    width: 54vw;
  }

  .orbit-three {
    display: none;
  }

  h1 {
    font-size: clamp(48px, 15vw, 76px);
  }

  .signal-row {
    grid-template-columns: 1fr;
  }

  .form-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .tab,
  .submit-btn {
    width: 100%;
    min-width: 0;
  }

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .kinetic-orbit {
    animation: none !important;
  }
}
