/* ==========================================================================
   Falak Innovation — site design system
   Ported from the Falak Innovation Site v2 canvas. Tokens first, then layout,
   then components. Everything is direction-agnostic (logical properties) so
   the same CSS serves the Arabic (RTL) and English (LTR) renders.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --a: #FF4B00;
  --al: #FF7A2E;

  --bg: #050505;
  --bg-alt: #030303;
  --bg-deep: #000000;
  --bg-panel: #0A0A0C;
  --bg-input: #08080A;
  --bg-hover: #16161A;

  --card: linear-gradient(165deg, #0F0F12, #08080A);
  --card-accent: linear-gradient(165deg, #141013, #08080A);

  --txt: #F7F7F5;
  --txt-2: #B9B9B6;
  --txt-3: #A5A5A2;
  --txt-4: #82827C;
  --white: #FFFFFF;

  --line: rgba(255, 255, 255, .09);
  --line-soft: rgba(255, 255, 255, .07);
  --line-strong: rgba(255, 255, 255, .14);

  --grad-a: linear-gradient(180deg, #FF5A12, #E63F00);
  --grad-ghost: linear-gradient(180deg, #1A1A1D, #101012);
  --shadow-a: 0 12px 30px rgba(255, 75, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .22);

  --r-xl: 20px;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 10px;

  --wrap: 1360px;
  --pad-x: clamp(20px, 5vw, 64px);
  --sec-y: clamp(72px, 9vw, 136px);
  --sec-y-sm: clamp(64px, 8vw, 120px);

  --font: 'Plus Jakarta Sans', 'IBM Plex Sans Arabic', system-ui, -apple-system, sans-serif;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--txt); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--al); }

img { max-width: 100%; display: block; }

input, textarea, select, button { font: inherit; color: inherit; }
::placeholder { color: #6A6A68; }
:focus-visible { outline: 2px solid var(--a); outline-offset: 3px; }
select option { background: #0D0D0D; color: var(--txt); }
summary::-webkit-details-marker { display: none; }

h1, h2, h3, h4, p { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Arabic typography tuning — Arabic sets tighter with no letter-spacing. */
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] blockquote {
  letter-spacing: 0;
  font-weight: 700;
}
html[lang="ar"] h1 { line-height: 1.18; }
html[lang="ar"] h2 { line-height: 1.28; }
html[lang="ar"] p, html[lang="ar"] li { line-height: 2; }
html[lang="ar"] .eyebrow { letter-spacing: .08em; }

.ltr { direction: ltr; unicode-bidi: isolate; }

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; }
.wrap-narrow { max-width: 1000px; margin-inline: auto; }
.wrap-text { max-width: 860px; margin-inline: auto; }

.section {
  padding: var(--sec-y) var(--pad-x);
  border-top: 1px solid var(--line-soft);
}
.section--sm { padding-block: var(--sec-y-sm); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); }
.section--flush { border-top: 0; }

