/* ================================================================
   CoinPulse (ej-binance.com) — Blue SaaS Dashboard Theme
   Brand: #2563EB (blue), hover #1d4ed8, bg #eff6ff
   Radius: 12px, Font: system-ui
   Layout: SaaS-style header, dashboard hero, card-based content
   ================================================================ */

/* ── CSS Variables ────────────────────────────────────────────── */
:root {
  --primary: #2563EB;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --primary-bg: #eff6ff;
  --text: #1e293b;
  --text2: #64748b;
  --text3: #94a3b8;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg2: #f8fafc;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 40px rgba(37,99,235,.12);
}

/* ── Reset & Base ─────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color .2s;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
  color: var(--text);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }

ul, ol { padding-left: 1.5rem; }

/* ── Container ────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,.3);
}

.btn--white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn--white:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: var(--primary-dark);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn--white-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn--white-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  color: #fff;
}

.btn--sm {
  padding: 6px 16px;
  font-size: .8125rem;
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: 14px 32px;
  font-size: 1rem;
}

/* ── Header ───────────────────────────────────────────────────── */
.hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all .3s;
}

.hdr--scrolled {
  background: rgba(255,255,255,.96);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,.06);
}

.hdr__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.hdr__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.hdr__brand {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.hdr__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hdr__link {
  padding: 6px 14px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text2);
  border-radius: var(--radius-sm);
  transition: all .2s;
  text-decoration: none;
}

.hdr__link:hover {
  color: var(--primary);
  background: var(--primary-bg);
}

.hdr__link--active {
  color: var(--primary);
  background: var(--primary-bg);
  font-weight: 600;
}

.hdr__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Language dropdown */
.hdr__lang-wrap {
  position: relative;
}

.hdr__lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text2);
  cursor: pointer;
  transition: all .2s;
}

.hdr__lang-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hdr__lang-drop {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 120px;
  padding: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all .2s;
  z-index: 100;
}

.hdr__lang-drop.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hdr__lang-drop a {
  display: block;
  padding: 8px 12px;
  font-size: .8125rem;
  color: var(--text2);
  border-radius: 6px;
  transition: all .15s;
}

.hdr__lang-drop a:hover,
.hdr__lang-drop a.active {
  background: var(--primary-bg);
  color: var(--primary);
}

.hdr__dropdown { position:relative; }
.hdr__dropdown > .hdr__link { display:inline-flex; align-items:center; gap:4px; }
.hdr__drop-menu {
  position:absolute; top:calc(100% + 10px); left:50%; transform:translateX(-50%) translateY(-4px);
  background:var(--bg); border:1px solid var(--border); border-radius:var(--radius-sm);
  box-shadow:var(--shadow-lg); min-width:160px; padding:6px;
  opacity:0; visibility:hidden; transition:all .2s; z-index:100;
}
.hdr__dropdown:hover .hdr__drop-menu { opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
.hdr__drop-menu a {
  display:block; padding:8px 14px; font-size:.8125rem; color:var(--text2);
  border-radius:6px; transition:all .15s; white-space:nowrap;
}
.hdr__drop-menu a:hover { background:var(--primary-bg); color:var(--primary); }

.hdr__btn {
  flex-shrink: 0;
}

/* Hamburger */
.hdr__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hdr__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

.hdr__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 998;
  opacity: 0;
  transition: opacity .3s;
}

.hdr__overlay.open {
  display: block;
  opacity: 1;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 40%, #3b82f6 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,.3) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero__content {
  flex: 1;
  min-width: 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: #fff;
  font-size: .8125rem;
  font-weight: 500;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero__title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}

.hero__desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

.hero__stat {
  text-align: left;
}

.hero__stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
}

.hero__stat-label {
  font-size: .8125rem;
  color: rgba(255,255,255,.6);
}

.hero__trust { display:flex; gap:20px; margin-top:28px; flex-wrap:wrap; }
.hero__trust-item { display:flex; align-items:center; gap:6px; font-size:.8125rem; color:rgba(255,255,255,.85); }

.hero__inner { display:flex; align-items:center; gap:60px; }
@media(max-width:860px) { .hero__inner { flex-direction:column; text-align:center; } .hero__trust { justify-content:center; } }

/* Dashboard mockup */
.hero__dashboard {
  flex: 0 0 460px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(12px);
}

