    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --radius: 0.75rem;
      --gold: oklch(0.79 0.155 75);
      --gold-foreground: oklch(0.16 0.05 274);
      --azure: oklch(0.45 0.20 274);
      --background: oklch(0.16 0.04 274);
      --foreground: oklch(0.97 0.01 95);
      --card: oklch(0.20 0.05 274);
      --card-foreground: oklch(0.97 0.01 95);
      --primary: oklch(0.79 0.155 75);
      --primary-foreground: oklch(0.16 0.05 274);
      --secondary: oklch(0.24 0.05 274);
      --muted: oklch(0.24 0.05 274);
      --muted-foreground: oklch(0.74 0.03 274);
      --accent: oklch(0.45 0.20 274);
      --destructive: oklch(0.60 0.22 25);
      --border: oklch(0.32 0.05 274 / 60%);
      --input: oklch(0.24 0.05 274);
      --ring: oklch(0.79 0.155 75);
      --gradient-gold: linear-gradient(135deg, #efa81c 0%, #d98c0a 100%);
      --gradient-azure: linear-gradient(135deg, #2e3192 0%, #1b1d63 100%);
      --shadow-gold: 0 0 40px -10px color-mix(in oklab, var(--gold) 60%, transparent);
      --shadow-luxe: 0 25px 60px -20px oklch(0 0 0 / 0.5);
    }

    html { direction: rtl; scroll-behavior: smooth; }

    body {
      background-color: var(--background);
      color: var(--foreground);
      font-family: 'IBM Plex Sans Arabic', sans-serif;
      min-height: 100vh;
      background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, color-mix(in oklab, var(--azure) 20%, transparent), transparent),
        radial-gradient(ellipse 60% 40% at 100% 100%, color-mix(in oklab, var(--gold) 8%, transparent), transparent);
      background-attachment: fixed;
    }

    h1,h2,h3,h4,h5,h6 { font-family: 'IBM Plex Sans Arabic', sans-serif; font-weight: 800; letter-spacing: -0.01em; }

    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; height: auto; display: block; }
    button { cursor: pointer; font-family: inherit; background: none; border: none; }
    ul { list-style: none; }

    .container { max-width: 1200px; margin: 0 auto; }

    /* LUXE CARD */
    .luxe-card {
      background: linear-gradient(180deg, color-mix(in oklab, var(--card) 90%, transparent), color-mix(in oklab, var(--background) 85%, transparent));
      border: 1px solid var(--border);
      border-radius: calc(var(--radius) + 8px);
      backdrop-filter: blur(12px);
      transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    }
    .luxe-card:hover {
      border-color: color-mix(in oklab, var(--gold) 70%, transparent);
      transform: translateY(-4px);
      box-shadow: var(--shadow-gold), var(--shadow-luxe);
    }

    .text-gradient-gold {
      background: var(--gradient-gold);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .gold-divider {
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--gold), transparent);
      margin: 1rem 0;
    }

    /* HEADER */
    header {
      position: sticky; top: 0; z-index: 50;
      backdrop-filter: blur(20px);
      background: color-mix(in oklab, var(--background) 70%, transparent);
      border-bottom: 1px solid var(--border);
    }
    .header-inner {
      display: flex; align-items: center; justify-content: space-between;
      padding: 0.75rem 1.5rem;
    }
    .logo-wrap { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; }
    .logo-svg { width: 44px; height: 44px; flex-shrink: 0; }
    .logo-text .name { font-weight: 800; font-size: 1rem; }
    .logo-text .sub { font-size: 0.7rem; color: var(--muted-foreground); }

    nav.desktop { display: flex; align-items: center; gap: 0.25rem; }
    nav.desktop a {
      padding: 0.5rem 1rem; border-radius: 0.5rem;
      font-size: 0.875rem; font-weight: 500;
      color: color-mix(in oklab, var(--foreground) 80%, transparent);
      transition: color 0.2s;
    }
    nav.desktop a:hover, nav.desktop a.active { color: var(--primary); font-weight: 700; }

    .btn-call {
      display: inline-flex; align-items: center;
      padding: 0.625rem 1.25rem; border-radius: 9999px;
      font-weight: 700; font-size: 0.875rem;
      color: var(--primary-foreground);
      background: var(--gradient-gold);
      box-shadow: var(--shadow-gold);
      transition: transform 0.2s;
    }
    .btn-call:hover { transform: scale(1.05); }

    .hamburger { display: none; padding: 0.5rem; color: var(--primary); }
    .hamburger svg { width: 24px; height: 24px; }

    nav.mobile {
      display: none; flex-direction: column; gap: 0.5rem;
      padding: 1rem 1.5rem;
      border-top: 1px solid var(--border);
      background: color-mix(in oklab, var(--background) 95%, transparent);
    }
    nav.mobile.open { display: flex; }
    nav.mobile a { padding: 0.5rem 0; font-size: 1rem; color: var(--foreground); }
    nav.mobile a:hover { color: var(--primary); }

    /* PAGES */
    .page { display: none; }
    .page.active { display: block; }

    /* SECTION TITLE */
    .section-title { text-align: center; margin-bottom: 3rem; }
    .section-title .eyebrow {
      display: inline-block; margin-bottom: 0.75rem;
      font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
      color: var(--primary);
      text-transform: uppercase;
    }
    .section-title h2 { font-size: 2.25rem; font-weight: 900; margin-bottom: 0.75rem; }
    .section-title p { color: var(--muted-foreground); max-width: 600px; margin: 0 auto; }

    /* HERO */
    .hero {
      position: relative; min-height: 92vh;
      display: flex; align-items: center; overflow: hidden;
    }
    .hero-img { position: absolute; inset: 0; }
    .hero-img img { width: 100%; height: 100%; object-fit: cover; }
    .hero-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(180deg, oklch(0.14 0.03 250 / 0.55), oklch(0.14 0.03 250 / 0.92));
    }
    .hero-content {
      position: relative; z-index: 1; text-align: center;
      padding: 0 1.5rem; margin: 0 auto; max-width: 1200px; width: 100%;
      animation: fadeUp 0.8s ease-out both;
    }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 0.5rem;
      padding: 0.375rem 1rem; border-radius: 9999px;
      border: 1px solid color-mix(in oklab, var(--primary) 40%, transparent);
      background: color-mix(in oklab, var(--primary) 10%, transparent);
      color: var(--primary); font-size: 0.75rem; font-weight: 700;
      letter-spacing: 0.05em; margin-bottom: 1.5rem;
    }
    .hero h1 {
      font-size: clamp(2rem, 6vw, 4.5rem); font-weight: 900;
      line-height: 1.15; max-width: 900px; margin: 0 auto;
    }
    .hero h1 span {
      display: block; margin-top: 0.75rem;
      font-size: clamp(1rem, 2.5vw, 1.5rem); font-weight: 700;
    }
    .hero p {
      margin-top: 1.5rem; color: var(--muted-foreground);
      max-width: 600px; margin-left: auto; margin-right: auto;
    }
    .hero-btns { margin-top: 2.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
    .btn-primary {
      display: inline-flex; align-items: center; gap: 0.5rem;
      padding: 1rem 2rem; border-radius: 9999px; font-weight: 700;
      color: var(--primary-foreground);
      background: var(--gradient-gold); box-shadow: var(--shadow-gold);
      transition: transform 0.2s;
    }
    .btn-primary:hover { transform: scale(1.05); }
    .btn-outline {
      display: inline-flex; align-items: center; gap: 0.5rem;
      padding: 1rem 2rem; border-radius: 9999px; font-weight: 700;
      border: 1px solid var(--border); color: var(--foreground);
      transition: border-color 0.2s;
    }
    .btn-outline:hover { border-color: var(--primary); }

    /* GRID LAYOUTS */
    .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

    @media (max-width: 1024px) {
      .grid-4 { grid-template-columns: repeat(2, 1fr); }
      nav.desktop, .btn-call { display: none; }
      .hamburger { display: block; }
    }
    @media (max-width: 768px) {
      .grid-3 { grid-template-columns: repeat(2, 1fr); }
      .grid-2 { grid-template-columns: 1fr; }
      .section-title h2 { font-size: 1.75rem; }
    }
    @media (max-width: 480px) {
      .grid-3, .grid-4 { grid-template-columns: 1fr; }
    }

    /* FEATURES */
    .feature-icon {
      width: 56px; height: 56px; border-radius: 0.75rem;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 1.25rem;
      background: color-mix(in oklab, var(--gold) 12%, transparent);
    }
    .feature-icon svg { width: 28px; height: 28px; color: var(--primary); }

    /* STATS */
    .stats-bar {
      border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
      background: color-mix(in oklab, var(--card) 40%, transparent);
      backdrop-filter: blur(8px);
    }
    .stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 4rem 1.5rem; text-align: center; }
    .stat-value { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; }
    .stat-label { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
    @media (max-width: 600px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } }

    /* PROJECT CARD */
    .proj-card { border-radius: calc(var(--radius) + 8px); overflow: hidden; border: 1px solid var(--border); transition: all 0.4s; }
    .proj-card:hover { border-color: color-mix(in oklab, var(--gold) 70%, transparent); transform: translateY(-4px); box-shadow: var(--shadow-gold); }
    .proj-img { aspect-ratio: 4/3; overflow: hidden; }
    .proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
    .proj-card:hover .proj-img img { transform: scale(1.1); }
    .proj-info { padding: 1.25rem; background: var(--card); }
    .proj-info .cat { font-size: 0.75rem; font-weight: 700; color: var(--primary); margin-bottom: 0.25rem; }
    .proj-info h3 { font-size: 1.125rem; font-weight: 700; }
    .proj-info .loc { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.25rem; display: flex; align-items: center; gap: 0.25rem; }

    /* ICON SVG helper */
    .icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
    .icon-lg { width: 32px; height: 32px; }

    /* ABOUT PAGE */
    .about-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
    @media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

    .license-circle {
      width: 7rem; height: 7rem; border-radius: 50%;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      margin: 0 auto 1.25rem;
      background: var(--gradient-azure);
      border: 3px solid var(--gold);
      box-shadow: var(--shadow-gold);
    }

    .org-item {
      display: flex; align-items: center; gap: 1.25rem;
      padding: 1.5rem;
    }
    .org-num {
      width: 3rem; height: 3rem; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-weight: 900; color: var(--primary-foreground);
      background: var(--gradient-gold);
      flex-shrink: 0;
    }

    /* SERVICES */
    .service-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
    .service-icon {
      width: 4rem; height: 4rem; border-radius: 1rem;
      display: flex; align-items: center; justify-content: center;
      background: var(--gradient-azure);
      border: 1px solid var(--gold);
      flex-shrink: 0;
      transition: transform 0.3s;
    }
    .service-icon:hover { transform: scale(1.1); }
    .service-list { display: flex; flex-direction: column; gap: 0.75rem; }
    .service-list li { display: flex; align-items: flex-start; gap: 0.5rem; color: var(--muted-foreground); }
    .service-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; margin-top: 0.5rem; }

    /* CAPABILITIES */
    .device-card { position: relative; overflow: hidden; }
    .device-glow {
      position: absolute; width: 8rem; height: 8rem; border-radius: 50%;
      background: var(--gradient-gold); filter: blur(40px); opacity: 0.2;
      top: -2.5rem; left: -2.5rem; pointer-events: none;
    }
    .device-status { margin-top: 1rem; font-size: 0.625rem; letter-spacing: 0.15em; color: color-mix(in oklab, var(--primary) 70%, transparent); font-family: monospace; }

    .sw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    @media (max-width: 768px) { .sw-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 480px) { .sw-grid { grid-template-columns: 1fr; } }
    .sw-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: 0.75rem; background: color-mix(in oklab, var(--secondary) 40%, transparent); border: 1px solid var(--border); transition: border-color 0.2s; }
    .sw-item:hover { border-color: color-mix(in oklab, var(--primary) 40%, transparent); }
    .sw-letter { width: 3rem; height: 3rem; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; font-weight: 900; color: var(--primary-foreground); background: var(--gradient-gold); flex-shrink: 0; }

    /* PROJECTS PAGE */
    .filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; }
    .filter-btn {
      padding: 0.5rem 1.25rem; border-radius: 9999px;
      font-size: 0.875rem; font-weight: 700;
      border: 1px solid var(--border); color: color-mix(in oklab, var(--foreground) 80%, transparent);
      transition: all 0.2s;
    }
    .filter-btn:hover { border-color: var(--primary); }
    .filter-btn.active { color: var(--primary-foreground); background: var(--gradient-gold); box-shadow: var(--shadow-gold); border-color: transparent; }

    .partners-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem; }
    @media (max-width: 900px) { .partners-grid { grid-template-columns: repeat(4, 1fr); } }
    @media (max-width: 600px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
    @media (max-width: 400px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
    .partner-item {
      height: 5rem; border-radius: 0.75rem;
      border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      text-align: center; padding: 0.75rem;
      font-size: 0.8rem; font-weight: 700; color: var(--muted-foreground);
      background: color-mix(in oklab, var(--card) 50%, transparent);
      transition: all 0.2s;
    }
    .partner-item:hover { color: var(--primary); border-color: var(--primary); }

    /* CONTACT */
    .contact-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 2rem; }
    @media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
    .contact-link { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 0; }
    .contact-icon {
      width: 3rem; height: 3rem; border-radius: 0.75rem; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
    }
    .map-box {
      border-radius: calc(var(--radius) + 8px); overflow: hidden;
      height: 20rem; position: relative;
      background: radial-gradient(circle at 50% 50%, oklch(0.22 0.05 240) 0%, oklch(0.13 0.03 250) 70%);
      border: 1px solid var(--border);
    }
    .map-label {
      position: absolute; font-size: 0.625rem; letter-spacing: 0.15em;
      color: color-mix(in oklab, var(--primary) 80%, transparent); font-weight: 700;
      top: 0.75rem; right: 0.75rem;
    }
    .map-pin-wrap { position: absolute; }
    .map-pin-wrap svg { width: 40px; height: 40px; fill: var(--primary); filter: drop-shadow(0 0 8px rgba(255,210,121,0.8)); }
    .map-tooltip {
      position: absolute; top: 3rem; left: 50%; transform: translateX(-50%);
      white-space: nowrap; font-size: 0.75rem; font-weight: 700;
      background: var(--card); border: 1px solid color-mix(in oklab, var(--primary) 40%, transparent);
      border-radius: 0.375rem; padding: 0.25rem 0.5rem;
    }

    /* FORM */
    .form-label { display: block; font-size: 0.75rem; font-weight: 700; color: var(--muted-foreground); margin-bottom: 0.5rem; }
    .form-input, .form-select, .form-textarea {
      width: 100%; padding: 0.75rem 1rem; border-radius: 0.75rem;
      background: var(--input); border: 1px solid var(--border);
      color: var(--foreground); font-family: inherit; font-size: 1rem;
      outline: none; transition: all 0.2s;
    }
    .form-input:focus, .form-select:focus, .form-textarea:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px color-mix(in oklab, var(--gold) 25%, transparent);
    }
    .form-select option { background: var(--card); }
    .form-textarea { resize: none; }
    .form-error { font-size: 0.75rem; color: var(--destructive); margin-top: 0.25rem; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
    @media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
    .form-success {
      padding: 1rem; border-radius: 0.75rem;
      border: 1px solid color-mix(in oklab, var(--primary) 40%, transparent);
      background: color-mix(in oklab, var(--primary) 10%, transparent);
      color: var(--primary); font-size: 0.875rem; font-weight: 700;
      text-align: center; display: none;
    }
    .form-success.show { display: block; }

    /* BLOG */
    .blog-tag {
      display: inline-flex; align-items: center;
      padding: 0.25rem 0.75rem; border-radius: 9999px;
      font-size: 0.75rem; font-weight: 700; color: var(--primary);
      background: var(--gradient-azure); border: 1px solid var(--gold);
    }
    .blog-date { display: flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; color: var(--muted-foreground); }
    .blog-read-more { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 700; color: var(--primary); margin-top: 1.25rem; transition: gap 0.2s; }
    .blog-read-more:hover { gap: 0.75rem; }
    .blog-cta { margin-top: 5rem; text-align: center; padding: 2.5rem; }
    .blog-cta h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
    .blog-cta p { color: var(--muted-foreground); margin-bottom: 1.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }

    /* FOOTER */
    footer { margin-top: 6rem; border-top: 1px solid var(--border); background: color-mix(in oklab, var(--card) 40%, transparent); backdrop-filter: blur(8px); }
    .footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; padding: 3.5rem 1.5rem; }
    @media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }
    .footer-brand { grid-column: span 1; }
    .footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
    .footer-desc { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.8; max-width: 400px; }
    .footer-heading { font-weight: 700; color: var(--primary); margin-bottom: 1rem; font-size: 0.9rem; }
    .footer-links li { margin-bottom: 0.5rem; }
    .footer-links a { font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.2s; }
    .footer-links a:hover { color: var(--primary); }
    .footer-contact li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 0.75rem; }
    .footer-bottom { border-top: 1px solid var(--border); padding: 1.25rem 1.5rem; text-align: center; font-size: 0.75rem; color: var(--muted-foreground); }

    /* SECTION SPACING */
    .section { padding: 5rem 1.5rem; }
    .section-sm { padding: 2.5rem 1.5rem; }

    /* ANIMATION */
    @keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
    .fade-up { animation: fadeUp 0.7s ease-out both; }
