/* =========================================================
   Takween IT Solutions — Core stylesheet
   ========================================================= */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/tajawal-arabic-400.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/tajawal-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/tajawal-arabic-500.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/tajawal-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/tajawal-arabic-700.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/tajawal-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/tajawal-arabic-800.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/tajawal-latin-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #050b22;
  --bg-deep: #030815;
  --surface: rgba(11, 27, 66, 0.55);
  --surface-2: #0a1740;
  --line: rgba(124, 165, 255, 0.16);
  --line-strong: rgba(124, 165, 255, 0.3);
  --text: #e9f0ff;
  --muted: #9daecf;
  --blue: #0a5cff;
  --blue-2: #2fa4ff;
  --cyan: #5ee7ff;
  --gold: #ffc65c;
  --danger: #ff8a9b;
  --grad: linear-gradient(135deg, #0a5cff 0%, #1e90ff 48%, #38b6ff 100%);
  --radius: 22px;
  --container: 1240px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-ar: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --font-en: "Space Grotesk", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: transparent;
  color: var(--text);
  font-family: var(--font-ar);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[lang="en"] body {
  font-family: var(--font-en);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

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

img,
svg {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(20, 121, 255, 0.45);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #040a1c;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #123c8a, #0a1d47);
  border-radius: 10px;
  border: 2px solid #040a1c;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #1b56bd, #0d2a63);
}

/* ---------- Ambient background ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 620px at 88% -10%, rgba(20, 121, 255, 0.2), transparent 62%),
    radial-gradient(720px 520px at -12% 22%, rgba(47, 164, 255, 0.13), transparent 62%),
    radial-gradient(900px 700px at 50% 118%, rgba(10, 92, 255, 0.14), transparent 62%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 160, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 18%, transparent 76%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 18%, transparent 76%);
}

.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.7;
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 380px;
  height: 380px;
  margin: -190px 0 0 -190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 164, 255, 0.17), transparent 62%);
  filter: blur(8px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}

.cursor-glow.active {
  opacity: 1;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  position: relative;
  z-index: 1;
  padding-block: 110px;
}

.section-head {
  max-width: 700px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--blue-2);
  font-size: 0.86rem;
  font-weight: 700;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

html[lang="en"] .kicker {
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.25;
}

.section-sub {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.95;
}

.section-head.center .section-sub {
  margin-inline: auto;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}

html[dir="rtl"] .icon-arrow {
  transform: scaleX(-1);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: -70px;
  inset-inline-start: 18px;
  z-index: 10000;
  padding: 10px 20px;
  border-radius: 0 0 12px 12px;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  transition: top 0.25s ease;
}

.skip-link:focus {
  top: 0;
}

/* ---------- Buttons ---------- */
.btn-tk,
.btn-ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.btn-tk {
  background: var(--grad);
  border-color: rgba(140, 195, 255, 0.4);
  color: #fff;
  box-shadow: 0 14px 34px -14px rgba(10, 92, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-tk:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 22px 46px -16px rgba(10, 92, 255, 1), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.btn-tk:active {
  transform: translateY(0);
}

.btn-ghost {
  background: rgba(10, 24, 64, 0.45);
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  color: #fff;
  transform: translateY(-2px);
  border-color: rgba(47, 164, 255, 0.55);
  background: rgba(20, 121, 255, 0.14);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

.btn-link {
  display: inline-block;
  padding: 4px;
  border: 0;
  background: none;
  color: #8fc8ff;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.btn-link:hover {
  color: #fff;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(600px 400px at 50% 45%, rgba(20, 121, 255, 0.16), transparent 65%),
    var(--bg);
  animation: preloaderFailsafe 0.6s ease 4.5s forwards;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader-inner {
  display: grid;
  justify-items: center;
  gap: 20px;
}

.preloader-inner img {
  width: 74px;
  height: auto;
  filter: drop-shadow(0 0 34px rgba(47, 164, 255, 0.55));
  animation: pulseSoft 1.6s ease-in-out infinite;
}

.preloader-bar {
  width: 170px;
  height: 3px;
  border-radius: 99px;
  background: rgba(120, 160, 255, 0.15);
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: 99px;
  background: var(--grad);
  animation: loaderSlide 1.2s ease-in-out infinite;
}

.preloader p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

body.is-loading {
  overflow: hidden;
}

@keyframes preloaderFailsafe {
  to { opacity: 0; visibility: hidden; }
}
@keyframes loaderSlide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(340%); }
}
@keyframes pulseSoft {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.82; }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 300;
  height: 3px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(47, 164, 255, 0.8);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(5, 11, 34, 0.72);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 16px;
  transition: padding-block 0.35s ease;
}

.site-header.scrolled .header-inner {
  padding-block: 10px;
}

.brand {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand-mark {
  width: 30px;
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(10, 92, 255, 0.45));
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand-mark {
  transform: translateY(-2px) rotate(-3deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 800;
}

.brand-sub {
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 0.56rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

html[lang="en"] .brand-name {
  font-family: var(--font-en);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
}

.nav-link.active {
  color: #fff;
  background: rgba(20, 121, 255, 0.13);
  box-shadow: inset 0 0 0 1px rgba(47, 164, 255, 0.24);
}

.header-actions {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(10, 24, 64, 0.5);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.lang-toggle:hover {
  border-color: rgba(47, 164, 255, 0.6);
  background: rgba(20, 121, 255, 0.14);
  transform: translateY(-1px);
}

.lang-toggle .icon {
  width: 15px;
  height: 15px;
  color: var(--blue-2);
}

.mobile-cta {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(10, 24, 64, 0.5);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

.site-header.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.menu-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + 76px) 84px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 40px;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 24, 64, 0.45);
  color: #b9ccf0;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(47, 164, 255, 0.9);
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(47, 164, 255, 0.6);
  animation: ping 2s ease-out infinite;
}

@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}

.hero-title {
  margin: 24px 0 26px;
  font-size: clamp(2.25rem, 4.5vw, 3.65rem);
  font-weight: 800;
  line-height: 1.18;
}

.hero-title-line {
  display: block;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.rotator {
  display: inline-block;
}

.rotator.swap {
  animation: wordIn 0.55s var(--ease);
}

@keyframes wordIn {
  from { opacity: 0; transform: translateY(0.35em); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.95;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  max-width: 520px;
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-family: var(--font-en);
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.stat-num .plus {
  color: var(--blue-2);
}

.stat-label {
  color: var(--muted);
  font-size: 0.82rem;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.hero-glow {
  position: absolute;
  width: min(480px, 92vw);
  height: min(480px, 92vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 121, 255, 0.4), rgba(20, 121, 255, 0.07) 46%, transparent 70%);
  filter: blur(18px);
  animation: pulseGlow 7s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}

.orbit {
  position: absolute;
  width: 390px;
  height: 390px;
  border: 1px dashed rgba(120, 160, 255, 0.22);
  border-radius: 50%;
  animation: spin 42s linear infinite;
}

.orbit::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-2);
  box-shadow: 0 0 16px 3px rgba(47, 164, 255, 0.8);
}

.orbit-2 {
  width: 512px;
  height: 512px;
  border-color: rgba(120, 160, 255, 0.12);
  animation: spin 70s linear infinite reverse;
}

.orbit-2::before {
  background: var(--cyan);
  width: 6px;
  height: 6px;
}

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

.hero-logo {
  position: relative;
  z-index: 2;
  width: min(250px, 56%);
  height: auto;
  filter: drop-shadow(0 34px 60px rgba(10, 92, 255, 0.38));
  animation: floatY 6.5s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(9, 21, 52, 0.74);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.9);
  animation: floatY 7s ease-in-out infinite;
}

.fc-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(47, 164, 255, 0.28);
  border-radius: 11px;
  background: rgba(47, 164, 255, 0.13);
  color: #6fc2ff;
  flex-shrink: 0;
}

.fc-icon .icon {
  width: 17px;
  height: 17px;
}

.fc-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.fc-text strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.fc-text span {
  color: var(--muted);
  font-size: 0.72rem;
}

.fc-1 {
  top: 13%;
  inset-inline-start: -2%;
  animation-delay: 0.4s;
}

.fc-2 {
  bottom: 19%;
  inset-inline-end: -3%;
  animation-delay: 1.3s;
}

.fc-3 {
  top: 54%;
  inset-inline-start: -6%;
  animation-delay: 2.1s;
}

.shard {
  position: absolute;
  border-radius: 14px;
  background: var(--grad);
  opacity: 0.35;
  filter: blur(1px);
  z-index: 1;
  animation: floatY 8s ease-in-out infinite;
}

.shard-1 {
  top: 6%;
  inset-inline-end: 10%;
  width: 54px;
  height: 54px;
  transform: rotate(18deg);
  animation-delay: 0.8s;
}

.shard-2 {
  bottom: 8%;
  inset-inline-start: 8%;
  width: 34px;
  height: 34px;
  transform: rotate(-14deg);
  opacity: 0.22;
  animation-delay: 1.8s;
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding-block: 18px;
  border-block: 1px solid var(--line);
  background: rgba(6, 15, 40, 0.5);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 38px;
  width: max-content;
  direction: ltr;
  animation: marquee 40s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  color: rgba(233, 240, 255, 0.55);
  font-family: var(--font-en);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.marquee-track i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-2);
  opacity: 0.55;
}

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

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(16, 35, 80, 0.55), rgba(7, 17, 44, 0.88));
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s ease, box-shadow 0.45s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(47, 164, 255, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 22%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 231, 255, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 164, 255, 0.42);
  box-shadow: 0 34px 70px -38px rgba(10, 92, 255, 0.75);
}

