:root{
  --ink:#0b1c2e;
  --ink-2:#13283d;
  --paper:#f7f5f0;
  --surface:#ffffff;
  --brass:#b9985a;
  --brass-light:#d9c49a;
  --muted:#708090;
  --line:#e5e0d7;
  --success:#16845b;
}

*{box-sizing:border-box}

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

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:"IBM Plex Sans Arabic","Noto Sans Arabic",Tahoma,Arial,sans-serif;
  overflow-x:hidden;
}

a{text-decoration:none;color:inherit}

.wrap{
  width:min(1180px,calc(100% - 40px));
  margin:auto;
}

/* NAV */

.nav{
  position:relative;
  z-index:20;
  padding:24px 0;
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.brand-mark{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid rgba(185,152,90,.38);
  border-radius:13px;
  background:#fff;
  font-family:Arial,sans-serif;
  font-weight:900;
  letter-spacing:-1px;
  color:var(--ink);
}

.brand-copy strong{
  display:block;
  font-family:Arial,sans-serif;
  font-size:20px;
  letter-spacing:1.5px;
}

.brand-copy span{
  display:block;
  margin-top:2px;
  color:var(--muted);
  font-size:9px;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:28px;
  color:#435366;
  font-size:11px;
}

.nav-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 18px;
  border-radius:11px;
  background:var(--ink);
  color:#fff;
  font-size:11px;
  transition:.25s ease;
}

.nav-cta:hover{
  transform:translateY(-2px);
  background:var(--ink-2);
}

/* HERO */

.hero{
  position:relative;
  min-height:690px;
  display:flex;
  align-items:center;
  padding:75px 0 95px;
}

.hero::before{
  content:"";
  position:absolute;
  width:620px;
  height:620px;
  border-radius:50%;
  left:-250px;
  top:-150px;
  border:1px solid rgba(185,152,90,.16);
  box-shadow:
    0 0 0 70px rgba(185,152,90,.035),
    0 0 0 145px rgba(185,152,90,.025);
  pointer-events:none;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.04fr .96fr;
  gap:70px;
  align-items:center;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 11px;
  border:1px solid rgba(185,152,90,.35);
  border-radius:999px;
  background:rgba(255,255,255,.68);
  color:#6e5a32;
  font-size:9px;
}

.eyebrow-dot{
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--success);
  box-shadow:0 0 0 4px rgba(22,132,91,.08);
}

.hero h1{
  margin:22px 0 18px;
  max-width:650px;
  font-size:clamp(42px,5.4vw,74px);
  line-height:1.16;
  letter-spacing:-2px;
  font-weight:700;
}

.hero h1 em{
  font-style:normal;
  color:var(--brass);
}

.hero p{
  max-width:600px;
  margin:0;
  color:#5f6f7e;
  font-family:"IBM Plex Sans Arabic","Noto Sans Arabic",Tahoma,Arial,sans-serif;
  font-size:16px;
  line-height:2;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:11px;
  margin-top:30px;
}

.btn{
  min-height:48px;
  padding:0 22px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid transparent;
  font-size:11px;
  font-weight:700;
  transition:.22s ease;
  cursor:pointer;
}

.btn-primary{
  background:var(--ink);
  color:#fff;
}

.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 30px rgba(11,28,46,.14);
}

.btn-secondary{
  background:rgba(255,255,255,.72);
  border-color:#ddd7ca;
  color:var(--ink);
}

.btn-secondary:hover{
  background:#fff;
  transform:translateY(-2px);
}

/* HERO DOCUMENT CARD */

.hero-visual{
  position:relative;
}

.doc-card{
  position:relative;
  overflow:hidden;
  background:#fff;
  border:1px solid #e4ded3;
  border-radius:25px;
  box-shadow:0 28px 80px rgba(30,41,52,.11);
  padding:28px;
}

.doc-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,transparent 20%,rgba(185,152,90,.08),transparent 72%);
  transform:translateX(-120%);
  animation:sheen 6s ease-in-out infinite;
  pointer-events:none;
}

@keyframes sheen{
  0%,65%{transform:translateX(-120%)}
  100%{transform:translateX(120%)}
}

.doc-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  padding-bottom:22px;
  border-bottom:1px solid #eee9df;
}

