/* Nokta Solution — v3 · AI platform */
:root {
  --bg: #04070c;
  --bg-2: #070d16;
  --navy: #0d1b2a;
  --line: rgba(168, 208, 230, 0.11);
  --line-2: rgba(168, 208, 230, 0.22);
  --text: #eef3f9;
  --muted: #94a5ba;
  --gold: #d4b354;
  --gold-2: #f6dc8c;
  --blue: #a8d0e6;
  --blue-2: #5fb6ea;
  --wa: #25d366;
  --wrap: 1240px;
  --font-h: "Changa", "Space Grotesk", system-ui, sans-serif;
  --font-b: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-m: "Handjet", "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
html[lang="en"] { --font-h: "Space Grotesk", system-ui, sans-serif; --font-m: "JetBrains Mono", ui-monospace, monospace; }

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-b); font-size: 17px; line-height: 1.8; font-weight: 400; overflow-x: hidden;
}
html[lang="en"] body { line-height: 1.65; }
/* page-wide blueprint grid */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 85%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 85%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-h); margin: 0; line-height: 1.25; font-weight: 700; text-wrap: balance; }
html[lang="en"] h1, html[lang="en"] h2 { line-height: 1.08; letter-spacing: -0.03em; }
p { margin: 0; color: var(--muted); }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; position: relative; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.mono { font-family: var(--font-m); letter-spacing: 0.04em; }
html[lang="ar"] .mono { font-size: 1.28em; line-height: 1.2; letter-spacing: 0; }
.grad {
  background: linear-gradient(95deg, var(--gold-2) 0%, var(--gold) 35%, var(--blue) 75%, var(--blue-2) 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s ease-in-out infinite alternate;
}
@keyframes sheen { to { background-position: 100% 0; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 12px; border: 1px solid transparent;
  font-family: var(--font-h); font-weight: 600; font-size: 17px; cursor: pointer; white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-gold { background: linear-gradient(120deg, var(--gold-2), var(--gold)); color: #06080c; box-shadow: 0 0 0 1px rgba(246, 220, 140, 0.5), 0 14px 44px -12px rgba(212, 179, 84, 0.8); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--gold-2), 0 22px 60px -12px rgba(212, 179, 84, 1); }
.btn-line { border-color: var(--line-2); background: rgba(168, 208, 230, 0.05); backdrop-filter: blur(8px); }
.btn-line:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 14px 44px -16px rgba(95, 182, 234, 0.7); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid transparent; transition: background 0.3s, border-color 0.3s; }
.header.scrolled { background: rgba(4, 7, 12, 0.8); backdrop-filter: blur(18px); border-color: var(--line); }
.header .wrap { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.logo img { width: 146px; height: auto; }
.nav { display: flex; gap: 2px; margin-inline-start: auto; }
.nav a { padding: 8px 14px; border-radius: 8px; font-size: 15.5px; color: #cfdae8; transition: color 0.2s, background 0.2s; }
.nav a:hover { color: var(--gold-2); background: rgba(168, 208, 230, 0.07); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { background: rgba(4, 7, 12, 0.7); display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; }
.lang:hover { border-color: var(--gold); color: var(--gold-2); }
.lang svg { width: 16px; height: 16px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
.burger i { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--gold); }

/* ---------- Stickers ---------- */
.stk {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 5px 14px;
  font-family: var(--font-m); font-weight: 600; font-size: 15px; line-height: 1.3; white-space: nowrap;
  color: #06080c; background: var(--gold); border: 2px solid #06080c; border-radius: 10px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(246, 220, 140, 0.6);
  transform: rotate(var(--r, -6deg)); animation: bob 5s ease-in-out infinite; animation-delay: var(--d, 0s);
  pointer-events: none;
}
html[lang="ar"] .stk { font-size: 20px; }
.stk svg { width: 16px; height: 16px; }
.stk.blue { background: var(--blue); box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(168, 208, 230, 0.7); }
.stk.dark { background: #0b1420; color: var(--gold-2); border-color: var(--gold); box-shadow: 4px 4px 0 rgba(212, 179, 84, 0.35); }
.stk.pill { border-radius: 999px; }
@keyframes bob { 50% { transform: rotate(calc(var(--r, -6deg) + 3deg)) translateY(-9px); } }
.ring { direction: ltr; position: absolute; z-index: 3; width: 128px; height: 128px; pointer-events: none; }
.ring svg.spin { width: 100%; height: 100%; animation: spin 16s linear infinite; }
.ring text { font-family: "JetBrains Mono", monospace; font-size: 11.5px; font-weight: 600; letter-spacing: 0.24em; fill: var(--gold-2); }
.ring .core { position: absolute; inset: 30%; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #06080c; box-shadow: 0 0 40px rgba(212, 179, 84, 0.7); }
.ring .core svg { width: 60%; height: 60%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; isolation: isolate; text-align: center; }
#net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
/* keep the animated network out from behind the text */
.hero #net { -webkit-mask-image: radial-gradient(ellipse 44% 46% at 50% 36%, transparent 70%, #000 100%); mask-image: radial-gradient(ellipse 44% 46% at 50% 36%, transparent 70%, #000 100%); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(50% 40% at 50% 0%, rgba(212, 179, 84, 0.2), transparent 70%),
    radial-gradient(40% 40% at 12% 55%, rgba(95, 182, 234, 0.14), transparent 70%),
    radial-gradient(40% 40% at 88% 60%, rgba(212, 179, 84, 0.1), transparent 70%);
}
.floor {
  position: absolute; inset: auto -20% 0 -20%; height: 420px; z-index: -1; pointer-events: none;
  transform: perspective(700px) rotateX(62deg); transform-origin: 50% 100%;
  background-image: linear-gradient(rgba(212, 179, 84, 0.3) 1px, transparent 1px), linear-gradient(90deg, rgba(168, 208, 230, 0.22) 1px, transparent 1px);
  background-size: 64px 64px; animation: floor 5s linear infinite;
  -webkit-mask-image: linear-gradient(0deg, #000, transparent 85%); mask-image: linear-gradient(0deg, #000, transparent 85%);
}
@keyframes floor { to { background-position: 0 64px, 0 0; } }
.tagline {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 8px; border-radius: 999px;
  border: 1px solid rgba(212, 179, 84, 0.4); background: rgba(212, 179, 84, 0.08); color: var(--gold-2); font-size: 15px;
}
html[dir="rtl"] .tagline { padding: 6px 8px 6px 16px; }
.tagline b { font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--gold); color: #06080c; letter-spacing: 0.08em; }
.hero h1 { font-size: clamp(36px, 5.6vw, 80px); font-weight: 800; margin: 26px auto 22px; max-width: 880px; }
.hero .lead { font-size: clamp(17px, 1.6vw, 21px); max-width: 720px; margin-inline: auto; color: #c0cddd; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.modal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 34px 0 0; padding: 0; list-style: none; }
.modal li { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border: 1px dashed var(--line-2); border-radius: 8px; font-family: var(--font-m); font-size: 14px; color: var(--blue); }
html[lang="ar"] .modal li { font-size: 19px; }
.modal li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: blink 1.6s infinite; animation-delay: calc(var(--i) * 0.2s); }
@keyframes blink { 50% { opacity: 0.25; } }
.hero .s1 { top: 170px; inset-inline-start: 24px; --r: -9deg; }
.hero .s2 { top: 300px; inset-inline-end: 24px; --r: 7deg; --d: -2s; }
.hero .s3 { top: 470px; inset-inline-start: 40px; --r: 5deg; --d: -3.5s; }
.hero .ring { top: 120px; inset-inline-end: 7%; }

/* Console */
.console {
  position: relative; margin: 64px auto 0; max-width: 1060px; text-align: start; border-radius: 18px;
  border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(13, 24, 38, 0.92), rgba(6, 10, 17, 0.96));
  box-shadow: 0 -30px 120px -30px rgba(212, 179, 84, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.6); backdrop-filter: blur(10px); overflow: hidden;
}
.console::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-2), var(--blue), transparent); animation: scan 4s linear infinite; background-size: 200% 100%; }
@keyframes scan { to { background-position: -200% 0; } }
.console-bar { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--muted); letter-spacing: 0.1em; direction: ltr; }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2b3a4d; }
.console-bar i:first-child { background: var(--gold); }
.console-bar span { margin-inline-start: 10px; }
.console-bar em { margin-inline-start: auto; font-style: normal; color: var(--wa); display: inline-flex; align-items: center; gap: 6px; }
.console-bar em::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--wa); animation: blink 1.4s infinite; }
.console-body { display: grid; grid-template-columns: 0.9fr 1.1fr; }
.prompt { padding: 26px; border-inline-end: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.prompt label { font-family: var(--font-m); font-size: 13px; color: var(--gold); }
html[lang="ar"] .prompt label { font-size: 18px; }
.prompt-box { min-height: 112px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(4, 7, 12, 0.7); font-size: 17px; color: #fff; line-height: 1.7; }
.prompt-box .caret { display: inline-block; width: 2px; height: 1.1em; background: var(--gold-2); vertical-align: -0.2em; margin-inline-start: 2px; animation: blink 0.9s steps(1) infinite; }
.gen { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 10px; background: var(--gold); color: #06080c; font-family: var(--font-h); font-weight: 700; font-size: 15px; }
.gen svg { width: 16px; height: 16px; }
.gen.run svg { animation: spin 1s linear infinite; }
.outs { padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.out { position: relative; border-radius: 12px; border: 1px solid var(--line); background: rgba(168, 208, 230, 0.03); padding: 12px; min-height: 126px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; opacity: 0.35; transition: opacity 0.4s, border-color 0.4s; }
.out.load, .out.done { opacity: 1; }
.out.done { border-color: rgba(212, 179, 84, 0.55); }
.out.load::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(246, 220, 140, 0.16) 50%, transparent 70%); background-size: 200% 100%; animation: scan 1.1s linear infinite; }
.out .viz { height: 62px; border-radius: 8px; position: relative; overflow: hidden; background: rgba(4, 7, 12, 0.6); }
.out .meta { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; margin-top: 10px; color: #d7e1ee; }
.out .meta small { font-family: "JetBrains Mono", monospace; font-size: 10.5px; color: var(--muted); letter-spacing: 0.06em; }
.out.done .meta small { color: var(--wa); }
.v-text { padding: 9px; display: grid; gap: 6px; align-content: center; }
.v-text i { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--blue), transparent); width: 0; transition: width 0.8s var(--ease); }
.done .v-text i:nth-child(1) { width: 92%; } .done .v-text i:nth-child(2) { width: 74%; transition-delay: 0.1s; } .done .v-text i:nth-child(3) { width: 84%; transition-delay: 0.2s; } .done .v-text i:nth-child(4) { width: 48%; transition-delay: 0.3s; }
.v-img { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; }
.v-img i { border-radius: 5px; opacity: 0; transform: scale(0.8); transition: 0.5s var(--ease); }
.v-img i:nth-child(1) { background: linear-gradient(135deg, #d4b354, #7a5a12); } .v-img i:nth-child(2) { background: linear-gradient(135deg, #a8d0e6, #1f4a6b); transition-delay: 0.12s; } .v-img i:nth-child(3) { background: linear-gradient(135deg, #0d1b2a, #d4b354); transition-delay: 0.24s; }
.done .v-img i { opacity: 1; transform: none; }
.v-vid { display: grid; place-items: center; background: linear-gradient(135deg, #0d1b2a, #163452); }
.v-vid svg { width: 26px; height: 26px; color: var(--gold-2); }
.v-vid b { position: absolute; inset: auto 8px 7px 8px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.15); }
.v-vid b::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; background: var(--gold); border-radius: 2px; }
.done .v-vid b::after { animation: fill 3.5s linear forwards; }
@keyframes fill { to { width: 100%; } }
.v-bars { display: flex; align-items: flex-end; gap: 5px; padding: 8px 10px; direction: ltr; }
.v-bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(0deg, var(--gold), var(--gold-2)); height: 6%; transition: height 0.9s var(--ease); }
.v-bars i:nth-child(even) { background: linear-gradient(0deg, #2d6c95, var(--blue)); }
.done .v-bars i:nth-child(1) { height: 28%; } .done .v-bars i:nth-child(2) { height: 40%; } .done .v-bars i:nth-child(3) { height: 36%; } .done .v-bars i:nth-child(4) { height: 58%; } .done .v-bars i:nth-child(5) { height: 70%; } .done .v-bars i:nth-child(6) { height: 64%; } .done .v-bars i:nth-child(7) { height: 92%; }

/* ---------- Ticker ---------- */
.tickers { overflow: hidden; padding: 18px 0; position: relative; }
.ticker { border-block: 1px solid var(--line-2); background: var(--gold); color: #06080c; overflow: hidden; direction: ltr; transform: rotate(-1deg) scale(1.02); position: relative; }
.ticker.b { background: #0b1420; color: var(--blue); transform: rotate(1deg) scale(1.02); margin-top: -8px; z-index: 3; }
.ticker-track { display: flex; width: max-content; animation: slide 36s linear infinite; }
.ticker.b .ticker-track { animation-direction: reverse; animation-duration: 44s; }
.ticker span { display: inline-flex; align-items: center; gap: 22px; padding: 9px 11px; font-family: var(--font-h); font-weight: 700; font-size: 17px; white-space: nowrap; }
.ticker span::after { content: "✦"; font-size: 14px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.sec { padding: clamp(80px, 9vw, 130px) 0; position: relative; }
.sec > .wrap::before, .sec > .wrap::after { content: "+"; position: absolute; top: -14px; font-family: "JetBrains Mono", monospace; font-size: 20px; line-height: 1; color: var(--gold); opacity: 0.7; }
.sec > .wrap::before { inset-inline-start: -6px; } .sec > .wrap::after { inset-inline-end: -6px; }
.sec + .sec { border-top: 1px solid var(--line); }
.head { max-width: 820px; margin-bottom: 54px; position: relative; }
.head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-m); font-size: 14px; color: var(--gold); margin-bottom: 16px; }
html[lang="ar"] .kicker { font-size: 21px; }
.kicker b { font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 400; color: var(--blue); border: 1px solid var(--line-2); padding: 2px 8px; border-radius: 6px; direction: ltr; }
.head h2 { font-size: clamp(30px, 4.2vw, 56px); margin-bottom: 16px; font-weight: 700; }
.head p { font-size: 18.5px; }

/* Flow */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; background: rgba(7, 13, 22, 0.7); position: relative; }
.flow::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-2), transparent); background-size: 40% 100%; background-repeat: no-repeat; animation: run 3.6s linear infinite; }
html[dir="rtl"] .flow::before { animation-direction: reverse; }
@keyframes run { from { background-position: -70% 0; } to { background-position: 170% 0; } }
.node { padding: 30px 22px 32px; border-inline-end: 1px solid var(--line); position: relative; transition: background 0.3s; }
.node:last-child { border-inline-end: 0; }
.node:hover { background: rgba(212, 179, 84, 0.06); }
.node .n { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--blue); letter-spacing: 0.12em; }
.node .ic { width: 50px; height: 50px; margin: 16px 0 18px; border-radius: 12px; display: grid; place-items: center; color: var(--gold-2); border: 1px solid rgba(212, 179, 84, 0.45); background: rgba(212, 179, 84, 0.08); }
.node .ic svg { width: 24px; height: 24px; }
.node h3 { font-size: 20px; margin-bottom: 8px; }
.node p { font-size: 15px; line-height: 1.7; }
.node.human { background: linear-gradient(180deg, rgba(168, 208, 230, 0.1), transparent); }
.node.human .ic { color: var(--blue); border-color: rgba(168, 208, 230, 0.5); background: rgba(168, 208, 230, 0.08); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cell {
  position: relative; grid-column: span 2; padding: 26px; border-radius: 18px; border: 1px solid var(--line-2); overflow: hidden;
  background: linear-gradient(160deg, rgba(13, 24, 38, 0.85), rgba(5, 9, 15, 0.9)); display: flex; flex-direction: column; min-height: 320px;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.cell::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 179, 84, 0.16), transparent 60%); }