.hero__dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.hero__dash-dots {
  display: flex;
  gap: 6px;
}

.hero__dash-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
}

.hero__dash-dot:first-child { background: #ef4444; }
.hero__dash-dot:nth-child(2) { background: #eab308; }
.hero__dash-dot:nth-child(3) { background: #22c55e; }

.hero__dash-title {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.hero__dash-chart {
  height: 120px;
  background: linear-gradient(180deg, rgba(59,130,246,.3) 0%, transparent 100%);
  border-radius: 8px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.hero__dash-chart::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #60a5fa, #34d399, #60a5fa);
}

.hero__dash-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero__dash-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255,255,255,.06);
  border-radius: 8px;
}

.hero__dash-pair {
  font-size: .8125rem;
  font-weight: 600;
  color: #fff;
}

.hero__dash-price {
  font-size: .8125rem;
  color: rgba(255,255,255,.7);
}

.hero__dash-change {
  font-size: .75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.hero__dash-change--up {
  color: #22c55e;
  background: rgba(34,197,94,.15);
}

.hero__dash-change--down {
  color: #ef4444;
  background: rgba(239,68,68,.15);
}

/* ── Section ──────────────────────────────────────────────────── */
.sec {
  padding: 80px 0;
}

.sec--alt {
  background: var(--bg2);
}

.sec-head {
  text-align: center;
  margin-bottom: 48px;
}

.sec-head__badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary-bg);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.sec-head__title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}

.sec-head__desc {
  font-size: 1.0625rem;
  color: var(--text2);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Feature Cards ────────────────────────────────────────────── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}

.feat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  opacity: 0;
  transition: opacity .3s;
}

.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feat-card:hover::before {
  opacity: 1;
}

.feat-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.feat-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.feat-card__desc {
  font-size: .875rem;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ── Service / Accordion ──────────────────────────────────────── */
.svc-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.svc-section__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.svc-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .2s;
}

.svc-item.active {
  border-color: var(--primary-light);
  box-shadow: 0 2px 12px rgba(37,99,235,.08);
}

.svc-item__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  background: var(--bg);
  border: none;
  width: 100%;
  text-align: left;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text);
  transition: background .2s;
}

.svc-item__head:hover {
  background: var(--bg2);
}

.svc-item__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.svc-item.active .svc-item__icon {
  background: var(--primary);
  color: #fff;
}

.svc-item__body {
  display: none;
  padding: 0 20px 16px 68px;
  font-size: .875rem;
  color: var(--text2);
  line-height: 1.7;
}

.svc-item.active .svc-item__body {
  display: block;
}

.svc-section__visual {
  background: var(--primary-bg);
  border-radius: var(--radius);
  padding: 40px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Stats Grid ───────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all .3s;
}

.stat-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.stat-card__num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
  line-height: 1.2;
}

.stat-card__label {
  font-size: .875rem;
  color: var(--text2);
}

/* ── Analysis / Progress ──────────────────────────────────────── */
.analysis-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.analysis-section__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.progress-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.progress-item__head {
  display: flex;
  justify-content: space-between;
  font-size: .875rem;
  font-weight: 500;
}

.progress-item__label {
  color: var(--text);
}

.progress-item__val {
  color: var(--primary);
  font-weight: 700;
}

.progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #60a5fa);
  border-radius: 999px;
  transition: width .6s ease;
}

/* ── Price / Comparison Cards ─────────────────────────────────── */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all .3s;
  position: relative;
}

.price-card--featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.price-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  border-radius: var(--radius) var(--radius) 0 0;
}

.price-card__badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary);
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.price-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.price-card__price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.price-card__period {
  font-size: .8125rem;
  color: var(--text3);
  margin-bottom: 24px;
}

.price-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
}

.price-card__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: .875rem;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
}

.price-card__features li:last-child {
  border-bottom: none;
}

.price-card__features li svg {
  color: #22c55e;
  flex-shrink: 0;
}

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.faq-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all .25s;
}

.faq-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(37,99,235,.1);
  transform: translateY(-2px);
}

.faq-card__icon {
  width: 40px;
  height: 40px;
  background: var(--primary-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.faq-card__q {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.4;
}

.faq-card__a {
  font-size: .8125rem;
  color: var(--text2);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .faq-cards { grid-template-columns: 1fr; }
}

/* ── Reviews ──────────────────────────────────────────────────── */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .3s;
}

.review-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
  color: #f59e0b;
}

