/* ---------- self-hosted Vazirmatn (was loaded from Google Fonts CDN,
   which some browsers block/mis-render under file:// or restricted
   network setups) — bundled locally so the font renders consistently
   everywhere, in every browser, with no external request. ---------- */
@font-face{
  font-family:'Vazirmatn';
  src:url('../assets/fonts/vazirmatn/vazirmatn-300.woff2') format('woff2');
  font-weight:300;font-style:normal;font-display:swap;
}
@font-face{
  font-family:'Vazirmatn';
  src:url('../assets/fonts/vazirmatn/vazirmatn-400.woff2') format('woff2');
  font-weight:400;font-style:normal;font-display:swap;
}
@font-face{
  font-family:'Vazirmatn';
  src:url('../assets/fonts/vazirmatn/vazirmatn-500.woff2') format('woff2');
  font-weight:500;font-style:normal;font-display:swap;
}
@font-face{
  font-family:'Vazirmatn';
  src:url('../assets/fonts/vazirmatn/vazirmatn-600.woff2') format('woff2');
  font-weight:600;font-style:normal;font-display:swap;
}
@font-face{
  font-family:'Vazirmatn';
  src:url('../assets/fonts/vazirmatn/vazirmatn-700.woff2') format('woff2');
  font-weight:700;font-style:normal;font-display:swap;
}
@font-face{
  font-family:'Vazirmatn';
  src:url('../assets/fonts/vazirmatn/vazirmatn-800.woff2') format('woff2');
  font-weight:800;font-style:normal;font-display:swap;
}
@font-face{
  font-family:'Vazirmatn';
  src:url('../assets/fonts/vazirmatn/vazirmatn-900.woff2') format('woff2');
  font-weight:900;font-style:normal;font-display:swap;
}