.service-card:hover::before,
.service-card:hover::after {
  opacity: 1;
}

.service-num {
  position: absolute;
  top: 26px;
  inset-inline-end: 26px;
  color: rgba(233, 240, 255, 0.26);
  font-family: var(--font-en);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border: 1px solid rgba(47, 164, 255, 0.26);
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(20, 121, 255, 0.22), rgba(47, 164, 255, 0.05));
  color: #6fc2ff;
  transition: transform 0.4s var(--ease), color 0.4s ease, box-shadow 0.4s ease;
}

.service-icon .icon {
  width: 26px;
  height: 26px;
}

.service-card:hover .service-icon {
  transform: translateY(-2px) scale(1.05);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(47, 164, 255, 0.8);
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.service-card p {
  flex: 1;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.85;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  color: #8fc8ff;
  font-size: 0.86rem;
  font-weight: 600;
  transition: color 0.3s ease, gap 0.3s ease;
}

.service-link .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.service-link:hover {
  color: #fff;
  gap: 12px;
}

.service-link:hover .icon {
  transform: translate(2px, -2px);
}

html[dir="rtl"] .service-link:hover .icon-arrow {
  transform: scaleX(-1) translate(2px, -2px);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.about-visual {
  position: relative;
  min-height: 520px;
  padding: 20px 10px;
}

.code-window {
  position: relative;
  max-width: 460px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: linear-gradient(160deg, #0b1b42, #060f28);
  box-shadow: 0 44px 90px -34px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  transform: rotate(-2deg);
  transition: transform 0.6s var(--ease);
}

.code-window:hover {
  transform: rotate(0deg) translateY(-4px);
}

.code-window::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 231, 255, 0.55), transparent);
  opacity: 0.65;
  animation: scan 5s linear infinite;
}

