/* SPcx marketing site, gold and black. One stylesheet for AR (rtl) and EN (ltr): logical properties only. */
:root {
  --gold: #cfa645;          /* SPcx wordmark gold */
  --gold-hi: #ecd28f;
  --gold-lo: #a8842f;
  --gold-grad: linear-gradient(100deg, #f1dc9e 0%, #cfa645 45%, #a8842f 100%);
  --black: #050505;
  --ink: #0b0b0c;
  --char: #141416;
  --char-2: #1c1c1f;
  --line: rgba(207, 166, 69, .22);
  --line-soft: rgba(255, 255, 255, .08);
  --text: #f3f1ec;
  --muted: rgba(243, 241, 236, .62);
  --white: #fff;
  --radius: 25px;
  --hdr-h: 84px;
  --ease: cubic-bezier(.65, 0, .35, 1);
  --font: "Ubuntu", "Noto Kufi Arabic", system-ui, sans-serif;
  --dir: 1;
  color-scheme: dark;
}
[dir="rtl"] { --font: "Noto Kufi Arabic", "Ubuntu", system-ui, sans-serif; --dir: -1; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--black); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--gold); color: var(--black); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 2000; background: var(--gold); color: var(--black); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: calc(1400px + 6%); margin-inline: auto; padding-inline: 3%; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- icons ---------- */
.ic { width: 20px; height: 20px; flex-shrink: 0; }
.ic--sm { width: 16px; height: 16px; }
.ic--arrow { width: 18px; height: 18px; transform: scaleX(var(--dir)); transition: transform .3s; }
.ic--tick { width: 20px; height: 20px; color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 10px; font-weight: 600; font-size: 15px; line-height: 1.2;
  transition: background .3s, color .3s, transform .3s, box-shadow .3s, border-color .3s; white-space: nowrap;
}
.btn:hover .ic--arrow { transform: scaleX(var(--dir)) translateX(4px); }
.btn--gold { background: var(--gold-grad); background-size: 160% 100%; background-position: 0 0; color: var(--black); transition: background-position .5s, box-shadow .3s; }
.btn--gold:hover { background-position: 100% 0; box-shadow: 0 10px 30px rgba(207, 166, 69, .35); }
.btn--line { border: 1px solid var(--gold); color: var(--gold); }
.btn--line:hover { background: var(--gold); color: var(--black); }
.btn--ghost { color: var(--white); border: 1px solid rgba(255, 255, 255, .45); backdrop-filter: blur(6px); background: rgba(255, 255, 255, .05); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.play { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--black); }
.play svg { width: 13px; height: 13px; margin-inline-start: 2px; }
[dir="rtl"] .play svg { transform: scaleX(-1); margin-inline-start: 0; margin-inline-end: 2px; }

