/* ============================================================
   ads.expert: Landing-page (service/LP) component styles.
   Shared by all service + landing pages. Loaded AFTER cs.css.
   Extracted from per-page inline <style> (was duplicated 3x).
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    /* --text, --text-sec, --text-muted, --border and --pad-x intentionally
       inherit from cs.css :root so service/insights pages match the rest of
       the site (cs.css loads first). Only lp-specific tokens live here. */
    :root {
      --blue:       #1E63CC;
      --teal:       #42C8D2;
      --gradient:   linear-gradient(135deg, #1E63CC 0%, #42C8D2 100%);
      --bg:         #F4F6FB;
      --white:      #FFFFFF;
      --red:        #D93025;
      --red-bg:     rgba(217,48,37,0.06);
      --max:        1280px;
      --radius:     12px;
    }

    body {
      font-family: 'Poppins', sans-serif;
      font-size: 15px;
      line-height: 1.7;
      color: var(--text);
      background: var(--white);
      -webkit-font-smoothing: antialiased;
    }
    a { color: inherit; text-decoration: none; }
    img { display: block; }

    /* ===== CONTAINER ===== */
    .wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }

    /* ===== HERO ===== */
    .lp-hero {
      background: var(--white);
      border-bottom: 1px solid var(--border);
      padding: 72px 0 64px;
    }
    .lp-hero__grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: start;
    }
    /* Hero badge / pill — canonical style (matches .badge / .cs-tag / .ins-pill). */
    .lp-hero__badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(30, 99, 204, 0.07);
      border: 1px solid rgba(30, 99, 204, 0.16);
      border-radius: 100px;
      padding: 9px 18px;
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.01em;
      color: #1E63CC;
      margin-bottom: 24px;
    }
    .lp-hero__badge img { height: 18px; width: auto; }
    .lp-hero__h1 {
      font-size: clamp(28px, 3.5vw, 46px);
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1.1;
      color: var(--text);
      margin-bottom: 18px;
    }
    .lp-hero__sub {
      font-size: 17px;
      color: var(--text-sec);
      line-height: 1.7;
      max-width: 480px;
      margin-bottom: 28px;
    }
    .lp-hero__bullets {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .lp-hero__bullets li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 13.5px;
      color: var(--text-sec);
      line-height: 1.55;
    }
    .lp-hero__bullets li::before {
      content: '';
      flex-shrink: 0;
      width: 18px;
      height: 18px;
      margin-top: 1px;
      border-radius: 50%;
      background: var(--gradient);
      -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.5 4L6 11.5 2.5 8' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
      mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.5 4L6 11.5 2.5 8' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
    }

    /* stats strip */
    .lp-hero__stats {
      display: flex;
      align-items: center;
      gap: 0;
      margin-top: 32px;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 10px;
      overflow: hidden;
    }
    .lp-hero__stat {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 16px 12px;
      text-align: center;
    }
    .lp-hero__stat-num {
      font-size: 22px;
      font-weight: 800;
      letter-spacing: -0.03em;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1.1;
      margin-bottom: 4px;
    }
    .lp-hero__stat-label {
      font-size: 10.5px;
      font-weight: 500;
      color: var(--text-sec);
      line-height: 1.3;
    }
    .lp-hero__stat-divider {
      width: 1px;
      height: 40px;
      background: var(--border);
      flex-shrink: 0;
    }
    /* trust line */
    .lp-hero__trust {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 16px;
      font-size: 12px;
      color: var(--text-muted);
    }
    .lp-hero__trust-stars {
      color: #F5A623;
      font-size: 15px;
      letter-spacing: 1px;
    }

    /* form card */
    .form-card__cta-label { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
    .form-card__arrow { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-size: 18px; line-height: 1; }
    .lp-hero__form-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 28px 26px;
      box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    }
    /* HubSpot form overrides — tighter sizing */
    .lp-hero__form-card .hs-form { display: flex; flex-direction: column; }
    .lp-hero__form-card .hs-form > .hs_firstname,
    .lp-hero__form-card .hs-form > .hs_lastname { width: calc(50% - 6px) !important; display: inline-block; }
    .lp-hero__form-card .hs-form > .hs_firstname { margin-right: 12px; }
    .lp-hero__form-card .hs-form-field { margin-bottom: 12px; }
    .lp-hero__form-card label { font-size: 11.5px; font-weight: 600; color: var(--text-sec); margin-bottom: 4px; display: block; }
    .lp-hero__form-card input,
    .lp-hero__form-card select,
    .lp-hero__form-card textarea {
      width: 100%;
      font-family: 'Poppins', sans-serif;
      font-size: 13px;
      padding: 9px 12px;
      border: 1px solid var(--border);
      border-radius: 7px;
      background: var(--bg);
      color: var(--text);
      outline: none;
      transition: border-color 0.15s;
    }
    .lp-hero__form-card input:focus,
    .lp-hero__form-card select:focus,
    .lp-hero__form-card textarea:focus { border-color: var(--blue); background: var(--white); }
    .lp-hero__form-card .hs-button {
      width: 100%;
      background: var(--gradient);
      color: var(--white);
      font-family: 'Poppins', sans-serif;
      font-size: 14px;
      font-weight: 600;
      padding: 12px;
      border: none;
      border-radius: 100px;
      cursor: pointer;
      margin-top: 4px;
      transition: opacity 0.15s;
    }
    .lp-hero__form-card .hs-button:hover { opacity: 0.88; }
    .lp-hero__form-card .hs-error-msgs { margin-top: 4px; }
    .lp-hero__form-card .hs-error-msgs label { color: var(--red); font-size: 11px; }

    @media (max-width: 860px) {
      .lp-hero__grid { grid-template-columns: 1fr; gap: 36px; }
      .lp-hero__form-wrap { max-width: 480px; }
    }

    /* ===== SECTION BASE ===== */
    .section { padding: 80px 0; border-bottom: 1px solid var(--border); }
    .section--alt  { background: var(--bg); }
    .section--blue { background: #EEF3FB; }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--blue);
      margin-bottom: 12px;
    }
    .eyebrow::before {
      content: '';
      width: 7px; height: 7px;
      border-radius: 50%;
      background: var(--gradient);
      flex-shrink: 0;
    }
    .section-h {
      font-size: clamp(22px, 3vw, 34px);
      font-weight: 700;
      letter-spacing: -0.025em;
      line-height: 1.18;
      color: var(--text);
      margin-bottom: 36px;
    }
    .section-h em { font-style: normal; color: var(--text); }

    /* ===== APPROACH TABLE ===== */
    .approach-table {
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
    }
    .at-row {
      display: grid;
      grid-template-columns: 48px 230px 1fr;
      border-bottom: 1px solid var(--border);
      transition: background 0.15s;
    }
    .at-row:last-child { border-bottom: none; }
    .at-row:hover { background: #EEF3FB; }
    .at-num-cell {
      background: var(--bg);
      border-right: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
    }
    .at-num { font-size: 10px; font-weight: 700; color: var(--text-muted); letter-spacing: 0.08em; }
    .at-label-cell {
      background: var(--white);
      border-right: 1px solid var(--border);
      padding: 20px 18px;
      display: flex; flex-direction: column; justify-content: center;
    }
    .at-tag { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
    .at-title { font-size: 12px; font-weight: 600; color: var(--text); line-height: 1.35; }
    .at-content-cell { background: var(--white); padding: 20px 26px; display: flex; align-items: center; }
    .at-desc { font-size: 13px; color: var(--text-sec); line-height: 1.68; }

    /* ===== BEFORE / AFTER ===== */
    .ba-intro { font-size: 14px; color: var(--text-sec); line-height: 1.75; margin-bottom: 32px; }
    .ba-table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
    .ba-header-row { display: grid; grid-template-columns: 1fr 52px 1fr; }
    .ba-head-before { background: var(--red-bg); border-right: 1px solid rgba(217,48,37,0.15); padding: 13px 22px; }
    .ba-head-after  { background: var(--gradient); padding: 13px 22px; }
    .ba-head-mid    { background: var(--bg); }
    .ba-head-label  { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
    .ba-head-label.before { color: var(--red); }
    .ba-head-label.after  { color: #fff; }
    .ba-data-row { display: grid; grid-template-columns: 1fr 52px 1fr; border-top: 1px solid var(--border); }
    .ba-cell { padding: 18px 22px; display: flex; align-items: flex-start; gap: 10px; }
    .ba-cell.bc { background: var(--red-bg); }
    .ba-cell.ac { background: linear-gradient(135deg, rgba(30,99,204,0.08) 0%, rgba(66,200,210,0.12) 100%); }
    .ba-mid-cell { background: var(--bg); border-left: 1px solid var(--border); border-right: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
    .mid-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border); }
    .ba-icon { font-size: 12px; flex-shrink: 0; margin-top: 3px; }
    .ba-icon.bi { color: var(--red); }
    .ba-icon.ai { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 700; }
    .ba-title { font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
    .ba-desc  { font-size: 12px; color: var(--text-sec); line-height: 1.55; }

    /* ===== WHO IT'S FOR ===== */
    .for-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
    .for-yes {
      background: rgba(30,99,204,0.05);
      border: 1px solid rgba(30,99,204,0.18);
      border-radius: var(--radius);
      padding: 28px 24px;
    }
    .for-no {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 28px 24px;
    }
    .for-header {
      font-size: 10px; font-weight: 700;
      letter-spacing: 0.12em; text-transform: uppercase;
      margin-bottom: 16px; padding-bottom: 12px;
      border-bottom: 1px solid var(--border);
    }
    .for-header.yes { color: var(--blue); }
    .for-header.no  { color: var(--text-muted); }
    .for-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .for-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-sec); line-height: 1.5; }
    .fy { color: var(--blue); font-size: 14px; margin-top: -1px; flex-shrink: 0; font-weight: 700; }
    .fn { color: var(--text-muted); font-size: 14px; margin-top: -1px; flex-shrink: 0; }

    /* ===== FAQ ===== */
    .faq-list { margin-top: 40px; }
    .faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
    .faq-item:first-child { border-top: 1px solid var(--border); }
    .faq-q { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
    .faq-a { font-size: 14px; color: var(--text-sec); line-height: 1.75; }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 720px) {
      :root { --pad-x: 20px; }
      .section { padding: 60px 0; }
      .at-row { grid-template-columns: 48px 1fr; }
      .at-content-cell { grid-column: 1 / 3; background: var(--bg); }
      .ba-header-row, .ba-data-row { grid-template-columns: 1fr; }
      .ba-head-mid, .ba-mid-cell { display: none; }
      .for-grid { grid-template-columns: 1fr; }
    }
