/* ═══════════════════════════════════════════════════════════
   TESTKAV — Luxury Night Landing · v2
   Palette: warm night ink × brand gold #FFC218
   Type: Pinar (Farsi Digits)
   ═══════════════════════════════════════════════════════════ */

/* ---------- فونت پینار ---------- */
@font-face { font-family: "Pinar"; src: url("../fonts/Pinar-FD-Light.woff2") format("woff2"); font-weight: 300; font-display: block; }
@font-face { font-family: "Pinar"; src: url("../fonts/Pinar-FD-Regular.woff2") format("woff2"); font-weight: 400; font-display: block; }
@font-face { font-family: "Pinar"; src: url("../fonts/Pinar-FD-Medium.woff2") format("woff2"); font-weight: 500; font-display: block; }
@font-face { font-family: "Pinar"; src: url("../fonts/Pinar-FD-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: block; }
@font-face { font-family: "Pinar"; src: url("../fonts/Pinar-FD-Bold.woff2") format("woff2"); font-weight: 700; font-display: block; }
@font-face { font-family: "Pinar"; src: url("../fonts/Pinar-FD-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: block; }
@font-face { font-family: "Pinar"; src: url("../fonts/Pinar-FD-Black.woff2") format("woff2"); font-weight: 900; font-display: block; }

/* ---------- توکن‌ها ---------- */
:root {
  --ink: #0a0803;
  --ink-2: #141008;
  --ink-3: #1d180d;
  --gold: #ffc218;
  --gold-soft: #e9b845;
  --gold-deep: #8a6a10;
  --gold-dim: rgba(255, 194, 24, .1);
  --hairline: rgba(255, 194, 24, .24);
  --hairline-dim: rgba(244, 238, 220, .09);
  --ivory: #f6f0de;
  --dim: #a89e85;
  --dim-2: #6f684f;
  --radius: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-gold: 0 10px 44px -10px rgba(255, 194, 24, .45);
}

/* ---------- پایه ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Pinar", system-ui, sans-serif;
  background: var(--ink);
  color: var(--ivory);
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--gold); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: min(1180px, 92vw); margin-inline: auto; }
.container--wide { width: min(1320px, 94vw); }
.section { padding-block: clamp(88px, 12vw, 150px); position: relative; }
.section--tight { padding-block: clamp(40px, 6vw, 70px); position: relative; }

/* ---------- پس‌زمینه محیطی ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.ambient__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(70vw 55vw at 78% -12%, rgba(255, 194, 24, .13), transparent 58%),
    radial-gradient(46vw 46vw at 6% 18%, rgba(255, 170, 0, .06), transparent 60%),
    radial-gradient(60vw 60vw at 12% 115%, rgba(255, 194, 24, .06), transparent 60%);
}
.ambient__dust { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; }
.ambient__grain {
  position: absolute; inset: 0; opacity: .3; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .04 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- عناصر مشترک ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 500;
  color: var(--gold-soft);
  border: 1px solid var(--hairline);
  border-radius: 100px; padding: 7px 18px;
  background: linear-gradient(120deg, rgba(255,194,24,.09), rgba(255,194,24,.02));
  backdrop-filter: blur(6px);
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px 2px rgba(255, 194, 24, .7);
  animation: pulse 2.6s infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 4px 0 rgba(255,194,24,.4); } }

.gold-em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold) 20%, #fff3c4 50%, var(--gold) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

.section__head { text-align: center; margin-bottom: clamp(48px, 7vw, 84px); }
.section__title { font-size: clamp(1.9rem, 4.6vw, 3.1rem); font-weight: 900; line-height: 1.45; margin-top: 22px; }
.section__sub { color: var(--dim); max-width: 560px; margin: 14px auto 0; font-weight: 300; }

/* ---------- دکمه‌ها ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-size: .95rem; font-weight: 600;
  padding: 12px 26px; border-radius: 100px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, border-color .35s, color .35s;
}
.btn--lg { padding: 16px 34px; font-size: 1.02rem; }
.btn__icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .btn__icon { transform: translateX(-5px); }

.btn--gold {
  position: relative;
  background: linear-gradient(120deg, #ffd968, var(--gold) 45%, #e5ab00);
  color: #251b00; box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255,255,255,.45);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 16px 54px -8px rgba(255, 194, 24, .6), inset 0 1px 0 rgba(255,255,255,.45); }

.btn--ghost { color: var(--ivory); border-color: var(--hairline-dim); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--hairline); color: var(--gold-soft); background: rgba(255,194,24,.06); }

.btn--outline { color: var(--gold-soft); border-color: var(--hairline); background: rgba(255,194,24,.04); }
.btn--outline:hover { transform: translateY(-3px); background: rgba(255,194,24,.1); }

.btn--dark { background: var(--ink); color: var(--gold); box-shadow: 0 10px 30px -8px rgba(0,0,0,.55); }
.btn--dark:hover { transform: translateY(-3px); }
.btn--outline-dark { color: #251b00; border-color: rgba(11,9,4,.4); }
.btn--outline-dark:hover { background: rgba(11,9,4,.1); }

/* ---------- ناوبری ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 8, 3, .68);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--hairline-dim);
}
.nav__inner { display: flex; align-items: center; gap: 40px; padding-block: 15px; }
.nav__logo { height: 44px; width: auto; }
.nav__links { display: flex; gap: 32px; font-size: .93rem; font-weight: 500; color: var(--dim); }
.nav__links a { transition: color .3s; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; bottom: -6px; right: 0; height: 1.5px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav__links a:hover { color: var(--ivory); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { margin-inline-start: auto; display: flex; gap: 12px; align-items: center; }
.nav__burger { display: none; }

/* ---------- هیرو: صحنه‌ی عیارسنجی ---------- */
.hero--stage {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 78px);
  min-height: calc(100svh - 78px);
  display: flex; flex-direction: column;
  padding-top: clamp(28px, 4vw, 56px);
  text-align: center;
}
.spotlight {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42% 58% at 50% -6%, rgba(255,220,110,.17), rgba(255,194,24,.05) 48%, transparent 72%),
    linear-gradient(180deg, rgba(255,194,24,.03), transparent 30%);
  transition: transform .6s var(--ease);
  will-change: transform;
}
.hero__inner { position: relative; z-index: 2; max-width: 880px; margin-block: auto; }
.hero__title {
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  font-weight: 900; line-height: 1.26;
  margin-block: 22px 16px;
  letter-spacing: -.01em;
}
.hero__line { display: block; }
.gold-word {
  position: relative; display: inline-block;
  background: linear-gradient(105deg, #b8891a 10%, var(--gold) 38%, #fff0bd 52%, var(--gold) 64%, #b8891a 90%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: molten 6s linear infinite;
  filter: drop-shadow(0 0 34px rgba(255,194,24,.4));
}
@keyframes molten { to { background-position: 220% center; } }

.hero__sub {
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  color: var(--dim); font-weight: 300;
  max-width: 560px; margin: 0 auto 30px;
}
.hero__sub--type { min-height: 1.9em; font-weight: 400; }
.type-fix { color: var(--ivory); }
.type-word {
  color: var(--gold);
  font-weight: 700;
  margin-inline-start: .35em;
  text-shadow: 0 0 26px rgba(255, 194, 24, .35);
}
.type-caret {
  display: inline-block; vertical-align: -0.12em;
  width: 2px; height: 1.05em; margin-inline-start: 3px;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(255, 194, 24, .8);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ---------- خطِ عیار ---------- */
.assay { margin-top: 0; padding-top: clamp(24px, 3vw, 44px); position: relative; z-index: 2; }
.assay__inner { position: relative; }
.assay__inner::before {
  content: ""; position: absolute; inset: -30px -10% 0;
  background: radial-gradient(50% 90% at 50% 100%, rgba(255,194,24,.07), transparent 70%);
  pointer-events: none;
}
.assay__scale {
  position: relative; height: 56px;
  background:
    /* خط پایه */
    linear-gradient(rgba(255,194,24,.35), rgba(255,194,24,.35)) 0 100% / 100% 1px no-repeat,
    /* تیک‌های ریز */
    repeating-linear-gradient(90deg, var(--hairline-dim) 0 1px, transparent 1px calc(100% / 100)) 0 100% / 100% 12px no-repeat,
    /* تیک‌های اصلی */
    repeating-linear-gradient(90deg, var(--hairline) 0 1px, transparent 1px calc(100% / 20)) 0 100% / 100% 24px no-repeat;
}
.assay__needle {
  position: absolute; bottom: 0;
  inset-inline-start: var(--pos, 0%);
  width: 2px; height: 100%;
  background: linear-gradient(180deg, transparent, var(--gold));
  box-shadow: 0 0 16px rgba(255,194,24,.7);
  transition: inset-inline-start 2.4s cubic-bezier(.3, .9, .25, 1) .9s;
}
.assay__gem {
  position: absolute; top: -7px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 11px; height: 11px;
  background: linear-gradient(135deg, #fff0bd, var(--gold) 60%, #b8891a);
  box-shadow: 0 0 20px 4px rgba(255,194,24,.55);
}
.assay.is-lock .assay__gem { animation: lockpulse 1.2s var(--ease) 3.2s; }
@keyframes lockpulse {
  0% { box-shadow: 0 0 20px 4px rgba(255,194,24,.55); }
  35% { box-shadow: 0 0 46px 16px rgba(255,194,24,.75); }
  100% { box-shadow: 0 0 20px 4px rgba(255,194,24,.55); }
}
.assay__foot {
  display: flex; flex-direction: column; gap: 12px; margin-top: 10px;
  padding-bottom: clamp(18px, 2.5vw, 30px);
}
.assay__marks {
  display: flex; justify-content: space-between;
  font-size: .72rem; color: var(--dim-2); font-weight: 500;
}
.assay__reading { font-size: .95rem; color: var(--dim); font-weight: 400; }
.assay__reading b {
  font-size: 1.7rem; font-weight: 900; margin-inline: 8px;
  background: linear-gradient(180deg, #fff0bd, var(--gold) 75%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 30px rgba(255,194,24,.3);
}
.assay__reading small { display: block; font-size: .76rem; color: var(--dim-2); margin-top: 4px; font-weight: 300; }

/* خط‌کش متحرک */
.ruler {
  
  border-block: 1px solid var(--hairline-dim);
  padding-block: 18px;
  overflow: hidden; position: relative; z-index: 2;
  background: rgba(255,194,24,.02);
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ruler__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: ruler-slide 42s linear infinite; }
.ruler__item { font-size: .88rem; font-weight: 500; color: var(--dim); white-space: nowrap; }
.ruler__tick { width: 1px; height: 22px; background: var(--hairline); flex: none; }
@keyframes ruler-slide { to { transform: translateX(50%); } }

/* ---------- محصولات: چهار شخصیت، یک خانواده ---------- */
.products__grid {
  position: relative;
  display: grid; gap: 24px;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}
/* خط اتصال پشت کارت‌ها + نگین‌های عیار بین آن‌ها */
.products__grid::before {
  content: ""; position: absolute; z-index: 0;
  inset-inline: 1%; top: 47%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline) 14%, var(--hairline) 86%, transparent);
}
.grid-nodes i {
  position: absolute; z-index: 2;
  inset-inline-start: var(--n); top: 47%;
  width: 11px; height: 11px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: linear-gradient(135deg, #ffe9ad, var(--gold) 60%, #b8891a);
  box-shadow: 0 0 16px 3px rgba(255, 194, 24, .5);
  animation: pulse 3.2s infinite;
}
/* ریتم پلکانی */
.card:nth-child(2) { margin-top: 38px; }
.card:nth-child(3) { margin-top: 14px; }
.card:nth-child(4) { margin-top: 52px; }

/* ── اسکلت مشترک کارت (تم با متغیر) ── */
.card {
  --c-bg1: var(--ink-2); --c-bg2: var(--ink);
  --c-fg: var(--ivory); --c-dim: var(--dim);
  --c-hair: rgba(255, 255, 255, .1);
  --c-accent: var(--gold); --c-head: var(--gold-soft);
  --c-sheen: rgba(255, 225, 130, .09);
  position: relative; overflow: hidden; z-index: 1;
  background: linear-gradient(165deg, var(--c-bg1), var(--c-bg2));
  border: 1px solid var(--c-hair);
  border-radius: var(--radius);
  padding: 30px 26px 24px;
  color: var(--c-fg);
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s, border-color .5s;
}
.card:hover {
  transform: translateY(-10px);
  border-color: var(--hairline);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .65), 0 0 44px -18px rgba(255, 194, 24, .3);
}
.card::before { /* بافت اختصاصی هر تم */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .9;
}
.card__sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, var(--c-sheen) 48%, transparent 62%);
  transform: translateX(120%);
  transition: transform 1.1s var(--ease);
}
.card:hover .card__sheen { transform: translateX(-120%); }
.card__glow {
  position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(70% 46% at 50% 0%, rgba(255, 194, 24, .1), transparent 70%);
  opacity: 0; transition: opacity .5s;
}
.card:hover .card__glow { opacity: 1; }
.card > * { position: relative; }

.card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; color: var(--c-accent);
  background: var(--c-icon, rgba(255, 194, 24, .1));
  border: 1px solid var(--c-hair);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.card__icon svg { width: 28px; height: 28px; }
.card:hover .card__icon { transform: rotate(-7deg) scale(1.08); box-shadow: 0 0 28px rgba(255, 194, 24, .3); }
.card__icon { animation: bob 6.5s ease-in-out infinite; animation-delay: calc(var(--stagger, 0) * 1.3s); }
@keyframes bob { 50% { translate: 0 -7px; } }
.card__tag { font-size: .7rem; font-weight: 500; color: var(--c-dim); border: 1px solid var(--c-hair); border-radius: 100px; padding: 5px 12px; }
.card__badge {
  font-size: .7rem; font-weight: 700; color: #251b00;
  background: linear-gradient(120deg, #ffd968, var(--gold));
  border-radius: 100px; padding: 5px 14px;
  box-shadow: 0 6px 20px -6px rgba(255, 194, 24, .6);
}

.card__name { font-size: 1.22rem; font-weight: 800; line-height: 1.5; }
.card__latin { font-size: .68rem; font-weight: 400; color: var(--c-dim); opacity: .75; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.card__headline { color: var(--c-head); font-size: .88rem; font-weight: 600; line-height: 1.85; margin-bottom: 16px; }

.card__features { display: grid; gap: 9px; margin-bottom: 24px; }
.card__features li { position: relative; padding-inline-start: 20px; font-size: .82rem; color: var(--c-dim); }
.card__features li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .68em;
  width: 11px; height: 1.5px; background: var(--c-accent);
}

.card__link {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-top: 1px solid var(--c-hair); padding-top: 16px;
}
.card__domain { font-size: .68rem; color: var(--c-dim); opacity: .8; letter-spacing: .04em; direction: ltr; }
.card__go { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 700; color: var(--c-accent); }
.card__go .btn__icon { width: 15px; height: 15px; }
.card__link:hover .btn__icon { transform: translateX(-5px); }

/* ══ تم ۱: پرو — سرمه‌ای شب (هم‌خانواده pro.testkav.com) ══ */
.card--pro {
  --c-bg1: #16224a; --c-bg2: #0b1229;
  --c-fg: #eef2ff; --c-dim: #9aa6cc;
  --c-hair: rgba(145, 170, 255, .18);
  --c-head: #ffd35c;
  --c-icon: rgba(255, 194, 24, .12);
}
.card--pro::before {
  background:
    radial-gradient(60% 40% at 82% -6%, rgba(90, 130, 255, .16), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 10px);
}
.card--flagship { box-shadow: 0 20px 60px -24px rgba(60, 90, 220, .45); }

/* ══ تم ۲: AI — سفیدِ صدفی ══ */
.card--ai {
  --c-bg1: #fffef8; --c-bg2: #f2e9d1;
  --c-fg: #241c07; --c-dim: #7d7355;
  --c-hair: rgba(150, 112, 12, .22);
  --c-accent: #a67900; --c-head: #8a6a10;
  --c-icon: rgba(255, 194, 24, .18);
  --c-sheen: rgba(175, 135, 25, .12);
}
.card--ai::before {
  background: radial-gradient(rgba(150, 110, 10, .1) 1px, transparent 1.5px);
  background-size: 16px 16px;
  -webkit-mask: radial-gradient(90% 70% at 80% 0%, #000, transparent 70%);
  mask: radial-gradient(90% 70% at 80% 0%, #000, transparent 70%);
}
.card--ai .card__glow { background: radial-gradient(70% 46% at 50% 0%, rgba(255, 194, 24, .18), transparent 70%); }

/* ══ تم ۳: اسکیلز — شمش طلا ══ */
.card--skills {
  --c-fg: #251b00; --c-dim: #5f4600;
  --c-hair: rgba(36, 26, 0, .22);
  --c-accent: #251b00; --c-head: #4a3600;
  --c-icon: rgba(36, 26, 0, .1);
  --c-sheen: rgba(255, 255, 255, .3);
  background: radial-gradient(120% 150% at 80% -10%, #ffe9ad, #ffcf45 40%, var(--gold) 65%, #dfa400);
  box-shadow: 0 18px 50px -18px rgba(255, 194, 24, .45);
}
.card--skills::before {
  /* تیک‌های خط‌کش — امضای عیار */
  background: repeating-linear-gradient(90deg, rgba(36, 26, 0, .14) 0 1px, transparent 1px 12px);
  background-size: 100% 14px; background-repeat: no-repeat; background-position: top;
}
.card--skills .card__glow { display: none; }
.card--skills:hover { box-shadow: 0 30px 70px -18px rgba(255, 194, 24, .6); }

/* ══ تم ۴: سازمانی — تیره‌ی گرم (هم‌رنگ Testkav.co) ══ */
.card--enterprise {
  --c-bg1: #251d0f; --c-bg2: #120e08;
  --c-fg: #f0ead8; --c-dim: #a89e85;
  --c-hair: rgba(255, 194, 24, .2);
  --c-icon: rgba(255, 194, 24, .1);
}
.card--enterprise::before {
  background:
    radial-gradient(60% 42% at 50% 0%, rgba(255, 194, 24, .09), transparent 70%),
    linear-gradient(rgba(255, 194, 24, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 194, 24, .04) 1px, transparent 1px);
  background-size: 100% 100%, 26px 26px, 26px 26px;
  -webkit-mask: radial-gradient(100% 85% at 50% 0%, #000, transparent 80%);
  mask: radial-gradient(100% 85% at 50% 0%, #000, transparent 80%);
}
.card--enterprise .card__go, .card--enterprise .card__headline { color: var(--gold-soft); }

/* ---------- آمار ---------- */
.stats__band {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 30px;
  border-block: 1px solid var(--hairline-dim);
  padding-block: clamp(38px, 5vw, 56px);
}
.stat { text-align: center; }
.stat__value {
  display: block;
  font-size: clamp(2.2rem, 4.4vw, 3.2rem); font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 34px rgba(255,194,24,.3);
  line-height: 1.3;
}
.stat__bar { display: block; height: 2px; width: 64px; margin: 12px auto 14px; background: var(--hairline-dim); border-radius: 2px; overflow: hidden; }
.stat__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); transition: width 1.4s var(--ease) .3s; }
.reveal.is-in .stat__bar i { width: 100%; }
.stat__label { font-size: .88rem; color: var(--dim); font-weight: 400; }

/* ---------- مسیر سنجش ---------- */
.journey__flow {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  position: relative;
}
.journey__step {
  position: relative;
  background:
    linear-gradient(var(--ink-2), var(--ink-2)) padding-box,
    linear-gradient(170deg, rgba(255,194,24,.22), rgba(255,255,255,.04)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .5s var(--ease), box-shadow .5s;
}
.journey__step:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); }
.journey__step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%;
  inset-inline-start: -26px; width: 26px; height: 1px;
  background: linear-gradient(270deg, var(--hairline), transparent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .8s var(--ease) calc(var(--stagger, 0) * 110ms + .5s);
}
.journey__step.is-in:not(:last-child)::after { transform: scaleX(1); }
.journey__num {
  font-size: 2rem; font-weight: 900;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.journey__title { font-size: 1.1rem; font-weight: 700; margin-block: 10px 8px; }
.journey__desc { font-size: .87rem; color: var(--dim); font-weight: 300; }

/* ---------- نوارهای سیلابی: چهار سامانه، چهار رنگ ---------- */
.band { position: relative; }
.band__inner {
  position: relative; overflow: hidden;
  padding-block: clamp(84px, 11vw, 148px);
  text-align: center;
  clip-path: circle(0% at var(--o, 50% 50%));
  transition: clip-path 1.5s cubic-bezier(.6, .05, .25, 1);
}
.band.flood .band__inner { clip-path: circle(141% at var(--o, 50% 50%)); }
.band__content {
  position: relative;
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s var(--ease) .55s, transform .9s var(--ease) .55s;
}
.band.flood .band__content { opacity: 1; transform: none; }
.band__dial {
  position: absolute; inset: -30% -14% auto auto;
  width: 54%; aspect-ratio: 1; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, var(--tick, rgba(36,26,0,.15)) 0deg .6deg, transparent .6deg 7deg);
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 61%, #000 70%, transparent 71%);
  mask: radial-gradient(circle, transparent 60%, #000 61%, #000 70%, transparent 71%);
  animation: spin 70s linear infinite;
}
.band__title { font-size: clamp(1.9rem, 4.6vw, 3.1rem); font-weight: 900; margin-block: 20px 12px; line-height: 1.5; }
.band__sub { max-width: 580px; margin-inline: auto; font-weight: 500; opacity: .82; margin-bottom: 36px; }
.band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

.eyebrow--dark { color: #251b00; border-color: rgba(36,26,0,.3); background: rgba(36,26,0,.07); }
.eyebrow--dark .eyebrow__dot { background: #251b00; box-shadow: none; animation: none; }

/* ══ پرو: سرمه‌ای شب — جوشش از راست ══ */
.band--pro { --o: 84% 50%; }
.band--pro .band__inner {
  --tick: rgba(165, 190, 255, .14);
  background: radial-gradient(120% 170% at 84% -10%, #3c539f 0%, #1e2d62 38%, #131f48 68%, #0a1128 100%);
  color: #eef2ff;
  border-block: 1px solid rgba(145, 170, 255, .18);
}
.band--pro .band__sub { color: #b9c4e8; opacity: 1; }

/* ══ AI: سفید صدفی — جوشش از چپ ══ */
.band--ai { --o: 16% 50%; }
.band--ai .band__inner {
  --tick: rgba(36, 26, 0, .1);
  background: radial-gradient(120% 170% at 16% -10%, #fffef8 0%, #faf4e3 40%, #f0e6c8 75%, #e6d7ac 100%);
  color: #241c07;
}
.band--ai .band__sub { color: #6e6446; opacity: 1; }

/* ══ اسکیلز: شمش طلا — جوشش از پایین ══ */
.band--skills { --o: 50% 110%; }
.band--skills .band__inner {
  --tick: rgba(36, 26, 0, .15);
  background: radial-gradient(120% 170% at 78% -10%, #ffe9ad 0%, #ffd35c 30%, var(--gold) 55%, #dba100 80%, #a87700 100%);
  color: #251b00;
  box-shadow: 0 0 90px -20px rgba(255, 194, 24, .35);
}

/* ══ سازمانی: ذغال صیقلی — جوشش از مرکز ══ */
.band--enterprise { --o: 50% 50%; }
.band--enterprise .band__inner {
  --tick: rgba(255, 194, 24, .14);
  background:
    radial-gradient(60% 46% at 50% 0%, rgba(255, 194, 24, .1), transparent 70%),
    radial-gradient(120% 170% at 50% -10%, #221b0e 0%, #15100a 45%, #0b0906 78%, #060503 100%);
  color: #f0ead8;
  border-block: 1px solid rgba(255, 194, 24, .22);
}
.band--enterprise .band__sub { color: #a89e85; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .band__inner { clip-path: none; }
  .band__content { opacity: 1; transform: none; }
}

/* ---------- مسیرِ تغییرِ بزرگ ---------- */
.manifesto { text-align: center; overflow: hidden; }
.path { position: relative; max-width: 940px; margin-inline: auto; padding-block: 10px; }
.path__rail {
  position: absolute; top: 0; bottom: 0; inset-inline-start: 50%;
  width: 2px; transform: translateX(50%);
  background: rgba(255, 194, 24, .12);
  border-radius: 2px;
}
.path__fill {
  position: absolute; top: 0; inset-inline: 0;
  height: var(--p, 0%);
  background: linear-gradient(180deg, var(--gold-deep), var(--gold));
  box-shadow: 0 0 14px rgba(255, 194, 24, .55);
  border-radius: 2px;
  transition: height .25s linear;
}
.path__steps { display: grid; gap: clamp(36px, 5vw, 64px); }
.path__step { position: relative; width: 50%; }
.path__step:nth-child(odd) { padding-inline-end: clamp(34px, 5vw, 64px); text-align: end; }
.path__step:nth-child(even) { margin-inline-start: 50%; padding-inline-start: clamp(34px, 5vw, 64px); text-align: start; }
.path__gem {
  position: absolute; top: 1.4em;
  width: 13px; height: 13px; z-index: 2;
  transform: rotate(45deg) scale(.4);
  background: linear-gradient(135deg, #fff0bd, var(--gold) 60%, #b8891a);
  opacity: .35;
  transition: transform .7s var(--ease), opacity .7s, box-shadow .7s;
}
.path__step:nth-child(odd) .path__gem { inset-inline-end: -6.5px; }
.path__step:nth-child(even) .path__gem { inset-inline-start: -6.5px; }
.path__step.is-in .path__gem {
  transform: rotate(45deg) scale(1);
  opacity: 1;
  box-shadow: 0 0 18px 4px rgba(255, 194, 24, .55);
}
.path__card small {
  display: block; font-size: clamp(.85rem, 1.3vw, 1rem);
  color: var(--dim); font-weight: 400; margin-bottom: 4px;
}
.path__card strong {
  display: block;
  font-size: clamp(1.7rem, 3.8vw, 3rem);
  font-weight: 900; line-height: 1.6;
  background: linear-gradient(105deg, #b8891a 10%, var(--gold) 45%, #fff0bd 55%, var(--gold) 65%, #b8891a 90%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: molten 6s linear infinite;
  filter: drop-shadow(0 0 26px rgba(255, 194, 24, .22));
}
/* ایستگاه پایانی: تمام‌عرض و بزرگ‌تر */
.path__step--final {
  width: 100% !important; margin-inline-start: 0 !important;
  padding: clamp(24px, 4vw, 44px) 0 0 !important;
  text-align: center !important;
}
.path__step--final .path__gem {
  inset-inline: 0 !important; margin-inline: auto;
  top: -8px; width: 17px; height: 17px;
}
.path__step--final .path__card strong { font-size: clamp(2.2rem, 5.4vw, 4rem); }
.path__sig {
  margin-top: 16px;
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  font-weight: 700; color: var(--dim);
}

@media (max-width: 760px) {
  .path__rail { inset-inline-start: 8px; transform: none; }
  .path__step, .path__step:nth-child(even) { width: 100%; margin-inline-start: 0; padding-inline: 34px 0; text-align: start; }
  .path__step:nth-child(odd) { padding-inline: 34px 0; text-align: start; }
  .path__step .path__gem, .path__step:nth-child(odd) .path__gem { inset-inline-start: 2.5px; inset-inline-end: auto; }
}

/* ---------- فوتر ---------- */
.footer { border-top: 1px solid var(--hairline-dim); padding-top: clamp(48px, 6vw, 72px); }
.footer__inner { display: flex; gap: 60px; flex-wrap: wrap; justify-content: space-between; padding-bottom: 44px; }
.footer__logo { height: 46px; width: auto; margin-bottom: 16px; }
.footer__brand p { color: var(--dim); font-size: .88rem; font-weight: 300; }
.footer__cols { display: flex; gap: clamp(36px, 5vw, 80px); flex-wrap: wrap; }
.footer__col { display: grid; gap: 12px; align-content: start; }
.footer__col h4 { font-size: .85rem; font-weight: 700; color: var(--gold-soft); margin-bottom: 6px; }
.footer__col a { font-size: .86rem; color: var(--dim); transition: color .3s; }
.footer__col a:hover { color: var(--ivory); }
.footer__domain { direction: ltr; text-align: end; letter-spacing: .04em; }
.footer__base {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--hairline-dim);
  padding-block: 20px; font-size: .78rem; color: var(--dim-2);
}
.footer__sig { color: var(--gold-deep); }

/* ---------- موشن ---------- */
.reveal-load { opacity: 0; transform: translateY(26px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 130ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--stagger, 0) * 110ms); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-load { opacity: 1; transform: none; }
  .assay__needle { inset-inline-start: var(--pos, 0%) !important; }
}

/* ---------- واکنش‌گرا ---------- */
@media (max-width: 1180px) {
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .products__grid::before, .grid-nodes { display: none; }
  .card:nth-child(n) { margin-top: 0; }
}
@media (max-width: 1020px) {
  .assay__reading b { font-size: 1.4rem; }
}
@media (max-width: 900px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger {
    display: grid; gap: 6px; margin-inline-start: auto;
    background: none; border: 1px solid var(--hairline-dim);
    border-radius: 12px; padding: 12px; cursor: pointer;
  }
  .nav__burger span { width: 20px; height: 1.5px; background: var(--ivory); transition: transform .3s var(--ease); }
  .nav.is-open .nav__links, .nav.is-open .nav__actions {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; inset-inline: 0; background: rgba(10,8,3,.97);
    padding: 24px 5vw; border-bottom: 1px solid var(--hairline-dim);
  }
  .nav.is-open .nav__links { top: 100%; gap: 18px; }
  .nav.is-open .nav__actions { top: calc(100% + 150px); flex-direction: row; }
  .nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .journey__step:not(:last-child)::after { display: none; }
  .footer__domain { text-align: start; }
}
@media (max-width: 640px) {
  .products__grid { grid-template-columns: 1fr; }
  .assay__marks span:nth-child(even) { visibility: hidden; }
}

/* ---------- صفحه‌های کوتاه: کل صحنه در فولد ---------- */
@media (max-height: 780px) and (min-width: 900px) {
  .hero--stage { padding-top: 14px; }
  .hero__title { font-size: clamp(2.4rem, 5.6vw, 3.9rem); margin-block: 16px 12px; }
  .hero__sub { font-size: .95rem; margin-bottom: 25px; margin-top: 25px; }
  .hero__cta .btn--lg { padding: 12px 26px; font-size: .95rem; }
  .eyebrow { padding: 5px 15px; font-size: .78rem; }
  .assay { margin-top: 26px; }
  .assay__scale { height: 44px; }
  .assay__foot { gap: 8px; padding-bottom: 12px; }
  .assay__reading b { font-size: 1.3rem; }
  .assay__reading small { margin-top: 2px; }
}


