:root {
      --bg: #090a0c;
      --bg-2: #101216;
      --panel: #16181d;
      --line: #2a2e36;
      --amber: #e8a317;
      --amber-dim: #8a6412;
      --cream: #f3eee4;
      --mute: #8d93a0;
      --steel: #c5cad3;
      --green: #3dcf8e;
      --red: #e85d4c;
      --blue: #6aa6ff;
      --shadow: 0 30px 80px rgba(0,0,0,.45);
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    html, body { background: var(--bg); color: var(--cream); font-family: "Barlow", system-ui, sans-serif; }
    html[dir="rtl"] body { font-family: "Barlow", "Noto Naskh Arabic", system-ui, sans-serif; }
    a { color: inherit; text-decoration: none; }
    button, select, input { font-family: inherit; }
    img { max-width: 100%; }
    .wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

    nav {
      position: sticky; top: 0; z-index: 40;
      backdrop-filter: blur(16px);
      background: rgba(9,10,12,.78);
      border-bottom: 1px solid var(--line);
    }
    .nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
    .logo { display: flex; align-items: center; gap: 10px; letter-spacing: .18em; font-weight: 800; font-size: 15px; }
    .mark {
      width: 34px; height: 34px; border: 1.5px solid var(--amber);
      display: grid; place-items: center; border-radius: 4px;
      color: var(--amber); font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 18px;
    }
    .nav-links { display: flex; align-items: center; gap: 22px; color: var(--mute); font-size: 14px; }
    .nav-links a:hover { color: var(--cream); }
    .lang {
      background: var(--panel); color: var(--cream); border: 1px solid var(--line);
      padding: 8px 10px; border-radius: 6px; font-size: 13px;
    }
    .cta {
      background: var(--amber); color: #1a1204; border: 0; padding: 10px 16px;
      border-radius: 6px; font-weight: 700; cursor: pointer; font-size: 14px;
    }
    .cta.ghost { background: transparent; color: var(--cream); border: 1px solid var(--line); }

    .hero, section { display: block; }
    .hero { padding: 72px 0 40px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
    .eyebrow { color: var(--amber); letter-spacing: .22em; font-size: 12px; font-weight: 700; text-transform: uppercase; }
    h1 {
      font-family: "Barlow Condensed", sans-serif; font-size: clamp(44px, 6vw, 76px);
      line-height: .92; letter-spacing: .01em; margin: 14px 0 18px; text-transform: uppercase;
    }
    h1 span { color: var(--amber); }
    .lead { color: var(--mute); font-size: 18px; line-height: 1.55; max-width: 520px; }
    .hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
    .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
    .stat { border-top: 1px solid var(--line); padding-top: 12px; }
    .stat b { display: block; font-size: 22px; font-family: "IBM Plex Mono", monospace; }
    .stat span { color: var(--mute); font-size: 13px; }

    .phone {
      background: linear-gradient(180deg, #1b1e25, #101217);
      border: 1px solid var(--line); border-radius: 36px; padding: 16px 14px 18px;
      box-shadow: var(--shadow); position: relative;
    }
    .notch { width: 92px; height: 8px; background: #050506; border-radius: 20px; margin: 4px auto 12px; }
    .hud-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--mute); }
    .live { color: var(--green); display: flex; align-items: center; gap: 6px; font-weight: 600; }
    .live::before { content: ""; width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 8px var(--green); }
    .cluster {
      margin: 16px 0 10px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center;
    }
    .gauge {
      height: 120px; border: 1px solid var(--line); border-radius: 14px; background:
        radial-gradient(circle at 50% 80%, rgba(232,163,23,.12), transparent 55%), #0e1014;
      display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 12px;
    }
    .gear-big {
      width: 96px; height: 96px; border-radius: 50%; border: 3px solid var(--amber);
      display: grid; place-items: center; font-family: "Barlow Condensed", sans-serif;
      font-size: 46px; font-weight: 800; color: var(--amber); background: #0c0d10;
      box-shadow: 0 0 30px rgba(232,163,23,.18);
    }
    .mono { font-family: "IBM Plex Mono", monospace; }
    .rpm { font-size: 22px; font-weight: 700; }
    .label { font-size: 11px; color: var(--mute); letter-spacing: .12em; text-transform: uppercase; }
    .bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
    .bar { background: #0e1014; border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
    .bar strong { display: block; font-size: 16px; }
    .score-row { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 2px 6px; }
    .score-num { font-family: "IBM Plex Mono", monospace; font-size: 28px; color: var(--green); }
    .shifts { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; max-height: 148px; overflow: hidden; }
    .shift {
      display: grid; grid-template-columns: 52px 1fr auto; gap: 8px; align-items: center;
      background: #0e1014; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font-size: 12px;
    }
    .pill { font-size: 10px; padding: 2px 6px; border-radius: 99px; font-weight: 700; letter-spacing: .04em; }
    .ok { background: rgba(61,207,142,.15); color: var(--green); }
    .mid { background: rgba(232,163,23,.15); color: var(--amber); }
    .bad { background: rgba(232,93,76,.15); color: var(--red); }

    section { padding: 84px 0; }
    .sec-h { max-width: 640px; margin-bottom: 36px; }
    h2 { font-family: "Barlow Condensed", sans-serif; font-size: clamp(32px, 4vw, 48px); text-transform: uppercase; line-height: .95; margin: 10px 0 12px; }
    p.sub { color: var(--mute); font-size: 17px; line-height: 1.55; }

    .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .card {
      background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px;
    }
    .card h3 { font-size: 18px; margin: 10px 0 8px; }
    .card p { color: var(--mute); font-size: 14.5px; line-height: 1.5; }
    .ico { width: 36px; height: 36px; border: 1px solid var(--amber-dim); color: var(--amber); display: grid; place-items: center; border-radius: 8px; font-weight: 800; }

    .split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
    .form { display: grid; gap: 12px; }
    label { font-size: 12px; color: var(--mute); letter-spacing: .08em; text-transform: uppercase; }
    input, select {
      width: 100%; background: #0e1014; border: 1px solid var(--line); color: var(--cream);
      padding: 12px 12px; border-radius: 8px; font-size: 15px;
    }
    .eta-box { margin-top: 8px; padding: 16px; border: 1px dashed var(--amber-dim); border-radius: 12px; }
    .eta-box b { color: var(--amber); font-size: 22px; font-family: "IBM Plex Mono", monospace; }

    .profile {
      background: linear-gradient(180deg, #1c1f26, #12141a);
      border: 1px solid var(--line); border-radius: 20px; padding: 24px;
    }
    .avatar {
      width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--amber);
      display: grid; place-items: center; font-weight: 800; background: #0e1014;
    }
    .badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
    .badge { border: 1px solid var(--line); padding: 6px 10px; border-radius: 99px; font-size: 12px; color: var(--steel); }
    .meter { height: 8px; background: #0e1014; border-radius: 99px; overflow: hidden; margin-top: 8px; }
    .meter > i { display: block; height: 100%; background: linear-gradient(90deg, var(--amber), var(--green)); width: 86%; }

    table { width: 100%; border-collapse: collapse; font-size: 14px; }
    th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
    th { color: var(--mute); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

    .arch { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
    .arch .card { min-height: 160px; }

    .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; }
    .step-n { font-family: "IBM Plex Mono", monospace; color: var(--amber); font-size: 12px; letter-spacing: .12em; }
    .filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
    .chip {
      background: #0e1014; color: var(--steel); border: 1px solid var(--line);
      padding: 8px 12px; border-radius: 99px; cursor: pointer; font-size: 13px; font-weight: 600;
    }
    .chip.on { border-color: var(--amber); color: var(--amber); background: rgba(232,163,23,.08); }
    .table-scroll { overflow-x: auto; }
    .plug {
      display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px;
      background: #0e1014; border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-top: 12px;
    }
    .pin {
      aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line);
      display: grid; place-items: center; font-size: 10px; color: var(--mute); font-family: "IBM Plex Mono", monospace;
    }
    .pin.live { border-color: var(--amber); color: var(--amber); }
    .note { color: var(--mute); font-size: 13px; line-height: 1.5; margin-top: 10px; }

    footer { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--mute); font-size: 13px; }
    .foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

    .toast {
      position: fixed; bottom: 20px; right: 20px; background: #1a1d24; border: 1px solid var(--green);
      color: var(--cream); padding: 12px 16px; border-radius: 10px; display: none; z-index: 50;
    }

    @media (max-width: 900px) {
      .hero, .split, .grid-3, .arch, .stats, .steps { grid-template-columns: 1fr; }
      .nav-links a { display: none; }
    }