@keyframes scan {
  0% { top: 44px; opacity: 0; }
  15% { opacity: 0.65; }
  85% { opacity: 0.65; }
  100% { top: 100%; opacity: 0; }
}

.code-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.code-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  opacity: 0.85;
}

.code-bar span:nth-child(1) { background: #ff6b6b; }
.code-bar span:nth-child(2) { background: var(--gold); }
.code-bar span:nth-child(3) { background: #45e0a0; }

.code-bar em {
  margin-inline-start: auto;
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-style: normal;
}

.code-body {
  margin: 0;
  padding: 22px;
  overflow-x: auto;
  color: #b9ccf0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.95;
  direction: ltr;
  text-align: left;
}

.tok-key { color: #7fb2ff; }
.tok-prop { color: #8ce3ff; }
.tok-str { color: #7be3b0; }
.tok-fn { color: #ffc97a; }

.panel-secure {
  position: absolute;
  bottom: 64px;
  inset-inline-end: -8px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(9, 21, 52, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 26px 54px -26px rgba(0, 0, 0, 0.9);
  animation: floatY 6s ease-in-out infinite;
}

.exp-badge {
  position: absolute;
  top: 4px;
  inset-inline-end: 4px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(47, 164, 255, 0.35);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, rgba(20, 121, 255, 0.4), rgba(8, 18, 46, 0.92));
  box-shadow: 0 20px 44px -20px rgba(10, 92, 255, 0.8);
  text-align: center;
  animation: floatY 7.5s ease-in-out infinite;
}

.exp-badge::before {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px dashed rgba(120, 160, 255, 0.28);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}

.exp-badge strong {
  display: block;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-en);
  font-size: 1.8rem;
  line-height: 1;
}

.exp-badge span {
  max-width: 86px;
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.35;
}

.about-copy .section-title {
  margin-bottom: 18px;
}

.about-p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.95;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin: 26px 0 32px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c9d7f2;
  font-size: 0.92rem;
}

.check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(47, 164, 255, 0.32);
  border-radius: 50%;
  background: rgba(47, 164, 255, 0.14);
  color: #7bd4ff;
  flex-shrink: 0;
}

.check .icon {
  width: 12px;
  height: 12px;
  stroke-width: 2.4;
}

.pillars {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 84px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(120deg, rgba(14, 31, 74, 0.6), rgba(6, 15, 40, 0.42));
}

.pillar-head h3 {
  margin-bottom: 6px;
  font-size: 1.14rem;
}

.pillar-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-inline-start: 22px;
  border-inline-start: 1px solid var(--line);
}

.pillar-icon {
  margin-bottom: 4px;
  color: var(--blue-2);
}

.pillar-icon .icon {
  width: 20px;
  height: 20px;
}

.pillar strong {
  font-size: 0.9rem;
}

.pillar span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

/* ---------- Process ---------- */
.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 14px;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 30px;
  inset-inline: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 164, 255, 0.4), transparent);
}