.page-hero {
  padding: clamp(48px, 6vw, 86px) var(--pad-x) clamp(40px, 5vw, 64px);
}

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid--auto-sm { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.grid--auto-lg { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--two { grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); }
/* asymmetric two-column splits — both collapse to one column below 980px */
.grid--split { grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 4vw, 64px); }
.grid--aside { grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.grid--hairline {
  gap: 1px;
  background: rgba(255, 255, 255, .08);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.grid--hairline > * { background: var(--bg); padding: clamp(24px, 2.8vw, 32px); }
.section--alt .grid--hairline > * { background: var(--bg); }

.stack { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* ---------- type ---------- */
.eyebrow {
  display: block;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--a);
}

.h1 {
  font-size: clamp(34px, 5.4vw, 68px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.03em;
  color: var(--white);
}
.h1--hero { font-size: clamp(40px, 6.6vw, 86px); line-height: 1.04; }

.h2 {
  font-size: clamp(28px, 4.2vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--txt);
}
.h2--sm { font-size: clamp(26px, 3.8vw, 48px); }
.h2--cta { font-size: clamp(24px, 3.4vw, 44px); color: var(--white); }
.h2--giant {
  font-size: clamp(38px, 8.4vw, 112px);
  line-height: .98;
  letter-spacing: -.015em;
  text-transform: uppercase;
  color: var(--white);
}
html[lang="ar"] .h2--giant { text-transform: none; line-height: 1.1; }

.h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--white);
}
.h3--lg { font-size: clamp(21px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.02em; }

.lead {
  font-size: clamp(15.5px, 1.25vw, 18px);
  line-height: 1.85;
  color: var(--txt-2);
}
.body { font-size: 15px; line-height: 1.85; color: var(--txt-3); }
.body--bright { color: var(--txt-2); }
.muted { color: var(--txt-3); }
.accent { color: var(--a); }
.small { font-size: 13px; color: var(--txt-3); }

.mt-sm { margin-top: 14px; }
.mt { margin-top: 22px; }
.mt-lg { margin-top: clamp(28px, 3.4vw, 44px); }
.mb { margin-bottom: 20px; }
.mb-lg { margin-bottom: clamp(36px, 4.5vw, 60px); }
.mb-xl { margin-bottom: clamp(40px, 5vw, 72px); }
.measure { max-width: 62ch; }
.measure-sm { max-width: 52ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 16px 28px;
  border: 0;
  border-radius: var(--r-md);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, color .3s ease;
}
.btn i { font-size: 19px; }
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--grad-a);
  color: var(--white);
  box-shadow: var(--shadow-a);
}
.btn--primary:hover {
  color: var(--white);
  box-shadow: 0 16px 38px rgba(255, 75, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .26);
}

.btn--ghost {
  border: 1px solid var(--line-strong);
  background: var(--grad-ghost);
  color: var(--txt);
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, .3); color: var(--txt); }

.btn--sm { padding: 13px 22px; font-size: 14px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 500;
  color: #D7D7D4;
}
.link-arrow i { font-size: 17px; color: var(--a); }
.link-arrow:hover { color: var(--al); }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  font-size: 13.5px;
  color: #D7D7D4;
  transition: border-color .25s ease, color .25s ease;
}
.chip:hover { border-color: rgba(255, 122, 46, .55); color: var(--white); }
.chip--static { border-radius: var(--r-sm); padding: 12px 18px; font-size: 14px; color: var(--txt-2); }

/* rotating beam ring on primary surfaces */
@property --fk-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes fk-ring { to { --fk-ang: 360deg; } }

.beam { position: relative; }
.beam::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  background: conic-gradient(from var(--fk-ang), transparent 0 62%, rgba(255, 255, 255, .35) 74%, rgba(255, 179, 138, .95) 84%, rgba(255, 75, 0, .9) 90%, transparent 97%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: fk-ring 3.4s linear infinite;
}
.beam:hover::before { animation-duration: 1.5s; }

/* ---------- cards ---------- */
.card {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--card);
  transition: border-color .3s ease;
}
.card:hover { border-color: rgba(255, 255, 255, .2); }
.card--sm { padding: clamp(24px, 2.8vw, 36px); border-radius: 18px; }
.card--accent { border-color: rgba(255, 75, 0, .4); background: var(--card-accent); }
.card__icon { font-size: 42px; color: var(--a); }
.card__icon--lg { font-size: 46px; }
.card__title { margin: 20px 0 10px; font-size: 21px; font-weight: 600; letter-spacing: -.015em; color: var(--white); }
.card__title--lg { font-size: clamp(20px, 2.2vw, 28px); margin-top: 22px; }

.feature {
  display: flex;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.6;
  color: #D7D7D4;
}
.feature i { font-size: 17px; color: var(--a); flex-shrink: 0; }
.feature--lg { padding: 14px 0; gap: 12px; font-size: 14.5px; }
.feature--lg i { font-size: 21px; }

