/* ============ پایه و توکن‌های طراحی ============ */
    :root {
      /* پالت اصلی */
      --primary: #0F4D3A;        /* سبز عمیق */
      --primary-dark: #0a3528;
      --primary-light: #1a6b51;
      --accent: #C8A45C;         /* طلایی فاخر */
      --accent-light: #d9b97a;
      --accent-dark: #a8843f;
      --bg: #F4ECE0;             /* کرم گرم */
      --bg-alt: #EDE3D4;
      --bg-card: #FAF3E7;
      --text: #2A2A2A;
      --text-soft: #5C5048;
      --border-soft: #D4C8B5;
      --border-softer: #E5D9C5;

      /* رنگ محورها */
      --civ: #C8A45C;            /* تمدن — طلایی */
      --imamat: #0F4D3A;         /* امامت — سبز عمیق */
      --mosque: #2A6B7C;         /* مسجد — فیروزه‌ای */
      --tabyin: #7B4423;         /* جهاد تبیین — اخرایی */

      /* تایپوگرافی */
      --font-display: 'Sahel', 'Vazirmatn', system-ui, sans-serif;
      --font-body: 'Estedad', 'Vazirmatn', system-ui, sans-serif;
      --font-accent: 'Vazirmatn', serif;

      /* فاصله */
      --container: 1240px;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font-body);
      background: var(--bg) url("../img/bg-body-search.png") top center / cover fixed;
      color: var(--text);
      font-size: 17px;
      line-height: 1.7;
      direction: rtl;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      overflow-x: hidden;
    }

    /* عددنویسی فارسی */
    .fa-num { font-feature-settings: "ss01"; }

    /* اعداد در badges - تبدیل به فارسی از طریق unicode */
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; height: auto; display: block; }
    button { font-family: inherit; cursor: pointer; border: none; background: none; }

    .container {
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 32px;
    }

    /* ============ کادر تذهیب‌گونه ============ */
    .ornate-border {
      position: relative;
      border: 1px solid var(--accent);
    }
    .ornate-border::before,
    .ornate-border::after {
      content: '';
      position: absolute;
      width: 12px;
      height: 12px;
      border: 1px solid var(--accent);
    }
    .ornate-border::before { top: -1px; right: -1px; border-bottom: none; border-left: none; }
    .ornate-border::after  { bottom: -1px; left: -1px; border-top: none; border-right: none; }

    /* علامت لوزی جداکننده */
    .divider-diamond {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      margin: 24px 0;
    }
    .divider-diamond::before,
    .divider-diamond::after {
      content: '';
      height: 1px;
      width: 60px;
      background: linear-gradient(90deg, transparent, var(--accent), transparent);
    }
    .divider-diamond span {
      color: var(--accent);
      font-size: 14px;
      transform: rotate(45deg);
      display: inline-block;
      letter-spacing: 0;
    }

    /* ============ پترن گره‌چینی محو ============ */
    .geo-pattern {
      position: absolute;
      inset: 0;
      pointer-events: none;
      opacity: 0.05;
      background-image:
        radial-gradient(circle at 25% 25%, var(--primary) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, var(--accent) 0%, transparent 50%);
      background-size: 80px 80px;
    }

    /* ============ HEADER ============ */
    .header {
      position: fixed;
      top: 0; right: 0; left: 0;
      z-index: 100;
      background: rgba(244, 236, 224, 0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      height: 110px;
      transition: box-shadow 0.3s ease, background 0.3s ease;
      border-bottom: 1px solid transparent;
    }
    .header.scrolled {
      box-shadow: 0 2px 12px rgba(15, 77, 58, 0.06);
      border-bottom-color: rgba(200, 164, 92, 0.2);
    }
    .header-inner {
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 32px;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
    }
    .header-logo img {
      height: 90px;
      width: auto;
      transition: transform 0.3s ease;
    }
    .header-logo:hover img { transform: scale(1.04); }

    .nav-main {
      display: flex;
      align-items: center;
      gap: 36px;
      list-style: none;
    }
    .nav-main a {
      font-size: 16px;
      font-weight: 500;
      color: var(--primary);
      padding: 8px 4px;
      position: relative;
      transition: color 0.25s ease;
    }
    .nav-main a::after {
      content: '';
      position: absolute;
      bottom: 0; right: 0;
      height: 2px;
      width: 0;
      background: var(--accent);
      transition: width 0.3s ease;
    }
    .nav-main a:hover { color: var(--accent-dark); }
    .nav-main a:hover::after { width: 100%; }

    .nav-dropdown { position: relative; }
    .nav-dropdown > a::before { content: '▾'; margin-left: 6px; font-size: 10px; }
    .dropdown-menu {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      min-width: 240px;
      background: var(--bg-card);
      border: 1px solid var(--border-soft);
      border-top: 3px solid var(--accent);
      border-radius: 8px;
      box-shadow: 0 12px 40px rgba(15, 77, 58, 0.12);
      padding: 8px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px);
      transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    }
    .nav-dropdown:hover .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    .dropdown-menu li { list-style: none; }
    .dropdown-menu a {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 14px;
      font-size: 15px;
      border-radius: 6px;
      transition: background 0.2s ease;
    }
    .dropdown-menu a::after { display: none; }
    .dropdown-menu a:hover { background: var(--bg-alt); }
    .axis-dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      flex-shrink: 0;
    }

    .search-btn {
      width: 42px; height: 42px;
      border-radius: 50%;
      border: 1px solid var(--border-soft);
      display: grid;
      place-items: center;
      color: var(--primary);
      transition: all 0.25s ease;
    }
    .search-btn:hover {
      background: var(--accent);
      color: var(--primary);
      border-color: var(--accent);
    }
    .search-btn svg { width: 18px; height: 18px; }

    /* همبرگر موبایل */
    .mobile-toggle { display: none; }

    /* ============ HERO ============ */
    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 150px 24px 60px;
      overflow: hidden;
      background-image: url("../img/hero-index.jpg");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
    /* پرده محو فقط زیر متن */
    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      pointer-events: none;
    }
    .hero-content {
      position: relative;
      z-index: 2;
      text-align: center;
      max-width: 900px;
      padding: 60px 32px;
    }
    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 14px;
      letter-spacing: 0.2em;
      color: var(--accent-light);
      margin-bottom: 32px;
      text-transform: uppercase;
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.6);
      opacity: 0;
      animation: fadeUp 0.8s ease 0.2s forwards;
    }
    .hero-eyebrow::before,
    .hero-eyebrow::after {
      content: '';
      width: 32px;
      height: 1px;
      background: var(--accent);
    }
    .hero-title {
      font-family: var(--font-display);
      font-size: clamp(40px, 7vw, 78px);
      font-weight: 900;
      color: #F4ECE0;
      line-height: 1.15;
      letter-spacing: -0.01em;
      text-shadow:
        0 0 4px rgba(0, 0, 0, 0.6),
        0 2px 12px rgba(0, 0, 0, 0.85),
        0 4px 32px rgba(0, 0, 0, 0.7),
        0 0 80px rgba(15, 77, 58, 0.5);
      opacity: 0;
      animation: fadeUp 1s ease 0.4s forwards;
    }
    .hero-title .dot { color: var(--accent); margin: 0 0.3em; display: inline-block; }

    .hero-title .title-sep {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 18px;
      margin: 18px auto;
      font-size: 22px;
      line-height: 1;
    }
    .hero-title .sep-line {
      height: 1px;
      width: clamp(60px, 14vw, 140px);
      background: linear-gradient(90deg, transparent, var(--accent), transparent);
      display: inline-block;
    }
    .hero-title .sep-diamond {
      color: var(--accent);
      font-size: 18px;
      transform: rotate(45deg);
      display: inline-block;
      text-shadow: 0 0 12px rgba(200, 164, 92, 0.5);
    }
    .hero-subtitle {
      font-size: clamp(16px, 2vw, 22px);
      font-weight: 300;
      color: rgba(244, 236, 224, 0.98);
      margin-top: 28px;
      max-width: 640px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.7;
      text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.85),
        0 4px 20px rgba(0, 0, 0, 0.6);
      opacity: 0;
      animation: fadeUp 1s ease 0.7s forwards;
    }
    .hero-actions {
      margin-top: 48px;
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
      opacity: 0;
      animation: fadeUp 1s ease 1s forwards;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 16px 32px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 16px;
      transition: all 0.3s ease;
      cursor: pointer;
      font-family: inherit;
    }
    .btn-primary {
      background: var(--accent);
      color: var(--primary);
      box-shadow: 0 4px 16px rgba(200, 164, 92, 0.3);
    }
    .btn-primary:hover {
      background: var(--accent-light);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(200, 164, 92, 0.45);
    }
    .btn-ghost {
      background: transparent;
      color: #F4ECE0;
      border: 1px solid rgba(244, 236, 224, 0.4);
    }
    .btn-ghost:hover {
      background: rgba(244, 236, 224, 0.15);
      border-color: rgba(244, 236, 224, 0.7);
    }

    /* اسکرول ایندیکیتور */
    .scroll-indicator {
      position: absolute;
      bottom: 40px;
      right: 50%;
      transform: translateX(50%);
      z-index: 2;
      color: var(--accent-light);
      font-size: 12px;
      letter-spacing: 0.2em;
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
      opacity: 0;
      animation: fadeUp 1s ease 1.4s forwards, bobble 2.4s ease-in-out 2s infinite;
    }
    .scroll-indicator::after {
      content: '';
      display: block;
      width: 1px;
      height: 32px;
      background: linear-gradient(180deg, var(--accent), transparent);
      margin: 8px auto 0;
    }

    /* گوشه‌های تزئینی Hero */
    .hero-corner {
      position: absolute;
      width: 80px;
      height: 80px;
      border: 1.5px solid var(--accent);
      opacity: 0.85;
      z-index: 2;
      pointer-events: none;
      filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
    }
    .hero-corner.tl { top: 100px; right: 32px; border-left: none; border-bottom: none; }
    .hero-corner.tr { top: 100px; left: 32px; border-right: none; border-bottom: none; }
    .hero-corner.bl { bottom: 32px; right: 32px; border-left: none; border-top: none; }
    .hero-corner.br { bottom: 32px; left: 32px; border-right: none; border-top: none; }

    @keyframes fadeUp {
      to { opacity: 1; transform: translateY(0); }
      from { opacity: 0; transform: translateY(20px); }
    }
    @keyframes bobble {
      0%, 100% { transform: translateX(50%) translateY(0); }
      50% { transform: translateX(50%) translateY(8px); }
    }

    /* ============ بخش‌های کلی ============ */
    section { position: relative; }

    /* شماره‌ی فصل بالای هر بخش */
    .chapter-mark {
      text-align: center;
      margin-bottom: 28px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 14px;
    }
    .chapter-mark .ch-num {
      font-family: var(--font-accent);
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 0.35em;
      color: var(--accent-dark);
      padding: 6px 18px;
      border: 1px solid rgba(200, 164, 92, 0.4);
      border-radius: 999px;
      background: rgba(200, 164, 92, 0.06);
    }
    .chapter-mark .ch-label {
      font-family: var(--font-accent);
      font-size: 14px;
      letter-spacing: 0.18em;
      color: var(--text-soft);
      font-weight: 400;
    }

    .section-title {
      font-family: var(--font-display);
      font-size: clamp(28px, 4vw, 48px);
      font-weight: 900;
      color: var(--primary);
      line-height: 1.25;
      text-align: center;
    }
    .section-lead {
      font-size: clamp(16px, 1.8vw, 19px);
      color: var(--text-soft);
      line-height: 1.85;
      max-width: 680px;
      margin: 24px auto 0;
      text-align: center;
    }

    /* ============ گذر تذهیبی بین فصل‌ها ============ */
    .chapter-gap {
      position: relative;
      height: 120px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      background: transparent;
    }
    .chapter-gap::before {
      content: '';
      position: absolute;
      top: 50%;
      right: 0; left: 0;
      height: 1px;
      background: linear-gradient(90deg,
        transparent 0%,
        rgba(200, 164, 92, 0.3) 20%,
        rgba(200, 164, 92, 0.5) 50%,
        rgba(200, 164, 92, 0.3) 80%,
        transparent 100%);
    }
    .chapter-gap .gap-ornament {
      position: relative;
      z-index: 2;
      padding: 0 24px;
      display: flex;
      align-items: center;
      gap: 14px;
    }
    .chapter-gap .gap-ornament span {
      color: var(--accent);
      font-size: 14px;
      transform: rotate(45deg);
      display: inline-block;
    }
    .chapter-gap .gap-ornament .gap-dot {
      width: 4px;
      height: 4px;
      background: var(--accent);
      border-radius: 50%;
      transform: none;
    }
    /* پس‌زمینه‌ی gap متناسب با بخش بالایی */
    .chapter-gap.from-bg { background: transparent; }
    .chapter-gap.from-bg-alt { background: transparent; }
    .chapter-gap.from-bg-paper { background: transparent; }
    .chapter-gap.from-dark {
      background: linear-gradient(180deg, #0F4D3A 0%, var(--bg-alt) 100%);
    }
    .chapter-gap.from-dark::before {
      background: linear-gradient(90deg,
        transparent 0%,
        rgba(200, 164, 92, 0.5) 20%,
        rgba(200, 164, 92, 0.7) 50%,
        rgba(200, 164, 92, 0.5) 80%,
        transparent 100%);
    }
    .chapter-gap.from-dark .gap-ornament span {
      color: var(--accent-light);
    }
    .chapter-gap.from-dark .gap-ornament .gap-dot {
      background: var(--accent-light);
    }

    /* ============ ستون متن باریک (برای محتوای داستانی) ============ */
    .narrow {
      max-width: 720px;
      margin: 0 auto;
    }

    /* ============ Pull-quote (ورودی فاخر فصل) ============ */
    .pull-quote {
      max-width: 760px;
      margin: 0 auto 80px;
      text-align: center;
      padding: 0 24px;
      position: relative;
    }
    .pull-quote::before,
    .pull-quote::after {
      content: '﴾';
      position: absolute;
      font-family: var(--font-accent);
      font-size: 56px;
      color: var(--accent);
      opacity: 0.4;
      top: -20px;
    }
    .pull-quote::before { right: -10px; }
    .pull-quote::after { content: '﴿'; left: -10px; }
    .pull-quote p {
      font-family: var(--font-accent);
      font-size: clamp(20px, 2.4vw, 26px);
      line-height: 1.9;
      color: var(--primary);
      font-weight: 500;
      font-style: normal;
    }

    /* ============ بخش منظومه (هرم تعاملی فاخر) ============ */
    .manzumeh {
      padding: 100px 0 120px;
      background: transparent;
      position: relative;
      overflow: hidden;
    }
    .manzumeh::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><path d='M60 0 L120 60 L60 120 L0 60 Z M60 30 L90 60 L60 90 L30 60 Z' fill='none' stroke='%230F4D3A' stroke-width='0.8' opacity='0.5'/></svg>");
      background-size: 120px 120px;
      opacity: 0.05;
      pointer-events: none;
    }

    /* چیدمان جدید: متن باریک بالا، هرم وسط زیر آن */
    .manzumeh-intro {
      max-width: 680px;
      margin: 56px auto 0;
      text-align: center;
    }
    .manzumeh-intro p {
      font-size: clamp(17px, 1.8vw, 20px);
      line-height: 2;
      color: var(--text);
      font-weight: 400;
    }

    /* راهنمای تعامل کوچک */
    .manzumeh-hint {
      text-align: center;
      margin: 32px auto 56px;
      font-size: 13px;
      color: var(--text-soft);
      letter-spacing: 0.05em;
    }
    .manzumeh-hint span {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 16px;
      background: rgba(200, 164, 92, 0.08);
      border: 1px dashed rgba(200, 164, 92, 0.4);
      border-radius: 999px;
    }
    .manzumeh-hint .pulse {
      width: 6px;
      height: 6px;
      background: var(--accent);
      border-radius: 50%;
      animation: pulse 1.8s ease-in-out infinite;
    }
    @keyframes pulse {
      0%, 100% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.6); opacity: 0.4; }
    }

    /* چیدمان دو ستونی: هرم + پنل */
    .manzumeh-experience {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 56px;
      align-items: start;
      margin-top: 24px;
    }

    /* ===== هرم تذهیبی جدید ===== */
    .pyramid-deluxe {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 22px;
      padding: 24px;
    }

    /* پس‌زمینه‌ی تذهیبی هرم */
    .pyramid-deluxe::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 50% 30%, rgba(200, 164, 92, 0.06), transparent 70%),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><path d='M20 0 L40 20 L20 40 L0 20 Z' fill='none' stroke='%23C8A45C' stroke-width='0.4' opacity='0.3'/></svg>");
      background-size: 40px 40px;
      border-radius: 12px;
      pointer-events: none;
      z-index: 0;
    }

    .tier-card {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 90px 1fr;
      align-items: stretch;
      gap: 0;
      background: var(--bg-card);
      border: 1.5px solid var(--border-soft);
      border-radius: 12px;
      overflow: hidden;
      cursor: pointer;
      transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
      box-shadow: 0 2px 8px rgba(15, 77, 58, 0.04);
    }
    .tier-card::before {
      content: '';
      position: absolute;
      inset: 0;
      border: 1px solid transparent;
      border-radius: 12px;
      pointer-events: none;
      transition: border-color 0.4s ease;
      margin: 4px;
    }
    .tier-card:hover {
      transform: translateX(-6px);
      box-shadow: 0 12px 30px rgba(15, 77, 58, 0.12);
      border-color: var(--accent);
    }
    .tier-card:hover::before {
      border-color: rgba(200, 164, 92, 0.4);
    }
    .tier-card.active {
      transform: translateX(-10px);
      border-color: var(--accent);
      box-shadow: 0 16px 40px rgba(15, 77, 58, 0.15);
    }
    .tier-card.active::before {
      border-color: rgba(200, 164, 92, 0.5);
    }

    /* ستون چپ کارت: عدد امضایی فارسی */
    .tier-number {
      position: relative;
      display: grid;
      place-items: center;
      background: linear-gradient(135deg, rgba(200, 164, 92, 0.12), rgba(200, 164, 92, 0.02));
      border-left: 1px solid var(--border-softer);
    }
    .tier-number .num {
      font-family: var(--font-accent);
      font-size: 56px;
      font-weight: 300;
      line-height: 1;
      color: var(--accent);
      opacity: 0.7;
      transition: all 0.5s ease;
    }
    .tier-card.active .tier-number .num {
      opacity: 1;
      transform: scale(1.08);
    }
    .tier-number::after {
      content: '';
      position: absolute;
      bottom: 12px;
      right: 50%;
      transform: translateX(50%);
      width: 24px;
      height: 1px;
      background: var(--accent);
      opacity: 0.5;
    }

    /* ستون راست کارت: محتوا */
    .tier-content {
      padding: 22px 24px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 6px;
      position: relative;
    }
    .tier-role {
      font-size: 11.5px;
      letter-spacing: 0.2em;
      font-weight: 500;
      text-transform: uppercase;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .tier-role::before {
      content: '';
      width: 16px;
      height: 1px;
      background: currentColor;
    }
    .tier-name {
      font-family: var(--font-display);
      font-size: 24px;
      font-weight: 800;
      line-height: 1.3;
      color: var(--text);
    }
    .tier-card.active .tier-name {
      color: var(--primary);
    }

    /* رنگ امضایی هر طبقه: فقط روی نقش (role) */
    .tier-card[data-axis="civ"] .tier-role { color: var(--civ); }
    .tier-card[data-axis="imamat"] .tier-role { color: var(--imamat); }
    .tier-card[data-axis="mosque"] .tier-role { color: var(--mosque); }
    .tier-card[data-axis="tabyin"] .tier-role { color: var(--tabyin); }

    .tier-card[data-axis="civ"].active { border-color: var(--civ); }
    .tier-card[data-axis="imamat"].active { border-color: var(--imamat); }
    .tier-card[data-axis="mosque"].active { border-color: var(--mosque); }
    .tier-card[data-axis="tabyin"].active { border-color: var(--tabyin); }

    /* خط جریانی بین طبقات */
    .tier-flow {
      position: relative;
      z-index: 2;
      height: 22px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: -22px 0;
      pointer-events: none;
    }
    .tier-flow svg {
      width: 60px;
      height: 22px;
      overflow: visible;
    }
    .tier-flow path {
      stroke: var(--accent);
      stroke-width: 1.5;
      fill: none;
      stroke-dasharray: 4 4;
      opacity: 0.6;
    }
    .tier-flow .flow-diamond {
      position: absolute;
      width: 8px;
      height: 8px;
      background: var(--accent);
      transform: rotate(45deg);
      box-shadow: 0 0 8px rgba(200, 164, 92, 0.5);
    }

    /* ===== پنل توضیح تعاملی (سینمایی با تصویر پس‌زمینه) ===== */
    .tier-panel {
      position: sticky;
      top: 140px;
      border-radius: 16px;
      overflow: hidden;
      min-height: 580px;
      box-shadow: 0 12px 40px rgba(15, 77, 58, 0.18);
      isolation: isolate;
    }
    /* تصویر پس‌زمینه‌ی پنل */
    .panel-bg {
      position: absolute;
      inset: 0;
      z-index: -2;
      overflow: hidden;
    }
    .panel-bg img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: opacity 0.5s ease, transform 1.5s ease;
      position: absolute;
      inset: 0;
      opacity: 0;
    }
    .panel-bg img.active {
      opacity: 1;
    }
    /* overlay رنگی متناسب با محور فعال */
    .tier-panel::before {
      content: '';
      position: absolute;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      background:
        linear-gradient(180deg, rgba(15, 30, 25, 0.25) 0%, rgba(15, 30, 25, 0.55) 45%, rgba(15, 30, 25, 0.92) 100%);
      transition: background 0.6s ease;
    }
    .tier-panel[data-active="civ"]::before {
      background:
        linear-gradient(180deg, rgba(74, 52, 18, 0.2) 0%, rgba(74, 52, 18, 0.55) 45%, rgba(74, 52, 18, 0.94) 100%),
        linear-gradient(135deg, rgba(200, 164, 92, 0.22), transparent 70%);
    }
    .tier-panel[data-active="imamat"]::before {
      background:
        linear-gradient(180deg, rgba(10, 53, 40, 0.2) 0%, rgba(10, 53, 40, 0.55) 45%, rgba(10, 53, 40, 0.95) 100%),
        linear-gradient(135deg, rgba(15, 77, 58, 0.22), transparent 70%);
    }
    .tier-panel[data-active="mosque"]::before {
      background:
        linear-gradient(180deg, rgba(15, 50, 60, 0.2) 0%, rgba(15, 50, 60, 0.55) 45%, rgba(15, 50, 60, 0.95) 100%),
        linear-gradient(135deg, rgba(42, 107, 124, 0.22), transparent 70%);
    }
    .tier-panel[data-active="tabyin"]::before {
      background:
        linear-gradient(180deg, rgba(50, 25, 12, 0.2) 0%, rgba(50, 25, 12, 0.55) 45%, rgba(50, 25, 12, 0.95) 100%),
        linear-gradient(135deg, rgba(123, 68, 35, 0.28), transparent 70%);
    }

    /* قاب تذهیبی داخلی پنل */
    .panel-frame {
      position: absolute;
      inset: 12px;
      border: 1px solid rgba(200, 164, 92, 0.5);
      border-radius: 10px;
      pointer-events: none;
      z-index: 1;
    }
    /* نوار رنگی بالای پنل */
    .panel-bar {
      position: absolute;
      top: 0;
      right: 0;
      left: 0;
      height: 4px;
      background: var(--accent);
      transition: background 0.5s ease;
      z-index: 2;
    }
    .panel-content {
      position: relative;
      z-index: 2;
      padding: 44px 36px 36px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      min-height: 580px;
      color: #F4ECE0;
    }

    .panel-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 20px;
      padding-bottom: 18px;
      border-bottom: 1px dashed rgba(200, 164, 92, 0.4);
    }
    .panel-pos {
      font-family: var(--font-accent);
      font-size: 13px;
      color: rgba(244, 236, 224, 0.7);
      letter-spacing: 0.1em;
    }
    .panel-pos b {
      font-weight: 700;
      color: var(--accent-light);
      font-size: 16px;
      margin: 0 4px;
    }
    .panel-role-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 16px;
      border-radius: 999px;
      font-size: 11.5px;
      font-weight: 600;
      letter-spacing: 0.1em;
      background: rgba(244, 236, 224, 0.12);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(200, 164, 92, 0.4);
      color: var(--accent-light);
      transition: all 0.5s ease;
    }
    .panel-role-tag::before {
      content: '◆';
      font-size: 8px;
    }

    .panel-name {
      font-family: var(--font-display);
      font-size: clamp(32px, 3.6vw, 44px);
      font-weight: 900;
      color: #F8EFD9;
      line-height: 1.2;
      margin-bottom: 20px;
      text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    }
    .panel-desc {
      font-size: 16px;
      line-height: 1.95;
      color: rgba(244, 236, 224, 0.95);
      margin-bottom: 24px;
      text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    }

    .panel-keys {
      list-style: none;
      padding: 0;
      margin: 0 0 28px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .panel-keys li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 12px 16px;
      background: rgba(244, 236, 224, 0.08);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      border-right: 3px solid var(--accent);
      border-radius: 4px;
      font-size: 14.5px;
      line-height: 1.7;
      color: rgba(244, 236, 224, 0.95);
      transition: all 0.4s ease;
    }
    .panel-keys li::before {
      content: '◆';
      color: var(--accent);
      font-size: 8px;
      margin-top: 8px;
      flex-shrink: 0;
    }

    .panel-cta {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 24px;
      background: var(--accent);
      color: var(--primary-dark);
      border-radius: 8px;
      font-weight: 700;
      font-size: 15px;
      align-self: flex-start;
      transition: all 0.3s ease;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    }
    .panel-cta:hover {
      background: var(--accent-light);
      transform: translateX(-4px);
      box-shadow: 0 10px 26px rgba(200, 164, 92, 0.4);
    }
    .panel-cta::after {
      content: '←';
      font-size: 18px;
    }

    /* انیمیشن تعویض محتوای پنل */
    .panel-content.switching .panel-header,
    .panel-content.switching .panel-name,
    .panel-content.switching .panel-desc,
    .panel-content.switching .panel-keys,
    .panel-content.switching .panel-cta {
      opacity: 0;
      transform: translateY(8px);
    }
    .panel-content .panel-header,
    .panel-content .panel-name,
    .panel-content .panel-desc,
    .panel-content .panel-keys,
    .panel-content .panel-cta {
      transition: opacity 0.4s ease, transform 0.4s ease;
    }

    /* رنگ‌بندی نوار بالا متناسب با محور */
    .tier-panel[data-active="civ"] .panel-bar { background: var(--civ); }
    .tier-panel[data-active="imamat"] .panel-bar { background: var(--imamat); }
    .tier-panel[data-active="mosque"] .panel-bar { background: var(--mosque); }
    .tier-panel[data-active="tabyin"] .panel-bar { background: var(--tabyin); }

    .tier-panel[data-active="civ"] .panel-keys li { border-right-color: var(--civ); }
    .tier-panel[data-active="imamat"] .panel-keys li { border-right-color: rgba(200, 164, 92, 0.7); }
    .tier-panel[data-active="mosque"] .panel-keys li { border-right-color: rgba(200, 164, 92, 0.7); }
    .tier-panel[data-active="tabyin"] .panel-keys li { border-right-color: rgba(200, 164, 92, 0.7); }

    /* Responsive — موبایل: آکاردئون به‌جای دو ستون */
    @media (max-width: 900px) {
      .manzumeh-experience {
        grid-template-columns: 1fr;
        gap: 0;
      }

      /* راهنمای تعامل در موبایل */
      .manzumeh-hint span {
        font-size: 12px;
        padding: 6px 14px;
      }

      /* هرم در موبایل: فقط نمایش است؛ پنل به‌صورت آکاردئون زیر هر طبقه باز می‌شود */
      .pyramid-deluxe {
        padding: 16px 8px;
        gap: 0;
      }

      .tier-card {
        grid-template-columns: 56px 1fr;
        margin-bottom: 0;
        border-radius: 10px;
        transition: all 0.4s ease;
        position: relative;
        padding-left: 110px;
      }

      /* دکمه‌ی «بیشتر بدانید» با فلش چرخان */
      .tier-card::after {
        content: 'بیشتر بدانید';
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        padding: 8px 14px 8px 32px;
        background: var(--accent);
        color: var(--primary-dark);
        border: 1px solid var(--accent);
        border-radius: 999px;
        font-family: var(--font-body);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.02em;
        white-space: nowrap;
        transition: all 0.3s ease;
        z-index: 3;
        box-shadow: 0 3px 10px rgba(200, 164, 92, 0.35);
        cursor: pointer;
      }
      /* فلش رو/پایین (به‌صورت ::before روی کارت) */
      .tier-card::before {
        content: '';
        position: absolute;
        left: 16px;
        top: 50%;
        width: 6px;
        height: 6px;
        border-right: 1.5px solid var(--primary-dark);
        border-bottom: 1.5px solid var(--primary-dark);
        transform: translateY(-65%) rotate(45deg);
        transition: transform 0.4s ease;
        z-index: 4;
        pointer-events: none;
        border-radius: 1px;
        background: transparent;
        inset: auto;
        margin: 0;
      }
      .tier-card.active::after {
        content: 'بستن';
        background: var(--primary);
        color: var(--bg);
        border-color: var(--primary);
        box-shadow: 0 3px 10px rgba(15, 77, 58, 0.3);
      }
      .tier-card.active::before {
        transform: translateY(-35%) rotate(-135deg);
        border-color: var(--bg);
      }
      .tier-card:hover {
        transform: none;
      }
      .tier-card.active {
        transform: none;
        border-radius: 10px 10px 0 0;
        margin-bottom: 0;
      }
      .tier-card:hover::after {
        background: var(--accent-light);
        box-shadow: 0 4px 14px rgba(200, 164, 92, 0.5);
      }

      .tier-number .num { font-size: 36px; }
      .tier-content { padding: 16px 14px 16px 8px; }
      .tier-name { font-size: 17px; }
      .tier-role { font-size: 10.5px; letter-spacing: 0.15em; }

      /* خط جریانی: مخفی در حالت active */
      .tier-flow {
        height: 16px;
        margin: -8px 0;
      }
      .tier-flow svg { width: 40px; height: 16px; }
      /* وقتی کارت فعال است، خط جریانی بعدش پنهان می‌شود تا پنل بهتر بنشیند */
      .tier-card.active + .tier-flow,
      .tier-panel + .tier-flow {
        display: none;
      }

      /* پنل موبایل: زیر هر طبقه‌ی فعال نمایش داده می‌شود */
      .tier-panel {
        position: relative !important;
        top: 0;
        min-height: 0;
        max-height: 0;
        opacity: 0;
        margin: 0;
        border-radius: 0 0 10px 10px;
        overflow: hidden;
        transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease;
        box-shadow: 0 8px 20px rgba(15, 77, 58, 0.15);
      }
      .tier-panel.mobile-open {
        max-height: 1400px;
        opacity: 1;
        margin-bottom: 14px;
      }

      .panel-content {
        padding: 28px 24px 28px;
        min-height: 0;
      }

      /* در موبایل، تصاویر پس‌زمینه ارتفاع کمتری بگیرند */
      .panel-bg { height: 100%; }

      /* اندازه‌ی متن‌های پنل در موبایل */
      .panel-name { font-size: 26px; margin-bottom: 14px; }
      .panel-desc { font-size: 15px; line-height: 1.85; margin-bottom: 20px; }
      .panel-keys li { font-size: 13.5px; padding: 10px 14px; }
      .panel-keys { margin-bottom: 22px; }
      .panel-cta { font-size: 14px; padding: 12px 20px; }

      .panel-header {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 16px;
        padding-bottom: 14px;
      }
      .panel-pos { font-size: 11.5px; }
      .panel-role-tag { font-size: 10.5px; padding: 5px 12px; }
    }

    @media (max-width: 480px) {
      .pyramid-deluxe { padding: 12px 0; }
      .tier-card {
        grid-template-columns: 44px 1fr;
        padding-left: 56px;
      }
      .tier-card::after {
        content: '';
        left: 10px;
        padding: 0;
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        border-radius: 50%;
      }
      .tier-card.active::after {
        content: '';
      }
      .tier-card::before {
        left: 24px;
        width: 7px;
        height: 7px;
      }
      .tier-card.active::before {
        border-color: var(--bg);
      }
      .tier-number .num { font-size: 28px; }
      .tier-content { padding: 14px 12px 14px 6px; }
      .tier-name { font-size: 15.5px; }
      .tier-role { font-size: 9.5px; }
      .panel-content { padding: 24px 20px; }
      .panel-name { font-size: 22px; }
      .panel-desc { font-size: 14.5px; }

      /* در صفحه‌های خیلی کوچک، یک متن کوچک «بیشتر» زیر هرم نمایش می‌دهیم تا کاربر بفهمد */
      .manzumeh-hint span { font-size: 11.5px; }
    }
    .manzumeh-text h3 {
      font-family: var(--font-display);
      font-size: 28px;
      font-weight: 800;
      color: var(--primary);
      margin-bottom: 24px;
      line-height: 1.4;
    }
    .manzumeh-text p {
      font-size: 18px;
      line-height: 1.95;
      color: var(--text);
    }

    .pyramid {
      display: flex;
      flex-direction: column;
      gap: 16px;
      position: relative;
    }
    .pyramid-tier {
      position: relative;
      padding: 24px 28px;
      border-radius: 10px;
      color: #F4ECE0;
      cursor: pointer;
      transition: transform 0.35s ease, box-shadow 0.35s ease;
      overflow: hidden;
    }
    .pyramid-tier::before {
      content: '';
      position: absolute;
      inset: 6px;
      border: 1px solid rgba(244, 236, 224, 0.3);
      border-radius: 6px;
      pointer-events: none;
    }
    .pyramid-tier:hover {
      transform: scale(1.03) translateY(-2px);
      box-shadow: 0 14px 36px rgba(200, 164, 92, 0.28);
    }
    .pyramid-tier .tier-name {
      font-family: var(--font-display);
      font-size: 24px;
      font-weight: 800;
      margin-bottom: 4px;
    }
    .pyramid-tier .tier-role {
      font-size: 13px;
      opacity: 0.85;
      letter-spacing: 0.05em;
    }
    .pyramid-tier .tier-num {
      position: absolute;
      top: 16px;
      left: 24px;
      font-size: 28px;
      font-weight: 300;
      opacity: 0.35;
      font-family: var(--font-accent);
    }

    .pyramid-tier.t1 { background: linear-gradient(135deg, var(--civ), #b89045); }
    .pyramid-tier.t1 .tier-name { color: #fff; }
    .pyramid-tier.t2 { background: linear-gradient(135deg, var(--imamat), #0a3a2c); }
    .pyramid-tier.t3 { background: linear-gradient(135deg, var(--mosque), #1f5060); }
    .pyramid-tier.t4 { background: linear-gradient(135deg, var(--tabyin), #5e3219); }

    .pyramid-arrow {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 4px 0;
    }
    .pyramid-arrow::before {
      content: '';
      width: 1px;
      height: 18px;
      background: var(--accent);
    }
    .pyramid-arrow span {
      color: var(--accent);
      font-size: 14px;
      transform: rotate(45deg);
      display: inline-block;
    }
    .pyramid-arrow::after {
      content: '↑';
      color: var(--accent);
      font-weight: 700;
    }

    /* ============ بخش «چرا این چهار» - فشرده و بصری ============ */
    .why {
      padding: 100px 0 120px;
      background: transparent;
      position: relative;
      overflow: hidden;
    }
    .why::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        radial-gradient(circle at 20% 30%, rgba(200, 164, 92, 0.06), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(15, 77, 58, 0.04), transparent 40%),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'><g fill='none' stroke='%23C8A45C' stroke-width='0.5' opacity='0.4'><circle cx='100' cy='100' r='80'/><circle cx='100' cy='100' r='60'/><circle cx='100' cy='100' r='40'/><path d='M100 20 L100 180 M20 100 L180 100 M40 40 L160 160 M160 40 L40 160'/></g></svg>");
      background-size: auto, auto, 200px 200px;
      opacity: 0.5;
      pointer-events: none;
    }
    .why .container { position: relative; z-index: 1; }

    .why-header {
      text-align: center;
      margin-bottom: 56px;
    }

    /* ===== Pull-quote فشرده ===== */
    .pull-quote {
      max-width: 820px;
      margin: 0 auto 64px;
      text-align: center;
      padding: 0 32px;
      position: relative;
    }
    .pull-quote::before,
    .pull-quote::after {
      content: '﴾';
      position: absolute;
      font-family: var(--font-accent);
      font-size: 56px;
      color: var(--accent);
      opacity: 0.4;
      top: -16px;
    }
    .pull-quote::before { right: -4px; }
    .pull-quote::after { content: '﴿'; left: -4px; }
    .pull-quote p {
      font-family: var(--font-accent);
      font-size: clamp(19px, 2.2vw, 24px);
      line-height: 1.95;
      color: var(--primary);
      font-weight: 500;
    }

    /* ===== نمودار افقی منطق ===== */
    .logic-flow {
      max-width: 1080px;
      margin: 0 auto 64px;
      padding: 32px 24px;
      background: linear-gradient(135deg, var(--bg-card), #f6ecd9);
      border: 1px solid var(--border-soft);
      border-radius: 16px;
      box-shadow: 0 8px 32px rgba(15, 77, 58, 0.06);
      position: relative;
    }
    .logic-flow::before {
      content: '';
      position: absolute;
      inset: 8px;
      border: 1px solid rgba(200, 164, 92, 0.3);
      border-radius: 10px;
      pointer-events: none;
    }
    .logic-flow-title {
      text-align: center;
      font-size: 12px;
      letter-spacing: 0.35em;
      color: var(--accent-dark);
      font-weight: 700;
      margin-bottom: 28px;
      position: relative;
      z-index: 1;
    }
    .logic-flow-title::before,
    .logic-flow-title::after {
      content: '◆';
      margin: 0 12px;
      font-size: 8px;
      vertical-align: middle;
      opacity: 0.7;
    }

    .logic-chain {
      display: flex;
      align-items: stretch;
      justify-content: space-between;
      gap: 8px;
      position: relative;
      z-index: 1;
    }

    .logic-node {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 18px 12px;
      background: var(--bg);
      border-radius: 12px;
      border: 1.5px solid;
      transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
      position: relative;
    }
    .logic-node[data-axis="civ"] { border-color: rgba(200, 164, 92, 0.4); }
    .logic-node[data-axis="imamat"] { border-color: rgba(15, 77, 58, 0.4); }
    .logic-node[data-axis="mosque"] { border-color: rgba(42, 107, 124, 0.4); }
    .logic-node[data-axis="tabyin"] { border-color: rgba(123, 68, 35, 0.4); }
    .logic-node:hover {
      transform: translateY(-4px);
      box-shadow: 0 10px 24px rgba(15, 77, 58, 0.1);
    }
    .logic-node[data-axis="civ"]:hover { border-color: var(--civ); }
    .logic-node[data-axis="imamat"]:hover { border-color: var(--imamat); }
    .logic-node[data-axis="mosque"]:hover { border-color: var(--mosque); }
    .logic-node[data-axis="tabyin"]:hover { border-color: var(--tabyin); }

    .logic-node .node-role {
      font-size: 11px;
      letter-spacing: 0.18em;
      font-weight: 600;
      margin-bottom: 6px;
      opacity: 0.85;
    }
    .logic-node[data-axis="civ"] .node-role { color: var(--civ); }
    .logic-node[data-axis="imamat"] .node-role { color: var(--imamat); }
    .logic-node[data-axis="mosque"] .node-role { color: var(--mosque); }
    .logic-node[data-axis="tabyin"] .node-role { color: var(--tabyin); }

    .logic-node .node-name {
      font-family: var(--font-display);
      font-size: clamp(14px, 1.5vw, 17px);
      font-weight: 800;
      color: var(--primary);
      line-height: 1.3;
    }

    /* فلش بین نودها */
    .logic-arrow {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 4px;
      flex: 0 0 auto;
      padding: 0 2px;
    }
    .logic-arrow svg {
      width: 24px;
      height: 24px;
      color: var(--accent);
      opacity: 0.7;
    }
    .logic-arrow .arrow-label {
      font-size: 9px;
      color: var(--accent-dark);
      font-weight: 600;
      letter-spacing: 0.1em;
      white-space: nowrap;
      opacity: 0.7;
    }

    /* ===== سه ستون گزاره ===== */
    .reasoning-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-bottom: 56px;
    }

    .reason-col {
      background: var(--bg-card);
      border: 1px solid var(--border-soft);
      border-radius: 14px;
      padding: 32px 28px 28px;
      position: relative;
      box-shadow: 0 4px 16px rgba(15, 77, 58, 0.05);
      transition: all 0.4s ease;
      overflow: hidden;
    }
    .reason-col::before {
      content: '';
      position: absolute;
      inset: 6px;
      border: 1px solid rgba(200, 164, 92, 0.2);
      border-radius: 9px;
      pointer-events: none;
    }
    .reason-col::after {
      content: '';
      position: absolute;
      top: 0;
      right: 16px;
      left: 16px;
      height: 3px;
      border-radius: 0 0 3px 3px;
    }
    .reason-col[data-color="civ"]::after { background: var(--civ); }
    .reason-col[data-color="mosque"]::after { background: var(--mosque); }
    .reason-col[data-color="tabyin"]::after { background: var(--tabyin); }

    .reason-col:hover {
      transform: translateY(-4px);
      box-shadow: 0 14px 36px rgba(15, 77, 58, 0.1);
    }

    .reason-col .col-num {
      position: absolute;
      top: 16px;
      left: 20px;
      font-family: var(--font-accent);
      font-size: 80px;
      font-weight: 200;
      line-height: 0.85;
      color: var(--accent);
      opacity: 0.15;
      letter-spacing: -0.05em;
      pointer-events: none;
      z-index: 0;
    }
    .reason-col > * {
      position: relative;
      z-index: 1;
    }

    .col-label {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 14px;
      border-radius: 999px;
      background: rgba(200, 164, 92, 0.1);
      border: 1px solid rgba(200, 164, 92, 0.35);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.15em;
      color: var(--accent-dark);
      margin-bottom: 18px;
    }
    .col-label::before {
      content: '◆';
      font-size: 7px;
    }

    .reason-col .col-text {
      font-size: 17px;
      line-height: 1.85;
      color: var(--text);
      font-weight: 500;
    }
    .reason-col .col-text strong {
      font-weight: 700;
    }
    .strong-civ { color: var(--civ); }
    .strong-imamat { color: var(--imamat); }
    .strong-mosque { color: var(--mosque); }
    .strong-tabyin { color: var(--tabyin); }

    /* ===== جمع‌بندی فشرده ===== */
    .why-summary {
      max-width: 720px;
      margin: 0 auto;
      text-align: center;
      padding: 36px 32px;
      background:
        linear-gradient(135deg, rgba(15, 77, 58, 0.04), rgba(200, 164, 92, 0.06)),
        var(--bg-card);
      border: 1px solid var(--accent);
      border-radius: 14px;
      position: relative;
      box-shadow: 0 8px 28px rgba(15, 77, 58, 0.06);
    }
    .why-summary::before {
      content: '';
      position: absolute;
      inset: 6px;
      border: 1px solid rgba(200, 164, 92, 0.3);
      border-radius: 9px;
      pointer-events: none;
    }
    .why-summary .summary-mark {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
    }
    .why-summary .summary-mark::before,
    .why-summary .summary-mark::after {
      content: '';
      width: 32px;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--accent), transparent);
    }
    .why-summary .summary-mark span {
      color: var(--accent);
      font-size: 12px;
      letter-spacing: 0.3em;
      font-weight: 600;
    }
    .why-summary p {
      font-family: var(--font-display);
      font-size: clamp(18px, 2.2vw, 22px);
      line-height: 1.7;
      color: var(--primary);
      font-weight: 700;
    }
    .why-summary p .highlight {
      color: var(--accent-dark);
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .logic-node .node-name { font-size: 13px; }
      .logic-arrow svg { width: 20px; height: 20px; }
      .logic-arrow .arrow-label { display: none; }
    }
    @media (max-width: 768px) {
      .why { padding: 80px 0; }
      .pull-quote { margin-bottom: 48px; }
      .logic-flow { padding: 24px 16px; margin-bottom: 48px; }
      .logic-chain {
        flex-direction: column;
        gap: 0;
      }
      .logic-node { padding: 16px; }
      .logic-arrow {
        padding: 8px 0;
      }
      .logic-arrow svg {
        transform: rotate(90deg);
        width: 22px;
        height: 22px;
      }
      .reasoning-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 40px;
      }
      .reason-col { padding: 24px 22px; }
      .reason-col .col-text { font-size: 15.5px; }
      .reason-col .col-num { font-size: 60px; }
    }

    /* ============ چهار محور (کارت‌های ورودی) ============ */
    .axes {
      padding: 100px 0 120px;
      background: transparent;
      position: relative;
    }
    .axes::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><path d='M40 0 L80 40 L40 80 L0 40 Z' fill='none' stroke='%23C8A45C' stroke-width='0.5' opacity='0.4'/></svg>");
      background-size: 80px 80px;
      opacity: 0.4;
      pointer-events: none;
    }
    .axes .container { position: relative; z-index: 2; }
    .axes-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      margin-top: 72px;
    }
    .axis-card {
      position: relative;
      border-radius: 10px;
      min-height: 440px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      box-shadow: 0 6px 20px rgba(15, 77, 58, 0.12);
      transition: all 0.5s ease;
      overflow: hidden;
      isolation: isolate;
      color: #F4ECE0;
    }
    /* تصویر پس‌زمینه‌ی کل کارت */
    .axis-card .axis-bg {
      position: absolute;
      inset: 0;
      z-index: -2;
    }
    .axis-card .axis-bg img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.9s ease;
    }
    /* overlay رنگی هر محور - گرادینت از پایین (پررنگ) به بالا (شفاف) */
    .axis-card::before {
      content: '';
      position: absolute;
      inset: 0;
      z-index: -1;
      pointer-events: none;
    }
    .axis-card.civ::before {
      background:
        linear-gradient(180deg, rgba(74, 52, 18, 0.15) 0%, rgba(74, 52, 18, 0.55) 50%, rgba(74, 52, 18, 0.92) 100%),
        linear-gradient(135deg, rgba(200, 164, 92, 0.25), transparent 70%);
    }
    .axis-card.imamat::before {
      background:
        linear-gradient(180deg, rgba(10, 53, 40, 0.2) 0%, rgba(10, 53, 40, 0.6) 50%, rgba(10, 53, 40, 0.95) 100%),
        linear-gradient(135deg, rgba(15, 77, 58, 0.25), transparent 70%);
    }
    .axis-card.mosque::before {
      background:
        linear-gradient(180deg, rgba(15, 50, 60, 0.2) 0%, rgba(15, 50, 60, 0.6) 50%, rgba(15, 50, 60, 0.95) 100%),
        linear-gradient(135deg, rgba(42, 107, 124, 0.25), transparent 70%);
    }
    .axis-card.tabyin::before {
      background:
        linear-gradient(180deg, rgba(50, 25, 12, 0.2) 0%, rgba(50, 25, 12, 0.6) 50%, rgba(50, 25, 12, 0.95) 100%),
        linear-gradient(135deg, rgba(123, 68, 35, 0.3), transparent 70%);
    }
    /* قاب تذهیبی داخلی */
    .axis-card .axis-frame {
      position: absolute;
      inset: 8px;
      border: 1px solid rgba(200, 164, 92, 0.5);
      border-radius: 6px;
      pointer-events: none;
      z-index: 1;
    }
    .axis-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 24px 50px rgba(15, 77, 58, 0.25);
    }
    .axis-card:hover .axis-bg img {
      transform: scale(1.08);
    }

    /* badge آیکن در بالا-راست */
    .axis-icon {
      position: absolute;
      top: 24px;
      right: 24px;
      width: 52px;
      height: 52px;
      display: grid;
      place-items: center;
      border-radius: 12px;
      z-index: 2;
      background: rgba(244, 236, 224, 0.15);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(200, 164, 92, 0.5);
      color: var(--accent-light);
      transition: all 0.4s ease;
    }
    .axis-card:hover .axis-icon {
      background: var(--accent);
      color: var(--primary-dark);
      border-color: var(--accent);
      transform: scale(1.08);
    }
    .axis-icon svg { width: 26px; height: 26px; }

    /* بدنه‌ی متنی کارت (پایین) */
    .axis-body {
      position: relative;
      z-index: 2;
      padding: 24px 28px 28px;
    }
    .axis-card .axis-name {
      font-family: var(--font-display);
      font-size: 28px;
      font-weight: 900;
      margin-bottom: 6px;
      color: #F8EFD9;
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
      line-height: 1.25;
    }
    .axis-card .axis-role {
      font-size: 13px;
      letter-spacing: 0.15em;
      color: var(--accent-light);
      margin-bottom: 18px;
      font-weight: 500;
    }
    .axis-card .axis-role::before {
      content: '◆';
      margin-left: 8px;
      font-size: 8px;
      vertical-align: middle;
    }
    .axis-card .axis-text {
      font-size: 14.5px;
      line-height: 1.85;
      color: rgba(244, 236, 224, 0.92);
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
      margin-bottom: 22px;
    }
    .axis-card .axis-foot {
      padding-top: 16px;
      border-top: 1px solid rgba(200, 164, 92, 0.3);
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 14px;
    }
    .axis-card .axis-foot .count {
      color: rgba(244, 236, 224, 0.7);
      font-size: 13px;
    }
    .axis-card .axis-foot .enter {
      font-weight: 600;
      color: var(--accent-light);
      transition: transform 0.3s ease;
    }
    .axis-card:hover .axis-foot .enter {
      transform: translateX(-6px);
      color: var(--accent);
    }

    /* ============ مفاهیم کلیدی - کتابخانه‌ی منظومه ============ */
    .concepts {
      padding: 120px 0;
      background:
        linear-gradient(180deg, var(--bg-alt) 0%, #1a3a2c 6%, #0F4D3A 100%);
      position: relative;
      overflow: hidden;
      color: #F4ECE0;
    }
    /* پترن تذهیبی پس‌زمینه */
    .concepts::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><g fill='none' stroke='%23C8A45C' stroke-width='0.5' opacity='0.5'><circle cx='80' cy='80' r='60'/><circle cx='80' cy='80' r='40'/><circle cx='80' cy='80' r='20'/><path d='M80 20 L80 140 M20 80 L140 80'/><path d='M30 30 L130 130 M130 30 L30 130'/></g></svg>");
      background-size: 200px 200px;
      opacity: 0.18;
      pointer-events: none;
    }
    /* هاله‌ی نور طلایی در وسط */
    .concepts::after {
      content: '';
      position: absolute;
      top: 30%;
      right: 50%;
      transform: translateX(50%);
      width: 800px;
      height: 800px;
      background: radial-gradient(circle, rgba(200, 164, 92, 0.15) 0%, transparent 60%);
      pointer-events: none;
    }
    .concepts .container { position: relative; z-index: 2; }

    /* رنگ‌بندی هدر برای پس‌زمینه‌ی تیره */
    .concepts .chapter-mark .ch-num {
      color: var(--accent-light);
      border-color: rgba(200, 164, 92, 0.5);
      background: rgba(200, 164, 92, 0.1);
    }
    .concepts .chapter-mark .ch-label {
      color: rgba(244, 236, 224, 0.8);
    }
    .concepts .section-title {
      color: #F8EFD9;
      text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    }
    .concepts .section-lead {
      color: rgba(244, 236, 224, 0.8);
    }

    /* ===== فیلتر محورها ===== */
    .concept-filter {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 12px;
      margin: 56px auto 64px;
      padding: 16px 20px;
      background: rgba(244, 236, 224, 0.04);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(200, 164, 92, 0.2);
      border-radius: 999px;
      max-width: fit-content;
    }
    .filter-btn {
      padding: 10px 22px;
      border-radius: 999px;
      background: transparent;
      color: rgba(244, 236, 224, 0.7);
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      border: 1px solid transparent;
      font-family: inherit;
    }
    .filter-btn .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: currentColor;
      opacity: 0.6;
    }
    .filter-btn[data-axis="all"] .dot { display: none; }
    .filter-btn[data-axis="civ"] .dot { background: var(--civ); }
    .filter-btn[data-axis="imamat"] .dot { background: var(--accent-light); }
    .filter-btn[data-axis="mosque"] .dot { background: #6dacc0; }
    .filter-btn[data-axis="tabyin"] .dot { background: #d68a5a; }

    .filter-btn:hover {
      color: var(--accent-light);
      background: rgba(244, 236, 224, 0.06);
    }
    .filter-btn.active {
      background: var(--accent);
      color: var(--primary-dark);
      font-weight: 700;
      border-color: var(--accent);
    }
    .filter-btn.active .dot { opacity: 1; }
    .filter-btn .count {
      font-size: 11px;
      opacity: 0.7;
      margin-right: 4px;
    }

    /* ===== چیدمان mosaic ===== */
    .concepts-mosaic {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      grid-auto-rows: 180px;
      gap: 18px;
      margin-bottom: 64px;
    }

    /* اندازه‌های مختلف کارت */
    .concept-cell {
      position: relative;
      border-radius: 14px;
      overflow: hidden;
      cursor: pointer;
      background: rgba(244, 236, 224, 0.04);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      border: 1px solid rgba(200, 164, 92, 0.2);
      padding: 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
      isolation: isolate;
    }
    /* اندازه‌ها: featured = ۲×۲، wide = ۲×۱، normal = ۲×۱، small = ۲×۱ */
    .concept-cell.size-featured {
      grid-column: span 3;
      grid-row: span 2;
      padding: 36px 32px;
    }
    .concept-cell.size-wide {
      grid-column: span 3;
      grid-row: span 1;
    }
    .concept-cell.size-normal {
      grid-column: span 2;
      grid-row: span 1;
    }
    .concept-cell.size-tall {
      grid-column: span 2;
      grid-row: span 2;
      padding: 32px;
    }

    /* عدد بزرگ پشت‌زمینه‌ای */
    .concept-cell .bg-num {
      position: absolute;
      bottom: -30px;
      left: -10px;
      font-family: var(--font-accent);
      font-size: 180px;
      font-weight: 200;
      line-height: 0.8;
      color: var(--accent);
      opacity: 0.08;
      letter-spacing: -0.08em;
      pointer-events: none;
      z-index: 0;
      transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .concept-cell.size-featured .bg-num {
      font-size: 280px;
      bottom: -50px;
    }
    .concept-cell:hover .bg-num {
      opacity: 0.18;
      transform: scale(1.05);
    }

    .concept-cell > * {
      position: relative;
      z-index: 1;
    }

    /* محتوای کارت */
    .concept-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
    }
    .concept-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 12px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.05em;
      background: rgba(244, 236, 224, 0.1);
      border: 1px solid rgba(200, 164, 92, 0.3);
      color: var(--accent-light);
    }
    .concept-badge .badge-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
    }
    .concept-cell[data-axis="civ"] .badge-dot { background: var(--civ); }
    .concept-cell[data-axis="imamat"] .badge-dot { background: #76bf9d; }
    .concept-cell[data-axis="mosque"] .badge-dot { background: #6dacc0; }
    .concept-cell[data-axis="tabyin"] .badge-dot { background: #d68a5a; }

    .concept-index {
      font-family: var(--font-accent);
      font-size: 13px;
      color: rgba(200, 164, 92, 0.6);
      font-weight: 500;
    }

    .concept-body {
      margin-top: auto;
      padding-top: 16px;
    }
    .concept-name {
      font-family: var(--font-display);
      font-weight: 800;
      color: #F8EFD9;
      line-height: 1.3;
      margin-bottom: 8px;
    }
    .concept-cell.size-featured .concept-name {
      font-size: 32px;
      margin-bottom: 14px;
    }
    .concept-cell.size-tall .concept-name {
      font-size: 24px;
    }
    .concept-cell.size-wide .concept-name,
    .concept-cell.size-normal .concept-name {
      font-size: 18px;
    }

    .concept-desc {
      font-size: 13px;
      line-height: 1.7;
      color: rgba(244, 236, 224, 0.7);
      margin-bottom: 14px;
    }
    .concept-cell.size-featured .concept-desc {
      font-size: 15px;
      line-height: 1.85;
      color: rgba(244, 236, 224, 0.85);
    }
    .concept-cell.size-tall .concept-desc {
      font-size: 14px;
    }
    .concept-cell.size-wide .concept-desc,
    .concept-cell.size-normal .concept-desc {
      display: none;
    }

    .concept-cta {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      color: var(--accent-light);
      font-weight: 600;
      transition: transform 0.3s ease;
    }
    .concept-cta::after {
      content: '←';
      font-size: 15px;
    }

    /* خط جریانی رنگی سمت راست */
    .concept-cell::before {
      content: '';
      position: absolute;
      top: 16px;
      bottom: 16px;
      right: 0;
      width: 3px;
      border-radius: 0 3px 3px 0;
      transition: all 0.4s ease;
      background: rgba(200, 164, 92, 0.4);
    }
    .concept-cell[data-axis="civ"]::before { background: var(--civ); }
    .concept-cell[data-axis="imamat"]::before { background: rgba(118, 191, 157, 0.7); }
    .concept-cell[data-axis="mosque"]::before { background: rgba(109, 172, 192, 0.7); }
    .concept-cell[data-axis="tabyin"]::before { background: rgba(214, 138, 90, 0.7); }

    /* Hover */
    .concept-cell:hover {
      background: rgba(244, 236, 224, 0.08);
      border-color: var(--accent);
      transform: translateY(-6px);
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
    }
    .concept-cell:hover::before {
      width: 4px;
      box-shadow: 0 0 12px currentColor;
    }
    .concept-cell:hover .concept-cta {
      transform: translateX(-4px);
    }

    /* حالت dim برای کارت‌های فیلترشده */
    .concept-cell.dimmed {
      opacity: 0.15;
      pointer-events: none;
      filter: blur(2px);
    }

    /* ===== کارت نمایش همه‌ی مفاهیم ===== */
    .all-concepts {
      text-align: center;
      margin-top: 24px;
    }
    .all-concepts a {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      padding: 16px 32px;
      background: rgba(244, 236, 224, 0.05);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid var(--accent);
      color: #F8EFD9;
      border-radius: 12px;
      font-weight: 600;
      font-size: 15px;
      transition: all 0.3s ease;
    }
    .all-concepts a::after {
      content: '←';
      font-size: 20px;
      color: var(--accent-light);
      transition: transform 0.3s ease;
    }
    .all-concepts a:hover {
      background: var(--accent);
      color: var(--primary-dark);
      transform: translateY(-2px);
      box-shadow: 0 12px 32px rgba(200, 164, 92, 0.4);
    }
    .all-concepts a:hover::after {
      transform: translateX(-6px);
      color: var(--primary-dark);
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .concepts-mosaic {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 160px;
      }
      .concept-cell.size-featured { grid-column: span 4; grid-row: span 2; }
      .concept-cell.size-tall { grid-column: span 2; grid-row: span 2; }
      .concept-cell.size-wide { grid-column: span 4; grid-row: span 1; }
      .concept-cell.size-normal { grid-column: span 2; grid-row: span 1; }
    }
    @media (max-width: 640px) {
      .concepts-mosaic {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 14px;
      }
      .concept-cell,
      .concept-cell.size-featured,
      .concept-cell.size-tall,
      .concept-cell.size-wide,
      .concept-cell.size-normal {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 160px;
        padding: 24px;
      }
      .concept-cell .concept-desc { display: block; font-size: 13.5px; }
      .concept-cell.size-featured .concept-name { font-size: 24px; }
      .concept-filter { margin: 40px 0 48px; gap: 8px; padding: 12px; }
      .filter-btn { padding: 8px 14px; font-size: 13px; }
    }

    /* ============ بخش نویسنده ============ */
    .author {
      padding: 100px 0 120px;
      background: transparent;
    }
    .author-grid {
      display: grid;
      grid-template-columns: 320px 1fr;
      gap: 64px;
      align-items: center;
    }
    .author-img-wrap {
      position: relative;
      padding: 12px;
    }
    .author-img-wrap::before {
      content: '';
      position: absolute;
      inset: 0;
      border: 1px solid var(--accent);
      border-radius: 16px;
    }
    .author-img-wrap::after {
      content: '';
      position: absolute;
      inset: 6px;
      border: 1px solid rgba(200, 164, 92, 0.3);
      border-radius: 12px;
      pointer-events: none;
    }
    .author-img-wrap img {
      width: 100%;
      height: auto;
      border-radius: 12px;
      box-shadow: 0 12px 36px rgba(15, 77, 58, 0.15);
      display: block;
    }
    .author-content h2 {
      font-family: var(--font-display);
      font-size: clamp(28px, 3.5vw, 36px);
      font-weight: 800;
      color: var(--primary);
      margin-bottom: 28px;
    }
    .author-content p {
      font-size: 18px;
      line-height: 2;
      color: var(--text);
    }
    .author-signature {
      font-family: var(--font-accent);
      font-size: 26px;
      font-weight: 600;
      color: var(--accent-dark);
      margin-top: 28px;
      text-align: right;
    }
    .author-cta {
      margin-top: 28px;
    }
    .author-cta a {
      display: inline-block;
      padding: 12px 24px;
      border: 1px solid var(--primary);
      color: var(--primary);
      border-radius: 8px;
      font-weight: 500;
      transition: all 0.3s ease;
    }
    .author-cta a:hover {
      background: var(--primary);
      color: var(--bg);
      transform: translateY(-2px);
    }

    /* ============ FOOTER ============ */
    .footer {
      position: relative;
      background-image: url("../img/footer-bg.webp");
      background-size: cover;
      background-position: center;
      color: #F4ECE0;
      padding: 96px 0 32px;
      overflow: hidden;
    }
    .footer::before {
      content: '';
      position: absolute;
      inset: 0;
      pointer-events: none;
    }
    .footer-inner { position: relative; z-index: 2; }
    .footer-brand {
      text-align: center;
      margin-bottom: 64px;
    }
    .footer-brand .logo-wrap {
      width: 120px;
      height: 120px;
      margin: 0 auto;
      border-radius: 50%;
      background: rgba(244, 236, 224, 0.96);
      display: grid;
      place-items: center;
      border: 1px solid rgba(200, 164, 92, 0.5);
      box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25), inset 0 0 0 6px rgba(200, 164, 92, 0.1);
      position: relative;
    }
    .footer-brand .logo-wrap::before {
      content: '';
      position: absolute;
      inset: -8px;
      border-radius: 50%;
      border: 1px solid rgba(200, 164, 92, 0.25);
    }
    .footer-brand .logo-wrap img {
      width: 80px;
      height: 80px;
      object-fit: contain;
    }
    .footer-brand h3 {
      font-family: var(--font-display);
      font-size: 22px;
      font-weight: 700;
      margin-top: 16px;
      color: #F4ECE0;
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
    }
    .footer-brand p {
      font-size: 14px;
      color: rgba(244, 236, 224, 0.92);
      margin-top: 8px;
      text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    }
    .footer-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 48px;
      margin-bottom: 48px;
    }
    .footer-col h4 {
      font-size: 15px;
      font-weight: 600;
      color: var(--accent-light);
      margin-bottom: 20px;
      letter-spacing: 0.05em;
      text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    }
    .footer-col ul { list-style: none; }
    .footer-col li { margin-bottom: 10px; }
    .footer-col a {
      font-size: 14.5px;
      color: rgba(244, 236, 224, 0.95);
      transition: color 0.25s ease;
      text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    }
    .footer-col a:hover { color: var(--accent); }
    .footer-social {
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin-top: 8px;
    }
    .social-btn {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 14px 18px;
      border-radius: 12px;
      background: rgba(15, 30, 22, 0.45);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      border: 1px solid rgba(200, 164, 92, 0.4);
      transition: all 0.3s ease;
    }
    .social-btn .social-icon {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      background: rgba(244, 236, 224, 0.95);
      display: grid;
      place-items: center;
      flex-shrink: 0;
      transition: transform 0.3s ease;
    }
    .social-btn .social-icon img {
      width: 26px;
      height: 26px;
      object-fit: contain;
    }
    .social-btn .social-info {
      display: flex;
      flex-direction: column;
      gap: 2px;
      line-height: 1.3;
    }
    .social-btn .social-info .name {
      font-size: 15px;
      font-weight: 600;
      color: #F4ECE0;
      text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    }
    .social-btn .social-info .handle {
      font-size: 12px;
      color: rgba(244, 236, 224, 0.85);
      font-family: var(--font-accent);
      letter-spacing: 0.02em;
      direction: ltr;
      text-align: right;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    }
    .social-btn:hover {
      background: rgba(200, 164, 92, 0.16);
      border-color: var(--accent);
      transform: translateY(-2px);
    }
    .social-btn:hover .social-icon {
      transform: scale(1.06);
    }
    .social-btn:hover .social-info .name {
      color: var(--accent-light);
    }
    .footer-bottom {
      border-top: 1px solid rgba(244, 236, 224, 0.25);
      padding-top: 24px;
      text-align: center;
      font-size: 13px;
      color: rgba(244, 236, 224, 0.85);
      line-height: 1.8;
      text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    }

    /* ============ Responsive ============ */
    @media (max-width: 1024px) {
      .nav-main { gap: 24px; }
      .nav-main a { font-size: 15px; }
      .manzumeh-grid { gap: 48px; }
      .why-grid { grid-template-columns: 320px 1fr; gap: 48px; }
      .axes-grid { grid-template-columns: repeat(2, 1fr); }
      .concepts-grid { grid-template-columns: repeat(2, 1fr); }
      .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
    }

    @media (max-width: 768px) {
      .container { padding: 0 20px; }
      .header { height: 86px; }
      .header-inner { padding: 0 20px; gap: 16px; }
      .header-logo img { height: 64px; }
      .nav-main, .search-btn { display: none; }
      .mobile-toggle {
        display: grid;
        place-items: center;
        width: 42px; height: 42px;
        color: var(--primary);
      }
      .mobile-toggle svg { width: 22px; height: 22px; }

      .hero { padding: 100px 16px 80px; min-height: 90vh; }
      .hero-content { padding: 40px 16px; }
      .hero-corner { display: none; }

      .manzumeh, .why, .axes, .concepts, .author { padding: 80px 0; }
      .manzumeh-grid { grid-template-columns: 1fr; gap: 48px; }

      .why-grid { grid-template-columns: 1fr; gap: 32px; }
      .why-sticky { position: relative; top: 0; }
      .why-corner { width: 100px; height: 100px; }

      .axes-grid { grid-template-columns: 1fr; }
      .concepts-grid { grid-template-columns: 1fr; }

      .author-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
      .author-img-wrap { max-width: 280px; margin: 0 auto; }
      .author-signature { text-align: center; }

      .footer-grid { grid-template-columns: 1fr; gap: 32px; }
      .footer-col { text-align: center; }
      .footer-social { justify-content: center; }
    }

    /* ============ Reveal روی اسکرول ============ */
    .reveal {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 0.9s ease, transform 0.9s ease;
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }
    .reveal.delay-1 { transition-delay: 0.1s; }
    .reveal.delay-2 { transition-delay: 0.2s; }
    .reveal.delay-3 { transition-delay: 0.3s; }
    .reveal.delay-4 { transition-delay: 0.4s; }

.header {
      position: fixed;
      top: 0; right: 0; left: 0;
      z-index: 100;
      background:
        linear-gradient(rgba(244,236,224,0.65), rgba(244,236,224,0.65)),
        url('../img/bg-header-search.png') top center / cover no-repeat,
        var(--bg);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      height: 110px;
      transition: box-shadow 0.3s ease, background 0.3s ease;
      border-bottom: 1px solid rgba(200, 164, 92, 0.3);
    }
.header.scrolled {
      box-shadow: 0 2px 12px rgba(15, 77, 58, 0.06);
      border-bottom-color: rgba(200, 164, 92, 0.2);
    }
.header-inner {
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 32px;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
    }
.header-logo img {
      height: 90px;
      width: auto;
      transition: transform 0.3s ease;
    }
.header-logo:hover img { transform: scale(1.04); }
.nav-main {
      display: flex;
      align-items: center;
      gap: 36px;
      list-style: none;
    }
.nav-main a {
      font-size: 16px;
      font-weight: 500;
      color: var(--primary);
      padding: 8px 4px;
      position: relative;
      transition: color 0.25s ease;
    }
.nav-main a::after {
      content: '';
      position: absolute;
      bottom: 0; right: 0;
      height: 2px;
      width: 0;
      background: var(--accent);
      transition: width 0.3s ease;
    }
.nav-main a:hover { color: var(--accent-dark); }
.nav-main a:hover::after { width: 100%; }
.nav-dropdown { position: relative; }
.nav-dropdown > a::before { content: '▾'; margin-left: 6px; font-size: 10px; }
.dropdown-menu {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      min-width: 240px;
      background: var(--bg-card);
      border: 1px solid var(--border-soft);
      border-top: 3px solid var(--accent);
      border-radius: 8px;
      box-shadow: 0 12px 40px rgba(15, 77, 58, 0.12);
      padding: 8px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px);
      transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    }
