/* ===================================================
   Persian Cyber – Custom Stylesheet
   =================================================== */

/* IRANSans font is loaded via assets/css/iransans.css (offline) */

/* ---- CSS Custom Properties ---- */
:root {
  --navy-primary: #061B33;
  --navy-secondary: #0B2948;
  --navy-mid: #0D3558;
  --accent: #FFC928;
  --accent-dark: #e6b400;
  --white: #FFFFFF;
  --light-bg: #F4F8FC;
  --body-text: #17324F;
  --muted: #647B96;
  --border: #D6E4F0;

  --font-fa: 'IRANSans', Tahoma, 'Segoe UI', Geneva, Verdana, sans-serif;
  --font-latin: 'Segoe UI', Tahoma, Roboto, Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-card: 0 4px 24px rgba(6,27,51,.08);
  --shadow-card-hover: 0 12px 40px rgba(6,27,51,.14);
  --shadow-btn: 0 4px 16px rgba(255,201,40,.35);

  --transition: .22s cubic-bezier(.4,0,.2,1);
}

/* ---- Reset / Base ---- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-fa);
  font-size: 15px;
  line-height: 1.75;
  color: var(--body-text);
  background: var(--white);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color var(--transition); }

/* ---- Typography helpers ---- */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.section-title {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--navy-primary);
  line-height: 1.35;
}

.section-title .highlight { color: var(--accent); }

.section-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 560px;
}

/* ---- Buttons ---- */
.btn-accent {
  background: var(--accent);
  color: var(--navy-primary);
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: var(--radius-sm);
  padding: .65rem 1.6rem;
  box-shadow: var(--shadow-btn);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,201,40,.45);
  color: var(--navy-primary);
}

.btn-outline-light-custom {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: var(--radius-sm);
  padding: .65rem 1.6rem;
  transition: border-color var(--transition), background var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.btn-outline-light-custom:hover {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.07);
  color: var(--white);
}

/* ==================================================
   NAVBAR
   ================================================== */

/* Skip link (a11y) */
.skip-link {
  position: fixed;
  top: .75rem;
  right: .75rem;
  z-index: 2000;
  padding: .6rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--navy-primary);
  font-weight: 700;
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform var(--transition);
}
.skip-link:focus { transform: translateY(0); color: var(--navy-primary); }
#main-content { outline: none; }

#mainNav {
  --nav-h: 80px;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1030;
  min-height: var(--nav-h);
  padding: 0;
  background: transparent;
  transition: min-height var(--transition), box-shadow var(--transition), transform .35s cubic-bezier(.4,0,.2,1);
}
/* پس‌زمینه شیشه‌ای روی ::before تا offcanvas (position:fixed) داخل nav محدود نشود */
#mainNav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}
#mainNav > .container { min-height: inherit; }

#mainNav.scrolled {
  --nav-h: 66px;
  position: fixed;
  box-shadow: 0 10px 30px rgba(2,12,27,.28);
}
#mainNav.scrolled::before,
#mainNav.nav-static::before {
  background: rgba(6,27,51,.9);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(255,255,255,.07);
}

/* Inner pages: همیشه چسبان */
#mainNav.nav-static {
  position: sticky;
  top: 0;
}
#mainNav.nav-static.scrolled { position: sticky; }

/* ---- Brand ---- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin: 0;
  padding: 0;
  color: var(--white);
}
.brand:hover { color: var(--white); }
.brand-mark {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #FFD95A 0%, var(--accent) 45%, #E0A800 100%);
  color: var(--navy-primary);
  font-size: 1.15rem;
  box-shadow: 0 6px 18px rgba(255,201,40,.3), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform var(--transition);
}
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.04); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }

.brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -.01em;
}
.brand-tagline {
  font-size: 10.5px;
  color: rgba(255,255,255,.65);
  font-weight: 400;
  white-space: nowrap;
}
#mainNav .brand-name { color: var(--white); }
#mainNav.scrolled .brand-mark { width: 36px; height: 36px; border-radius: 10px; }

/* ---- Links ---- */
#mainNav .navbar-nav { gap: .15rem; align-items: center; }
.nav-link-custom {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: rgba(255,255,255,.82) !important;
  font-size: 14px;
  font-weight: 600;
  padding: .5rem .8rem !important;
  border-radius: 10px;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}
.nav-link-custom:hover,
.nav-link-custom:focus-visible,
.nav-link-custom.show {
  color: var(--white) !important;
  background: rgba(255,255,255,.08);
}
.nav-link-custom.active { color: var(--accent) !important; }
.nav-link-custom.active::before {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 50%;
  transform: translateX(50%);
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}
.nav-link-custom.dropdown-toggle.active::before { display: none; }
#mainNav .nav-link:focus-visible { box-shadow: none; }
.nav-link-custom.dropdown-toggle.active { background: rgba(255,201,40,.1); }

/* آیکون‌ها فقط در منوی موبایل */
.nav-ico { display: none; }

/* Dropdown caret */
#mainNav .dropdown-toggle::after {
  border: none;
  width: 8px; height: 8px;
  margin: 0 .2rem 0 0;
  vertical-align: middle;
  content: '';
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.6 4.6a1 1 0 0 1 1.4 0L8 9.6l5-5a1 1 0 1 1 1.4 1.4l-5.7 5.7a1 1 0 0 1-1.4 0L1.6 6a1 1 0 0 1 0-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.6 4.6a1 1 0 0 1 1.4 0L8 9.6l5-5a1 1 0 1 1 1.4 1.4l-5.7 5.7a1 1 0 0 1-1.4 0L1.6 6a1 1 0 0 1 0-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .7;
  transition: transform var(--transition);
}
#mainNav .dropdown-toggle.show::after { transform: rotate(180deg); }

/* ---- Dropdown panels (base – shared) ---- */
.nav-dd-label {
  padding: .5rem .75rem .4rem;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
}
#mainNav .nav-dd-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .7rem .75rem;
  border-radius: 12px;
  white-space: normal;
  color: var(--navy-primary);
  transition: background var(--transition);
}
.nav-dd-body { flex: 1; min-width: 0; }
.nav-dd-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,201,40,.14);
  color: #b78a00;
  font-size: 1.1rem;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.nav-dd-title { display: flex; align-items: center; gap: .45rem; font-size: 14px; font-weight: 700; line-height: 1.6; }
.nav-dd-desc  { display: block; font-size: 12px; color: var(--muted); line-height: 1.7; }
.nav-dd-badge {
  padding: .05rem .5rem;
  border-radius: 100px;
  background: rgba(16,185,129,.12);
  color: #0e8f63;
  font-size: 10px;
  font-weight: 700;
}
.nav-dd-arrow {
  font-size: 1.35rem;
  color: #b78a00;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity var(--transition), transform var(--transition);
}
.nav-dd-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-primary);
}
.nav-dd-footer span { display: inline-flex; align-items: center; gap: .5rem; }

/* ---- CTA area ---- */
.nav-cta { display: flex; align-items: center; gap: .5rem; }
#mainNav .nav-cta .btn-accent { padding: .62rem 1.35rem; border-radius: 10px; }

/* ---- Mobile toggle ---- */
.nav-mobile-actions { align-items: center; gap: .5rem; }
.nav-mobile-actions .btn-sm { padding: .45rem .9rem; font-size: 13px; border-radius: 10px; }
.nav-burger {
  width: 44px; height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--transition), border-color var(--transition);
}
.nav-burger span {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--white);
}
.nav-burger span:nth-child(2) { width: 12px; margin-right: 6px; }
.nav-burger:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }

.nav-close {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-size: 1rem;
}
.nav-close:hover { background: rgba(255,255,255,.15); }

/* ==================================================
   NAVBAR – Desktop (≥ 992px)
   ================================================== */
@media (min-width: 992px) {
  #mainNav .nav-offcanvas { flex-grow: 1; }
  .nav-offcanvas .offcanvas-header { display: none; }
  .nav-offcanvas .offcanvas-body { display: flex; align-items: center; flex-grow: 1; padding: 0; }
  .nav-offcanvas-note { display: none; }

  /* راست‌چین: منو کنار لوگو، دکمه CTA در انتهای چپ */
  #mainNav .navbar-nav { margin-inline-start: 1.25rem; }
  #mainNav .nav-cta { margin-inline-start: auto; }

  /* ---- Glass dropdown ---- */
  #mainNav .nav-dd {
    width: 300px;
    padding: .4rem;
    margin-top: 12px !important;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: rgba(9,28,52,.86);
    right: var(--dd-right, 0) !important;
    left: auto !important;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 24px 50px -12px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
  }
  #mainNav .nav-dd.show { animation: ddIn .18s cubic-bezier(.2,.8,.2,1); }
  /* پل نامرئی برای حفظ hover بین لینک و پنل */
  #mainNav .nav-dd::before {
    content: '';
    position: absolute;
    top: -14px; right: 0; left: 0;
    height: 14px;
  }

  #mainNav .nav-dd-item {
    gap: .7rem;
    padding: .55rem .6rem;
    border-radius: 11px;
    color: var(--white);
  }
  #mainNav .nav-dd-item + .nav-dd-item { margin-top: 2px; }
  #mainNav .nav-dd-item:hover,
  #mainNav .nav-dd-item:focus-visible {
    background: rgba(255,255,255,.08);
    color: var(--white);
  }
  #mainNav .nav-dd-item.active {
    background: rgba(255,201,40,.12);
    color: var(--white);
  }
  #mainNav .nav-dd-icon {
    width: 34px; height: 34px;
    border-radius: 10px;
    font-size: .95rem;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    color: var(--accent);
  }
  .nav-dd-item:hover .nav-dd-icon,
  .nav-dd-item:focus-visible .nav-dd-icon,
  .nav-dd-item.active .nav-dd-icon {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--navy-primary);
  }
  #mainNav .nav-dd-title { font-size: 13.5px; line-height: 1.55; }
  #mainNav .nav-dd-desc  { font-size: 11.5px; line-height: 1.6; color: rgba(255,255,255,.55); }
  #mainNav .nav-dd-badge { background: rgba(16,185,129,.18); color: #4ade80; }
  #mainNav .nav-dd-arrow { font-size: 1.2rem; color: var(--accent); }
  .nav-dd-item:hover .nav-dd-arrow,
  .nav-dd-item:focus-visible .nav-dd-arrow,
  .nav-dd-item.active .nav-dd-arrow { opacity: 1; transform: translateX(0); }
}
@keyframes ddIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Large but tight (992 – 1199): فشرده‌سازی */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .brand-tagline { display: none; }
  #mainNav .navbar-nav { margin-inline-start: .75rem; }
  .nav-link-custom { padding: .5rem .6rem !important; font-size: 13.5px; }
  #mainNav .nav-cta .btn-accent { padding: .55rem 1.05rem; }
}

/* ==================================================
   NAVBAR – Mobile offcanvas (< 992px)
   ================================================== */
@media (max-width: 991.98px) {
  #mainNav { --nav-h: 68px; }
  #mainNav.scrolled { --nav-h: 62px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 10px; font-size: 1rem; }
  .brand-name { font-size: 1.2rem; }

  .nav-offcanvas {
    --bs-offcanvas-width: min(340px, 88vw);
    background:
      radial-gradient(120% 50% at 100% 0%, rgba(255,201,40,.1) 0%, rgba(255,201,40,0) 60%),
      var(--navy-primary);
    color: var(--white);
    border-left: 1px solid rgba(255,255,255,.08) !important;
  }
  .nav-offcanvas .offcanvas-header {
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-offcanvas .offcanvas-body {
    display: flex;
    flex-direction: column;
    padding: 1rem 1rem 1.25rem;
  }
  #mainNav .navbar-nav { align-items: stretch; gap: .2rem; }
  .nav-ico { display: inline-block; width: 22px; font-size: 1.05rem; color: rgba(255,255,255,.55); }
  .nav-link-custom {
    width: 100%;
    gap: .6rem;
    padding: .8rem .85rem !important;
    font-size: 15px;
    border-radius: 12px;
  }
  .nav-link-custom.active { background: rgba(255,201,40,.1); }
  .nav-link-custom.active .nav-ico { color: var(--accent); }
  .nav-link-custom.active::before { display: none; }
  #mainNav .dropdown-toggle::after { margin-right: auto; }

  /* Dropdown داخل منوی موبایل */
  #mainNav .nav-dd {
    min-width: 0;
    margin: .15rem 0 .4rem !important;
    padding: .35rem;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    box-shadow: none;
  }
  .nav-dd-label { color: rgba(255,255,255,.45); }
  #mainNav .nav-dd-item { color: var(--white); padding: .6rem; }
  #mainNav .nav-dd-item:hover,
  #mainNav .nav-dd-item:focus,
  #mainNav .nav-dd-item.active { background: rgba(255,255,255,.07); color: var(--white); }
  .nav-dd-icon { width: 34px; height: 34px; background: rgba(255,201,40,.12); color: var(--accent); }
  .nav-dd-desc { color: rgba(255,255,255,.55); }
  .nav-dd-badge { background: rgba(16,185,129,.18); color: #4ade80; }
  .nav-dd-footer {
    margin: .3rem 0 0;
    padding: .7rem .9rem;
    border-radius: 10px;
    border-top: none;
    background: rgba(255,255,255,.05);
    color: var(--accent);
  }
  .nav-dd-footer:hover { background: rgba(255,255,255,.09); color: var(--accent); }
  .nav-dd-footer i { color: var(--accent); }

  .nav-cta {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: .6rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .nav-cta .btn-accent { width: 100%; padding: .8rem 1rem !important; font-size: 15px; }
  .nav-dd-arrow { display: none; }
  .nav-offcanvas-note {
    margin: auto 0 0;
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    font-size: 12px;
    color: rgba(255,255,255,.45);
  }
  .nav-offcanvas-note i { color: var(--accent); }
}

@media (max-width: 399.98px) {
  #mainNav .brand-tagline { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  #mainNav, #mainNav .dropdown-menu.show { transition: none; animation: none; }
}

/* ==================================================
   HERO
   ================================================== */
#hero {
  background: var(--navy-primary) url('../images/Neon Cyber Defense Command Center.png') left center / cover no-repeat;
  padding-top: 150px;
  padding-bottom: 150px;
  position: relative;
  overflow: hidden;
  min-height: 640px;
  isolation: isolate;
}

/* لایه گرادیانی برای خوانایی متن – سمت راست (RTL) تاریک، سمت چپ شفاف */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(to left,
      rgba(4,18,36,.96) 0%,
      rgba(4,18,36,.88) 28%,
      rgba(4,18,36,.45) 50%,
      rgba(4,18,36,0) 68%),
    linear-gradient(to top, rgba(4,18,36,.55) 0%, rgba(4,18,36,0) 30%);
}

/* بافت نقطه‌ای ظریف */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}
#hero::after { display: none; }

.hero-row { min-height: 440px; }

/* ---- Eyebrow / announcement pill ---- */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  max-width: 100%;
  padding: .3rem .35rem .3rem .9rem;
  margin-bottom: 1.5rem;
  border-radius: 100px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 8px 24px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  transition: border-color var(--transition), background var(--transition);
}
.hero-eyebrow:hover {
  color: var(--white);
  background: rgba(255,255,255,.1);
  border-color: rgba(255,201,40,.5);
}
.hero-eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex-shrink: 0;
  padding: .28rem .75rem;
  border-radius: 100px;
  background: var(--accent);
  color: var(--navy-primary);
  font-size: 12px;
  font-weight: 800;
}
.hero-eyebrow-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-eyebrow-arrow {
  font-size: 1.25rem;
  color: var(--accent);
  margin-inline-end: .35rem;
  transition: transform var(--transition);
}
.hero-eyebrow:hover .hero-eyebrow-arrow { transform: translateX(-3px); }

/* نقطه زنده (پالس) */
.live-dot {
  position: relative;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #0f9d58;
  flex-shrink: 0;
}
.live-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: livePulse 1.8s ease-out infinite;
}
@keyframes livePulse {
  0%   { transform: scale(1);   opacity: .8; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* ---- Title & text ---- */
.hero-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.32;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.hero-title .highlight {
  display: block;
  width: fit-content;
  color: var(--accent);
  position: relative;
  padding-bottom: .15em;
}
.hero-title .highlight::after {
  content: '';
  position: absolute;
  right: 0; left: 0;
  bottom: .02em;
  height: .14em;
  border-radius: 100px;
  background: linear-gradient(to left, var(--accent) 0%, rgba(255,201,40,.15) 100%);
}

.hero-text {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,.82);
  line-height: 2;
  margin-bottom: 1.5rem;
  max-width: 500px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  margin: 0 0 2rem;
  padding: 0;
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}
.hero-points i { color: var(--accent); font-size: 15px; }

/* ---- Actions ---- */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-size: 15px;
  font-weight: 800;
  padding: .85rem 1.75rem;
  border-radius: 12px;
}
.btn-hero i { transition: transform var(--transition); }
.btn-hero:hover i { transform: translateX(-4px); }