.doc-status{
  padding:6px 9px;
  border-radius:999px;
  background:#edf8f2;
  color:#14704f;
  font-size:8px;
  font-weight:700;
}

.doc-id{
  direction:ltr;
  color:#98a2ad;
  font-family:Arial,sans-serif;
  font-size:9px;
}

.doc-title{
  margin:24px 0 5px;
  font-size:21px;
  font-weight:700;
}

.doc-sub{
  color:var(--muted);
  font-size:10px;
}

.doc-lines{
  display:grid;
  gap:12px;
  margin-top:27px;
}

.doc-line{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid #f0ede7;
}

.doc-line span{
  color:#8793a0;
  font-size:9px;
}

.doc-line strong{
  font-size:11px;
}

.flow-mini{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  margin-top:24px;
}

.flow-mini div{
  position:relative;
  padding:13px 6px;
  border-radius:10px;
  background:#f7f5f0;
  text-align:center;
  color:#647382;
  font-size:8px;
}

.flow-mini div.active{
  background:var(--ink);
  color:#fff;
}

.float-badge{
  position:absolute;
  left:-24px;
  bottom:44px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 15px;
  border:1px solid #e3ded3;
  border-radius:13px;
  background:rgba(255,255,255,.94);
  box-shadow:0 14px 35px rgba(30,41,52,.12);
  animation:floaty 4s ease-in-out infinite;
}

@keyframes floaty{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-8px)}
}

.float-icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#edf8f2;
  color:var(--success);
}

.float-badge strong{
  display:block;
  font-size:9px;
}

.float-badge span{
  display:block;
  margin-top:2px;
  color:#8793a0;
  font-size:7px;
}

/* TRUST STRIP */

.trust-strip{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.45);
}

.trust-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
}

.trust-item{
  padding:28px 22px;
  text-align:center;
  border-left:1px solid var(--line);
}

.trust-item:last-child{border-left:0}

.trust-item strong{
  display:block;
  font-family:Arial,sans-serif;
  font-size:23px;
  color:var(--ink);
}

.trust-item span{
  display:block;
  margin-top:7px;
  color:var(--muted);
  font-size:9px;
}

/* SECTIONS */

.section{
  padding:110px 0;
}

.section-head{
  max-width:700px;
  margin:0 auto 60px;
  text-align:center;
}

.kicker{
  color:var(--brass);
  font-size:9px;
  letter-spacing:.8px;
}

.section-head h2{
  margin:12px 0 14px;
  font-size:clamp(30px,4vw,47px);
  line-height:1.35;
  font-weight:700;
}

.section-head p{
  color:var(--muted);
  font-family:"IBM Plex Sans Arabic","Noto Sans Arabic",Tahoma,Arial,sans-serif;
  font-size:14px;
  line-height:2;
}

/* STEPS */