.meta-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 20px;
  font-size: 13px;
  color: var(--txt-4);
}
.meta-line i { font-size: 16px; }

.tile__icon { font-size: 30px; color: var(--a); }
.tile__title { margin: 16px 0 8px; font-size: 17px; font-weight: 600; color: var(--white); }
.tile__label { margin: 18px 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--a); }

.stack-col__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--a);
}
.stack-col__head i { font-size: 20px; }
.stack-col__list { font-size: 14.5px; line-height: 2.1; color: #D7D7D4; }

/* ---------- header ---------- */
.header-spacer { height: 90px; flex-shrink: 0; }

.hdr {
  position: fixed;
  top: 14px;
  inset-inline: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  width: min(100% - 24px, 1400px);
  margin-inline: auto;
  padding: 11px 14px;
  background: rgba(10, 10, 12, .82);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  transition: background .3s ease, box-shadow .3s ease;
}
.hdr[data-scrolled="1"] {
  background: rgba(8, 8, 10, .94);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .6);
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__logo { height: 34px; width: auto; object-fit: contain; display: block; }
.brand__logo--lg { height: 46px; }
.brand:hover { opacity: .85; }

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1vw, 14px);
  font-size: 14.5px;
  color: var(--txt-2);
}
.nav a { color: inherit; padding: 9px 12px; border-radius: 999px; white-space: nowrap; }
.nav a:hover { background: var(--bg-hover); color: var(--txt); }
.nav a[aria-current="page"] { background: var(--bg-hover); color: var(--white); }

.dd { position: relative; }
.dd > a { display: flex; align-items: center; gap: 8px; }
.dd__caret { font-size: 15px; transition: transform .25s ease; }
.dd__panel {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-start: 50%;
  transform: translateX(-50%) translateY(-8px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: min(90vw, 520px);
  padding: 10px;
  background: #0C0C0F;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.dd:hover .dd__panel, .dd:focus-within .dd__panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dd:hover .dd__caret, .dd:focus-within .dd__caret { transform: rotate(180deg); }
.dd__item {
  display: flex;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 11px;
}
.dd__item:hover { background: var(--bg-hover); color: var(--txt); }
.dd__item i { font-size: 24px; color: var(--a); flex-shrink: 0; }
.dd__item b { display: block; font-size: 14px; font-weight: 600; color: var(--txt); }
.dd__item small { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: var(--txt-3); }

.hdr__actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 10px; }

.lang-btn {
  background: #141416;
  border: 1px solid rgba(255, 255, 255, .1);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: #D7D7D4;
  cursor: pointer;
  transition: border-color .25s ease, color .25s ease;
}
.lang-btn:hover { border-color: rgba(255, 255, 255, .28); color: var(--white); }

.hdr__cta {
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  box-shadow: 0 10px 26px rgba(255, 75, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.hdr__cta:hover { transform: none; }

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-md);
  cursor: pointer;
}
.menu-btn i { font-size: 22px; }

/* mobile overlay menu — above the cursor glow (z 90), below the intro (z 200) */
.menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 24px clamp(20px, 6vw, 64px) 40px;
  background: #030303;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}
.menu[data-open="1"] { opacity: 1; pointer-events: auto; }
.menu__close { align-self: flex-end; }
.menu nav { display: flex; flex-direction: column; gap: 2px; margin-block: auto; }
.menu nav > a {
  font-size: clamp(26px, 7vw, 40px);
  font-weight: 600;
  letter-spacing: -.02em;
  padding: 10px 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1);
}
.menu[data-open="1"] nav > a { opacity: 1; transform: none; }
.menu[data-open="1"] nav > a:nth-child(1) { transition-delay: .08s; }
.menu[data-open="1"] nav > a:nth-child(2) { transition-delay: .14s; }
.menu[data-open="1"] nav > a:nth-child(3) { transition-delay: .20s; }
.menu[data-open="1"] nav > a:nth-child(4) { transition-delay: .26s; }
.menu[data-open="1"] nav > a:nth-child(5) { transition-delay: .32s; }
.menu[data-open="1"] nav > a:nth-child(6) { transition-delay: .38s; }
.menu[data-open="1"] nav > a:nth-child(7) { transition-delay: .44s; }
.menu nav > .btn { margin-top: 22px; align-self: flex-start; font-size: 15px; padding: 15px 26px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(32px, 4vw, 72px);
  padding: clamp(40px, 6vw, 92px) var(--pad-x) clamp(56px, 6vw, 84px);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -10%;
  inset-inline-end: -12%;
  width: min(70%, 820px);
  aspect-ratio: 1/1;
  background: radial-gradient(circle at 50% 50%, rgba(255, 75, 0, .16), transparent 62%);
  pointer-events: none;
}
.hero__body { position: relative; z-index: 1; max-width: 720px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3.4vw, 40px); }