/* ---------- typography ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--gold); margin-bottom: 12px; letter-spacing: .04em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.title { font-size: clamp(1.75rem, 1.1rem + 2.1vw, 3rem); line-height: 1.25; font-weight: 700; color: var(--white); margin-bottom: 20px; }
.title--center { text-align: center; }
.sec__head { text-align: center; margin-bottom: clamp(24px, 4vh, 44px); }
.sec__head .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--gold); }
.sec__lead { color: var(--muted); max-width: 560px; margin: -6px auto 0; }

/* ---------- reveal animations (AOS-like) ---------- */
[data-a] { transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1), clip-path 1.3s var(--ease); transition-delay: var(--d, 0ms); }
[data-a="up"] { opacity: 0; transform: translateY(46px); }
[data-a="start"] { opacity: 0; transform: translateX(calc(-70px * var(--dir))); }
[data-a="reveal"] { clip-path: inset(100% 0 0 0 round var(--radius)); }
[data-a].in { opacity: 1; transform: none; }
[data-a="reveal"].in { clip-path: inset(0 0 0 0 round var(--radius)); }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset-inline: 0; top: 0; z-index: 1000; padding: 16px 0;
  border-bottom: 1px solid transparent;
  transition: background .3s ease-in-out, padding .3s ease-in-out, border-color .3s;
  animation: fadeInDown .8s ease both;
}
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.hdr__logo { width: 150px; flex-shrink: 0; transition: width .3s; }
.hdr__logo img { width: 100%; height: auto; }
.hdr__nav ul { display: flex; gap: clamp(16px, 2.2vw, 38px); }
.hdr__nav a { color: var(--text); font-size: 15px; font-weight: 500; position: relative; padding: 6px 0; transition: color .3s; }
.hdr__nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .35s; }
.hdr__nav a:hover { color: var(--gold); }
.hdr__nav a:hover::after, .hdr__nav a.is-active::after { transform: scaleX(1); }
.hdr__actions { display: flex; align-items: center; gap: 18px; }
.lang { display: grid; place-items: center; min-width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); font-size: 14px; font-weight: 700; color: var(--text); transition: background .3s, color .3s, border-color .3s; }
.lang:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; inset-inline: 9px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s, background .3s; }
.burger:hover span { background: var(--gold); }
.burger span:nth-child(1) { top: 13px; } .burger span:nth-child(2) { top: 19px; } .burger span:nth-child(3) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* solid states: hover over the transparent bar, or any section after the hero */
.hdr:hover, .hdr.is-solid, .hdr.menu-open { background: rgba(5, 5, 5, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
/* after the hero the bar compacts: nav folds into the burger, like the reference */
.hdr.is-solid { padding: 10px 0; }
.hdr.is-solid .hdr__logo { width: 120px; }
.hdr.is-solid .hdr__nav { display: none; }
.hdr.is-solid .burger { display: block; }

.menu { position: absolute; inset-inline: 0; top: 100%; background: var(--ink); border-bottom: 1px solid var(--line); border-radius: 0 0 30px 30px; box-shadow: 0 30px 60px rgba(0, 0, 0, .6); padding: 12px 0 28px; animation: slideDownMenu .35s ease both; }
.menu ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 24px; margin-bottom: 18px; }
.menu a:not(.btn) { display: block; padding: 12px 0; font-size: 18px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--line-soft); transition: color .3s, padding .3s; }
.menu a:not(.btn):hover, .menu a.is-active { color: var(--gold); padding-inline-start: 8px; }

/* ---------- full-page stack (desktop) ---------- */
.fp-on body { overflow: hidden; }
.fp-on .fp { position: relative; height: 100vh; height: 100dvh; overflow: hidden; }
.fp-on .sec { position: absolute; inset: 0; height: 100%; transform: translateY(100%); transition: transform .7s ease-in-out; will-change: transform; box-shadow: 0 -30px 60px rgba(0, 0, 0, .55); }
.fp-on .sec.is-up { transform: translateY(0); }
.fp-on .sec__inner { height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--hdr-h) + 2vh) 0 4vh; }
.fp-on .sec__inner::-webkit-scrollbar { display: none; }
.fp-on .sec__inner > .container { margin-block: auto; }
.fp-off .sec { position: relative; }
.fp-off .sec__inner { padding: clamp(80px, 12vw, 120px) 0 clamp(56px, 8vw, 90px); }
.sec { background: var(--black); overflow: hidden; }
/* a faint gold light in the corner of each dark section */
.sec:not(.hero)::before { content: ""; position: absolute; inset-inline-start: -15%; top: -25%; width: 60%; height: 70%; background: radial-gradient(closest-side, rgba(207, 166, 69, .09), transparent); pointer-events: none; }

