/* ============================================================
   SaaSMarketplace.co — Components
   Import after base.css
   ============================================================ */

/* ── Hero (homepage) ── */
.hero { padding: 1.25rem 1.5rem 1.75rem; text-align: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .28rem .75rem;
  border-radius: var(--r999);
  margin-bottom: 1.125rem;
  font-family: var(--fb);
}
.hero h1 {
  font-family: var(--fh);
  font-size: clamp(1.25rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.035em;
  margin-bottom: 1rem;
}
.hero h1 em { font-style: normal; color: var(--b300); }
.hero-sub { color: rgba(255,255,255,.65); font-size: 1.65rem; max-width: 480px; margin: 0 auto 1.5rem; line-height: 1.65; }

.search-wrap {
  display: flex;
  background: #fff;
  border-radius: var(--r8);
  overflow: hidden;
  max-width: 520px;
  margin: 0 auto 2rem;
  border: 2px solid rgba(255,255,255,.15);
}
.search-wrap input {
  flex: 1;
  border: none;
  outline: none;
  padding: .75rem 1rem;
  font-size: 1.875rem;
  font-family: var(--fb);
  color: var(--g800);
}
.search-wrap input::placeholder { color: var(--g400); }
.search-wrap button {
  background: var(--b600);
  color: #fff;
  border: none;
  padding: .75rem 1.25rem;
  font-weight: 600;
  font-size: 1.8125rem;
  cursor: pointer;
  font-family: var(--fb);
  transition: background .15s;
}
.search-wrap button:hover { background: var(--b700); }

.hero-stats { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.hstat strong { display: block; font-family: var(--fh); font-size: 1rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.hstat span   { font-size: 1rem; text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,.45); }

/* ── Section ── */
.section { padding: 2.5rem 0; }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.sec-title { font-family: var(--fh); font-size: 1.125rem; font-weight: 800; letter-spacing: -.025em; color: var(--g900); }
.sec-sub   { font-size: 1rem; color: var(--g500); margin-top: .2rem; }
.bg-white  { background: #fff; border-top: 1px solid var(--g200); border-bottom: 1px solid var(--g200); }

/* ── Category pills ── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.cat-pill {
  background: #fff;
  border: 1px solid var(--g200);
  border-radius: var(--r8);
  padding: .875rem .75rem;
  text-align: center;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.cat-pill:hover { border-color: var(--b400); background: var(--b50); }
.cat-emoji { font-size: 1.25rem; margin-bottom: .4rem; display: block; }
.cat-name  { font-size: 1rem; font-weight: 700; color: var(--g800); font-family: var(--fh); letter-spacing: -.01em; }
.cat-n     { font-size: 1rem; color: var(--g400); margin-top: .15rem; }

/* ── Tool Cards ── */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.tool-card {
  background: #fff;
  border: 1px solid var(--g200);
  border-radius: var(--r10);
  padding: 1.125rem;
  cursor: pointer;
  transition: all .15s;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
}
.tool-card:hover { border-color: var(--b300); box-shadow: 0 2px 12px rgba(37,99,235,.09); }
.tc-head  { display: flex; align-items: center; gap: 10px; margin-bottom: .75rem; }
.tc-logo  { width: 38px; height: 38px; border-radius: var(--r6); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 2rem; color: #fff; flex-shrink: 0; font-family: var(--fh); }
.tc-name  { font-family: var(--fh); font-size: 1.9375rem; font-weight: 800; color: var(--g900); letter-spacing: -.02em; margin-bottom: .1rem; }
.tc-cat   { font-size: 1rem; color: var(--g500); font-weight: 500; }
.tc-desc  { font-size: 1rem; color: var(--g600); line-height: 1.55; margin-bottom: .75rem; }
.tc-foot  { display: flex; align-items: center; justify-content: space-between; padding-top: .625rem; border-top: 1px solid var(--g100); }
.stars    { color: #f59e0b; font-size: 1.75rem; font-weight: 700; }
.badge-new {
  position: absolute; top: 10px; right: 10px;
  background: var(--b600); color: #fff;
  font-size: 1rem; font-weight: 700;
  padding: .18rem .5rem; border-radius: var(--r4);
  text-transform: uppercase; letter-spacing: .05em;
}

/* ── List View (category page) ── */
.list-wrap { max-width: 1160px; margin: 0 auto; padding: 2rem 1.5rem; }
.list-item {
  background: #fff;
  border: 1px solid var(--g200);
  border-radius: var(--r8);
  padding: 1.7rem 1.5rem;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 1rem;
  align-items: center;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  color: inherit;
}
.list-item:hover { border-color: var(--b300); box-shadow: 0 1px 8px rgba(37,99,235,.07); }
.li-logo  { width: 64px; height: 64px; border-radius: var(--r6); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 2.125rem; color: #fff; flex-shrink: 0; font-family: var(--fh); }
.li-name  { font-family: var(--fh); font-size: 1.9375rem; font-weight: 800; color: var(--g900); letter-spacing: -.02em; margin-bottom: .2rem; }
.li-desc  { font-size: 1.7rem; color: var(--g500); margin-bottom: .45rem; line-height: 1.45; }
.li-tags  { display: flex; gap: 5px; flex-wrap: wrap; }
.li-right { text-align: right; flex-shrink: 0; min-width: 110px; }
.li-rating { font-size: 1rem; font-weight: 700; color: var(--g900); margin-bottom: .2rem; }
.li-rc    { color: var(--g400); font-weight: 400; font-size: 1rem; }
.li-price { font-size: 1rem; font-weight: 700; color: var(--b600); margin-bottom: .375rem; }
.cmp-cb   { display: flex; align-items: center; gap: .3rem; font-size: 1rem; color: var(--g500); cursor: pointer; justify-content: flex-end; }
.cmp-cb input { accent-color: var(--b600); }

/* ── Detail page ── */
.detail-banner { background: #fff; border-bottom: 1.5px solid var(--g200); padding: 1.5rem; }
.dtop {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1.25rem;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
}
.d-logo    { width: 72px; height: 72px; border-radius: var(--r10); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 2.75rem; color: #fff; flex-shrink: 0; font-family: var(--fh); }
.d-name    { font-family: var(--fh); font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: .2rem; color: var(--g900); }
.d-tag     { font-size: 1rem; color: var(--g500); margin-bottom: .75rem; }
.d-meta    { display: flex; align-items: center; gap: .625rem; flex-wrap: wrap; }
.d-rating  { display: flex; align-items: center; gap: .4rem; background: var(--b50); border: 1px solid var(--b200); border-radius: var(--r4); padding: .25rem .65rem; font-size: 1.8rem; }
.d-rating strong { color: var(--b800); font-weight: 700; font-family: var(--fh); }
.d-pill    { background: var(--g100); color: var(--g700); border-radius: var(--r4); padding: .25rem .65rem; font-size: 1.75rem; font-weight: 500; }

.dbody {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1.5rem;
  padding: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.dsec { margin-bottom: 1.75rem; }
.dsec-title {
  font-family: var(--fh);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .07em;
  color: var(--g500);
  border-bottom: 1px solid var(--g200);
  padding-bottom: .5rem;
  margin-bottom: .875rem;
  text-transform: uppercase;
}
.feat-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.feat-list li { display: flex; gap: .5rem; font-size: 1rem; color: var(--g700); align-items: flex-start; }
.feat-list li::before { content: '✓'; color: var(--b500); font-weight: 700; flex-shrink: 0; }

.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: .625rem; }
.screen  { background: var(--g100); border: 1px solid var(--g200); border-radius: var(--r6); aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; font-size: 1.68rem; color: var(--g400); }

.pricing-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.p-card   { background: #fff; border: 1px solid var(--g200); border-radius: var(--r8); padding: 1rem; }
.p-card.featured { border-color: var(--b400); background: var(--b50); }
.p-name   { font-size: 1.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--g400); margin-bottom: .5rem; font-family: var(--fh); }
.p-price  { font-family: var(--fh); font-size: 2.375rem; font-weight: 800; letter-spacing: -.025em; margin-bottom: .2rem; }
.p-price sub { font-size: 1.7rem; font-weight: 400; color: var(--g500); }
.p-feats  { list-style: none; font-size: 1.78rem; color: var(--g600); display: flex; flex-direction: column; gap: .35rem; margin: .625rem 0; }
.p-feats li::before { content: '· '; color: var(--b500); font-weight: 700; }

.rev-card { background: #fff; border: 1px solid var(--g200); border-radius: var(--r6); padding: .875rem; margin-bottom: .625rem; }
.rev-head { display: flex; align-items: center; gap: 8px; margin-bottom: .5rem; }
.rev-av   { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.72rem; font-weight: 700; color: #fff; flex-shrink: 0; font-family: var(--fh); }
.rev-name { font-size: 1.8125rem; font-weight: 700; font-family: var(--fh); }
.rev-role { font-size: 1.7rem; color: var(--g400); }
.rev-text { font-size: 1.78rem; color: var(--g600); line-height: 1.55; }

.sc       { background: #fff; border: 1px solid var(--g200); border-radius: var(--r8); padding: 1rem; margin-bottom: .75rem; }
.sc-title { font-size: 1.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--g500); margin-bottom: .75rem; font-family: var(--fh); }
.info-list { list-style: none; }
.info-list li { display: flex; justify-content: space-between; font-size: 1.78rem; padding: .375rem 0; border-bottom: 1px solid var(--g100); }
.info-list li:last-child { border-bottom: none; }
.info-list .ik { color: var(--g500); }
.info-list .iv { font-weight: 600; color: var(--g800); }

/* ── Compare table ── */
.cmp-add {
  display: flex; align-items: center; gap: 10px;
  background: var(--b50); border: 1.5px dashed var(--b300);
  border-radius: var(--r8); padding: 1rem 1.5rem;
  margin: 1.5rem 1.5rem .5rem; cursor: pointer; transition: all .15s;
}
.cmp-add:hover { background: var(--b100); border-color: var(--b500); }
.cmp-add-icon { width: 34px; height: 34px; border-radius: 50%; border: 1.5px dashed var(--b400); background: var(--b100); display: flex; align-items: center; justify-content: center; font-size: 2.125rem; color: var(--b600); }
.cmp-add span { font-size: 1.8rem; font-weight: 600; color: var(--b700); font-family: var(--fh); }

.cmp-scr { padding: 0 1.5rem 1.5rem; overflow-x: auto; }
.cmp-tbl { width: 100%; border-collapse: collapse; min-width: 580px; background: #fff; border-radius: var(--r10); overflow: hidden; border: 1px solid var(--g200); }
.cmp-tbl th, .cmp-tbl td { padding: .75rem 1rem; text-align: left; font-size: 1.8rem; }
.cmp-tbl th { background: var(--g50); border-bottom: 1px solid var(--g200); font-weight: 700; color: var(--g700); font-family: var(--fh); font-size: 1.75rem; letter-spacing: -.01em; }
.cmp-tbl td { border-bottom: 1px solid var(--g100); color: var(--g700); }
.cmp-tbl tr:last-child td { border-bottom: none; }
.cmp-tbl tr:hover td { background: var(--b50); }
.tlogo-wrap { display: flex; align-items: center; gap: .5rem; font-family: var(--fh); font-weight: 700; }
.tlogo-sm   { width: 24px; height: 24px; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.68rem; color: #fff; }
.cy  { color: var(--b500); font-weight: 700; font-size: 1.9rem; }
.cn  { color: var(--g300); font-size: 1.9rem; }
.rl  { font-weight: 700; font-family: var(--fh); color: var(--g800); font-size: 1.8rem; }
.win { background: var(--b50); color: var(--b800); font-size: 1.65rem; font-weight: 700;  border-radius: var(--r4); font-family: var(--fh); }
.rec-box { background: var(--b50); border: 1px solid var(--b200); border-radius: var(--r8); padding: 1.125rem 1.25rem; margin: 0 1.5rem 1.5rem; }
.rec-lbl  { font-size: 1.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--b700); margin-bottom: .375rem; font-family: var(--fh); }

/* ── Alternatives ── */
.alt-hero { position: relative; overflow: hidden; padding: 2.5rem 1.5rem; text-align: center; }
.alt-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%); }
.alt-hero-inner { position: relative; z-index: 1; }
.alt-hero h1 { font-family: var(--fh); font-size: clamp(2.375rem, 3vw, 2.875rem); font-weight: 800; color: #fff; letter-spacing: -.03em; margin-bottom: .625rem; }
.alt-hero p  { color: rgba(255,255,255,.6); font-size: 1.8375rem; max-width: 440px; margin: 0 auto; }

.alt-wrap { max-width: 800px; margin: 0 auto; padding: 1.5rem; }
.alt-item {
  background: #fff; border: 1px solid var(--g200); border-radius: var(--r8);
  padding: 1rem 1.25rem; display: grid; grid-template-columns: 48px 1fr auto;
  gap: 1rem; align-items: center; margin-bottom: 8px; cursor: pointer; transition: all .15s;
}
.alt-item:hover { border-color: var(--b300); box-shadow: 0 1px 8px rgba(37,99,235,.07); }
.alt-logo { width: 48px; height: 48px; border-radius: var(--r6); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 2.125rem; color: #fff; position: relative; flex-shrink: 0; font-family: var(--fh); }
.alt-rank { position: absolute; top: -6px; left: -6px; width: 18px; height: 18px; background: var(--b600); color: #fff; border-radius: 50%; font-size: 1.6rem; font-weight: 800; display: flex; align-items: center; justify-content: center; font-family: var(--fh); }
.alt-name { font-family: var(--fh); font-size: 1.9375rem; font-weight: 800; color: var(--g900); letter-spacing: -.02em; margin-bottom: .2rem; }
.alt-desc { font-size: 1.78rem; color: var(--g500); margin-bottom: .45rem; line-height: 1.45; }
.alt-pros { display: flex; gap: 5px; flex-wrap: wrap; }
.pp       { background: var(--b50); color: var(--b800); border: 1px solid var(--b200); font-size: 1.67rem; font-weight: 600; padding: .15rem .45rem; border-radius: var(--r4); }
.sim-wrap { text-align: right; flex-shrink: 0; min-width: 60px; }
.sim-lbl  { font-size: 1.65rem; text-transform: uppercase; letter-spacing: .07em; color: var(--g400); margin-bottom: .2rem; font-family: var(--fh); }
.sim-bar  { width: 54px; height: 5px; background: var(--g200); border-radius: 3px; overflow: hidden; margin-bottom: .3rem; margin-left: auto; }
.sim-fill { height: 100%; background: var(--b500); border-radius: 3px; }
.sim-pct  { font-family: var(--fh); font-size: 1.8375rem; font-weight: 800; color: var(--b700); }

/* ── About ── */
.about-hero { padding: 3.5rem 1.5rem; text-align: center; }
.about-inner { position: relative; z-index: 1; max-width: 580px; margin: 0 auto; }
.about-inner h1 { font-family: var(--fh); font-size: clamp(2.5rem, 3.5vw, 3.25rem); font-weight: 800; color: #fff; letter-spacing: -.035em; margin-bottom: .75rem; }
.about-inner p  { color: rgba(255,255,255,.65); font-size: 1.875rem; }
.about-body { max-width: 960px; margin: 0 auto; padding: 2.5rem 1.5rem; }
.about-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.acol h2    { font-family: var(--fh); font-size: 2.0625rem; font-weight: 800; letter-spacing: -.025em; margin-bottom: .875rem; color: var(--g900); }
.acol p     { color: var(--g600); font-size: 1.8375rem; line-height: 1.7; margin-bottom: .75rem; }
.stats-row  { background: var(--b800); border-radius: var(--r16); padding: 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; margin-bottom: 2.5rem; }
.sv { font-family: var(--fh); font-size: 2.625rem; font-weight: 800; color: #fff; letter-spacing: -.03em; }
.sl { font-size: 1.68rem; text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,.45); margin-top: .15rem; }
.vals-grid  { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-bottom: 2.5rem; }
.val-card   { background: #fff; border: 1px solid var(--g200); border-radius: var(--r8); padding: 1.125rem; }
.val-icon   { width: 36px; height: 36px; background: var(--b50); border: 1px solid var(--b200); border-radius: var(--r6); display: flex; align-items: center; justify-content: center; font-size: 2.125rem; margin-bottom: .75rem; }
.val-card h3 { font-family: var(--fh); font-size: 1.875rem; font-weight: 800; letter-spacing: -.015em; margin-bottom: .375rem; }
.val-card p  { font-size: 1.78rem; color: var(--g500); line-height: 1.55; }
.team-grid  { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-bottom: 2.5rem; }
.team-card  { background: #fff; border: 1px solid var(--g200); border-radius: var(--r8); padding: 1.25rem; text-align: center; }
.team-av    { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto .75rem; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800; color: #fff; font-family: var(--fh); }
.team-name  { font-family: var(--fh); font-weight: 800; font-size: 1.875rem; letter-spacing: -.015em; margin-bottom: .2rem; }
.team-role  { font-size: 1.75rem; color: var(--g500); }

/* ── Blog listing ── */
.blog-hero { position: relative; overflow: hidden; }
.blog-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, #0f172a 0%, #1e40af 60%, #1d4ed8 100%); }
.blog-hero-inner { position: relative; z-index: 1; max-width: 1160px; margin: 0 auto; padding: 3rem 1.5rem; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }
.blog-hero h1 { font-family: var(--fh); font-size: clamp(2.5rem, 3vw, 3rem); font-weight: 800; color: #fff; letter-spacing: -.035em; margin-bottom: .5rem; }
.blog-hero p  { color: rgba(255,255,255,.6); font-size: 1.875rem; max-width: 480px; }
.blog-search  { display: flex; background: #fff; border-radius: var(--r8); overflow: hidden; width: 280px; border: 2px solid rgba(255,255,255,.1); }
.blog-search input { flex: 1; border: none; outline: none; padding: .625rem .875rem; font-size: 1.8125rem; font-family: var(--fb); color: var(--g800); min-width: 0; }
.blog-search input::placeholder { color: var(--g400); }
.blog-search button { background: var(--b600); color: #fff; border: none; padding: .625rem .875rem; font-weight: 600; font-size: 1.75rem; cursor: pointer; font-family: var(--fb); transition: background .15s; }
.blog-search button:hover { background: var(--b700); }

.topic-bar { background: #fff; border-bottom: 1.5px solid var(--g200); padding: 0 1.5rem; display: flex; align-items: center; gap: 0; overflow-x: auto; }
.topic-tab { font-size: 1.8125rem; font-weight: 600; color: var(--g500); padding: .875rem 1rem; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: all .15s; font-family: var(--fh); }
.topic-tab:hover { color: var(--g800); }
.topic-tab.active { color: var(--b600); border-bottom-color: var(--b600); }

.blog-body { max-width: 1160px; margin: 0 auto; padding: 2rem 1.5rem; display: grid; grid-template-columns: 1fr 300px; gap: 1.75rem; }

.featured-post {
  background: #fff; border: 1px solid var(--g200); border-radius: var(--r12); overflow: hidden;
  margin-bottom: 1.25rem; cursor: pointer; transition: all .15s;
  display: grid; grid-template-columns: 1fr 1fr; text-decoration: none; color: inherit;
}
.featured-post:hover { border-color: var(--b300); box-shadow: 0 2px 16px rgba(37,99,235,.09); }
.fp-img { background: linear-gradient(135deg, var(--b800) 0%, var(--b600) 100%); min-height: 220px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.fp-img-label { font-family: var(--fh); font-size: 3.5rem; font-weight: 800; color: rgba(255,255,255,.15); letter-spacing: -.05em; z-index: 1; }
.fp-body   { padding: 1.625rem; }
.fp-meta   { display: flex; align-items: center; gap: .625rem; margin-bottom: .875rem; flex-wrap: wrap; }
.fp-title  { font-family: var(--fh); font-size: 2.1875rem; font-weight: 800; color: var(--g900); letter-spacing: -.025em; line-height: 1.3; margin-bottom: .625rem; }
.fp-excerpt { font-size: 1.8125rem; color: var(--g500); line-height: 1.65; margin-bottom: 1rem; }
.fp-author { display: flex; align-items: center; gap: .5rem; }
.author-av { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.65rem; font-weight: 800; color: #fff; flex-shrink: 0; font-family: var(--fh); }
.author-name { font-size: 1.75rem; font-weight: 600; color: var(--g700); font-family: var(--fh); }
.author-date { font-size: 1.72rem; color: var(--g400); }

.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 1.25rem; }
.post-card { background: #fff; border: 1px solid var(--g200); border-radius: var(--r10); overflow: hidden; cursor: pointer; transition: all .15s; text-decoration: none; color: inherit; display: block; }
.post-card:hover { border-color: var(--b300); box-shadow: 0 2px 10px rgba(37,99,235,.08); }
.pc-img    { height: 128px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.pc-img-lbl { font-family: var(--fh); font-size: 2.75rem; font-weight: 800; color: rgba(255,255,255,.18); letter-spacing: -.04em; }
.pc-body   { padding: 1rem; }
.pc-title  { font-family: var(--fh); font-size: 1.9375rem; font-weight: 800; color: var(--g900); letter-spacing: -.02em; line-height: 1.3; margin-bottom: .375rem; }
.pc-excerpt { font-size: 1.775rem; color: var(--g500); line-height: 1.55; margin-bottom: .75rem; }
.pc-footer { display: flex; align-items: center; justify-content: space-between; padding-top: .625rem; border-top: 1px solid var(--g100); }
.pc-date   { font-size: 1.7rem; color: var(--g400); }

.post-list-item {
  background: #fff; border: 1px solid var(--g200); border-radius: var(--r8);
  padding: .875rem 1rem; display: grid; grid-template-columns: 72px 1fr;
  gap: .875rem; align-items: center; margin-bottom: 8px; cursor: pointer; transition: all .15s;
  text-decoration: none; color: inherit;
}
.post-list-item:hover { border-color: var(--b300); box-shadow: 0 1px 6px rgba(37,99,235,.07); }
.pli-img   { width: 72px; height: 52px; border-radius: var(--r6); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.pli-img-lbl { font-family: var(--fh); font-size: 2.25rem; font-weight: 800; color: rgba(255,255,255,.2); }
.pli-title { font-family: var(--fh); font-size: 1.875rem; font-weight: 800; color: var(--g900); letter-spacing: -.015em; line-height: 1.3; margin-bottom: .25rem; }
.pli-meta  { display: flex; align-items: center; gap: .625rem; flex-wrap: wrap; }
.pli-date  { font-size: 1.7rem; color: var(--g400); }
.pli-read  { font-size: 1.7rem; color: var(--g500); }

.popular-post { display: flex; align-items: flex-start; gap: .625rem; padding: .5rem 0; border-bottom: 1px solid var(--g100); cursor: pointer; }
.popular-post:last-child { border-bottom: none; padding-bottom: 0; }
.pp-num   { font-family: var(--fh); font-size: 2.125rem; font-weight: 800; color: var(--b200); min-width: 20px; line-height: 1; }
.pp-title { font-size: 1.78rem; font-weight: 600; color: var(--g800); line-height: 1.4; font-family: var(--fh); }
.pp-meta  { font-size: 1.7rem; color: var(--g400); margin-top: .2rem; }

/* ── Blog detail ── */
.article-wrap {}
.art-header   { background: #fff; border: 1px solid var(--g200); border-radius: var(--r12); overflow: hidden; margin-bottom: 1rem; }
.art-cover    { height: 240px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--b900) 0%, var(--b600) 100%); }
.art-cover-lbl { font-family: var(--fh); font-size: 5rem; font-weight: 800; color: rgba(255,255,255,.12); letter-spacing: -.06em; z-index: 1; }
.art-header-body { padding: 1.625rem; }
.art-cats   { display: flex; gap: .375rem; flex-wrap: wrap; margin-bottom: .875rem; }
.art-title  { font-family: var(--fh); font-size: clamp(2.25rem, 2.5vw, 2.625rem); font-weight: 800; color: var(--g900); letter-spacing: -.03em; line-height: 1.25; margin-bottom: .875rem; }
.art-byline { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding-top: .875rem; border-top: 1px solid var(--g100); }
.art-author { display: flex; align-items: center; gap: .625rem; }
.art-av     { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; font-weight: 800; color: #fff; flex-shrink: 0; font-family: var(--fh); }
.art-author-name { font-family: var(--fh); font-size: 1.8375rem; font-weight: 700; color: var(--g900); }
.art-author-role { font-size: 1.72rem; color: var(--g400); }
.art-stats  { display: flex; align-items: center; gap: 1rem; }
.art-stat   { font-size: 1.72rem; color: var(--g500); display: flex; align-items: center; gap: .3rem; }

.article-content { background: #fff; border: 1px solid var(--g200); border-radius: var(--r10); padding: 1.625rem; margin-bottom: 1rem; line-height: 1.8; color: var(--g700); }
.article-content h2 { font-family: var(--fh); font-size: 2.125rem; font-weight: 800; color: var(--g900); letter-spacing: -.025em; margin: 1.75rem 0 .75rem; padding-top: 1rem; border-top: 1px solid var(--g100); }
.article-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.article-content h3 { font-family: var(--fh); font-size: 1.9375rem; font-weight: 800; color: var(--g800); letter-spacing: -.02em; margin: 1.25rem 0 .5rem; }
.article-content p  { font-size: 1.875rem; margin-bottom: .875rem; line-height: 1.8; }
.article-content p:last-child { margin-bottom: 0; }
.article-content ul, .article-content ol { padding-left: 1.25rem; margin-bottom: .875rem; }
.article-content li { font-size: 1.875rem; margin-bottom: .35rem; line-height: 1.7; }
.article-content strong { font-weight: 700; color: var(--g900); }
.article-content a { color: var(--b600); font-weight: 500; }
.article-content a:hover { text-decoration: underline; }

.callout { background: var(--b50); border-left: 3px solid var(--b500); border-radius: 0 var(--r6) var(--r6) 0; padding: .875rem 1rem; margin: 1.25rem 0; font-size: 1.8375rem; color: var(--b800); line-height: 1.65; }
.callout strong { color: var(--b900); }
.tool-mention { display: flex; align-items: center; gap: .75rem; background: var(--g50); border: 1px solid var(--g200); border-radius: var(--r8); padding: .875rem; margin: 1rem 0; cursor: pointer; transition: all .15s; }
.tool-mention:hover { border-color: var(--b300); background: var(--b50); }
.tm-logo  { width: 36px; height: 36px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.9rem; color: #fff; flex-shrink: 0; font-family: var(--fh); }
.tm-name  { font-family: var(--fh); font-size: 1.875rem; font-weight: 800; color: var(--g900); margin-bottom: .15rem; }
.tm-desc  { font-size: 1.75rem; color: var(--g500); }
.tm-arrow { margin-left: auto; color: var(--g400); font-size: 1.875rem; }
.code-block { background: var(--g900); border-radius: var(--r8); padding: 1rem 1.125rem; margin: 1rem 0; font-family: 'Courier New', monospace; font-size: 1.775rem; color: #e2e8f0; line-height: 1.7; overflow-x: auto; }
.code-block .cm { color: #94a3b8; }
.code-block .ck { color: #93c5fd; }
.code-block .cv { color: #86efac; }

.art-footer { background: #fff; border: 1px solid var(--g200); border-radius: var(--r10); padding: 1.125rem 1.375rem; margin-bottom: 1rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .875rem; }
.art-tags    { display: flex; align-items: center; gap: .375rem; flex-wrap: wrap; }
.art-tag-lbl { font-size: 1.72rem; font-weight: 700; color: var(--g500); text-transform: uppercase; letter-spacing: .06em; font-family: var(--fh); }
.share-row   { display: flex; align-items: center; gap: .375rem; }
.share-lbl   { font-size: 1.72rem; font-weight: 700; color: var(--g500); text-transform: uppercase; letter-spacing: .06em; font-family: var(--fh); }
.share-btn   { background: var(--g100); border: 1px solid var(--g200); border-radius: var(--r4); padding: .3rem .65rem; font-size: 1.72rem; font-weight: 600; cursor: pointer; color: var(--g700); transition: all .12s; font-family: var(--fh); }
.share-btn:hover { background: var(--b50); border-color: var(--b300); color: var(--b700); }

.author-bio { background: #fff; border: 1px solid var(--g200); border-radius: var(--r10); padding: 1.25rem; margin-bottom: 1rem; display: flex; align-items: flex-start; gap: 1rem; }
.bio-av   { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; font-weight: 800; color: #fff; flex-shrink: 0; font-family: var(--fh); }
.bio-name { font-family: var(--fh); font-size: 1.9375rem; font-weight: 800; letter-spacing: -.015em; margin-bottom: .2rem; }
.bio-role { font-size: 1.75rem; color: var(--b600); font-weight: 600; margin-bottom: .5rem; }
.bio-text { font-size: 1.78rem; color: var(--g500); line-height: 1.65; }

.related-section { margin-bottom: .5rem; }
.rel-title  { font-family: var(--fh); font-size: 1.875rem; font-weight: 800; letter-spacing: -.015em; color: var(--g900); margin-bottom: .875rem; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.rel-card   { background: #fff; border: 1px solid var(--g200); border-radius: var(--r8); overflow: hidden; cursor: pointer; transition: all .15s; text-decoration: none; color: inherit; display: block; }
.rel-card:hover { border-color: var(--b300); box-shadow: 0 1px 8px rgba(37,99,235,.07); }
.rc-img     { height: 80px; display: flex; align-items: center; justify-content: center; }
.rc-img-lbl { font-family: var(--fh); font-size: 2.375rem; font-weight: 800; color: rgba(255,255,255,.18); }
.rc-body    { padding: .75rem; }
.rc-title   { font-family: var(--fh); font-size: 1.8125rem; font-weight: 800; color: var(--g900); letter-spacing: -.015em; line-height: 1.35; margin-bottom: .35rem; }
.rc-meta    { font-size: 1.7rem; color: var(--g400); }

.toc-list   { list-style: none; display: flex; flex-direction: column; gap: 0; }
.toc-item   { display: flex; align-items: flex-start; gap: .5rem; padding: .375rem 0; border-bottom: 1px solid var(--g100); cursor: pointer; transition: all .12s; }
.toc-item:last-child { border-bottom: none; }
.toc-item:hover .toc-text { color: var(--b600); }
.toc-num    { font-family: var(--fh); font-size: 1.72rem; font-weight: 800; color: var(--b300); min-width: 18px; margin-top: .1rem; }
.toc-text   { font-size: 1.775rem; color: var(--g700); line-height: 1.4; font-weight: 500; }
.toc-text.h3 { padding-left: .75rem; font-weight: 400; color: var(--g500); }

/* ── Blog detail layout ── */
.detail-body { max-width: 1160px; margin: 0 auto; padding: 2rem 1.5rem; display: grid; grid-template-columns: 1fr 300px; gap: 1.75rem; }

/* ── Responsive (components) ── */
@media (max-width: 900px) {
  .blog-hero-inner { grid-template-columns: 1fr; gap: 1rem; }
  .blog-search     { width: 100%; max-width: 360px; }
  .blog-body, .detail-body { grid-template-columns: 1fr; }
  .about-2col { grid-template-columns: 1fr; }
  .stats-row  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .featured-post { grid-template-columns: 1fr; }
  .fp-img        { min-height: 160px; }
  .post-grid     { grid-template-columns: 1fr; }
  .related-grid  { grid-template-columns: 1fr; }
  .blog-body, .detail-body { padding: 1.25rem 1rem; }
  .dtop  { grid-template-columns: 56px 1fr; gap: .875rem; }
  .dtop .btn-lg  { display: none; }
  .list-item { grid-template-columns: 56px 1fr; gap: .875rem; }
  .li-right      { display: none; }
  .alt-wrap      { padding: 1rem; }
  .about-body    { padding: 2rem 1rem; }
  .cmp-scr       { padding: 0 1rem 1.25rem; }
  .cmp-add, .rec-box { margin-left: 1rem; margin-right: 1rem; }
  .list-wrap     { padding: 1.5rem 1rem; }
}
@media (max-width: 480px) {
  .hero-stats  { flex-direction: column; gap: .875rem; }
  .stats-row   { grid-template-columns: 1fr 1fr; }
  .team-grid   { grid-template-columns: repeat(2, 1fr); }
  .art-byline  { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════
   Site-wide sizing — Navbar · Buttons · Footer
   ═══════════════════════════════════════════════════════════════ */

/* Navbar dimensions */
.navbar              { height: 62px; }
.logo-mark           { width: 36px; height: 36px; }
.logo-mark svg       { width: 20px; height: 20px; }
.logo-text           { font-size: 1rem; }
.nav-links a         { font-size: 0.75rem; padding: 0 1.25rem; }
.navbar .btn-sm,
.navbar .btn-primary { font-size: 0.75rem; padding: .5rem 1.25rem; }
.navbar .dropdown-menu .dropdown-item { font-size: 0.75rem; padding: .55rem 1.25rem; }
.nav-right input.form-control {
  border-radius: var(--r6);
  border: 1.5px solid var(--g300);
  padding: .5rem 1rem;
  font-size: 0.75rem;
  width: 250px;
  font-family: var(--fb);
}

/* Site-wide buttons */
.btn-sm { font-size: 0.75rem;     padding: .5rem 1.25rem; }
.btn-lg { font-size: 0.75rem; padding: .85rem 1.75rem; }

/* Mobile nav drawer */
#mobileNav ul li a {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--g700);
  padding: .6rem 0;
  display: block;
}
#mobileNav .login-link  { font-weight: 600; color: var(--b600); }
#mobileNav input.form-control {
  border-radius: var(--r6);
  border: 1.5px solid var(--g300);
  padding: .625rem 1rem;
  font-size: 0.75rem;
  width: 100%;
  font-family: var(--fb);
}

/* Footer */
.footer-brand-p     { font-size: 0.75rem; line-height: 1.7; }
.footer-col h4      { font-size: 0.75rem; letter-spacing: .06em; }
.footer-col ul li a { font-size: 0.75rem; }
.footer-btm p       { font-size: 0.75rem; }
.footer-socials     { display: flex; gap: 12px; margin-top: 1rem; align-items: center; }
.footer-socials a   { color: #64748b; font-size: 0.875rem; }

/* ═══════════════════════════════════════════════════════════════
   Homepage — Hero
   ═══════════════════════════════════════════════════════════════ */
.hero h1    { font-size: clamp(2.25rem, 7vw, 4rem); }
.hero-badge { font-size: 0.75rem; padding: 9px 24px; }
.hero-sub   { font-size: 0.8rem; max-width: 600px; }
.hero .search-wrap input.form-control {
  flex: 1;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 18px 14px;
  font-size: 0.75rem;
  background: transparent;
  border-radius: 0;
  min-width: 0;
  width: auto;
}
.hero .search-wrap button { font-size: 0.75rem; padding: 0 32px; }
.hstat strong { font-size: 1.75rem; }
.hstat span   { font-size: 0.75rem; }

/* ═══════════════════════════════════════════════════════════════
   Homepage — Section headings
   ═══════════════════════════════════════════════════════════════ */
.sec-title { font-size: 1.25rem; }
.sec-sub   { font-size: 0.75rem; margin-top: .4rem; }

/* ═══════════════════════════════════════════════════════════════
   Homepage — Category pills
   ═══════════════════════════════════════════════════════════════ */
.cat-name { font-size: 0.75rem; }
.cat-n    { font-size: 0.75rem; }

/* ═══════════════════════════════════════════════════════════════
   Homepage — CTA band
   ═══════════════════════════════════════════════════════════════ */
.cta-eye     { font-size: 0.75rem; }
.cta-band h2 { font-size: 1.5rem; }
.cta-band p  { font-size: 0.75rem; }

/* ═══════════════════════════════════════════════════════════════
   Homepage — Search dropdown
   ═══════════════════════════════════════════════════════════════ */
.search-wrap-outer {
  position: relative;
  max-width: 580px;
  margin: 0 auto 8px;
}
#appendsearchresult {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  z-index: 999;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
}
.search-wrap .searchloading1 {
  display: none;
  align-items: center;
  padding: 0 10px;
  flex-shrink: 0;
}
.search-wrap .searchloading1 img { width: 24px; }

/* ═══════════════════════════════════════════════════════════════
   Homepage — Ad banner strip
   ═══════════════════════════════════════════════════════════════ */
.ad-thumb {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  height: 100px;
  background-size: cover;
  background-position: center;
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   Homepage — VS compare cards
   ═══════════════════════════════════════════════════════════════ */
.vs-tool-card {
  background: #fff;
  border: 1.5px solid var(--g200);
  border-radius: var(--r10);
  padding: 1.375rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  color: inherit;
}
.vs-tool-card:hover {
  border-color: var(--b300);
  box-shadow: 0 2px 12px rgba(37,99,235,.09);
  text-decoration: none;
  color: inherit;
}
.vs-logos    { display: flex; align-items: center; gap: 10px; }
.vs-logo-img {
  width: 48px; height: 48px;
  border-radius: var(--r6);
  border: 1px solid var(--g200);
  background: var(--g50);
  object-fit: contain;
  flex-shrink: 0;
}
.vs-badge    { font-size: 0.75rem; font-weight: 800; color: var(--g500); background: var(--g100); border-radius: var(--r4); padding: 3px 8px; flex-shrink: 0; font-family: var(--fh); }
.vs-name     { font-family: var(--fh); font-size: 0.75rem; font-weight: 800; color: var(--g900); letter-spacing: -.02em; line-height: 1.3; }
.vs-cat      { font-size: 0.75rem; color: var(--g500); margin-top: .15rem; }
.vs-foot     { display: flex; align-items: center; justify-content: space-between; padding-top: .625rem; border-top: 1px solid var(--g100); margin-top: auto; }
.vs-foot .stars { font-size: 0.75rem; }
.vs-foot .badge { font-size: 0.75rem; padding: .3rem .85rem; }

/* ═══════════════════════════════════════════════════════════════
   Homepage — Why Trust Us
   ═══════════════════════════════════════════════════════════════ */
.trust-grid  { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.trust-card  { background: #fff; border: 1.5px solid var(--g200); border-radius: var(--r10); padding: 1.625rem; }
.trust-icon  { font-size: 1.75rem; margin-bottom: .75rem; }
.trust-title { font-family: var(--fh); font-weight: 800; font-size: 0.875rem; color: var(--g900); margin-bottom: .5rem; letter-spacing: -.02em; }
.trust-desc  { font-size: 0.75rem; color: var(--g500); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════
   Homepage — Blog cards
   ═══════════════════════════════════════════════════════════════ */
.blog-grid-home { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.blog-post-card {
  background: #fff;
  border: 1.5px solid var(--g200);
  border-radius: var(--r10);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all .15s;
}
.blog-post-card:hover { border-color: var(--b300); box-shadow: 0 2px 12px rgba(37,99,235,.09); text-decoration: none; color: inherit; }
.blog-post-card .bpc-img { width: 100%; height: 190px; object-fit: cover; display: block; }
.blog-post-card .bpc-img-placeholder {
  height: 190px;
  background: linear-gradient(135deg, var(--b800) 0%, var(--b600) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fh); font-size: 2rem; font-weight: 800;
  color: rgba(255,255,255,.15); letter-spacing: -.05em;
}
.bpc-body    { padding: 1.25rem 1.375rem 1.375rem; }
.bpc-title   { font-family: var(--fh); font-size: 0.75rem; font-weight: 800; color: var(--g900); letter-spacing: -.025em; line-height: 1.35; margin-bottom: .5rem; }
.bpc-excerpt { font-size: 0.75rem; color: var(--g500); line-height: 1.7; margin-bottom: .875rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bpc-footer  { display: flex; align-items: center; justify-content: space-between; padding-top: .75rem; border-top: 1px solid var(--g100); }
.bpc-read    { font-size: 0.75rem; font-weight: 600; color: var(--b600); }
.bpc-footer .badge { font-size: 0.75rem; padding: .3rem .75rem; }
