/* FAZAA — Customer Story page styles (extracted June 2026 from v2 Customer Story.html) */

*{margin:0;padding:0;box-sizing:border-box;}
  :root{
    --teal:#008fa3;
    --teal-bright:#00B5CC;
    --teal-deep:#036b7a;
    --teal-light:#a8dce4;
    --teal-soft:rgba(0,143,163,0.10);
    --navy:#031a26;
    --text:#031a26;
    --text-soft:#3c5763;
    --text-dim:#6b8089;
    --bg:#f5fbfc;
    --paper:#ffffff;
    --line:rgba(3,107,122,0.14);
    --ink:#0c1a20;
  }
  html,body{
    font-family:'Cairo',system-ui,sans-serif;
    color:var(--text);background:var(--bg);
    overflow-x:hidden;scroll-behavior:smooth;
    -webkit-font-smoothing:antialiased;
  }
  ::-webkit-scrollbar{width:8px;}
  ::-webkit-scrollbar-track{background:var(--bg);}
  ::-webkit-scrollbar-thumb{background:rgba(0,143,163,.3);border-radius:100px;}

  /* ─── FAZAA LOGO (mini, for nav) ─── */
  .fz-logo{
    display:inline-flex;align-items:center;justify-content:center;
    direction:rtl;line-height:.85;font-family:'Cairo',sans-serif;font-weight:900;
    user-select:none;vertical-align:baseline;position:relative;
  }
  .fz-letter{display:inline-block;color:#031a1e;text-shadow:.04em .04em 0 rgba(0,143,163,.2);}
  .fz-letter.feh{margin-left:-.03em;}
  .fz-letter.alif-ayn{margin-right:-.1em;}
  .fz-z-container{position:relative;display:inline-flex;justify-content:center;}
  .fz-z-glow{
    position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
    border-radius:50%;background:radial-gradient(circle,rgba(0,143,163,.18) 0%,transparent 70%);
    pointer-events:none;animation:fzAura 2s ease-in-out infinite;z-index:-1;
  }
  @keyframes fzAura{0%,100%{opacity:.7;transform:translate(-50%,-50%) scale(.95);}50%{opacity:1;transform:translate(-50%,-50%) scale(1.12);}}
  .fz-z-normal{
    position:absolute;top:6%;color:var(--teal);
    text-shadow:.04em .04em 0 rgba(0,143,163,.2),0 0 4px #2fc4d6,0 0 14px var(--teal),0 0 28px rgba(0,143,163,.4);
    animation:fzZPulse 4s ease-in-out infinite;
  }
  @keyframes fzZPulse{0%,100%{color:var(--teal);filter:brightness(1);}50%{color:#2fc4d6;filter:brightness(1.15);}}

  /* ─── NAV ─── */
  .nav{
    position:sticky;top:0;z-index:50;
    backdrop-filter:blur(20px);
    background:rgba(245,251,252,.78);
    border-bottom:1px solid var(--line);
  }
  .nav-inner{
    max-width:1100px;margin:0 auto;padding:14px 28px;
    display:flex;justify-content:space-between;align-items:center;
  }
  .nav .brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text);}
  .nav .brand .fz-logo{font-size:22px;}
  .nav .back{
    display:inline-flex;align-items:center;gap:8px;
    padding:9px 16px;border-radius:100px;
    background:var(--teal);color:#fff;
    font-size:13px;font-weight:800;text-decoration:none;
    transition:transform .2s;
    box-shadow:0 6px 18px rgba(0,143,163,.35);
  }
  .nav .back:hover{transform:translateY(-2px);}

  .wrap{max-width:1080px;margin:0 auto;padding:0 24px;}

  /* ─── HERO ─── */
  .hero{padding:60px 0 30px;text-align:right;max-width:720px;}
  .hero .kicker{
    display:inline-flex;align-items:center;gap:10px;
    padding:7px 16px;border-radius:100px;
    background:#fff;border:1px solid var(--line);
    font-size:12px;font-weight:800;color:var(--teal-deep);
    letter-spacing:1.5px;margin-bottom:24px;
    box-shadow:0 4px 14px rgba(3,107,122,.06);
  }
  .hero .kicker .dot{width:7px;height:7px;border-radius:50%;background:var(--teal);animation:dotPulse 1.6s ease-in-out infinite;}
  @keyframes dotPulse{0%,100%{opacity:1;transform:scale(1);}50%{opacity:.6;transform:scale(.86);}}
  .hero h1{
    font-size:clamp(28px,3.5vw,42px);font-weight:900;
    line-height:1.18;letter-spacing:-1px;margin-bottom:18px;
  }
  .hero h1 .accent{
    font-family:inherit;font-style:normal;font-weight:inherit;
    color:inherit;-webkit-text-fill-color:inherit;background:none;
  }
  .hero .sub{
    font-size:18px;line-height:1.85;color:var(--text-soft);
    max-width:580px;margin:0 auto;
    text-wrap:pretty;
  }

  /* ─── STORY TEXT BLOCKS (the 6 narrative beats — now prose) ─── */
  .story{padding:34px 0 20px;max-width:720px;margin:0 auto;}
  .story .beat{
    margin-bottom:18px;
    position:relative;
  }
  .story .beat p{
    font-size:19px;line-height:2;color:var(--text);
    font-weight:500;text-wrap:pretty;
  }
  .story .beat strong{color:inherit;font-weight:inherit;}
  .story .beat .quote{color:inherit;font-weight:inherit;}
  .story .beat .punch{
    display:block;margin-top:14px;
    font-weight:inherit;font-size:inherit;color:inherit;
    font-family:inherit;font-style:normal;
    line-height:inherit;
  }

  /* ─── MAJLIS SCENE IMAGE (placed after the decision quote) ─── */
  .scene-img{
    margin:28px auto 8px;
    max-width:720px;width:100%;
    border:2px solid var(--ink);border-radius:14px;
    overflow:hidden;
    box-shadow:6px 6px 0 var(--ink);
    display:block;
  }
  .scene-img img{width:100%;height:auto;display:block;}
  /* tiny easter-egg dot in the corner of the image — the only click target */
  .scene-img{position:relative;}
  .scene-img .dot-trigger{
    position:absolute;bottom:8px;left:8px;
    width:8px;height:8px;border-radius:50%;
    background:var(--ink);opacity:.45;
    border:0;padding:0;cursor:pointer;
  ;opacity:0!important;background:transparent!important;border:none!important;box-shadow:none!important;}
  .founders-card{
    max-width:720px;margin:0 auto;
    max-height:0;overflow:hidden;opacity:0;
    transition:max-height .4s ease, opacity .4s ease, margin-top .4s ease;
    position:relative;
  }
  .founders-card.open{
    max-height:340px;opacity:1;margin-top:14px;
  }
  .founders-card .inner{
    background:#fff;border:2px solid var(--ink);border-radius:14px;
    box-shadow:6px 6px 0 var(--ink);
    padding:24px 26px 22px;text-align:center;
  }
  .founders-card .thanks{
    font-family:'Cairo',sans-serif;
    font-size:18px;font-weight:900;color:var(--ink);
    margin-bottom:8px;
  }
  .founders-card .thanks-sub{
    font-size:13.5px;color:var(--text-soft);font-weight:600;
    margin-bottom:18px;
  }
  .founders-card .lines{
    display:flex;flex-direction:column;gap:8px;
    font-family:'Cairo',sans-serif;
    font-size:15.5px;color:var(--ink);font-weight:600;line-height:1.7;
    border-top:1px dashed rgba(0,0,0,.14);padding-top:16px;
  }
  .founders-card .lines b{font-weight:900;}
  .founders-card .lines .tag{
    display:inline-block;
    background:var(--ink);color:#fff;
    font-size:10px;font-weight:800;letter-spacing:1.5px;
    padding:2px 8px;border-radius:100px;margin-right:6px;
    font-family:'Courier New',monospace;
    vertical-align:middle;
  }
  /* confetti dots */
  .confetti{
    position:fixed;top:0;left:0;
    width:10px;height:10px;border-radius:2px;
    pointer-events:none;z-index:9999;
    will-change:transform,opacity;
  }
  .founders-card .inner{position:relative;}
  .founders-card.open{overflow:visible;}
  @keyframes fadeIn{from{opacity:0;}to{opacity:1;}}
  @keyframes pop{0%{transform:scale(.5) rotate(-6deg);opacity:0;}60%{transform:scale(1.04) rotate(1deg);opacity:1;}100%{transform:scale(1) rotate(0);}}

  /* ─── INSIGHT BLOCK (replaces the pull-quote card) ─── */
  .insight{
    max-width:720px;margin:24px auto;
    display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;
  }
  .insight .pill{
    background:#fff;border:2px solid var(--ink);
    border-radius:14px;
    padding:22px 18px 20px;text-align:center;
    box-shadow:4px 4px 0 var(--ink);
    transition:transform .2s ease;
  }
  .insight .pill:hover{transform:translate(-2px,-2px);box-shadow:6px 6px 0 var(--ink);}
  .insight .pill .label{
    font-family:'Amiri',serif;font-size:14px;font-weight:700;
    color:var(--teal-deep);letter-spacing:1px;margin-bottom:8px;
  }
  .insight .pill .val{
    font-size:17px;font-weight:900;color:var(--ink);line-height:1.45;
  }

  /* ─── TRANSITION DIVIDER ─── */
  .turn{
    text-align:center;padding:36px 0 24px;
    position:relative;
  }
  .turn .badge{
    display:inline-block;
    font-family:'Amiri',serif;font-size:22px;font-weight:700;
    color:var(--teal-deep);
    background:#fff;padding:14px 34px;border-radius:100px;
    border:2px solid var(--ink);box-shadow:4px 4px 0 var(--ink);
    position:relative;z-index:2;
  }
  .turn::before{
    content:'';position:absolute;top:50%;left:0;right:0;
    height:2px;background:var(--ink);z-index:1;
  }

  /* ─── PROSE CONTINUATION (after comic) ─── */
  .prose-wrap{
    max-width:700px;margin:0 auto;
    padding:18px 24px 30px;
  }
  .prose p{
    font-size:19px;line-height:1.95;color:var(--text);
    margin-bottom:16px;font-weight:500;
    text-wrap:pretty;
  }
  .prose p.lead{
    font-size:22px;font-weight:700;color:var(--navy);
    text-align:center;
  }
  .prose strong{color:inherit;font-weight:inherit;}
  .prose em{color:inherit;font-weight:inherit;font-family:inherit;font-style:normal;}
  .prose p.lead{
    font-size:19px;font-weight:500;color:var(--text);
    text-align:right;
  }

  /* ─── BREAKERS — small pull-quote between paragraphs ─── */
  .pq{
    margin:36px 0;
    padding:30px 28px;
    background:linear-gradient(135deg,var(--teal),var(--teal-deep));
    color:#fff;border-radius:18px;
    font-family:'Amiri',serif;font-style:italic;font-size:24px;
    text-align:center;font-weight:700;line-height:1.6;
    box-shadow:5px 5px 0 var(--ink);
    position:relative;
    text-wrap:pretty;
  }
  .pq::before, .pq::after{
    content:'"';font-family:Georgia,serif;font-size:80px;
    opacity:.18;line-height:.5;position:absolute;
  }
  .pq::before{top:24px;right:22px;}
  .pq::after{bottom:-2px;left:22px;transform:rotate(180deg);}

  /* ─── CLOSING ─── */
  .closing{
    text-align:center;padding:16px 24px 30px;
    max-width:680px;margin:0 auto;
  }
  .closing h2{
    font-size:clamp(28px,4vw,40px);
    font-weight:900;line-height:1.35;letter-spacing:-1px;
    margin-bottom:18px;
  }
  .closing h2 em{font-family:'Amiri',serif;font-style:italic;color:var(--teal-deep);font-weight:700;}
  .closing p{
    font-size:17px;line-height:1.95;color:var(--text-soft);
    margin-bottom:30px;
  }
  .closing .signature{
    display:inline-flex;align-items:center;gap:14px;
    padding:14px 26px;background:#fff;
    border:2px solid var(--ink);border-radius:100px;
    box-shadow:4px 4px 0 var(--ink);
    font-size:14px;font-weight:800;color:var(--text-soft);
  }
  .closing .signature .fz-logo{font-size:18px;}
  .closing .find-hint{
    margin-top:14px;font-size:13px;font-weight:600;
    color:var(--text-dim);font-family:'Cairo',sans-serif;
    letter-spacing:.3px;
  }

  /* ─── FOOTER ─── */
  .foot{
    max-width:1080px;margin:60px auto 30px;
    padding:24px;text-align:center;
    font-size:12.5px;color:var(--text-dim);
    border-top:1px solid var(--line);
  }
  .foot a{color:var(--teal-deep);font-weight:800;text-decoration:none;margin:0 8px;}

  /* ─── REVEAL ON SCROLL ─── */
  .reveal{opacity:0;transform:translateY(20px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1);}
  .reveal.in{opacity:1;transform:translateY(0);}
  @media (prefers-reduced-motion: reduce){
    .reveal{opacity:1;transform:none;}
    .fz-letter, .fz-z-normal, .fz-z-glow, .hero .kicker .dot{animation:none;}
  }

  /* ─── RESPONSIVE ─── */
  @media (max-width:760px){
    .hero{padding:50px 22px 30px;}
    .pq{font-size:19px;padding:24px 20px;}
    .story{padding:40px 22px 24px;}
    .story .beat p{font-size:17px;line-height:1.95;}
    .insight{grid-template-columns:1fr;}
    .scene-img{box-shadow:4px 4px 0 var(--ink);}
  }

  /* ───────── CREDENTIALS STRIP ───────── */
  .credentials{display:flex;flex-wrap:wrap;align-items:stretch;justify-content:center;gap:14px;margin:18px auto;max-width:860px;}
  .credentials .cred-item{display:inline-flex;align-items:center;gap:12px;padding:12px 18px;border-radius:16px;background:rgba(255,255,255,0.7);border:1px solid rgba(0,0,0,0.08);text-decoration:none;color:#0f172a;}
  .credentials .cred-item img{height:40px;width:auto;display:block;border-radius:6px;}
  .credentials .cred-txt{display:flex;flex-direction:column;gap:2px;text-align:right;}
  .credentials .cred-label{font-size:12px;font-weight:800;color:#0f172a;}
  .credentials .cred-num{font-size:12px;font-weight:700;color:#475569;font-family:'Inter',monospace;direction:ltr;min-height:14px;}
  .credentials .cred-num b{font-weight:800;color:#0f172a;}
  .credentials .cred-link{cursor:pointer;transition:transform .2s,box-shadow .2s,border-color .2s;}
  .credentials .cred-link:hover{transform:translateY(-2px);border-color:rgba(0,0,0,0.18);box-shadow:0 10px 24px -10px rgba(0,0,0,0.25);}

  /* ───────── CERTIFICATE MODAL ───────── */
  .cert-modal{position:fixed;inset:0;z-index:100000;display:none;align-items:flex-start;justify-content:center;padding:40px 16px;background:rgba(15,23,42,0.5);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);overflow:auto;}
  .cert-modal.open{display:flex;}
  .cert-box{background:#fff;border-radius:18px;max-width:760px;width:100%;box-shadow:0 30px 80px -20px rgba(0,0,0,.45);position:relative;animation:certUp .3s cubic-bezier(.2,.7,.3,1) both;font-family:'Cairo',system-ui,sans-serif;}
  @keyframes certUp{from{opacity:0;transform:translateY(20px);}to{opacity:1;transform:translateY(0);}}
  .cert-close{position:absolute;top:14px;right:16px;width:34px;height:34px;border:none;border-radius:50%;background:#f1f5f9;color:#475569;font-size:22px;line-height:1;cursor:pointer;transition:background .2s;z-index:2;}
  .cert-close:hover{background:#fee2e2;color:#dc2626;}
  .cert-head{text-align:center;padding:22px 20px 16px;border-bottom:1px solid rgba(0,0,0,.06);}
  .cert-title{font-size:14px;font-weight:700;color:#475569;}
  .cert-num{font-size:22px;font-weight:800;color:#0f172a;direction:ltr;margin-top:4px;min-height:24px;font-family:'Inter',monospace;}
  .cert-body{padding:20px;}
  .cert-body img{width:100%;height:auto;border-radius:10px;display:block;}
  .cert-ph{border:2px dashed rgba(0,0,0,.15);border-radius:12px;padding:64px 20px;text-align:center;color:#94a3b8;font-size:14px;font-weight:700;}

  /* توقيع تبوك — بنفس هوية كرت «قصتنا» (حدّ غامق + ظل صلب) */
  .made-sig{
    display:inline-flex;align-items:center;justify-content:center;gap:8px;
    font-size:12.5px;font-weight:800;color:#0c1a20;
    padding:11px 24px;border-radius:14px;
    background:#fff;
    border:2px solid #0c1a20;
    box-shadow:4px 4px 0 #0c1a20;
  }
  .made-sig .sig-em{font-size:14px;}