.process{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.process-card{
  position:relative;
  min-height:230px;
  padding:25px;
  background:#fff;
  border:1px solid #e5dfd4;
  border-radius:18px;
  transition:.28s ease;
}

.process-card:hover{
  transform:translateY(-6px);
  border-color:rgba(185,152,90,.55);
  box-shadow:0 18px 35px rgba(30,41,52,.07);
}

.process-number{
  font-family:Arial,sans-serif;
  color:#c4a86f;
  font-size:11px;
  letter-spacing:1px;
}

.process-icon{
  width:46px;
  height:46px;
  margin:24px 0 22px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:#f6f2e9;
  color:#927746;
  font-size:18px;
}

.process-card h3{
  margin:0 0 8px;
  font-size:15px;
}

.process-card p{
  margin:0;
  color:#768391;
  font-family:"IBM Plex Sans Arabic","Noto Sans Arabic",Tahoma,Arial,sans-serif;
  font-size:11px;
  line-height:1.9;
}

/* SECURITY */

.dark-section{
  position:relative;
  overflow:hidden;
  background:var(--ink);
  color:#fff;
}

.dark-section::before{
  content:"";
  position:absolute;
  inset:auto -20% -50% auto;
  width:600px;
  height:600px;
  border-radius:50%;
  border:1px solid rgba(185,152,90,.17);
  box-shadow:0 0 0 90px rgba(185,152,90,.04),0 0 0 180px rgba(185,152,90,.025);
}

.security-grid{
  position:relative;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:80px;
  align-items:center;
}

.security-copy .kicker{color:#d6bd8b}

.security-copy h2{
  margin:12px 0 18px;
  font-size:clamp(34px,4vw,52px);
  line-height:1.35;
}

.security-copy p{
  color:#aeb9c4;
  font-family:"IBM Plex Sans Arabic","Noto Sans Arabic",Tahoma,Arial,sans-serif;
  font-size:14px;
  line-height:2;
}

.security-list{
  display:grid;
  gap:13px;
}

.security-row{
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:18px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:14px;
  background:rgba(255,255,255,.035);
}

.security-check{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(185,152,90,.13);
  color:#dec592;
}

.security-row strong{
  display:block;
  font-size:11px;
}

.security-row span{
  display:block;
  margin-top:5px;
  color:#9eabb8;
  font-size:9px;
}

/* VERIFY */

.verify-box{
  max-width:820px;
  margin:auto;
  padding:42px;
  background:#fff;
  border:1px solid #e2ddd3;
  border-radius:22px;
  box-shadow:0 22px 60px rgba(30,41,52,.08);
}

.verify-box h3{
  margin:0 0 10px;
  text-align:center;
  font-size:25px;
}

.verify-box p{
  margin:0 0 24px;
  text-align:center;
  color:var(--muted);
  font-size:11px;
}

.verify-form{
  display:flex;
  gap:9px;
  direction:ltr;
}

.verify-input{
  flex:1;
  min-width:0;
  height:50px;
  padding:0 15px;
  border:1px solid #dcd6cb;
  border-radius:11px;
  outline:none;
  font-family:Arial,sans-serif;
  font-size:13px;
  color:var(--ink);
}

.verify-input:focus{
  border-color:var(--brass);
  box-shadow:0 0 0 3px rgba(185,152,90,.08);
}

.verify-btn{
  min-width:140px;
  border:0;
  border-radius:11px;
  background:var(--ink);
  color:#fff;
  font-size:10px;
  cursor:pointer;
}

/* CTA */

.cta{
  padding:70px 0 110px;
}

.cta-box{
  position:relative;
  overflow:hidden;
  padding:60px;
  border-radius:25px;
  background:#ece5d8;
}

.cta-box::after{
  content:"AKKID";
  position:absolute;
  left:-20px;
  bottom:-45px;
  font-family:Arial,sans-serif;
  font-size:150px;
  font-weight:900;
  color:rgba(255,255,255,.42);
  letter-spacing:-7px;
}

.cta-content{
  position:relative;
  z-index:2;
  max-width:620px;
}

.cta-content h2{
  margin:0 0 12px;
  font-size:37px;
}

.cta-content p{
  margin:0 0 25px;
  color:#5f6d78;
  font-size:12px;
  line-height:2;
}

/* FOOTER */

.footer{
  padding:30px 0;
  border-top:1px solid var(--line);
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  color:#89949f;
  font-size:9px;
}

.footer strong{
  color:var(--ink);
  font-family:Arial,sans-serif;
  font-size:14px;
}

/* REVEAL */

.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:
    opacity .7s cubic-bezier(.2,.8,.2,1),
    transform .7s cubic-bezier(.2,.8,.2,1);
}

.reveal.visible{
  opacity:1;
  transform:none;
}

/* MOBILE */

@media(max-width:900px){
  .nav-links{display:none}
  .hero{padding-top:40px}
  .hero-grid,
  .security-grid{
    grid-template-columns:1fr;
  }
  .hero-grid{gap:50px}
  .hero-copy{text-align:center}
  .hero-copy p{margin:auto}
  .hero-actions{justify-content:center}
  .eyebrow{margin:auto}
  .process{grid-template-columns:repeat(2,1fr)}
  .trust-grid{grid-template-columns:repeat(2,1fr)}
  .trust-item:nth-child(2){border-left:0}
  .trust-item:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .float-badge{left:10px}
}

@media(max-width:600px){
  .wrap{
    width:min(100% - 24px,1180px);
  }

  .nav{padding:15px 0}

  .brand-mark{
    width:38px;
    height:38px;
  }

  .brand-copy strong{font-size:17px}
  .brand-copy span{font-size:8px}

  .nav-cta{
    min-height:38px;
    padding:0 13px;
    font-size:9px;
  }

  .hero{
    min-height:auto;
    padding:46px 0 70px;
  }

  .hero h1{
    margin-top:18px;
    font-size:39px;
    letter-spacing:-1px;
  }

  .hero p{
    font-size:13px;
    line-height:1.9;
  }

  .btn{
    min-height:45px;
    padding:0 16px;
    font-size:10px;
  }

  .doc-card{
    padding:20px;
    border-radius:19px;
  }

  .float-badge{
    position:relative;
    left:auto;
    bottom:auto;
    width:max-content;
    margin:-18px auto 0;
  }

  .section{
    padding:75px 0;
  }

  .section-head{
    margin-bottom:38px;
  }

  .section-head h2{
    font-size:31px;
  }

  .section-head p{
    font-size:12px;
  }

  .process{
    grid-template-columns:1fr;
  }

  .process-card{
    min-height:0;
  }

  .trust-grid{
    grid-template-columns:1fr 1fr;
  }

  .trust-item{
    padding:21px 8px;
  }

  .trust-item strong{
    font-size:18px;
  }

  .security-grid{
    gap:35px;
  }

  .security-copy{
    text-align:center;
  }

  .security-copy h2{
    font-size:31px;
  }

  .verify-box{
    padding:24px 15px;
  }

  .verify-form{
    flex-direction:column;
  }

  .verify-input,
  .verify-btn{
    width:100%;
    min-width:0;
  }

  .verify-btn{
    height:46px;
  }

  .cta{
    padding:40px 0 75px;
  }

  .cta-box{
    padding:35px 22px;
  }

  .cta-content h2{
    font-size:28px;
  }

  .cta-box::after{
    font-size:90px;
  }

  .footer-inner{
    flex-direction:column;
    text-align:center;
  }
}

@media(prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }

  .reveal{
    opacity:1;
    transform:none;
  }
}


