:root{
    --blue:#056DF1;
    --blue-dark:#034FBB;
    --navy:#062A5C;
    --navy-deep:#041A3B;
    --bg:#F5F7FB;
    --card:#FFFFFF;
    --line:#E3E9F3;
    --text:#0F1E3A;
    --muted:#5B6B85;
    --radius:16px;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:'Tajawal', sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.7;
    overflow-x:hidden;
  }
  h1,h2,h3,.display{font-family:'Cairo', sans-serif;}
  a{text-decoration:none; color:inherit;}
  ul{list-style:none;}
  img{max-width:100%; display:block;}
  .wrap{max-width:1220px; margin:0 auto; padding:0 28px;}

  /* circuit signature -------------------------------------------------- */
  .circuit{display:flex; align-items:center; gap:6px;}
  .circuit .dot{width:7px; height:7px; border-radius:50%; border:2px solid var(--blue); background:var(--bg);}
  .circuit .seg{height:2px; background:var(--blue); flex:1; min-width:14px;}
  .circuit.dark .dot{border-color:var(--navy);}
  .circuit.dark .seg{background:var(--navy);}

  /* header --------------------------------------------------------------*/
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(255,255,255,.9);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
  }
  .nav-row{display:flex; align-items:center; justify-content:space-between; padding:14px 0;}
  .brand{display:flex; align-items:center; gap:12px;}
  .brand img{height:52px; width:52px; object-fit:contain;}
  .brand .name{font-family:'Cairo'; font-weight:800; font-size:20px; color:var(--navy); line-height:1.15;}
  .brand .name span{display:block; font-family:'Tajawal'; font-weight:500; font-size:11px; color:var(--muted); margin-top:2px; letter-spacing:.3px;}
  nav.links{display:flex; gap:28px;}
  nav.links a{font-weight:700; font-size:14.5px; color:var(--text); position:relative; padding:4px 0;}
  nav.links a:after{content:''; position:absolute; right:0; bottom:-4px; width:0; height:2px; background:var(--blue); transition:width .25s;}
  nav.links a:hover:after{width:100%;}
  .nav-cta{background:var(--blue); color:#fff; padding:11px 22px; border-radius:999px; font-weight:700; font-size:14px; white-space:nowrap;}
  .burger{display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none;}
  .burger span{width:24px; height:2.5px; background:var(--navy); border-radius:2px;}

  /* hero ------------------------------------------------------------- */
  .hero{position:relative; padding:96px 0 80px; overflow:hidden;}
  .hero .rings{position:absolute; inset:0; z-index:0; opacity:.5; pointer-events:none;}
  .hero-grid{position:relative; z-index:1; display:grid; grid-template-columns:1.1fr .9fr; gap:50px; align-items:center;}
  .eyebrow{display:inline-flex; align-items:center; gap:10px; background:#fff; border:1px solid var(--line); padding:8px 16px; border-radius:999px; font-size:13px; font-weight:700; color:var(--blue-dark); margin-bottom:22px;}
  .eyebrow .pulse{width:8px; height:8px; border-radius:50%; background:var(--blue); box-shadow:0 0 0 0 rgba(5,109,241,.6); animation:pulse 1.8s infinite;}
  @keyframes pulse{0%{box-shadow:0 0 0 0 rgba(5,109,241,.5);}70%{box-shadow:0 0 0 10px rgba(5,109,241,0);}100%{box-shadow:0 0 0 0 rgba(5,109,241,0);}}
  .hero h1{font-size:52px; font-weight:900; color:var(--navy-deep); line-height:1.28; margin-bottom:22px;}
  .hero h1 em{font-style:normal; color:var(--blue);}
  .hero p.lead{font-size:17.5px; color:var(--muted); max-width:560px; margin-bottom:34px;}
  .btn-row{display:flex; gap:16px; flex-wrap:wrap; margin-bottom:44px;}
  .btn{padding:15px 30px; border-radius:12px; font-weight:800; font-size:15px; display:inline-flex; align-items:center; gap:8px; transition:transform .2s, box-shadow .2s;}
  .btn-primary{background:var(--blue); color:#fff; box-shadow:0 12px 24px -10px rgba(5,109,241,.55);}
  .btn-primary:hover{transform:translateY(-2px);}
  .btn-ghost{background:#fff; color:var(--navy); border:1.5px solid var(--line);}
  .btn-ghost:hover{border-color:var(--blue); color:var(--blue);}
  .stat-row{display:flex; gap:36px; flex-wrap:wrap;}
  .stat b{display:block; font-family:'Cairo'; font-size:28px; font-weight:900; color:var(--navy-deep);}
  .stat span{font-size:12.5px; color:var(--muted); font-weight:700;}

  .hero-art{position:relative; display:flex; align-items:center; justify-content:center;}
  .hero-art img{width:100%; max-width:420px; filter:drop-shadow(0 30px 45px rgba(6,42,92,.18));}

  /* section shell ------------------------------------------------------ */
  .section{padding:78px 0;}
  .section.alt{background:#fff; border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
  .sec-head{display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:40px; flex-wrap:wrap;}
  .sec-head .tag{font-size:13px; font-weight:800; color:var(--blue); letter-spacing:.5px; margin-bottom:10px; display:flex; align-items:center; gap:8px;}
  .sec-head h2{font-size:32px; font-weight:800; color:var(--navy-deep);}
  .sec-head p{color:var(--muted); font-size:15px; max-width:440px;}
  .sec-num{font-family:'Cairo'; font-weight:900; font-size:64px; color:var(--line);}

  /* product grid --------------------------------------------------------*/
  .grid{display:grid; grid-template-columns:repeat(auto-fill, minmax(270px,1fr)); gap:18px;}
  .card{
    background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
    padding:24px; position:relative; overflow:hidden; transition:transform .22s, box-shadow .22s, border-color .22s;
  }
  .card:before{content:''; position:absolute; top:0; right:0; width:0; height:3px; background:var(--blue); transition:width .3s;}
  .card:hover{transform:translateY(-4px); box-shadow:0 20px 30px -18px rgba(6,42,92,.28); border-color:transparent;}
  .card:hover:before{width:100%;}
  .card .badge{
    width:44px; height:44px; border-radius:11px; background:linear-gradient(135deg,var(--blue),var(--navy));
    color:#fff; display:flex; align-items:center; justify-content:center; font-family:'Cairo'; font-weight:800; font-size:14px; margin-bottom:16px;
  }
  .card h3{font-size:16.5px; font-weight:800; color:var(--navy-deep); margin-bottom:4px;}
  .card .en{font-size:11.5px; color:var(--blue); font-weight:700; margin-bottom:10px; display:block; direction:ltr; text-align:right; font-family:'Cairo';}
  .card p{font-size:13.5px; color:var(--muted);}

  /* smart section special ---------------------------------------------- */
  .smart-band{background:linear-gradient(120deg, var(--navy-deep), var(--navy) 55%, var(--blue-dark)); color:#fff; position:relative; overflow:hidden;}
  .smart-band .sec-head h2, .smart-band .sec-head p{color:#fff;}
  .smart-band .sec-head p{color:#C9D6EE;}
  .smart-band .sec-head .tag{color:#8FC1FF;}
  .smart-band .card{background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.14); backdrop-filter:blur(6px);}
  .smart-band .card h3{color:#fff;}
  .smart-band .card .en{color:#8FC1FF;}
  .smart-band .card p{color:#C9D6EE;}
  .smart-band .card .badge{background:rgba(255,255,255,.14);}

  /* brand promise / naming strip ---------------------------------------*/
  .promise{padding:70px 0; text-align:center;}
  .promise .circuit{justify-content:center; margin-bottom:26px;}
  .promise .circuit .seg{max-width:70px;}
  .promise h2{font-size:30px; font-weight:900; color:var(--navy-deep); margin-bottom:14px;}
  .promise .sub{font-family:'Cairo'; font-weight:800; color:var(--blue); font-size:20px; direction:ltr; margin-bottom:16px;}
  .promise p{max-width:640px; margin:0 auto; color:var(--muted); font-size:15.5px;}
  .promise .chips{display:flex; justify-content:center; gap:12px; flex-wrap:wrap; margin-top:28px;}
  .chip{background:#fff; border:1px solid var(--line); padding:9px 18px; border-radius:999px; font-size:13px; font-weight:700; color:var(--navy);}

  /* contact / cta -------------------------------------------------------*/
  .cta-band{
    background:var(--navy-deep); border-radius:24px; padding:60px 50px; display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap; color:#fff; margin:0 auto; position:relative; overflow:hidden;
  }
  .cta-band:before{content:''; position:absolute; inset:0; background:radial-gradient(circle at 85% 20%, rgba(5,109,241,.35), transparent 60%);}
  .cta-band > *{position:relative; z-index:1;}
  .cta-band h2{font-size:28px; font-weight:900; margin-bottom:10px;}
  .cta-band p{color:#C9D6EE; font-size:15px; max-width:420px;}
  .cta-actions{display:flex; gap:14px; flex-wrap:wrap;}
  .cta-actions .btn-primary{background:#fff; color:var(--navy-deep);}
  .cta-actions .btn-ghost{border-color:rgba(255,255,255,.3); color:#fff;}

  /* footer ----------------------------------------------------------------*/
  footer{background:var(--navy-deep); color:#B9C6E0; padding:60px 0 26px; margin-top:60px;}
  .foot-grid{display:grid; grid-template-columns:1.4fr repeat(3, 1fr); gap:40px; margin-bottom:44px;}
  .foot-brand{display:flex; align-items:center; gap:12px; margin-bottom:16px;}
  .foot-brand img{height:44px; width:44px;}
  .foot-brand .name{font-family:'Cairo'; font-weight:800; color:#fff; font-size:18px;}
  footer p.desc{font-size:13.5px; color:#93A3C4; max-width:280px;}
  footer h4{color:#fff; font-size:14px; font-weight:800; margin-bottom:16px;}
  footer ul li{margin-bottom:10px;}
  footer ul li a{font-size:13.5px; color:#B9C6E0; transition:color .2s;}
  footer ul li a:hover{color:#fff;}
  .foot-bottom{border-top:1px solid rgba(255,255,255,.1); padding-top:24px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px;}
  .foot-bottom p{font-size:12.5px; color:#8393B8;}
  .foot-bottom .tagline{font-size:12.5px; color:#6C7DA3;}

  /* responsive ------------------------------------------------------------*/
  @media(max-width:960px){
    .hero-grid{grid-template-columns:1fr;}
    .hero-art{order:-1; margin-bottom:10px;}
    .hero-art img{max-width:260px;}
    nav.links{display:none;}
    .burger{display:flex;}
    .foot-grid{grid-template-columns:1fr 1fr;}
  }
  @media(max-width:600px){
    .hero h1{font-size:34px;}
    .sec-head h2{font-size:26px;}
    .cta-band{padding:40px 24px; flex-direction:column; text-align:center;}
    .cta-band p{margin:0 auto;}
    .foot-grid{grid-template-columns:1fr;}
    .nav-cta{display:none;}
  }
