    :root {
      --gold: #c9a23f;
      --gold-soft: #e6c069;
      --navy: #1b3b6f;
      --navy-deep: #14294b;
      --bg: #0a1728;
      --bg-2: #0f2540;

      --fg: #eef3fb;
      --fg-muted: #9fb2c9;
      --surface: rgba(255, 255, 255, 0.045);
      --surface-hover: rgba(255, 255, 255, 0.08);
      --border: rgba(230, 192, 105, 0.16);
      --border-strong: rgba(230, 192, 105, 0.34);

      --wa: #25d366;

      --r-lg: 22px;
      --r-md: 16px;
      --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
      --ease: cubic-bezier(0.22, 1, 0.36, 1);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { -webkit-text-size-adjust: 100%; }

    body {
      min-height: 100dvh;
      font-family: "Tajawal", "Inter", system-ui, -apple-system, sans-serif;
      color: var(--fg);
      background: var(--bg);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: clamp(20px, 5vw, 40px) 20px;
      position: relative;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    html[data-lang="en"] { direction: ltr; }
    html[data-lang="en"] body { font-family: "Inter", "Tajawal", system-ui, sans-serif; }

    /* ---- Ambient background ---- */
    .bg-field {
      position: fixed;
      inset: 0;
      z-index: 0;
      overflow: hidden;
      background:
        radial-gradient(120% 90% at 50% -10%, #13345c 0%, var(--bg) 55%),
        linear-gradient(180deg, #0a1c30 0%, var(--bg) 100%);
    }
    .glow {
      position: absolute;
      border-radius: 50%;
      filter: blur(60px);
      opacity: 0.5;
      will-change: transform;
    }
    .glow.a { width: 340px; height: 340px; top: -80px; inset-inline-start: -60px;
      background: radial-gradient(circle, rgba(201,162,63,0.45), transparent 70%);
      animation: drift 16s var(--ease) infinite alternate; }
    .glow.b { width: 300px; height: 300px; bottom: -90px; inset-inline-end: -70px;
      background: radial-gradient(circle, rgba(27,59,111,0.75), transparent 70%);
      animation: drift 20s var(--ease) infinite alternate-reverse; }
    @keyframes drift {
      from { transform: translate3d(0,0,0); }
      to   { transform: translate3d(40px, 30px, 0); }
    }
    /* faint tech grid */
    .grid {
      position: fixed; inset: 0; z-index: 0; opacity: 0.05; pointer-events: none;
      background-image:
        linear-gradient(rgba(230,192,105,0.6) 1px, transparent 1px),
        linear-gradient(90deg, rgba(230,192,105,0.6) 1px, transparent 1px);
      background-size: 44px 44px;
      -webkit-mask: radial-gradient(circle at 50% 30%, #000, transparent 75%);
      mask: radial-gradient(circle at 50% 30%, #000, transparent 75%);
    }

    /* ---- Card ---- */
    .card {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 420px;
      background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
      border: 1px solid var(--border);
      border-radius: var(--r-lg);
      padding: clamp(26px, 6vw, 38px) clamp(20px, 5vw, 30px) 26px;
      box-shadow: var(--shadow);
      backdrop-filter: blur(18px) saturate(140%);
      -webkit-backdrop-filter: blur(18px) saturate(140%);
      text-align: center;
    }
    .card::before {
      content: "";
      position: absolute; inset: 0;
      border-radius: inherit;
      padding: 1px;
      background: linear-gradient(180deg, rgba(230,192,105,0.55), transparent 40%);
      -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
      -webkit-mask-composite: xor; mask-composite: exclude;
      pointer-events: none;
    }

    /* ---- Language toggle ---- */
    .lang {
      position: absolute;
      top: 16px; inset-inline-start: 16px;
      display: inline-flex;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 999px;
      padding: 3px;
      font-family: "Inter", sans-serif;
      font-size: 12px;
      font-weight: 600;
    }
    .lang button {
      border: 0; background: transparent; color: var(--fg-muted);
      padding: 5px 12px; border-radius: 999px; cursor: pointer;
      transition: color .2s var(--ease), background .2s var(--ease);
      min-width: 40px;
    }
    .lang button[aria-pressed="true"] {
      background: linear-gradient(135deg, var(--gold), var(--navy));
      color: #fff;
    }

    /* ---- Logo ---- */
    .logo-wrap {
      display: grid; place-items: center;
      width: 118px; height: 118px;
      margin: 6px auto 16px;
      position: relative;
    }
    .logo-wrap::after {
      content: ""; position: absolute; inset: 6px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(201,162,63,0.4), transparent 68%);
      filter: blur(15px);
      z-index: -1;
      animation: pulse 4.5s ease-in-out infinite;
    }
    @keyframes pulse { 0%,100% { opacity:.5; transform: scale(1);} 50% { opacity:.85; transform: scale(1.08);} }
    .logo-wrap img { width: 100px; height: auto; animation: float 6s ease-in-out infinite;
      filter: drop-shadow(0 8px 20px rgba(0,0,0,.45)); }
    @keyframes float { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-7px);} }

    /* ---- Text ---- */
    .name {
      font-size: clamp(27px, 7.5vw, 33px);
      font-weight: 900;
      letter-spacing: -0.01em;
      line-height: 1.15;
      background: linear-gradient(120deg, #ffffff 20%, var(--gold-soft));
      -webkit-background-clip: text; background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .full-name { margin-top: 7px; font-size: 13px; font-weight: 600; color: var(--fg-muted); }
    .tagline {
      margin-top: 12px;
      font-size: 14px;
      font-weight: 600;
      color: var(--gold-soft);
      max-width: 30ch;
      margin-inline: auto;
      line-height: 1.6;
    }

    .divider {
      height: 1px; margin: 22px 0 20px;
      background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
    }

    /* ---- Action buttons ---- */
    .actions { display: flex; flex-direction: column; gap: 12px; }
    .btn {
      display: flex; align-items: center; gap: 14px;
      width: 100%;
      min-height: 60px;
      padding: 0 20px;
      border-radius: var(--r-md);
      border: 1px solid var(--border);
      background: var(--surface);
      color: var(--fg);
      font-family: inherit;
      font-size: 16px; font-weight: 700;
      text-decoration: none;
      cursor: pointer;
      text-align: start;
      transition: transform .25s var(--ease), background .25s var(--ease),
                  border-color .25s var(--ease), box-shadow .25s var(--ease);
    }
    .btn .ico {
      flex: 0 0 auto;
      display: grid; place-items: center;
      width: 40px; height: 40px;
      border-radius: 11px;
      background: rgba(230,192,105,0.14);
      color: var(--gold-soft);
    }
    .btn .ico svg { width: 21px; height: 21px; }
    .btn .txt { display: flex; flex-direction: column; line-height: 1.25; }
    .btn .txt small {
      font-size: 12px; font-weight: 500; color: var(--fg-muted);
      font-family: "Inter", sans-serif; letter-spacing: .01em;
      direction: ltr; text-align: start;
    }
    .btn .arrow { margin-inline-start: auto; color: var(--fg-muted); transition: transform .25s var(--ease); }
    html[dir="rtl"] .btn .arrow svg { transform: scaleX(-1); }

    .btn:hover {
      background: var(--surface-hover);
      border-color: var(--border-strong);
      transform: translateY(-3px);
      box-shadow: 0 14px 30px -14px rgba(201,162,63,0.5);
    }
    .btn:hover .arrow { transform: translateX(-4px); }
    html[dir="rtl"] .btn:hover .arrow { transform: translateX(4px); }
    .btn:active { transform: translateY(0) scale(0.985); }
    .btn:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }

    /* Primary — Save contact */
    .btn.primary {
      background: linear-gradient(135deg, var(--gold) 0%, var(--navy) 100%);
      border-color: transparent;
      box-shadow: 0 12px 28px -12px rgba(201,162,63,0.55);
    }
    .btn.primary .ico { background: rgba(255,255,255,0.18); color: #fff; }
    .btn.primary .txt small { color: rgba(255,255,255,0.72); }
    .btn.primary .arrow { color: rgba(255,255,255,0.85); }
    .btn.primary:hover { box-shadow: 0 18px 38px -12px rgba(201,162,63,0.7); }

    /* WhatsApp accent */
    .btn.wa .ico { background: rgba(37,211,102,0.16); color: var(--wa); }
    .btn.wa:hover { border-color: rgba(37,211,102,0.4); box-shadow: 0 14px 30px -14px rgba(37,211,102,0.45); }

    /* ---- Secondary row (email + location) ---- */
    .secondary { display: flex; gap: 10px; margin-top: 16px; }
    .chip {
      flex: 1;
      display: inline-flex; align-items: center; justify-content: center; gap: 8px;
      min-height: 46px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: var(--surface);
      color: var(--fg-muted);
      text-decoration: none;
      font-size: 13px; font-weight: 700;
      transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
    }
    .chip svg { width: 17px; height: 17px; }
    .chip:hover { color: var(--fg); border-color: var(--border-strong); background: var(--surface-hover); }
    .chip:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 2px; }

    /* ---- Footer ---- */
    .foot {
      margin-top: 22px;
      font-size: 11.5px;
      color: rgba(159,178,201,0.75);
      line-height: 1.7;
    }
    .foot .cr { font-family: "Inter", sans-serif; direction: ltr; }
    .foot .by { margin-top: 4px; opacity: .85; }
    .foot .by a { color: var(--gold-soft); text-decoration: none; font-weight: 600; }

    /* Entrance animation */
    .reveal { opacity: 0; transform: translateY(16px); animation: rise .6s var(--ease) forwards; }
    .reveal.d1 { animation-delay: .05s; }
    .reveal.d2 { animation-delay: .12s; }
    .reveal.d3 { animation-delay: .19s; }
    .reveal.d4 { animation-delay: .26s; }
    .reveal.d5 { animation-delay: .33s; }
    .reveal.d6 { animation-delay: .40s; }
    @keyframes rise { to { opacity: 1; transform: translateY(0); } }

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

    [lang-en] { display: none; }
    html[data-lang="en"] [lang-ar] { display: none; }
    html[data-lang="en"] [lang-en] { display: inline; }