.step {
  position: relative;
  padding-top: 78px;
  text-align: center;
}

.step-num {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-left: -30px;
  border: 1px solid rgba(47, 164, 255, 0.35);
  border-radius: 50%;
  background: #081634;
  color: #bfe0ff;
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 0 0 8px rgba(5, 11, 34, 0.92), 0 0 40px rgba(20, 121, 255, 0.22);
  transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.step:hover .step-num {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 0 0 8px rgba(5, 11, 34, 0.92), 0 0 46px rgba(47, 164, 255, 0.55);
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

/* ---------- Work ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(12, 28, 66, 0.62), rgba(6, 15, 40, 0.9));
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s ease, box-shadow 0.45s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(47, 164, 255, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.project-card:hover {
  border-color: rgba(47, 164, 255, 0.42);
  box-shadow: 0 34px 74px -38px rgba(10, 92, 255, 0.75);
}

.project-card:hover::before {
  opacity: 1;
}

.project-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 20% 0%, rgba(20, 121, 255, 0.3), transparent 60%),
    linear-gradient(150deg, #0b1f4d, #071331 70%);
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 160, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 255, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 78%);
}

.project-visual::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 164, 255, 0.28), transparent 65%);
  filter: blur(12px);
}

.visual-2 {
  background:
    radial-gradient(120% 100% at 80% 0%, rgba(94, 231, 255, 0.22), transparent 60%),
    linear-gradient(150deg, #082145, #071331 70%);
}

.visual-3 {
  background:
    radial-gradient(120% 100% at 30% 0%, rgba(16, 90, 220, 0.32), transparent 62%),
    linear-gradient(150deg, #0a193f, #061027 70%);
}

.project-visual > * {
  position: relative;
  z-index: 2;
}

/* Dashboard mock */
.mock-window {
  width: 78%;
  border: 1px solid rgba(120, 160, 255, 0.26);
  border-radius: 10px;
  background: rgba(6, 15, 40, 0.92);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  transform: perspective(900px) rotateX(5deg) rotateY(-6deg);
  transition: transform 0.6s var(--ease);
}

.project-card:hover .mock-window {
  transform: perspective(900px) rotateX(0) rotateY(0) scale(1.02);
}

.mock-top {
  display: flex;
  gap: 4px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(120, 160, 255, 0.14);
}

.mock-top span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(120, 160, 255, 0.3);
}

.mock-top span:first-child { background: rgba(255, 107, 107, 0.65); }

.mock-ui {
  display: flex;
  min-height: 132px;
}

.mock-side {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 26%;
  padding: 10px 8px;
  border-inline-end: 1px solid rgba(120, 160, 255, 0.12);
}

.mock-side i {
  height: 6px;
  border-radius: 3px;
  background: rgba(120, 160, 255, 0.16);
}

.mock-side i:first-child {
  width: 72%;
  background: rgba(47, 164, 255, 0.6);
}

.mock-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}

.mock-head {
  display: flex;
  gap: 6px;
}

.mock-head span {
  height: 7px;
  border-radius: 4px;
  background: rgba(120, 160, 255, 0.2);
}

.mock-head span:first-child {
  width: 44%;
  background: rgba(233, 240, 255, 0.35);
}

.mock-head span:last-child {
  width: 24%;
}

.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 68px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #5ee7ff, #1479ff);
  opacity: 0.85;
}

.b1 { height: 32%; }
.b2 { height: 58%; }
.b3 { height: 44%; }
.b4 { height: 82%; }
.b5 { height: 56%; }
.b6 { height: 96%; }

.mock-row {
  display: flex;
  gap: 6px;
}

.mock-row i {
  height: 7px;
  border-radius: 3px;
  background: rgba(120, 160, 255, 0.14);
}