.hero__media { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }

.panel {
  position: relative;
  width: min(100%, 540px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, #101013, #070708);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .6);
  overflow: hidden;
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #D7D7D4;
}
.panel__head span:first-child { display: flex; align-items: center; gap: 9px; }
.panel__head i { font-size: 17px; color: var(--a); }
.panel__dots { display: flex; gap: 6px; }
.panel__dots span { width: 7px; height: 7px; border-radius: 50%; background: #2A2A2C; }
.panel__dots span:last-child { background: var(--a); }

.panel__body { position: relative; padding: clamp(20px, 2.4vw, 30px); overflow: hidden; }
.panel__body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 32%, rgba(255, 75, 0, .16), transparent 62%);
  filter: blur(24px);
}
.panel__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(52%, 210px);
  transform: translate(-50%, -50%);
  opacity: .07;
  pointer-events: none;
}
.panel__rows { position: relative; display: flex; flex-direction: column; gap: 22px; }

.bar__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 12.5px;
  color: var(--txt-3);
}
.bar__head b { font-size: 13px; font-weight: 600; color: var(--txt); }
.bar__track {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}
.bar__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #FF5A12, #FFB38A);
  transform-origin: inline-start;
  animation: fk-bar 1.4s cubic-bezier(.2, .7, .2, 1) .5s both;
}
.bar__fill--2 { background: linear-gradient(90deg, #E63F00, #FF7A2E); animation-delay: .75s; }

.spark { display: flex; align-items: flex-end; gap: 8px; height: 84px; }
.spark span {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: rgba(255, 255, 255, .12);
  transform-origin: bottom center;
  animation: fk-col 5s ease-in-out infinite alternate;
}
.spark span:last-child { background: var(--grad-a); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .04);
  border-radius: 999px;
  font-size: 11.5px;
  color: #D7D7D4;
}
.pill i { font-size: 15px; }
.pill--accent { border-color: rgba(255, 75, 0, .35); background: rgba(255, 75, 0, .08); color: #FFB38A; }

.panel__foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-top: 1px solid var(--line-soft);
}
.panel__foot span { padding: 14px 10px; background: #0B0B0D; text-align: center; font-size: 11.5px; color: var(--txt-3); }

/* ---------- banner / callout ---------- */
.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: clamp(18px, 2.4vw, 28px);
  padding: 22px clamp(20px, 2.4vw, 32px);
  border: 1px solid rgba(255, 75, 0, .28);
  border-radius: var(--r-lg);
  background: rgba(255, 75, 0, .06);
}
.callout > i { font-size: 26px; color: var(--a); }
.callout p { flex: 1; min-width: 240px; font-size: 15px; line-height: 1.7; color: var(--txt); }

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}
.cta-band > :first-child { flex: 1; min-width: 260px; }