.btn-hero-video {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-height: 54px;
  padding: .35rem;
  padding-inline-end: 1.35rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  color: var(--white);
  cursor: pointer;
  text-align: right;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-hero-video:hover {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,201,40,.55);
  transform: translateY(-2px);
}
.btn-hero-video .play-ring {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy-primary);
  font-size: 1.35rem;
  box-shadow: 0 6px 18px rgba(255,201,40,.4);
  transition: transform var(--transition);
}
/* آیکون پخش در RTL نباید برعکس شود و کمی به راست متمایل باشد تا وسط دیده شود */
.btn-hero-video .play-ring i { margin-left: -1px; margin-right: -3px; }
.btn-hero-video .play-ring::before,
.btn-hero-video .play-ring::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,201,40,.55);
  animation: ringPulse 2.4s ease-out infinite;
}
.btn-hero-video .play-ring::after { animation-delay: 1.2s; }
@keyframes ringPulse {
  0%   { transform: scale(1);   opacity: .9; }
  100% { transform: scale(1.7); opacity: 0; }
}
.btn-hero-video:hover .play-ring { transform: scale(1.08); }
.video-label { display: flex; flex-direction: column; line-height: 1.35; }
.video-label strong { font-size: 14px; font-weight: 700; }
.video-label small  { font-size: 11.5px; color: rgba(255,255,255,.6); font-weight: 400; }

/* ---- Floating UI cards (desktop) ---- */
.hero-visual { min-height: 440px; }

.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  min-width: 270px;
  border-radius: 14px;
  background: rgba(8,26,48,.72);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--white);
  animation: floatY 6s ease-in-out infinite;
}
.hero-float-alert { bottom: 20px; left: 2%; }
.hero-float-ok    { bottom: -14px; left: 46%; animation-delay: -3s; }

.float-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.float-icon.danger  { background: rgba(239,68,68,.16); color: #ff6b6b; }
.float-icon.success { background: rgba(16,185,129,.16); color: #34d399; }
.float-title { font-size: 13px; font-weight: 800; line-height: 1.5; }
.float-sub   { font-size: 11.5px; color: rgba(255,255,255,.65); line-height: 1.5; }
.float-time {
  margin-inline-start: auto;
  align-self: flex-start;
  font-size: 10.5px;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
}

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

/* ---- Hero responsive ---- */
@media (max-width: 1399.98px) {
  .hero-float-ok { display: none; }
}

@media (max-width: 991.98px) {
  #hero {
    background-position: center;
    padding-top: 120px;
    padding-bottom: 110px;
    min-height: auto;
  }
  .hero-scrim {
    background: linear-gradient(180deg, rgba(4,18,36,.78) 0%, rgba(4,18,36,.88) 100%);
  }
  .hero-row { min-height: 0; }
  .hero-text { max-width: 600px; }
}

@media (max-width: 575.98px) {
  #hero { padding-top: 104px; padding-bottom: 96px; }
  .hero-eyebrow { font-size: 12px; gap: .5rem; padding-inline-start: .65rem; }
  .hero-eyebrow-tag { font-size: 11px; padding: .25rem .6rem; }
  .hero-eyebrow-arrow { display: none; }
  .hero-text { font-size: 15px; line-height: 1.95; }
  .hero-points { gap: .5rem 1rem; margin-bottom: 1.75rem; }
  .hero-points li { font-size: 12.5px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-hero { width: 100%; }
  .btn-hero-video { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-float-card,
  .live-dot::after,
  .btn-hero-video .play-ring::before,
  .btn-hero-video .play-ring::after { animation: none; }
}

/* ==================================================
   BENEFITS STRIP
   ================================================== */
#benefits {
  position: relative;
  z-index: 10;
  margin-top: -76px;
}

.benefits-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: .75rem;
  border-radius: 24px;
  background: var(--white);
  box-shadow:
    0 30px 60px -24px rgba(6,27,51,.32),
    0 10px 24px -12px rgba(6,27,51,.12),
    0 0 0 1px rgba(6,27,51,.05);
}
/* نوار گرادیانی متحرک بالای کارت */
.benefits-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), #ffe58a, var(--accent), transparent);
  background-size: 200% 100%;
  animation: benefitsSheen 6s linear infinite;
  z-index: 2;
}
@keyframes benefitsSheen {
  from { background-position: 200% 0; }
  to   { background-position: 0 0; }
}
/* نور دنبال‌کننده نشانگر ماوس */
.benefits-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,201,40,.14), transparent 60%);
  transition: opacity .4s ease;
}
.benefits-card:hover .benefits-glow { opacity: 1; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.benefit-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.9rem 1.1rem 1.6rem;
  border-radius: 18px;
  transition: background .3s ease, transform .3s cubic-bezier(.2,.8,.2,1);
}
/* جداکننده عمودی بین آیتم‌ها */
.benefit-item + .benefit-item::before {
  content: '';
  position: absolute;
  top: 22%; bottom: 22%;
  inset-inline-start: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
  transition: opacity .3s ease;
}
/* نوار تأکیدی پایین هنگام hover */
.benefit-item::after {
  content: '';
  position: absolute;
  bottom: 8px;
  right: 30%; left: 30%;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.benefit-item:hover {
  background: linear-gradient(180deg, rgba(244,248,252,.95), rgba(244,248,252,.4));
  transform: translateY(-4px);
}
.benefit-item:hover::after { transform: scaleX(1); }
.benefit-item:hover::before,
.benefit-item:hover + .benefit-item::before { opacity: 0; }


.benefit-icon {
  position: relative;
  width: 58px; height: 58px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 18px;
  font-size: 1.45rem;
  color: #b78a00;
  background: linear-gradient(145deg, rgba(255,201,40,.2), rgba(255,201,40,.06));
  box-shadow: inset 0 0 0 1px rgba(255,201,40,.28);
  transition: background .35s ease, color .35s ease, transform .45s cubic-bezier(.2,1.4,.4,1), box-shadow .35s ease;
}
.benefit-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  border: 1px dashed rgba(255,201,40,.45);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .35s ease, transform .35s ease;
}
.benefit-item:hover .benefit-icon {
  color: var(--accent);
  background: linear-gradient(145deg, var(--navy-mid), var(--navy-primary));
  box-shadow: 0 12px 24px -8px rgba(6,27,51,.45);
  transform: translateY(-2px) rotate(-6deg);
}
.benefit-item:hover .benefit-icon::after { opacity: 1; transform: scale(1); animation: iconSpin 8s linear infinite; }
@keyframes iconSpin { to { transform: rotate(360deg); } }

.benefit-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy-primary);
  line-height: 1.6;
  margin-bottom: .35rem;
}
.benefit-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
  max-width: 220px;
}

/* ---- Benefits responsive ---- */
@media (max-width: 991.98px) {
  #benefits { margin-top: -56px; }
  .benefits-card { padding: .6rem; border-radius: 20px; }
  .benefits-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; }
  .benefit-item { grid-column: span 2; background: var(--light-bg); padding: 1.5rem 1rem 1.35rem; }
  .benefit-item:nth-child(4),
  .benefit-item:nth-child(5) { grid-column: span 3; }
  .benefit-item + .benefit-item::before { display: none; }
  .benefit-item:hover { background: #EDF3F9; }
}
@media (max-width: 575.98px) {
  #benefits { margin-top: -44px; }
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-item,
  .benefit-item:nth-child(4) { grid-column: span 1; }
  .benefit-item:nth-child(5) { grid-column: span 2; }
  .benefit-item { padding: 1.25rem .75rem 1.1rem; }
  .benefit-icon { width: 48px; height: 48px; border-radius: 14px; font-size: 1.2rem; margin-bottom: .75rem; }
  .benefit-title { font-size: 13.5px; }
  .benefit-desc { font-size: 11.5px; line-height: 1.7; }
}

/* ==================================================
   SCROLL REVEAL (عمومی – قابل استفاده در سایر بخش‌ها)
   ================================================== */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .7s cubic-bezier(.2,.8,.2,1) calc(var(--i, 0) * 90ms),
    transform .7s cubic-bezier(.2,.8,.2,1) calc(var(--i, 0) * 90ms);
}
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
  .benefits-card::before { animation: none; }
  .benefit-item:hover .benefit-icon::after { animation: none; }
}

/* ==================================================
   TRUST BAR – logo marquee
   ================================================== */
#trust {
  position: relative;
  padding: 3.25rem 0 3.5rem;
  background: var(--white);
  overflow: hidden;
}
.trust-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.trust-line {
  flex: 1;
  max-width: 140px;
  height: 1px;
  background: linear-gradient(to left, var(--border), transparent);
}
.trust-line:last-child { background: linear-gradient(to right, var(--border), transparent); }
.trust-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}
.trust-label i { color: var(--accent-dark); font-size: 1rem; }

.trust-marquee {
  position: relative;
  padding: .5rem 0;
}
.trust-track { display: flex; justify-content: center; }
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
  margin: 0;
  padding: 0 1rem;
  list-style: none;
}

/* حالت متحرک (فعال‌شده توسط JS) */
.trust-marquee.is-animated {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.trust-marquee.is-animated .trust-track {
  justify-content: flex-start;
  width: max-content;
  animation: trustMarquee var(--marquee-dur, 40s) linear infinite;
}
.trust-marquee.is-animated .trust-logos {
  flex-wrap: nowrap;
  flex-shrink: 0;
  padding: 0;
  padding-inline-end: .85rem;
}
.trust-marquee.is-animated:hover .trust-track { animation-play-state: paused; }
@keyframes trustMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}

/* جای لوگو: همه باکس‌ها هم‌اندازه */
.trust-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 80px;
  padding: .9rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.trust-logo:hover {
  border-color: rgba(255,201,40,.65);
  box-shadow: 0 12px 26px -14px rgba(6,27,51,.3);
  transform: translateY(-3px);
}

/* تصویر لوگو اصلی */
.trust-logo-img {
  display: block;
  max-width: 100%;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .6;
  transition: filter .3s ease, opacity .3s ease;
}
.trust-logo:hover .trust-logo-img { filter: none; opacity: 1; }

/* Placeholder تا زمان قرار گرفتن لوگو اصلی */
.trust-logo-placeholder {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  max-width: 100%;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy-secondary);
  white-space: nowrap;
  opacity: .5;
  transition: opacity .3s ease, color .3s ease;
}
.trust-logo-placeholder span { overflow: hidden; text-overflow: ellipsis; }
.trust-logo-placeholder i { font-size: 1.25rem; color: var(--navy-mid); transition: color .3s ease; }
.trust-logo:hover .trust-logo-placeholder { opacity: 1; }
.trust-logo:hover .trust-logo-placeholder i { color: var(--accent-dark); }

@media (max-width: 575.98px) {
  #trust { padding: 2.5rem 0 2.75rem; }
  .trust-line { max-width: 40px; }
  .trust-label { font-size: 12.5px; }
  .trust-logo { width: 140px; height: 66px; padding: .7rem .9rem; border-radius: 14px; }
  .trust-logo-img { max-height: 36px; }
  .trust-logo-placeholder { font-size: 13px; }
  .trust-logo-placeholder i { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  .trust-marquee.is-animated .trust-track { animation: none; }
}

/* ==================================================
   HOW IT WORKS
   رنگ پس‌زمینه هماهنگ با تصویر (#EAF4FC – #F1F7FE)
   ================================================== */
#how-it-works {
  --how-bg: #ECF5FD;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #F1F7FE 0%, var(--how-bg) 50%, #EFF7FE 100%);
}
/* بافت نقطه‌ای ظریف */
#how-it-works::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(13,53,88,.07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to left, #000 0%, transparent 55%);
          mask-image: linear-gradient(to left, #000 0%, transparent 55%);
  pointer-events: none;
}

/* ---- Visual ---- */
.how-visual {
  position: relative;
  margin-inline-end: -4rem;   /* کمی بیرون‌زدگی به سمت لبه چپ */
}
.how-img {
  display: block;
  width: 100%;
  height: auto;
  /* محو شدن لبه‌ها تا تصویر کاملاً در پس‌زمینه حل شود */
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  transform: scale(1.06);
  transform-origin: center;
}

.how-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .9rem .55rem 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 14px 30px -12px rgba(13,53,88,.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: floatY 6s ease-in-out infinite;
}
.how-chip strong { display: block; font-size: 12.5px; font-weight: 800; color: var(--navy-primary); line-height: 1.5; }
.how-chip small  { display: block; font-size: 11px; color: var(--muted); line-height: 1.5; }
.how-chip-icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(239,68,68,.12);
  color: #e5484d;
  font-size: .95rem;
}
.how-chip-icon.gold { background: rgba(255,201,40,.2); color: #b78a00; }
.how-chip-alert { top: 14%; right: 6%; }
.how-chip-bait  { bottom: 16%; left: 10%; animation-delay: -3s; }

/* ---- Content ---- */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .9rem;
  margin-bottom: 1rem;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid rgba(13,53,88,.1);
  box-shadow: 0 4px 12px -6px rgba(13,53,88,.2);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy-mid);
}
.section-badge i { color: #b78a00; }

.how-title { margin-bottom: 1rem; }
/* هایلایت خوانا روی پس‌زمینه روشن */
.how-title .highlight {
  color: var(--navy-primary);
  background: rgba(255,201,40,.42);
  border-radius: .3em;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
  padding: 0 .2em;
}
.how-lead {
  font-size: 15.5px;
  line-height: 2;
  color: #4C6580;
  margin-bottom: 1.75rem;
}

/* ---- Steps ---- */
.how-steps {
  position: relative;
  margin: 0 0 2rem;
  padding: 0;
  counter-reset: none;
}
/* خط اتصال بین مراحل */
.how-steps::before {
  content: '';
  position: absolute;
  top: 24px; bottom: 24px;
  right: 22px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(255,201,40,.15));
  border-radius: 2px;
}
.how-step {
  position: relative;
  display: flex;
  gap: 1rem;
  padding: .85rem 0;
}
.how-step-icon {
  position: relative;
  z-index: 1;
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid rgba(13,53,88,.1);
  box-shadow: 0 8px 18px -10px rgba(13,53,88,.35);
  color: var(--navy-mid);
  font-size: 1.15rem;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.how-step:hover .how-step-icon {
  background: var(--navy-primary);
  color: var(--accent);
  transform: scale(1.06);
}
.how-step-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy-primary);
  margin: .2rem 0 .3rem;
}
.how-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy-primary);
  font-size: 11.5px;
  font-weight: 800;
}
.how-step p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---- Actions ---- */
.how-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}
.how-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy-primary);
  border-bottom: 1.5px solid rgba(13,53,88,.2);
  padding-bottom: 2px;
  transition: border-color var(--transition), gap var(--transition);
}
.how-link:hover { color: var(--navy-primary); border-bottom-color: var(--accent-dark); gap: .7rem; }

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  #how-it-works::before { -webkit-mask-image: none; mask-image: none; opacity: .5; }
  .how-visual { margin: 0 -1rem; }
  .how-img { transform: none; }
  .how-chip-alert { top: 8%; right: 4%; }
  .how-chip-bait  { bottom: 8%; left: 4%; }
}
@media (max-width: 575.98px) {
  .how-chip { padding: .4rem .65rem; border-radius: 12px; }
  .how-chip-icon { width: 26px; height: 26px; font-size: .8rem; border-radius: 8px; }
  .how-chip strong { font-size: 11px; }
  .how-chip small { display: none; }
  .how-lead { font-size: 14.5px; }
  .how-actions { flex-direction: column; align-items: stretch; }
  .how-actions .btn-hero { width: 100%; }
  .how-link { align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .how-chip { animation: none; }
}

/* ==================================================
   FEATURES
   ================================================== */
#features {
  background: var(--white);
  padding: 90px 0;
}

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  height: 100%;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  border-color: rgba(255,201,40,.4);
}

.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--light-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--navy-secondary);
  margin-bottom: 1rem;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}

.feature-card:hover .feature-icon {
  background: rgba(255,201,40,.15);
  color: var(--accent-dark);
}

.feature-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: .4rem;
}

