/* ================================================================
   WEBGARH GTM ASSISTANT — SET 2 STYLES
   About, Knowledge Base, Legal, Landing Pages, Lead Magnets
   ================================================================ */

/* ================================================================
   ABOUT — Stats Grid
   ================================================================ */
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.about-stat {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}
.about-stat__num {
  font-family: 'DM Serif Display', serif;
  font-size: 40px;
  color: var(--ink);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.about-stat__label {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

/* ================================================================
   ABOUT — Product Cards
   ================================================================ */
.about-product-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.about-product-card:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.about-product-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 8px;
}
.about-product-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ================================================================
   KNOWLEDGE BASE — Search
   ================================================================ */
.kb-search {
  position: relative;
}
.kb-search__input {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--text);
  width: 100%;
  padding: 16px 20px 16px 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.kb-search__input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 139, 1, 0.08);
}
.kb-search__input::placeholder { color: var(--text-faint); }
.kb-search__icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
  color: var(--text-mid);
  pointer-events: none;
}
.kb-search__icon svg {
  width: 18px;
  height: 18px;
}
.kb-search-results {
  margin-top: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 36px rgba(0,0,0,0.08);
  overflow: hidden;
}
.kb-search-result {
  display: block;
  padding: 14px 18px;
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  color: inherit;
  transition: background 0.2s;
}
.kb-search-result:last-child { border-bottom: none; }
.kb-search-result:hover { background: var(--warm); }
.kb-search-result__category {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}
.kb-search-result strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 3px;
}
.kb-search-result span:last-child {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-mid);
}
.kb-search-empty {
  padding: 16px 18px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ================================================================
   KNOWLEDGE BASE — Category Cards
   ================================================================ */
.kb-category-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  position: relative;
}
.kb-category-card:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transform: translateY(-2px);
}
.kb-category-card__icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}
.kb-category-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.kb-category-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
  flex: 1;
}
.kb-category-card__count {
  font-size: 12px;
  color: var(--text-faint);
  font-weight: 500;
  margin-top: 14px;
}
.kb-category-card--cta {
  border-style: dashed;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.kb-category-card--cta:hover {
  border-color: var(--orange);
  border-style: solid;
}

/* ================================================================
   KB ARTICLE — Help Box
   ================================================================ */
.kb-help-box {
  margin-top: 48px;
  padding: 24px;
  background: var(--orange-soft);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 139, 1, 0.1);
}

/* ================================================================
   KB ARTICLE — Related Links
   ================================================================ */
.kb-related-link {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  transition: color 0.2s;
}
.kb-related-link:last-child { border-bottom: none; }
.kb-related-link:hover { color: var(--orange); }

/* ================================================================
   KB ARTICLE — Wide Screenshots
   ================================================================ */
.kb-article-figure {
  width: min(1120px, calc(100vw - 48px));
  margin: 36px 0 44px 50%;
  transform: translateX(-50%);
}
.kb-article-figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: var(--radius-lg);
}
.kb-article-figure figcaption {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .kb-article-figure {
    width: calc(100vw - 24px);
    margin-top: 28px;
    margin-bottom: 36px;
  }
}

/* ================================================================
   LEGAL — Content Styles
   ================================================================ */
.legal-content h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 24px;
  color: var(--ink);
  margin: 48px 0 16px;
  line-height: 1.3;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 8px;
}
.legal-content p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 16px;
}
.legal-content ul, .legal-content ol {
  margin: 12px 0 20px 24px;
}
.legal-content li {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 6px;
}
.legal-content a {
  color: var(--orange);
  text-underline-offset: 3px;
}

/* ================================================================
   LANDING PAGE — Check Items
   ================================================================ */
.lp-check {
  font-size: 16px;
  color: var(--text);
  padding: 8px 0 8px 28px;
  position: relative;
  line-height: 1.6;
}
.lp-check::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* ================================================================
   LEAD MAGNET — Form Card
   ================================================================ */
.lm-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: sticky;
  top: 100px;
}

/* ================================================================
   LEAD MAGNET — Checklist Items
   ================================================================ */
.lm-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lm-list__item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
}
.lm-list__item:last-child { border-bottom: none; }
.lm-list__num {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: var(--orange);
  flex-shrink: 0;
  width: 28px;
  line-height: 1.4;
}
.lm-list__item strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
}
.lm-list__item p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
}