/* ---------- hero ---------- */
.hero { color: var(--white); background: #000; min-height: 100vh; min-height: 100svh; }
.hero__video, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__video { object-fit: cover; }
/* the film carries its own captions, so the copy side is shaded harder to keep the headline clean */
.hero__video { filter: blur(2px) saturate(.85); transform: scale(1.03); }
.hero__shade {
  background:
    linear-gradient(calc(90deg * var(--dir)), rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .66) 45%, rgba(0, 0, 0, .25) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .75) 100%);
}
.hero__content { position: absolute; inset-inline: 0; bottom: 14vh; z-index: 2; }
.hero__title { display: flex; flex-direction: column; font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4.6rem); line-height: 1.2; font-weight: 700; margin-bottom: 18px; }
.hero__title span:last-child { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.hero__tag { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: clamp(14px, .75rem + .4vw, 19px); font-weight: 700; margin-bottom: 14px; }
.hero__tag:lang(en) { letter-spacing: .16em; }
.hero__tag-lead { color: rgba(255, 255, 255, .85); }
.hero__tag b { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__tag i { width: 1px; height: 1.1em; background: rgba(207, 166, 69, .7); }
.hero__sub { max-width: 620px; font-size: clamp(15px, .9rem + .3vw, 19px); color: rgba(255, 255, 255, .82); margin-bottom: 30px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll { position: absolute; z-index: 2; bottom: 28px; inset-inline-end: 3%; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; color: rgba(255, 255, 255, .75); }
.hero__scroll i { width: 24px; height: 38px; border: 2px solid rgba(207, 166, 69, .8); border-radius: 14px; position: relative; }
.hero__scroll i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: wheel 1.8s ease-in-out infinite; }

/* ---------- about + stats ---------- */
.stats { display: flex; gap: 1px; padding: 1px; border-radius: var(--radius) var(--radius) 0 0; background-image: linear-gradient(rgba(207, 166, 69, .55) 0%, rgba(207, 166, 69, 0) 100%); overflow: hidden; margin-bottom: clamp(24px, 4vh, 48px); }
.stat { flex: 1; background: var(--black); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 18px 12px 14px; }
.stat:first-child { border-start-start-radius: var(--radius); }
.stat:last-child { border-start-end-radius: var(--radius); }
.stat__icon { width: 46px; height: 46px; color: var(--gold); }
.stat__icon .draw { width: 100%; height: 100%; }
.draw path, .draw rect, .draw circle { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s ease .3s; }
.in .draw path, .in .draw rect, .in .draw circle { stroke-dashoffset: 0; }
.stat__value { font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3.4rem); font-weight: 700; line-height: 1.15; direction: ltr; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { font-size: 15px; font-weight: 600; color: var(--text); }
.about__grid { display: flex; align-items: center; justify-content: space-between; gap: 5%; }
.about__text { width: 48%; }
.about__text p { color: var(--muted); margin-bottom: 14px; }
.about__text strong { font-weight: 700; color: var(--gold); }
.about__text .btn { margin-top: 12px; }
.about__media { width: 47%; max-width: 680px; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(207, 166, 69, .08); }
.parallax img { width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scale(1.18); transition: transform 1.6s var(--ease) .2s; }
.parallax.in img { transform: scale(1.04) translate(var(--px, 0), var(--py, 0)); transition: transform .6s ease-out; }

/* ---------- modules ---------- */
.modules { background: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 30px); }
.card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-align: start; background: var(--char); border: 1px solid var(--line-soft); transition: border-color .3s, box-shadow .3s; }
.card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.fp-on .card__img { aspect-ratio: auto; height: min(26vh, 300px); }
.card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease, filter .5s; filter: grayscale(.35) brightness(.85); }
.card__overlay { position: absolute; inset: auto 0 0 0; min-height: 65%; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 22px 26px; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .92) 100%); }
.card__title { color: var(--white); font-size: clamp(17px, .9rem + .5vw, 24px); font-weight: 600; line-height: 1.25; transition: transform .3s, color .3s; }
.card__desc { color: var(--muted); font-size: 14px; line-height: 1.5; max-height: 0; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s, max-height .35s; overflow: hidden; }
.card:hover { border-color: var(--gold); box-shadow: 0 20px 50px rgba(0, 0, 0, .5), 0 0 40px rgba(207, 166, 69, .15); }
.card:hover .card__img img { transform: scale(1.1); filter: none; }
.card:hover .card__title { transform: translateY(-6px); color: var(--gold-hi); }
.card:hover .card__desc { opacity: 1; transform: none; max-height: 3em; }
@media (hover: none) { .card__desc { opacity: 1; transform: none; max-height: 3em; } }

