/* ============================================================
       دموی ۵ – پالت زمردی های‌تک، مینیمالیسم آوانگارد و شیشه‌ای
       ============================================================ */

    :root {
      --primary: #10b981;
      --primary-dark: #059669;
      --primary-light: #34d399;
      --primary-glow: rgba(16, 185, 129, 0.12);

      --bg: #f8fafc;
      --bg-gradient: radial-gradient(circle at top right, #f0fdf4 0%, #f8fafc 100%);
      --surface: rgba(255, 255, 255, 0.85);
      --surface-pure: #ffffff;
      --border: rgba(16, 185, 129, 0.15);
      --border-inner: #e2e8f0;

      --text-main: #0f172a;
      --text-light: #334155;
      --text-muted: #64748b;

      --blur: 16px;
      --radius-lg: 2rem;
      --radius-md: 1.2rem;
      --radius-sm: 0.8rem;
      --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    [data-theme="dark"] {
      --bg: #070d19;
      --bg-gradient: radial-gradient(circle at top right, #041a12 0%, #070d19 100%);
      --surface: rgba(15, 23, 42, 0.8);
      --surface-pure: #0f172a;
      --border: rgba(16, 185, 129, 0.2);
      --border-inner: #1e293b;

      --text-main: #f8fafc;
      --text-light: #cbd5e1;
      --text-muted: #64748b;
    }

    /* پایه و ریست عمومی */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      scroll-behavior: smooth;
    }

    body {
      background: var(--bg-gradient);
      color: var(--text-main);
      font-family: 'Vazirmatn', sans-serif;
      min-height: 100vh;
      overflow-x: hidden;
      line-height: 1.7;
      transition: background 0.3s ease;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button,
    input,
    textarea {
      font-family: inherit;
    }

    /* هدر شناور و شیشه‌ای آوانگارد */
    .smart-header {
      position: sticky;
      top: 1.5rem;
      z-index: 1000;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    .header-blur {
      background: var(--surface);
      backdrop-filter: blur(var(--blur));
      -webkit-backdrop-filter: blur(var(--blur));
      border: 1px solid var(--border);
      padding: 1rem 2rem;
      border-radius: var(--radius-lg);
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.03);
    }

    .logo-area {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      font-weight: 900;
      font-size: 1.25rem;
      color: var(--text-main);
    }

    .logo-icon {
      width: 40px;
      height: 40px;
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      color: white;
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      list-style: none;
    }

    .nav-links > li {
      position: relative;
    }

    .nav-links a {
      padding: 0.6rem 1.2rem;
      border-radius: 50rem;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-light);
      cursor: pointer;
      transition: var(--transition);
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary);
      background: var(--primary-glow);
    }

    /* ===== استایل اختصاصی مگامنو تصویری نامتقارن ===== */
    .has-megamenu:hover .megamenu-panel {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .megamenu-panel {
      position: absolute;
      top: 100%;
      right: -120px;
      width: 720px;
      background: var(--surface-pure);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 1.5rem;
      box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
      display: grid;
      grid-template-columns: 1.2fr 1fr 1fr;
      gap: 1.5rem;
      opacity: 0;
      visibility: hidden;
      transform: translateY(15px);
      transition: var(--transition);
      z-index: 1100;
    }

    .megamenu-visual-box {
      background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.02) 100%);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 1.2rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .menu-banner-tag {
      background: var(--primary);
      color: white;
      font-size: 0.72rem;
      font-weight: 800;
      padding: 0.2rem 0.6rem;
      border-radius: 4px;
      align-self: flex-start;
    }

    .menu-banner-title {
      font-size: 1rem;
      font-weight: 800;
      margin-top: 0.8rem;
      color: var(--text-main);
    }

    .menu-banner-desc {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-bottom: 1rem;
    }

    .menu-banner-btn {
      font-size: 0.78rem !important;
      background: var(--primary) !important;
      color: white !important;
      border-radius: var(--radius-sm) !important;
      justify-content: center;
      padding: 0.5rem 1rem !important;
    }

    .menu-banner-btn:hover {
      background: var(--primary-dark) !important;
    }

    .megamenu-list-col h5 {
      font-size: 0.9rem;
      font-weight: 800;
      color: var(--primary);
      margin-bottom: 0.8rem;
      display: flex;
      align-items: center;
      gap: 0.4rem;
      border-bottom: 1px dashed var(--border);
      padding-bottom: 0.4rem;
    }

    .megamenu-list-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .megamenu-list-col ul a {
      font-size: 0.82rem !important;
      color: var(--text-light) !important;
      padding: 0.4rem 0.6rem !important;
      border-radius: 6px !important;
      width: 100%;
      display: block;
    }

    .megamenu-list-col ul a:hover {
      background: var(--primary-glow) !important;
      color: var(--primary) !important;
      padding-right: 0.9rem !important;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 0.8rem;
    }

    .circle-btn {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: var(--surface-pure);
      border: 1px solid var(--border-inner);
      color: var(--text-light);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: var(--transition);
    }

    .circle-btn:hover {
      border-color: var(--primary);
      color: var(--primary);
      transform: translateY(-2px);
    }

    /* محفظه اصلی صفحات (تک صفحه‌ای هوشمند) */
    .app-container {
      max-width: 1200px;
      margin: 3rem auto;
      padding: 0 1.5rem;
      min-height: 60vh;
    }

    .page-view {
      display: none;
      animation: fadeIn 0.4s ease forwards;
    }

    .page-view.active {
      display: block;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(15px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* بخش هیرو (خانه) */
    .hero-section {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 4rem;
      padding: 4rem 0 2rem 0;
    }

    .hero-content {
      flex: 1;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--primary-glow);
      color: var(--primary);
      padding: 0.4rem 1.2rem;
      border-radius: 50rem;
      font-size: 0.8rem;
      font-weight: 700;
      margin-bottom: 1.5rem;
    }

    .hero-title {
      font-size: 3rem;
      font-weight: 900;
      line-height: 1.3;
      margin-bottom: 1.5rem;
      color: var(--text-main);
    }

    .hero-title span {
      color: var(--primary);
    }

    .hero-desc {
      color: var(--text-light);
      font-size: 1.1rem;
      margin-bottom: 2.5rem;
      text-align: justify;
    }

    .hero-actions {
      display: flex;
      gap: 1rem;
    }

    .btn {
      padding: 0.8rem 2rem;
      border-radius: var(--radius-md);
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      transition: var(--transition);
      border: none;
      font-size: 0.95rem;
    }

    .btn-primary {
      background: var(--primary);
      color: white;
    }

    .btn-primary:hover {
      background: var(--primary-dark);
      transform: translateY(-3px);
      box-shadow: 0 10px 20px -10px var(--primary);
    }

    .btn-secondary {
      background: var(--surface-pure);
      border: 1px solid var(--border-inner);
      color: var(--text-light);
    }

    .btn-secondary:hover {
      border-color: var(--primary);
      color: var(--primary);
    }

    .hero-visual {
      flex: 1;
      display: flex;
      justify-content: center;
      position: relative;
    }

    .avatar-wrapper {
      width: 340px;
      height: 340px;
      background: var(--surface);
      border: 4px solid var(--border);
      border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
      animation: morphing 8s infinite ease-in-out;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      box-shadow: 0 20px 40px -20px rgba(16, 185, 129, 0.3);
    }

    .avatar-wrapper i {
      font-size: 8rem;
      color: var(--primary);
    }

    @keyframes morphing {
      0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
      }

      50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
      }

      100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
      }
    }

    /* شبکه آمار و ارقام کلیدی */
    .home-stats-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      margin-top: 3rem;
      margin-bottom: 5rem;
    }

    .stat-box {
      background: var(--surface);
      border: 1px solid var(--border);
      padding: 1.5rem;
      border-radius: var(--radius-md);
      text-align: center;
      backdrop-filter: blur(var(--blur));
    }

    .stat-number {
      font-size: 2.2rem;
      font-weight: 900;
      color: var(--primary);
      margin-bottom: 0.2rem;
    }

    .stat-label {
      font-size: 0.85rem;
      color: var(--text-muted);
      font-weight: 600;
    }

    /* ===== بخش جدید ۱: نقشه راه تعاملی توسعه (Roadmap) ===== */
    .roadmap-section {
      padding: 4rem 0;
      position: relative;
    }

    .roadmap-container {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
      margin-top: 2rem;
      position: relative;
    }

    .roadmap-container::before {
      content: '';
      position: absolute;
      top: 40px;
      right: 0;
      left: 0;
      height: 2px;
      background: linear-gradient(to left, var(--border-inner), var(--primary), var(--border-inner));
      z-index: 1;
    }

    .roadmap-step {
      background: var(--surface-pure);
      border: 1px solid var(--border-inner);
      padding: 1.5rem;
      border-radius: var(--radius-md);
      text-align: center;
      position: relative;
      z-index: 2;
      transition: var(--transition);
    }

    .roadmap-step:hover {
      border-color: var(--primary);
      transform: translateY(-5px);
      box-shadow: 0 10px 25px -10px var(--primary-glow);
    }

    .roadmap-badge {
      width: 50px;
      height: 50px;
      background: var(--surface-pure);
      border: 3px solid var(--primary);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1.2rem auto;
      font-weight: 800;
      color: var(--primary);
      box-shadow: 0 0 15px var(--primary-glow);
    }

    .roadmap-step h4 {
      font-size: 1.05rem;
      font-weight: 800;
      margin-bottom: 0.5rem;
    }

    .roadmap-step p {
      font-size: 0.82rem;
      color: var(--text-muted);
    }

    /* ===== بخش جدید ۲: پیشخوان ضربان فناوری (Tech Stack Pulse) ===== */
    .tech-pulse-section {
      padding: 4rem 0;
    }

    .tech-pulse-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 1.5rem;
      margin-top: 2rem;
    }

    .tech-pulse-card {
      background: var(--surface);
      backdrop-filter: blur(var(--blur));
      border: 1px solid var(--border);
      padding: 1.8rem;
      border-radius: var(--radius-md);
      position: relative;
      overflow: hidden;
    }

    .tech-pulse-card::after {
      content: '';
      position: absolute;
      top: 15px;
      left: 15px;
      width: 8px;
      height: 8px;
      background: #10b981;
      border-radius: 50%;
      box-shadow: 0 0 10px #10b981;
      animation: pulse-glow 2s infinite;
    }

    @keyframes pulse-glow {
      0% { transform: scale(0.9); opacity: 0.6; }
      50% { transform: scale(1.3); opacity: 1; }
      100% { transform: scale(0.9); opacity: 0.6; }
    }

    .tech-pulse-head {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      margin-bottom: 1rem;
    }

    .tech-pulse-head i {
      font-size: 1.8rem;
      color: var(--primary);
    }

    .tech-pulse-title {
      font-size: 1.1rem;
      font-weight: 800;
    }

    .tech-bar-bg {
      background: var(--border-inner);
      height: 6px;
      border-radius: 10px;
      margin-top: 0.8rem;
      overflow: hidden;
    }

    .tech-bar-fill {
      background: linear-gradient(to left, var(--primary), var(--primary-light));
      height: 100%;
      border-radius: 10px;
    }

    /* بخش خدمات متمایز و پیشرفته */
    .home-features-section {
      padding: 3rem 0;
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1.8rem;
    }

    .feature-card {
      background: var(--surface-pure);
      border: 1px solid var(--border-inner);
      padding: 2rem;
      border-radius: var(--radius-md);
      transition: var(--transition);
    }

    .feature-card:hover {
      border-color: var(--primary);
      transform: translateY(-3px);
    }

    .feature-icon {
      width: 50px;
      height: 50px;
      background: var(--primary-glow);
      color: var(--primary);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      margin-bottom: 1.2rem;
    }

    .feature-title {
      font-size: 1.15rem;
      font-weight: 800;
      margin-bottom: 0.6rem;
      color: var(--text-main);
    }

    .feature-desc {
      font-size: 0.88rem;
      color: var(--text-light);
      text-align: justify;
      line-height: 1.6;
    }

    /* گریدها و کارت‌های عمومی */
    .section-header {
      text-align: center;
      max-width: 600px;
      margin: 0 auto 3rem auto;
    }

    .section-title {
      font-size: 2rem;
      font-weight: 900;
      margin-bottom: 1rem;
    }

    .section-subtitle {
      color: var(--text-muted);
      font-size: 0.95rem;
    }

    .grid-3 {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 2rem;
    }

    .card {
      background: var(--surface);
      backdrop-filter: blur(var(--blur));
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      overflow: hidden;
      transition: var(--transition);
      display: flex;
      flex-direction: column;
    }

    .card:hover {
      transform: translateY(-5px);
      border-color: var(--primary);
      box-shadow: 0 15px 35px -15px rgba(16, 185, 129, 0.15);
    }

    .card-img {
      width: 100%;
      height: 200px;
      background: rgba(16, 185, 129, 0.05);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 3rem;
      color: var(--primary);
      border-bottom: 1px solid var(--border-inner);
      position: relative;
    }

    .card-body {
      padding: 1.5rem;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .card-tag {
      font-size: 0.75rem;
      color: var(--primary);
      font-weight: 700;
      margin-bottom: 0.5rem;
      text-transform: uppercase;
    }

    .card-title {
      font-size: 1.2rem;
      font-weight: 800;
      margin-bottom: 0.8rem;
      color: var(--text-main);
    }

    .card-desc {
      font-size: 0.9rem;
      color: var(--text-light);
      text-align: justify;
      margin-bottom: 1.5rem;
      flex: 1;
    }

    /* تفکیک جزئیات مقاله و تک نوشته */
    .article-full {
      max-width: 800px;
      margin: 0 auto;
      background: var(--surface);
      border: 1px solid var(--border);
      padding: 3rem;
      border-radius: var(--radius-lg);
    }

    .article-meta {
      display: flex;
      gap: 1.5rem;
      color: var(--text-muted);
      font-size: 0.8rem;
      margin-bottom: 1.5rem;
      border-bottom: 1px solid var(--border-inner);
      padding-bottom: 1rem;
    }

    .article-content {
      font-size: 1.05rem;
      line-height: 1.9;
      color: var(--text-light);
      text-align: justify;
    }

    /* ===== کامنت‌دونی الترا مینیمال زمردی ===== */
    .comments-section {
      margin-top: 4rem;
      border-top: 1px solid var(--border-inner);
      padding-top: 3rem;
    }

    .comments-section-title {
      font-size: 1.25rem;
      font-weight: 800;
      margin-bottom: 2rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .comments-section-title::before {
      content: '';
      display: inline-block;
      width: 6px;
      height: 22px;
      background: linear-gradient(to bottom, var(--primary), var(--primary-dark));
      border-radius: 4px;
    }

    .comment-list {
      display: flex;
      flex-direction: column;
      gap: 1.8rem;
      list-style: none;
      width: 100%;
    }

    .comment-item {
      background: rgba(0, 0, 0, 0.01);
      padding: 1.8rem;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-inner);
      transition: var(--transition);
      width: 100%;
      position: relative;
    }

    [data-theme="dark"] .comment-item {
      background: rgba(255, 255, 255, 0.015);
    }

    .comment-item:hover {
      border-color: var(--primary);
      box-shadow: 0 12px 30px -15px rgba(16, 185, 129, 0.12);
    }

    .comment-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
      flex-wrap: wrap;
      gap: 0.8rem;
    }

    .comment-user {
      font-weight: 700;
      font-size: 0.95rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .user-avatar {
      width: 36px;
      height: 36px;
      background: rgba(16, 185, 129, 0.08);
      color: var(--primary);
      border: 1px solid rgba(16, 185, 129, 0.2);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.9rem;
      font-weight: 800;
    }

    .comment-time {
      color: var(--text-muted);
      font-size: 0.75rem;
      display: flex;
      align-items: center;
      gap: 0.3rem;
    }

    .comment-text {
      font-size: 0.92rem;
      color: var(--text-light);
      line-height: 1.8;
      text-align: justify;
      margin-bottom: 1rem;
    }

    .comment-item .comment-replies {
      margin-right: 2rem;
      margin-top: 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
      border-right: 2px solid rgba(16, 185, 129, 0.25);
      padding-right: 1.5rem;
    }

    .comment-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
    }

    .comment-action-btn {
      background: var(--surface-pure);
      border: 1px solid var(--border-inner);
      color: var(--text-muted);
      padding: 0.4rem 1.1rem;
      border-radius: 50rem;
      cursor: pointer;
      font-size: 0.78rem;
      font-weight: 500;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      transition: var(--transition);
    }

    .comment-action-btn:hover {
      color: var(--primary);
      border-color: var(--primary);
    }

    .inline-reply-box {
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      transition: var(--transition);
      background: var(--surface-pure);
      padding: 0 1.5rem;
      border-radius: var(--radius-sm);
    }

    .inline-reply-box.active {
      max-height: 320px;
      opacity: 1;
      margin-top: 1.2rem;
      padding: 1.5rem;
      border: 1px solid rgba(16, 185, 129, 0.2);
    }

    /* فرم‌ها */
    .form-group {
      margin-bottom: 1.5rem;
    }

    .form-group label {
      display: block;
      font-size: 0.85rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      color: var(--text-light);
    }

    .form-control {
      width: 100%;
      border: 1px solid var(--border-inner);
      background: var(--surface-pure);
      color: var(--text-main);
      padding: 0.8rem 1.2rem;
      border-radius: var(--radius-sm);
      font-size: 0.9rem;
      outline: none;
      transition: var(--transition);
    }

    .form-control:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 4px var(--primary-glow);
    }

    /* لایت‌باکس و مودال هوشمند */
    .lightbox {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(7, 13, 25, 0.6);
      backdrop-filter: blur(8px);
      z-index: 2000;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 2rem;
    }

    .lightbox.active {
      display: flex;
    }

    .lightbox-content {
      background: var(--surface-pure);
      max-width: 700px;
      width: 100%;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      overflow: hidden;
      position: relative;
      animation: zoomIn 0.3s ease;
    }

    @keyframes zoomIn {
      from {
        transform: scale(0.95);
        opacity: 0;
      }

      to {
        transform: scale(1);
        opacity: 1;
      }
    }

    .lightbox-close {
      position: absolute;
      top: 1rem;
      left: 1rem;
      z-index: 10;
    }

    /* ===== فوتر فوق پیشرفته و لوکس زمردی ===== */
    .smart-footer {
      background: var(--surface);
      backdrop-filter: blur(var(--blur));
      -webkit-backdrop-filter: blur(var(--blur));
      border-top: 1px solid var(--border);
      margin-top: 5rem;
      padding: 4rem 0 2rem 0;
    }

    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem;
      display: grid;
      grid-template-columns: 2fr repeat(2, 1fr);
      gap: 3rem;
    }

    .footer-brand .brand-title {
      font-size: 1.4rem;
      font-weight: 900;
      color: var(--text-main);
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .footer-brand .brand-desc {
      font-size: 0.9rem;
      color: var(--text-light);
      text-align: justify;
      margin-bottom: 1.5rem;
      max-width: 440px;
    }

    .social-links {
      display: flex;
      gap: 0.8rem;
    }

    .social-links a {
      width: 38px;
      height: 38px;
      background: var(--surface-pure);
      border: 1px solid var(--border-inner);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-light);
      transition: var(--transition);
    }

    .social-links a:hover {
      border-color: var(--primary);
      color: var(--primary);
      transform: translateY(-2px);
    }

    .footer-links-col h4 {
      font-size: 1.05rem;
      font-weight: 800;
      margin-bottom: 1.2rem;
      color: var(--text-main);
      position: relative;
      padding-bottom: 0.5rem;
    }

    .footer-links-col h4::after {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 30px;
      height: 2px;
      background: var(--primary);
      border-radius: 2px;
    }

    .footer-links-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
    }

    .footer-links-col ul a {
      font-size: 0.9rem;
      color: var(--text-light);
      transition: var(--transition);
      cursor: pointer;
    }

    .footer-links-col ul a:hover {
      color: var(--primary);
      padding-right: 4px;
    }

    .footer-bottom {
      max-width: 1200px;
      margin: 3rem auto 0 auto;
      padding: 1.5rem 1.5rem 0 1.5rem;
      border-top: 1px solid var(--border-inner);
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
      font-size: 0.82rem;
      color: var(--text-muted);
    }

    /* منوی موبایل ریسپانسیو کاملاً پویا */
    .menu-toggle {
      display: none;
    }

    @media (max-width: 992px) {
      .menu-toggle {
        display: flex;
      }

      .nav-links {
        position: fixed;
        top: 7rem;
        right: 1.5rem;
        left: 1.5rem;
        background: var(--surface);
        backdrop-filter: blur(var(--blur));
        border: 1px solid var(--border);
        padding: 1.5rem;
        border-radius: var(--radius-md);
        flex-direction: column;
        align-items: stretch;
        display: none;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
      }

      .nav-links.active {
        display: flex;
      }

      .megamenu-panel {
        position: static;
        width: 100%;
        grid-template-columns: 1fr;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0.5rem 0;
        display: none;
      }

      .has-megamenu:hover .megamenu-panel {
        display: grid;
      }

      .hero-section {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2rem;
      }

      .hero-title {
        font-size: 2.2rem;
      }

      .hero-actions {
        justify-content: center;
      }

      .avatar-wrapper {
        width: 260px;
        height: 260px;
      }

      .home-stats-grid,
      .roadmap-container {
        grid-template-columns: 1fr;
        gap: 1rem;
      }

      .roadmap-container::before {
        display: none;
      }

      .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
      }

      .footer-brand .brand-desc {
        margin: 1rem auto;
      }

      .social-links {
        justify-content: center;
      }

      .footer-links-col h4::after {
        right: 50%;
        transform: translateX(50%);
      }

      .footer-bottom {
        justify-content: center;
        text-align: center;
      }

      .comment-item .comment-replies {
        margin-right: 0.5rem;
        padding-right: 0.8rem;
      }
    }