.feature-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ==================================================
   STATS SECTION
   ================================================== */
#stats {
  background: var(--navy-primary);
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(13,53,88,.8) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy-primary) 0%, #071f3a 100%);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

#stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.stats-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.4;
}

.stat-box {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.04);
  transition: background var(--transition), border-color var(--transition);
}
.stat-box:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,201,40,.3);
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: .3rem;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}

/* ==================================================
   FINAL CTA
   ================================================== */
#cta {
  background: linear-gradient(135deg, #EBF4FF 0%, #F4F8FC 60%, #e8f1f9 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,201,40,.08) 0%, transparent 70%);
  pointer-events: none;
}
#cta::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11,41,72,.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 800;
  color: var(--navy-primary);
  line-height: 1.4;
}

.cta-sub {
  font-size: 15px;
  color: var(--muted);
}

/* ==================================================
   FOOTER
   ================================================== */
#footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 72px 0 0;
  color: rgba(255,255,255,.7);
  background: var(--navy-primary);
}
/* خط نورانی بالای فوتر */
#footer::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,201,40,.7), transparent);
}
/* شبکه نقطه‌ای و نور پس‌زمینه */
#footer::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%);
          mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
.footer-glow {
  position: absolute;
  z-index: -1;
  top: -180px;
  right: 50%;
  transform: translateX(50%);
  width: 700px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,201,40,.1), transparent);
  pointer-events: none;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr) 1.4fr;
  gap: 2.5rem 2rem;
}

/* ---- Brand ---- */
.footer-brand-link { margin-bottom: 1.1rem; }
.footer-brand-link .brand-name { color: var(--white); font-size: 1.35rem; }
.footer-about {
  font-size: 13.5px;
  line-height: 2;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.25rem;
  max-width: 320px;
}
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.1rem;
  border-radius: 11px;
  border: 1px solid rgba(255,201,40,.45);
  background: rgba(255,201,40,.08);
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 700;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.footer-cta:hover { background: var(--accent); border-color: var(--accent); color: var(--navy-primary); }

/* ---- Link columns ---- */
.footer-heading {
  position: relative;
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  margin: 0 0 1.25rem;
  padding: 0;
  border: none;
}
.footer-heading::after {
  content: '';
  display: block;
  width: 22px;
  height: 3px;
  margin-top: .55rem;
  border-radius: 3px;
  background: var(--accent);
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.footer-links li { margin: 0; }
.footer-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 13.5px;
  color: rgba(255,255,255,.62);
  transition: color .25s ease, transform .25s ease;
}
.footer-links a::before {
  content: '';
  width: 0;
  height: 2px;
  margin-left: 0;
  border-radius: 2px;
  background: var(--accent);
  transition: width .25s ease, margin .25s ease;
}
.footer-links a:hover { color: var(--white); }
.footer-links a:hover::before { width: 10px; margin-left: .45rem; }

/* ---- Contact ---- */
.footer-contact-list { list-style: none; padding: 0; margin: 0 0 1.35rem; display: grid; gap: .85rem; }
.footer-contact-list li { display: flex; align-items: center; gap: .7rem; font-size: 13.5px; color: rgba(255,255,255,.75); }
.footer-contact-list small { display: block; font-size: 11px; color: rgba(255,255,255,.45); line-height: 1.5; }
.footer-contact-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--accent);
}

.footer-social { display: flex; gap: .5rem; }
.footer-social a {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.75);
  font-size: 1rem;
  transition: background .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
}
.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy-primary);
  transform: translateY(-3px);
}

/* ---- Bottom bar ---- */
.footer-bottom {
  margin-top: 3.5rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-top-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .9rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.12);
  background: transparent;
  color: rgba(255,255,255,.7);
  font-size: 12.5px;
  font-weight: 600;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.footer-top-btn i { transition: transform .25s ease; }
.footer-top-btn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,201,40,.5); color: var(--white); }
.footer-top-btn:hover i { transform: translateY(-3px); }

/* ---- Responsive ---- */
@media (max-width: 1199.98px) {
  .footer-main { grid-template-columns: repeat(3, 1fr); }
  .footer-brand-col { grid-column: span 2; }
  .footer-contact { grid-column: span 1; grid-row: 1; grid-column-start: 3; }
}
@media (max-width: 767.98px) {
  #footer { padding-top: 56px; }
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 2.25rem 1.5rem; }
  .footer-brand-col, .footer-contact { grid-column: 1 / -1; grid-row: auto; }
  .footer-about { max-width: none; }
}
@media (max-width: 575.98px) {
  .footer-bottom .container { flex-direction: column-reverse; align-items: center; text-align: center; }
}

/* ==================================================
   VIDEO MODAL
   ================================================== */
.video-placeholder-modal .modal-content {
  background: var(--navy-secondary);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
}

.video-placeholder-inner {
  aspect-ratio: 16/9;
  background: var(--navy-primary);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(255,255,255,.5);
}
.video-placeholder-inner i { font-size: 3rem; color: var(--accent); }

/* ==================================================
   FOCUS / A11y
   ================================================== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==================================================
   REDUCED MOTION
   ================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ==================================================
   STATS ILLUSTRATION
   ================================================== */
.stats-illustration {
  position: relative;
  filter: drop-shadow(0 16px 48px rgba(0,0,0,.4));
}

/* ==================================================
   CTA ILLUSTRATION
   ================================================== */
.cta-illustration {
  filter: drop-shadow(0 12px 36px rgba(11,41,72,.15));
}

/* ==================================================
   SECTION PADDING DEFAULTS
   ================================================== */
#how-it-works,
#features,
#stats,
#cta {
  padding-top: 90px;
  padding-bottom: 90px;
}

/* Form control RTL */
.form-control {
  font-family: var(--font-fa);
  font-size: 14px;
  border-color: var(--border);
  border-radius: var(--radius-sm);
  padding: .6rem .85rem;
  color: var(--body-text);
}
.form-control:focus {
  border-color: var(--navy-secondary);
  box-shadow: 0 0 0 3px rgba(11,41,72,.12);
}
.form-label { font-family: var(--font-fa); }

/* ==================================================
   PRODUCT TYPES
   ================================================== */
#product-types {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 100px 0 90px;
  color: var(--white);
  background: var(--navy-primary);
}
/* شبکه خطوط ظریف */
#product-types::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 100%);
          mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 100%);
}
.pt-bg-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40% 45% at 50% 55%, rgba(255,201,40,.13), transparent 70%),
    radial-gradient(35% 40% at 90% 0%, rgba(56,132,255,.16), transparent 70%),
    radial-gradient(35% 40% at 5% 100%, rgba(56,132,255,.12), transparent 70%);
}

/* ---- Head ---- */
.pt-head { max-width: 640px; margin: 0 auto 3.25rem; }
.section-badge-dark {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  box-shadow: none;
  color: rgba(255,255,255,.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.section-badge-dark i { color: var(--accent); }
.pt-heading { color: var(--white); margin-bottom: .85rem; }
.pt-heading .highlight { color: var(--accent); }
.pt-sub { font-size: 15.5px; line-height: 1.9; color: rgba(255,255,255,.62); margin: 0; }

/* ---- Card (1px gradient border wrapper) ---- */
@property --pt-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.pt-card {
  position: relative;
  height: 100%;
  padding: 1px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.05) 40%, rgba(255,255,255,.1));
  transition: transform .4s cubic-bezier(.2,.8,.2,1), background .4s ease, box-shadow .4s ease;
}
.pt-card:hover {
  transform: translateY(-6px);
  background: linear-gradient(160deg, rgba(255,201,40,.6), rgba(255,255,255,.08) 45%, rgba(255,201,40,.3));
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.pt-card-inner {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem 1.75rem 1.75rem;
  border-radius: 21px;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(17,48,82,.92) 0%, rgba(8,27,50,.96) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
/* نور دنبال‌کننده ماوس */
.pt-card-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(320px circle at var(--mx) var(--my), rgba(255,201,40,.12), transparent 65%);
  transition: opacity .4s ease;
}
.pt-card:hover .pt-card-inner::before { opacity: 1; }
.pt-card-inner > * { position: relative; }

/* Featured: حاشیه گرادیانی چرخان */
.pt-card.featured {
  background: conic-gradient(from var(--pt-angle),
    rgba(255,201,40,.25) 0deg,
    var(--accent) 60deg,
    #FFF1B8 90deg,
    var(--accent) 120deg,
    rgba(255,201,40,.25) 180deg,
    rgba(255,201,40,.25) 360deg);
  animation: ptSpin 6s linear infinite;
  box-shadow: 0 30px 70px -25px rgba(255,201,40,.35);
}
.pt-card.featured:hover { box-shadow: 0 34px 80px -25px rgba(255,201,40,.5); }
.pt-card.featured .pt-card-inner {
  background:
    radial-gradient(90% 50% at 50% 0%, rgba(255,201,40,.12), transparent 70%),
    linear-gradient(165deg, #123459 0%, #0A2340 100%);
}
@keyframes ptSpin { to { --pt-angle: 360deg; } }
@media (min-width: 992px) {
  .pt-card.featured { transform: translateY(-14px); }
  .pt-card.featured:hover { transform: translateY(-20px); }
}

.pt-badge {
  position: absolute !important;
  top: 1.35rem;
  inset-inline-end: 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .75rem;
  border-radius: 100px;
  background: var(--accent);
  color: var(--navy-primary);
  font-size: 11.5px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(255,201,40,.35);
}
.pt-badge i { font-size: .7rem; }

.pt-card-top {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.35rem;
}
.pt-icon {
  width: 58px; height: 58px;
  flex-shrink: 0;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: var(--accent);
  background: linear-gradient(145deg, rgba(255,201,40,.2), rgba(255,201,40,.05));
  box-shadow: inset 0 0 0 1px rgba(255,201,40,.3);
  transition: transform .45s cubic-bezier(.2,1.4,.4,1), background .35s ease, color .35s ease;
}
.pt-card:hover .pt-icon {
  transform: rotate(-8deg) scale(1.06);
  background: var(--accent);
  color: var(--navy-primary);
}
.pt-card.featured .pt-icon { background: var(--accent); color: var(--navy-primary); box-shadow: 0 10px 24px -8px rgba(255,201,40,.6); }

.pt-layer {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
}
.pt-layer-bars { display: inline-flex; gap: 3px; align-items: flex-end; }
.pt-layer-bars i {
  display: block;
  width: 5px;
  border-radius: 2px;
  background: rgba(255,255,255,.15);
}
.pt-layer-bars i:nth-child(1) { height: 8px; }
.pt-layer-bars i:nth-child(2) { height: 12px; }
.pt-layer-bars i:nth-child(3) { height: 16px; }
.pt-layer-bars i.on { background: var(--accent); }

.pt-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: .6rem;
}
.pt-desc {
  font-size: 13.5px;
  line-height: 1.95;
  color: rgba(255,255,255,.62);
  margin-bottom: 1.4rem;
}

.pt-features {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 1.15rem 0 0;
  border-top: 1px solid rgba(255,255,255,.08);
  display: grid;
  gap: .65rem;
}
.pt-features li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255,255,255,.86);
}
.pt-features li i {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,201,40,.14);
  color: var(--accent);
  font-size: .8rem;
}

.pt-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.pt-cta i { transition: transform .3s ease; }
.pt-cta:hover { background: rgba(255,255,255,.1); border-color: rgba(255,201,40,.55); color: var(--white); }
.pt-cta:hover i { transform: translateX(-4px); }
.pt-cta-accent {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--navy-primary);
  box-shadow: 0 10px 24px -10px rgba(255,201,40,.6);
}
.pt-cta-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--navy-primary); }

/* ---- Help strip ---- */
.pt-help {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  width: fit-content;
  max-width: 100%;
  margin: 3.25rem auto 0;
  padding: .7rem .8rem .7rem 1.25rem;
  padding-inline-start: 1.25rem;
  border-radius: 100px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  font-size: 14px;
  color: rgba(255,255,255,.75);
}
.pt-help > span { display: inline-flex; align-items: center; gap: .5rem; }
.pt-help > span i { color: var(--accent); }
.pt-help-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem 1rem;
  border: none;
  border-radius: 100px;
  background: rgba(255,201,40,.14);
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 700;
  transition: background .3s ease, color .3s ease;
}
.pt-help-link:hover { background: var(--accent); color: var(--navy-primary); }

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  #product-types { padding: 80px 0 70px; }
  .pt-head { margin-bottom: 2.5rem; }
}
@media (max-width: 575.98px) {
  #product-types { padding: 64px 0 56px; }
  .pt-card-inner { padding: 1.6rem 1.25rem 1.35rem; }
  .pt-badge { top: 1.1rem; inset-inline-end: 1.1rem; }
  .pt-icon { width: 50px; height: 50px; font-size: 1.3rem; border-radius: 14px; }
  .pt-title { font-size: 1.15rem; }
  .pt-sub { font-size: 14.5px; }
  .pt-help { border-radius: 18px; flex-direction: column; text-align: center; padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pt-card.featured { animation: none; }
}

/* ==================================================
   FEATURES (bento grid – صفحه اصلی)
   ================================================== */
#features {
  position: relative;
  background: var(--white);
  padding: 100px 0;
}

/* ---- Head ---- */
.fx-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-bottom: 2.75rem;
}
.fx-heading { margin: 0; max-width: 520px; }
.fx-heading .highlight {
  color: var(--navy-primary);
  background: rgba(255,201,40,.42);
  border-radius: .3em;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
  padding: 0 .2em;
}
.fx-head-side { max-width: 380px; }
.fx-head-side p { font-size: 14.5px; line-height: 1.9; color: var(--muted); margin-bottom: .75rem; }

/* ---- Grid ---- */
.fx-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 1.25rem;
}
.fx-card-lg   { grid-column: span 2; grid-row: span 2; }
.fx-card-wide { grid-column: span 2; }

/* ---- Card ---- */
.fx-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFCFE 100%);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
/* هاله زرد گوشه کارت هنگام hover */
.fx-card::before {
  content: '';
  position: absolute;
  top: -60px;
  inset-inline-start: -60px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,201,40,.22), transparent 70%);
  opacity: 0;
  transform: scale(.6);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}
.fx-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,201,40,.55);
  box-shadow: 0 24px 48px -24px rgba(6,27,51,.28);
}
.fx-card:hover::before { opacity: 1; transform: scale(1); }
.fx-card > *, .fx-card-body > * { position: relative; }

.fx-icon {
  width: 50px; height: 50px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  font-size: 1.3rem;
  color: var(--navy-mid);
  background: var(--light-bg);
  border: 1px solid rgba(13,53,88,.08);
  transition: background .35s ease, color .35s ease, transform .45s cubic-bezier(.2,1.4,.4,1), box-shadow .35s ease;
}
.fx-card:hover .fx-icon {
  background: var(--navy-primary);
  color: var(--accent);
  transform: rotate(-8deg) scale(1.05);
  box-shadow: 0 10px 22px -10px rgba(6,27,51,.5);
}
.fx-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy-primary);
  margin-bottom: .4rem;
}
.fx-desc {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0;
}

/* ---- Large dark card ---- */
.fx-card-lg {
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 1.85rem 1.85rem;
  border: none;
  color: var(--white);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(255,201,40,.16), transparent 65%),
    linear-gradient(160deg, var(--navy-mid) 0%, var(--navy-primary) 70%);
}
.fx-card-lg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}
.fx-card-lg:hover { box-shadow: 0 30px 60px -28px rgba(6,27,51,.7); }
.fx-card-lg .fx-icon {
  background: var(--accent);
  border-color: transparent;
  color: var(--navy-primary);
  width: 56px; height: 56px; font-size: 1.45rem;
}
.fx-card-lg:hover .fx-icon { background: var(--accent); color: var(--navy-primary); }
.fx-card-lg .fx-title { color: var(--white); font-size: 1.3rem; }
.fx-card-lg .fx-desc  { color: rgba(255,255,255,.65); font-size: 14px; max-width: 360px; }
.fx-card-body { position: relative; z-index: 1; }