.mock-row i:first-child { width: 100%; }
.mock-row i:last-child { width: 58%; }

/* Phone mock */
.phone-mock {
  position: relative;
  width: 124px;
  aspect-ratio: 9 / 18.5;
  border: 7px solid #0d2350;
  border-radius: 26px;
  background: #071331;
  box-shadow: 0 26px 54px -20px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(120, 160, 255, 0.16);
  transform: rotate(-4deg);
  transition: transform 0.6s var(--ease);
}

.project-card:hover .phone-mock {
  transform: rotate(0deg) translateY(-4px);
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 38px;
  height: 5px;
  margin-left: -19px;
  border-radius: 99px;
  background: #0d2350;
}

.phone-screen {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 20px 9px 11px;
}

.phone-hero {
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(140deg, #1479ff, #5ee7ff);
  opacity: 0.9;
}

.phone-line {
  height: 5px;
  border-radius: 3px;
  background: rgba(120, 160, 255, 0.22);
}

.w-70 { width: 70%; }
.w-50 { width: 50%; }

.phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: 2px;
}

.phone-grid i {
  height: 26px;
  border-radius: 6px;
  background: rgba(120, 160, 255, 0.12);
}

.phone-cta {
  height: 17px;
  margin-top: auto;
  border-radius: 99px;
  background: var(--grad);
}

/* Table mock */
.table-mock {
  width: 82%;
  padding: 12px;
  border: 1px solid rgba(120, 160, 255, 0.24);
  border-radius: 10px;
  background: rgba(6, 15, 40, 0.92);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.9);
  transform: perspective(900px) rotateX(4deg) rotateY(5deg);
  transition: transform 0.6s var(--ease);
}

.project-card:hover .table-mock {
  transform: perspective(900px) rotateX(0) rotateY(0) scale(1.02);
}

.table-head {
  display: flex;
  gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(120, 160, 255, 0.16);
}

.table-head span {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(233, 240, 255, 0.28);
}

.table-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 1fr;
  gap: 6px;
  align-items: center;
  padding-block: 7px;
  border-bottom: 1px solid rgba(120, 160, 255, 0.08);
}

.table-row i {
  height: 5px;
  border-radius: 3px;
  background: rgba(120, 160, 255, 0.16);
}

.table-row .tag {
  height: 12px;
  border-radius: 99px;
  background: rgba(47, 164, 255, 0.28);
}

.table-foot {
  display: flex;
  justify-content: space-between;
  padding-top: 8px;
}

.table-foot span {
  height: 5px;
  border-radius: 3px;
  background: rgba(120, 160, 255, 0.14);
}

.table-foot span:first-child { width: 30%; }
.table-foot span:last-child { width: 16%; }

.project-info {
  padding: 22px 24px 24px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tags span {
  padding: 4px 10px;
  border: 1px solid rgba(47, 164, 255, 0.2);
  border-radius: 999px;
  background: rgba(47, 164, 255, 0.1);
  color: #8fc8ff;
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.project-info h3 {
  margin: 12px 0 8px;
  font-size: 1.14rem;
}

.project-info p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.member-card {
  padding: 30px 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(12, 28, 66, 0.55), rgba(6, 15, 40, 0.86));
  text-align: center;
  transition: transform 0.45s var(--ease), border-color 0.45s ease, box-shadow 0.45s ease;
}

.member-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 164, 255, 0.4);
  box-shadow: 0 30px 60px -34px rgba(10, 92, 255, 0.7);
}

.avatar-wrap {
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  padding: 3px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, #0a5cff, #5ee7ff, #0a5cff);
  transition: transform 0.55s var(--ease);
}

