/* ═══════════════════════════════════════════════════════════════
   IG-DOWN — nav.css (Shared Navigation, Subpages & SEO Guides)
   Clean, Authentic & Realistic SaaS Utility Look
═══════════════════════════════════════════════════════════════ */

/* ── 1. Category Navigation Bar ──────────────────────────────── */
.top-nav {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.top-nav::-webkit-scrollbar {
  display: none;
}

.top-nav-inner {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 24px;
  max-width: 1100px;
  margin: 0 auto;
  scroll-snap-type: x mandatory;
}

.nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  border-bottom: 2.5px solid transparent;
  white-space: nowrap;
  transition: all 0.15s ease;
  scroll-snap-align: center;
}

.nav-tab:hover {
  color: #4f46e5;
  background: #f8fafc;
}

.nav-tab.active {
  color: #4f46e5;
  font-weight: 700;
  border-bottom-color: #4f46e5;
  background: #f8fafc;
}

/* ── 2. Breadcrumbs ──────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #94a3b8;
  font-size: 0.72rem;
}

/* ── 3. Sub-page Hero ────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 44px 0 36px;
}

.page-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 780px;
  margin: 0 auto;
}

.page-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  font-size: 0.8rem;
  font-weight: 700;
  color: #4f46e5;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.page-hero p.hero-desc {
  font-size: 1rem;
  color: #334155;
  max-width: 620px;
  line-height: 1.6;
}

/* ── 4. Downloader Box on Sub-pages ──────────────────────────── */
.downloader-section {
  padding: 32px 0 44px;
}

.downloader-box {
  max-width: 720px;
  margin: 0 auto;
}

/* ── 5. About & Stats Section ────────────────────────────────── */
.about-section {
  padding: 64px 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.about-content h2 {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: #0f172a;
}

.about-content p {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 14px;
}

.about-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.about-bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.55;
}

.bullet-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
  transition: all 0.2s ease;
}

.stat-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #4f46e5;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 600;
  margin-top: 4px;
}

/* ── 6. Subpage Responsive ───────────────────────────────────── */
@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .top-nav-inner {
    padding: 0 12px;
  }
  .nav-tab {
    padding: 10px 12px;
    font-size: 0.8rem;
    min-height: 44px;
  }
  .page-hero {
    padding: 24px 0 20px;
  }
  .page-hero-inner {
    gap: 12px;
  }
  .page-hero h1 {
    font-size: clamp(1.6rem, 6.5vw, 2.2rem);
  }
  .page-hero p.hero-desc {
    font-size: 0.9rem;
  }
  .downloader-section {
    padding: 16px 0 28px;
  }
  .about-section {
    padding: 44px 0 36px;
  }
  .about-content h2 {
    font-size: 1.35rem;
  }
  .about-stats {
    gap: 10px;
  }
  .stat-card {
    padding: 16px 12px;
  }
  .stat-num {
    font-size: 1.8rem;
  }
}