.nav-dropdown:hover .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
.dropdown-menu li { list-style: none; }
.dropdown-menu a {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 14px;
      font-size: 15px;
      border-radius: 6px;
      transition: background 0.2s ease;
    }
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { background: var(--bg-alt); }
.axis-dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      flex-shrink: 0;
    }
.site-search{ position:relative; }
.search-box{ display:flex; align-items:center; gap:10px; width:clamp(300px,30vw,470px); height:52px; padding:0 20px;
      background:#FFFDF8; border:1.5px solid #E3D6BF; border-radius:30px; transition:border-color .2s, box-shadow .2s; }
.search-box:focus-within{ border-color:var(--primary); box-shadow:0 8px 24px -12px rgba(15,77,58,.3); }
.search-ic{ width:20px; height:20px; color:var(--primary); opacity:.7; flex:none; }
.search-input{ flex:1; min-width:0; border:none; background:none; outline:none; font-family:inherit; font-size:15px; color:#2A2A2A; text-align:right; }
.search-input::placeholder{ color:#A79B85; }
.search-panel{ position:absolute; top:62px; inset-inline:0; background:#FDFAF3; border:1px solid #E8DCC6; border-radius:18px;
      box-shadow:0 26px 60px -18px rgba(15,77,58,.3); padding:16px; opacity:0; visibility:hidden; transform:translateY(-8px);
      transition:opacity .2s ease, transform .2s ease, visibility .2s; z-index:300; max-height:72vh; overflow-y:auto; }
.site-search.open .search-panel{ opacity:1; visibility:visible; transform:translateY(0); }
.sp-label{ font-family:var(--font-display); font-weight:800; font-size:12px; color:#B08D4B; margin:2px 4px 10px; letter-spacing:.02em; }
.chips{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{ font-family:var(--font-display); font-weight:600; font-size:13.5px; color:var(--primary); background:#F4ECDE;
      border:1px solid #E3D6BF; border-radius:999px; padding:7px 15px; transition:all .18s; }
.chip:hover{ background:var(--primary); color:#fff; border-color:var(--primary); }
.sp-group{ margin-top:14px; }
.sp-group:first-child{ margin-top:2px; }
.sp-item{ display:flex; align-items:center; gap:10px; padding:9px 12px; border-radius:12px; text-decoration:none; color:#2A2A2A; font-size:14.5px; transition:background .15s; }
.sp-item:hover{ background:#F1E9D9; }
.sp-item .dot{ width:6px; height:6px; border-radius:50%; background:#C8A45C; flex:none; }
.sp-item mark{ background:rgba(200,164,92,.4); color:inherit; border-radius:3px; padding:0 1px; }
.search-foot{ display:flex; align-items:center; justify-content:space-between; margin-top:14px; padding-top:12px; border-top:1px solid #EBE0CC; }
.see-all{ font-family:var(--font-display); font-weight:700; font-size:13.5px; color:var(--primary); text-decoration:none; }
.see-all:hover{ text-decoration:underline; }
.browse-all{ font-family:var(--font-display); font-weight:700; font-size:13px; color:#B08D4B; text-decoration:none; }
.browse-all:hover{ color:var(--primary); }
.sp-empty{ text-align:center; color:#A79B85; font-size:14px; padding:22px 10px; }
.mobile-toggle { display: none; }
@media (max-width: 1024px) {
.nav-main { gap: 24px; }
.nav-main a { font-size: 15px; }
}
@media (max-width: 768px) {
.header { height: 86px; }
.header-inner { padding: 0 20px; gap: 16px; }
.header-logo img { height: 56px; }
.nav-main { display: none; }
.site-search { display: block; flex: 1; min-width: 0; }
.search-box { width: 100%; height: 46px; padding: 0 16px; }
.search-input { font-size: 16px; }
.search-panel { position: fixed; left: 12px; right: 12px; top: 80px; inset-inline: auto; }
.mobile-toggle {
        display: grid;
        place-items: center;
        width: 42px; height: 42px;
        color: var(--primary);
      }
.mobile-toggle svg { width: 22px; height: 22px; }
.header.nav-open .nav-main { display: flex; flex-direction: column; gap: 2px; position: absolute; top: 100%; right: 0; left: 0; background: #F7F0E5; padding: 14px 22px 18px; border-top: 1px solid rgba(200,164,92,.35); box-shadow: 0 24px 44px -20px rgba(15,77,58,.35); max-height: 78vh; overflow: auto; }
.header.nav-open .nav-main > li { width: 100%; }
.header.nav-open .nav-main > li > a { display: block; padding: 13px 6px; border-bottom: 1px solid rgba(0,0,0,.06); font-size: 16.5px; }
.header.nav-open .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-top: 0; min-width: 0; padding: 2px 0 6px; }
}

.noonegah-step{ padding:112px 0 130px; position:relative; overflow:hidden; color:#F4ECE0; background:#0b2b45; }
  .noonegah-step .nn-step-bg{ position:absolute; inset:0; z-index:0; width:100%; height:100%; object-fit:cover; object-position:center; display:block; }
  .noonegah-step::before{ content:''; position:absolute; inset:0; z-index:1; pointer-events:none;
    background:
      linear-gradient(180deg, #0F4D3A 0%, rgba(15,77,58,0) 14%),
      linear-gradient(180deg, rgba(9,32,52,0.62) 0%, rgba(9,32,52,0.80) 55%, rgba(11,43,69,0.96) 100%),
      linear-gradient(120deg, rgba(42,107,124,0.30), transparent 55%),
      radial-gradient(circle at 50% 78%, rgba(200,164,92,0.16), transparent 45%); }
  .noonegah-step .nn-step-frame{ position:absolute; inset:18px; z-index:2; pointer-events:none;
    border:1px solid rgba(200,164,92,0.45); border-radius:14px; box-shadow:inset 0 0 0 1px rgba(200,164,92,0.12); }
  .noonegah-step .nn-corner{ position:absolute; z-index:3; width:52px; height:52px; pointer-events:none;
    border:1.5px solid var(--accent); opacity:0.85; filter:drop-shadow(0 2px 6px rgba(0,0,0,0.5)); }
  .noonegah-step .nn-corner.tl{ top:30px; right:30px; border-left:none; border-bottom:none; }
  .noonegah-step .nn-corner.tr{ top:30px; left:30px; border-right:none; border-bottom:none; }
  .noonegah-step .nn-corner.bl{ bottom:30px; right:30px; border-left:none; border-top:none; }
  .noonegah-step .nn-corner.br{ bottom:30px; left:30px; border-right:none; border-top:none; }
  .noonegah-step .container{ position:relative; z-index:4; }
  .noonegah-step .ch-num{ color:var(--accent-light); border-color:rgba(200,164,92,0.6);
    background:rgba(10,20,16,0.35); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px); }
  .noonegah-step .ch-label{ color:rgba(244,236,224,0.9); text-shadow:0 1px 6px rgba(0,0,0,0.6); }
  .noonegah-step .section-title{ color:#F8EFD9; text-shadow:0 2px 14px rgba(0,0,0,0.55); }
  .noonegah-step .section-lead{ color:rgba(244,236,224,0.95); text-shadow:0 1px 8px rgba(0,0,0,0.5); }
  .noonegah-cta-card{ display:flex; flex-direction:column; align-items:center; gap:14px; isolation:isolate;
    max-width:520px; margin:52px auto 0; padding:40px 36px 34px; text-align:center; position:relative;
    background:rgba(9,26,40,0.55); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
    border:1px solid var(--accent); border-radius:16px; box-shadow:0 18px 50px rgba(0,0,0,0.4);
    transition:transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease; }
  .noonegah-cta-card::before{ content:''; position:absolute; inset:-42px -30px; z-index:-1; pointer-events:none;
    background:radial-gradient(ellipse at center, rgba(200,164,92,0.30), transparent 68%); }
  .noonegah-cta-card::after{ content:''; position:absolute; inset:7px; border:1px solid rgba(200,164,92,0.35);
    border-radius:11px; pointer-events:none; }
  .noonegah-cta-card:hover{ transform:translateY(-4px); background:rgba(9,26,40,0.62); box-shadow:0 24px 60px rgba(0,0,0,0.48); }
  .nn-eyebrow{ font-size:12px; letter-spacing:0.18em; font-weight:600; color:#8fd0e0; display:inline-flex; align-items:center; gap:8px; }
  .nn-eyebrow::before,.nn-eyebrow::after{ content:''; width:22px; height:1px; background:rgba(143,208,224,0.6); }
  .nn-name{ font-family:var(--font-display); font-size:clamp(26px,3.4vw,36px); font-weight:900; color:#F8EFD9;
    line-height:1.25; text-shadow:0 2px 10px rgba(0,0,0,0.4); }
  .nn-go{ margin-top:8px; display:inline-flex; align-items:center; gap:10px; padding:13px 28px; border-radius:999px;
    background:var(--accent); color:var(--primary-dark); font-weight:700; font-size:15px;
    transition:transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease; box-shadow:0 8px 22px rgba(200,164,92,0.4); }
  .noonegah-cta-card:hover .nn-go{ background:var(--accent-light); box-shadow:0 12px 30px rgba(200,164,92,0.55); }
  .nn-arrow{ font-size:18px; transition:transform 0.3s ease; }
  .noonegah-cta-card:hover .nn-arrow{ transform:translateX(-5px); }
  @media (max-width:768px){ .noonegah-step{ padding:82px 0 92px; }
    .noonegah-step .nn-step-bg{ bottom:auto; height:230px; object-fit:cover; object-position:center;
      -webkit-mask-image:linear-gradient(180deg,#000 60%,transparent 100%); mask-image:linear-gradient(180deg,#000 60%,transparent 100%); }
    .noonegah-step::before{ background:
      linear-gradient(180deg,#0F4D3A 0%,rgba(15,77,58,0) 8%),
      linear-gradient(180deg,rgba(9,32,52,0.30) 0%,rgba(11,43,69,0.62) 26%,rgba(11,43,69,0.98) 46%),
      radial-gradient(circle at 50% 82%,rgba(200,164,92,0.14),transparent 52%); }
    .noonegah-step .nn-corner{ width:36px; height:36px; }
    .noonegah-step .nn-corner.tl,.noonegah-step .nn-corner.tr{ top:18px; }
    .noonegah-step .nn-corner.bl,.noonegah-step .nn-corner.br{ bottom:18px; }
    .noonegah-step .nn-corner.tl,.noonegah-step .nn-corner.bl{ right:18px; }
    .noonegah-step .nn-corner.tr,.noonegah-step .nn-corner.br{ left:18px; }
    .noonegah-step .nn-step-frame{ inset:12px; }
    .noonegah-cta-card{ margin-top:40px; padding:32px 24px 28px; } }

/* --- navbar single-line fix --- */
.nav-main{flex-wrap:nowrap}
.nav-main>li{flex:0 0 auto}
.nav-main a{white-space:nowrap}

/* --- scroll offset for in-page anchor under sticky header --- */
#manzumeh{scroll-margin-top:100px}