.member-card:nth-child(2) .avatar-wrap {
  background: conic-gradient(from 140deg, #2fa4ff, #9b7bff, #2fa4ff);
}

.member-card:nth-child(3) .avatar-wrap {
  background: conic-gradient(from 220deg, #0a5cff, #45e0a0, #0a5cff);
}

.member-card:nth-child(4) .avatar-wrap {
  background: conic-gradient(from 160deg, #1479ff, #ffc65c, #1479ff);
}

.member-card:hover .avatar-wrap {
  transform: rotate(4deg) scale(1.04);
}

.avatar {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 32%, rgba(47, 164, 255, 0.2), transparent 62%),
    #081634;
  color: #dceaff;
  font-size: 1.55rem;
  font-weight: 800;
}

.member-card h3 {
  margin-bottom: 4px;
  font-size: 1.04rem;
}

.member-card p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.82rem;
}

.member-socials {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.member-socials a,
.footer-socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.member-socials a:hover,
.footer-socials a:hover {
  color: #fff;
  border-color: rgba(47, 164, 255, 0.55);
  background: rgba(20, 121, 255, 0.16);
  transform: translateY(-2px);
}

.member-socials .icon,
.footer-socials .icon {
  width: 15px;
  height: 15px;
}

/* ---------- Testimonials ---------- */
.slider {
  max-width: 860px;
  margin-inline: auto;
}

.slide {
  display: none;
  position: relative;
  padding: 44px 48px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(16, 35, 80, 0.6), rgba(6, 15, 40, 0.88));
  overflow: hidden;
  text-align: center;
}

.slide::before {
  content: "\201D";
  position: absolute;
  top: -26px;
  inset-inline-start: 30px;
  color: rgba(47, 164, 255, 0.13);
  font-family: Georgia, serif;
  font-size: 9rem;
  line-height: 1;
}

.slide.active {
  display: block;
  animation: slideIn 0.5s var(--ease);
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 18px;
  color: var(--gold);
}

.stars .icon {
  width: 16px;
  height: 16px;
}

.slide blockquote {
  max-width: 640px;
  margin: 0 auto 28px;
  color: #dce7fb;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  font-weight: 500;
  line-height: 1.9;
}

.slide-author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: start;
}

.avatar.sm {
  width: 46px;
  height: 46px;
  border: 2px solid rgba(47, 164, 255, 0.4);
  background: #0b1f4d;
  font-size: 0.86rem;
}

.slide-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}

.slide-author small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 26px;
}

.slider-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(10, 24, 64, 0.5);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.slider-btn:hover {
  border-color: rgba(47, 164, 255, 0.6);
  background: rgba(20, 121, 255, 0.16);
  transform: translateY(-2px);
}

.slider-btn .icon {
  width: 18px;
  height: 18px;
}

html[dir="rtl"] .slider-btn .icon {
  transform: scaleX(-1);
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.dot.active {
  width: 26px;
  background: var(--grad);
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin-inline: auto;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.faq-item:hover {
  border-color: var(--line-strong);
}

.faq-item[open] {
  border-color: rgba(47, 164, 255, 0.38);
  background: rgba(11, 27, 66, 0.72);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:focus-visible {
  border-radius: 14px;
  outline: 2px solid var(--cyan);
  outline-offset: -4px;
}

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(10, 24, 64, 0.5);
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-2);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon {
  border-color: rgba(94, 231, 255, 0.5);
  background: rgba(20, 121, 255, 0.16);
  transform: rotate(180deg);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: var(--cyan);
}

.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.95;
}

@media (max-width: 575.98px) {
  .faq-item summary {
    padding: 16px;
    font-size: 0.95rem;
  }

  .faq-item p {
    padding: 0 16px 18px;
  }

  .faq-icon {
    width: 26px;
    height: 26px;
  }
}

/* ---------- CTA band ---------- */
.cta-section {
  position: relative;
  z-index: 1;
  padding-block: 30px 110px;
}

.cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 56px;
  border: 1px solid rgba(47, 164, 255, 0.3);
  border-radius: 28px;
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(20, 121, 255, 0.32), transparent 55%),
    linear-gradient(120deg, rgba(10, 92, 255, 0.18), rgba(7, 19, 49, 0.92) 55%),
    #071331;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 44px 100px -54px rgba(10, 92, 255, 0.9);
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 160, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(circle at 80% 20%, #000 10%, transparent 70%);
  mask-image: radial-gradient(circle at 80% 20%, #000 10%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  margin-bottom: 10px;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.cta-content p {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.9;
}

.cta-band .btn-tk {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.cta-shard {
  position: absolute;
  border-radius: 16px;
  background: var(--grad);
  opacity: 0.25;
  filter: blur(1px);
  animation: floatY 7s ease-in-out infinite;
}

.cta-shard-1 {
  top: -28px;
  inset-inline-end: 26%;
  width: 74px;
  height: 74px;
  transform: rotate(20deg);
}

.cta-shard-2 {
  bottom: -22px;
  inset-inline-start: 42%;
  width: 46px;
  height: 46px;
  transform: rotate(-16deg);
  opacity: 0.18;
  animation-delay: 1.2s;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: start;
  gap: 60px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 24, 64, 0.35);
  color: var(--text);
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.info-item:hover {
  border-color: rgba(47, 164, 255, 0.45);
  background: rgba(20, 121, 255, 0.09);
  transform: translateY(-2px);
}

.info-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(47, 164, 255, 0.26);
  border-radius: 12px;
  background: rgba(47, 164, 255, 0.12);
  color: var(--blue-2);
  flex-shrink: 0;
}

.info-icon .icon {
  width: 18px;
  height: 18px;
}

.info-item small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.info-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.contact-note .icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.form-card {
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(13, 30, 72, 0.66), rgba(6, 15, 40, 0.92));
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 24%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 231, 255, 0.6), transparent);
}