/* ---------- how it works (split panel) ---------- */
.how { background: var(--ink); }
.split { display: flex; justify-content: space-between; gap: 10px; background: var(--char); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.split__text { width: 53%; padding: clamp(28px, 4vh, 48px) 6%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.steps { display: grid; gap: clamp(10px, 1.6vh, 16px); margin: 6px 0 clamp(18px, 3vh, 30px); }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.num { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font-weight: 700; font-size: 14px; direction: ltr; transition: background .3s, color .3s; }
.steps li:hover .num { background: var(--gold); color: var(--black); }
.steps strong { display: block; font-size: 17px; color: var(--white); line-height: 1.35; }
.steps span span { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.split__media { width: calc(47% - 10px); display: flex; flex-direction: column; gap: 2px; height: clamp(420px, 66vh, 650px); border-start-end-radius: var(--radius); border-end-end-radius: var(--radius); overflow: hidden; }
.split__img { flex: 0 0 50%; overflow: hidden; transition: flex .8s; position: relative; background: var(--white); }
.split__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s; }
.split__media:hover .split__img { flex-basis: 40%; }
.split__media .split__img:hover { flex-basis: 60%; }
.split__img:hover img { transform: scale(1.06); }

/* ---------- features ---------- */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.feat { display: flex; flex-direction: column; gap: 6px; padding: clamp(16px, 2.4vh, 26px) 22px; border-radius: 20px; border: 1px solid var(--line-soft); background: var(--char); transition: border-color .3s, box-shadow .3s, transform .3s, background .3s; }
.feat__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(207, 166, 69, .12); color: var(--gold); margin-bottom: 6px; transition: transform .3s, background .3s, color .3s; }
.feat__icon .ic { width: 24px; height: 24px; }
.feat strong { font-size: 16.5px; color: var(--white); line-height: 1.35; }
.feat span:last-child { font-size: 14px; color: var(--muted); line-height: 1.55; }
.feat:hover { border-color: var(--gold); background: var(--char-2); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); transform: translateY(-4px); }
.feat:hover .feat__icon { transform: scale(1.15); background: var(--gold); color: var(--black); }
.sectors { margin-top: clamp(18px, 3vh, 32px); text-align: center; }
.sectors__label { margin: 0 0 12px; font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--gold); }
.sectors__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.sectors__list li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); font-size: 13.5px; line-height: 1.5; transition: border-color .3s, background .3s; }
.sectors__list li:hover { border-color: var(--gold); background: rgba(207, 166, 69, .1); }