/* Live alert feed (نمایشی) */
.fx-feed {
  position: relative;
  z-index: 1;
  padding: .85rem;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.fx-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 .25rem .65rem;
  font-size: 11.5px;
  color: rgba(255,255,255,.6);
}
.fx-feed-head > span:first-child { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: rgba(255,255,255,.85); }
.fx-feed-count {
  padding: .15rem .55rem;
  border-radius: 100px;
  background: rgba(239,68,68,.16);
  color: #ff8a8a;
  font-weight: 700;
}
.fx-feed-row {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .6rem .7rem;
  border-radius: 11px;
  background: rgba(255,255,255,.04);
  animation: feedIn .6s cubic-bezier(.2,.8,.2,1) both;
}
.fx-feed-row + .fx-feed-row { margin-top: .4rem; }
.fx-feed-row:nth-child(3) { animation-delay: .15s; }
.fx-feed-row:nth-child(4) { animation-delay: .3s; }
.fx-feed-row div { flex: 1; min-width: 0; }
.fx-feed-row strong { display: block; font-size: 12.5px; font-weight: 700; color: var(--white); line-height: 1.5; }
.fx-feed-row small  { display: block; font-size: 11px; color: rgba(255,255,255,.5); direction: ltr; text-align: right; font-family: var(--font-latin); }
.fx-feed-row time   { font-size: 10.5px; color: rgba(255,255,255,.45); white-space: nowrap; }
.fx-feed-row.is-new {
  background: rgba(255,201,40,.09);
  box-shadow: inset 0 0 0 1px rgba(255,201,40,.25);
  animation: feedIn .6s cubic-bezier(.2,.8,.2,1) both, feedGlow 2.6s ease-in-out 1s infinite;
}
.sev {
  position: relative;
  width: 9px; height: 9px;
  flex-shrink: 0;
  border-radius: 50%;
}
.sev.high { background: #ff5a5f; box-shadow: 0 0 0 4px rgba(255,90,95,.15); }
.sev.mid  { background: #ffb020; box-shadow: 0 0 0 4px rgba(255,176,32,.15); }
@keyframes feedIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes feedGlow {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(255,201,40,.25); }
  50%      { box-shadow: inset 0 0 0 1px rgba(255,201,40,.6), 0 0 22px -6px rgba(255,201,40,.5); }
}

/* ---- Wide card ---- */
.fx-card-wide {
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, var(--light-bg) 0%, #FFFFFF 100%);
}
.fx-card-wide .fx-card-body { flex: 1 1 50%; }
.fx-chips {
  flex: 1 1 50%;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: flex-start;
}
.fx-chips li {
  padding: .35rem .75rem;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--border);
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-mid);
  direction: ltr;
  transition: border-color .3s ease, transform .3s ease, background .3s ease;
}
.fx-card-wide:hover .fx-chips li { border-color: rgba(255,201,40,.5); }
.fx-card-wide:hover .fx-chips li:nth-child(odd) { transform: translateY(-2px); }

/* ---- Responsive ---- */
@media (max-width: 1199.98px) {
  .fx-card-wide { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 991.98px) {
  #features { padding: 80px 0; }
  .fx-head { flex-direction: column; align-items: flex-start; }
  .fx-head-side { max-width: none; }
  .fx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .fx-card-lg { grid-row: auto; }
  .fx-card-wide { flex-direction: row; align-items: center; }
}
@media (max-width: 575.98px) {
  #features { padding: 64px 0; }
  .fx-grid { grid-template-columns: minmax(0, 1fr); }
  .fx-card-lg, .fx-card-wide { grid-column: auto; }
  .fx-card { padding: 1.35rem 1.25rem; }
  .fx-card-lg { padding: 1.6rem 1.25rem 1.25rem; }
  .fx-card-wide { flex-direction: column; align-items: flex-start; }
  .fx-feed-row time { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-feed-row, .fx-feed-row.is-new { animation: none; }
}

/* ==================================================
   INTEGRATIONS
   ================================================== */
#integrations {
  background: var(--light-bg);
  padding: 80px 0;
}

.integration-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
}

.integration-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .6rem 1.1rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-secondary);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
}
.integration-item:hover {
  border-color: rgba(255,201,40,.5);
  box-shadow: 0 4px 16px rgba(6,27,51,.09);
  transform: translateY(-2px);
  color: var(--navy-primary);
}
.integration-item i { font-size: 1.05rem; color: var(--accent-dark); }

.integration-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 13px;
  color: var(--muted);
}

/* ==================================================
   TESTIMONIALS
   ================================================== */
#testimonials {
  background: var(--navy-primary);
  background-image:
    radial-gradient(ellipse 70% 60% at 80% 30%, rgba(13,53,88,.8) 0%, transparent 65%),
    linear-gradient(150deg, var(--navy-primary) 0%, #071f3a 100%);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
#testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.testimonial-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  height: 100%;
  transition: background var(--transition), border-color var(--transition);
}
.testimonial-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,201,40,.25);
}

.testimonial-quote-mark {
  font-size: 2.5rem;
  color: var(--accent);
  line-height: .8;
  margin-bottom: .75rem;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 14px;
  color: rgba(255,255,255,.8);
  line-height: 1.85;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-stars {
  color: var(--accent);
  font-size: .85rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,201,40,.12);
  border: 2px solid rgba(255,201,40,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .1rem;
}
.testimonial-role {
  font-size: 11.5px;
  color: rgba(255,255,255,.45);
}

/* ==================================================
   PRICING
   ================================================== */
#pricing {
  background: var(--light-bg);
  padding: 90px 0;
}

.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-bottom: 3rem;
}
.pricing-toggle-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--body-text);
}
.pricing-save-badge {
  background: rgba(46,204,113,.15);
  color: #1a7a45;
  font-size: 11px;
  font-weight: 700;
  border-radius: 100px;
  padding: .15rem .65rem;
}

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  height: 100%;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.pricing-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  border-color: rgba(11,41,72,.2);
}
.pricing-card.featured {
  background: var(--navy-primary);
  border-color: var(--accent);
  box-shadow: 0 16px 56px rgba(255,201,40,.2);
  transform: scale(1.03);
  z-index: 2;
}
.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 24px 64px rgba(255,201,40,.28);
}

.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--navy-primary);
  font-size: 11px;
  font-weight: 800;
  border-radius: 100px;
  padding: .3rem 1.1rem;
  white-space: nowrap;
}

.pricing-plan-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-primary);
  margin-bottom: .3rem;
}
.pricing-card.featured .pricing-plan-name { color: var(--white); }

.pricing-plan-desc {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 1.4rem;
  line-height: 1.6;
}
.pricing-card.featured .pricing-plan-desc { color: rgba(255,255,255,.5); }

.pricing-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.pricing-price-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: .3rem;
  margin-bottom: 1.4rem;
}
.pricing-card.featured .pricing-price-label { color: rgba(255,255,255,.45); }

.pricing-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.25rem 0;
}
.pricing-card.featured .pricing-divider { border-top-color: rgba(255,255,255,.1); }

.pricing-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.pricing-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: 13.5px;
  color: var(--body-text);
  margin-bottom: .55rem;
}
.pricing-card.featured .pricing-feature-list li { color: rgba(255,255,255,.82); }
.pricing-feature-list li i.check { color: #2ECC71; flex-shrink: 0; margin-top: 2px; }
.pricing-feature-list li i.cross { color: var(--muted); flex-shrink: 0; margin-top: 2px; }
.pricing-feature-list li.dim { opacity: .45; }

.pricing-cta-btn {
  display: block;
  text-align: center;
  padding: .8rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition), color var(--transition);
  cursor: pointer;
  border: 2px solid var(--navy-secondary);
  color: var(--navy-primary);
  background: transparent;
}
.pricing-cta-btn:hover {
  background: var(--navy-primary);
  color: var(--white);
  transform: translateY(-2px);
}
.pricing-cta-btn.accent {
  background: var(--accent);
  color: var(--navy-primary);
  border-color: var(--accent);
  box-shadow: var(--shadow-btn);
}
.pricing-cta-btn.accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 8px 24px rgba(255,201,40,.45);
  color: var(--navy-primary);
}

/* ==================================================
   PRICING (صفحه اصلی)
   ================================================== */
#pricing {
  position: relative;
  overflow: hidden;
  padding: 100px 0 90px;
  background:
    radial-gradient(50% 40% at 50% 0%, rgba(255,201,40,.08), transparent 70%),
    var(--light-bg);
}
.prc-head { max-width: 620px; margin: 0 auto 3.5rem; }
.prc-heading { margin-bottom: .75rem; }
.prc-heading .highlight {
  color: var(--navy-primary);
  background: rgba(255,201,40,.42);
  border-radius: .3em;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
  padding: 0 .2em;
}
.prc-sub { font-size: 15px; line-height: 1.9; color: var(--muted); margin: 0; }

/* ---- Card ---- */
.prc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem 1.85rem;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px -18px rgba(6,27,51,.18);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.prc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,201,40,.55);
  box-shadow: 0 28px 50px -26px rgba(6,27,51,.3);
}

.prc-top { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.prc-icon {
  width: 50px; height: 50px;
  flex-shrink: 0;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--navy-mid);
  background: var(--light-bg);
  border: 1px solid rgba(13,53,88,.08);
  transition: transform .45s cubic-bezier(.2,1.4,.4,1), background .35s ease, color .35s ease;
}
.prc-card:hover .prc-icon { transform: rotate(-8deg) scale(1.05); background: var(--navy-primary); color: var(--accent); }
.prc-name { font-size: 1.25rem; font-weight: 800; color: var(--navy-primary); margin: 0; line-height: 1.4; }
.prc-tag  { font-size: 12px; font-weight: 600; color: var(--muted); }

.prc-desc { font-size: 13.5px; line-height: 1.9; color: var(--muted); margin-bottom: 1.4rem; min-height: 3.8em; }

.prc-price-box {
  padding: 1rem 1.1rem;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: var(--light-bg);
}
.prc-price { font-size: 1.65rem; font-weight: 900; color: var(--navy-primary); line-height: 1.4; }
.prc-price-note { font-size: 12px; color: var(--muted); margin-top: .15rem; }

.prc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .8rem 1rem;
  margin-bottom: 1.6rem;
  border-radius: 12px;
  border: 1.5px solid var(--navy-primary);
  background: transparent;
  color: var(--navy-primary);
  font-size: 14.5px;
  font-weight: 800;
  transition: background .3s ease, color .3s ease, box-shadow .3s ease;
}
.prc-btn i { transition: transform .3s ease; }
.prc-btn:hover { background: var(--navy-primary); color: var(--white); }
.prc-btn:hover i { transform: translateX(-4px); }
.prc-btn-accent {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--navy-primary);
  box-shadow: 0 12px 26px -10px rgba(255,201,40,.65);
}
.prc-btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--navy-primary); }

.prc-list-title {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .9rem;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.prc-list-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.prc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.prc-list li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: 13.5px;
  color: var(--body-text);
}
.prc-list li i {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  background: rgba(16,185,129,.12);
  color: #0e8f63;
}
.prc-list li.off { color: #9AACC0; }
.prc-list li.off i { background: rgba(100,123,150,.1); color: #9AACC0; }

/* ---- Featured ---- */
.prc-card.featured {
  border: none;
  color: var(--white);
  background:
    radial-gradient(90% 45% at 50% 0%, rgba(255,201,40,.2), transparent 70%),
    linear-gradient(165deg, var(--navy-mid) 0%, var(--navy-primary) 65%);
  box-shadow: 0 34px 70px -30px rgba(6,27,51,.75), 0 0 0 1px rgba(255,201,40,.45);
}
.prc-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 60%);
          mask-image: linear-gradient(to bottom, #000, transparent 60%);
  pointer-events: none;
}
.prc-card.featured > * { position: relative; }
.prc-card.featured:hover { box-shadow: 0 40px 80px -30px rgba(6,27,51,.85), 0 0 0 1px var(--accent); }
.prc-card.featured .prc-icon { background: var(--accent); color: var(--navy-primary); border-color: transparent; }
.prc-card.featured .prc-name { color: var(--white); }
.prc-card.featured .prc-tag  { color: var(--accent); }
.prc-card.featured .prc-desc { color: rgba(255,255,255,.62); }
.prc-card.featured .prc-price-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.prc-card.featured .prc-price { color: var(--accent); }
.prc-card.featured .prc-price-note { color: rgba(255,255,255,.55); }
.prc-card.featured .prc-list-title { color: rgba(255,255,255,.55); }
.prc-card.featured .prc-list-title::after { background: rgba(255,255,255,.1); }
.prc-card.featured .prc-list li { color: rgba(255,255,255,.88); }
.prc-card.featured .prc-list li i { background: rgba(255,201,40,.16); color: var(--accent); }
.prc-card.featured .prc-list li.off { color: rgba(255,255,255,.35); }
.prc-card.featured .prc-list li.off i { background: rgba(255,255,255,.06); color: rgba(255,255,255,.35); }

.prc-badge {
  position: absolute !important;
  top: 1.5rem;
  inset-inline-end: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .8rem;
  border-radius: 100px;
  background: var(--accent);
  color: var(--navy-primary);
  font-size: 11.5px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(255,201,40,.4);
}
@media (min-width: 992px) {
  .prc-card.featured { transform: translateY(-16px); }
  .prc-card.featured:hover { transform: translateY(-22px); }
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  #pricing { padding: 80px 0 70px; }
  .prc-head { margin-bottom: 2.5rem; }
  .prc-desc { min-height: 0; }
}
@media (max-width: 575.98px) {
  #pricing { padding: 64px 0 56px; }
  .prc-card { padding: 1.6rem 1.3rem; border-radius: 20px; }
  .prc-badge { top: 1.25rem; inset-inline-end: 1.25rem; }
  .prc-price { font-size: 1.4rem; }
}

/* ==================================================
   BLOG PREVIEW (صفحه اصلی – طراحی جدید)
   ================================================== */
section#blog-preview {
  position: relative;
  padding: 100px 0;
  background: var(--white);
}
.bl-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-bottom: 2.75rem;
}
#blog-preview .section-title .highlight {
  color: var(--navy-primary);
  background: rgba(255,201,40,.42);
  border-radius: .3em;
  padding: 0 .2em;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.bl-all {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.2rem;
  border-radius: 12px;
  border: 1.5px solid var(--navy-primary);
  color: var(--navy-primary);
  font-size: 14px;
  font-weight: 700;
  transition: background .3s ease, color .3s ease;
}
.bl-all i { transition: transform .3s ease; }
.bl-all:hover { background: var(--navy-primary); color: var(--white); }
.bl-all:hover i { transform: translateX(-4px); }

/* ---- Grid ---- */
.bl-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
}
.bl-card-featured { grid-row: span 2; }

/* ---- Card ---- */
.bl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.bl-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,201,40,.55);
  box-shadow: 0 26px 50px -26px rgba(6,27,51,.3);
}
.bl-card-row { flex-direction: row; }