.form-card h3 {
  margin-bottom: 22px;
  font-size: 1.3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group > label {
  display: block;
  margin-bottom: 7px;
  color: #c6d5f2;
  font-size: 0.82rem;
  font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(4, 12, 32, 0.68);
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.form-group textarea {
  min-height: 128px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(157, 174, 207, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(47, 164, 255, 0.7);
  background: rgba(5, 14, 38, 0.92);
  box-shadow: 0 0 0 3px rgba(20, 121, 255, 0.16);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239DAECF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 16px;
  background-position: right 14px center;
}

html[dir="rtl"] .form-group select {
  background-position: left 14px center;
  padding-inline-end: 14px;
  padding-inline-start: 38px;
}

.form-group select option {
  background: #0a1740;
  color: var(--text);
}

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(255, 107, 129, 0.12);
}

.field-error {
  display: none;
  margin-top: 5px;
  color: var(--danger);
  font-size: 0.75rem;
}

.form-group.invalid .field-error {
  display: block;
}

.consent-group {
  margin-bottom: 20px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
  cursor: pointer;
}

.consent input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.consent-box {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(4, 12, 32, 0.7);
  color: #fff;
  flex-shrink: 0;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.consent-box .icon {
  width: 12px;
  height: 12px;
  stroke-width: 2.6;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.consent input:checked + .consent-box {
  border-color: transparent;
  background: var(--grad);
}

.consent input:checked + .consent-box .icon {
  opacity: 1;
  transform: scale(1);
}

.consent input:focus-visible + .consent-box {
  box-shadow: 0 0 0 3px rgba(20, 121, 255, 0.25);
}

.form-group.invalid .consent-box {
  border-color: var(--danger);
}

.form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  color: rgba(157, 174, 207, 0.8);
  font-size: 0.73rem;
  line-height: 1.6;
  text-align: center;
}

.form-privacy .icon {
  width: 12px;
  height: 12px;
  color: var(--blue-2);
}

.form-status {
  min-height: 0;
  margin: 10px 0 0;
  color: #7be3b0;
  font-size: 0.84rem;
  text-align: center;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success {
  padding: 22px 0 8px;
  text-align: center;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border: 1px solid rgba(69, 224, 160, 0.4);
  border-radius: 50%;
  background: rgba(69, 224, 160, 0.12);
  color: #7be3b0;
  box-shadow: 0 0 34px rgba(69, 224, 160, 0.22);
}

.success-icon .icon {
  width: 28px;
  height: 28px;
  stroke-width: 2.2;
}

.form-success h4 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.form-success p {
  max-width: 420px;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.85;
}

.form-success .btn-tk {
  margin-bottom: 14px;
}

.form-success .btn-link {
  display: block;
  margin-inline: auto;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding-top: 70px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(6, 15, 40, 0.35), rgba(3, 8, 21, 0.92));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-brand p {
  max-width: 320px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.9;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.footer-col a,
.footer-col span {
  color: var(--muted);
  font-size: 0.86rem;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 50px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  color: rgba(157, 174, 207, 0.7);
  font-size: 0.78rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom .made {
  color: rgba(157, 174, 207, 0.55);
}

.footer-watermark {
  position: absolute;
  inset-inline-end: -60px;
  bottom: -90px;
  width: 340px;
  height: auto;
  opacity: 0.04;
  pointer-events: none;
  filter: grayscale(1) brightness(2);
  transform: rotate(12deg);
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(9, 21, 52, 0.82);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease,
    border-color 0.35s ease, background-color 0.35s ease;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  border-color: rgba(47, 164, 255, 0.6);
  background: rgba(20, 121, 255, 0.2);
  transform: translateY(-2px);
}

.to-top .icon {
  width: 18px;
  height: 18px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .section {
    padding-block: 96px;
  }

  .about-grid {
    gap: 44px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .orbit {
    width: 340px;
    height: 340px;
  }

  .orbit-2 {
    width: 440px;
    height: 440px;
  }
}

@media (max-width: 991.98px) {
  .section {
    padding-block: 88px;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 100px 24px 40px;
    background: rgba(5, 11, 34, 0.94);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
    overflow-y: auto;
  }

  .site-header.nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .main-nav .nav-link {
    padding: 12px 26px;
    font-size: 1.22rem;
  }

  .mobile-cta {
    display: inline-flex;
    margin-top: 18px;
  }

  .hero {
    min-height: auto;
    padding-block: calc(var(--header-h) + 56px) 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual {
    min-height: 430px;
    margin-top: 12px;
  }

  .hero-logo {
    width: min(210px, 52%);
  }

  .fc-3 {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .about-visual {
    min-height: 460px;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }

  .pillars {
    grid-template-columns: 1fr 1fr;
    margin-top: 64px;
  }

  .pillar-head {
    grid-column: 1 / -1;
    padding-bottom: 8px;
  }

  .pillar:nth-of-type(2),
  .pillar:last-child {
    border-inline-start: 0;
    padding-inline-start: 0;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 42px;
  }

  .process-grid::before {
    display: none;
  }

  .work-grid {
    grid-template-columns: 1fr 1fr;
  }

  .work-grid .project-card:last-child {
    grid-column: 1 / -1;
  }

  .work-grid .project-card:last-child .project-visual {
    aspect-ratio: 21 / 9;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 42px 34px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .cta-section {
    padding-block: 20px 88px;
  }
}

@media (max-width: 767.98px) {
  .container {
    padding-inline: 20px;
  }

  .section {
    padding-block: 72px;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .brand-sub {
    display: none;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8.6vw, 2.9rem);
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-stats {
    gap: 24px;
    margin-top: 36px;
  }

  .stat-num {
    font-size: 1.7rem;
  }

  .hero-visual {
    min-height: 370px;
  }

  .float-card {
    padding: 10px 13px;
  }

  .fc-text span {
    font-size: 0.66rem;
  }

  .fc-1 {
    top: 9%;
    inset-inline-start: 0;
  }

  .fc-2 {
    bottom: 13%;
    inset-inline-end: 0;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-visual {
    min-height: 420px;
    padding: 10px 0;
  }

  .code-window {
    max-width: 100%;
    transform: none;
  }

  .code-body {
    font-size: 0.74rem;
    padding: 16px;
  }

  .panel-secure {
    bottom: 44px;
    inset-inline-end: 0;
  }

  .exp-badge {
    width: 96px;
    height: 96px;
    top: 0;
    inset-inline-end: 0;
    display: none;
  }

  .exp-badge strong {
    font-size: 1.5rem;
  }

  .exp-badge span {
    max-width: 72px;
    font-size: 0.6rem;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .pillars {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .pillar {
    padding-inline-start: 0;
    padding-top: 16px;
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }

  .pillar-head {
    padding-bottom: 4px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-grid .project-card:last-child {
    grid-column: auto;
  }

  .work-grid .project-card:last-child .project-visual {
    aspect-ratio: 16 / 10;
  }

  .slide {
    padding: 32px 24px;
  }

  .slide::before {
    font-size: 6rem;
    top: -14px;
    inset-inline-start: 18px;
  }

  .slide blockquote {
    font-size: 1rem;
    line-height: 1.85;
  }

  .cta-band {
    padding: 34px 24px;
    border-radius: 22px;
  }

  .form-card {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .to-top {
    bottom: 16px;
    inset-inline-end: 16px;
  }
}

@media (max-width: 575.98px) {
  .services-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
    row-gap: 34px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn-tk,
  .hero-cta .btn-ghost {
    width: 100%;
  }

  .hero-stats {
    justify-content: space-between;
    gap: 12px;
  }

  .stat-num {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  .float-card {
    display: none;
  }

  .hero-visual {
    min-height: 330px;
  }

  .orbit {
    width: 280px;
    height: 280px;
  }

  .orbit-2 {
    width: 350px;
    height: 350px;
  }

  .panel-secure {
    inset-inline-end: -4px;
    padding: 11px 14px;
  }

  .panel-secure .fc-text strong {
    font-size: 0.82rem;
  }

  .panel-secure .fc-text span {
    font-size: 0.66rem;
  }

  .form-card h3 {
    font-size: 1.18rem;
  }

  .slider-controls {
    gap: 12px;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .footer-watermark {
    width: 240px;
    bottom: -60px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
  }

  .preloader {
    display: none;
  }

  .cursor-glow {
    display: none;
  }

  .hero-logo,
  .float-card,
  .orbit,
  .exp-badge,
  .panel-secure,
  .shard,
  .cta-shard {
    animation: none;
  }
}