/* =========================================================
   AKKID TYPOGRAPHY V2
   Alexandria / modern Arabic UI
   ========================================================= */

body{
    font-family:"Alexandria","Noto Sans Arabic",Tahoma,Arial,sans-serif;
    font-weight:400;
    line-height:1.8;
    letter-spacing:0;
}

.hero h1{
    font-family:"Alexandria","Noto Sans Arabic",sans-serif;
    font-weight:700;
    line-height:1.32;
    letter-spacing:-0.45px;
}

.hero p{
    font-family:"Alexandria","Noto Sans Arabic",sans-serif;
    font-weight:400;
    line-height:1.95;
    letter-spacing:0;
}

.section-head h2,
.security-copy h2,
.cta-content h2{
    font-family:"Alexandria","Noto Sans Arabic",sans-serif;
    font-weight:700;
    line-height:1.42;
    letter-spacing:-0.25px;
}

.section-head p,
.security-copy p,
.cta-content p,
.process-card p{
    font-family:"Alexandria","Noto Sans Arabic",sans-serif;
    font-weight:400;
    line-height:1.9;
}

.process-card h3,
.verify-box h3,
.doc-title{
    font-family:"Alexandria","Noto Sans Arabic",sans-serif;
    font-weight:600;
    line-height:1.55;
}

.nav-links,
.nav-cta,
.btn,
.kicker,
.eyebrow,
.doc-status,
.security-row strong,
.process-card h3{
    font-family:"Alexandria","Noto Sans Arabic",sans-serif;
    font-weight:600;
}

.brand-copy span,
.doc-sub,
.doc-line span,
.process-card p,
.security-row span,
.trust-item span,
.footer,
.verify-box p{
    font-family:"Alexandria","Noto Sans Arabic",sans-serif;
    font-weight:400;
}

.brand-copy strong,
.doc-id,
.trust-item strong{
    font-family:Arial,sans-serif;
}


/* Better Arabic sizing */

.nav-links{
    font-size:12px;
}

.nav-cta{
    font-size:11px;
}

.eyebrow{
    font-size:10px;
}

.hero p{
    font-size:15px;
}

.section-head p{
    font-size:13px;
}

.process-card h3{
    font-size:15px;
}

.process-card p{
    font-size:11.5px;
}