/* ---------- demo + footer ---------- */
.demo { background: var(--black); color: var(--white); }
.demo::after { content: ""; position: absolute; inset-inline-end: -10%; top: 10%; width: 55%; height: 80%; background: radial-gradient(closest-side, rgba(207, 166, 69, .14), transparent); pointer-events: none; }
.fp-on .demo .sec__inner { justify-content: flex-start; padding-bottom: 0; }
.demo__mark { position: absolute; inset-inline-end: -60px; bottom: -40px; width: 420px; opacity: .05; pointer-events: none; }
.demo__grid { display: flex; justify-content: space-between; align-items: center; gap: 6%; position: relative; z-index: 1; margin-block: auto; padding-bottom: clamp(28px, 5vh, 56px); }
.demo__text { width: 42%; }
.demo__text p { color: var(--muted); margin-bottom: 22px; font-size: 17px; }
.ticks { display: grid; gap: 12px; margin: 20px 0 26px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.form { width: 52%; background: var(--char); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vh, 34px); box-shadow: 0 40px 80px rgba(0, 0, 0, .55); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field--wide { grid-column: 1 / -1; }
.req { color: var(--gold); margin-inline-start: 3px; }
.field input, .field textarea { font: inherit; font-weight: 400; color: var(--white); width: 100%; border: 1px solid var(--line-soft); background: var(--black); border-radius: 10px; padding: 11px 14px; transition: border-color .3s, box-shadow .3s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(207, 166, 69, .14); }
.field__err { display: none; font-style: normal; font-weight: 500; font-size: 12px; color: #ff7a6b; }
.field.is-bad input { border-color: #ff7a6b; }
.field.is-bad .field__err { display: block; }
.form__note { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; color: var(--muted); }
.form__note a { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form__status { font-size: 14px; margin-top: 8px; font-weight: 600; }
.form__status.ok { color: #7ed69c; }
.form__status.bad { color: #ff7a6b; }

.ftr { position: relative; z-index: 1; background: #000; border-top: 1px solid var(--line); }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; padding-block: clamp(30px, 5vh, 52px) 26px; }
.ftr__brand > img { width: 150px; height: auto; margin-bottom: 14px; }
.ftr__brand p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.ftr__by { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.ftr__by img { width: 120px; margin: 0; }
.ftr h3 { font-size: 15px; font-weight: 700; color: var(--gold); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.ftr__links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.ftr__links a, .ftr__line { color: rgba(255, 255, 255, .82); font-size: 14px; transition: color .3s; }
.ftr__links a:hover, .ftr__line:hover { color: var(--gold); }
.ftr__line { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.social { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--gold); margin-bottom: 12px; transition: background .3s, color .3s, border-color .3s; }
.social svg { width: 17px; height: 17px; }
.social:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.ftr__bottom { border-top: 1px solid var(--line-soft); padding-block: 16px; font-size: 13px; color: var(--muted); }

/* ---------- side dots + back to top ---------- */
.dots { position: fixed; inset-inline-end: 22px; top: 50%; transform: translateY(-50%); z-index: 900; display: none; flex-direction: column; gap: 14px; }
.fp-on .dots { display: flex; }
.dots a { position: relative; width: 12px; height: 12px; display: grid; place-items: center; }
.dots a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .3); transition: transform .3s, background .3s; }
.dots a.is-active::before { background: var(--gold); transform: scale(1.5); }
.dots span { position: absolute; inset-inline-end: 22px; white-space: nowrap; font-size: 12px; font-weight: 600; background: var(--gold); color: var(--black); padding: 4px 10px; border-radius: 6px; opacity: 0; transform: translateX(calc(8px * var(--dir) * -1)); transition: opacity .25s, transform .25s; pointer-events: none; }
.dots a:hover span { opacity: 1; transform: none; }
.totop { position: fixed; inset-inline-end: 16px; bottom: 16px; z-index: 900; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--black); box-shadow: 0 8px 20px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s, background .3s; }
.totop .ic { transform: rotate(180deg); }
.totop.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--gold-hi); }

/* ---------- modals ---------- */
.modal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .8); backdrop-filter: blur(6px); animation: fade .3s ease both; }
.modal__panel { position: relative; background: var(--char); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); width: min(1120px, 100%); max-height: calc(100vh - 40px); overflow: auto; animation: pop .45s cubic-bezier(.2, .8, .2, 1) both; }
.modal__x { position: absolute; inset-inline-end: 14px; top: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: var(--gold); border: 1px solid var(--line); transition: transform .3s, background .3s, color .3s; }
.modal__x:hover { transform: rotate(90deg); background: var(--gold); color: var(--black); }
.film { width: min(1200px, 100%); background: #000; overflow: hidden; }
.film video { width: 100%; height: auto; max-height: calc(100vh - 40px); }

/* ---------- keyframes ---------- */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes slideDownMenu { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(207, 166, 69, .5); } 100% { box-shadow: 0 0 0 14px rgba(207, 166, 69, 0); } }
@keyframes labelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.97); } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hdr__nav { display: none; }
  .burger { display: block; }
  .feats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1023px) {
  .hdr__logo { width: 120px; }
  .about__grid, .demo__grid { flex-direction: column; align-items: stretch; gap: 32px; }
  .about__text, .about__media, .demo__text, .form { width: 100%; }
  .about__media { max-width: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split { flex-direction: column; }
  .split__text { width: 100%; }
  .split__media { width: 100%; height: 520px; border-radius: 0 0 var(--radius) var(--radius); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
    }
@media (max-width: 680px) {
  .hdr__cta { display: none; }
  .hdr__actions { gap: 10px; }
  .menu ul { grid-template-columns: 1fr; }
  .stats { flex-wrap: wrap; border-radius: 18px 18px 0 0; }
  .stat { flex: unset; width: calc(50% - .5px); }
  .stat:nth-child(2) { border-start-end-radius: 18px; }
  .stat:first-child { border-start-start-radius: 18px; }
  .stat:last-child { border-radius: 0; }
  .stat__label { font-size: 13px; }
  .cards { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr 1fr; }
  .feat { padding: 16px; }
  .feat strong { font-size: 15px; }
  .form__grid { grid-template-columns: 1fr; }
  .split__media { height: 420px; }
  .ftr__grid { grid-template-columns: 1fr; }
  .hero__content { bottom: 12vh; }
  .hero__scroll { display: none; }
  .btn { padding: 12px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-a] { opacity: 1; transform: none; clip-path: none; }
}