.cell:hover { transform: translateY(-5px); border-color: rgba(212, 179, 84, 0.6); }
.cell:hover::before { opacity: 1; }
.cell.w3 { grid-column: span 3; } .cell.w4 { grid-column: span 4; }
.cell .tag { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.14em; color: var(--blue); direction: ltr; align-self: flex-start; }
.cell h3 { font-size: 24px; margin: 8px 0 8px; }
.cell p { font-size: 15.5px; max-width: 46ch; }
.cell .art { margin-top: auto; padding-top: 22px; }
.cell .stk { position: absolute; top: 18px; inset-inline-end: 18px; animation: none; }
/* art: chart */
.a-chart { height: 120px; display: flex; align-items: flex-end; gap: 8px; direction: ltr; border-bottom: 1px solid var(--line-2); position: relative; }
.a-chart i { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(0deg, rgba(212, 179, 84, 0.25), var(--gold)); transform-origin: bottom; animation: grow 3.2s var(--ease) infinite alternate; animation-delay: calc(var(--k) * 0.14s); height: calc(var(--h) * 1%); }
.a-chart i:nth-child(3n) { background: linear-gradient(0deg, rgba(168, 208, 230, 0.2), var(--blue)); }
@keyframes grow { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }
/* art: image gen */
.a-gen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.a-gen i { aspect-ratio: 1; border-radius: 10px; position: relative; overflow: hidden; background: var(--g); }
.a-gen i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%); background-size: 250% 100%; animation: scan 2.6s linear infinite; animation-delay: calc(var(--k) * 0.4s); }
/* art: video */
.a-video { height: 120px; border-radius: 12px; background: linear-gradient(135deg, #10263c, #05090f); position: relative; display: grid; place-items: center; border: 1px solid var(--line); overflow: hidden; }
.a-video .play { width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: #06080c; display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(212, 179, 84, 0.6); animation: pulse 2s infinite; }
.a-video .play svg { width: 20px; height: 20px; }
.a-video b { position: absolute; inset: auto 12px 10px 12px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); direction: ltr; }
.a-video b::after { content: ""; position: absolute; inset: 0 auto 0 0; background: var(--gold-2); border-radius: 2px; animation: fill 5s linear infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(212, 179, 84, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 179, 84, 0); } }
/* art: voice */
.a-voice { height: 90px; display: flex; align-items: center; justify-content: center; gap: 5px; direction: ltr; }
.a-voice i { width: 5px; border-radius: 3px; background: var(--blue); height: 20%; animation: eq 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--k) * -0.13s); }
.a-voice i:nth-child(3n) { background: var(--gold); }
@keyframes eq { to { height: 95%; } }
/* art: posts */
.a-posts { height: 110px; position: relative; }
.a-posts i { position: absolute; bottom: 0; inset-inline-start: calc(var(--k) * 22%); width: 30%; height: 96px; border-radius: 10px; border: 1px solid var(--line-2); background: linear-gradient(160deg, var(--g), #070d16); transform: rotate(calc((var(--k) - 1.5) * 5deg)); animation: bob2 4s ease-in-out infinite; animation-delay: calc(var(--k) * -0.7s); }
@keyframes bob2 { 50% { translate: 0 -10px; } }
/* art: web */
.a-web { height: 120px; border-radius: 10px; border: 1px solid var(--line-2); padding: 22px 10px 10px; position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; }
.a-web::before { content: "● ● ●"; position: absolute; top: 4px; inset-inline-start: 10px; font-size: 7px; color: var(--muted); letter-spacing: 2px; }
.a-web i { border-radius: 6px; background: rgba(168, 208, 230, 0.14); animation: blink 2.4s infinite; animation-delay: calc(var(--k) * 0.3s); }
.a-web i:first-child { grid-row: span 2; background: rgba(212, 179, 84, 0.22); }
/* art: chat */
.a-chat { display: grid; gap: 8px; font-size: 14px; }
.a-chat span { max-width: 78%; padding: 8px 14px; border-radius: 14px; background: rgba(168, 208, 230, 0.1); color: #dbe6f2; justify-self: start; }
.a-chat span.me { justify-self: end; background: rgba(212, 179, 84, 0.2); color: var(--gold-2); }
.a-chat .dots { display: inline-flex; gap: 4px; align-items: center; height: 36px; }
.a-chat .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); animation: blink 1s infinite; animation-delay: calc(var(--k) * 0.2s); }
/* academy cell */
.cell.acad { background: linear-gradient(120deg, rgba(212, 179, 84, 0.2), rgba(13, 24, 38, 0.9) 55%); border-color: rgba(212, 179, 84, 0.55); }
.tracks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 22px; }
.tracks span { padding: 6px 14px; border-radius: 8px; border: 1px dashed rgba(246, 220, 140, 0.55); font-size: 14.5px; color: var(--gold-2); }
.link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--gold-2); font-family: var(--font-h); font-weight: 600; font-size: 16px; }
.link svg { width: 18px; height: 18px; transition: transform 0.3s; }
html[dir="rtl"] .link svg, html[dir="rtl"] .flip { transform: scaleX(-1); }