/* Thumbnail (گرافیک جایگزین تصویر شاخص) */
.bl-thumb {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--navy-mid), var(--navy-primary));
}
.bl-card-featured .bl-thumb { aspect-ratio: 16 / 9; }
.bl-card-row .bl-thumb { width: 38%; min-height: 100%; }
.bl-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  transition: transform .6s ease;
}
.bl-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 55%, rgba(255,201,40,.28), transparent 70%);
}
.bl-thumb-2 { background: linear-gradient(150deg, #123a5e, #071d36); }
.bl-thumb-3 { background: linear-gradient(150deg, #0f2f52, #0a2440 60%, #14385c); }
.bl-thumb-icon {
  position: relative;
  z-index: 1;
  width: 74px; height: 74px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .5s cubic-bezier(.2,1.4,.4,1);
}
.bl-card-featured .bl-thumb-icon { width: 96px; height: 96px; font-size: 2.6rem; border-radius: 28px; }
.bl-card-row .bl-thumb-icon { width: 58px; height: 58px; font-size: 1.5rem; border-radius: 18px; }
.bl-card:hover .bl-thumb::before { transform: scale(1.12); }
.bl-card:hover .bl-thumb-icon { transform: rotate(-8deg) scale(1.08); }

.bl-cat {
  position: absolute;
  z-index: 1;
  top: 1rem;
  inset-inline-start: 1rem;
  padding: .3rem .8rem;
  border-radius: 100px;
  background: var(--accent);
  color: var(--navy-primary);
  font-family: var(--font-latin);
  font-size: 11.5px;
  font-weight: 700;
}

/* Body */
.bl-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.6rem 1.4rem;
}
.bl-card-row .bl-body { padding: 1.25rem 1.35rem; }
.bl-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .6rem;
  font-size: 12px;
  color: var(--muted);
}
.bl-meta i { color: #b78a00; }
.bl-cat-inline {
  padding: .1rem .55rem;
  border-radius: 100px;
  background: rgba(255,201,40,.16);
  color: #8a6800;
  font-size: 11px;
  font-weight: 700;
}
.bl-title { font-size: 1.05rem; font-weight: 800; line-height: 1.75; margin-bottom: .5rem; }
.bl-card-featured .bl-title { font-size: 1.3rem; }
.bl-title a {
  color: var(--navy-primary);
  background: linear-gradient(var(--accent), var(--accent)) no-repeat right bottom / 0 2px;
  transition: background-size .4s ease;
}
/* کل کارت قابل کلیک */
.bl-title a::after { content: ''; position: absolute; inset: 0; z-index: 2; }
.bl-card:hover .bl-title a { background-size: 100% 2px; }
.bl-excerpt { font-size: 13.5px; line-height: 1.95; color: var(--muted); margin-bottom: 1rem; }
.bl-card-row .bl-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bl-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: 13.5px;
  font-weight: 700;
  color: #9a7400;
}
.bl-more i { transition: transform .3s ease; }
.bl-card:hover .bl-more i { transform: translateX(-4px); }

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  section#blog-preview { padding: 80px 0; }
  .bl-grid { grid-template-columns: minmax(0, 1fr); }
  .bl-card-featured { grid-row: auto; }
}
@media (max-width: 575.98px) {
  section#blog-preview { padding: 64px 0; }
  .bl-card-row { flex-direction: column; }
  .bl-card-row .bl-thumb { width: 100%; min-height: 0; aspect-ratio: 16 / 7; }
  .bl-card-featured .bl-title { font-size: 1.1rem; }
  .bl-all { width: 100%; justify-content: center; }
}

/* ==================================================
   CONTACT PAGE
   ================================================== */
.ct-hero { padding-bottom: 150px; }

/* ---- Quick options (overlap hero) ---- */
.ct-quick { position: relative; z-index: 5; margin-top: -96px; }
.ct-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.ct-quick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.75rem 1.6rem 1.5rem;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid rgba(6,27,51,.06);
  box-shadow: 0 26px 50px -28px rgba(6,27,51,.35), 0 0 0 1px rgba(6,27,51,.03);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.ct-quick-card:hover { transform: translateY(-6px); border-color: rgba(255,201,40,.55); }
.ct-quick-icon {
  width: 52px; height: 52px;
  margin-bottom: 1rem;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255,201,40,.2), rgba(255,201,40,.06));
  box-shadow: inset 0 0 0 1px rgba(255,201,40,.28);
  color: #b78a00;
  font-size: 1.35rem;
  transition: transform .45s cubic-bezier(.2,1.4,.4,1), background .35s ease, color .35s ease;
}
.ct-quick-card:hover .ct-quick-icon { transform: rotate(-8deg) scale(1.05); background: var(--navy-primary); color: var(--accent); }
.ct-quick-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--navy-primary); margin-bottom: .4rem; }
.ct-quick-card p  { font-size: 13.5px; line-height: 1.9; color: var(--muted); margin-bottom: 1.25rem; }
.ct-quick-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: 100%;
  padding: .7rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--navy-primary);
  background: transparent;
  color: var(--navy-primary);
  font-size: 14px;
  font-weight: 800;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.ct-quick-btn i { transition: transform .3s ease; }
.ct-quick-btn:hover { background: var(--navy-primary); color: var(--white); }
.ct-quick-btn:hover i { transform: translateX(-4px); }
.ct-quick-btn.accent { background: var(--accent); border-color: var(--accent); box-shadow: 0 12px 24px -10px rgba(255,201,40,.6); }
.ct-quick-btn.accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--navy-primary); }
.ct-quick-card.featured {
  border: none;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(255,201,40,.18), transparent 70%),
    linear-gradient(160deg, var(--navy-mid), var(--navy-primary));
}
.ct-quick-card.featured h3 { color: var(--white); }
.ct-quick-card.featured p  { color: rgba(255,255,255,.62); }
.ct-quick-card.featured .ct-quick-icon { background: var(--accent); color: var(--navy-primary); box-shadow: none; }

/* ---- Main ---- */
.ct-main { padding: 80px 0 100px; background: var(--white); }

/* Info card (dark) */
.ct-info {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  border-radius: 24px;
  color: var(--white);
  background:
    radial-gradient(80% 50% at 100% 0%, rgba(255,201,40,.15), transparent 70%),
    linear-gradient(165deg, var(--navy-mid) 0%, var(--navy-primary) 60%);
}
.ct-info::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%);
          mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
.ct-info-title { font-size: 1.25rem; font-weight: 800; color: var(--white); margin-bottom: .3rem; }
.ct-info-sub { font-size: 13.5px; color: rgba(255,255,255,.6); margin-bottom: 1.5rem; }
.ct-info-list { display: grid; gap: .6rem; margin: 0 0 1.5rem; }
.ct-info-list li {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .7rem .8rem;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  transition: background .25s ease, border-color .25s ease;
}
.ct-info-list li:hover { background: rgba(255,255,255,.07); border-color: rgba(255,201,40,.35); }
.ct-info-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,201,40,.14);
  color: var(--accent);
  font-size: 1.05rem;
}
.ct-info-list small  { display: block; font-size: 11.5px; color: rgba(255,255,255,.5); line-height: 1.5; }
.ct-info-list strong { display: block; font-size: 14px; font-weight: 700; color: var(--white); }
.ct-info-list strong[dir="ltr"] { text-align: right; }

.ct-social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
  color: rgba(255,255,255,.6);
}
.ct-map {
  margin-top: auto;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  border-radius: 18px;
  border: 1px dashed rgba(255,255,255,.18);
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 22px 22px,
    rgba(255,255,255,.03);
  color: rgba(255,255,255,.7);
  font-size: 13.5px;
  font-weight: 700;
}
.ct-map small { font-size: 11.5px; font-weight: 400; color: rgba(255,255,255,.45); }
.ct-map-pin {
  width: 46px; height: 46px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .35rem;
  background: var(--accent);
  color: var(--navy-primary);
  box-shadow: 0 10px 22px -8px rgba(255,201,40,.6);
  animation: pinBounce 2.4s ease-in-out infinite;
}
.ct-map-pin i { transform: rotate(45deg); font-size: 1.15rem; }
@keyframes pinBounce {
  0%, 100% { transform: rotate(-45deg) translate(0, 0); }
  50%      { transform: rotate(-45deg) translate(3px, -3px); }
}

/* Form card */
.ct-form-card {
  height: 100%;
  padding: 2rem 2.25rem;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 24px 50px -32px rgba(6,27,51,.3);
}
.ct-form-head {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.ct-form-icon {
  width: 50px; height: 50px;
  flex-shrink: 0;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-primary);
  color: var(--accent);
  font-size: 1.25rem;
}
.ct-form-head h2 { font-size: 1.3rem; font-weight: 800; color: var(--navy-primary); margin-bottom: .15rem; }
.ct-form-head p  { margin: 0; font-size: 13.5px; color: var(--muted); }
.ct-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.ct-form-foot .demo-privacy { margin: 0; }
.ct-submit { width: auto; min-width: 200px; padding-inline: 1.75rem; }
.ct-chip-error { display: none; margin-top: .35rem; font-size: 12px; color: #dc3545; }
.was-validated .ct-chip-error.show { display: block; }
.ct-again { width: auto; padding-inline: 1.5rem; }

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  .ct-hero { padding-bottom: 130px; }
  .ct-quick { margin-top: -80px; }
  .ct-quick-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
  .ct-main { padding: 60px 0 80px; }
}
@media (max-width: 575.98px) {
  .ct-form-card { padding: 1.5rem 1.25rem; border-radius: 20px; }
  .ct-info { padding: 1.6rem 1.25rem; border-radius: 20px; }
  .ct-submit { width: 100%; }
  .ct-form-foot { flex-direction: column-reverse; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-map-pin { animation: none; }
}

/* ==================================================
   RESPONSIVE TWEAKS
   ================================================== */
@media (max-width: 767px) {
  .section-title { font-size: 1.35rem; }
  .stat-value { font-size: 1.8rem; }
}


/* ==================================================
   BLOG PREVIEW (homepage)
   ================================================== */
#blog-preview {
  background: var(--light-bg);
  padding: 90px 0;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-card);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.blog-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  flex-shrink: 0;
}
.blog-card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-dark);
  background: rgba(255,201,40,.1);
  border-radius: 100px;
  padding: .18rem .7rem;
  margin-bottom: .7rem;
}
.blog-card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy-primary);
  line-height: 1.5;
  margin-bottom: .55rem;
  flex: 1;
}
.blog-card-excerpt {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--muted);
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}
.blog-read-more {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: color var(--transition);
}
.blog-read-more:hover { color: var(--navy-primary); }

/* ==================================================
   INNER PAGE HERO (sub-pages) – هم‌سبک صفحه اصلی
   ================================================== */
.inner-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 84px 0 92px;
  text-align: center;
  background:
    radial-gradient(45% 60% at 50% 0%, rgba(255,201,40,.14), transparent 70%),
    radial-gradient(35% 50% at 92% 100%, rgba(56,132,255,.16), transparent 70%),
    radial-gradient(30% 45% at 5% 30%, rgba(56,132,255,.12), transparent 70%),
    var(--navy-primary);
}
/* شبکه خطوط ظریف */
.inner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 80% at 50% 30%, #000 30%, transparent 100%);
          mask-image: radial-gradient(70% 80% at 50% 30%, #000 30%, transparent 100%);
}
/* خط نورانی پایین */
.inner-hero::after {
  content: '';
  position: absolute;
  right: 0; left: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,201,40,.55), transparent);
  pointer-events: none;
}
.inner-hero-eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1.1rem;
  padding: .35rem .95rem;
  border-radius: 100px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255,255,255,.9);
}
.inner-hero-eyebrow i { color: var(--accent); }
/* وقتی breadcrumb هست، برچسب تکراری نمایش داده نشود */
.breadcrumb-wrap + .inner-hero-eyebrow { display: none; }
.inner-hero-title {
  position: relative;
  z-index: 1;
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: 900;
  line-height: 1.35;
  color: var(--white);
  margin-bottom: 1rem;
}
.inner-hero-title .highlight { color: var(--accent); }
.inner-hero-sub {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto 1.25rem;
  font-size: 15.5px;
  line-height: 1.95;
  color: rgba(255,255,255,.65);
}

/* Breadcrumb – کپسول شیشه‌ای */
.breadcrumb-wrap {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  margin: 0 auto 1.4rem;
  padding: .35rem .9rem;
  border-radius: 100px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
}
.inner-hero .container { display: flex; flex-direction: column; align-items: center; }
.breadcrumb-wrap a { color: rgba(255,255,255,.55); transition: color .2s ease; }
.breadcrumb-wrap a:hover { color: var(--accent); }
.breadcrumb-wrap .bc-sep { color: rgba(255,255,255,.25); font-size: 11px; }
.breadcrumb-wrap .bc-cur { color: var(--white); font-weight: 600; }

@media (max-width: 575.98px) {
  .inner-hero { padding: 64px 0 70px; }
  .inner-hero-sub { font-size: 14.5px; }
}

/* ==================================================
   ABOUT PAGE
   ================================================== */
/* هایلایت مارکری روی بخش‌های روشن (هم‌سبک صفحه اصلی) */
.ab-mission .highlight,
.ab-values .highlight,
.ab-timeline-sec .highlight {
  color: var(--navy-primary);
  background: rgba(255,201,40,.42);
  border-radius: .3em;
  padding: 0 .2em;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.ab-lead { font-size: 15px; line-height: 2; color: #4C6580; margin-bottom: 1.25rem; }
.ab-title { margin-bottom: 1rem; }
.ab-head { max-width: 620px; margin: 0 auto 3rem; }

/* ---- Mission ---- */
.ab-mission { padding: 100px 0; background: var(--white); }
.ab-quote {
  position: relative;
  padding: 1.25rem 1.5rem 1.25rem 1.25rem;
  padding-inline-start: 3.25rem;
  border-radius: 18px;
  background: var(--light-bg);
  border-inline-start: 4px solid var(--accent);
}
.ab-quote i {
  position: absolute;
  top: .85rem;
  inset-inline-start: 1rem;
  font-size: 1.6rem;
  color: var(--accent-dark);
  line-height: 1;
}
.ab-quote p { margin: 0; font-size: 14.5px; line-height: 1.95; color: var(--navy-secondary); font-weight: 600; }

.ab-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.ab-stat {
  position: relative;
  overflow: hidden;
  padding: 1.6rem 1.4rem;
  border-radius: 22px;
  background: var(--light-bg);
  border: 1px solid rgba(13,53,88,.06);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.ab-stat:hover { transform: translateY(-5px); box-shadow: 0 24px 44px -24px rgba(6,27,51,.35); }
.ab-stat-icon {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  border-radius: 12px;
  background: var(--white);
  color: #b78a00;
  font-size: 1.1rem;
  box-shadow: 0 6px 14px -8px rgba(6,27,51,.3);
}
.ab-stat-value {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--navy-primary);
  margin-bottom: .3rem;
}
.ab-stat-value small { font-size: 1rem; font-weight: 700; }
.ab-stat-label { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.ab-stat-dark {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(255,201,40,.18), transparent 70%),
    linear-gradient(160deg, var(--navy-mid), var(--navy-primary));
  border-color: transparent;
}
.ab-stat-dark .ab-stat-icon { background: var(--accent); color: var(--navy-primary); box-shadow: none; }
.ab-stat-dark .ab-stat-value { color: var(--accent); }
.ab-stat-dark .ab-stat-label { color: rgba(255,255,255,.65); }
@media (min-width: 576px) {
  .ab-stats .ab-stat:nth-child(even) { transform: translateY(24px); }
  .ab-stats .ab-stat:nth-child(even):hover { transform: translateY(19px); }
}

/* ---- Values ---- */
.ab-values { padding: 100px 0; background: var(--light-bg); }
.ab-value {
  position: relative;
  height: 100%;
  padding: 2rem 1.5rem 1.75rem;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.ab-value::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 30%; left: 30%;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.ab-value:hover {
  transform: translateY(-6px);
  border-color: rgba(255,201,40,.55);
  box-shadow: 0 26px 48px -26px rgba(6,27,51,.3);
}
.ab-value:hover::after { transform: scaleX(1); }
.ab-value-icon {
  width: 62px; height: 62px;
  margin: 0 auto 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  font-size: 1.5rem;
  color: #b78a00;
  background: linear-gradient(145deg, rgba(255,201,40,.2), rgba(255,201,40,.06));
  box-shadow: inset 0 0 0 1px rgba(255,201,40,.28);
  transition: background .35s ease, color .35s ease, transform .45s cubic-bezier(.2,1.4,.4,1);
}
.ab-value:hover .ab-value-icon {
  background: linear-gradient(145deg, var(--navy-mid), var(--navy-primary));
  color: var(--accent);
  transform: rotate(-8deg) scale(1.05);
}
.ab-value h3 { font-size: 1.05rem; font-weight: 800; color: var(--navy-primary); margin-bottom: .5rem; }
.ab-value p  { font-size: 13.5px; line-height: 1.9; color: var(--muted); margin: 0; }
.js-justify .ab-value p { text-align: center; }

/* ---- Timeline ---- */
.ab-timeline-sec { padding: 100px 0; background: var(--white); }
@media (min-width: 992px) {
  .ab-tl-intro { position: sticky; top: 110px; }
}
.ab-tl { position: relative; margin: 0; padding: 0; }
.ab-tl::before {
  content: '';
  position: absolute;
  top: 22px; bottom: 22px;
  right: 22px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(255,201,40,.15));
}
.ab-tl-item { position: relative; display: flex; gap: 1.25rem; }
.ab-tl-item + .ab-tl-item { margin-top: 1.1rem; }
.ab-tl-dot {
  position: relative;
  z-index: 1;
  width: 46px; height: 46px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(13,53,88,.1);
  box-shadow: 0 8px 18px -10px rgba(13,53,88,.35);
  color: var(--navy-mid);
  font-size: 1.1rem;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.ab-tl-card {
  flex: 1;
  padding: 1.15rem 1.35rem;
  border-radius: 18px;
  background: var(--light-bg);
  border: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.ab-tl-item:hover .ab-tl-card {
  background: var(--white);
  border-color: rgba(255,201,40,.55);
  box-shadow: 0 18px 36px -22px rgba(6,27,51,.3);
  transform: translateX(-4px);
}
.ab-tl-item:hover .ab-tl-dot { background: var(--navy-primary); color: var(--accent); transform: scale(1.06); }
.ab-tl-year {
  display: inline-block;
  margin-bottom: .4rem;
  padding: .1rem .65rem;
  border-radius: 100px;
  background: rgba(255,201,40,.2);
  color: #8a6800;
  font-size: 12px;
  font-weight: 800;
}
.ab-tl-card h3 { font-size: 1rem; font-weight: 800; color: var(--navy-primary); margin-bottom: .3rem; }
.ab-tl-card p  { font-size: 13.5px; line-height: 1.9; color: var(--muted); margin: 0; }
.ab-tl-item.is-current .ab-tl-dot { background: var(--accent); border-color: var(--accent); color: var(--navy-primary); }
.ab-tl-item.is-current .ab-tl-dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 18px;
  border: 2px solid rgba(255,201,40,.5);
  animation: ringPulse 2.4s ease-out infinite;
}
.ab-tl-item.is-current .ab-tl-card {
  background:
    radial-gradient(80% 80% at 100% 0%, rgba(255,201,40,.16), transparent 70%),
    linear-gradient(160deg, var(--navy-mid), var(--navy-primary));
}
.ab-tl-item.is-current .ab-tl-year { background: var(--accent); color: var(--navy-primary); }
.ab-tl-item.is-current h3 { color: var(--white); }
.ab-tl-item.is-current p  { color: rgba(255,255,255,.65); }
.ab-tl-item.is-current:hover .ab-tl-card { border-color: transparent; }

/* ---- CTA ---- */
.ab-cta { padding: 0 0 100px; background: var(--white); }
.ab-cta-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  padding: 2.75rem 3rem;
  border-radius: 28px;
  color: var(--white);
  background:
    radial-gradient(50% 120% at 0% 50%, rgba(255,201,40,.2), transparent 70%),
    radial-gradient(40% 100% at 100% 0%, rgba(56,132,255,.18), transparent 70%),
    var(--navy-primary);
  box-shadow: 0 34px 70px -34px rgba(6,27,51,.7);
}
.ab-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.ab-cta-card h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 900; color: var(--white); margin-bottom: .5rem; }
.ab-cta-card p  { font-size: 15px; color: rgba(255,255,255,.65); margin: 0; max-width: 520px; }
.text-accent { color: var(--accent); }
.ab-cta-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.25rem; }
.ab-cta-link {
  display: inline-flex;
  align-items: center;
  padding: .8rem 1.4rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.22);
  color: var(--white);
  font-size: 14.5px;
  font-weight: 700;
  transition: background .3s ease, border-color .3s ease;
}
.ab-cta-link:hover { background: rgba(255,255,255,.08); border-color: rgba(255,201,40,.55); color: var(--white); }