/* ---------- partners ---------- */
.partner-featured {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border: 1px solid rgba(255, 75, 0, .3);
  border-radius: 14px;
  background: var(--card-accent);
}
.partner-featured i:first-child { font-size: 30px; color: var(--a); }
.partner-featured small { display: block; font-size: 11px; letter-spacing: .18em; color: var(--a); }
.partner-featured b { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; color: var(--white); }

.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 10px; }
.logos > * {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 104px;
  padding: 18px;
  background: #F4F4F2;
  border-radius: var(--r-md);
}
.logos img { max-width: 100%; max-height: 100%; object-fit: contain; opacity: .82; transition: opacity .3s ease; }
.logos > *:hover img { opacity: 1; }

/* ---------- services list (home) ---------- */
.svc { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.svc__rows { display: flex; flex-direction: column; }
.svc__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(14px, 2.2vw, 36px);
  padding: clamp(20px, 2.4vw, 32px) 0;
  border-top: 1px solid var(--line);
  color: var(--txt-3);
  cursor: default;
  transition: color .35s ease;
}
.svc__rows .svc__row:last-child { border-bottom: 1px solid var(--line); }
.svc__row.is-active { color: var(--txt); }
.svc__num {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 6px;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--a);
}
.svc__num i { font-size: 22px; }
.svc__row h3 {
  margin-bottom: 10px;
  font-size: clamp(19px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -.008em;
  color: inherit;
}
.svc__bar {
  display: block;
  height: 1px;
  margin-top: 20px;
  background: var(--a);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.svc__row.is-active .svc__bar { transform: scaleX(1); }

.svc__visual {
  position: relative;
  aspect-ratio: 3/4;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-panel);
  overflow: hidden;
}
.svc__panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 22px;
  padding: clamp(26px, 3vw, 40px);
  opacity: 0;
  transition: opacity .55s ease;
  pointer-events: none;
}
.svc__panel.is-active { opacity: 1; }
.svc__panel i { font-size: 72px; color: var(--a); }
.svc__panel p { font-size: 19px; font-weight: 600; color: var(--txt); }

/* ---------- work rows ---------- */
.work-row {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 3.4vw, 48px) 0;
  border-top: 1px solid var(--line);
}
.work-row:last-child { border-bottom: 1px solid var(--line); }
.work-row--flip > .work-row__media { order: 2; }
.work-row__media {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-panel);
}
.work-row__media img,
.work-row__media .ph-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.work-row:hover .work-row__media img { transform: scale(1.035); }
.work-row__cat { margin-bottom: 12px; font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--a); }
.work-row__stats { display: flex; flex-wrap: wrap; gap: 28px; }
.work-row__stats > span { display: flex; flex-direction: column; gap: 6px; }
.work-row__stats b { font-size: 26px; font-weight: 700; color: var(--white); }
.work-row__stats small { font-size: 12.5px; color: var(--txt-3); }

.ph-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #121216, #0A0A0C);
  color: #3A3A3E;
  font-size: 40px;
}