.review-card__text {
  font-size: .875rem;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 16px;
}

.review-card__user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-weight: 700;
}

.review-card__name {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text);
}

.review-card__role {
  font-size: .75rem;
  color: var(--text3);
}

/* ── CTA Banner ───────────────────────────────────────────────── */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-banner__inner h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.cta-banner__inner p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner__btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-banner .btn--outline {
  color: #fff;
  border-color: rgba(255,255,255,.4);
}

.cta-banner .btn--outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  color: #fff;
}

/* ── Footer ───────────────────────────────────────────────────── */
.ftr {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 60px 0 0;
}

.ftr__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.ftr__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 12px;
}

.ftr__logo span {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
}

.ftr__desc {
  font-size: .8125rem;
  line-height: 1.65;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}

.ftr__lang {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ftr__lang a {
  padding: 4px 10px;
  font-size: .75rem;
  font-weight: 500;
  color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.06);
  border-radius: 6px;
  transition: all .2s;
  text-decoration: none;
}

.ftr__lang a:hover,
.ftr__lang a.active {
  color: #fff;
  background: rgba(255,255,255,.15);
}

.ftr__title {
  font-size: .8125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.ftr__links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ftr__links a {
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  transition: color .2s;
  text-decoration: none;
}

.ftr__links a:hover {
  color: #fff;
}

.ftr__bottom {
  padding: 24px 0;
}

.ftr__risk {
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  line-height: 1.6;
  margin-bottom: 8px;
}

.ftr__risk strong {
  color: rgba(255,255,255,.55);
}

.ftr__copy {
  font-size: .75rem;
  color: rgba(255,255,255,.3);
  margin-bottom: 0;
}

/* ── Post Grid (Article List) ─────────────────────────────────── */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all .3s;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.post-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.post-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--primary-bg);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: all .2s;
}

.post-tag:hover {
  background: var(--primary);
  color: #fff;
}

.post-tag--sm {
  padding: 2px 8px;
  font-size: .6875rem;
}

.post-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.post-card__title a {
  color: var(--text);
  text-decoration: none;
}

.post-card__title a:hover {
  color: var(--primary);
}

.post-card__excerpt {
  font-size: .8125rem;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .75rem;
  color: var(--text3);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.post-card__read {
  color: var(--text3);
}

/* ── Filter Pills ─────────────────────────────────────────────── */
.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  justify-content: center;
}

.filter-pills a {
  padding: 6px 16px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text2);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  transition: all .2s;
}

.filter-pills a:hover,
.filter-pills a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ── Post Detail Layout ───────────────────────────────────────── */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  padding: 24px 0 60px;
}

.post-main {
  min-width: 0;
}

/* Post Header */
.post-header {
  margin-bottom: 32px;
}

.post-header__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.post-header__title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--text);
}

.post-header__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  color: var(--text3);
}

.post-header__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text3);
}

/* Post Highlight */
.post-highlight {
  padding: 16px 20px;
  background: var(--primary-bg);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text2);
  font-size: .9375rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Post Body */
.post-body {
  color: var(--text);
  line-height: 1.8;
  font-size: 1rem;
}

.post-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.post-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 32px 0 12px;
}

.post-body p {
  margin-bottom: 16px;
}

.post-body ul,
.post-body ol {
  margin-bottom: 16px;
  padding-left: 1.5rem;
}

.post-body li {
  margin-bottom: 6px;
}

.post-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-body a:hover {
  color: var(--primary-dark);
}

.post-body blockquote {
  margin: 20px 0;
  padding: 16px 20px;
  background: var(--bg2);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text2);
  font-style: italic;
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: .875rem;
}

.post-body th,
.post-body td {
  padding: 10px 14px;
  text-align: left;
  border: 1px solid var(--border);
}

.post-body th {
  background: var(--bg2);
  font-weight: 600;
  color: var(--text);
}

.post-body img {
  border-radius: var(--radius-sm);
  margin: 20px 0;
}

.post-body code {
  background: var(--bg2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .875em;
  color: var(--primary-dark);
}

.post-body pre {
  background: var(--text);
  color: #e2e8f0;
  padding: 20px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin: 20px 0;
}

.post-body pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Related Posts */
.post-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.post-related__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.post-related__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.post-related__card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all .2s;
}