:root{
    --ink:#152A20;
    --ink-2:#1D3A2B;
    --paper:#F3EEDE;
    --paper-2:#EAE3CC;
    --gold:#C89B3C;
    --gold-light:#E4BE6E;
    --emerald:#2F6B4F;
    --emerald-light:#4C8C68;
    --text-ink:#1C2A22;
    --text-muted:#5C6B5F;
    --text-on-ink:#EFE9D8;
    --text-on-ink-muted:#A9B8AC;
    --expense:#B1503B;
    --radius:14px;
    --max:1180px;
  }
  *{box-sizing:border-box;font-family:'Vazirmatn', Tahoma, sans-serif;}
  html{scroll-behavior:smooth;scroll-padding-top:76px;overflow-x:hidden;}
  body{
    margin:0;
    font-family:'Vazirmatn', Tahoma, sans-serif;
    background:var(--paper);
    color:var(--text-ink);
    font-variant-numeric:tabular-nums;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
    width:100%;
  }
  img,svg{display:block;max-width:100%;}
  a{color:inherit;text-decoration:none;}
  ul{margin:0;padding:0;list-style:none;}
  .wrap{max-width:var(--max);margin:0 auto;padding:0 28px;}
  @media (max-width:720px){.wrap{padding:0 20px;}}

  .eyebrow{
    display:inline-flex;align-items:center;gap:8px;
    font-size:13px;font-weight:700;letter-spacing:.08em;
    color:var(--gold-light);
    text-transform:uppercase;
  }
  .eyebrow::before{content:"";width:16px;height:2px;background:var(--gold-light);border-radius:2px;}
  section.on-paper .eyebrow{color:var(--emerald);}
  section.on-paper .eyebrow::before{background:var(--emerald);}

  h1,h2,h3{margin:0;font-weight:900;letter-spacing:-.02em;line-height:1.18;}
  h2{font-size:clamp(28px,3.6vw,42px);}
  h3{font-size:19px;font-weight:800;}
  p{line-height:1.9;margin:0;}

  .btn{
    display:inline-flex;align-items:center;justify-content:center;gap:8px;
    padding:14px 26px;border-radius:999px;font-weight:700;font-size:15px;
    cursor:pointer;border:1px solid transparent;transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
    white-space:nowrap;
  }
  .btn:hover{transform:translateY(-1px);}
  .btn-primary{background:var(--gold);color:#1C1404;box-shadow:0 8px 24px -8px rgba(200,155,60,.55);}
  .btn-primary:hover{background:var(--gold-light);}
  .btn-ghost{border-color:rgba(239,233,216,.35);color:var(--text-on-ink);}
  .btn-ghost:hover{border-color:rgba(239,233,216,.7);}
  .btn-ghost-ink{border-color:rgba(28,42,34,.25);color:var(--text-ink);}
  .btn-ghost-ink:hover{border-color:rgba(28,42,34,.55);}
  .btn-sm{padding:10px 20px;font-size:13.5px;}

  /* ---------- header ---------- */
  header{
    position:fixed;top:0;left:0;right:0;z-index:150;
    background:rgba(21,42,32,.7);
    backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(239,233,216,.08);
  }
  /* keeps section content clear of the fixed header at rest; scroll-padding-top
     above handles the offset while scrolling/snapping. */
  #fullpage{padding-top:76px;}
  header .row{display:flex;align-items:center;justify-content:space-between;height:76px;flex-wrap:nowrap;}
  .logo{display:flex;align-items:center;gap:10px;font-weight:900;font-size:19px;color:var(--text-on-ink);}
  .logo .mark{
    width:34px;height:34px;border-radius:9px;
    background:linear-gradient(155deg,var(--gold-light),var(--gold) 60%,#8f6c22);
    display:flex;align-items:center;justify-content:center;
    color:#1C1404;font-weight:900;font-size:17px;flex:none;
  }
  .logo .mark svg{width:19px;height:19px;display:block;}
  nav.main-nav{display:flex;gap:15px;}
  nav.main-nav a{font-size:14.5px;font-weight:600;color:var(--text-on-ink-muted);transition:color .15s;}
  nav.main-nav a:hover{color:var(--text-on-ink);}
  .header-cta{display:flex;align-items:center;gap:14px;}
  .header-cta .login-link{font-size:14.5px;font-weight:700;color:var(--text-on-ink);}
  .nav-toggle{display:none;background:none;border:none;color:var(--text-on-ink);font-size:22px;cursor:pointer;padding:6px;}
  .mobile-nav{display:none;flex-direction:column;gap:2px;padding:10px 0 20px;}
  .mobile-nav a{padding:12px 4px;font-size:15px;font-weight:600;color:var(--text-on-ink);border-top:1px solid rgba(239,233,216,.1);}
  @media (max-width:1180px){
    nav.main-nav{display:none;}
    .header-cta .login-link{display:none;}
    .nav-toggle{display:block;}
    .mobile-nav.open{display:flex;}
  }

  /* ---------- hero ---------- */
  .hero{
    position:relative;overflow:hidden;
    background:
      radial-gradient(ellipse 900px 500px at 85% -10%, rgba(200,155,60,.16), transparent 60%),
      linear-gradient(180deg,var(--ink),var(--ink-2));
    color:var(--text-on-ink);
    padding:92px 0 70px;
  }
  .hero::before{
    content:"";position:absolute;inset:0;opacity:.5;pointer-events:none;
    background-image:radial-gradient(rgba(239,233,216,.09) 1px, transparent 1px);
    background-size:26px 26px;
    mask-image:linear-gradient(180deg, transparent, black 20%, black 75%, transparent);
  }
  /* particles.js canvas layer: sits above the dot-grid backdrop, below the
     actual hero content, and only intercepts the mouse (so links/buttons
     in the wrap above stay clickable) */
  .hero-particles{
    position:absolute;inset:0;z-index:1;pointer-events:auto;
  }
  .hero-particles canvas{display:block;}
  .hero .wrap{position:relative;z-index:2;display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center;}
  @media (max-width:980px){.hero .wrap{grid-template-columns:1fr;}}
  .hero h1{font-size:clamp(34px,4.6vw,58px);color:#fff;}
  .hero h1 em{font-style:normal;color:var(--gold-light);}
  .hero .lede{margin-top:20px;font-size:17px;color:var(--text-on-ink-muted);max-width:520px;}
  .hero .cta-row{display:flex;gap:14px;margin-top:34px;flex-wrap:wrap;}
  .hero .trust{margin-top:34px;display:flex;gap:22px;flex-wrap:wrap;font-size:13px;color:var(--text-on-ink-muted);}
  .hero .trust span{display:flex;align-items:center;gap:7px;}
  .hero .trust .dot{width:6px;height:6px;border-radius:50%;background:var(--gold-light);}

  /* signature widget: chaos -> clarity */
  .ledger-widget{
    position:relative;height:420px;
    border-radius:20px;
    background:linear-gradient(180deg,rgba(239,233,216,.05),rgba(239,233,216,.02));
    border:1px solid rgba(239,233,216,.12);
  }
  .ledger-widget .chip{
    position:absolute;display:flex;align-items:center;gap:8px;
    background:rgba(21,42,32,.9);border:1px solid rgba(239,233,216,.15);
    border-radius:10px;padding:9px 13px;font-size:12.5px;font-weight:700;
    color:var(--text-on-ink);box-shadow:0 10px 24px -12px rgba(0,0,0,.5);
    animation:drift 7s ease-in-out infinite;
  }
  .ledger-widget .chip.income{color:#BFE3CC;}
  .ledger-widget .chip.expense{color:#EFC0B4;}
  .ledger-widget .chip .tag{width:7px;height:7px;border-radius:50%;background:var(--emerald-light);flex:none;}
  .ledger-widget .chip.expense .tag{background:var(--expense);}
  .c1{top:12%;right:8%;animation-delay:.1s;}
  .c2{top:6%;left:20%;animation-delay:1.1s;}
  .c3{top:44%;left:6%;animation-delay:.5s;}
  .c4{bottom:20%;right:16%;animation-delay:1.6s;}
  .c5{bottom:10%;left:24%;animation-delay:.8s;}
  @keyframes drift{
    0%,100%{transform:translateY(0px);}
    50%{transform:translateY(-9px);}
  }
  .ledger-widget .beam{
    position:absolute;inset:0;
  }
  .ledger-widget .result{
    position:absolute;bottom:14%;left:50%;transform:translateX(-50%);
    width:min(78%,300px);
    background:linear-gradient(160deg,var(--gold-light),var(--gold));
    color:#1C1404;border-radius:16px;padding:20px 22px;
    box-shadow:0 20px 44px -14px rgba(200,155,60,.55);
    text-align:center;
  }
  .ledger-widget .result .label{font-size:12px;font-weight:700;opacity:.75;letter-spacing:.03em;}
  .ledger-widget .result .amount{font-size:25px;font-weight:900;margin-top:4px;}
  @media (max-width:980px){.ledger-widget{height:340px;margin-top:10px;}}
  @media (max-width:520px){.ledger-widget .chip{font-size:11px;padding:7px 10px;}}

  /* ---------- generic section paddings ---------- */
  section{padding:88px 0;}
  section.on-ink{background:var(--ink);color:var(--text-on-ink);}
  section.on-paper{background:var(--paper);}
  section.on-paper-2{background:var(--paper-2);}
  .section-head{max-width:640px;margin-bottom:52px;}
  .section-head h2{margin-top:14px;}
  .section-head p{margin-top:16px;color:var(--text-muted);font-size:16px;}
  section.on-ink .section-head p{color:var(--text-on-ink-muted);}

  /* ---------- problem stats ---------- */
  .stat-banner{
    position:relative;display:flex;align-items:flex-end;gap:22px;
    padding:26px 30px;background:var(--ink);color:var(--text-on-ink);
    border-radius:var(--radius);margin-bottom:44px;
    margin-top:56px; /* room for the mascot poking above the banner */
  }
  /* the "thinking" mascot stands beside the stat, taller than the banner
     itself and peeking above its top edge for a friendlier, less flat feel */
  .stat-mascot{
    flex:none;width:104px;height:auto;
    margin-top:-56px;margin-bottom:-6px;
    filter:drop-shadow(0 16px 16px rgba(0,0,0,.35));
  }
  .stat-banner-text{display:flex;flex-direction:column;gap:10px;flex:1;min-width:0;}
  .stat-title{
    font-size:clamp(19px,2.2vw,25px);font-weight:900;
    letter-spacing:-.01em;line-height:1.3;
    color:var(--text-on-ink);max-width:520px;
  }
  .stat-row{display:flex;align-items:baseline;gap:18px;flex-wrap:wrap;}
  .stat-banner .big{font-size:44px;font-weight:900;color:var(--gold-light);}
  .stat-banner-text p{color:var(--text-on-ink-muted);max-width:560px;margin:0;}

  @media (max-width:640px){
    .stat-banner{flex-direction:column;align-items:center;text-align:center;padding-top:16px;margin-top:64px;}
    .stat-mascot{width:96px;margin-top:-64px;margin-bottom:4px;}
    .stat-banner-text{justify-content:center;align-items:center;}
    .stat-row{justify-content:center;}
  }

  .pain-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
  @media (max-width:980px){.pain-grid{grid-template-columns:repeat(2,1fr);}}
  @media (max-width:560px){.pain-grid{grid-template-columns:1fr;}}
  .pain-card{
    background:#fff;border:1px solid rgba(28,42,34,.08);border-radius:var(--radius);
    padding:24px 22px;
  }
  .pain-card .glyph{width:88px;height:88px;margin-bottom:16px;display:block;}
  .pain-card h3{font-size:16px;}
  .pain-card p{margin-top:10px;font-size:14.5px;color:var(--text-muted);}

  /* ---------- how it works ---------- */
  #how .section-head{margin-bottom:34px;}
  .flow{display:grid;grid-template-columns:1fr auto 1fr;gap:18px;align-items:stretch;}
  @media (max-width:820px){.flow{grid-template-columns:1fr;}}
  .flow-arrow{display:flex;align-items:center;justify-content:center;color:var(--gold-light);font-size:22px;font-weight:300;}
  @media (max-width:820px){.flow-arrow{transform:rotate(90deg);margin:-2px 0;}}
  .flow-card{
    background:rgba(239,233,216,.04);border:1px solid rgba(239,233,216,.12);
    border-radius:18px;padding:24px 26px;
  }
  .flow-card .step-no{
    display:inline-flex;align-items:center;justify-content:center;
    width:28px;height:28px;border-radius:50%;
    background:rgba(228,190,110,.14);color:var(--gold-light);
    font-weight:800;font-size:13px;margin-bottom:12px;
  }
  .flow-card h3{color:#fff;font-size:18px;}
  .flow-card ul{margin-top:12px;display:flex;flex-direction:column;gap:8px;}
  .flow-card li{display:flex;align-items:flex-start;gap:9px;font-size:14px;line-height:1.5;color:var(--text-on-ink-muted);}
  .flow-card li::before{content:"—";color:var(--gold-light);flex:none;}

  /* result: a compact horizontal highlight card instead of a stacked block,
     so it never grows past the viewport on the full-page-scroll layout */
  .flow-result{
    margin-top:20px;padding:20px 26px;
    display:flex;align-items:center;gap:16px;
    background:linear-gradient(135deg,rgba(228,190,110,.13),rgba(228,190,110,.03));
    border:1px solid rgba(228,190,110,.3);
    border-radius:16px;
  }
  .flow-result-icon{
    flex:none;display:flex;align-items:center;justify-content:center;
    width:42px;height:42px;border-radius:50%;
    background:rgba(228,190,110,.16);color:var(--gold-light);
    font-size:18px;font-weight:700;
    transform:rotate(-90deg); /* points inward from the flow above on RTL/LTR alike */
  }
  .flow-result-text{display:flex;flex-direction:column;gap:3px;min-width:0;}
  .flow-result-text strong{font-size:16.5px;color:#fff;font-weight:800;}
  .flow-result-text span{color:var(--text-on-ink-muted);font-size:13.5px;}
  @media (max-width:600px){
    .flow-result{flex-direction:column;text-align:center;padding:22px 20px;}
    .flow-result-icon{transform:rotate(0deg);}
  }

  /* ---------- journey section: faint floating orbs ---------- */
  /* a handful of soft, translucent circles drift slowly across the whole
     section, gently bouncing off each other and the section's own edges —
     kept slow and low-opacity on purpose so it reads as calm ambience,
     never as something distracting or "nervous" */
  #journey{position:relative;overflow:hidden;}
  #journey .wrap{position:relative;z-index:1;}
  .journey-orbs{
    position:absolute;inset:0;z-index:0;
    overflow:hidden;pointer-events:none;
  }
  .journey-orbs .orb{
    position:absolute;top:0;left:0;border-radius:50%;
    background:radial-gradient(circle at 32% 30%, rgba(76,140,104,.22), rgba(76,140,104,.04) 72%);
    will-change:transform;
  }
  .journey-orbs .orb.gold{
    background:radial-gradient(circle at 32% 30%, rgba(228,190,110,.24), rgba(228,190,110,.04) 72%);
  }
  @media (max-width:640px){
    .journey-orbs{opacity:.7;} /* a little quieter behind the stacked mobile cards */
  }

  /* ---------- journey timeline ---------- */
  .timeline{position:relative;padding:34px 0 6px;}
  .timeline-path{
    position:absolute;inset:0;width:100%;height:100%;
    z-index:0;pointer-events:none;
  }
  .timeline-track{
    display:grid;grid-template-columns:repeat(4,1fr);gap:24px;
    position:relative;z-index:1;
  }
  /* serpentine stagger — odd steps ride high, even steps sit low, so the
     row reads as a winding route rather than four flat boxes in a line */
  .tstep:nth-child(odd){transform:translateY(-22px);}
  .tstep:nth-child(even){transform:translateY(22px);}
  .tstep:hover{transform:translateY(-28px);}
  .tstep:nth-child(even):hover{transform:translateY(16px);}

  .tstep{
    position:relative;background:#fff;border:1px solid rgba(28,42,34,.08);
    border-radius:var(--radius);padding:26px 22px 24px;
  }
  .tstep .step-icon{
    width:104px;height:104px;object-fit:contain;
    display:block;margin:-14px auto 0;
    filter:drop-shadow(0 14px 18px rgba(21,42,32,.18));
    position:relative;z-index:2;
    transition:transform .35s ease;
  }
  .tstep:hover .step-icon{transform:translateY(-4px) scale(1.04);}
  .tstep h3{margin-top:14px;font-size:16.5px;text-align:center;}
  .tstep-body p{margin-top:8px;font-size:14px;line-height:1.65;color:var(--text-muted);}

  @media (max-width:900px){
    .timeline{padding:6px 0;}
    .timeline-path{display:none;}
    .timeline-track{grid-template-columns:1fr;gap:0;}
    .tstep,.tstep:nth-child(odd),.tstep:nth-child(even),
    .tstep:hover,.tstep:nth-child(even):hover{transform:none;}
    .tstep{display:flex;align-items:center;gap:16px;padding:18px 20px;margin-bottom:22px;}
    .tstep:last-child{margin-bottom:0;}
    .tstep .step-icon{flex:none;width:72px;height:72px;margin:0;}
    .tstep:hover .step-icon{transform:none;}
    .tstep .tstep-body{flex:1;min-width:0;padding-top:2px;}
    .tstep h3{margin-top:0;text-align:right;}
    /* mobile connector: a small round arrow badge bridging each pair of
       steps, instead of the desktop route */
    .tstep:not(:last-child)::after{
      content:"";position:absolute;left:auto;right:38px;bottom:-22px;
      width:26px;height:26px;border-radius:50%;z-index:2;
      background:var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5,0.6 L9,5 L5,9.4 Q6.6,5 5,0.6 Z' fill='%23C89B3C' transform='rotate(90 5 5)'/%3E%3C/svg%3E") center/12px no-repeat;
      border:1px solid rgba(200,155,60,.35);
    }
  }

  .tstep{transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease;}
  .tstep:hover{box-shadow:0 20px 40px -22px rgba(21,42,32,.28);border-color:rgba(200,155,60,.35);}
  @media (prefers-reduced-motion:reduce){.tstep{transition:none;}}

  /* ---------- advantages ---------- */
  .adv-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
  @media (max-width:900px){.adv-grid{grid-template-columns:1fr;}}
  .adv-card{
    border:1px solid rgba(239,233,216,.14);border-radius:18px;padding:30px;
    background:linear-gradient(160deg,rgba(239,233,216,.05),transparent);
  }
  .adv-card .glyph{width:84px;height:84px;object-fit:contain;display:block;margin-bottom:18px;filter:drop-shadow(0 10px 16px rgba(0,0,0,.35));}
  .adv-card h3{color:#fff;}
  .adv-card p{margin-top:10px;color:var(--text-on-ink-muted);font-size:14.5px;}

  /* ---------- audience ---------- */
  /* full-bleed photo band: breaks out of .wrap to touch both edges of the
     viewport, four equal-size photos flush against each other with no gap */
  .aud-photo-grid{
    display:grid;grid-template-columns:repeat(2,1fr);gap:0;width:100vw;
  }
  @media (min-width:901px){.aud-photo-grid{grid-template-columns:repeat(4,1fr);}}
  .aud-photo{position:relative;overflow:hidden;aspect-ratio:1;background:var(--ink);}
  @media (min-width:901px){.aud-photo{aspect-ratio:auto;height:70vh;min-height:280px;}}
  .aud-photo img{
    position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
    transition:transform .6s cubic-bezier(.2,.8,.2,1);
  }
  .aud-photo:hover img{transform:scale(1.06);}
  /* tinted wash in the site's ink/emerald tones, darker toward the bottom
     so the caption stays legible on any photo */
  .aud-photo-overlay{
    position:absolute;inset:0;
    background:linear-gradient(180deg,rgba(21,42,32,.12) 0%,rgba(21,42,32,.28) 55%,rgba(15,26,20,.72) 100%);
  }
  .aud-photo-caption{
    position:absolute;left:14px;right:14px;bottom:14px;z-index:1;
    padding:12px 16px;border-radius:14px;
    background:rgba(255,255,255,.12);
    -webkit-backdrop-filter:blur(14px) saturate(160%);
    backdrop-filter:blur(14px) saturate(160%);
    border:1px solid rgba(255,255,255,.22);
    box-shadow:0 10px 26px -12px rgba(0,0,0,.5);
  }
  .aud-photo-caption h3{
    color:#fff;font-size:14.5px;line-height:1.5;text-align:center;
    text-shadow:0 1px 4px rgba(0,0,0,.35);
  }

  /* ---------- webdesign promo banner (full-bleed, glass hover) ---------- */
  #webdesign-promo.fp-section{padding-top:0;padding-bottom:0;}
  #webdesign-promo .wrap{padding-top:40px;padding-bottom:28px;}
  #webdesign-promo .promo-head{margin-bottom:0;}
  .promo-banner{
    position:relative;display:block;width:100vw;overflow:hidden;
    text-decoration:none;line-height:0;
    box-shadow:0 0 0 rgba(0,0,0,0);
    transition:box-shadow .5s ease;
  }
  .promo-banner img{
    width:100%;height:auto;display:block;
    transition:transform .8s cubic-bezier(.2,.8,.2,1);
  }
  .promo-banner:hover img{transform:scale(1.035);}
  .promo-banner:hover{box-shadow:0 30px 70px -24px rgba(0,0,0,.55);}
  /* frosted-glass border glow that intensifies on hover */
  .promo-banner::before{
    content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
    border:1px solid rgba(255,255,255,.14);
    box-shadow:inset 0 0 0 rgba(255,255,255,0);
    transition:border-color .5s ease,box-shadow .5s ease;
  }
  .promo-banner:hover::before{
    border-color:rgba(255,255,255,.32);
    box-shadow:inset 0 0 70px rgba(255,255,255,.08);
  }
  /* diagonal glass shine sweep */
  .promo-banner::after{
    content:"";position:absolute;top:0;left:-45%;width:30%;height:100%;z-index:3;
    background:linear-gradient(115deg,transparent 0%,rgba(255,255,255,0) 35%,rgba(255,255,255,.32) 50%,rgba(255,255,255,0) 65%,transparent 100%);
    transform:skewX(-18deg);pointer-events:none;
    transition:left 1.1s cubic-bezier(.2,.8,.2,1);
  }
  .promo-banner:hover::after{left:130%;}
  /* distinctive CTA — teal/emerald gradient (ties to the screenshot's teal
     accents in the photo) with a gold pulse dot, so it reads as a special,
     deliberately different button from the site's usual solid-gold buttons.
     Sits in normal flow under the heading, not on top of the photo. */
  .promo-special-btn{
    margin-top:20px;cursor:pointer;
    display:inline-flex;align-items:center;gap:9px;
    padding:14px 28px;border-radius:999px;
    font-size:15px;font-weight:800;color:#fff;white-space:nowrap;
    text-decoration:none;
    background:linear-gradient(135deg,#18A398 0%,#0F7A70 55%,#0A5750 100%);
    border:1px solid rgba(255,255,255,.32);
    box-shadow:0 12px 28px -10px rgba(10,87,80,.7);
    transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s ease,background .35s ease;
  }
  .promo-special-btn:hover{
    transform:translateY(-3px) scale(1.03);
    background:linear-gradient(135deg,#20BDB0 0%,#128A7E 55%,#0C665D 100%);
    box-shadow:0 18px 38px -12px rgba(10,87,80,.8),0 0 0 5px rgba(228,190,110,.16);
  }
  .psb-dot{
    width:8px;height:8px;border-radius:50%;background:var(--gold-light);flex:none;
    animation:psbPulse 2.2s ease-out infinite;
  }
  @keyframes psbPulse{
    0%{box-shadow:0 0 0 0 rgba(228,190,110,.55);}
    70%{box-shadow:0 0 0 10px rgba(228,190,110,0);}
    100%{box-shadow:0 0 0 0 rgba(228,190,110,0);}
  }
  @media (max-width:640px){
    .promo-special-btn{font-size:13px;padding:11px 20px;gap:7px;margin-top:14px;}
    .psb-dot{width:6px;height:6px;}
  }
  /* frosted-glass bar that slides up from the bottom on hover */
  .promo-glass-bar{
    position:absolute;left:0;right:0;bottom:0;z-index:4;
    display:flex;align-items:center;justify-content:center;gap:10px;
    padding:18px 20px;line-height:1.4;
    color:#fff;font-size:15px;font-weight:700;
    background:rgba(255,255,255,.12);
    -webkit-backdrop-filter:blur(18px) saturate(180%);
    backdrop-filter:blur(18px) saturate(180%);
    border-top:1px solid rgba(255,255,255,.3);
    transform:translateY(100%);
    transition:transform .5s cubic-bezier(.2,.8,.2,1);
  }
  .promo-banner:hover .promo-glass-bar{transform:translateY(0);}
  .promo-glass-arrow{
    display:inline-block;transition:transform .4s ease;
  }
  .promo-banner:hover .promo-glass-arrow{transform:translateX(-6px);}
  @media (max-width:640px){
    .promo-glass-bar{font-size:13px;padding:14px 16px;transform:translateY(0);}
  }

  /* ---------- pricing teaser ---------- */
  .billing-toggle{
    display:inline-flex;gap:4px;padding:5px;border-radius:999px;
    background:rgba(28,42,34,.06);margin:0 auto 26px;
  }
  #pricing .wrap{text-align:center;}
  #pricing .section-head{margin-inline:auto;}
  .billing-tab{
    border:none;background:transparent;padding:9px 18px;border-radius:999px;
    font-size:13px;font-weight:700;color:var(--text-muted);cursor:pointer;
    transition:background .25s ease,color .25s ease;
  }
  .billing-tab.active{background:#fff;color:var(--text-ink);box-shadow:0 6px 14px -8px rgba(21,42,32,.3);}
  .price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;text-align:right;}
  @media (max-width:900px){.price-grid{grid-template-columns:repeat(2,1fr);}}
  @media (max-width:620px){.price-grid{grid-template-columns:1fr;}}
  .price-card{
    background:linear-gradient(165deg,#ffffff 0%,#FAF6E9 100%);
    border:1px solid rgba(28,42,34,.08);border-radius:20px;
    padding:34px;display:flex;flex-direction:column;gap:18px;
  }
  .price-card.featured{
    background:linear-gradient(160deg,#FFFCF2 0%,#FBEED0 100%);
    border-color:var(--gold);
    border-width:1.5px;
    box-shadow:0 20px 40px -20px rgba(200,155,60,.4);
    position:relative;
  }
  .price-card.featured::after{
    content:"پیشنهادی";position:absolute;top:-13px;right:28px;
    background:var(--gold);color:#1C1404;font-size:12px;font-weight:800;
    padding:5px 12px;border-radius:999px;
  }
  .price-card.enterprise{
    background:linear-gradient(160deg,rgba(47,107,79,.09) 0%,rgba(21,42,32,.05) 55%,rgba(21,42,32,.02) 100%);
    border-color:rgba(47,107,79,.28);
  }
  .price-card .trial-badge{
    align-self:flex-start;font-size:12px;font-weight:800;color:var(--emerald);
    background:rgba(47,107,79,.1);padding:5px 12px;border-radius:999px;
  }
  .price-card.featured .trial-badge{color:#8a6a12;background:rgba(200,155,60,.16);}
  .price-card.enterprise .trial-badge{color:var(--text-muted);background:rgba(28,42,34,.06);}
  .price-card .billing-note{font-size:13px;font-weight:700;color:var(--emerald);margin-top:-8px;}
  .price-card.featured .billing-note{color:#8a6a12;}
  .price-grid[data-billing="yearly"] .billing-unlimited{display:none;}
  .price-grid[data-billing="unlimited"] .billing-yearly{display:none;}
  .price-card h3{font-size:20px;}
  .price-card .desc{font-size:14px;color:var(--text-muted);}
  .price-card ul{display:flex;flex-direction:column;gap:10px;margin-top:4px;}
  .price-card li{font-size:14.5px;display:flex;align-items:center;gap:9px;}
  .price-card li::before{content:"✓";color:var(--emerald);font-weight:900;}
  .price-card .btn{margin-top:8px;align-self:flex-start;}

  /* ---------- video / tutorial (per-chapter) ---------- */
  #tutorial .section-head{text-align:center;margin-left:auto;margin-right:auto;}
  .video-chapters{
    display:grid;grid-template-columns:repeat(3,1fr);gap:16px;
    max-width:980px;margin:32px auto 0;
  }
  .video-chapter{
    display:flex;align-items:center;gap:14px;text-align:right;
    padding:16px;border-radius:16px;border:1px solid rgba(21,42,32,.1);
    background:#fff;cursor:pointer;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
  }
  .video-chapter:hover{
    transform:translateY(-3px);
    box-shadow:0 16px 32px -14px rgba(21,42,32,.25);
    border-color:rgba(47,107,79,.3);
  }
  .vc-thumb{
    position:relative;flex:none;width:56px;height:56px;border-radius:12px;
    display:flex;align-items:center;justify-content:center;
    background:linear-gradient(135deg,var(--ink) 0%,var(--emerald) 130%);
  }
  .vc-thumb .glyph{width:26px;height:26px;object-fit:contain;filter:brightness(0) invert(1);opacity:.85;}
  .vc-thumb .play-icon{
    position:absolute;inset:0;margin:auto;width:22px;height:auto;
    filter:drop-shadow(0 4px 8px rgba(0,0,0,.4));
  }
  .vc-body{display:flex;flex-direction:column;gap:3px;min-width:0;}
  .vc-no{font-size:11.5px;font-weight:700;color:var(--gold);}
  .vc-title{font-size:14.5px;font-weight:700;color:var(--ink);line-height:1.4;}
  .video-modal{
    position:fixed;inset:0;z-index:300;display:none;
    align-items:center;justify-content:center;padding:24px;
  }
  .video-modal.active{display:flex;}
  .video-modal-backdrop{position:absolute;inset:0;background:rgba(10,18,14,.85);backdrop-filter:blur(3px);}
  .video-modal-box{
    position:relative;width:100%;max-width:900px;background:#000;
    border-radius:16px;overflow:hidden;box-shadow:0 30px 80px -20px rgba(0,0,0,.6);
  }
  .video-modal-box video{width:100%;display:block;aspect-ratio:16/9;background:#000;}
  .video-modal-title{
    position:absolute;top:0;right:0;left:0;z-index:1;padding:14px 56px 14px 16px;
    color:var(--text-on-ink);font-size:14px;font-weight:700;
    background:linear-gradient(to bottom,rgba(0,0,0,.65),transparent);
  }
  .video-modal-close{
    position:absolute;top:12px;right:12px;z-index:2;width:36px;height:36px;
    border-radius:50%;border:none;background:rgba(239,233,216,.92);color:var(--ink);
    font-size:15px;cursor:pointer;display:flex;align-items:center;justify-content:center;
  }
  @media (max-width:860px){
    .video-chapters{grid-template-columns:repeat(2,1fr);}
  }
  @media (max-width:560px){
    .video-chapters{grid-template-columns:1fr;}
  }

  /* ---------- contact ---------- */
  .contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
  @media (max-width:900px){.contact-grid{grid-template-columns:1fr;}}
  .contact-card{
    display:flex;flex-direction:column;align-items:flex-start;
    border:1px solid rgba(239,233,216,.14);border-radius:18px;padding:28px 26px;
    background:linear-gradient(160deg,rgba(239,233,216,.05),transparent);
    transition:transform .35s cubic-bezier(.2,.8,.2,1),border-color .35s ease,background .35s ease;
  }
  .contact-card:hover{transform:translateY(-7px);border-color:rgba(228,190,110,.5);background:linear-gradient(160deg,rgba(239,233,216,.1),transparent);}
  .contact-card .icon-box{
    width:52px;height:52px;border-radius:14px;margin-bottom:14px;
    display:flex;align-items:center;justify-content:center;flex:none;
    background:linear-gradient(160deg,rgba(228,190,110,.16),rgba(76,140,104,.1));
    color:var(--gold-light);
  }
  .contact-card .glyph-svg{width:23px;height:23px;}
  .contact-card h3{color:#fff;}
  .contact-card p{margin-top:6px;color:var(--text-on-ink-muted);font-size:14px;}
  .contact-card .contact-value{
    margin-top:12px;font-size:14.5px;font-weight:700;color:var(--gold-light);
    direction:ltr;unicode-bidi:isolate;
  }
  .contact-card:hover .contact-value{text-decoration:underline;}
  /* the contact section itself: a warmer emerald-tinted dark, deliberately
     different from the footer's flat ink so the two stay visually distinct
     even though they sit back-to-back */
  #contact.contact-section{
    background:linear-gradient(165deg,var(--ink-2) 0%,var(--emerald) 100%);
  }
  /* reuse .flow-result's card language for the hours strip, minus the
     rotated down-arrow styling that's specific to the "how it works" flow */
  .contact-hours .flow-result-icon{transform:none;font-size:17px;}

  /* ---------- faq ---------- */
  .faq-list{display:flex;flex-direction:column;gap:12px;}
  .faq-item{
    border:1px solid rgba(239,233,216,.14);border-radius:16px;
    background:rgba(239,233,216,.04);overflow:hidden;
    transition:border-color .3s ease,background .3s ease;
  }
  .faq-item.open,.faq-item:hover{border-color:rgba(228,190,110,.4);background:rgba(239,233,216,.07);}
  .faq-q{
    width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;
    background:none;border:none;padding:18px 22px;cursor:pointer;text-align:right;
    font-family:inherit;font-size:15px;font-weight:700;color:#fff;
  }
  .faq-icon{
    flex:none;width:26px;height:26px;border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    background:rgba(228,190,110,.14);color:var(--gold-light);
    font-size:16px;font-weight:700;transition:transform .3s ease;
  }
  .faq-item.open .faq-icon{transform:rotate(45deg);}
  .faq-a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .35s ease;}
  .faq-item.open .faq-a{grid-template-rows:1fr;}
  .faq-a-inner{overflow:hidden;}
  .faq-a-inner p{padding:0 22px 18px;color:var(--text-on-ink-muted);font-size:14px;line-height:1.8;}

  /* ---------- about: 3d model ---------- */
  .about-3d{
    position:relative;width:20%;height:340px;border-radius:22px;overflow:hidden;
    grid-column:1/-1;margin-bottom:8px;
    background:linear-gradient(180deg,rgba(200,155,60,.10),rgba(47,107,79,.06));
    border:1px solid rgba(28,42,34,.08);
  }
  .about-3d-model{width:100%;height:100%;--poster-color:transparent;opacity:0;transition:opacity .5s ease;}
  .about-3d.is-loaded .about-3d-model{opacity:1;}
  .about-3d.is-loaded .about-3d-skeleton{opacity:0;pointer-events:none;}
  .about-3d.is-failed .about-3d-skeleton{display:none;}
  .about-3d-skeleton{
    position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:center;gap:14px;
    padding-bottom:56px;transition:opacity .4s ease;
  }
  .about-3d-skeleton-bar{
    width:34px;border-radius:10px 10px 0 0;
    background:linear-gradient(180deg,rgba(200,155,60,.35),rgba(200,155,60,.15));
    animation:aboutSkeletonPulse 1.4s ease-in-out infinite;
  }
  .about-3d-skeleton-bar.b1{height:60px;animation-delay:0s;}
  .about-3d-skeleton-bar.b2{height:96px;animation-delay:.15s;}
  .about-3d-skeleton-bar.b3{height:140px;animation-delay:.3s;}
  @keyframes aboutSkeletonPulse{
    0%,100%{opacity:.45;transform:scaleY(.92);}
    50%{opacity:1;transform:scaleY(1);}
  }
  @media (max-width:900px){.about-3d{height:260px;border-radius:18px;width: 100%;}}

  /* ---------- about ---------- */
  .about-wrap{display:grid;grid-template-columns:1.15fr .85fr;gap:52px;align-items:center;}
  @media (max-width:900px){.about-wrap{grid-template-columns:1fr;gap:28px;}}
  .about-text p{margin-top:14px;color:var(--text-muted);font-size:15px;line-height:1.9;}
  .about-text{max-width:560px;}
  .about-text h2{margin-top:14px;}
  .about-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;}
  .about-tag{
    font-size:12.5px;font-weight:700;color:var(--emerald);
    background:rgba(47,107,79,.09);padding:7px 14px;border-radius:999px;
  }
  .about-quote{
    position:relative;background:#fff;border:1px solid rgba(28,42,34,.08);
    border-radius:20px;padding:38px 32px 30px;box-shadow:0 20px 50px -28px rgba(21,42,32,.3);
  }
  .about-quote-mark{
    position:absolute;top:6px;right:26px;font-size:64px;line-height:1;
    color:var(--gold);opacity:.35;font-family:Georgia,serif;
  }
  .about-quote p{position:relative;font-size:18px;font-weight:800;line-height:1.7;color:var(--text-ink);}
  .about-quote-sign{display:block;margin-top:18px;font-size:13px;font-weight:700;color:var(--text-muted);}

  /* ---------- final cta ---------- */
  .final-cta{
    position:relative;overflow:hidden;
    background:linear-gradient(155deg,var(--gold-light),var(--gold) 70%);
    color:#1C1404;text-align:center;padding:80px 0;
  }
  /* particles layer: dark ink-toned dots/lines read clearly against the
     gold gradient (opposite of the light-on-dark hero treatment) */
  .final-particles{position:absolute;inset:0;z-index:1;pointer-events:auto;}
  .final-particles canvas{display:block;}
  .final-cta .wrap{position:relative;z-index:2;}
  .final-cta h2{font-size:clamp(26px,3.6vw,40px);}
  .final-cta p{margin-top:16px;font-size:16px;max-width:560px;margin-inline:auto;opacity:.85;}
  .final-cta .cta-row{margin-top:32px;display:flex;justify-content:center;gap:14px;flex-wrap:wrap;}
  .final-cta .btn-primary{background:#1C2A22;color:#F3EEDE;box-shadow:none;}
  .final-cta .btn-primary:hover{background:#26382C;}
  .final-cta .btn-ghost-ink{border-color:rgba(28,20,4,.35);}

  /* ---------- footer ---------- */
  footer{background:var(--ink);color:var(--text-on-ink-muted);padding:56px 0 26px;}
  .footer-top{display:flex;justify-content:space-between;gap:40px;flex-wrap:wrap;padding-bottom:40px;border-bottom:1px solid rgba(239,233,216,.1);}
  .footer-col h4{color:var(--text-on-ink);font-size:14px;margin-bottom:16px;}
  .footer-col ul{display:flex;flex-direction:column;gap:10px;font-size:14px;}
  .footer-col ul a:hover{color:var(--text-on-ink);}
  .footer-brand p{margin-top:14px;font-size:14px;max-width:280px;}
  .footer-bale{
    display:flex;align-items:center;gap:18px;flex-wrap:wrap;
    margin-top:34px;padding:22px 26px;border-radius:18px;
    background:linear-gradient(120deg,rgba(228,190,110,.16),rgba(47,107,79,.14));
    border:1px solid rgba(228,190,110,.3);
  }
  .footer-bale .icon-box{
    width:52px;height:52px;border-radius:14px;flex:none;
    display:flex;align-items:center;justify-content:center;
    background:linear-gradient(160deg,rgba(228,190,110,.24),rgba(76,140,104,.18));
    color:var(--gold-light);
  }
  .footer-bale .icon-box .glyph-svg{width:24px;height:24px;}
  .footer-bale-text{flex:1;min-width:220px;}
  .footer-bale-text strong{display:block;color:#fff;font-size:15px;}
  .footer-bale-text span{display:block;margin-top:5px;color:var(--text-on-ink-muted);font-size:13.5px;line-height:1.7;}
  .footer-bale .btn{flex:none;}
  @media (max-width:600px){.footer-bale{padding:20px;}}
  .footer-bottom{padding-top:24px;display:flex;justify-content:space-between;font-size:12.5px;flex-wrap:wrap;gap:10px;}

  /* content is visible by default (no JS dependency); IntersectionObserver just adds a subtle lift */
  .reveal{transform:translateY(10px);transition:transform .6s ease;}
  .reveal.in{transform:none;}

  /* ---------- modern entrance animations: title / text / buttons ---------- */
  /* Section titles slide in from the right, their supporting paragraph
     slides in from the left, and button groups pop in one after another
     with a soft bounce — .in is added by the shared IntersectionObserver
     in main.js once the element scrolls into view. Kept smooth (no jitter)
     via an ease-out curve on the slides and a gentle overshoot on the pops. */
  .anim-right,.anim-left{
    opacity:0;
    transition:opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1);
  }
  .anim-right{transform:translateX(56px);}
  .anim-left{transform:translateX(-56px);}
  .anim-right.in,.anim-left.in{opacity:1;transform:none;}

  .anim-stagger > *{
    opacity:0;
    transform:translateY(20px) scale(.92);
    transition:opacity .55s cubic-bezier(.34,1.56,.64,1), transform .55s cubic-bezier(.34,1.56,.64,1);
  }
  .anim-stagger.in > *{opacity:1;transform:none;}
  .anim-stagger.in > *:nth-child(1){transition-delay:.06s;}
  .anim-stagger.in > *:nth-child(2){transition-delay:.2s;}
  .anim-stagger.in > *:nth-child(3){transition-delay:.34s;}
  .anim-stagger.in > *:nth-child(4){transition-delay:.48s;}

  /* ---------- video thumbnail entrance: zoom in (distinct from the plain
     lift used by .reveal elsewhere) ---------- */
  .video-zoom{
    opacity:0;transform:scale(.86);
    transition:opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
  }
  .video-zoom.in{opacity:1;transform:scale(1);}

  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    .reveal{transform:none;transition:none;}
    .anim-right,.anim-left,.anim-stagger > *{opacity:1;transform:none;transition:none;}
    .video-zoom{opacity:1;transform:none;transition:none;}
    .ledger-widget .chip{animation:none;}
  }

  /* ================= FULLPAGE / MODERN ENHANCEMENTS ================= */

  /* custom gold scrollbar — desktop only. On some mobile browsers/webviews this
     custom styling doesn't render flush to the true edge and leaves a gap that
     can sit on top of content (e.g. the mobile menu), so mobile just keeps the
     browser's own default scrollbar instead. */
  @media (min-width:901px){
    ::-webkit-scrollbar{width:9px;}
    ::-webkit-scrollbar-track{background:transparent;}
    ::-webkit-scrollbar-thumb{background:rgba(200,155,60,.45);border-radius:8px;}
    ::-webkit-scrollbar-thumb:hover{background:rgba(200,155,60,.75);}
  }

  .progress-bar{
    position:fixed;top:0;left:0;height:3px;width:0%;z-index:80;
    background:linear-gradient(90deg,var(--emerald),var(--gold),var(--gold-light));
    transition:width .12s linear;
  }

  /* ---------- back to top ---------- */
  .back-to-top{
    position:fixed;right:20px;bottom:20px;z-index:75;
    width:48px;height:48px;border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    filter:drop-shadow(0 12px 22px rgba(21,42,32,.4));
    opacity:0;visibility:hidden;transform:translateY(10px);
    transition:opacity .25s ease,transform .25s ease,visibility .25s;
  }
  .back-to-top.show{opacity:1;visibility:visible;transform:none;}
  .back-to-top:hover{transform:translateY(-3px);}
  .back-to-top img{width:100%;height:auto;display:block;}
  @media (max-width:600px){.back-to-top{right:14px;bottom:14px;width:42px;height:42px;}}

  /* side dot navigation — signature element, sits on the trailing (right) edge for RTL.
     Pinned close to the true viewport edge (rather than floating with a big gap) so the
     active-section label popping out to its left has the best chance of staying clear
     of the content column instead of landing on top of the paragraph text. */
  .side-dots{
    position:fixed;right:10px;top:50%;transform:translateY(-50%);
    z-index:70;display:none;flex-direction:column;align-items:center;gap:0;
  }
  .side-dots::before{
    content:"";position:absolute;top:2px;bottom:2px;right:calc(50% - .5px);width:1px;
    background:linear-gradient(to bottom,transparent,rgba(21,42,32,.16) 12%,rgba(21,42,32,.16) 88%,transparent);
    z-index:-1;
  }
  .side-dots .dot-item{
    position:relative;display:flex;align-items:center;justify-content:center;
    width:26px;height:26px;padding:0;cursor:pointer;background:none;border:none;font-family:inherit;
  }
  .side-dots .tick{
    width:6px;height:6px;border-radius:50%;flex:none;
    background:var(--paper);border:1.5px solid rgba(21,42,32,.32);
    transition:all .35s cubic-bezier(.2,.7,.3,1);
  }
  .side-dots .dot-item:hover .tick{border-color:var(--gold);transform:scale(1.15);}
  .side-dots .dot-item.active .tick{
    width:8px;height:8px;background:var(--gold);border-color:var(--gold);
    box-shadow:0 0 0 4px rgba(200,155,60,.22);
  }
  .side-dots .dot-label{
    position:absolute;right:calc(100% + 14px);top:50%;transform:translateY(-50%) translateX(8px);
    font-size:11px;font-weight:700;white-space:nowrap;color:var(--text-ink);
    opacity:0;transition:all .3s cubic-bezier(.2,.7,.3,1);
    background:rgba(255,255,255,.96);padding:6px 13px;border-radius:8px;
    box-shadow:0 8px 20px -10px rgba(21,42,32,.35);pointer-events:none;
  }
  .side-dots .dot-item:hover .dot-label,
  .side-dots .dot-item.active .dot-label{opacity:1;transform:translateY(-50%) translateX(0);}
  .side-dots .dot-item.active .dot-label{font-weight:800;}

  body[data-theme="dark"] .side-dots::before{background:linear-gradient(to bottom,transparent,rgba(239,233,216,.2) 12%,rgba(239,233,216,.2) 88%,transparent);}
  body[data-theme="dark"] .side-dots .tick{background:transparent;border-color:rgba(239,233,216,.38);}
  body[data-theme="dark"] .side-dots .dot-item:hover .tick{border-color:var(--gold-light);}
  body[data-theme="dark"] .side-dots .dot-item.active .tick{background:var(--gold-light);border-color:var(--gold-light);box-shadow:0 0 0 4px rgba(228,190,110,.22);}
  body[data-theme="dark"] .side-dots .dot-label{color:var(--text-on-ink);background:rgba(21,42,32,.94);box-shadow:0 8px 20px -10px rgba(0,0,0,.55);}

  /* section counter — ledger page index */
  .section-counter{
    position:fixed;top:92px;left:24px;z-index:70;display:none;
    align-items:center;gap:9px;font-size:12px;font-weight:700;
    padding:9px 15px;border-radius:999px;backdrop-filter:blur(8px);
    background:rgba(255,255,255,.78);color:var(--text-ink);
    box-shadow:0 8px 22px -12px rgba(21,42,32,.3);
    transition:background .3s ease,color .3s ease;
  }
  .section-counter .idx{color:var(--gold);font-weight:900;}
  .section-counter .sep{opacity:.4;font-weight:500;}
  body[data-theme="dark"] .section-counter{background:rgba(21,42,32,.78);color:var(--text-on-ink);}
  body[data-theme="dark"] .section-counter .idx{color:var(--gold-light);}

  @media (min-width:901px) and (min-height:640px){
    /* main.js drives the actual full-page scroll animation here (wheel/keyboard/touch,
       eased, one section per tick) — we only lay out the inside of each section */
    .fp-section{
      min-height:calc(100vh - 76px);
      display:flex;align-items:center;
      padding-top:40px;
    }
    .fp-section.fp-auto-height{min-height:auto;}
    .fp-section > .wrap{width:100%;}
    .progress-bar{display:block;}
    /* headings eat a lot of vertical room at 100vh; every fullpage section gets a
       smaller, single-viewport-friendly heading instead of the full clamp() size
       used everywhere else (e.g. the hero) */
    .fp-section .section-head{margin-bottom:36px;}
    .fp-section .section-head h2{font-size:clamp(22px,2.4vw,30px);margin-top:10px;}
    .fp-section .section-head p{margin-top:10px;font-size:15px;}
    /* "how it works" has more content than the other sections (two step-cards
       plus the result strip) — give it tighter breathing room so it always
       fits in one viewport instead of spilling past the fold */
    #how.fp-section{padding:26px 0;}
    /* these three sections grew extra content (video CTA, three pricing cards,
       four contact cards) — same tightening treatment as #how so nothing gets
       clipped or skipped past by the one-tick-per-section scroll */
    #tutorial.fp-section,#pricing.fp-section,#contact.fp-section{padding-top:20px;}
    #audience.fp-section{padding-top:20px;flex-direction:column;padding-bottom: 0;}
    #audience.fp-section .aud-photo-grid{margin-top:auto;}
    #audience .section-head{margin-bottom:20px;}
    #tutorial .section-head,#pricing .section-head,#contact .section-head{margin-bottom:20px;}
    #pricing .price-card{padding:18px 20px;gap:8px;}
    #pricing .price-card .trial-badge{font-size:11px;padding:4px 10px;}
    #pricing .price-card h3{font-size:17px;}
    #pricing .price-card .desc{font-size:12.5px;}
    #pricing .price-card .billing-note{font-size:12px;margin-top:-4px;}
    #pricing .price-card ul{gap:5px;margin-top:0;}
    #pricing .price-card li{font-size:13px;}
    #pricing .price-card .btn{margin-top:2px;padding-top:9px;padding-bottom:9px;}
    #pricing .billing-toggle{margin-bottom:14px;}
    #contact .contact-card{padding:20px 20px;}
    #contact .contact-card .icon-box{margin-bottom:8px;}
    #faq.fp-section{padding-top:20px;}
    #faq .section-head{margin-bottom:20px;}
    #faq .faq-list{gap:8px;}
    #faq .faq-q{padding:14px 20px;font-size:14px;}
    #faq .faq-a-inner p{padding:0 20px 14px;font-size:13px;}
    #contact .flow-result.contact-hours{margin-top:14px;padding:14px 22px;}
    #about.fp-section{padding-top:20px;}
    /* the 3d model sits inside a hard one-viewport-per-scroll-tick section (see
       moveToIndex in main.js) — anything that pushes #about's content taller than
       the viewport becomes unreachable by wheel/keyboard, since one tick jumps
       straight to the next section. Keep the model compact here on purpose. */
    #about .about-3d{height:180px;margin-bottom:0;}
    #about .about-wrap{gap:24px;}
    #about .about-text h2{font-size:clamp(22px,2.4vw,30px);}
    #about .about-quote{padding:28px 26px 24px;}
    #about .about-text p{margin-top:10px;font-size:14px;}
  }
  /* side dots + section counter need real breathing room beside the 1180px content column,
     so they only appear once the viewport is wide enough not to sit on top of text
     (laptops/tablets around 900–1300px keep the fullpage scroll but lose these two) */
  @media (min-width:1300px) and (min-height:640px){
    .side-dots{display:flex;}
    .section-counter{display:flex;}
    /* reserve real clearance on the trailing edge so the fixed side-dots rail
       (tick + its popped-out active label, ~10px edge gap + 26px tick + 14px
       gap + up to ~150px of label text) never overlaps the paragraph text of
       the content column beside it */
    #fullpage .wrap{padding-right:50px;}
  }
  @media (max-width:900px), (max-height:639px){
    .side-dots,.section-counter{display:none !important;}
    /* below the desktop breakpoint, sections just flow naturally at their own height */
    .fp-section{height:auto;}
  }

  /* card hover polish */
  .pain-card,.adv-card,.aud-card,.price-card,.flow-card{
    transition:transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s ease,border-color .4s ease,background .4s ease;
  }
  .pain-card:hover,.aud-card:hover{transform:translateY(-7px);box-shadow:0 20px 44px -22px rgba(21,42,32,.28);border-color:rgba(200,155,60,.4);}
  .adv-card:hover,.flow-card:hover{transform:translateY(-7px);border-color:rgba(228,190,110,.5);background:linear-gradient(160deg,rgba(239,233,216,.1),transparent);}
  .price-card:hover{transform:translateY(-7px);box-shadow:0 24px 52px -24px rgba(21,42,32,.3);}
  .price-card.featured:hover{box-shadow:0 28px 58px -22px rgba(200,155,60,.55);}
  .price-card.enterprise:hover{box-shadow:0 26px 54px -24px rgba(47,107,79,.4);}
  .video-thumb{transition:transform .4s cubic-bezier(.2,.8,.2,1);}
  .video-thumb:hover{transform:translateY(-4px);}

  /* icon tile modernization — kept for any glyphs still using flat/mono icons */
  .icon-tile{
    padding:13px;box-sizing:border-box;border-radius:15px;
    background:linear-gradient(160deg,rgba(200,155,60,.15),rgba(47,107,79,.09));
  }

  /* full-color 3D glyphs for the audience cards sit inside .icon-box now — no extra shadow override needed */

  /* full-color 3D glyphs for the "why sudyar" pain cards — no tinted tile, own drop shadow already baked in */
  .pain-card .glyph{
    width:88px;height:88px;padding:0;background:none;border-radius:0;
    object-fit:contain;filter:drop-shadow(0 10px 16px rgba(21,42,32,.16));
  }

  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    .pain-card,.adv-card,.aud-card,.price-card,.flow-card,.tstep{transition:none;}
  }

  /* ---------- SweetAlert2 brand theming (shared, sitewide) ----------
     Every success/warning/error/info/confirm message anywhere on the site —
     the marketing pages and the login/register flows — goes through the
     SiteAlert wrapper (js/site-alerts.js) so they all share this exact
     look instead of ad-hoc banners per page. The library itself is
     self-hosted at assets/vendor/sweetalert2/ (no CDN). */
  /* no dimmed backdrop behind alerts — the popup's own shadow provides
     enough separation from the page */
  .swal2-container{background:rgba(0,0,0,0) !important;}
  .site-swal-popup{
    font-family:'Vazirmatn', Tahoma, sans-serif !important;
    direction:rtl; text-align:right;
    width:auto !important;max-width:420px !important;
    border-radius:22px !important;
    padding:8px 30px 30px !important;
    box-shadow:0 34px 80px -28px rgba(15,26,20,.55), 0 2px 0 rgba(255,255,255,.4) inset !important;
  }
  .site-swal-popup.swal2-toast{
    max-width:360px !important;border-radius:14px !important;
    padding:12px 16px !important;
    box-shadow:0 16px 40px -16px rgba(15,26,20,.4) !important;
  }
  .swal2-icon{margin:18px auto 12px !important;transform:scale(.88);}
  .swal2-toast .swal2-icon{margin:0 10px 0 0 !important;transform:scale(.62);}
  .site-swal-title{
    font-weight:900 !important;color:var(--text-ink) !important;font-size:20px !important;
    letter-spacing:-.01em !important;padding:0 !important;margin-top:2px !important;
  }
  .swal2-toast .site-swal-title{font-size:14px !important;font-weight:700 !important;}
  .site-swal-text{
    color:var(--text-muted) !important;font-size:14.5px !important;line-height:1.85 !important;
    margin-top:6px !important;
  }
  .swal2-actions{gap:10px !important;margin-top:24px !important;}
  .site-swal-confirm{
    border-radius:999px !important;font-weight:700 !important;font-size:14.5px !important;
    padding:11px 28px !important;
    background:linear-gradient(155deg,var(--gold-light),var(--gold) 60%,#8f6c22) !important;
    color:#1C1404 !important;box-shadow:0 10px 24px -10px rgba(200,155,60,.6) !important;
    transition:transform .15s ease,box-shadow .15s ease,background .15s ease !important;
  }
  .site-swal-confirm:hover{background:var(--gold-light) !important;transform:translateY(-1px);}
  .site-swal-cancel{
    border-radius:999px !important;font-weight:700 !important;font-size:14.5px !important;
    padding:11px 24px !important;background:rgba(28,42,34,.06) !important;color:var(--text-ink) !important;
    border:1.5px solid rgba(28,42,34,.14) !important;box-shadow:none !important;
    transition:border-color .15s ease,background .15s ease !important;
  }
  .site-swal-cancel:hover{border-color:rgba(28,42,34,.32) !important;background:rgba(28,42,34,.1) !important;}
  .swal2-styled:focus-visible{box-shadow:0 0 0 3px rgba(200,155,60,.4) !important;}

  /* icon accents matched to brand colors, with a soft tinted halo behind
     each icon instead of swal2's plain outline */
  .swal2-icon.swal2-success{border-color:var(--emerald) !important;background:rgba(47,107,79,.07);}
  .swal2-icon.swal2-success .swal2-success-ring{border-color:rgba(47,107,79,.28) !important;}
  .swal2-icon.swal2-success [class^="swal2-success-line"]{background-color:var(--emerald) !important;}
  .swal2-icon.swal2-error{border-color:var(--expense) !important;background:rgba(177,80,59,.07);}
  .swal2-icon.swal2-error [class^="swal2-x-mark-line"]{background-color:var(--expense) !important;}
  .swal2-icon.swal2-warning{color:var(--gold) !important;border-color:var(--gold) !important;background:rgba(200,155,60,.09);}
  .swal2-icon.swal2-info{color:var(--emerald) !important;border-color:var(--emerald) !important;background:rgba(47,107,79,.07);}
  .swal2-icon.swal2-question{color:var(--gold) !important;border-color:var(--gold) !important;background:rgba(200,155,60,.09);}

  .swal2-timer-progress-bar{background:var(--gold) !important;height:3px !important;}
  .swal2-popup .swal2-html-container{margin-top:4px !important;padding:0 !important;}

  /* calmer, non-bouncy entrance/exit */
  .swal2-popup.swal2-show{animation:sudyarSwalIn .28s cubic-bezier(.16,1,.3,1) !important;}
  .swal2-popup.swal2-hide{animation:sudyarSwalOut .16s ease !important;}
  @keyframes sudyarSwalIn{from{opacity:0;transform:scale(.93) translateY(6px);}to{opacity:1;transform:none;}}
  @keyframes sudyarSwalOut{from{opacity:1;transform:none;}to{opacity:0;transform:scale(.96);}}
  .swal2-toast.swal2-show{animation:sudyarToastIn .35s cubic-bezier(.16,1,.3,1) !important;}
  @keyframes sudyarToastIn{from{opacity:0;transform:translateY(-14px);}to{opacity:1;transform:none;}}

  /* keep toasts clear of the fixed marketing-site header (auth pages have
     no fixed header, so they don't need the extra clearance) */
  .swal2-container.swal2-top{padding-top:92px;}
  .auth-body .swal2-container.swal2-top{padding-top:22px;}
