    :root {
      --bg: #0b1020;
      --surface: rgba(255, 255, 255, 0.03);
      --border: rgba(255, 255, 255, 0.09);
      --border-strong: rgba(255, 255, 255, 0.16);
      --text: #e8ecf6;
      --muted: #a8b3cf;
      --purple: #8B3DFF;
      --violet: #A855F7;
      --blue: #2563EB;
      --cyan: #22D3EE;
      --teal: #2DD4BF;
      --radius: 14px;
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Inter', 'Noto Sans Arabic', system-ui, sans-serif;
      line-height: 1.6;
      overflow-x: hidden;
    }
    [dir="rtl"] body, [dir="rtl"] { font-family: 'Noto Sans Arabic', 'Inter', system-ui, sans-serif; }

    /* ambient background */
    #particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
    .glow {
      position: fixed; border-radius: 50%; filter: blur(120px); opacity: 0.18;
      pointer-events: none; z-index: 0; animation: driftbg 16s ease-in-out infinite alternate;
    }
    .glow--purple { width: 560px; height: 560px; background: var(--purple); top: -180px; inset-inline-start: -120px; }
    .glow--cyan { width: 480px; height: 480px; background: var(--cyan); top: 34vh; inset-inline-end: -160px; animation-delay: -8s; }
    @keyframes driftbg {
      from { transform: translate(0, 0) scale(1); }
      to   { transform: translate(40px, 60px) scale(1.15); }
    }

    .wrap { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

    /* nav */
    nav {
      position: sticky; top: 12px; z-index: 40;
      display: flex; align-items: center; justify-content: space-between; gap: 16px;
      margin: 14px 0 0; padding: 10px 10px 10px 18px;
      background: rgba(11, 16, 32, 0.72); backdrop-filter: blur(14px) saturate(1.4);
      border: 1px solid var(--border); border-radius: 999px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
    }
    /* anchors land below the floating header */
    section[id] { scroll-margin-top: 96px; }
    .nav__link.is-here { color: #fff; border-color: var(--border-strong); background: var(--surface); }
    .nav__links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
    .nav__link {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
      color: var(--muted); text-decoration: none; border: 1px solid transparent;
      transition: color .15s ease, border-color .15s ease, background .15s ease;
    }
    .nav__link svg { width: 16px; height: 16px; flex-shrink: 0; }
    .nav__link:hover { color: #fff; border-color: var(--border-strong); background: var(--surface); }
    @media (max-width: 700px) {
      /* icons only, so the bar stays one slim row and can keep sticking */
      nav { top: 8px; flex-wrap: nowrap; gap: 8px; padding: 8px 8px 8px 12px; }
      .brand img { width: 32px; }
      .brand__word { font-size: 18px; }
      .nav__links { flex-wrap: nowrap; gap: 5px; }
      .nav__link { padding: 9px 10px; gap: 0; }
      .nav__link span { display: none; }
      .nav__link svg { width: 19px; height: 19px; }
    }
    .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
    .brand img { width: 40px; height: auto; }
    .brand__word { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
    .brand__word .ai {
      background: linear-gradient(90deg, var(--blue), var(--cyan));
      -webkit-background-clip: text; background-clip: text; color: transparent;
    }
    .lang-toggle {
      border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
      border-radius: 999px; padding: 7px 16px; font-size: 14px; cursor: pointer;
      font-family: inherit; transition: border-color .15s ease;
      display: none; /* English-only for now — remove this line to bring Arabic back */
    }
    .lang-toggle:hover { border-color: var(--cyan); }

    /* hero — poster lockup */
    header.hero { padding: 44px 0 36px; text-align: center; }

    /* big animated status capsule (hero) */
    @property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
    .coming {
      position: relative; display: inline-flex; align-items: center; gap: 14px;
      margin-bottom: 30px; padding: 15px 40px; border-radius: 999px; overflow: hidden;
      font-size: clamp(15px, 2.4vw, 19px); font-weight: 800; letter-spacing: 0.24em;
      text-transform: uppercase; color: #fff; cursor: default;
      background:
        linear-gradient(var(--bg), var(--bg)) padding-box,
        conic-gradient(from var(--angle), var(--purple), var(--blue), var(--cyan), var(--violet), var(--purple)) border-box;
      border: 2px solid transparent;
      box-shadow: 0 0 36px rgba(139, 61, 255, 0.35), 0 0 90px rgba(34, 211, 238, 0.14);
      animation: borderspin 4s linear infinite;
    }
    [dir="rtl"] .coming { letter-spacing: 0.06em; }
    @keyframes borderspin { to { --angle: 360deg; } }
    .coming::after {
      content: ''; position: absolute; inset: 0; pointer-events: none;
      background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.28) 50%, transparent 68%);
      transform: translateX(-130%);
      animation: shine 3.4s ease-in-out infinite;
    }
    @keyframes shine {
      0% { transform: translateX(-130%); }
      55%, 100% { transform: translateX(130%); }
    }
    .coming .live-dot {
      width: 11px; height: 11px; border-radius: 50%; background: #4ADE80; flex-shrink: 0;
      box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
      animation: vispulse 1.8s ease-out infinite;
    }

    /* orbiting module icons around the mark */
    .orbit-wrap {
      position: relative; width: 235px; height: 235px; margin: 4px auto 16px;
      display: flex; align-items: center; justify-content: center;
    }
    .hero__mark {
      width: 108px; height: auto;
      animation: floaty 5s ease-in-out infinite;
      filter: drop-shadow(0 0 44px rgba(139, 61, 255, 0.4));
    }
    @keyframes floaty {
      0%, 100% { transform: translateY(0); }
      50%      { transform: translateY(-12px); }
    }
    .orbit-ring {
      position: absolute; inset: 6px; border-radius: 50%;
      border: 1px dashed rgba(255, 255, 255, 0.12);
      animation: ringspin 40s linear infinite;
    }
    @keyframes ringspin { to { transform: rotate(360deg); } }
    .orb {
      position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px;
      display: flex; align-items: center; justify-content: center; font-size: 17px;
      border-radius: 50%; background: rgba(20, 27, 51, 0.92); border: 1px solid var(--border-strong);
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
      animation: orbit 22s linear infinite; animation-delay: var(--d);
    }
    @keyframes orbit {
      from { transform: rotate(0deg) translateX(112px) rotate(0deg); }
      to   { transform: rotate(360deg) translateX(112px) rotate(-360deg); }
    }
    h1.lockup {
      font-size: clamp(44px, 7.4vw, 74px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05;
      color: #fff;
    }
    h1.lockup .ai {
      background: linear-gradient(90deg, var(--blue), var(--cyan), var(--blue));
      background-size: 220% 100%;
      -webkit-background-clip: text; background-clip: text; color: transparent;
      animation: gradshift 6s linear infinite;
    }
    @keyframes gradshift {
      from { background-position: 0% 50%; }
      to   { background-position: 220% 50%; }
    }
    .studio-line {
      display: flex; align-items: center; justify-content: center; gap: 18px;
      margin: 8px 0 6px;
      font-size: clamp(17px, 2.6vw, 26px); font-weight: 600; letter-spacing: 0.55em;
      text-indent: 0.55em;
      background: linear-gradient(90deg, var(--violet), var(--blue));
      -webkit-background-clip: text; background-clip: text; color: transparent;
    }
    .studio-line::before, .studio-line::after {
      content: ''; height: 2px; width: clamp(30px, 6vw, 60px); flex-shrink: 0;
      background: linear-gradient(90deg, var(--violet), var(--blue));
      opacity: .8;
    }
    .workspace-sub { color: var(--muted); font-size: clamp(15px, 2.2vw, 20px); font-weight: 500; margin-bottom: 20px; }
    .tagline { color: var(--text); font-size: clamp(15px, 2.1vw, 18px); max-width: 56ch; margin: 0 auto 26px; }
    .tagline .c1 { color: var(--violet); }
    .tagline .c2 { color: var(--blue); }
    .tagline .c3 { color: var(--teal); }
    .tagline .c4 { color: var(--purple); }

    /* live typewriter ticker — the platform "doing things" */
    .ticker {
      min-height: 24px; margin: -8px 0 24px; font-size: 14.5px; font-weight: 600;
      letter-spacing: 0.05em; color: var(--cyan);
    }
    [dir="rtl"] .ticker { letter-spacing: 0; }
    .ticker .caret {
      display: inline-block; width: 2px; height: 15px; margin-inline-start: 5px;
      background: var(--cyan); vertical-align: middle;
      animation: caretblink 1s step-end infinite;
    }
    @keyframes caretblink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

    /* pillars */
    .pillars { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 3.4vw, 30px); flex-wrap: wrap; margin-bottom: 30px; }
    .pillar { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; }
    .pillar svg { width: 22px; height: 22px; }
    .pillars .sep { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
    @media (max-width: 560px) { .pillars .sep { display: none; } }

    .badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
    .badge {
      font-size: 13px; padding: 6px 14px; border-radius: 999px;
      border: 1px solid var(--border-strong); color: var(--muted); background: var(--surface);
    }
    .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
    .btn {
      display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 10px;
      font-size: 15px; font-weight: 600; text-decoration: none; border: none; cursor: pointer;
      transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; font-family: inherit;
    }
    .btn--primary {
      color: #fff; background: linear-gradient(90deg, var(--purple), var(--blue));
      box-shadow: 0 8px 30px rgba(139, 61, 255, 0.3);
    }
    .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(139, 61, 255, 0.4); }
    .btn--ghost { color: var(--text); border: 1px solid var(--border-strong); background: transparent; }
    .btn--ghost:hover { border-color: var(--cyan); }

    /* ===== teaser reel ===== */
    .teaser { padding: 40px 0 20px; }
    .screen {
      position: relative; border-radius: 18px; overflow: hidden;
      border: 1px solid var(--border-strong);
      background: linear-gradient(180deg, rgba(20, 27, 51, 0.9), rgba(11, 16, 32, 0.95));
      box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), 0 0 80px rgba(139, 61, 255, 0.12);
      max-width: 860px; margin: 0 auto;
    }
    .screen__bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid var(--border); }
    .screen__bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
    .screen__bar i:nth-child(1) { background: #ff5f57; }
    .screen__bar i:nth-child(2) { background: #febc2e; }
    .screen__bar i:nth-child(3) { background: #28c840; }
    .screen__title { margin-inline-start: 10px; font-size: 12.5px; color: var(--muted); }
    .stage { position: relative; height: 352px; }
    @media (max-width: 640px) {
      .stage { height: 490px; }
      .scene { padding: 22px 20px; }
      .doc { width: 88px; height: 108px; }
      .docrow .doc:nth-child(2) { display: none; }
      .agentflow { gap: 7px; }
      .af-node { font-size: 12px; padding: 7px 11px; }
      .af-arrow { height: 9px; margin-inline-start: 22px; }
      .af-tool { font-size: 11px; padding: 6px 10px; }
      .chip { font-size: 11.5px; padding: 6px 11px; }
      .af-ext em, .af-tool--xtra { display: none; }
    }
    .scene {
      position: absolute; inset: 0; padding: 28px 34px;
      opacity: 0; transform: translateY(14px) scale(0.99); transition: opacity .6s ease, transform .6s ease;
      pointer-events: none;
    }
    .scene.active { opacity: 1; transform: none; }
    .scene__label {
      font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan);
      font-weight: 600; margin-bottom: 18px;
    }
    [dir="rtl"] .scene__label { letter-spacing: 0; }

    .bubble { max-width: 68%; padding: 11px 16px; border-radius: 14px; font-size: 14px; margin-bottom: 12px; opacity: 0; }
    .scene.active .bubble { animation: bubblein .5s ease forwards; }
    .bubble--user {
      margin-inline-start: auto; color: #fff;
      background: linear-gradient(90deg, var(--blue), rgba(34, 211, 238, 0.85));
      border-end-end-radius: 4px;
    }
    .bubble--ai { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border); border-end-start-radius: 4px; }
    .scene.active .bubble:nth-child(3) { animation-delay: .25s; }
    .scene.active .bubble:nth-child(4) { animation-delay: 1.1s; }
    @keyframes bubblein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
    .dots { display: inline-flex; gap: 5px; vertical-align: middle; }
    .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); display: block; animation: blink 1.1s ease-in-out infinite; }
    .dots i:nth-child(2) { animation-delay: .18s; }
    .dots i:nth-child(3) { animation-delay: .36s; }
    @keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

    .docrow { display: flex; gap: 16px; align-items: flex-start; }
    .doc {
      width: 120px; height: 150px; border-radius: 10px; flex-shrink: 0;
      background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border);
      position: relative; overflow: hidden; opacity: 0;
    }
    .scene.active .doc { animation: docin .55s ease forwards; }
    .scene.active .doc:nth-child(2) { animation-delay: .18s; }
    .doc::before {
      content: ''; position: absolute; inset-inline: 14px; top: 16px; height: 7px; border-radius: 3px;
      background: rgba(255, 255, 255, 0.16);
      box-shadow: 0 16px 0 rgba(255,255,255,.10), 0 32px 0 rgba(255,255,255,.10), 0 48px 0 rgba(255,255,255,.10), 0 64px 0 rgba(255,255,255,.07), 0 80px 0 rgba(255,255,255,.07);
    }
    .doc .scan {
      position: absolute; inset-inline: 0; height: 26px; top: -30px;
      background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.28), transparent);
      border-top: 1px solid rgba(34, 211, 238, 0.6);
    }
    .scene.active .doc .scan { animation: scan 2.4s ease-in-out infinite; }
    @keyframes scan { 0% { top: -30px; } 55% { top: 160px; } 100% { top: 160px; } }
    @keyframes docin { from { opacity: 0; transform: translateY(16px) rotate(-2deg); } to { opacity: 1; transform: none; } }
    .chips { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
    .chip {
      font-size: 12.5px; padding: 7px 13px; border-radius: 999px; align-self: flex-start;
      border: 1px solid rgba(34, 211, 238, 0.45); color: var(--text);
      background: rgba(34, 211, 238, 0.07); opacity: 0;
    }
    .chip b { color: var(--cyan); font-weight: 600; }
    .chip--ok { border-color: rgba(40, 200, 64, 0.55); color: #7ee2a0; background: rgba(40, 200, 64, 0.07); }
    .chip--ok b { color: #7ee2a0; }
    .scene.active .chip { animation: chipin .45s ease forwards; }
    .scene.active .chip:nth-child(1) { animation-delay: .9s; }
    .scene.active .chip:nth-child(2) { animation-delay: 1.25s; }
    .scene.active .chip:nth-child(3) { animation-delay: 1.6s; }
    .scene.active .chip:nth-child(4) { animation-delay: 1.95s; }
    @keyframes chipin { from { opacity: 0; transform: translateY(8px) scale(.94); } to { opacity: 1; transform: none; } }

    .graph { width: 100%; height: 230px; }
    .graph line { stroke: rgba(168, 179, 207, 0.4); stroke-width: 1.5; stroke-dasharray: 220; stroke-dashoffset: 220; }
    .scene.active .graph line { animation: draw 1.4s ease forwards; }
    .scene.active .graph line:nth-of-type(2) { animation-delay: .25s; }
    .scene.active .graph line:nth-of-type(3) { animation-delay: .5s; }
    .scene.active .graph line:nth-of-type(4) { animation-delay: .75s; }
    .scene.active .graph line:nth-of-type(5) { animation-delay: 1s; }
    @keyframes draw { to { stroke-dashoffset: 0; } }
    .graph circle { transform-origin: center; transform-box: fill-box; opacity: 0; }
    .scene.active .graph circle { animation: pop .5s cubic-bezier(.2, 1.4, .4, 1) forwards; }
    .scene.active .graph circle:nth-of-type(2) { animation-delay: .2s; }
    .scene.active .graph circle:nth-of-type(3) { animation-delay: .4s; }
    .scene.active .graph circle:nth-of-type(4) { animation-delay: .6s; }
    .scene.active .graph circle:nth-of-type(5) { animation-delay: .8s; }
    .scene.active .graph circle:nth-of-type(6) { animation-delay: 1s; }
    @keyframes pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
    .graph text { fill: var(--muted); font-size: 10.5px; font-family: inherit; opacity: 0; }
    .scene.active .graph text { animation: fadein .6s ease 1.3s forwards; }
    @keyframes fadein { to { opacity: 1; } }

    .voice { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 82%; gap: 24px; }
    .wave { display: flex; align-items: center; gap: 6px; height: 70px; }
    .wave i {
      display: block; width: 7px; border-radius: 4px; height: 14px;
      background: linear-gradient(180deg, var(--violet), var(--cyan));
    }
    .scene.active .wave i { animation: eq 1s ease-in-out infinite alternate; }
    .scene.active .wave i:nth-child(2n) { animation-delay: -.2s; }
    .scene.active .wave i:nth-child(3n) { animation-delay: -.45s; }
    .scene.active .wave i:nth-child(5n) { animation-delay: -.7s; }
    @keyframes eq { from { height: 12px; } to { height: 64px; } }
    .voice__langs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; max-width: 560px; }
    .voice__langs span {
      font-size: 13.5px; padding: 6px 15px; border-radius: 999px;
      border: 1px solid var(--border-strong); color: var(--muted);
    }
    .scene.active .voice__langs span { animation: langglow 7s ease-in-out infinite; }
    .scene.active .voice__langs span:nth-child(2) { animation-delay: 1s; }
    .scene.active .voice__langs span:nth-child(3) { animation-delay: 2s; }
    .scene.active .voice__langs span:nth-child(4) { animation-delay: 3s; }
    .scene.active .voice__langs span:nth-child(5) { animation-delay: 4s; }
    .scene.active .voice__langs span:nth-child(6) { animation-delay: 5s; }
    .scene.active .voice__langs span:nth-child(7) { animation-delay: 6s; }
    @keyframes langglow {
      0%, 18%, 100% { border-color: var(--border-strong); color: var(--muted); box-shadow: none; }
      6%, 12% { border-color: var(--cyan); color: var(--text); box-shadow: 0 0 18px rgba(34, 211, 238, 0.25); }
    }

    .reel-dots { display: flex; gap: 9px; justify-content: center; padding: 22px 0 0; }
    .reel-dots button {
      width: 8px; height: 8px; border-radius: 50%; border: none; cursor: pointer;
      background: rgba(255, 255, 255, 0.18); transition: background .3s ease, transform .3s ease; padding: 0;
    }
    .reel-dots button.on { background: var(--cyan); transform: scale(1.35); }

    /* live unique-visitor hero badge */
    .hero-visitors { margin: -4px 0 24px; }
    .vis-badge {
      position: relative; display: inline-flex; align-items: center; gap: 12px;
      padding: 11px 28px; border-radius: 999px; overflow: hidden;
      background:
        linear-gradient(rgba(15, 21, 44, 0.95), rgba(15, 21, 44, 0.95)) padding-box,
        conic-gradient(from var(--angle), var(--purple), var(--blue), var(--cyan), var(--violet), var(--purple)) border-box;
      border: 1.5px solid transparent;
      box-shadow: 0 0 26px rgba(139, 61, 255, 0.24), 0 0 60px rgba(34, 211, 238, 0.1);
      animation: borderspin 5s linear infinite;
    }
    .vis-badge::after {
      content: ''; position: absolute; inset: 0; pointer-events: none;
      background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.16) 50%, transparent 68%);
      transform: translateX(-130%);
      animation: shine 3.8s ease-in-out infinite;
    }
    .vis-dot {
      width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; flex-shrink: 0;
      box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
      animation: vispulse 1.8s ease-out infinite;
    }
    @keyframes vispulse {
      0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
      70%  { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
      100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
    }
    .vis-num {
      font-size: clamp(22px, 3.4vw, 27px); font-weight: 800; line-height: 1;
      font-variant-numeric: tabular-nums; min-width: 3ch; text-align: center;
      background: linear-gradient(135deg, var(--violet), var(--blue) 55%, var(--cyan));
      -webkit-background-clip: text; background-clip: text; color: transparent;
      filter: drop-shadow(0 0 14px rgba(37, 99, 235, 0.45));
    }
    .vis-num.landed { animation: numpop .55s cubic-bezier(0.34, 1.56, 0.64, 1); }
    @keyframes numpop {
      0%   { transform: scale(1); }
      45%  { transform: scale(1.18); filter: drop-shadow(0 0 26px rgba(34, 211, 238, 0.85)); }
      100% { transform: scale(1); }
    }
    .vis-lbl {
      color: var(--muted); font-size: 12px; font-weight: 800;
      letter-spacing: 0.2em; text-transform: uppercase;
    }
    [dir="rtl"] .vis-lbl { letter-spacing: 0.03em; }

    /* sections */
    section { padding: 56px 0; }
    .kicker {
      font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan);
      font-weight: 600; margin-bottom: 10px;
    }
    [dir="rtl"] .kicker { letter-spacing: 0; }
    h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
    .section-sub { color: var(--muted); font-size: 15px; margin-bottom: 34px; max-width: 62ch; }

    /* module cards — click to expand */
    /* symmetric 6-card layout: 3+3 on desktop, 2+2+2 on tablet, single column on mobile */
    .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    @media (max-width: 980px) { .grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }
    .module {
      border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
      padding: 26px 24px; cursor: pointer; text-align: start; width: 100%;
      color: var(--text); font-family: inherit;
      transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
    }
    .module:hover { border-color: rgba(34, 211, 238, 0.45); transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35); }
    .module.open { border-color: rgba(139, 61, 255, 0.55); }
    .module__head { display: flex; align-items: flex-start; gap: 14px; }
    .module__icon { font-size: 26px; line-height: 1.2; }
    .module h3 { font-size: 17px; font-weight: 700; }
    .module__kicker { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
    [dir="rtl"] .module__kicker { letter-spacing: 0; }
    .module__chev { margin-inline-start: auto; color: var(--muted); transition: transform .3s ease; font-size: 13px; }
    .module.open .module__chev { transform: rotate(180deg); }
    .module > p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
    .module__details { max-height: 0; overflow: hidden; transition: max-height .45s ease; }
    .module.open .module__details { max-height: 560px; }
    .module__details ul { list-style: none; margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
    @media (max-width: 480px) { .module__details ul { grid-template-columns: 1fr; } }
    .module__details li { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: baseline; }
    .module__details li::before { content: '◆'; font-size: 8px; color: var(--cyan); flex-shrink: 0; }
    .module__techlabel {
      margin-top: 18px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
      color: var(--violet); font-weight: 600;
    }
    [dir="rtl"] .module__techlabel { letter-spacing: 0; }
    .module__tech { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
    .module__tech span {
      font-size: 12px; padding: 4px 12px; border-radius: 999px;
      border: 1px solid rgba(139, 61, 255, 0.45); color: var(--text); background: rgba(139, 61, 255, 0.08);
    }

    /* ecosystem */
    .eco { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
    .card {
      border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
      padding: 26px 24px; transition: border-color .25s ease, transform .25s ease;
    }
    .card:hover { border-color: rgba(34, 211, 238, 0.45); transform: translateY(-4px); }
    .card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
    .card p { color: var(--muted); font-size: 14.5px; }
    .eco .card { display: flex; flex-direction: column; gap: 6px; }
    .eco__tag {
      align-self: flex-start; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
      padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
      border: 1px solid rgba(139, 61, 255, 0.5); color: var(--violet);
    }
    .eco .card:last-child .eco__tag { border-color: rgba(34, 211, 238, 0.5); color: var(--cyan); }
    [dir="rtl"] .eco__tag { letter-spacing: 0; }

    /* forge banner — closing statement */
    .forge-banner {
      position: relative; overflow: hidden; border-radius: 16px;
      display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
      padding: 32px 30px 36px;
      border: 1px solid transparent;
      background:
        linear-gradient(180deg, rgba(20, 27, 51, 0.88), rgba(11, 16, 32, 0.92)) padding-box,
        linear-gradient(90deg, rgba(139, 61, 255, 0.55), rgba(34, 211, 238, 0.55)) border-box;
    }
    .forge-banner::after {
      content: ''; position: absolute; bottom: 0; left: 0; height: 3px; width: 100%;
      background: linear-gradient(90deg, var(--purple), var(--blue), var(--cyan), var(--purple));
      background-size: 250% 100%;
      animation: gradshift 5s linear infinite;
    }
    .fb-icon {
      position: relative; font-size: 46px; line-height: 1; flex-shrink: 0;
      animation: hammer 2.4s ease-in-out infinite; transform-origin: 70% 90%;
    }
    @keyframes hammer {
      0%, 100% { transform: rotate(0deg); }
      12%      { transform: rotate(-20deg); }
      22%      { transform: rotate(9deg); }
      32%      { transform: rotate(0deg); }
    }
    .spark {
      position: absolute; bottom: 8px; left: 55%; width: 5px; height: 5px; border-radius: 50%;
      background: var(--cyan); opacity: 0; --sx: 18px;
      animation: sparkfly 2.4s ease-out infinite;
    }
    .spark.s2 { --sx: -16px; background: var(--violet); animation-delay: .06s; }
    .spark.s3 { --sx: 4px; background: #febc2e; animation-delay: .12s; }
    @keyframes sparkfly {
      0%, 20% { transform: translate(0, 0); opacity: 0; }
      26%     { opacity: 1; }
      60%     { transform: translate(var(--sx), -34px); opacity: 0; }
      100%    { opacity: 0; }
    }
    .fb-text { flex: 1; min-width: 260px; }
    .fb-text h3 { font-size: 20px; font-weight: 800; margin-bottom: 7px; }
    .grad2, .fb-text h3 .grad2 {
      background: linear-gradient(90deg, var(--violet), var(--cyan));
      -webkit-background-clip: text; background-clip: text; color: transparent;
    }
    .fb-text p { color: var(--muted); font-size: 14.5px; max-width: 64ch; }

    /* agents scene */
    .agentflow { display: flex; flex-direction: column; gap: 9px; max-width: 560px; }
    .af-node {
      display: flex; align-items: center; gap: 10px; align-self: flex-start;
      border: 1px solid var(--border-strong); border-radius: 12px; padding: 9px 16px;
      font-size: 13.5px; background: rgba(255, 255, 255, 0.05); opacity: 0;
    }
    .af-node em { font-style: normal; color: var(--muted); }
    .scene.active .af-node { animation: bubblein .5s ease forwards; }
    .scene.active .af-agent { animation-delay: .45s; }
    .af-agent { font-size: 16px; }
    .af-arrow {
      width: 2px; height: 13px; margin-inline-start: 28px;
      background: var(--border-strong); opacity: 0; position: relative;
    }
    .scene.active .af-arrow { animation: fadein .3s ease forwards; }
    .scene.active .af-arrow:nth-of-type(2) { animation-delay: .35s; }
    .scene.active .af-arrow:nth-of-type(4) { animation-delay: .85s; }
    .scene.active .af-arrow:nth-of-type(6) { animation-delay: 2s; }
    .af-tools { display: flex; gap: 9px; flex-wrap: wrap; }
    .af-tool {
      font-size: 12.5px; padding: 7px 14px; border-radius: 999px; opacity: 0;
      border: 1px solid rgba(45, 212, 191, 0.5); color: var(--text); background: rgba(45, 212, 191, 0.08);
    }
    .scene.active .af-tool { animation: chipin .45s ease forwards; }
    .scene.active .af-tool:nth-child(1) { animation-delay: 1s; }
    .scene.active .af-tool:nth-child(2) { animation-delay: 1.35s; }
    .scene.active .af-tool:nth-child(3) { animation-delay: 1.7s; }
    .af-done { border-color: rgba(40, 200, 64, 0.55); color: #7ee2a0; }
    .scene.active .af-done { animation-delay: 2.2s; }

    /* ── product showcase (real screens, tabbed) ───────────────── */
    .tabs {
      display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
      margin-bottom: 26px;
    }
    .tab {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 10px 18px; border-radius: 999px; cursor: pointer;
      font-family: inherit; font-size: 14px; font-weight: 600;
      color: var(--muted); background: var(--surface);
      border: 1px solid var(--border-strong);
      transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
    }
    .tab:hover { color: #fff; transform: translateY(-2px); }
    .tab.is-on {
      color: #fff;
      background:
        linear-gradient(rgba(15, 21, 44, 0.95), rgba(15, 21, 44, 0.95)) padding-box,
        conic-gradient(from var(--angle), var(--purple), var(--blue), var(--cyan), var(--violet), var(--purple)) border-box;
      border: 1px solid transparent;
      box-shadow: 0 0 22px rgba(139, 61, 255, 0.28);
      animation: borderspin 5s linear infinite;
    }
    .tab i { font-style: normal; font-size: 15px; }
    .shots { position: relative; }
    .shot { display: none; animation: shotin .5s ease both; }
    .shot.is-on { display: block; }
    /* carousel inside each group */
    .car { position: relative; }
    .car__slide { display: none; animation: shotin .45s ease both; }
    .car__slide.is-on { display: block; }
    /* diagrams and screenshots render at full width so the detail stays readable */
    .car .shot__frame { display: flex; flex-direction: column; }
    .car .shot__frame img { width: 100%; height: auto; background: #0a0e1e; }

    .car__cap { margin-top: 16px; min-height: 96px; }
    .car__cap h3 { font-size: 21px; font-weight: 800; margin-bottom: 7px; }
    .car__cap p { color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 76ch; }
    .car__nav {
      position: absolute; top: calc(var(--frameH, 320px) / 2); transform: translateY(-50%); z-index: 3;
      width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      font-size: 22px; line-height: 1; padding-bottom: 3px;
      color: var(--text); background: rgba(13, 18, 38, 0.86); backdrop-filter: blur(6px);
      border: 1px solid var(--border-strong);
      transition: background .15s ease, border-color .15s ease, transform .15s ease;
    }
    .car__nav:hover { background: rgba(20, 27, 51, 0.96); border-color: var(--cyan); color: #fff; }
    .car__nav--prev { inset-inline-start: -14px; }
    .car__nav--next { inset-inline-end: -14px; }
    [dir="rtl"] .car__nav { transform: translateY(-50%) scaleX(-1); }
    .car__foot { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; }
    .car__dots { display: flex; gap: 9px; }
    .car__dots button {
      width: 8px; height: 8px; border-radius: 50%; border: none; cursor: pointer; padding: 0;
      background: rgba(255, 255, 255, 0.2); transition: background .25s ease, transform .25s ease;
    }
    .car__dots button.on { background: var(--cyan); transform: scale(1.35); }
    .car__count { font-size: 12.5px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
    @media (max-width: 820px) {
      .car__nav { width: 38px; height: 38px; font-size: 19px; }
      .car__nav--prev { inset-inline-start: -6px; }
      .car__nav--next { inset-inline-end: -6px; }
      .car__cap { min-height: 0; }
      .car__cap h3 { font-size: 18px; }
      .car__cap p { font-size: 14px; }
    }
    @keyframes shotin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
    .shot__frame {
      border: 1px solid var(--border-strong); border-radius: 16px; overflow: hidden;
      background: #0d1226; box-shadow: 0 26px 70px rgba(0, 0, 0, 0.55);
      cursor: zoom-in;
    }
    .shot__bar {
      display: flex; align-items: center; gap: 7px; padding: 11px 15px;
      background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid var(--border);
    }
    .shot__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
    .shot__bar i:nth-child(2) { background: #febc2e; }
    .shot__bar i:nth-child(3) { background: #28c840; }
    .shot__bar span {
      margin-inline-start: 10px; font-size: 12px; color: var(--muted);
      font-weight: 600; letter-spacing: 0.04em;
    }
    .shot__frame img { display: block; width: 100%; height: auto; }
    .shot__cap { margin-top: 22px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; align-items: start; }
    .shot__cap h3 { font-size: 22px; font-weight: 800; margin-bottom: 9px; }
    .shot__cap p { color: var(--muted); font-size: 15px; line-height: 1.75; }
    .shot__pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
    .shot__pills li {
      font-size: 12.5px; font-weight: 600; color: var(--muted);
      padding: 7px 14px; border-radius: 999px;
      border: 1px solid var(--border-strong); background: var(--surface);
    }
    @media (max-width: 860px) { .shot__cap { grid-template-columns: 1fr; gap: 16px; } }

    /* lightbox */
    .lightbox {
      position: fixed; inset: 0; z-index: 60; display: none;
      align-items: center; justify-content: center; padding: 24px;
      background: rgba(4, 7, 16, 0.92); backdrop-filter: blur(6px); cursor: zoom-out;
    }
    .lightbox.open { display: flex; }
    .lightbox img {
      max-width: 100%; max-height: 92vh; border-radius: 12px;
      border: 1px solid var(--border-strong); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
    }
    .lightbox__close {
      position: absolute; top: 18px; inset-inline-end: 20px;
      width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
      background: var(--surface); border: 1px solid var(--border-strong);
      color: var(--text); font-size: 17px; line-height: 1;
    }

    footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 44px 0 40px; }
    .footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; margin-bottom: 34px; }
    .footer__brand .brand { margin-bottom: 12px; }
    .footer__lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; }
    .footer__lockup img { width: 40px; height: auto; }
    .footer__lockup .brand__word { font-size: 21px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
    .footer__lockup .brand__sub {
      display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.42em;
      background: linear-gradient(90deg, var(--violet), var(--blue));
      -webkit-background-clip: text; background-clip: text; color: transparent;
    }
    .footer__blurb { color: var(--muted); font-size: 14px; max-width: 330px; margin-top: 12px; }
    .footer__col h4, .footer__follow h4 {
      font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
      color: var(--text); margin-bottom: 14px;
    }
    .footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
    .footer__col a, .footer__link {
      color: var(--muted); font-size: 14px; text-decoration: none; transition: color .15s ease;
      background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer; text-align: start;
    }
    .footer__col a:hover, .footer__link:hover { color: var(--cyan); }
    .footer__follow h4 { margin-top: 22px; }
    .social-row { display: flex; gap: 10px; flex-wrap: wrap; }
    .social-btn {
      display: inline-flex; align-items: center; justify-content: center;
      width: 40px; height: 40px; border-radius: 12px;
      border: 1px solid var(--border-strong); background: var(--surface);
      color: var(--muted); text-decoration: none;
      transition: transform .15s ease, border-color .15s ease, color .15s ease, background .15s ease;
    }
    .social-btn svg { width: 19px; height: 19px; fill: currentColor; }
    .social-btn:hover { transform: translateY(-3px); color: #fff; background: rgba(255, 255, 255, 0.06); }
    .social-btn--li:hover { border-color: #70B5F9; color: #70B5F9; }
    .social-btn--ig:hover { border-color: #E1306C; color: #E1306C; }
    .social-btn--gh:hover { border-color: #fff; color: #fff; }
    .footer__bar {
      border-top: 1px solid var(--border); padding-top: 22px;
      display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    }
    .footer__badges { display: flex; gap: 10px; flex-wrap: wrap; }
    .fbadge {
      display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600;
      padding: 6px 16px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--muted);
    }
    .fbadge i { font-style: normal; }
    .footer__copy { color: var(--muted); font-size: 13px; }
    @media (max-width: 760px) {
      .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
      .footer__brand { grid-column: 1 / -1; }
      .footer__bar { justify-content: center; text-align: center; }
    }

    /* core technology modal */
    .modal {
      position: fixed; inset: 0; z-index: 50; display: none;
      align-items: center; justify-content: center; padding: 22px;
      background: rgba(5, 8, 18, 0.78); backdrop-filter: blur(8px);
    }
    .modal.open { display: flex; }
    .modal__box {
      width: 100%; max-width: 760px; max-height: 86vh; overflow-y: auto;
      border: 1px solid var(--border-strong); border-radius: 18px;
      background: linear-gradient(180deg, #141b33, #0c1226);
      padding: 30px 32px; position: relative;
      animation: modalin .35s ease;
    }
    @keyframes modalin { from { opacity: 0; transform: translateY(22px) scale(.98); } to { opacity: 1; transform: none; } }
    .modal__close {
      position: absolute; top: 16px; inset-inline-end: 16px;
      border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
      width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 15px; font-family: inherit;
    }
    .modal__box h3 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
    .modal__sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
    .tech-group { margin-bottom: 20px; }
    .tech-group h4 {
      font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan);
      font-weight: 600; margin-bottom: 10px;
    }
    [dir="rtl"] .tech-group h4 { letter-spacing: 0; }
    .tech-group ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
    .tech-group li { font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: baseline; }
    .tech-group li b { color: var(--text); font-weight: 600; }
    .tech-group li::before { content: '◆'; font-size: 8px; color: var(--violet); flex-shrink: 0; }

    .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
    .reveal.in { opacity: 1; transform: none; }
    .grid .reveal:nth-child(2), .eco .reveal:nth-child(2) { transition-delay: .1s; }
    .grid .reveal:nth-child(3) { transition-delay: .2s; }
    .grid .reveal:nth-child(5) { transition-delay: .1s; }
    .grid .reveal:nth-child(6) { transition-delay: .2s; }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
      .reveal { opacity: 1; transform: none; }
      .scene .bubble, .scene .doc, .scene .chip, .scene .graph circle, .scene .graph text { opacity: 1; }
      .graph line { stroke-dashoffset: 0; }
    }

/* home → platform teaser band */
.teaserband { text-align: center; }
.teaserband__shots { display: flex; gap: 16px; justify-content: center; margin: 26px 0 4px; }
.teaserband__shots .shot__frame { flex: 1; max-width: 330px; }
.teaserband__shots .shot__frame img { width: 100%; height: 190px; object-fit: cover; object-position: top center; display: block; }
@media (max-width: 760px) { .teaserband__shots { flex-direction: column; align-items: center; } .teaserband__shots .shot__frame { width: min(92%, 360px); } }