/* ---- About responsive ---- */
@media (max-width: 991.98px) {
  .ab-mission, .ab-values, .ab-timeline-sec { padding: 80px 0; }
  .ab-cta { padding-bottom: 80px; }
  .ab-cta-card { padding: 2.25rem 2rem; }
}
@media (max-width: 575.98px) {
  .ab-mission, .ab-values, .ab-timeline-sec { padding: 64px 0; }
  .ab-cta { padding-bottom: 64px; }
  .ab-stat { padding: 1.25rem 1.1rem; border-radius: 18px; }
  .ab-stat-value { font-size: 1.75rem; }
  .ab-tl-item { gap: .85rem; }
  .ab-tl-card { padding: 1rem 1.1rem; }
  .ab-cta-card { padding: 1.75rem 1.35rem; border-radius: 22px; text-align: center; justify-content: center; }
  .ab-cta-card p { margin-inline: auto; }
  .ab-cta-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .ab-cta-actions .btn-hero, .ab-cta-link { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-tl-item.is-current .ab-tl-dot::after { animation: none; }
}

/* ==================================================
   FEATURES PAGE
   ================================================== */
/* پرش سریع در هدر */
.fp-jump {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-top: .75rem;
}
.fp-jump a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 700;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.fp-jump a i { color: var(--accent); transition: color .25s ease; }
.fp-jump a:hover { background: var(--accent); border-color: var(--accent); color: var(--navy-primary); }
.fp-jump a:hover i { color: var(--navy-primary); }

/* گروه‌ها */
.fp-group { padding: 100px 0; background: var(--white); scroll-margin-top: 70px; }
.fp-group-alt { background: var(--light-bg); }
.fp-group .highlight,
.fp-compare + .x .highlight {
  color: var(--navy-primary);
  background: rgba(255,201,40,.42);
  border-radius: .3em;
  padding: 0 .2em;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.fp-intro { position: relative; }
@media (min-width: 992px) { .fp-intro { position: sticky; top: 110px; } }
.fp-intro .section-title { margin-bottom: 1rem; }

.fp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.fp-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem 1.5rem;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.fp-group-alt .fp-card { background: var(--white); }
.fp-group:not(.fp-group-alt) .fp-card { background: linear-gradient(180deg, #FFFFFF, #FAFCFE); }
.fp-card::before {
  content: '';
  position: absolute;
  top: -60px;
  inset-inline-start: -60px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,201,40,.22), transparent 70%);
  opacity: 0;
  transform: scale(.6);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}
.fp-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,201,40,.55);
  box-shadow: 0 24px 48px -24px rgba(6,27,51,.28);
}
.fp-card:hover::before { opacity: 1; transform: scale(1); }
.fp-card > * { position: relative; }
.fp-icon {
  width: 50px; height: 50px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255,201,40,.2), rgba(255,201,40,.06));
  box-shadow: inset 0 0 0 1px rgba(255,201,40,.28);
  color: #b78a00;
  font-size: 1.3rem;
  transition: background .35s ease, color .35s ease, transform .45s cubic-bezier(.2,1.4,.4,1);
}
.fp-card:hover .fp-icon {
  background: var(--navy-primary);
  color: var(--accent);
  transform: rotate(-8deg) scale(1.05);
}
.fp-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--navy-primary); margin-bottom: .45rem; }
.fp-card p  { font-size: 13.5px; line-height: 1.95; color: var(--muted); margin: 0; }

/* جدول مقایسه */
.fp-compare {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 100px 0;
  scroll-margin-top: 70px;
  background:
    radial-gradient(40% 50% at 50% 0%, rgba(255,201,40,.12), transparent 70%),
    radial-gradient(35% 45% at 0% 100%, rgba(56,132,255,.14), transparent 70%),
    var(--navy-primary);
}
.fp-compare::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%);
          mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%);
}
.fp-table-wrap {
  max-width: 920px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.fp-table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; }
.fp-table th, .fp-table td { padding: 1rem 1.25rem; text-align: center; }
.fp-table thead th {
  font-size: 13.5px;
  font-weight: 800;
  color: rgba(255,255,255,.7);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.fp-table thead th:first-child,
.fp-table tbody th { text-align: right; }
.fp-table tbody th { font-size: 14px; font-weight: 700; color: var(--white); }
.fp-table tbody tr + tr > * { border-top: 1px solid rgba(255,255,255,.06); }
.fp-table tbody tr { transition: background .25s ease; }
.fp-table tbody tr:hover { background: rgba(255,255,255,.04); }
.fp-table .is-us { background: rgba(255,201,40,.08); }
.fp-table thead .is-us { background: rgba(255,201,40,.14); }
.fp-us-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .8rem;
  border-radius: 100px;
  background: var(--accent);
  color: var(--navy-primary);
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
}
.fp-ic {
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: .9rem;
}
.fp-ic.yes  { background: rgba(16,185,129,.2);  color: #34d399; }
.fp-ic.part { background: rgba(255,201,40,.18); color: var(--accent); }
.fp-ic.no   { background: rgba(239,68,68,.16);  color: #ff7b7b; }
.fp-table .is-us .fp-ic.yes { background: #10b981; color: var(--white); }
.fp-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem 1.75rem;
  margin: 1.5rem 0 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.6);
}
.fp-legend li { display: inline-flex; align-items: center; gap: .45rem; }
.fp-legend .fp-ic { width: 22px; height: 22px; font-size: .75rem; }

/* Responsive */
@media (max-width: 991.98px) {
  .fp-group, .fp-compare { padding: 80px 0; }
}
@media (max-width: 575.98px) {
  .fp-group, .fp-compare { padding: 64px 0; }
  .fp-grid { grid-template-columns: minmax(0, 1fr); }
  .fp-card { padding: 1.35rem 1.25rem; }
  .fp-jump a { padding: .45rem .8rem; font-size: 12.5px; }
  .fp-table { min-width: 0; }
  .fp-table th, .fp-table td { padding: .75rem .4rem; }
  .fp-table thead th { font-size: 11px; line-height: 1.5; }
  .fp-table tbody th { font-size: 12.5px; padding-inline-start: .9rem; }
  .fp-us-badge { padding: .25rem .5rem; font-size: 11px; }
  .fp-us-badge i { display: none; }
  .fp-ic { width: 24px; height: 24px; font-size: .8rem; }
}

/* ---- Features page: console preview ---- */
.inner-hero.fp-hero { padding-bottom: 200px; }
.fp-console-sec { position: relative; z-index: 5; margin-top: -150px; padding-bottom: 20px; background: transparent; }
.fp-console {
  max-width: 980px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background: #0A223E;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 50px 90px -40px rgba(2,12,27,.7), 0 0 0 6px rgba(255,255,255,.04);
  color: var(--white);
}
.fpc-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .7rem 1rem;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 11.5px;
}
.fpc-dots { display: inline-flex; gap: 6px; direction: ltr; }
.fpc-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.fpc-dots i:nth-child(1) { background: #ff5f57; }
.fpc-dots i:nth-child(2) { background: #febc2e; }
.fpc-dots i:nth-child(3) { background: #28c840; }
.fpc-url {
  flex: 1;
  max-width: 280px;
  margin: 0 auto;
  padding: .25rem .75rem;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.55);
  font-family: var(--font-latin);
  direction: ltr;
  text-align: center;
}
.fpc-url i { font-size: .7rem; color: #34d399; }
.fpc-demo { padding: .15rem .6rem; border-radius: 100px; background: rgba(255,201,40,.14); color: var(--accent); font-weight: 700; }

.fpc-body { display: flex; min-height: 340px; }
.fpc-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  width: 64px;
  padding: 1rem 0;
  border-inline-start: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.12);
}
.fpc-logo {
  width: 36px; height: 36px;
  margin-bottom: .6rem;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--navy-primary);
}
.fpc-nav {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45);
}
.fpc-nav.active { background: rgba(255,201,40,.14); color: var(--accent); }

.fpc-main { flex: 1; min-width: 0; padding: 1.25rem 1.4rem 1.4rem; }
.fpc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.fpc-head strong { display: block; font-size: 15px; font-weight: 800; }
.fpc-head small { font-size: 11.5px; color: rgba(255,255,255,.5); }
.fpc-live { display: inline-flex; align-items: center; gap: .45rem; padding: .25rem .7rem; border-radius: 100px; background: rgba(16,185,129,.12); color: #4ade80; font-size: 11.5px; font-weight: 700; }

.fpc-tiles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .75rem; margin-bottom: .75rem; }
.fpc-tile {
  padding: .85rem 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
}
.fpc-tile small { display: block; font-size: 11px; color: rgba(255,255,255,.5); }
.fpc-tile strong { display: block; font-size: 1.6rem; font-weight: 900; line-height: 1.4; }
.fpc-tile span { font-size: 11px; color: rgba(255,255,255,.55); }
.fpc-tile .up { color: #4ade80; }
.fpc-tile.warn strong { color: #ffb020; }
.fpc-tile.warn span { color: #ffb020; }
.fpc-tile.ok strong { color: var(--accent); }
.fpc-meter { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); margin-top: .35rem; overflow: hidden; }
.fpc-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #ffe58a); }

.fpc-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: .75rem; }
.fpc-panel { padding: .9rem 1rem; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.fpc-panel-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; font-size: 12.5px; font-weight: 700; }
.fpc-panel-h small { font-size: 10.5px; color: rgba(255,255,255,.45); font-weight: 400; }
.fpc-chart { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding-top: .25rem; }
.fpc-chart i {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(to top, rgba(56,132,255,.35), rgba(56,132,255,.75));
  transform-origin: bottom;
  animation: barGrow 1.1s cubic-bezier(.2,.8,.2,1) both;
}
.fpc-chart i:nth-child(2) { animation-delay: .08s; }
.fpc-chart i:nth-child(3) { animation-delay: .16s; }
.fpc-chart i:nth-child(4) { animation-delay: .24s; }
.fpc-chart i:nth-child(5) { animation-delay: .32s; }
.fpc-chart i:nth-child(6) { animation-delay: .40s; }
.fpc-chart i:nth-child(7) { animation-delay: .48s; }
.fpc-chart i.hot { background: linear-gradient(to top, rgba(255,201,40,.45), var(--accent)); }
@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.fpc-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .6rem;
  border-radius: 10px;
  font-size: 12px;
}
.fpc-row + .fpc-row { margin-top: .3rem; }
.fpc-row b { flex: 1; font-weight: 600; color: rgba(255,255,255,.88); }
.fpc-row time { font-size: 10.5px; color: rgba(255,255,255,.45); }
.fpc-row.is-new { background: rgba(255,201,40,.09); animation: feedGlow 2.6s ease-in-out 1s infinite; }