.security-copy p{
    font-size:13px;
}

.security-row strong{
    font-size:12px;
}

.security-row span{
    font-size:10px;
}

.verify-box p{
    font-size:11px;
}


/* Mobile typography */

@media(max-width:600px){

    body{
        font-size:14px;
        line-height:1.8;
    }

    .hero h1{
        font-size:36px;
        line-height:1.35;
        letter-spacing:-0.25px;
    }

    .hero p{
        font-size:13px;
        line-height:1.9;
    }

    .section-head h2,
    .security-copy h2{
        font-size:29px;
        line-height:1.45;
    }

    .section-head p,
    .security-copy p{
        font-size:12px;
        line-height:1.85;
    }

    .cta-content h2{
        font-size:27px;
        line-height:1.45;
    }

    .cta-content p{
        font-size:11.5px;
        line-height:1.9;
    }

    .process-card h3{
        font-size:14px;
    }

    .process-card p{
        font-size:11px;
        line-height:1.85;
    }

    .nav-links,
    .nav-cta{
        font-size:10px;
    }
}


/* =========================================================
   AKKID — STC TYPOGRAPHY
   ========================================================= */

@font-face {
    font-family: "STC";
    src: url("/static/akkid/STC-Regular.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Main Arabic typography */
body {
    font-family: "STC", Tahoma, Arial, sans-serif !important;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0;
}

/* Hero */
.hero h1 {
    font-family: "STC", Tahoma, Arial, sans-serif !important;
    font-size: clamp(44px, 5.4vw, 76px);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: 0;
}

.hero p {
    font-family: "STC", Tahoma, Arial, sans-serif !important;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.9;
}

/* Section titles */
.section-head h2,
.security-copy h2,
.cta-content h2 {
    font-family: "STC", Tahoma, Arial, sans-serif !important;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: 0;
}

/* Paragraphs */
.section-head p,
.security-copy p,
.cta-content p,
.process-card p,
.verify-box p {
    font-family: "STC", Tahoma, Arial, sans-serif !important;
    font-weight: 400;
    line-height: 1.85;
}

/* Cards */
.process-card h3,
.verify-box h3,
.doc-title {
    font-family: "STC", Tahoma, Arial, sans-serif !important;
    font-weight: 700;
    line-height: 1.4;
}

/* Navigation + buttons */
.nav-links,
.nav-cta,
.btn,
.kicker,
.eyebrow,
.doc-status,
.security-row strong {
    font-family: "STC", Tahoma, Arial, sans-serif !important;
    font-weight: 500;
}

/* Supporting text */
.brand-copy span,
.doc-sub,
.doc-line span,
.process-card p,
.security-row span,
.trust-item span,
.footer,
.verify-box p {
    font-family: "STC", Tahoma, Arial, sans-serif !important;
}

/* Keep AKKID + technical data Latin */
.brand-copy strong,
.doc-id,
.trust-item strong,
.ltr-data {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Improved sizing */
.nav-links {
    font-size: 14px;
}

.nav-cta {
    font-size: 13px;
}

.eyebrow {
    font-size: 12px;
}

.section-head p {
    font-size: 15px;
}

.process-card h3 {
    font-size: 18px;
}

.process-card p {
    font-size: 14px;
}

.security-copy p {
    font-size: 15px;
}

.security-row strong {
    font-size: 15px;
}

.security-row span {
    font-size: 13px;
    line-height: 1.7;
}

.verify-box h3 {
    font-size: 27px;
}

.verify-box p {
    font-size: 14px;
}

/* Mobile */
@media (max-width: 600px) {

    body {
        font-size: 15px;
    }

    .hero h1 {
        font-size: 40px;
        line-height: 1.25;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.85;
    }

    .section-head h2,
    .security-copy h2 {
        font-size: 32px;
        line-height: 1.3;
    }

    .section-head p,
    .security-copy p {
        font-size: 14px;
        line-height: 1.8;
    }

    .process-card h3 {
        font-size: 17px;
    }

    .process-card p {
        font-size: 13px;
        line-height: 1.8;
    }

    .cta-content h2 {
        font-size: 30px;
        line-height: 1.3;
    }

    .cta-content p {
        font-size: 14px;
    }

    .nav-cta {
        font-size: 12px;
    }
}
