/* ==========================================================================
   H&B Technology SARL — main stylesheet
   Colors come from the company logo: royal blue, deep navy, gold, silver.
   Themes: light (default), dark, or follow the system setting.
   ========================================================================== */

/* ---- Fonts: self-hosted (SIL Open Font License), no requests to third parties ---- */
/* Cairo – arabic */
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/cairo-arabic.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1; }
/* Plus Jakarta Sans – latin-ext */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Plus Jakarta Sans – latin */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/plus-jakarta-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Sora – latin-ext */
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(/assets/fonts/sora-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Sora – latin */
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600 800; font-display: swap; src: url(/assets/fonts/sora-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy-900: #061541;
  --navy-800: #0a1f5c;
  --navy-700: #0f2a7a;
  --blue-600: #1747d1;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --sky-400: #38bdf8;
  --gold-500: #f2a900;
  --gold-400: #f8c23a;
  --gold-300: #ffd977;

  --yaf-a: #1fc2f2;
  --yaf-b: #3a72f6;
  --yaf-c: #7b4cf3;
  --yaf-d: #f0469a;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-h: 96px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* ---- Light theme tokens ---- */
  color-scheme: light;
  --ink: #0b1533;
  --ink-soft: #3b4766;
  --muted: #64708f;
  --line: #e3e8f4;
  --bg: #ffffff;
  --bg-soft: #f5f8ff;
  --bg-tint: #eef3ff;
  --surface: #ffffff;
  --surface-2: #fbfcff;
  --brand-ink: #0a1f5c;
  --logo-plate: transparent;
  --accent: #1747d1;
  --accent-hover: #2563eb;
  --grad-text: linear-gradient(100deg, #1747d1 0%, #3b82f6 45%, #f2a900 100%);
  --gold-tint: #fff7e0;
  --gold-ink: #8f6200;
  --pos-ink: #15803d;
  --neg-ink: #c81e1e;
  --header-bg: rgba(255, 255, 255, .78);
  --header-bg-solid: rgba(255, 255, 255, .94);
  --float-bg: rgba(255, 255, 255, .92);
  --grid-line: rgba(23, 71, 209, .06);
  --hero-bg:
    radial-gradient(1100px 520px at 85% -10%, rgba(59, 130, 246, .16), transparent 60%),
    radial-gradient(700px 420px at -10% 20%, rgba(242, 169, 0, .10), transparent 60%),
    linear-gradient(180deg, #fff 0%, #f5f8ff 100%);
  --yaf-hero-bg:
    radial-gradient(800px 400px at 90% 0%, rgba(240, 70, 154, .14), transparent 60%),
    radial-gradient(800px 500px at 0% 10%, rgba(31, 194, 242, .16), transparent 60%),
    linear-gradient(180deg, #fff, #f5f8ff);
  --logo-halo: radial-gradient(circle, rgba(59, 130, 246, .22), rgba(59, 130, 246, 0) 65%);
  --dark-section: #061541;
  --footer-bg: #061541;
  --ok-bg: #e7f8ef; --ok-ink: #136c3a;
  --err-bg: #fdecec; --err-ink: #a12a2e;
  --shadow-sm: 0 1px 2px rgba(10, 31, 92, .06), 0 2px 8px rgba(10, 31, 92, .05);
  --shadow: 0 10px 30px -10px rgba(10, 31, 92, .18), 0 2px 6px rgba(10, 31, 92, .05);
  --shadow-lg: 0 30px 60px -20px rgba(10, 31, 92, .30);
}

/* ---- Dark theme tokens (chosen manually, or via system when no choice is saved) ---- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eef2ff;
  --ink-soft: #b7c2e6;
  --muted: #8d99c4;
  --line: #1e2b58;
  --bg: #060d26;
  --bg-soft: #0a1433;
  --bg-tint: #13214d;
  --surface: #0d1838;
  --surface-2: #101d44;
  --brand-ink: #ffffff;
  --logo-plate: rgba(255, 255, 255, .95);
  --accent: #7fb0ff;
  --accent-hover: #a5c8ff;
  --grad-text: linear-gradient(100deg, #6aa6ff 0%, #8fd0ff 45%, #f8c23a 100%);
  --gold-tint: rgba(242, 169, 0, .14);
  --gold-ink: #f8c23a;
  --pos-ink: #4ade80;
  --neg-ink: #f87171;
  --header-bg: rgba(6, 13, 38, .72);
  --header-bg-solid: rgba(6, 13, 38, .92);
  --float-bg: rgba(13, 24, 56, .9);
  --grid-line: rgba(127, 176, 255, .07);
  --hero-bg:
    radial-gradient(1100px 520px at 85% -10%, rgba(59, 130, 246, .28), transparent 60%),
    radial-gradient(700px 420px at -10% 20%, rgba(242, 169, 0, .10), transparent 60%),
    linear-gradient(180deg, #060d26 0%, #0a1433 100%);
  --yaf-hero-bg:
    radial-gradient(800px 400px at 90% 0%, rgba(240, 70, 154, .2), transparent 60%),
    radial-gradient(800px 500px at 0% 10%, rgba(31, 194, 242, .18), transparent 60%),
    linear-gradient(180deg, #060d26, #0a1433);
  --logo-halo: radial-gradient(circle, rgba(232, 240, 255, .96) 0%, rgba(208, 224, 255, .75) 38%, rgba(120, 165, 255, .18) 60%, rgba(59, 130, 246, 0) 70%);
  --dark-section: #040a1f;
  --footer-bg: #030817;
  --ok-bg: rgba(52, 211, 153, .14); --ok-ink: #6ee7b7;
  --err-bg: rgba(248, 113, 113, .14); --err-ink: #fca5a5;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 2px 8px rgba(0, 0, 0, .25);
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .3);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #eef2ff;
    --ink-soft: #b7c2e6;
    --muted: #8d99c4;
    --line: #1e2b58;
    --bg: #060d26;
    --bg-soft: #0a1433;
    --bg-tint: #13214d;
    --surface: #0d1838;
    --surface-2: #101d44;
    --brand-ink: #ffffff;
    --logo-plate: rgba(255, 255, 255, .95);
    --accent: #7fb0ff;
    --accent-hover: #a5c8ff;
    --grad-text: linear-gradient(100deg, #6aa6ff 0%, #8fd0ff 45%, #f8c23a 100%);
    --gold-tint: rgba(242, 169, 0, .14);
    --gold-ink: #f8c23a;
    --pos-ink: #4ade80;
    --neg-ink: #f87171;
  --pos-ink: #4ade80;
  --neg-ink: #f87171;
    --header-bg: rgba(6, 13, 38, .72);
    --header-bg-solid: rgba(6, 13, 38, .92);
    --float-bg: rgba(13, 24, 56, .9);
    --grid-line: rgba(127, 176, 255, .07);
    --hero-bg:
      radial-gradient(1100px 520px at 85% -10%, rgba(59, 130, 246, .28), transparent 60%),
      radial-gradient(700px 420px at -10% 20%, rgba(242, 169, 0, .10), transparent 60%),
      linear-gradient(180deg, #060d26 0%, #0a1433 100%);
    --yaf-hero-bg:
      radial-gradient(800px 400px at 90% 0%, rgba(240, 70, 154, .2), transparent 60%),
      radial-gradient(800px 500px at 0% 10%, rgba(31, 194, 242, .18), transparent 60%),
      linear-gradient(180deg, #060d26, #0a1433);
    --logo-halo: radial-gradient(circle, rgba(232, 240, 255, .96) 0%, rgba(208, 224, 255, .75) 38%, rgba(120, 165, 255, .18) 60%, rgba(59, 130, 246, 0) 70%);
    --dark-section: #040a1f;
    --footer-bg: #030817;
    --ok-bg: rgba(52, 211, 153, .14); --ok-ink: #6ee7b7;
    --err-bg: rgba(248, 113, 113, .14); --err-ink: #fca5a5;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 2px 8px rgba(0, 0, 0, .25);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .3);
    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
  }
}

/* ---- Language-specific fonts ---- */
:lang(ar) { --font: "Plus Jakarta Sans", "Cairo", system-ui, sans-serif; --font-display: "Sora", "Cairo", system-ui, sans-serif; }
:lang(zh) { --font: "Plus Jakarta Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif; --font-display: "Sora", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; }
:lang(ja) { --font: "Plus Jakarta Sans", "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans CJK JP", "Noto Sans JP", sans-serif; --font-display: "Sora", "Hiragino Sans", "Yu Gothic", "Noto Sans CJK JP", sans-serif; }
:lang(ko) { --font: "Plus Jakarta Sans", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", "Noto Sans KR", sans-serif; --font-display: "Sora", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", sans-serif; }
:lang(ko) body { word-break: keep-all; }
/* Arabic letters must never be spaced apart */
:lang(ar) body, :lang(ar) body * { letter-spacing: 0 !important; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { line-height: 1.35; }
:lang(zh) h1, :lang(ja) h1, :lang(ko) h1, :lang(zh) h2, :lang(ja) h2, :lang(ko) h2 { line-height: 1.3; letter-spacing: 0; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s, color .3s;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-soft); }
ul { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-300); color: var(--navy-900); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200;
  background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.text-gradient { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.heart { color: var(--gold-400); }
.flag-img { display: inline-block; width: 21px; height: 14px; border-radius: 2px; vertical-align: -2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
[dir="rtl"] .i-arrow { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue-600);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.5em; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 .98rem/1.1 var(--font); letter-spacing: .01em;
  color: #fff; background: var(--btn-bg);
  box-shadow: 0 8px 22px -8px rgba(23, 71, 209, .6);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  white-space: nowrap;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(23, 71, 209, .7); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-primary { background: linear-gradient(135deg, var(--blue-600), var(--blue-400)); }
.btn-gold { background: linear-gradient(135deg, var(--gold-500), var(--gold-400)); color: var(--navy-900); box-shadow: 0 8px 22px -8px rgba(242, 169, 0, .7); }
.btn-gold:hover { color: var(--navy-900); box-shadow: 0 14px 28px -10px rgba(242, 169, 0, .8); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); box-shadow: var(--shadow); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); box-shadow: none; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); box-shadow: none; }
.btn-whatsapp { background: #1faa59; box-shadow: 0 8px 22px -8px rgba(31, 170, 89, .7); }
.btn-whatsapp:hover { box-shadow: 0 14px 28px -10px rgba(31, 170, 89, .8); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -14px rgba(10, 31, 92, .25); background: var(--header-bg-solid); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 12px; }
/* The logo block is always shown exactly as designed (never mirrored or translated) */
.brand { display: flex; align-items: center; flex: none; }
/* Full company logo, unchanged. In dark mode it sits on a light plate so "TECHNOLOGY" stays readable. */
.brand-logo { box-sizing: content-box; height: 82px; width: auto; object-fit: contain; padding: 3px 6px; border-radius: 12px; background: var(--logo-plate); transition: transform .25s var(--ease); }
.brand:hover .brand-logo { transform: scale(1.04); }

.main-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.main-nav a:not(.btn) {
  position: relative; padding: 8px 13px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; color: var(--ink-soft); white-space: nowrap;
  transition: color .2s, background .2s;
}
.main-nav a:not(.btn):hover, .main-nav a.active { color: var(--accent); background: var(--bg-tint); }
.main-nav .btn { margin-inline-start: 8px; padding: .75em 1.3em; font-size: .92rem; }

.header-tools { display: flex; align-items: center; gap: 8px; }
.dropdown { position: relative; }
.tool-btn {
  height: 42px; min-width: 42px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: 700 .8rem/1 "Plus Jakarta Sans", sans-serif; letter-spacing: .04em;
  transition: border-color .2s, color .2s, background .2s;
}
.tool-btn:hover, .dropdown.open .tool-btn { border-color: var(--accent); color: var(--accent); }
.tool-btn svg { width: 19px; height: 19px; }
.theme-switch .tool-btn svg { display: none; }
:root[data-theme-choice="light"] .theme-switch .tool-btn .i-sun,
:root[data-theme-choice="dark"] .theme-switch .tool-btn .i-moon,
:root:not([data-theme-choice="light"]):not([data-theme-choice="dark"]) .theme-switch .tool-btn .i-system { display: block; }

.dropdown-menu {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 120; min-width: 190px;
  padding: 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a, .dropdown-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; border: 0;
  background: none; color: var(--ink-soft); font: 600 .94rem/1.2 var(--font); text-align: start; cursor: pointer;
}
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--bg-tint); color: var(--accent); }
.dropdown-menu .current, .dropdown-menu [aria-checked="true"] { color: var(--accent); background: var(--bg-tint); }
.dropdown-menu .current::after, .dropdown-menu [aria-checked="true"]::after { content: "✓"; margin-inline-start: auto; font-weight: 800; }
.dropdown-menu svg { width: 18px; height: 18px; flex: none; }
.dropdown-menu .code { font: 800 .7rem/1 "Plus Jakarta Sans", sans-serif; color: var(--muted); width: 22px; letter-spacing: .04em; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); cursor: pointer; align-items: center; justify-content: center; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  position: relative; transition: transform .3s var(--ease), background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
  background: var(--hero-bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding-block: 7px; padding-inline: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .85rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 22px;
}
.eyebrow .flag { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-tint); font-size: .9rem; }
.hero h1 { margin-bottom: 20px; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .93rem; color: var(--ink-soft); }
.hero-points svg { width: 20px; height: 20px; color: var(--gold-500); flex: none; }

.hero-visual { position: relative; display: grid; place-items: center; aspect-ratio: 1 / .92; }
.hero-visual .halo { position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; background: var(--logo-halo); filter: blur(6px); }
.orbit { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(59, 130, 246, .22); animation: spin 40s linear infinite; }
.orbit-1 { width: 96%; aspect-ratio: 1; }
.orbit-2 { width: 74%; aspect-ratio: 1; border-color: rgba(242, 169, 0, .3); animation-duration: 28s; animation-direction: reverse; }
.orbit .dot { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 6px rgba(37, 99, 235, .15); }
.orbit-2 .dot { background: var(--gold-500); box-shadow: 0 0 0 6px rgba(242, 169, 0, .18); top: auto; bottom: -6px; }
.hero-logo { position: relative; width: 86%; margin-top: -6%; filter: drop-shadow(0 30px 40px rgba(10, 31, 92, .22)); animation: float 7s ease-in-out infinite; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--float-bg); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 14px; box-shadow: var(--shadow); font-weight: 700; font-size: .85rem; color: var(--ink);
  backdrop-filter: blur(8px); animation: float 6s ease-in-out infinite;
}
.float-card img, .float-card .ico { width: 34px; height: 34px; border-radius: 9px; flex: none; }
.float-card .ico { display: grid; place-items: center; background: linear-gradient(135deg, #2b1a6b, #7c3aed); }
.float-card .ico img { width: 26px; height: 26px; }
.float-card small { display: block; font-weight: 600; color: var(--muted); font-size: .72rem; }
.float-card.fc-1 { left: 0; bottom: 1%; animation-delay: -2s; }
.float-card.fc-2 { right: -2%; top: 4%; animation-delay: -4s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Values strip ---------- */
.values-strip { position: relative; margin-top: -48px; z-index: 2; }
.values-card { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.value { padding: 26px 18px; text-align: center; position: relative; transition: background .25s; }
.value + .value::before { content: ""; position: absolute; inset-inline-start: 0; top: 22%; height: 56%; width: 1px; background: var(--line); }
.value:hover { background: var(--bg-soft); }
.value .v-icon { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 16px; display: grid; place-items: center; background: var(--bg-tint); color: var(--accent); transition: transform .3s var(--ease); }
.value:hover .v-icon { transform: translateY(-4px) rotate(-4deg); }
.value .v-icon svg { width: 30px; height: 30px; }
.value .v-icon .accent { color: var(--gold-500); }
.value h2, .value h3 { font-size: 1rem; margin: 0 0 4px; letter-spacing: -.01em; }
.value p { font-size: .84rem; margin: 0; line-height: 1.5; color: var(--muted); }
.value .num { font: 800 .72rem/1 var(--font); color: var(--gold-ink); letter-spacing: .1em; display: block; margin-bottom: 6px; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head.left { margin-inline-start: 0; text-align: start; }
.section-head p { font-size: 1.08rem; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font: 800 .78rem/1.2 var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--gold-500); border-radius: 2px; }
.section-head:not(.left) .kicker::after { content: ""; width: 26px; height: 2px; background: var(--gold-500); border-radius: 2px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-copy p { font-size: 1.05rem; }
.about-list { display: grid; gap: 14px; margin-top: 26px; }
.about-list li { display: flex; gap: 14px; align-items: flex-start; }
.about-list .tick { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-500), var(--gold-400)); color: var(--navy-900); }
.about-list .tick svg { width: 16px; height: 16px; }
.about-list strong { display: block; color: var(--ink); }
.about-list span { color: var(--muted); font-size: .95rem; }

.mv-stack { display: grid; gap: 20px; }
.mv-card { position: relative; padding: 30px; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.mv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.mv-card::after { content: ""; position: absolute; inset-inline-end: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(59, 130, 246, .14), transparent 70%); }
.mv-card.vision { background: linear-gradient(145deg, var(--navy-800), var(--blue-600)); border-color: transparent; }
.mv-card.vision::after { background: radial-gradient(circle, rgba(248, 194, 58, .35), transparent 70%); }
.mv-card.vision h3 { color: #fff; }
.mv-card.vision p { color: rgba(255, 255, 255, .85); }
.mv-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.mv-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--bg-tint); color: var(--accent); flex: none; }
.mv-card.vision .mv-icon { background: rgba(255, 255, 255, .14); color: var(--gold-400); }
.mv-icon svg { width: 28px; height: 28px; }
.mv-head h3 { margin: 0; font-size: 1.4rem; }
.mv-label { display: block; font: 800 .72rem/1.2 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 6px; }
.mv-card p { margin: 0; font-size: 1.04rem; position: relative; z-index: 1; }

/* ---------- Products ---------- */
.section-dark {
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(59, 130, 246, .25), transparent 60%),
    radial-gradient(800px 500px at 100% 100%, rgba(124, 58, 237, .22), transparent 60%),
    var(--dark-section);
  color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(226, 232, 255, .78); }
.section-dark .kicker { color: var(--gold-400); }

.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.product-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: transform .4s var(--ease), border-color .3s, background .3s; }
.product-card:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); }
.product-media { position: relative; height: 250px; display: grid; place-items: center; overflow: hidden; }
.product-media.yaf { background: linear-gradient(135deg, rgba(31, 194, 242, .25), rgba(123, 76, 243, .3) 60%, rgba(240, 70, 154, .3)); }
.product-media.game { background: url("/assets/img/aura-strikers-art-640.webp") center / cover; }
.product-media.game::before { content: ""; position: absolute; inset: 0; background: rgba(5, 14, 45, .45); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.product-media .media-art { position: relative; width: 218px; height: 218px; object-fit: cover; border-radius: 16px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7); transition: transform .5s var(--ease); }
.product-card:hover .media-art { transform: scale(1.05) rotate(-1.5deg); }
.product-media .big-logo { width: 150px; height: 150px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); transition: transform .5s var(--ease); }
.product-card:hover .big-logo { transform: scale(1.06) rotate(-3deg); }
.product-media .spark { position: absolute; border-radius: 50%; background: #fff; opacity: .5; animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.6); } 50% { opacity: .8; transform: scale(1); } }
.badge { position: absolute; top: 18px; inset-inline-start: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font: 700 .74rem/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: pulse 2s infinite; flex: none; }
.badge.soon .pulse, .pulse.soon { background: var(--gold-400); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.product-body { padding: 30px; display: flex; flex-direction: column; flex: 1; }
.product-type { font: 700 .78rem/1.2 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 10px; }
.product-body h3 { font-size: 1.6rem; margin-bottom: 10px; }
.product-body > p { margin-bottom: 20px; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.feature-tags li { padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; background: rgba(255, 255, 255, .08); color: #dbe4ff; border: 1px solid rgba(255, 255, 255, .1); }
.product-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service { position: relative; padding: 30px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; overflow: hidden; }
.service::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--blue-600), var(--sky-400), var(--gold-500)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
[dir="rtl"] .service::before { transform-origin: right; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.s-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; background: linear-gradient(135deg, var(--bg-tint), var(--surface)); border: 1px solid var(--line); color: var(--accent); }
.s-icon svg { width: 28px; height: 28px; }
.service h3 { margin-bottom: 8px; }
.service p { margin: 0; font-size: .97rem; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.process::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num { position: relative; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line); box-shadow: var(--shadow); font: 800 1.3rem/1 "Sora", sans-serif; color: var(--accent); transition: background .3s, color .3s, transform .3s var(--ease); }
.step:hover .step-num { background: linear-gradient(135deg, var(--blue-600), var(--blue-400)); color: #fff; transform: scale(1.06); border-color: transparent; }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: .94rem; margin: 0; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-item { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-item .w-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-tint); color: var(--gold-ink); margin-bottom: 14px; }
.why-item .w-icon svg { width: 24px; height: 24px; }
.why-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.why-item p { margin: 0; font-size: .93rem; }
.why-visual { position: relative; border-radius: var(--radius-lg); padding: 40px; overflow: hidden; min-height: 420px; background: linear-gradient(150deg, var(--navy-800), var(--blue-600) 70%, var(--sky-400)); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.why-visual::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.why-visual img { position: absolute; top: 28px; inset-inline-end: 24px; width: 58%; opacity: .95; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); }
.why-visual h3 { color: #fff; font-size: 1.7rem; position: relative; }
.why-visual p { color: rgba(255, 255, 255, .85); position: relative; margin: 0; }
.why-visual .quote-mark { font: 800 5rem/0.6 "Sora", sans-serif; color: var(--gold-400); position: relative; display: block; height: 36px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 64px); background: linear-gradient(120deg, var(--navy-900), var(--navy-700) 50%, var(--blue-600)); display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; box-shadow: var(--shadow-lg); }
.cta-band::after { content: ""; position: absolute; inset-inline-end: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; border: 40px solid rgba(248, 194, 58, .18); }
.cta-band h2 { color: #fff; margin-bottom: 10px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 0; font-size: 1.05rem; }
.cta-band .btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.contact-info { border-radius: var(--radius-lg); padding: 36px; color: #fff; position: relative; overflow: hidden; background: linear-gradient(160deg, var(--navy-800), var(--blue-600)); }
.contact-info::after { content: ""; position: absolute; inset-inline-start: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(248, 194, 58, .35), transparent 70%); }
.contact-info h3 { color: #fff; font-size: 1.5rem; }
.contact-info > p { color: rgba(255, 255, 255, .8); }
.contact-lines { display: grid; gap: 18px; margin: 28px 0 30px; position: relative; z-index: 1; }
.contact-lines li { display: flex; gap: 14px; align-items: center; }
.contact-lines .c-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: var(--gold-400); flex: none; }
.contact-lines .c-ico svg { width: 22px; height: 22px; }
.contact-lines small { display: block; color: rgba(255, 255, 255, .65); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.contact-lines a, .contact-lines span { color: #fff; font-weight: 600; word-break: break-word; }
.contact-lines a:hover { color: var(--gold-300); }
.contact-info .btn { position: relative; z-index: 1; }

.contact-form { border-radius: var(--radius-lg); padding: 36px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: .88rem; color: var(--ink); }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 500 1rem var(--font); color: var(--ink); padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft); transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-inline-end: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d99c4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
[dir="rtl"] .field select { background-position: left 14px center; }
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="tel"] { direction: ltr; text-align: right; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-400); background: var(--surface); box-shadow: 0 0 0 4px rgba(59, 130, 246, .15); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #e5484d; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: .93rem; }
.form-status.ok { display: block; background: var(--ok-bg); color: var(--ok-ink); }
.form-status.err { display: block; background: var(--err-bg); color: var(--err-ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: rgba(226, 232, 255, .7); padding: 72px 0 28px; border-top: 1px solid rgba(255, 255, 255, .04); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { width: 150px; margin-bottom: 18px; }
.footer-brand p { color: rgba(226, 232, 255, .65); font-size: .95rem; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(226, 232, 255, .7); font-size: .95rem; }
.footer-links a:hover { color: var(--gold-400); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--gold-500); color: var(--navy-900); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
.footer-bottom a { color: rgba(226, 232, 255, .7); }
.footer-bottom a:hover { color: var(--gold-400); }

/* ---------- Back to top ---------- */
.to-top { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 14px; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--navy-800); color: #fff; box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--blue-600); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Product pages ---------- */
.page-hero { padding: clamp(48px, 7vw, 90px) 0 clamp(56px, 7vw, 90px); position: relative; overflow: hidden; }
.page-hero.yaf-hero { background: var(--yaf-hero-bg); }
.page-hero.game-hero { background: radial-gradient(700px 420px at 80% 35%, rgba(248, 194, 58, .22), transparent 60%), radial-gradient(800px 520px at 10% 0%, rgba(56, 140, 255, .32), transparent 60%), #071233; color: #fff; }
.game-hero h1, .game-hero h2 { color: #fff; }
.game-hero p { color: rgba(226, 236, 255, .84); }
[dir="rtl"] .game-hero h1, [dir="rtl"] .game-subtitle { text-align: right; }
.game-subtitle { font: 700 1rem/1 "Sora", sans-serif; letter-spacing: .32em !important; text-transform: uppercase; color: var(--gold-400) !important; margin: -6px 0 22px; }
.game-gradient { background: linear-gradient(100deg, #9fd0ff, #ffffff 45%, #ffd977); -webkit-background-clip: text; background-clip: text; color: transparent; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .88rem; font-weight: 600; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.game-hero .breadcrumb, .game-hero .breadcrumb a { color: rgba(226, 236, 255, .65); }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.product-title { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.product-title img { width: 84px; height: 84px; flex: none; }
.product-title h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.product-title .sub { font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.yaf-text { background: linear-gradient(100deg, var(--yaf-a), var(--yaf-b) 35%, var(--yaf-c) 70%, var(--yaf-d)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn-yaf { background: linear-gradient(120deg, var(--yaf-b), var(--yaf-c) 60%, var(--yaf-d)); box-shadow: 0 10px 24px -10px rgba(123, 76, 243, .7); }

/* App mock (illustrative UI, built with CSS) */
.mock { position: relative; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 12px; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ffbdb6; }
.mock-bar i:nth-child(2) { background: #ffe1a3; }
.mock-bar i:nth-child(3) { background: #b8ebc4; }
.mock-bar span { margin-inline-start: 10px; font-weight: 700; color: var(--muted); font-size: 11px; }
.mock-body { display: grid; grid-template-columns: 120px 1fr; min-height: 300px; }
.mock-side { background: linear-gradient(180deg, #19154a, #2a1f6e); padding: 14px 10px; display: flex; flex-direction: column; gap: 6px; }
.mock-side .logo-row { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; margin-bottom: 10px; }
.mock-side .logo-row img { width: 24px; height: 24px; }
.mock-side b { display: block; height: 22px; border-radius: 7px; background: rgba(255, 255, 255, .08); }
.mock-side b.on { background: linear-gradient(90deg, var(--yaf-b), var(--yaf-c)); }
.mock-main { padding: 16px; display: grid; gap: 12px; background: var(--bg-soft); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--surface); border-radius: 12px; padding: 10px 12px; border: 1px solid var(--line); }
.kpi small { color: var(--muted); font-weight: 600; font-size: 10px; display: block; }
.kpi strong { font: 800 15px/1.4 "Sora", sans-serif; color: var(--ink); }
.kpi em { font-style: normal; font-weight: 700; font-size: 10px; color: var(--pos-ink); }
.kpi em.down { color: var(--neg-ink); }
.chart { background: var(--surface); border-radius: 12px; border: 1px solid var(--line); padding: 12px; height: 140px; display: flex; align-items: flex-end; gap: 7px; }
.chart span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--yaf-c), var(--yaf-b)); opacity: .9; transform-origin: bottom; animation: grow 1.2s var(--ease) both; }
.chart span:nth-child(even) { background: linear-gradient(180deg, var(--yaf-d), var(--yaf-c)); }
@keyframes grow { from { transform: scaleY(0); } }
.rows { background: var(--surface); border-radius: 12px; border: 1px solid var(--line); padding: 8px 12px; }
.rows div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-weight: 600; color: var(--ink-soft); }
.rows div:last-child { border: 0; }
.rows div b { color: var(--ink); white-space: nowrap; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature .f-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; color: #fff; background: linear-gradient(135deg, var(--yaf-a), var(--yaf-b) 45%, var(--yaf-c)); }
.feature:nth-child(3n+2) .f-icon { background: linear-gradient(135deg, var(--yaf-b), var(--yaf-c)); }
.feature:nth-child(3n) .f-icon { background: linear-gradient(135deg, var(--yaf-c), var(--yaf-d)); }
.feature .f-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.1rem; }
.feature p { margin: 0; font-size: .96rem; }

.audience { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.audience li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; color: var(--ink); box-shadow: var(--shadow-sm); }
.audience li span { font-size: 1.2rem; }

/* Game page */
.game-art { position: relative; width: 100%; max-width: 480px; margin: 0 auto; }
.game-art::before { content: ""; position: absolute; inset: -6%; border-radius: 40px; background: radial-gradient(circle, rgba(77, 163, 255, .45), rgba(248, 194, 58, .18) 45%, transparent 70%); filter: blur(24px); }
.game-art img { position: relative; width: 100%; border-radius: 26px; border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7), 0 0 0 6px rgba(255, 255, 255, .04); }
.soon-pill { display: inline-flex; gap: 10px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-weight: 600; font-size: .9rem; color: var(--ink-soft); margin-bottom: 18px; }
.soon-note { display: inline-flex; gap: 10px; align-items: center; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-weight: 600; font-size: .9rem; color: #f5e9ff; margin-bottom: 22px; }
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; border-radius: 14px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .2); color: #fff; min-width: 180px; opacity: .8; cursor: default; }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: .7rem; color: rgba(255, 255, 255, .7); line-height: 1.2; }
.store b { display: block; font-size: 1.05rem; line-height: 1.2; }
.game-section { background: #071233; color: #fff; }
.game-section h2, .game-section h3 { color: #fff; }
.game-section p { color: rgba(226, 236, 255, .78); }
.game-section .kicker { color: var(--gold-400); }
.game-section .kicker::before, .game-section .kicker::after { background: #4da3ff !important; }
.game-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.g-feature { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: transform .3s var(--ease), border-color .3s, background .3s; }
.g-feature:hover { transform: translateY(-5px); border-color: rgba(248, 194, 58, .5); background: rgba(255, 255, 255, .06); }
.g-feature .g-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: linear-gradient(135deg, #4da3ff, #1747d1 55%, #f2a900); color: #fff; }
.g-feature .g-icon svg { width: 26px; height: 26px; }
.notify { max-width: 620px; margin: 0 auto; text-align: center; }
.notify form { display: flex; gap: 10px; margin-top: 24px; }
.notify input { flex: 1; min-width: 0; padding: 14px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; font: 500 1rem var(--font); }
.notify input::placeholder { color: rgba(255, 255, 255, .5); }
.notify input:focus { outline: none; border-color: var(--gold-400); box-shadow: 0 0 0 4px rgba(248, 194, 58, .2); }
.notify-status { margin-top: 14px; min-height: 1.6em; }
.btn-game { background: linear-gradient(120deg, #1747d1, #3b82f6); box-shadow: 0 10px 24px -10px rgba(59, 130, 246, .8); }

/* Legal / simple pages */
.legal { max-width: 820px; margin: 0 auto; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2.2em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { list-style: disc; padding-inline-start: 1.3em; margin: 0 0 1em; }
.legal li { margin-bottom: .4em; }
.legal .updated { color: var(--muted); font-weight: 600; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .code { font: 800 clamp(6rem, 18vw, 10rem)/1 "Sora", sans-serif; letter-spacing: -.04em; }
.notfound .hero-lead { margin: 0 auto 30px; }
.notfound .hero-actions { justify-content: center; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .header-tools { margin-inline-start: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; margin: 0;
    padding: 16px 20px 24px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(10, 31, 92, .3);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav a:not(.btn) { padding: 13px 14px; font-size: 1.02rem; border-radius: 12px; }
  .main-nav .btn { margin: 10px 0 0; padding: 1em; }
}

@media (max-width: 1080px) {
  .services-grid, .features-grid, .game-features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-card { grid-template-columns: repeat(3, 1fr); }
  .value:nth-child(4)::before { display: none; }
  .value:nth-child(n+4) { border-top: 1px solid var(--line); }
}

@media (max-width: 920px) {
  :root { --header-h: 84px; }
  .hero-grid, .about-grid, .why-grid, .contact-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; order: -1; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .products-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process::before { display: none; }
  .cta-band { grid-template-columns: 1fr; text-align: center; }
  .cta-band .btns { justify-content: center; }
  .why-visual { min-height: 340px; }
  .page-hero-grid .mock, .page-hero-grid .game-art { max-width: 560px; width: 100%; margin: 0 auto; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding: 0 16px; }
  .header-inner { gap: 8px; }
  .brand-logo { height: 68px; padding: 3px 5px; }
  .header-tools { gap: 6px; }
  .tool-btn { height: 38px; min-width: 38px; padding: 0 8px; border-radius: 11px; }
  .nav-toggle { width: 38px; height: 38px; border-radius: 11px; }
  .lang-switch .tool-label { display: none; }
  .values-strip { margin-top: -36px; }
  .values-card { grid-template-columns: 1fr 1fr; }
  .value { padding: 22px 12px; }
  .value::before { display: none; }
  .value:nth-child(n+3) { border-top: 1px solid var(--line); }
  .value:nth-child(odd):not(:last-child) { border-inline-end: 1px solid var(--line); }
  .value:last-child { grid-column: 1 / -1; }
  .services-grid, .features-grid, .game-features, .why-list, .form-row { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-info, .contact-form { padding: 26px 20px; }
  .product-body { padding: 24px 20px; }
  .product-media { height: 210px; }
  .product-media .media-art { width: 182px; height: 182px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .btn { white-space: normal; text-align: center; }
  .float-card { font-size: .76rem; padding: 8px 10px; }
  .float-card img, .float-card .ico { width: 28px; height: 28px; }
  .float-card.fc-1 { left: 0; bottom: -3%; }
  .float-card.fc-2 { right: 0; top: 0; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .kpi strong { font-size: 13px; }
  .notify form { flex-direction: column; }
  .why-visual { padding: 28px; }
  .why-visual img { width: 70%; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
}