/* Cycle strip */
.fp-cycle {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1rem;
  max-width: 980px;
  margin: 2.5rem auto 0;
  padding: 0;
}
.fp-cycle::before {
  content: '';
  position: absolute;
  top: 24px;
  right: 12%; left: 12%;
  height: 2px;
  background: repeating-linear-gradient(to left, var(--accent) 0 8px, transparent 8px 16px);
  opacity: .6;
}
.fp-cycle li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem; }
.fp-cycle-ic {
  position: relative;
  width: 50px; height: 50px;
  border-radius: 15px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 10px 22px -12px rgba(6,27,51,.35);
  color: var(--navy-mid);
  font-size: 1.2rem;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.fp-cycle li:hover .fp-cycle-ic { background: var(--navy-primary); color: var(--accent); transform: translateY(-3px); }
.fp-cycle strong { display: block; font-size: 14px; font-weight: 800; color: var(--navy-primary); }
.fp-cycle small { display: block; font-size: 12px; color: var(--muted); }

@media (max-width: 767.98px) {
  .inner-hero.fp-hero { padding-bottom: 150px; }
  .fp-console-sec { margin-top: -110px; }
  .fpc-side { display: none; }
  .fpc-grid { grid-template-columns: minmax(0,1fr); }
  .fpc-tiles { grid-template-columns: repeat(3, minmax(0,1fr)); gap: .5rem; }
  .fpc-tile { padding: .65rem .7rem; }
  .fpc-tile strong { font-size: 1.25rem; }
  .fpc-tile span, .fpc-meter { display: none; }
  .fpc-main { padding: 1rem; }
  .fpc-url { display: none; }
  .fp-cycle { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 1.5rem; }
  .fp-cycle::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fpc-chart i, .fpc-row.is-new { animation: none; }
}

/* ==================================================
   PRICING PAGE
   ================================================== */
.pp-plans { padding: 90px 0 100px; background: var(--light-bg); }
.pp-plans .prc-name { font-size: 1.25rem; }
.pp-compare, .pp-faq-sec { padding: 100px 0; background: var(--white); }
.pp-faq-sec { background: var(--light-bg); }
.pp-compare .highlight,
.pp-faq-sec .highlight {
  color: var(--navy-primary);
  background: rgba(255,201,40,.42);
  border-radius: .3em;
  padding: 0 .2em;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}

/* Comparison table */
.pp-table-wrap {
  max-width: 960px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 24px 50px -32px rgba(6,27,51,.3);
}
.pp-table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; }
.pp-table th, .pp-table td { padding: 1rem 1.25rem; text-align: center; font-size: 13.5px; color: var(--body-text); }
.pp-table thead th { font-size: 14px; font-weight: 800; color: var(--navy-primary); background: #FAFCFE; border-bottom: 1px solid var(--border); }
.pp-table thead th:first-child, .pp-table tbody th { text-align: right; }
.pp-table tbody th { font-weight: 700; color: var(--navy-primary); }
.pp-table tbody tr + tr > * { border-top: 1px solid var(--border); }
.pp-table tbody tr:hover > * { background: #FAFCFE; }
.pp-table .is-us, .pp-table tbody tr:hover > .is-us { background: rgba(255,201,40,.09); font-weight: 700; color: var(--navy-primary); }
.pp-table thead .is-us { background: rgba(255,201,40,.16); }
.pp-ic {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: .85rem;
}
.pp-ic.yes { background: #10b981; color: var(--white); }
.pp-ic.no  { background: rgba(100,123,150,.12); color: #9AACC0; }

/* FAQ */
@media (min-width: 992px) { .pp-faq-intro { position: sticky; top: 110px; } }
.pp-faq { display: grid; gap: .75rem; }
.pp-faq-item {
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.pp-faq-item:has(.collapse.show) { border-color: rgba(255,201,40,.65); box-shadow: 0 18px 36px -24px rgba(6,27,51,.3); }
.pp-faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  border: none;
  background: transparent;
  text-align: right;
  font-family: var(--font-fa);
  font-size: 15px;
  font-weight: 800;
  color: var(--navy-primary);
}
.pp-faq-icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--light-bg);
  color: var(--navy-mid);
  transition: background .3s ease, color .3s ease;
}
.pp-faq-icon i { transition: transform .3s ease; }
.pp-faq-btn:not(.collapsed) .pp-faq-icon { background: var(--accent); color: var(--navy-primary); }
.pp-faq-btn:not(.collapsed) .pp-faq-icon i { transform: rotate(45deg); }
.pp-faq-btn:hover .pp-faq-icon { background: var(--navy-primary); color: var(--accent); }
.pp-faq-body { padding: 0 1.35rem 1.25rem; font-size: 14px; line-height: 2; color: var(--muted); text-align: justify; }

@media (max-width: 991.98px) {
  .pp-plans { padding: 70px 0 80px; }
  .pp-compare, .pp-faq-sec { padding: 80px 0; }
}
@media (max-width: 575.98px) {
  .pp-compare, .pp-faq-sec { padding: 64px 0; }
  .pp-table { min-width: 0; }
  .pp-table th, .pp-table td { padding: .75rem .45rem; font-size: 12px; }
  .pp-table tbody th { padding-inline-start: .9rem; }
  .pp-faq-btn { font-size: 14px; padding: 1rem 1.1rem; }
}

/* ==================================================
   BLOG PAGE
   ================================================== */
/* Search in hero */
.bp-search {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  margin: .75rem auto 0;
}
.bp-search i {
  position: absolute;
  top: 50%;
  right: 1.1rem;
  transform: translateY(-50%);
  z-index: 2;
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  pointer-events: none;
}
.bp-search input {
  width: 100%;
  height: 54px;
  padding: 0 3rem 0 1.25rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  font-family: var(--font-fa);
  font-size: 14.5px;
  outline: none;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.bp-search input::placeholder { color: rgba(255,255,255,.45); }
.bp-search input:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 4px rgba(255,201,40,.15);
}

.bp-section { padding: 70px 0 100px; background: var(--light-bg); }

/* Toolbar */
.bp-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.bp-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.bp-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--body-text);
  font-size: 13px;
  font-weight: 600;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.bp-chip:hover { border-color: rgba(255,201,40,.7); transform: translateY(-1px); }
.bp-chip.active { background: var(--navy-primary); border-color: var(--navy-primary); color: var(--white); }
.bp-count {
  min-width: 20px;
  height: 20px;
  padding: 0 .35rem;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.bp-chip.active .bp-count { background: var(--accent); color: var(--navy-primary); }
.bp-result { margin: 0; font-size: 13px; color: var(--muted); }

/* Grid */
.bp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.bp-card .bl-thumb { aspect-ratio: 16 / 9; }
.bp-card.is-hidden { display: none; }
.bp-card { animation: bpIn .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes bpIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* Featured (full width, horizontal) */
.bp-featured { grid-column: 1 / -1; flex-direction: row; }
.bp-featured .bl-thumb { width: 50%; aspect-ratio: auto; min-height: 320px; }
.bp-featured .bl-thumb-icon { width: 104px; height: 104px; font-size: 2.8rem; border-radius: 30px; }
.bp-featured .bl-body { padding: 2.25rem 2.25rem 2rem; justify-content: center; }
.bp-featured .bl-title { font-size: 1.55rem; line-height: 1.6; }
.bp-featured .bl-excerpt { font-size: 15px; }
.bp-featured-tag {
  position: absolute;
  z-index: 1;
  bottom: 1rem;
  inset-inline-end: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .8rem;
  border-radius: 100px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
}
.bp-featured-tag i { color: var(--accent); font-size: .7rem; }
/* وقتی فیلتر فعال است، مقاله ویژه مثل بقیه نمایش داده شود */
.bp-grid.is-filtered .bp-featured { grid-column: auto; flex-direction: column; }
.bp-grid.is-filtered .bp-featured .bl-thumb { width: 100%; min-height: 0; aspect-ratio: 16 / 10; }
.bp-grid.is-filtered .bp-featured .bl-thumb-icon { width: 74px; height: 74px; font-size: 2rem; border-radius: 22px; }
.bp-grid.is-filtered .bp-featured .bl-body { padding: 1.5rem 1.6rem 1.4rem; }
.bp-grid.is-filtered .bp-featured .bl-title { font-size: 1.05rem; }
.bp-grid.is-filtered .bp-featured .bl-excerpt { font-size: 13.5px; }
.bp-grid.is-filtered .bp-featured-tag { display: none; }

.bl-cat-fa { font-family: var(--font-fa); }

/* Empty state */
.bp-empty {
  padding: 3.5rem 1rem;
  text-align: center;
  border-radius: 22px;
  border: 1.5px dashed var(--border);
  background: var(--white);
}
.bp-empty-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  color: var(--muted);
  font-size: 1.5rem;
}
.bp-empty h2 { font-size: 1.15rem; font-weight: 800; color: var(--navy-primary); margin-bottom: .4rem; }
.bp-empty p  { font-size: 14px; color: var(--muted); margin-bottom: 1.25rem; }

/* Newsletter */
.bp-news {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 3.5rem;
  padding: 2.25rem 2.5rem;
  border-radius: 26px;
  color: var(--white);
  background:
    radial-gradient(50% 120% at 0% 50%, rgba(255,201,40,.18), transparent 70%),
    var(--navy-primary);
  box-shadow: 0 30px 60px -32px rgba(6,27,51,.7);
}
.bp-news::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.bp-news-text { display: flex; align-items: center; gap: 1rem; }
.bp-news-icon {
  width: 56px; height: 56px;
  flex-shrink: 0;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--navy-primary);
  font-size: 1.5rem;
}
.bp-news h2 { font-size: 1.25rem; font-weight: 800; color: var(--white); margin-bottom: .25rem; }
.bp-news-text p { margin: 0; font-size: 14px; color: rgba(255,255,255,.62); }
.bp-news-form {
  position: relative;
  display: flex;
  gap: .5rem;
  flex: 1 1 380px;
  max-width: 460px;
  flex-wrap: wrap;
}
.bp-news-form input {
  flex: 1 1 200px;
  height: 50px;
  padding: 0 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.07);
  color: var(--white);
  font-family: var(--font-latin);
  font-size: 14px;
  text-align: left;
  outline: none;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.bp-news-form input::placeholder { color: rgba(255,255,255,.4); }
.bp-news-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,201,40,.15); }
.bp-news-form input.is-invalid { border-color: #ff6b6b; }
.bp-news-form .btn-accent { height: 50px; border-radius: 12px; padding: 0 1.4rem; font-weight: 800; }
.bp-news-msg { flex-basis: 100%; margin: 0; min-height: 1.2em; font-size: 12.5px; }
.bp-news-msg.ok  { color: #4ade80; }
.bp-news-msg.err { color: #ff8a8a; }

/* Responsive */
@media (max-width: 991.98px) {
  .bp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-featured .bl-thumb { width: 45%; min-height: 280px; }
}
@media (max-width: 767.98px) {
  .bp-featured { flex-direction: column; }
  .bp-featured .bl-thumb { width: 100%; min-height: 0; aspect-ratio: 16 / 9; }
  .bp-featured .bl-body { padding: 1.5rem 1.4rem; }
  .bp-featured .bl-title { font-size: 1.2rem; }
}
@media (max-width: 575.98px) {
  .bp-section { padding: 48px 0 70px; }
  .bp-grid { grid-template-columns: minmax(0, 1fr); }
  .bp-filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -12px; padding: 2px 12px 6px; scrollbar-width: none; }
  .bp-filters::-webkit-scrollbar { display: none; }
  .bp-chip { flex-shrink: 0; }
  .bp-news { padding: 1.75rem 1.35rem; border-radius: 22px; }
  .bp-news-text { align-items: flex-start; }
  .bp-news-form .btn-accent { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-card { animation: none; }
}

/* ==================================================
   CUSTOMERS PAGE
   ================================================== */
.cu-head { max-width: 640px; margin: 0 auto 3rem; }
.cu-cases .highlight {
  color: var(--navy-primary);
  background: rgba(255,201,40,.42);
  border-radius: .3em;
  padding: 0 .2em;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.cu-trust { border-bottom: 1px solid var(--border); }

/* ---- Case studies ---- */
.cu-cases { padding: 100px 0; background: var(--light-bg); }
.cu-case {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.cu-case:hover {
  transform: translateY(-6px);
  border-color: rgba(255,201,40,.55);
  box-shadow: 0 28px 52px -28px rgba(6,27,51,.35);
}
.cu-case-head {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.5rem 1.6rem;
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(255,201,40,.18), transparent 70%),
    linear-gradient(160deg, var(--navy-mid), var(--navy-primary));
}
.cu-case-head::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}
.cu-case-head > * { position: relative; z-index: 1; }
.cu-case-icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--navy-primary);
  font-size: 1.35rem;
  transition: transform .45s cubic-bezier(.2,1.4,.4,1);
}
.cu-case:hover .cu-case-icon { transform: rotate(-8deg) scale(1.06); }
.cu-case-badge {
  display: inline-block;
  margin-bottom: .2rem;
  padding: .12rem .6rem;
  border-radius: 100px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.85);
  font-size: 11px;
  font-weight: 700;
}
.cu-case-company { margin: 0; font-size: 1.2rem; font-weight: 800; color: var(--white); }

.cu-case-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.6rem 1.6rem; }
.cu-case-block + .cu-case-block { margin-top: 1rem; }
.cu-case-label {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: .35rem;
  font-size: 12px;
  font-weight: 800;
  color: var(--navy-mid);
}
.cu-case-label i { color: #b78a00; }
.cu-case-block p { margin: 0; font-size: 13.5px; line-height: 1.95; color: var(--muted); }
.cu-case-results {
  display: grid;
  gap: .5rem;
  margin: 1.35rem 0 0;
  padding: 1.1rem 0 0;
  margin-top: auto;
  border-top: 1px dashed var(--border);
}
.cu-case-block:last-of-type { margin-bottom: 1.35rem; }
.cu-case-results li {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .8rem;
  border-radius: 12px;
  background: rgba(16,185,129,.07);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-secondary);
}
.cu-case-results li i {
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #10b981;
  color: var(--white);
  font-size: .75rem;
}

/* ---- Testimonials ---- */
.cu-tsts {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 100px 0;
  background:
    radial-gradient(40% 50% at 50% 0%, rgba(255,201,40,.12), transparent 70%),
    radial-gradient(35% 45% at 100% 100%, rgba(56,132,255,.14), transparent 70%),
    var(--navy-primary);
}
.cu-tsts::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%);
          mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%);
}
.cu-tsts-title { color: var(--white); }
.cu-tsts-title .highlight { color: var(--accent); }
.cu-tst {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.6rem 1.5rem;
  border-radius: 22px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s ease, background .35s ease;
}
.cu-tst:hover { transform: translateY(-6px); border-color: rgba(255,201,40,.45); background: rgba(255,255,255,.07); }
.cu-tst-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.cu-tst-quote {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--navy-primary);
  font-size: 1.6rem;
}
.cu-tst-stars { display: inline-flex; gap: 2px; color: var(--accent); font-size: .85rem; }
.cu-tst-text { margin: 0 0 1.5rem; flex: 1; }
.cu-tst-text p { margin: 0; font-size: 15px; line-height: 2; color: rgba(255,255,255,.88); }
.cu-tst-author {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.cu-tst-avatar {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255,201,40,.3), rgba(255,201,40,.08));
  border: 1px solid rgba(255,201,40,.4);
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 800;
}
.cu-tst-author strong { display: block; font-size: 14px; font-weight: 800; color: var(--white); }
.cu-tst-author small  { display: block; font-size: 12px; color: rgba(255,255,255,.55); }

/* ---- CTA ---- */
.cu-cta { padding-top: 100px; }

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  .cu-cases, .cu-tsts { padding: 80px 0; }
  .cu-cta { padding-top: 80px; }
}
@media (max-width: 575.98px) {
  .cu-cases, .cu-tsts { padding: 64px 0; }
  .cu-cta { padding-top: 64px; }
  .cu-case-head, .cu-case-body { padding-inline: 1.25rem; }
}

/* ==================================================
   TOKENS PAGE
   ================================================== */
/* Hero دو ستونه */
.tk-hero { text-align: right; padding: 70px 0 90px; }
.tk-hero .container { display: block; }
.tk-hero-text .breadcrumb-wrap { margin: 0 0 1.25rem; }
.tk-hero .inner-hero-sub { margin: 0 0 1.75rem; max-width: 520px; }
.tk-hero-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .75rem 1rem; }

/* نمایش فعال شدن توکن */
.tk-demo { position: relative; max-width: 460px; margin: 0 auto; }
.tk-file, .tk-alert {
  position: relative;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.6);
  color: var(--white);
}
.tk-file { display: flex; align-items: center; gap: .85rem; padding: 1rem 1.15rem; animation: floatY 6s ease-in-out infinite; }
.tk-file-ic {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(16,185,129,.16);
  color: #34d399;
  font-size: 1.35rem;
}
.tk-file > div { flex: 1; min-width: 0; }
.tk-file strong { display: block; font-size: 14px; font-weight: 700; direction: ltr; text-align: right; }
.tk-file small  { display: block; font-size: 11.5px; color: rgba(255,255,255,.5); }
.tk-file-tag { padding: .2rem .6rem; border-radius: 100px; background: rgba(255,201,40,.16); color: var(--accent); font-size: 11px; font-weight: 700; white-space: nowrap; }

.tk-flow { position: relative; height: 54px; margin: 0 auto; width: 2px; background: repeating-linear-gradient(to bottom, rgba(255,201,40,.55) 0 6px, transparent 6px 12px); }
.tk-flow span {
  position: absolute;
  right: 50%;
  top: 0;
  width: 10px; height: 10px;
  margin-right: -5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(255,201,40,.9);
  animation: tkFlow 1.8s ease-in infinite;
}
@keyframes tkFlow {
  0%   { top: 0; opacity: 0; }
  15%  { opacity: 1; }
  100% { top: calc(100% - 10px); opacity: .2; }
}

.tk-alert { padding: 1.1rem 1.15rem; border-color: rgba(239,68,68,.35); box-shadow: 0 24px 50px -24px rgba(0,0,0,.6), 0 0 0 4px rgba(239,68,68,.07); }
.tk-alert-h { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.tk-alert-h > div { flex: 1; }
.tk-alert-ic {
  position: relative;
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(239,68,68,.16);
  color: #ff6b6b;
}
.tk-alert-ic::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 15px;
  border: 2px solid rgba(239,68,68,.5);
  animation: ringPulse 2s ease-out infinite;
}
.tk-alert-h strong { display: block; font-size: 14.5px; font-weight: 800; }
.tk-alert-h small  { display: block; font-size: 11.5px; color: rgba(255,255,255,.55); }
.tk-alert-sev { padding: .2rem .6rem; border-radius: 100px; background: #ef4444; color: var(--white); font-size: 11px; font-weight: 800; }
.tk-alert-meta { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .5rem; margin: 0; }
.tk-alert-meta > div { padding: .55rem .7rem; border-radius: 11px; background: rgba(255,255,255,.05); }
.tk-alert-meta dt { font-size: 10.5px; font-weight: 400; color: rgba(255,255,255,.5); }
.tk-alert-meta dd { margin: 0; font-size: 13px; font-weight: 700; color: var(--white); }

/* What */
.tk-what { padding: 100px 0; background: var(--white); }
.tk-what .highlight,
.tk-types .highlight,
.tk-how .highlight {
  color: var(--navy-primary);
  background: rgba(255,201,40,.42);
  border-radius: .3em;
  padding: 0 .2em;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.tk-points { display: grid; gap: .9rem; margin: 0; }
.tk-points li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  background: var(--light-bg);
  border: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.tk-points li:hover { background: var(--white); border-color: rgba(255,201,40,.55); transform: translateX(-4px); }
.tk-point-ic {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy-primary);
  color: var(--accent);
  font-size: 1.2rem;
}
.tk-points strong { display: block; font-size: 15px; font-weight: 800; color: var(--navy-primary); }
.tk-points small  { display: block; font-size: 13px; color: var(--muted); }

/* Types */
.tk-types { padding: 100px 0; background: var(--light-bg); scroll-margin-top: 70px; }
.tk-filters { justify-content: center; margin-bottom: 2rem; }
.tk-filters .bp-chip i { font-size: .9rem; }
.tk-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.tk-card {
  position: relative;
  padding: 1.4rem 1.25rem;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease, opacity .3s ease;
}
.tk-card:hover { transform: translateY(-5px); border-color: rgba(255,201,40,.55); box-shadow: 0 22px 44px -24px rgba(6,27,51,.3); }
.tk-card.is-hidden { display: none; }
.tk-icon {
  width: 48px; height: 48px;
  margin-bottom: .9rem;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, rgba(255,201,40,.2), rgba(255,201,40,.06));
  box-shadow: inset 0 0 0 1px rgba(255,201,40,.28);
  color: #b78a00;
  font-size: 1.3rem;
  transition: background .35s ease, color .35s ease, transform .45s cubic-bezier(.2,1.4,.4,1);
}
.tk-card:hover .tk-icon { background: var(--navy-primary); color: var(--accent); transform: rotate(-8deg) scale(1.05); }
.tk-card h3 { font-size: 15px; font-weight: 800; color: var(--navy-primary); margin-bottom: .3rem; }
.tk-card p  { font-size: 12.5px; line-height: 1.85; color: var(--muted); margin: 0; }