.post-related__card:hover {
  border-color: var(--primary-light);
  background: var(--primary-bg);
}

.post-related__card-title {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-related__card-date {
  font-size: .75rem;
  color: var(--text3);
}

/* ── Sidebar ──────────────────────────────────────────────────── */
.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 80px;
  align-self: start;
}

.post-sidebar__block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.post-sidebar__title {
  font-size: .875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-bg);
}

.post-sidebar__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.post-sidebar__list li {
  border-bottom: 1px solid var(--border);
}

.post-sidebar__list li:last-child {
  border-bottom: none;
}

.post-sidebar__list a {
  display: block;
  padding: 10px 0;
  font-size: .8125rem;
  color: var(--text2);
  text-decoration: none;
  line-height: 1.45;
  transition: color .2s;
}

.post-sidebar__list a:hover {
  color: var(--primary);
}

.post-sidebar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.post-sidebar__tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--text2);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  transition: all .2s;
}

.post-sidebar__tag:hover,
.post-sidebar__tag--active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ── Breadcrumb ───────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 0;
  font-size: .8125rem;
}

.breadcrumb a {
  color: var(--text3);
  text-decoration: none;
  transition: color .2s;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb__sep {
  color: var(--text3);
}

.breadcrumb__current {
  color: var(--text2);
  font-weight: 500;
}

/* ── Page Wrapper ─────────────────────────────────────────────── */
.page-wrapper {
  padding: 80px 0 60px;
  min-height: 60vh;
}

/* ── Error Page (404) ─────────────────────────────────────────── */
.error-page {
  text-align: center;
  padding: 80px 20px;
}

.error-page__icon {
  margin-bottom: 16px;
}

.error-page__code {
  font-size: 6rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
  opacity: .2;
}

.error-page__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.error-page__desc {
  font-size: 1rem;
  color: var(--text2);
  margin-bottom: 32px;
}

/* ── Category Index ───────────────────────────────────────────── */
.cat-index { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; padding:40px 0; }
.cat-index__card { display:flex; flex-direction:column; align-items:center; padding:32px 20px; background:var(--bg); border:1px solid var(--border); border-radius:var(--radius); text-decoration:none; color:var(--text); transition:all .25s; text-align:center; }
.cat-index__card:hover { border-color:var(--primary); box-shadow:0 4px 20px rgba(37,99,235,.1); transform:translateY(-3px); }
.cat-index__icon { width:56px; height:56px; background:var(--primary-bg); color:var(--primary); border-radius:var(--radius); display:flex; align-items:center; justify-content:center; margin-bottom:14px; }
.cat-index__title { font-size:.9375rem; font-weight:600; margin-bottom:6px; }
.cat-index__count { font-size:.8125rem; color:var(--text3); }
@media(max-width:768px) { .cat-index { grid-template-columns:repeat(2,1fr); } }

/* ── Download Page ────────────────────────────────────────────── */
.dl-hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
  text-align: center;
  color: #fff;
}

.dl-hero__icon {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,.15);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.dl-hero__title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.dl-hero__desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.7);
  max-width: 500px;
  margin: 0 auto 32px;
}

.dl-methods {
  padding: 60px 0;
}

.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dl-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all .3s;
}

.dl-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