/* ---------- app cards ---------- */
.app-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  overflow: hidden;
  transition: border-color .3s ease;
}
.app-card:hover { border-color: rgba(255, 75, 0, .4); }
.app-card__shot {
  aspect-ratio: 4/5;
  padding: 18px 18px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.app-card__shot img { max-width: 100%; max-height: 100%; object-fit: contain; object-position: bottom; }
.app-card figcaption { padding: 16px 18px 20px; font-size: 13.5px; line-height: 1.7; color: #D7D7D4; }

/* ---------- process timeline ---------- */
.process { position: relative; }
.process__track {
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-start: 0;
  width: 1px;
  background: rgba(255, 255, 255, .1);
}
.process__beam {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 1px;
  height: 0;
  background: linear-gradient(var(--a), var(--al));
  box-shadow: 0 0 12px rgba(255, 75, 0, .6);
}
.process__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(24px, 3vw, 44px);
  padding-inline-start: clamp(24px, 3vw, 48px);
}
.process__num { margin-bottom: 14px; font-size: 11px; letter-spacing: .2em; color: var(--a); }
.process__grid h3 { margin-bottom: 10px; font-size: 20px; font-weight: 500; color: var(--txt); }

/* ---------- packages ---------- */
.pkg {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--card);
  transition: border-color .3s ease;
}
.pkg:hover { border-color: rgba(255, 255, 255, .2); }
.pkg--popular { border-color: rgba(255, 75, 0, .4); background: var(--card-accent); }
.pkg__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pkg__head h3 { font-size: 22px; font-weight: 600; color: var(--white); }
.pkg__tag {
  padding: 5px 12px;
  background: var(--a);
  color: var(--white);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
}
.pkg__price { font-size: 32px; font-weight: 700; letter-spacing: -.02em; color: var(--white); }
.pkg__price small { font-size: 14px; font-weight: 500; color: var(--txt-3); }
.pkg__features { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; color: #D7D7D4; }
.pkg__features span { display: flex; gap: 10px; }
.pkg__features i { font-size: 17px; color: var(--a); flex-shrink: 0; }
.pkg .btn { margin-top: auto; }

/* ---------- testimonials ---------- */
.quote {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(26px, 3vw, 38px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.quote > i { font-size: 30px; color: var(--a); }
.quote blockquote { margin: 0; font-size: 15.5px; line-height: 1.9; color: #D7D7D4; }
.quote figcaption { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); }
.quote figcaption b { display: block; margin-bottom: 5px; font-size: 14.5px; font-weight: 600; color: var(--white); }
.quote figcaption small { font-size: 13px; line-height: 1.7; color: var(--txt-3); }

/* ---------- articles ---------- */
.post {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .3s ease;
}
.post:hover { border-color: rgba(255, 75, 0, .5); color: var(--txt); }
.post__shot { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-panel); }
.post__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.post:hover .post__shot img { transform: scale(1.035); }
.post__body { padding: 26px; }
.post__tag { margin-bottom: 12px; font-size: 10px; letter-spacing: .2em; color: var(--a); }
.post__title { font-size: 18px; font-weight: 500; line-height: 1.5; color: var(--txt); }
.post__excerpt { margin-top: 12px; font-size: 14px; line-height: 1.8; color: var(--txt-3); }

.prose { font-size: 16.5px; line-height: 1.95; color: var(--txt-2); }
.prose h2 { margin: 40px 0 14px; font-size: 22px; font-weight: 600; color: var(--white); }
.prose h3 { margin: 30px 0 12px; font-size: 18px; font-weight: 600; color: var(--white); }
.prose p { margin-bottom: 20px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-inline-start: 22px; }
.prose li { margin-bottom: 10px; }
.prose a { color: var(--al); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--r-md); margin-block: 26px; }
.prose > :first-child { margin-top: 0; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; }
.faq details { border-top: 1px solid rgba(255, 255, 255, .1); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 2px;
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 600;
  color: var(--txt);
  cursor: pointer;
  list-style: none;
}
.faq summary i { font-size: 22px; color: var(--a); flex-shrink: 0; transition: transform .3s ease; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq p { padding: 0 2px 26px; max-width: 70ch; font-size: 15px; line-height: 1.85; color: var(--txt-3); }

/* ---------- forms ---------- */
.form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-xl);
  background: var(--bg-panel);
  padding: clamp(26px, 3vw, 42px);
}
.field { display: flex; flex-direction: column; gap: 9px; font-size: 12.5px; color: var(--txt-3); }
.field--wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  background: var(--bg-input);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 14px;
  font-size: 15px;
  color: var(--txt);
  transition: border-color .25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--a); }
.field textarea { resize: vertical; min-height: 120px; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--a); }
.field__error { font-size: 12.5px; color: var(--al); }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }

.notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  font-size: 14.5px;
  line-height: 1.7;
}
.notice i { font-size: 22px; flex-shrink: 0; }
.notice--ok { border: 1px solid rgba(125, 235, 169, .35); background: rgba(37, 211, 102, .1); color: #9CEFBF; }
.notice--bad { border: 1px solid rgba(255, 75, 0, .4); background: rgba(255, 75, 0, .08); color: #FFB38A; }

/* ---------- contact rows ---------- */
.contact-row { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #D7D7D4; }
.contact-row__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 11px;
  background: #0C0C0E;
  transition: background .3s ease, border-color .3s ease;
}
.contact-row__icon i { font-size: 20px; color: var(--a); }
.contact-row:hover .contact-row__icon { background: rgba(255, 75, 0, .16); border-color: rgba(255, 75, 0, .45); }

/* ---------- footer ---------- */
.footer {
  padding: clamp(64px, 8vw, 120px) var(--pad-x) 30px;
  background: linear-gradient(180deg, #08080A, #000000);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr .75fr 1.1fr;
  gap: clamp(28px, 3.4vw, 56px);
  padding-bottom: clamp(36px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer__grid nav, .footer__col { display: flex; flex-direction: column; gap: 14px; font-size: 14.5px; color: var(--txt-3); }
.footer__head { margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--white); }

.footer__about { margin-top: 22px; max-width: 32ch; font-size: 15px; line-height: 1.85; color: var(--txt-3); }

.fl { position: relative; width: max-content; }
.fl::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--a);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.fl:hover::after { transform: scaleX(1); }

.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.soc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-md);
  background: #0C0C0E;
  color: #D7D7D4;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), border-color .3s ease, background .3s ease, color .3s ease;
}
.soc i { font-size: 21px; }
.soc:hover { transform: translateY(-4px); }
.soc[data-soc="linkedin"]:hover { border-color: #0A66C2; background: rgba(10, 102, 194, .16); color: #6FB2F5; }
.soc[data-soc="instagram"]:hover { border-color: #E1306C; background: rgba(225, 48, 108, .16); color: #FF8FB8; }
.soc[data-soc="facebook"]:hover { border-color: #1877F2; background: rgba(24, 119, 242, .16); color: #7FB4FB; }
.soc[data-soc="behance"]:hover { border-color: #1769FF; background: rgba(23, 105, 255, .16); color: #8AB4FF; }
.soc[data-soc="youtube"]:hover { border-color: #FF0033; background: rgba(255, 0, 51, .16); color: #FF8099; }
.soc[data-soc="whatsapp"]:hover { border-color: #25D366; background: rgba(37, 211, 102, .16); color: #7DEBA9; }
.soc[data-soc="snapchat"]:hover { border-color: #FFFC00; background: rgba(255, 252, 0, .14); color: #FFFB7A; }
.soc[data-soc="tiktok"]:hover { border-color: #FE2C55; background: rgba(254, 44, 85, .14); color: #FF8AA1; }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--txt-3);
}
.footer__legal > a:first-of-type { margin-inline-start: auto; }

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 20px;
  z-index: 65;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 20px;
  border-radius: var(--r-sm);
  background: #0D0D0D;
  border: 1px solid var(--line-strong);
  color: var(--txt);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  transition: border-color .3s ease, transform .3s ease;
}
.wa-float:hover { border-color: var(--a); transform: translateY(-3px); color: var(--txt); }
.wa-float i { font-size: 26px; color: var(--a); }

/* ---------- intro + cursor glow ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: #000;
  cursor: pointer;
  transition: opacity .6s ease .1s, visibility .6s .1s;
}
.intro[data-done="1"] { opacity: 0; visibility: hidden; }
.intro__mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(74vw, 460px);
}
.intro__spark {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--al);
  box-shadow: 0 0 30px 10px rgba(255, 75, 0, .55);
  animation: fk-i-spark .7s ease-out both;
}
.intro__beam {
  position: absolute;
  left: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 75, 0, .9), transparent);
  filter: blur(.5px);
  animation: fk-i-beam 1s cubic-bezier(.2, .7, .2, 1) .35s both;
}
.intro__mark img { position: relative; width: 100%; height: auto; animation: fk-i-mark .9s cubic-bezier(.2, .7, .2, 1) .55s both; }


.glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity .4s ease;
  will-change: transform;
}
.glow__core { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(255, 75, 0, .22), rgba(255, 75, 0, .07) 38%, transparent 62%); }
.glow__h { position: absolute; top: 50%; left: 50%; width: 200px; height: 1.5px; margin: -.75px 0 0 -100px; background: linear-gradient(90deg, transparent, rgba(255, 122, 46, .55), transparent); }
.glow__v { position: absolute; top: 50%; left: 50%; width: 1.5px; height: 200px; margin: -100px 0 0 -.75px; background: linear-gradient(180deg, transparent, rgba(255, 122, 46, .35), transparent); }
.glow__dot { position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #FFB38A; box-shadow: 0 0 14px 4px rgba(255, 75, 0, .6); }

/* ---------- animation ---------- */
@keyframes fk-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fk-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fk-col { 0% { transform: scaleY(.18); } 55% { transform: scaleY(1); } 100% { transform: scaleY(.62); } }
@keyframes fk-i-spark { 0% { opacity: 0; transform: scale(.2); } 40% { opacity: 1; transform: scale(1); } 100% { opacity: .9; transform: scale(.9); } }
@keyframes fk-i-beam { 0% { width: 0; opacity: 0; } 25% { opacity: 1; } 100% { width: min(62vw, 620px); opacity: 1; } }
@keyframes fk-i-mark { 0% { opacity: 0; transform: scale(.92); filter: blur(6px); } 100% { opacity: 1; transform: scale(1); filter: blur(0); } }
@keyframes fk-i-word { 0% { opacity: 0; transform: translateY(10px) scale(.96); } 100% { opacity: 1; transform: none; } }

.anim-in { animation: fk-in .9s ease-out backwards; }
.anim-in--1 { animation-delay: .25s; }
.anim-in--2 { animation-delay: .4s; }
.anim-in--3 { animation-delay: .5s; }

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}
[data-reveal][data-in="1"] { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (min-width: 981px) {
  .menu-btn { display: none !important; }
}

@media (max-width: 980px) {
  .brand__logo { height: 30px; }
  .nav { display: none; }
  .hdr__cta { display: none; }
  .menu-btn { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero .h1 { font-size: clamp(36px, 6.4vw, 64px); }
  .hero__media img { max-height: none; }
  .grid--two, .grid--split, .grid--aside { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; }
  .svc__visual { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__legal > a:first-of-type { margin-inline-start: 0; }
}

@media (max-width: 680px) {
  .hero .h1 { font-size: clamp(34px, 10.5vw, 64px); }
  .hero__actions > a { flex: 1 1 100%; }
  .work-row, .work-row--flip { grid-template-columns: 1fr; }
  .work-row--flip > .work-row__media { order: 0; }
  .wa-float { padding: 14px; }
  .wa-float span { display: none; }
}

@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .dd__panel { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
}

/* ---------- pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--grad-ghost);
  font-size: 14px;
  color: var(--txt-2);
  transition: border-color .25s ease, color .25s ease;
}
.pagination__link:hover { border-color: rgba(255, 255, 255, .3); color: var(--txt); }
.pagination__link.is-current { border-color: rgba(255, 75, 0, .5); background: rgba(255, 75, 0, .12); color: #FFB38A; }
.pagination__link.is-disabled { opacity: .35; pointer-events: none; }
.pagination__gap { padding: 0 6px; color: var(--txt-4); }
html[dir="rtl"] .pagination__link i { transform: scaleX(1); }