/* How */
.tk-how { padding: 100px 0 0; background: var(--white); }
.tk-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; margin: 0; padding: 0; }
.tk-steps::before {
  content: '';
  position: absolute;
  top: 34px;
  right: 16%; left: 16%;
  height: 2px;
  background: repeating-linear-gradient(to left, var(--accent) 0 8px, transparent 8px 16px);
  opacity: .6;
}
.tk-steps li {
  position: relative;
  padding: 0 1rem;
  text-align: center;
}
.tk-step-ic {
  position: relative;
  z-index: 1;
  width: 68px; height: 68px;
  margin: 0 auto 1.1rem;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-primary);
  color: var(--accent);
  font-size: 1.6rem;
  box-shadow: 0 16px 30px -14px rgba(6,27,51,.6), 0 0 0 8px var(--white);
  transition: transform .35s ease;
}
.tk-steps li:hover .tk-step-ic { transform: translateY(-4px) rotate(-6deg); }
.tk-step-num {
  position: absolute;
  z-index: 2;
  top: -8px;
  right: calc(50% - 46px);
  width: 26px; height: 26px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: var(--navy-primary);
  font-size: 12.5px;
  font-weight: 900;
  box-shadow: 0 0 0 3px var(--white);
}
.tk-steps h3 { font-size: 1.05rem; font-weight: 800; color: var(--navy-primary); margin-bottom: .4rem; }
.tk-steps p  { font-size: 13.5px; line-height: 1.9; color: var(--muted); margin: 0; }
.js-justify .tk-steps p { text-align: center; }
.tk-how + .ab-cta { padding-top: 100px; }

@media (max-width: 991.98px) {
  .tk-hero { text-align: center; }
  .tk-hero-text { display: flex; flex-direction: column; align-items: center; }
  .tk-hero .inner-hero-sub { margin-inline: auto; }
  .tk-hero-actions { justify-content: center; }
  .tk-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .tk-what, .tk-types { padding: 80px 0; }
  .tk-how { padding-top: 80px; }
  .tk-how + .ab-cta { padding-top: 80px; }
}
@media (max-width: 767.98px) {
  .tk-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tk-steps { grid-template-columns: minmax(0,1fr); gap: 2rem; }
  .tk-steps::before { display: none; }
}
@media (max-width: 575.98px) {
  .tk-what, .tk-types { padding: 64px 0; }
  .tk-how { padding-top: 64px; }
  .tk-how + .ab-cta { padding-top: 64px; }
  .tk-card { padding: 1.1rem 1rem; }
  .tk-card h3 { font-size: 14px; }
  .tk-alert-meta { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .tk-filters { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .tk-file, .tk-flow span, .tk-alert-ic::after { animation: none; }
}

/* ==================================================
   INTEGRATIONS PAGE
   ================================================== */
.integ-group-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--border);
}
.integ-detail-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.integ-detail-card:hover {
  box-shadow: var(--shadow-card);
  border-color: rgba(255,201,40,.4);
}
.integ-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--light-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-dark);
  flex-shrink: 0;
}
.integ-name { font-weight: 700; font-size: 13.5px; color: var(--navy-primary); }
.integ-desc { font-size: 12px; color: var(--muted); margin-top: .2rem; line-height: 1.5; }

/* ==================================================
   LOGIN PAGE
   ================================================== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-primary) 0%, #071f3a 100%);
  padding: 2rem 1rem;
}
.login-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
  padding: 2.5rem 2.25rem;
  width: 100%;
  max-width: 420px;
}
.login-logo-wrap { text-align: center; margin-bottom: 2rem; }
.login-logo-wrap .brand-name { font-size: 1.6rem; }
.login-logo-wrap .brand-tagline { font-size: 11px; color: var(--muted); }
.login-divider {
  position: relative;
  text-align: center;
  margin: 1.25rem 0;
  color: var(--muted);
  font-size: 12.5px;
}
.login-divider::before {
  content: '';
  position: absolute;
  top: 50%; right: 0; left: 0;
  height: 1px;
  background: var(--border);
}
.login-divider span { background: var(--white); padding: 0 .75rem; position: relative; }

/* ==================================================
   DEMO MODAL
   ================================================== */
.demo-modal .modal-dialog { max-width: 980px; }
.demo-modal .modal-content {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(2,12,27,.45);
}
.modal-backdrop.show { opacity: .7; }

/* ---- Side panel ---- */
.demo-aside {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(255,201,40,.16) 0%, rgba(255,201,40,0) 55%),
    linear-gradient(160deg, var(--navy-mid) 0%, var(--navy-primary) 70%);
  color: var(--white);
}
.demo-aside::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.demo-aside-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2.25rem;
  width: 100%;
}
.demo-aside-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  width: fit-content;
  padding: .3rem .8rem;
  border-radius: 100px;
  background: rgba(255,201,40,.12);
  border: 1px solid rgba(255,201,40,.35);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.demo-aside-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--white);
}
.demo-aside-title span { color: var(--accent); }

.demo-benefits { margin: 0 0 2rem; padding: 0; display: grid; gap: 1.25rem; }
.demo-benefits li { display: flex; gap: .85rem; align-items: flex-start; }
.demo-benefit-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--accent);
  font-size: 1.05rem;
}
.demo-benefits strong { display: block; font-size: 14px; font-weight: 700; line-height: 1.6; }
.demo-benefits small  { display: block; font-size: 12.5px; color: rgba(255,255,255,.6); line-height: 1.7; }

.demo-aside-contact {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-top: auto;
  margin-bottom: 1.5rem;
  padding: .9rem 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--white);
  transition: background var(--transition), border-color var(--transition);
}
.demo-aside-contact:hover { background: rgba(255,255,255,.09); border-color: rgba(255,201,40,.4); color: var(--white); }
.demo-aside-contact strong { display: block; font-size: 13.5px; font-weight: 700; }
.demo-aside-contact small  { display: block; font-size: 12px; color: rgba(255,255,255,.6); }
.demo-aside-contact .arrow { margin-inline-start: auto; font-size: 1.4rem; color: var(--accent); transition: transform var(--transition); }
.demo-aside-contact:hover .arrow { transform: translateX(-4px); }

.demo-aside-foot {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12.5px;
  color: rgba(255,255,255,.7);
}
.demo-aside-foot i { color: var(--accent); font-size: 1rem; }

/* ---- Form panel ---- */
.demo-main {
  display: flex;
  flex-direction: column;
  background: var(--white);
  min-height: 0;
}
.demo-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 2.25rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.demo-header .btn-close {
  flex-shrink: 0;
  margin: 0;
  padding: .6rem;
  border-radius: 10px;
  background-color: var(--light-bg);
  background-size: .7rem;
  opacity: .7;
}
.demo-header .btn-close:hover { opacity: 1; }
.demo-kicker {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: 12px;
  font-weight: 700;
  color: #b78a00;
  margin-bottom: .35rem;
}
.demo-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-primary);
  margin-bottom: .3rem;
}
.demo-subtitle { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.8; }

.demo-body {
  padding: 1.5rem 2.25rem 2rem;
  overflow-y: auto;
}

.demo-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--body-text);
  margin-bottom: .45rem;
}
.demo-label .req { color: #dc3545; }
.demo-label .opt { color: var(--muted); font-weight: 400; font-size: 12px; }

.demo-modal .form-control,
.form-ui .form-control,
.demo-modal .form-select,
.form-ui .form-select {
  min-height: 46px;
  border: 1.5px solid var(--border);
  border-radius: 11px;
  background-color: #FAFCFE;
  font-size: 14px;
  color: var(--navy-primary);
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}
.demo-modal textarea.form-control,
.form-ui textarea.form-control { min-height: 0; resize: vertical; }
.demo-modal .form-control::placeholder,
.form-ui .form-control::placeholder { color: #9AACC0; }
.demo-modal .form-control:hover,
.form-ui .form-control:hover,
.demo-modal .form-select:hover,
.form-ui .form-select:hover { border-color: #B9CDE1; }
.demo-modal .form-control:focus,
.form-ui .form-control:focus,
.demo-modal .form-select:focus,
.form-ui .form-select:focus {
  background-color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,201,40,.18);
}
.demo-modal .form-control.ltr,
.form-ui .form-control.ltr { direction: ltr; text-align: left; }
.demo-modal .form-control.ltr::placeholder,
.form-ui .form-control.ltr::placeholder { text-align: left; }

/* input with icon */
.demo-field { position: relative; }
.demo-field > i {
  position: absolute;
  top: 23px;
  right: 14px;
  transform: translateY(-50%);
  color: #8DA2BA;
  font-size: 1rem;
  pointer-events: none;
  z-index: 2;
  transition: color var(--transition);
}
.demo-field .form-control { padding-right: 2.6rem; }
.demo-field:focus-within > i { color: var(--accent-dark); }

/* validation tweaks */
.demo-modal .was-validated .form-control:valid,
.form-ui .was-validated .form-control:valid,
.demo-modal .form-control.is-valid,
.form-ui .form-control.is-valid { border-color: #9fd8b8; background-image: none; }
.demo-modal .was-validated .form-control:invalid,
.form-ui .was-validated .form-control:invalid,
.demo-modal .form-control.is-invalid,
.form-ui .form-control.is-invalid {
  border-color: #dc3545;
  background-image: none;
}
.demo-modal .was-validated .form-control:invalid:focus,
.form-ui .was-validated .form-control:invalid:focus { box-shadow: 0 0 0 4px rgba(220,53,69,.12); }
.demo-modal .was-validated .form-control:valid:focus,
.form-ui .was-validated .form-control:valid:focus { box-shadow: 0 0 0 4px rgba(16,185,129,.12); }
.demo-modal .invalid-feedback,
.form-ui .invalid-feedback { font-size: 12px; }

/* فیلدهای اختیاری و select ها پس از اعتبارسنجی سبز نشوند */
.demo-modal .was-validated .form-select:valid,
.form-ui .was-validated .form-select:valid,
.demo-modal .was-validated .form-select:valid:not([multiple]):not([size]),
.form-ui .was-validated .form-select:valid:not([multiple]):not([size]),
.demo-modal .was-validated .form-control:not([required]):valid,
.form-ui .was-validated .form-control:not([required]):valid {
  border-color: var(--border);
  --bs-form-select-bg-icon: none;
}

/* org size chips */
.demo-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.demo-chip {
  flex: 1 1 auto;
  text-align: center;
  padding: .55rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #FAFCFE;
  font-size: 13px;
  font-weight: 600;
  color: var(--body-text);
  cursor: pointer;
  user-select: none;
  transition: all var(--transition);
}
.demo-chip:hover { border-color: #B9CDE1; background: var(--white); }
.btn-check:checked + .demo-chip {
  border-color: var(--accent);
  background: rgba(255,201,40,.14);
  color: var(--navy-primary);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.btn-check:focus-visible + .demo-chip { outline: 2px solid var(--accent); outline-offset: 2px; }

/* submit */
.btn-demo-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 50px;
  font-size: 15px;
  font-weight: 800;
  border-radius: 12px;
  margin-top: .25rem;
}
.btn-demo-submit .bi-send-fill { transform: scaleX(-1); font-size: .95rem; }
.btn-demo-submit:disabled { opacity: .85; transform: none; }

.demo-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-size: 12px;
  color: var(--muted);
  margin: .85rem 0 0;
  text-align: center;
}
.demo-privacy i { color: #10b981; }

/* ---- Success state ---- */
.demo-success { text-align: center; padding: 1.5rem .5rem; outline: none; }
.demo-success .success-icon {
  width: 76px; height: 76px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #10b981;
  color: var(--white);
  font-size: 2.4rem;
  box-shadow: 0 0 0 10px rgba(16,185,129,.12), 0 12px 30px rgba(16,185,129,.35);
  animation: successPop .45s cubic-bezier(.2,1.4,.4,1) both;
}
@keyframes successPop {
  0%   { transform: scale(.4); opacity: 0; }
  100% { transform: scale(1);  opacity: 1; }
}
.demo-success h3 { font-size: 1.2rem; font-weight: 800; color: var(--navy-primary); margin-bottom: .4rem; }
.demo-success > p { font-size: 13.5px; color: var(--muted); margin-bottom: 1.25rem; }
.success-steps {
  display: grid;
  gap: .6rem;
  max-width: 420px;
  margin: 0 auto 1.75rem;
  padding: 0;
  text-align: right;
}
.success-steps li {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem .9rem;
  border-radius: 12px;
  background: var(--light-bg);
  font-size: 13px;
  color: var(--body-text);
}
.success-steps span {
  width: 26px; height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-primary);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

/* ---- Modal responsive ---- */
@media (max-width: 991.98px) {
  .demo-modal .modal-dialog { max-width: 640px; }
}
@media (max-width: 575.98px) {
  .demo-modal .modal-content { border-radius: 0; }
  .demo-header { padding: 1.25rem 1.25rem 1rem; position: sticky; top: 0; background: var(--white); z-index: 3; }
  .demo-body { padding: 1.25rem 1.25rem 1.75rem; }
  .demo-title { font-size: 1.15rem; }
  .demo-chip { flex: 1 1 calc(50% - .5rem); }
}
@media (prefers-reduced-motion: reduce) {
  .demo-success .success-icon { animation: none; }
}

/* ایمیل: ارقام لاتین (فونت FaNum همه ارقام را فارسی نمایش می‌دهد) */
input[type="email"] { font-family: var(--font-latin); }
/* اصطلاحات لاتین حاوی عدد (مثل S3) */
.latin { font-family: var(--font-latin); direction: ltr; unicode-bidi: isolate; }

/* ==================================================
   PARAGRAPH JUSTIFY
   پاراگراف‌ها تراز دوطرفه؛ پاراگراف‌های وسط‌چین، خط آخرشان وسط می‌ماند
   (کلاس‌ها توسط main.js اضافه می‌شوند)
   ================================================== */
.js-justify p {
  text-align: justify;
  text-justify: inter-word;
}
.js-justify p.p-center { text-align-last: center; }
/* استثنا: متن‌های کوتاه کارت‌ها کاملاً وسط‌چین */
.js-justify p.benefit-desc { text-align: center; }

/* Blog card cover image (when the article has one, instead of the icon) */
.bl-thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.bl-thumb .bl-cat { z-index: 2; }

/* Footer: uploaded logo + clickable contact details */
.footer-logo-img { display: block; max-height: 52px; max-width: 220px; width: auto; height: auto; }
.footer-contact-list a { color: inherit; text-decoration: none; unicode-bidi: isolate; transition: color .2s; }
.footer-contact-list a:hover { color: var(--accent); }

/* Contact page: real map iframe + clickable contact details */
.ct-map-embed { padding: 0; overflow: hidden; }
.ct-map-embed iframe { width: 100%; height: 100%; min-height: 180px; border: 0; display: block; }
a.ct-map { text-decoration: none; color: inherit; }
.ct-info-link { color: inherit; text-decoration: none; transition: color .2s; }
.ct-info-link:hover { color: var(--accent); }
