:root {
  --bg: #070b12;
  --bg-2: #101820;
  --card: rgba(16, 24, 34, 0.9);
  --line: rgba(168, 214, 204, 0.16);
  --text: #e8eef6;
  --muted: #93a4b6;
  --teal: #2ee6c8;
  --teal-ink: #06221e;
  --gold: #f0b45a;
  --danger: #ff8d97;
  --ok: #8ee0c4;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f3f6f5;
  --bg-2: #ffffff;
  --card: #ffffff;
  --line: rgba(15, 48, 44, 0.12);
  --text: #142028;
  --muted: #52616c;
  --teal: #0f766e;
  --teal-ink: #f4fffc;
  --gold: #9a6700;
  --danger: #b42338;
  --ok: #067647;
  --shadow: 0 16px 40px rgba(16, 32, 28, 0.08);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(20, 110, 98, 0.28), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  line-height: 1.75;
}
img, video { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .brand strong { font-family: "Alexandria", "Cairo", sans-serif; }
::selection { background: rgba(46, 230, 200, 0.28); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.sr, .skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.skip:focus { position: fixed; top: 8px; inset-inline-start: 8px; width: auto; height: auto; clip: auto; background: var(--teal); color: var(--teal-ink); padding: 8px 12px; z-index: 50; border-radius: 8px; }

.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(860px, calc(100% - 40px)); }
.preview-banner { background: var(--gold); color: #241a08; text-align: center; padding: 8px 12px; font-size: 14px; }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 22px;
  background: rgba(7, 11, 18, 0.84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28); }
[data-theme="light"] .header { background: rgba(243, 246, 245, 0.92); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 46px; height: 46px; border-radius: 14px; }
.brand strong { display: block; font-size: 15px; line-height: 1.2; }
.brand small {
  display: block;
  font-family: Outfit, sans-serif;
  letter-spacing: 0.18em;
  font-size: 10px;
  color: var(--muted);
}
.nav { display: flex; gap: 22px; margin-inline: auto; }
.nav a { position: relative; text-decoration: none; color: var(--muted); font-size: 14.5px; padding-bottom: 4px; }
.nav a + a::before {
  content: "";
  position: absolute;
  inset-inline-start: -12px;
  top: calc(50% - 2px);
  width: 1px;
  height: 14px;
  border-radius: 1px;
  transform: translateY(-50%);
  background: color-mix(in srgb, var(--text) 34%, transparent);
}
.nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: var(--teal); transform: scaleX(0); transition: transform .28s ease;
}
.nav a:hover, .nav a[aria-current] { color: var(--teal); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.tools { display: flex; align-items: center; gap: 8px; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.lang a { text-decoration: none; font-family: Outfit, sans-serif; font-size: 12px; padding: 5px 10px; border-radius: 999px; color: var(--muted); }
.lang a.is-on { background: var(--teal); color: var(--teal-ink); }
.theme-toggle, .nav-toggle, .to-top {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--text); display: grid; place-items: center; cursor: pointer;
}
.theme-toggle svg, .nav-toggle svg, .to-top svg, .share-box svg, .wa svg, .play svg, .why-icon svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun, .theme-toggle .icon-moon {
  display: grid; place-items: center; width: 18px; height: 18px; line-height: 0;
}
.theme-toggle svg { display: block; }
.nav-toggle { display: none; }
[data-theme="dark"] .icon-moon, [data-theme="light"] .icon-sun { display: none; }

.hero { position: relative; min-height: 78svh; display: flex; align-items: center; overflow: hidden; padding-top: 76px; }
.hero-stage { position: absolute; inset: 0; background: #070b12; }
.hero-video, .orb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { transform: scale(1.12); animation: hero-drift 28s ease-in-out infinite alternate; }
.hero-sheen, .hero-grain, .hero-bokeh, .hero-beam { position: absolute; inset: 0; pointer-events: none; }
.hero-beam {
  inset: auto 0;
  top: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(190, 255, 240, 0.75), transparent);
  box-shadow: 0 0 28px 8px rgba(46, 230, 200, 0.22);
  animation: beam 10s ease-in-out infinite;
}
.hero-bokeh i {
  position: absolute; border-radius: 50%; display: block;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85), rgba(46, 230, 200, 0.15) 42%, transparent 70%);
  filter: blur(0.4px);
  animation: bokeh 16s ease-in-out infinite;
}
.hero-bokeh i:nth-child(1) { width: 10px; height: 10px; top: 22%; inset-inline-start: 18%; animation-duration: 15s; }
.hero-bokeh i:nth-child(2) { width: 6px; height: 6px; top: 38%; inset-inline-start: 62%; animation-duration: 18s; animation-delay: -4s; }
.hero-bokeh i:nth-child(3) { width: 14px; height: 14px; top: 58%; inset-inline-start: 74%; animation-duration: 20s; animation-delay: -7s; }
.hero-bokeh i:nth-child(4) { width: 7px; height: 7px; top: 18%; inset-inline-start: 80%; animation-duration: 17s; animation-delay: -2s; }
.hero-bokeh i:nth-child(5) { width: 9px; height: 9px; top: 70%; inset-inline-start: 28%; animation-duration: 19s; animation-delay: -9s; }
.hero-bokeh i:nth-child(6) { width: 5px; height: 5px; top: 46%; inset-inline-start: 46%; animation-duration: 14s; animation-delay: -5s; }
.hero-sheen {
  background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.11) 48%, transparent 66%);
  mix-blend-mode: screen;
  animation: sheen 14s ease-in-out infinite;
}
.hero-grain {
  opacity: 0.07;
  background-image: radial-gradient(rgba(255, 255, 255, 0.55) 0.45px, transparent 0.45px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}
.orb { border-radius: 50%; filter: blur(20px); }
.orb-a { width: 42vw; height: 42vw; inset: auto; top: 8%; inset-inline-start: 8%; background: rgba(46, 230, 200, 0.28); animation: float 14s ease-in-out infinite; }
.orb-b { width: 36vw; height: 36vw; inset: auto; bottom: 10%; inset-inline-end: 6%; background: rgba(142, 182, 255, 0.22); animation: float 18s ease-in-out infinite reverse; }
.orb-c { width: 24vw; height: 24vw; inset: auto; top: 30%; left: 40%; background: rgba(255, 107, 138, 0.16); animation: float 16s ease-in-out infinite; }
.hero-shade { position: absolute; inset: 0; }
[dir="rtl"] .hero-shade {
  background:
    linear-gradient(to left, rgba(4, 8, 14, 0.5), transparent 52%),
    linear-gradient(180deg, rgba(4, 8, 14, 0.34), rgba(4, 8, 14, 0.1) 46%, rgba(4, 8, 14, 0.42));
}
[dir="ltr"] .hero-shade {
  background:
    linear-gradient(to right, rgba(4, 8, 14, 0.5), transparent 52%),
    linear-gradient(180deg, rgba(4, 8, 14, 0.34), rgba(4, 8, 14, 0.1) 46%, rgba(4, 8, 14, 0.42));
}
.corner { position: absolute; width: 54px; height: 54px; z-index: 2; border: 1px solid rgba(190, 255, 236, 0.55); }
.tl { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.tr { top: 18px; right: 18px; border-left: 0; border-bottom: 0; }
.bl { bottom: 18px; left: 18px; border-right: 0; border-top: 0; }
.br { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }
.hero-layout {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.05fr);
  align-items: center; gap: 18px;
}
.hero-copy { padding-bottom: 12px; color: #f4f8fb; animation: rise .9s ease both; }
.hero-craft { animation: rise 1s ease .15s both; }
.stage { display: flex; align-items: stretch; gap: 16px; min-height: 460px; }
.stage-names {
  display: flex; flex-direction: column; justify-content: space-between;
  width: 6.2em; margin: 0; padding: 22px 0; list-style: none;
}
.stage-names li { color: #d5e2ee; font-size: 13px; font-weight: 600; }
.stage-names li::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-end: 8px;
  border-radius: 50%; background: #2ee6c8; box-shadow: 0 0 10px #2ee6c8; vertical-align: middle;
}
.stage-frame {
  position: relative; flex: 1; min-height: 460px; overflow: hidden; direction: ltr;
  border-radius: 28px; border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(420px 220px at 80% 0%, rgba(46, 230, 200, 0.16), transparent 60%),
    rgba(8, 14, 22, 0.72);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42); backdrop-filter: blur(12px);
}
.layer { position: absolute; }
.layer-board { inset: 26px 28px 168px 26px; z-index: 1; }
.layer-film { left: 22px; right: 118px; bottom: 118px; z-index: 2; }
.layer-code { left: 26px; bottom: 22px; width: 52%; height: 148px; z-index: 3; }
.layer-phone { right: 22px; bottom: 18px; z-index: 4; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45)); }
.stage .board, .stage .editor { width: 100%; height: 100%; min-height: 0; }
.stage .reel { min-height: 86px; }
.stage .phone { width: 96px; height: 176px; }
.board {
  flex: 1; display: grid; grid-template-columns: 52px 1fr; grid-template-rows: 1fr auto;
  direction: ltr; gap: 10px; min-height: 96px; padding: 12px; border-radius: 12px;
  background: linear-gradient(210deg, #1b2a44, #0d1522);
}
.board-mark {
  position: relative; align-self: center; width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(145deg, #2ee6c8, #178f86);
  box-shadow: 0 8px 16px rgba(46, 230, 200, 0.28);
}
.board-mark::after {
  content: ""; position: absolute; right: -10px; bottom: -8px; width: 22px; height: 22px; border-radius: 6px;
  background: #8eb6ff; box-shadow: 0 6px 12px rgba(0, 0, 0, 0.28);
}
.board-copy { display: grid; align-content: center; gap: 7px; }
.board-copy i { display: block; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.2); }
.board-copy i:nth-child(1) { width: 72%; height: 8px; background: #f4f8fb; }
.board-copy i:nth-child(2) { width: 100%; }
.board-copy i:nth-child(3) { width: 58%; background: #8eb6ff; }
.swatches { grid-column: 1 / -1; display: flex; gap: 6px; }
.swatches i { width: 14px; height: 14px; border-radius: 50%; display: block; }
.swatches i:nth-child(1) { background: #2ee6c8; }
.swatches i:nth-child(2) { background: #8eb6ff; }
.swatches i:nth-child(3) { background: #f0b45a; }
.swatches i:nth-child(4) { background: #ff8d97; }
.swatches i:nth-child(5) { background: #c084fc; }
.reel {
  flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 5px;
  min-height: 78px; padding: 6px 8px; border-radius: 8px;
  background: #0c1218; border: 1px solid rgba(255, 255, 255, 0.08);
}
.sprocket { display: flex; justify-content: space-between; }
.sprocket i { width: 7px; height: 6px; border-radius: 1px; background: rgba(255, 255, 255, 0.28); }
.frames { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; min-height: 46px; }
.frames span { border-radius: 3px; background: linear-gradient(165deg, rgba(46, 230, 200, 0.72), #1a2740 72%); }
.frames .is-play { position: relative; background: linear-gradient(180deg, #182232, #0c1218); }
.frames .is-play::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0;
  border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #2ee6c8;
}
.clips { position: relative; display: grid; grid-template-columns: 1.2fr 0.7fr 0.95fr; gap: 4px; height: 10px; margin-top: 8px; }
.clips i { display: block; border-radius: 3px; }
.clips i:nth-child(1) { background: #2ee6c8; }
.clips i:nth-child(2) { background: #8eb6ff; }
.clips i:nth-child(3) { background: #f0b45a; }
.clips b { position: absolute; top: -4px; bottom: -4px; width: 2px; left: 48%; border-radius: 2px; background: #fff; }
.clips b::before {
  content: ""; position: absolute; top: -3px; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: #fff;
}
.editor {
  flex: 1; display: flex; flex-direction: column; direction: ltr; gap: 10px; min-height: 96px;
  padding: 10px 12px 12px; border-radius: 12px; background: #0b1118; border: 1px solid rgba(255, 255, 255, 0.08);
}
.editor-dots { display: flex; gap: 5px; }
.editor-dots i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.editor-dots i:nth-child(1) { background: #ff8d97; }
.editor-dots i:nth-child(2) { background: #f0b45a; }
.editor-dots i:nth-child(3) { background: #2ee6c8; }
.code-lines { flex: 1; display: grid; align-content: center; gap: 8px; }
.code-lines i { display: block; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.16); }
.code-lines i:nth-child(1) { width: 38%; background: #2ee6c8; }
.code-lines i:nth-child(2) { width: 68%; margin-left: 16px; background: #8eb6ff; }
.code-lines i:nth-child(3) { width: 52%; margin-left: 16px; }
.code-lines i:nth-child(4) { width: 44%; margin-left: 16px; background: rgba(240, 180, 90, 0.85); }
.code-lines i:nth-child(5) { width: 18%; background: #f4f8fb; }
.phone {
  position: relative; width: 86px; height: 156px; flex: none;
  display: flex; flex-direction: column; align-items: center;
  border-radius: 18px; padding: 7px 7px 6px;
  background: linear-gradient(180deg, #1a2433, #070b12);
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.45), 0 10px 22px rgba(0, 0, 0, 0.28);
}
.phone::before, .phone::after {
  content: ""; position: absolute; width: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.38);
}
.phone::before { left: -4px; top: 32px; height: 16px; box-shadow: 0 24px 0 rgba(255, 255, 255, 0.38); }
.phone::after { right: -4px; top: 46px; height: 26px; }
.notch { width: 32px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.28); }
.apps {
  flex: 1; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 5px;
  align-content: center; margin-top: 8px;
}
.apps i { display: block; aspect-ratio: 1; height: auto; border-radius: 6px; }
.apps i:nth-child(1) { background: #2ee6c8; }
.apps i:nth-child(2) { background: #8eb6ff; }
.apps i:nth-child(3) { background: #f0b45a; }
.apps i:nth-child(4) { background: #ff8d97; }
.home { width: 28px; height: 4px; margin-top: 7px; border-radius: 99px; background: rgba(255, 255, 255, 0.55); }
.hero-copy .lede, .hero .stats span { color: #c5d2de; }
.hero h1, .hero-copy .lede { text-shadow: 0 12px 32px rgba(0, 0, 0, 0.45); }
.hero h1 { color: #f7fbff; }
.hero .btn { color: #f4f8fb; border-color: rgba(255, 255, 255, 0.28); }
.hero .btn-solid { color: #06221e; }
.eyebrow, .kicker { color: var(--teal); font-size: 13px; font-weight: 600; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(46, 230, 200, 0.35);
  border-radius: 999px; padding: 5px 12px; background: rgba(7, 11, 18, 0.4); backdrop-filter: blur(8px);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2ee6c8;
  box-shadow: 0 0 12px #2ee6c8; animation: pulse 2.2s ease-in-out infinite;
}
.hero h1 { font-size: clamp(1.7rem, 2.8vw, 2.45rem); line-height: 1.6; font-weight: 600; margin: 14px 0 18px; max-width: 16em; }
.hero h1 em { font-style: normal; color: var(--teal); display: block; margin-top: 6px; }
.lede { max-width: 38rem; color: var(--muted); font-size: 1.05rem; }
.hero-copy .lede { line-height: 2; }
.btn-row, .actions, .send-wrap, .more-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row { margin-top: 22px; }
.stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  margin-top: 28px; width: min(100%, 34rem); padding: 14px 8px; border-radius: 18px;
  background: rgba(6, 12, 18, 0.42); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(12px);
}
.stats div { margin: 0; padding: 2px 12px; text-align: center; border-inline-end: 1px solid var(--line); }
.stats div:last-child { border-inline-end: 0; }
.stats b { display: block; font-family: Outfit, sans-serif; font-size: 1.45rem; line-height: 1.2; }
.stats span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.45; }

.ticker {
  overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; gap: 28px; width: max-content; animation: drift 50s linear infinite; padding: 12px 0; }
.ticker span { color: var(--muted); font-size: 13px; }
.ticker span::before { content: "●"; color: var(--teal); margin-inline-end: 8px; font-size: 8px; vertical-align: middle; }
.ticker:hover .ticker-track { animation-play-state: paused; }

.block { padding: 84px 0; }
.section-head { text-align: center; max-width: 42rem; margin: 0 auto 28px; }
.section-head h2 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); margin: 6px 0; }
.section-head p, .story, .empty { color: var(--muted); }
.story { text-align: center; margin: -8px auto 28px; max-width: 40rem; }
.filters { display: flex; justify-content: center; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.chip, .btn, .text-btn { cursor: pointer; }
.chip, .btn {
  border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text);
  padding: 8px 16px; text-decoration: none;
}
.chip { transition: background .25s ease, color .25s ease, transform .25s ease; }
.chip:hover { transform: translateY(-1px); }
.chip.is-on, .btn-solid {
  background: linear-gradient(180deg, #5ff3dc, #14b8a6); color: var(--teal-ink); border-color: transparent; font-weight: 700;
}
.btn { transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-solid { position: relative; overflow: hidden; }
.btn-solid::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: translateX(-130%);
}
.btn-solid:hover::after { transform: translateX(130%); transition: transform .65s ease; }
.btn-send { min-width: 220px; padding: 13px 22px; box-shadow: 0 12px 30px rgba(15, 118, 110, 0.28); display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.btn-send svg { width: 18px; height: 18px; flex: none; }
.more-wrap, .send-wrap { justify-content: center; margin-top: 22px; }
.human-check { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 18px; text-align: center; }
.human-check .field { width: 140px; text-align: center; }
#contact .narrow { width: min(640px, calc(100% - 40px)); }
#contact-form.panel { padding: 22px 22px 18px; }
#contact-form .form-grid { gap: 12px 14px; }
#contact-form label { margin-bottom: 5px; font-size: 13px; color: var(--muted); }
#contact-form .field { min-height: 44px; padding: 0 12px; border-radius: 12px; }
#contact-form select.field { height: 44px; }
#contact-form textarea.field { min-height: 108px; padding: 10px 12px; }
#contact-form .count { text-align: start; }
.form-foot { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
#contact-form .human-check { flex-direction: row; align-items: center; flex: none; margin: 0; gap: 10px; text-align: start; }
#contact-form .human-check label { margin: 0; white-space: nowrap; }
#contact-form .human-check .field { width: 84px; height: 48px; min-height: 48px; text-align: center; }
#contact-form .send-wrap { flex: 1; min-width: 0; margin: 0; }
#contact-form .btn-send { width: 100%; min-width: 0; height: 48px; }

.why-grid, .cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-card, .card, .service-card, .panel {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  transition: transform .45s ease, border-color .45s ease, box-shadow .45s ease;
}
.why-card::before, .card::before, .service-card::before {
  content: "";
  position: absolute;
  inset: 0 18px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 230, 200, 0.85), transparent);
  opacity: 0;
  transition: opacity .4s ease;
}
.why-card:hover::before, .card:hover::before, .service-card:hover::before { opacity: 1; }
.why-card:hover, .card:hover, .service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(46, 230, 200, 0.5);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.38), 0 0 28px rgba(46, 230, 200, 0.12);
}
.why-card, .service-card { padding: 18px 18px 20px; }
.why-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.why-icon {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
  color: var(--teal); border: 1px solid var(--line); background: rgba(46, 230, 200, 0.08);
}
.why-num { font-family: Outfit, sans-serif; color: var(--muted); }
.why-card h3, .card h3, .service-card h3, .mile h3 { margin: 8px 0; font-size: 1.15rem; }
.why-card p, .card p, .service-card p, .mile p { color: var(--muted); }
.why-card h3, .why-card p, .service-card { text-align: center; }
.service-card { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.skill-stage { display: flex; flex-direction: column; gap: 28px; }
.skill-group { margin: 0; padding: 0; border: 0; background: none; }
.skill-group h3 {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 14px;
  font-size: .95rem; font-weight: 600;
}
.skill-group h3::before,
.skill-group h3::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(to right, var(--line), transparent);
}
.skill-group h3::after { background: linear-gradient(to right, transparent, var(--line)); }
[dir="ltr"] .skill-group h3::before { background: linear-gradient(to right, transparent, var(--line)); }
[dir="ltr"] .skill-group h3::after { background: linear-gradient(to right, var(--line), transparent); }
.skill-kicker { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; color: var(--teal); background: rgba(46, 230, 200, 0.1); }
.skill-kicker svg { width: 15px; height: 15px; }
.skill-group h3 em {
  font-style: normal; font-family: Outfit, sans-serif; font-size: 12px; color: var(--muted);
}
.skill-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
}
.skill {
  position: relative; overflow: hidden;
  flex: 0 1 148px; width: 148px; max-width: calc(50% - 8px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; aspect-ratio: 1; min-width: 0; min-height: 0; padding: 14px 10px;
  border-radius: 24px; text-align: center;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tone, var(--teal)) 10%, transparent), transparent 42%),
    var(--card);
  border: 1px solid color-mix(in srgb, var(--tone, var(--teal)) 28%, var(--line));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.skill:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--tone, var(--teal)) 62%, transparent);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28), 0 0 22px color-mix(in srgb, var(--tone, var(--teal)) 20%, transparent);
}
.skill-mark {
  width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center;
  color: var(--tone, var(--teal));
  background: color-mix(in srgb, var(--tone, var(--teal)) 16%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--tone, var(--teal)) 48%, transparent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--tone, var(--teal)) 10%, transparent);
}
.skill-mark svg { width: 22px; height: 22px; display: block; }
.skill-mark b { font-family: Outfit, sans-serif; font-style: normal; font-weight: 700; font-size: 13px; }
.skill-copy { min-width: 0; width: 100%; text-align: center; }
.skill-copy strong { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.skill-copy small {
  display: block; margin-top: 4px; color: var(--muted); font-family: Outfit, sans-serif; font-size: 11.5px; letter-spacing: .01em; line-height: 1.3;
}

.card { overflow: hidden; display: flex; flex-direction: column; }
.media, .media-btn { position: relative; aspect-ratio: 16 / 10; background: #0c141e; }
.media-btn { width: 100%; border: 0; padding: 0; cursor: pointer; display: block; }
.media img, .media-btn img, .media-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.card:hover .media-btn img, .card:hover .media img { transform: scale(1.07); }
.media-fallback { display: block; background: linear-gradient(145deg, #12343a, #0c141e 55%, #2a1a22); }
.play {
  position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center; background: #2ee6c8; color: #06221e; pointer-events: none;
  box-shadow: 0 0 0 10px rgba(46, 230, 200, 0.18), 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform .35s ease;
}
.play::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(46, 230, 200, 0.55);
  animation: ping 2.6s ease-out infinite;
}
.card:hover .play { transform: scale(1.08); }
.game-platform { margin: 0 0 2px; color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.game-pending { color: var(--muted); font-size: 14px; }
.card-body { padding: 16px 16px 8px; text-align: center; }
.card-body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-body p:not(.clamp) { -webkit-line-clamp: unset; display: block; }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.actions { padding: 8px 16px 16px; justify-content: center; }
.more-wrap { justify-content: center; }
.text-btn { background: none; border: 0; color: var(--muted); padding: 0; }
.badge {
  position: absolute; top: 12px; inset-inline-start: 12px; border-radius: 999px;
  padding: 4px 10px; font-family: Outfit, "Cairo", sans-serif; font-size: 13px; font-weight: 700;
}
.is-price { background: var(--gold); color: #241a08; }
.is-free { background: var(--teal); color: var(--teal-ink); }

.timeline { border-inline-start: 1px solid var(--line); margin-top: 8px; }
.mile { position: relative; padding: 0 0 26px; padding-inline-start: 26px; }
.mile::before {
  content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal); inset-inline-start: -5px; top: 8px;
  box-shadow: 0 0 0 6px rgba(46, 230, 200, 0.12);
}
.period { color: var(--teal); font-family: Outfit, sans-serif; font-size: 13px; }

.panel { padding: 28px 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.span-2 { grid-column: 1 / -1; }
label { display: block; margin-bottom: 6px; font-size: 14px; }
label i { color: var(--danger); font-style: normal; }
.field {
  width: 100%; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.field:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(46, 230, 200, 0.14); outline: none; }
select.field option {
  background: #ffffff;
  color: #142028;
}
textarea.field { min-height: 150px; resize: vertical; }
.count { text-align: end; color: var(--muted); font-size: 12px; font-family: Outfit, sans-serif; margin-top: 4px; }
.form-error { color: var(--danger); display: block; margin-top: 4px; }
.field.is-missing { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 141, 151, 0.28); }
.notice {
  width: min(400px, calc(100% - 32px));
  max-height: min(82vh, 560px);
  margin: auto;
  padding: 22px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-2);
  color: var(--text);
  box-shadow: var(--shadow);
  overflow: auto;
}
.notice::backdrop { background: rgba(8, 14, 18, 0.72); }
.notice-card { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.notice-card h3 { margin: 0; font-size: 1.15rem; text-align: center; }
.notice-card ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.notice-card li {
  margin: 0; padding: 10px 12px; border-radius: 12px; line-height: 1.55; text-align: center;
  background: color-mix(in srgb, var(--text) 6%, transparent);
  border: 1px solid var(--line);
}
.notice-card .btn { width: 100%; min-width: 0; margin: 0; justify-content: center; }
.form-ok { color: var(--ok); margin-bottom: 12px; }
.hp { position: absolute !important; left: -10000px !important; opacity: 0; height: 0; }

.footer { border-top: 1px solid var(--line); padding: 40px 0 28px; }
.footer-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px 56px; }
.footer-brand { flex: 1 1 320px; max-width: 460px; }
.footer-brand p { margin-top: 14px; max-width: 36em; }
.footer p, .footer a, .footer small { color: var(--muted); }
.footer-links {
  flex: 0 1 360px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; align-content: start;
}
.footer-contact { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-contact:empty { display: none; }
.footer-base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px;
  margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); text-align: center;
}
.footer-base small { flex: 1 1 100%; text-align: center; }
.license { flex: 1 1 100%; display: flex; justify-content: center; }
.license-card {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 14px; border-radius: 16px;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--bg-2) 88%, transparent);
  color: var(--text); text-decoration: none;
}
.footer a.license-card { color: var(--text); }
.license-card span { display: flex; flex-direction: column; align-items: center; text-align: center; }
.license-card strong { font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--text); }
.license-card small {
  margin-top: 2px; font-family: Outfit, sans-serif; font-size: 13px; letter-spacing: .03em; color: var(--teal);
}
.license-card img { width: 46px; height: 46px; object-fit: contain; border-radius: 10px; background: #fff; }
.license-card:hover { border-color: color-mix(in srgb, var(--teal) 55%, var(--line)); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--teal); }
.social-strip {
  display: flex; direction: ltr; align-items: center; gap: 16px;
  width: fit-content; margin-top: 18px;
}
.footer .social-strip a {
  display: grid; place-items: center; width: 34px; height: 34px; color: var(--text);
}
.footer .social-strip a:hover { color: var(--teal); }
.brand-icon { display: block; }
.social-strip .brand-icon { width: 22px; height: 22px; }

.floaters { position: fixed; z-index: 25; bottom: 18px; inset-inline-end: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.to-top { width: 54px; height: 46px; border-radius: 23px; background: var(--card); color: var(--teal); }
.to-top svg { width: 22px; height: 22px; display: block; }
.share-box { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.share-box span { font-size: 12px; color: var(--muted); }
.share-box a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; text-decoration: none; color: var(--text); }
.share-box a:hover { color: var(--teal); }
.share-box .brand-icon { width: 18px; height: 18px; }
.wa {
  position: fixed; z-index: 26; bottom: 22px; inset-inline-start: 18px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px; padding-inline-end: 16px;
  border-radius: 999px; text-decoration: none; color: var(--text);
  background: color-mix(in srgb, var(--bg-2) 88%, transparent);
  border: 1px solid color-mix(in srgb, var(--teal) 55%, transparent);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32), 0 0 24px color-mix(in srgb, var(--teal) 22%, transparent);
  backdrop-filter: blur(14px);
  font-weight: 700;
}
.wa-mark {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal); color: var(--teal-ink);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--teal) 14%, transparent);
}
.wa .brand-icon { width: 20px; height: 20px; }
.wa:hover { transform: translateY(-2px); border-color: var(--teal); }
.lightbox { width: min(960px, calc(100% - 28px)); border: 0; border-radius: 18px; padding: 12px; background: #0c1218; color: white; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.72); }
.lightbox-body img, .lightbox-body video {
  display: block; width: auto; max-width: 100%; height: auto; max-height: 78vh; margin-inline: auto;
  object-fit: contain; border: 0; border-radius: 12px; background: black;
}
.lightbox-body iframe { width: 100%; aspect-ratio: 16 / 9; max-height: 78vh; border: 0; border-radius: 12px; background: black; }
.lightbox-close { margin-bottom: 8px; border: 0; background: transparent; color: white; cursor: pointer; }
.toast {
  position: fixed; bottom: 18px; inset-inline-start: 18px; background: var(--teal); color: var(--teal-ink);
  padding: 10px 14px; border-radius: 999px; z-index: 40;
}
.maintenance-body { min-height: 100vh; display: grid; place-items: center; }
.maintenance { text-align: center; max-width: 28rem; padding: 24px; }
.maintenance img { width: 72px; height: 72px; margin: 0 auto 16px; }
.maintenance p { color: var(--muted); }

.motion .reveal { opacity: 0; transform: translateY(22px); }
.motion .reveal.is-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.motion .why-grid .why-card:nth-child(2),
.motion .cards-3 .card:nth-child(3n+2),
.motion .cards-3 .service-card:nth-child(3n+2) { transition-delay: .08s; }
.motion .why-grid .why-card:nth-child(3),
.motion .cards-3 .card:nth-child(3n),
.motion .cards-3 .service-card:nth-child(3n) { transition-delay: .16s; }
[data-theme="dark"] .section-head h2 {
  background: linear-gradient(180deg, #ffffff 20%, #b7e7df 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes hero-drift {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.16) translate3d(-1.6%, -1%, 0); }
}
@keyframes beam {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(18px); opacity: 1; }
}
@keyframes bokeh {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.45; }
  50% { transform: translate3d(0, -16px, 0); opacity: 1; }
}
@keyframes sheen {
  0%, 55% { transform: translateX(-18%); }
  100% { transform: translateX(18%); }
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-2px, 1px); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@keyframes ping {
  0% { transform: scale(0.92); opacity: 0.7; }
  100% { transform: scale(1.45); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
  .motion .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .header { display: flex; padding-inline-start: 64px; }
  .tools { margin-inline-start: auto; }
  .nav-toggle {
    display: grid;
    position: absolute;
    inset-inline-start: 14px;
    top: 50%;
    transform: translateY(-50%);
  }
  .nav {
    display: none; position: absolute; inset-inline: 12px; top: 70px; flex-direction: column;
    background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 12px;
  }
  .nav.is-open {
    display: flex; align-items: stretch; gap: 2px; padding: 8px;
    width: min(280px, calc(100% - 72px)); max-width: none;
    inset-inline: 0; margin-inline: auto;
  }
  .nav.is-open a {
    width: 100%; padding: 8px 12px; line-height: 1.35; text-align: center; border-radius: 10px;
  }
  .nav.is-open a::after { display: none; }
  .nav.is-open a:hover,
  .nav.is-open a[aria-current] {
    color: var(--teal);
    background: color-mix(in srgb, var(--teal) 16%, transparent);
  }
  .nav a + a::before { display: none; }
  .why-grid, .cards-3, .hero-layout { grid-template-columns: 1fr; }
  .footer-main { flex-direction: column; align-items: center; justify-content: flex-start; gap: 18px; }
  .footer { padding-bottom: 88px; }
  .footer-brand {
    display: flex; flex-direction: column; align-items: center; flex: none; width: 100%; max-width: none; text-align: center;
  }
  .footer-brand .brand { flex-direction: column; gap: 8px; text-align: center; }
  .footer-brand .brand strong, .footer-brand .brand small { text-align: center; }
  .footer-brand p { text-align: center; max-width: 16em; line-height: 1.85; }
  .footer-links { flex: none; width: 100%; max-width: 320px; margin: 0 auto; justify-items: center; text-align: center; gap: 8px 28px; }
  .footer-base { justify-content: center; text-align: center; margin-top: 12px; padding-top: 12px; }
  .hero-craft { display: block; margin-top: 8px; }
  .hero { min-height: 0; align-items: flex-start; padding: 96px 0 40px; }
  .hero h1 { font-size: 1.9rem; line-height: 1.4; max-width: none; }
  .hero-copy .lede { font-size: 1rem; line-height: 1.85; }
  .hero .btn-row { display: grid; grid-template-columns: 1fr 1fr; }
  .hero .btn-row .btn { display: grid; place-items: center; min-height: 46px; padding: 10px 12px; text-align: center; }
  .stats {
    width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0; margin-top: 22px; padding: 14px 6px;
  }
  .stats div {
    margin: 0; padding: 0 8px; text-align: center;
    border-inline-end: 1px solid rgba(255, 255, 255, 0.16);
  }
  .stats div:last-child { border: 0; }
  .stats b { font-size: 1.2rem; }
  .stats span { display: block; font-size: 12px; line-height: 1.45; margin-top: 4px; }
  .skill-list { justify-content: center; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  #contact-form .form-foot { flex-direction: column; align-items: stretch; gap: 12px; }
  #contact-form .human-check { justify-content: center; }
  #contact-form .send-wrap { width: 100%; }
  #contact-form .btn-send { width: 100%; }
}
@media (max-width: 640px) {
  .stage { flex-direction: column; min-height: 0; gap: 12px; }
  .stage-frame { order: -1; width: 100%; min-height: 292px; border-radius: 22px; }
  .stage-names {
    flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center;
    width: auto; gap: 8px 14px; padding: 0 4px 0 62px;
  }
  .layer-board { inset: 14px 12px 108px 12px; }
  .layer-film { left: 12px; right: 72px; bottom: 72px; }
  .layer-code { left: 12px; bottom: 12px; width: 58%; height: 104px; }
  .layer-phone { right: 10px; bottom: 10px; }
  .stage .phone { width: 68px; height: 124px; }
  .stage .board { padding: 10px; gap: 8px; }
  .board-mark { width: 32px; height: 32px; }
  .stage .reel { min-height: 64px; padding: 4px 6px; }
  .frames { min-height: 34px; }
  .skill-list { justify-content: center; gap: 12px; }
  .skill {
    flex: 0 1 148px; width: 148px; max-width: calc(50% - 8px); min-height: 0;
    padding: 12px 8px; gap: 8px;
  }
  .skill-mark { width: 40px; height: 40px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--tone, var(--teal)) 10%, transparent); }
  .skill-mark svg { width: 18px; height: 18px; }
  .skill-copy strong { font-size: 13px; }
  .skill-copy small { font-size: 10.5px; }
  .corner { display: none; }
}