/* Fields */
.fields { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; }
.field { padding: 28px 24px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; transition: background 0.3s; background: rgba(7, 13, 22, 0.6); }
.field:nth-child(4n) { border-inline-end: 0; } .field:nth-last-child(-n + 4) { border-bottom: 0; }
.field:hover { background: rgba(212, 179, 84, 0.08); }
.field svg { width: 34px; height: 34px; color: var(--gold-2); margin-bottom: 16px; transition: transform 0.4s var(--ease); }
.field:hover svg { transform: scale(1.15) rotate(-6deg); }
.field h3 { font-size: 20px; margin-bottom: 6px; }
.field p { font-size: 14.5px; line-height: 1.7; }
.field .n { position: absolute; top: 14px; inset-inline-end: 16px; font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--muted); }

/* Compare */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.col { border-radius: 18px; border: 1px solid var(--line-2); padding: 30px; background: rgba(7, 13, 22, 0.7); }
.col.new { border-color: rgba(212, 179, 84, 0.6); background: linear-gradient(170deg, rgba(212, 179, 84, 0.14), rgba(7, 13, 22, 0.8)); box-shadow: 0 30px 90px -50px rgba(212, 179, 84, 0.9); position: relative; }
.col h3 { font-size: 22px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.col.old h3 { color: var(--muted); }
.col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.col li { display: flex; gap: 12px; font-size: 16.5px; line-height: 1.6; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.col li:last-child { border: 0; padding: 0; }
.col li svg { width: 20px; height: 20px; flex: none; margin-top: 4px; }
.col.old li { color: var(--muted); } .col.old li svg { color: #e07a7a; }
.col.new li svg { color: var(--gold); }
.col.new .stk { top: -16px; inset-inline-end: 24px; --r: 4deg; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { position: relative; padding: 32px 28px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(7, 13, 22, 0.7); display: flex; flex-direction: column; }
.plan.hot { border-color: rgba(212, 179, 84, 0.65); background: linear-gradient(170deg, rgba(212, 179, 84, 0.15), rgba(7, 13, 22, 0.8)); }
.plan .stk { top: -16px; inset-inline-start: 24px; --r: -4deg; }
.plan .when { font-family: "JetBrains Mono", var(--font-b), monospace; font-size: 13px; color: var(--blue); }
.plan h3 { font-size: 26px; margin: 4px 0 10px; }
.plan > p { font-size: 15.5px; }
.plan ul { list-style: none; margin: 22px 0 28px; padding: 22px 0 0; border-top: 1px dashed var(--line-2); display: grid; gap: 12px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; font-size: 15.5px; color: #d7e1ee; line-height: 1.6; }
.plan li svg { width: 19px; height: 19px; color: var(--gold); flex: none; margin-top: 4px; }
.note { text-align: center; font-size: 14.5px; margin-top: 26px; }

/* FAQ */
.faq { max-width: 880px; margin-inline: auto; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; background: rgba(7, 13, 22, 0.7); }
.faq details { padding: 0 26px; border-bottom: 1px solid var(--line); }
.faq details:last-child { border: 0; }
.faq details[open] { background: rgba(212, 179, 84, 0.06); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-family: var(--font-h); font-weight: 600; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: "JetBrains Mono", monospace; font-size: 24px; color: var(--gold); transition: transform 0.3s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 24px; font-size: 16.5px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; border-radius: 22px; overflow: hidden; border: 1px solid rgba(212, 179, 84, 0.5); background: linear-gradient(140deg, rgba(212, 179, 84, 0.16), rgba(13, 27, 42, 0.5) 60%); position: relative; }
.contact-info { padding: clamp(30px, 5vw, 60px); position: relative; }
.contact-info h2 { font-size: clamp(30px, 4vw, 52px); margin-bottom: 16px; }
.contact-info > p { font-size: 18px; color: #d2dcea; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.contact-list a, .contact-list span { display: inline-flex; align-items: center; gap: 12px; color: #e6edf6; }
.contact-list svg { width: 20px; height: 20px; color: var(--gold); }
.form { padding: clamp(30px, 5vw, 60px); background: rgba(4, 7, 12, 0.7); display: grid; gap: 16px; align-content: center; border-inline-start: 1px solid var(--line-2); }
.form label { display: grid; gap: 6px; font-size: 14.5px; color: #c5d1e0; }
.form input, .form select, .form textarea { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(168, 208, 230, 0.05); font-size: 16px; transition: border-color 0.2s; }
.form textarea { min-height: 92px; resize: vertical; }
.form select option { background: #0d1622; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form small { color: var(--muted); font-size: 13px; text-align: center; }

/* Footer */
.footer { border-top: 1px solid var(--line-2); padding: 60px 0 100px; background: #02040800; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.footer img { width: 160px; margin-bottom: 14px; }
.footer h3 { font-family: var(--font-m); font-size: 14px; color: var(--gold); margin-bottom: 14px; font-weight: 600; }
html[lang="ar"] .footer h3 { font-size: 20px; }
.footer nav { display: grid; gap: 9px; font-size: 15px; color: var(--muted); }
.footer nav a:hover { color: var(--gold-2); }
.footer p { font-size: 15px; max-width: 330px; }
.copy { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.wa-fab { position: fixed; z-index: 60; bottom: 22px; inset-inline-end: 22px; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 14px 40px -8px rgba(37, 211, 102, 0.7); transition: transform 0.3s; }
.wa-fab:hover { transform: scale(1.1) rotate(-6deg); }
.wa-fab svg { width: 30px; height: 30px; }

/* Reveal */
.rv { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1439px) { .hero .stk { display: none; } }
@media (max-width: 1100px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .node { border-bottom: 1px solid var(--line); }
  .node:last-child { grid-column: span 2; border-bottom: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cell, .cell.w3, .cell.w4 { grid-column: span 1; }
  .cell.acad { grid-column: span 2; }
  .fields { grid-template-columns: repeat(2, 1fr); }
  .field:nth-child(4n) { border-inline-end: 1px solid var(--line); } .field:nth-child(2n) { border-inline-end: 0; }
  .field:nth-last-child(-n + 4) { border-bottom: 1px solid var(--line); } .field:nth-last-child(-n + 2) { border-bottom: 0; }
  .plans { grid-template-columns: 1fr; gap: 28px; }
  .contact { grid-template-columns: 1fr; }
  .form { border-inline-start: 0; border-top: 1px solid var(--line-2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1020px) {
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; padding: 12px 20px 22px; margin: 0; background: #04070c; border-bottom: 1px solid var(--line-2); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: 0.3s var(--ease); }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .header-actions { margin-inline-start: auto; }
  .burger { display: block; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .header .btn { display: none; }
  .logo img { width: 124px; }
  .hero { padding-top: 116px; }
  .hero-cta .btn { width: 100%; }
  .console { margin-top: 44px; }
  .console-body { grid-template-columns: 1fr; }
  .prompt { border-inline-end: 0; border-bottom: 1px solid var(--line); padding: 18px; }
  .prompt-box { min-height: 84px; font-size: 16px; }
  .outs { padding: 14px; gap: 10px; }
  .out { min-height: 112px; }
  .ticker span { font-size: 15px; }
  .flow, .bento, .vs { grid-template-columns: 1fr; }
  .node:last-child, .cell.acad { grid-column: span 1; }
  .cell { min-height: 0; }
  .fields { grid-template-columns: 1fr 1fr; }
  .field { padding: 20px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .sec > .wrap::before, .sec > .wrap::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
html[lang="ar"] .out .meta small { font-family: var(--font-b); font-size: 12px; letter-spacing: 0; }

/* ================= v3.1 — multi-page components ================= */
.stk.inline { position: static; display: inline-flex; animation: none; margin-bottom: 18px; --r: -3deg; }
.wrap.narrow, .wrap-narrow { max-width: 780px; margin-inline: auto; }
.center-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 44px; }
.tag { font-family: "JetBrains Mono", monospace; font-size: 11.5px; letter-spacing: 0.14em; color: var(--blue); direction: ltr; unicode-bidi: isolate; display: inline-block; }
.link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--gold-2); font-family: var(--font-h); font-weight: 600; font-size: 16px; }
html[dir="rtl"] .btn .flip, html[dir="rtl"] a.btn-line > svg:last-child, html[dir="rtl"] .mega-all svg { transform: scaleX(-1); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.ticks li { display: flex; gap: 11px; font-size: 16.5px; line-height: 1.65; color: #dbe5f1; }
.ticks svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--gold); }

/* --- nav dropdown --- */
.nav { align-items: center; }
.nav a.active, .dd-btn.active { color: var(--gold-2); }
.nav-cta { display: none; }
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 0; background: none; border-radius: 8px; font-size: 15.5px; color: #cfdae8; cursor: pointer; transition: color 0.2s, background 0.2s; }
.dd-btn svg { width: 16px; height: 16px; transition: transform 0.25s; }
.dd-btn:hover, .dd.open .dd-btn { color: var(--gold-2); background: rgba(168, 208, 230, 0.07); }
.dd.open .dd-btn svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 14px); inset-inline-start: -120px; width: min(760px, 92vw); padding: 14px; border-radius: 18px;
  background: #070c14; border: 1px solid var(--line-2); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(212, 179, 84, 0.12);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
}
.mega::before { content: ""; position: absolute; inset: -16px 0 auto 0; height: 16px; }
.dd.open .mega { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1021px) { .dd:hover .mega, .dd:focus-within .mega { opacity: 1; visibility: visible; transform: none; } }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-grid a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; }
.mega-grid a:hover { background: rgba(212, 179, 84, 0.09); }
.mega .mi { width: 42px; height: 42px; flex: none; border-radius: 11px; display: grid; place-items: center; color: var(--gold-2); border: 1px solid rgba(212, 179, 84, 0.4); background: rgba(212, 179, 84, 0.08); }
.mega .mi svg { width: 21px; height: 21px; }
.mega b { display: block; font-family: var(--font-h); font-weight: 600; font-size: 16px; color: #fff; line-height: 1.4; }
.mega small { display: block; font-size: 13px; color: var(--muted); line-height: 1.55; margin-top: 2px; }
.mega-all { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 12px; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--gold-2); font-family: var(--font-h); font-weight: 600; font-size: 15px; }
.mega-all:hover { border-color: var(--gold); }
.mega-all svg { width: 17px; height: 17px; }

/* --- page hero --- */
.page-hero { position: relative; padding: 150px 0 70px; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(50% 60% at 50% 0%, rgba(212, 179, 84, 0.16), transparent 70%); }
.page-hero #net { opacity: 0.7; -webkit-mask-image: linear-gradient(to right, transparent 55%, #000 100%); mask-image: linear-gradient(to right, transparent 55%, #000 100%); }
html[dir="rtl"] .page-hero #net { -webkit-mask-image: linear-gradient(to left, transparent 55%, #000 100%); mask-image: linear-gradient(to left, transparent 55%, #000 100%); }
.page-hero.has-media #net { display: none; }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.has-media .ph-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.ph-text { max-width: 760px; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 60px); margin: 14px 0 18px; font-weight: 800; }
.page-hero .lead { font-size: clamp(17px, 1.4vw, 19.5px); color: #c0cddd; }
.page-hero .hero-cta { justify-content: flex-start; margin-top: 30px; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumb a:hover { color: var(--gold-2); }
.crumb > * + *::before { content: "/"; margin-inline-end: 8px; color: var(--line-2); }
.crumb span { color: var(--gold-2); }
.ph-media, .wide-media, .why-media { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid rgba(212, 179, 84, 0.4); box-shadow: 0 40px 100px -40px rgba(212, 179, 84, 0.55); }
.ph-media img, .wide-media img, .why-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.ph-media::after, .why-media::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-2), var(--blue), transparent); background-size: 50% 100%; background-repeat: no-repeat; animation: sweep 4.5s ease-in-out infinite; }
@keyframes sweep { 0% { top: 0; background-position: -60% 0; opacity: 0; } 15% { opacity: 1; } 100% { top: 100%; background-position: 160% 0; opacity: 0; } }
.wide-media { margin-top: 20px; }
.wide-media.flush { margin-top: 0; }
.wide-media img { aspect-ratio: 16 / 8; }
.two .wide-media img { aspect-ratio: auto; height: 100%; min-height: 260px; }
.why-media { max-width: 900px; margin: 0 auto 28px; }
.why-media img { aspect-ratio: 16 / 7; object-position: 50% 40%; }
.meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); }
.meta b { font-weight: 500; color: var(--gold-2); border: 1px solid rgba(212, 179, 84, 0.4); padding: 2px 10px; border-radius: 999px; }
.meta i { font-style: normal; display: inline-flex; align-items: center; gap: 6px; }
.meta svg { width: 15px; height: 15px; }
.page-hero .meta { margin-top: 22px; }

/* --- service cards --- */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svc-card, .art-card { display: flex; flex-direction: column; border-radius: 18px; border: 1px solid var(--line-2); background: linear-gradient(170deg, rgba(13, 24, 38, 0.85), rgba(5, 9, 15, 0.9)); overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s; }
.svc-card:hover, .art-card:hover { transform: translateY(-6px); border-color: rgba(212, 179, 84, 0.65); box-shadow: 0 30px 70px -40px rgba(212, 179, 84, 0.8); }
.svc-card .media, .art-card .media { aspect-ratio: 3 / 2; overflow: hidden; border-bottom: 1px solid var(--line); }
.svc-card img, .art-card img, .sector img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.svc-card:hover img, .art-card:hover img, .sector:hover img { transform: scale(1.07); }
.svc-card .body, .art-card .body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { font-size: 20px; margin: 8px 0 8px; }
.svc-card p, .art-card p { font-size: 15px; line-height: 1.7; }
.svc-card .link, .art-card .link { margin-top: auto; padding-top: 16px; }

/* --- gallery marquee --- */
.gal { display: grid; gap: 16px; overflow: hidden; padding: 4px 0; }
.gal-row { direction: ltr; overflow: hidden; }
.gal-track { display: flex; gap: 16px; width: max-content; animation: slide 70s linear infinite; }
.gal-row:nth-child(2) .gal-track { animation-direction: reverse; animation-duration: 84s; }
.gal:hover .gal-track { animation-play-state: paused; }
.gal-item { margin: 0; width: 232px; flex: none; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #070d16; }
.gal-item img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.gal-item figcaption { padding: 10px 14px; font-size: 14.5px; color: #dbe5f1; text-align: center; border-top: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* --- platforms --- */
.pf { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; background: rgba(7, 13, 22, 0.7); }
.pf-group { padding: 28px; }
.pf-group + .pf-group { border-inline-start: 1px solid var(--line); }
.pf-group h3, .tools-h { font-family: var(--font-b); font-weight: 500; font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.tools-h { margin-top: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px 8px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(168, 208, 230, 0.05); direction: ltr; transition: border-color 0.25s, transform 0.25s, background 0.25s; }
.chip:hover { border-color: var(--gold); background: rgba(212, 179, 84, 0.1); transform: translateY(-2px); }
.chip svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.chip b { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 14.5px; color: #eaf1f9; white-space: nowrap; }

/* --- two columns / list cards --- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.listcard { padding: 32px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(7, 13, 22, 0.7); }
.listcard.gold { border-color: rgba(212, 179, 84, 0.55); background: linear-gradient(170deg, rgba(212, 179, 84, 0.13), rgba(7, 13, 22, 0.8)); }
.listcard h2 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 22px; }

/* --- sectors / tracks --- */
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sector { border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: #070d16; }
.sector .media { aspect-ratio: 4 / 3.4; overflow: hidden; }
.sector .body { padding: 18px 20px 22px; border-top: 1px solid var(--line); }
.sector .n, .track .n { font-family: "JetBrains Mono", monospace; font-size: 11.5px; color: var(--blue); letter-spacing: 0.1em; }
.sector h3 { font-size: 21px; margin: 4px 0 6px; }
.sector p { font-size: 15px; }
.tracks-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.track { padding: 26px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(7, 13, 22, 0.7); transition: border-color 0.3s, transform 0.3s; }
.track:hover { border-color: rgba(212, 179, 84, 0.6); transform: translateY(-4px); }
.track h3 { font-size: 21px; margin: 8px 0 6px; }
.track p { font-size: 15.5px; }

/* --- articles --- */
.art-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.art-card h3 { font-size: 19.5px; line-height: 1.45; margin: 12px 0 8px; }
.prose { margin-top: 40px; font-size: 18px; line-height: 2; }
html[lang="en"] .prose { line-height: 1.8; }
.prose p { color: #cfdae8; margin-bottom: 20px; }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 38px 0 14px; color: var(--gold-2); }
.prose ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 10px; }
.prose li { position: relative; padding-inline-start: 24px; color: #cfdae8; }
.prose li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 0.85em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
html[lang="en"] .prose li::before { top: 0.7em; }
.cta-box { margin-top: 44px; padding: 30px; border-radius: 18px; border: 1px solid rgba(212, 179, 84, 0.55); background: linear-gradient(140deg, rgba(212, 179, 84, 0.15), rgba(7, 13, 22, 0.8)); }
.cta-box h3 { font-size: 24px; margin-bottom: 6px; }
.cta-box .hero-cta { justify-content: flex-start; margin-top: 22px; }

/* --- plans (ticks variant) --- */
.plan .ticks { margin: 22px 0 28px; padding-top: 22px; border-top: 1px dashed var(--line-2); flex: 1; align-content: start; }
.plan .ticks li { font-size: 15.5px; }

/* --- contact block with image --- */
.contact-info { overflow: hidden; }
.contact-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; z-index: 0; pointer-events: none; }
.contact-info > *:not(.contact-bg) { position: relative; z-index: 1; }
.contact-info .ticks { margin-top: 24px; }
.contact-list { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line-2); }

/* --- mobile bottom bar --- */
.mbar { display: none; }

@media (max-width: 1100px) {
  .svc-grid, .art-grid, .sectors, .tracks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .has-media .ph-grid { grid-template-columns: minmax(0, 1fr); }
  .ph-media { max-width: 640px; }
  .pf { grid-template-columns: 1fr; }
  .pf-group + .pf-group { border-inline-start: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 1020px) {
  .nav { align-items: stretch; max-height: calc(100vh - 76px); overflow-y: auto; }
  .dd-btn { width: 100%; justify-content: space-between; padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .mega { position: static; width: 100%; padding: 6px 0; border: 0; border-radius: 0; box-shadow: none; background: none; display: none; opacity: 1; visibility: visible; transform: none; }
  .dd.open .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega small { display: none; }
  .mega .mi { width: 34px; height: 34px; }
  .mega-grid a { align-items: center; padding: 9px 6px; }
  .nav-cta { display: block; color: var(--gold-2) !important; }
}
@media (max-width: 700px) {
  .svc-grid, .art-grid, .sectors, .tracks-grid, .two { grid-template-columns: minmax(0, 1fr); }
  .page-hero { padding: 112px 0 50px; }
  .page-hero .hero-cta .btn, .cta-box .btn, .center-cta .btn { width: 100%; }
  .listcard { padding: 24px 20px; }
  .gal-item { width: 178px; }
  .prose { font-size: 17px; }
  .wa-fab { display: none; }
  .mbar { position: fixed; inset: auto 0 0 0; z-index: 60; display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(4, 7, 12, 0.94); backdrop-filter: blur(14px); border-top: 1px solid var(--line-2); }
  .mbar .btn { min-height: 46px; padding: 0 10px; font-size: 14.5px; }
  body { padding-bottom: 68px; }
  .footer { padding-bottom: 40px; }
}