.dl-card__icon {
  width: 56px;
  height: 56px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.dl-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.dl-card__desc {
  font-size: .8125rem;
  color: var(--text2);
  margin-bottom: 20px;
  line-height: 1.6;
}

.dl-card__sub { font-size:.8125rem; color:var(--primary); font-weight:600; margin-bottom:8px; }
.dl-card__note { font-size:.75rem; color:var(--text3); margin-top:12px; }
.btn--full { width:100%; text-align:center; }

.dl-badges { display:flex; gap:10px; justify-content:center; margin-top:16px; }
.dl-badge { display:inline-block; padding:4px 12px; background:var(--primary-bg); color:var(--primary); font-size:.75rem; font-weight:600; border-radius:999px; }

/* Timeline */
.dl-timeline { margin:56px 0; }
.dl-timeline__title { font-size:1.375rem; font-weight:700; margin-bottom:32px; text-align:center; }
.dl-timeline__items { max-width:640px; margin:0 auto; position:relative; padding-left:40px; }
.dl-timeline__items::before { content:''; position:absolute; left:15px; top:0; bottom:0; width:2px; background:var(--primary-light); }
.dl-timeline__item { position:relative; margin-bottom:28px; }
.dl-timeline__item:last-child { margin-bottom:0; }
.dl-timeline__num { position:absolute; left:-40px; top:0; width:32px; height:32px; background:var(--primary); color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:.8125rem; font-weight:700; }
.dl-timeline__content h4 { font-size:.9375rem; font-weight:600; margin:0 0 6px; }
.dl-timeline__content p { font-size:.8125rem; color:var(--text2); line-height:1.7; margin:0; }

/* iOS Guide */
.dl-ios-guide { margin:56px 0; padding:40px; background:var(--bg2); border-radius:var(--radius); }
.dl-ios-guide h2 { font-size:1.375rem; font-weight:700; margin:0 0 8px; }
.dl-ios-guide__intro { font-size:.875rem; color:var(--text2); margin-bottom:28px; }
.dl-ios-steps { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.dl-ios-step { background:var(--bg); border:1px solid var(--border); border-radius:var(--radius-sm); padding:20px; }
.dl-ios-step__num { font-size:.6875rem; font-weight:700; color:var(--primary); text-transform:uppercase; letter-spacing:.5px; margin-bottom:8px; }
.dl-ios-step h4 { font-size:.875rem; font-weight:600; margin:0 0 6px; }
.dl-ios-step p { font-size:.8125rem; color:var(--text2); line-height:1.6; margin:0; }

/* Download FAQ & CTA */
.dl-faq { margin:56px 0; }
.dl-faq h2 { font-size:1.375rem; font-weight:700; margin-bottom:24px; text-align:center; }
.dl-cta { text-align:center; margin:48px 0 0; padding:40px; background:linear-gradient(135deg,#1e40af,#2563eb); border-radius:var(--radius); color:#fff; }
.dl-cta h3 { font-size:1.25rem; font-weight:700; color:#fff; margin:0 0 8px; }
.dl-cta p { font-size:.875rem; color:rgba(255,255,255,.8); margin:0 0 20px; }
.dl-cta__btns { display:flex; gap:12px; justify-content:center; }

/* Page section & header */
.page-section { padding:100px 0 60px; }
.page-header { margin-bottom:40px; }
.page-header--center { text-align:center; }
.page-header__badge { display:inline-block; padding:4px 14px; background:var(--primary-bg); color:var(--primary); font-size:.75rem; font-weight:600; border-radius:999px; margin-bottom:12px; }
.page-header__title { font-size:2rem; font-weight:800; margin:0 0 12px; }
.page-header__desc { font-size:1rem; color:var(--text2); line-height:1.7; max-width:700px; }
.page-header--center .page-header__desc { margin:0 auto; }

@media(max-width:768px) {
  .dl-grid { grid-template-columns:1fr; }
  .dl-ios-steps { grid-template-columns:1fr; }
  .dl-cta__btns { flex-direction:column; align-items:center; }
}

/* ── About Page ───────────────────────────────────────────────── */
.about-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin:32px 0 40px; }
.about-stat { text-align:center; padding:24px 16px; background:var(--bg2); border-radius:var(--radius-sm); }
.about-stat__num { font-size:1.5rem; font-weight:800; color:var(--primary); margin-bottom:4px; }
.about-stat__label { font-size:.8125rem; color:var(--text2); }

.about-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin:20px 0 40px; }
.about-card { padding:20px; background:var(--bg2); border-radius:var(--radius-sm); border:1px solid var(--border); }
.about-card__title { font-size:.875rem; font-weight:600; margin-bottom:6px; color:var(--primary); }
.about-card__desc { font-size:.8125rem; color:var(--text2); line-height:1.6; }

.about-principles { display:flex; flex-direction:column; gap:20px; margin:20px 0 40px; }
.about-principle { display:flex; gap:16px; align-items:flex-start; }
.about-principle__icon { width:40px; height:40px; background:var(--primary-bg); border-radius:var(--radius-sm); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.about-principle p { font-size:.8125rem; color:var(--text2); margin:4px 0 0; line-height:1.6; }
.about-principle strong { font-size:.9375rem; }

.about-notice { padding:24px; background:#fef3c7; border:1px solid #fde68a; border-radius:var(--radius-sm); margin:0 0 32px; }
.about-notice strong { display:block; margin-bottom:8px; color:#92400e; }
.about-notice p { font-size:.8125rem; color:#78350f; line-height:1.7; margin:0 0 8px; }
.about-notice p:last-child { margin-bottom:0; }

.about-cta { text-align:center; margin:0 0 20px; display:flex; gap:12px; justify-content:center; }

@media(max-width:768px) {
  .about-stats { grid-template-columns:repeat(2,1fr); }
  .about-grid { grid-template-columns:1fr 1fr; }
  .about-cta { flex-direction:column; align-items:center; }
}
.about-hero {
  padding: 120px 0 60px;
  text-align: center;
}

.about-hero__badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary-bg);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 12px;
}

.about-hero__title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.about-hero__desc {
  font-size: 1.0625rem;
  color: var(--text2);
  max-width: 600px;
  margin: 0 auto;
}

.about-content {
  padding: 0 0 60px;
}

.about-content__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

/* ── Disclaimer Page ──────────────────────────────────────────── */
.disclaimer-page {
  padding: 100px 0 60px;
}

.disclaimer-page h1 {
  font-size: 2rem;
  margin-bottom: 24px;
  text-align: center;
}

.disclaimer-page__body {
  max-width: 760px;
  margin: 0 auto;
  font-size: .9375rem;
  color: var(--text2);
  line-height: 1.8;
}

.disclaimer-page__body h2 {
  font-size: 1.25rem;
  color: var(--text);
  margin: 32px 0 12px;
}

.disclaimer-page__body p {
  margin-bottom: 16px;
}

/* ── Empty State ──────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text3);
  font-size: 1rem;
}

/* ── Scroll Animations ────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .post-sidebar {
    position: static;
  }

  .post-related__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.375rem; }

  /* Header mobile */
  .hdr__nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    z-index: 999;
    overflow-y: auto;
  }

  .hdr__nav.open {
    display: flex;
  }

  .hdr__link {
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .hdr__actions {
    display: none;
  }

  .hdr__nav.open ~ .hdr__actions,
  .hdr__nav.open + .hdr__actions {
    display: flex;
  }

  .hdr__toggle {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 100px 0 60px;
  }

  .hero .container {
    flex-direction: column;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__dashboard {
    flex: none;
    width: 100%;
  }

  .hero__stats {
    gap: 20px;
  }

  /* Grids */
  .feat-grid,
  .review-grid,
  .price-grid,
  .dl-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-section,
  .analysis-section,
  .about-content__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .ftr__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sec {
    padding: 60px 0;
  }

  .sec-head__title {
    font-size: 1.5rem;
  }

  .post-header__title {
    font-size: 1.5rem;
  }

  .price-card--featured {
    transform: none;
  }

  .cta-banner__inner h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  h1 { font-size: 1.5rem; }

  .hero__title {
    font-size: 1.625rem;
  }

  .hero__stats {
    flex-direction: column;
    gap: 12px;
  }

  .hero__btns {
    flex-direction: column;
  }

  .hero__btns .btn {
    width: 100%;
  }

  .cta-banner__btns {
    flex-direction: column;
  }

  .cta-banner__btns .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .post-card {
    padding: 16px;
  }

  .breadcrumb {
    font-size: .75rem;
  }

  .error-page__code {
    font-size: 4rem;
  }

  .dl-hero__title {
    font-size: 1.75rem;
  }
}

/* ── Homepage: Hero Inner (two-column) ────────────────────────── */
.hero__inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero__trust {
  display: flex;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8125rem;
  color: rgba(255,255,255,.75);
}

.hero__visual {
  flex: 0 0 480px;
  max-width: 100%;
}

.hero__visual .hero__dashboard {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

/* ── Stats Bar ────────────────────────────────────────────────── */
.stats-bar {
  padding: 40px 0;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stats-bar__item {
  text-align: center;
}

.stats-bar__num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.stats-bar__label {
  font-size: .8125rem;
  color: var(--text2);
}

/* ── Section Header (homepage) ────────────────────────────────── */
.section-hd {
  text-align: center;
  margin-bottom: 48px;
}

.section-hd__badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary-bg);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.section-hd__title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}

.section-hd__desc {
  font-size: 1.0625rem;
  color: var(--text2);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Features Section (homepage) ──────────────────────────────── */
.features {
  padding: 80px 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all .3s;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-card--highlight {
  border-color: var(--primary);
  background: var(--primary-bg);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.feature-card__icon--blue {
  background: #dbeafe;
  color: #2563eb;
}

.feature-card__icon--purple {
  background: #ede9fe;
  color: #7c3aed;
}

.feature-card__icon--green {
  background: #dcfce7;
  color: #16a34a;
}

.feature-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card__desc {
  font-size: .875rem;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 16px;
}

.feature-card__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-card__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  color: var(--text2);
}

.feature-card__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ── Latest Posts Section ─────────────────────────────────────── */
.latest-posts {
  padding: 80px 0;
  background: var(--bg2);
}

.latest-posts__more {
  text-align: center;
  margin-top: 32px;
}

.post-card__read {
  display: inline-block;
  margin-top: 12px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color .2s;
}

.post-card__read:hover {
  color: var(--primary-dark);
}

/* ── Tag Chip (used in auto-generated templates) ──────────────── */
.tag-chip {
  display: inline-block;
  padding: 3px 10px;
  background: var(--primary-bg);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: all .2s;
}

.tag-chip:hover {
  background: var(--primary);
  color: #fff;
}

/* ── Analysis Section (homepage) ──────────────────────────────── */
.analysis {
  padding: 80px 0;
}

.analysis__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.analysis__title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.analysis__desc {
  font-size: 1rem;
  color: var(--text2);
  margin-bottom: 24px;
  line-height: 1.7;
}

.analysis__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.analysis__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.analysis__list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.analysis__list li div {
  display: flex;
  flex-direction: column;
}

.analysis__list li strong {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.analysis__list li span {
  font-size: .8125rem;
  color: var(--text2);
}

.analysis__visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.analysis__card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.analysis__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
}

.analysis__card-badge {
  padding: 2px 10px;
  background: #dcfce7;
  color: #16a34a;
  font-size: .6875rem;
  font-weight: 600;
  border-radius: 999px;
}

.analysis__progress {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.analysis__progress-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.analysis__progress-label {
  display: flex;
  justify-content: space-between;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text2);
}

.analysis__progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.analysis__progress-fill {
  height: 100%;
  border-radius: 999px;
  transition: width .6s ease;
}

.analysis__card--sm {
  text-align: center;
  padding: 20px;
}

.analysis__stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin: 8px 0 4px;
}

.analysis__stat-change {
  font-size: .8125rem;
  color: #22c55e;
  font-weight: 500;
}

/* ── FAQ Section (homepage) ───────────────────────────────────── */
.faq-section {
  padding: 80px 0;
  background: var(--bg2);
}

/* ── Testimonials (homepage) ──────────────────────────────────── */
.testimonials {
  padding: 80px 0;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .3s;
}

.testimonial-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.testimonial-card__text {
  font-size: .875rem;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 16px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-weight: 700;
}

.testimonial-card__name {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text);
}

.testimonial-card__role {
  font-size: .75rem;
  color: var(--text3);
}

/* ── Page Section & Page Header ───────────────────────────────── */
.page-section {
  padding: 80px 0 60px;
  min-height: 60vh;
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

.page-header__badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary-bg);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 12px;
}

.page-header__title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-header__desc {
  font-size: 1rem;
  color: var(--text2);
}

/* ── Filter Pill Buttons ──────────────────────────────────────── */
.filter-pill {
  padding: 6px 16px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text2);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ── Post Grid 3-column variant ───────────────────────────────── */
.post-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

/* ── Post card separator ──────────────────────────────────────── */
.post-card__meta .sep {
  color: var(--text3);
}

/* ── CTA Banner variants ─────────────────────────────────────── */
.cta-banner__content {
  margin-bottom: 0;
}

.cta-banner__title {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.cta-banner__desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 24px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.btn--white-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}

.btn--white-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  color: #fff;
}

/* ── Additional Responsive for homepage ───────────────────────── */
@media (max-width: 768px) {
  .hero__inner {
    flex-direction: column;
  }

  .hero__visual {
    flex: none;
    width: 100%;
  }

  .features__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .analysis__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .post-grid--3col {
    grid-template-columns: 1fr;
  }

  .page-header__title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .stats-bar__grid {
    grid-template-columns: 1fr;
  }

  .hero__trust {
    flex-direction: column;
    gap: 8px;
  }
}

/* ── Utility ──────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.mt-8 { margin-top: 32px; }
.mb-8 { margin-bottom: 32px; }