/* ============================================================
   SwitchPower — pages.css
   Zakelijk / Verenigingen / Kennisbank sayfalarına özgü bileşenler.
   style.css'in üzerine biner.
   ============================================================ */

/* ---------- Sayfa hero (full-height değil) ---------- */
.page-hero {
  position: relative;
  padding: 180px 0 90px;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 10%, rgba(91, 145, 214, 0.18), transparent 55%),
    radial-gradient(circle at 85% 30%, rgba(47, 90, 150, 0.22), transparent 50%);
}
.page-hero-inner { max-width: 820px; }
.page-hero.center .page-hero-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.page-hero .eyebrow { display: block; margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); margin-bottom: 24px; }
.page-hero .lead { color: var(--text-muted); font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 620px; margin-bottom: 36px; }
.page-hero.center .lead { margin-left: auto; margin-right: auto; }
.page-hero .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.page-hero.center .hero-actions { justify-content: center; }

/* Breadcrumb */
.breadcrumb { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 22px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-blue-bright); }
.breadcrumb span { margin: 0 8px; opacity: .6; }

/* ---------- İstatistik şeridi (sayfa içi) ---------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 36px;
}
.stat-band .stat { text-align: center; }
.stat-band .stat .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--serif-blue);
  line-height: 1;
}
.stat-band .stat .label { margin-top: 10px; font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Özellik listesi (ikonlu satırlar) ---------- */
.feature-list { display: flex; flex-direction: column; gap: 18px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list .fl-ic {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid; place-items: center;
  color: var(--accent-blue-bright);
  background: rgba(120, 165, 225, 0.12);
  border: 1px solid var(--card-border);
}
.feature-list .fl-ic .icon { width: 22px; height: 22px; }
.feature-list h3 { font-size: 1.12rem; margin-bottom: 4px; }
.feature-list p { color: var(--text-muted); font-size: 0.96rem; }

/* ---------- Tarife / paket kartları ---------- */
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--card-border-hover); background: var(--card-bg-hover); }
.price-card .badge {
  position: absolute;
  top: -13px; left: 34px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #5b91d6, #3a6bb0);
  color: #0a0f1a;
  padding: 5px 13px;
  border-radius: 999px;
}
.price-card .pc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.price-card .pc-ic {
  width: 48px; height: 48px; border-radius: 13px;
  display: grid; place-items: center; color: var(--accent-blue-bright);
  background: rgba(120, 165, 225, 0.12); border: 1px solid var(--card-border);
}
.price-card .pc-ic .icon { width: 24px; height: 24px; }
.price-card h3 { font-size: 1.3rem; }
.price-card > p { color: var(--text-muted); margin-bottom: 20px; }
.price-card ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex: 1; }
.price-card ul li { display: flex; gap: 11px; align-items: flex-start; color: var(--text-light); font-size: 0.96rem; }
.price-card ul .icon { width: 18px; height: 18px; color: var(--accent-blue-bright); flex: none; margin-top: 3px; stroke-width: 3; }
.price-card .btn { width: 100%; justify-content: center; }

/* ---------- Makale kartları (Kennisbank) ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.article-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.article-thumb {
  height: 170px;
  background:
    radial-gradient(circle at 30% 30%, rgba(91, 145, 214, 0.4), transparent 60%),
    linear-gradient(135deg, #14233a, #0d1524);
  position: relative;
  display: grid; place-items: center;
  color: var(--accent-blue-bright);
}
.article-thumb .icon { width: 48px; height: 48px; opacity: .85; }
.article-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.article-cat {
  align-self: flex-start;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-blue);
  background: rgba(120, 165, 225, 0.1);
  border: 1px solid var(--card-border);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.article-card h3 { font-size: 1.18rem; margin-bottom: 10px; line-height: 1.25; }
.article-card p { color: var(--text-muted); font-size: 0.95rem; flex: 1; margin-bottom: 18px; }
.article-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.82rem; color: var(--text-dim);
}
.article-meta .read-link { color: var(--accent-blue-bright); font-family: var(--font-display); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.article-meta .read-link .icon { width: 16px; height: 16px; transition: transform .25s ease; }
.article-card:hover .read-link .icon { transform: translateX(3px); }

/* Öne çıkan makale (yatay) */
.featured-article {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  overflow: hidden;
  padding: 0;
}
.featured-article .fa-media {
  min-height: 320px;
  background:
    radial-gradient(circle at 35% 35%, rgba(91, 145, 214, 0.45), transparent 60%),
    linear-gradient(135deg, #16284200, #0d1524),
    linear-gradient(135deg, #14233a, #0d1524);
  display: grid; place-items: center;
  color: var(--accent-blue-bright);
}
.featured-article .fa-media .icon { width: 76px; height: 76px; opacity: .85; }
.featured-article .fa-body { padding: 46px 44px; display: flex; flex-direction: column; justify-content: center; }
.featured-article .fa-body h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 14px 0 16px; }
.featured-article .fa-body p { color: var(--text-muted); margin-bottom: 26px; }

/* Kategori filtre pill'leri (statik) */
.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 48px; }
.cat-filter a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: rgba(120, 165, 225, 0.05);
  color: var(--text-muted);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cat-filter a:hover, .cat-filter a.active { background: rgba(120, 165, 225, 0.14); color: var(--accent-blue-bright); border-color: var(--card-border-hover); }

/* ---------- FAQ (native <details> accordion) ---------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease;
}
.faq-item[open] { border-color: var(--card-border-hover); background: var(--card-bg-hover); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-light);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex: none;
  width: 12px; height: 12px;
  border-right: 2px solid var(--accent-blue-bright);
  border-bottom: 2px solid var(--accent-blue-bright);
  transform: rotate(45deg);
  transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item .faq-a { padding: 0 26px 24px; color: var(--text-muted); line-height: 1.65; }

/* ---------- Genel CTA bandı ---------- */
.cta-band {
  text-align: center;
  background: linear-gradient(135deg, rgba(47, 90, 150, 0.35), rgba(91, 145, 214, 0.12));
  border: 1px solid var(--card-border-hover);
  border-radius: var(--radius-lg);
  padding: 70px 40px;
}
.cta-band h2 { margin-bottom: 18px; }
.cta-band p { color: var(--text-muted); max-width: 560px; margin: 0 auto 32px; }

/* ---------- Logo şeridi başlığı (zakelijk için tekrar) ---------- */
.mini-note { text-align: center; color: var(--text-dim); font-size: 0.92rem; margin-top: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .featured-article { grid-template-columns: 1fr; }
  .featured-article .fa-media { min-height: 220px; }
}
@media (max-width: 600px) {
  .page-hero { padding: 140px 0 70px; }
  .article-grid { grid-template-columns: 1fr; }
  .stat-band { padding: 24px; }
  .cta-band { padding: 48px 22px; }
  .featured-article .fa-body { padding: 32px 24px; }
  .faq-item summary { padding: 18px 20px; font-size: 1rem; }
  .faq-item .faq-a { padding: 0 20px 20px; }
}
