/* tools/tools.css — shared styles for SEO landing pages */
:root {
  --bg: #0c0f1a;
  --bg2: #131826;
  --bg3: #1a2035;
  --border: #1e2640;
  --text: #e0e6ff;
  --muted: #8898cc;
  --accent: #4f6ef7;
  --accent2: #88a4ff;
  --green: #34d399;
  --yellow: #fbbf24;
  --red: #f87171;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ─────────────────────────────────────────────── */
.lp-main { max-width: 1100px; margin: 0 auto; padding: 0 24px 100px; }

/* ── Hero ────────────────────────────────────────────────── */
.lp-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent); background: rgba(79,110,247,.1); border: 1px solid rgba(79,110,247,.25);
  border-radius: 20px; padding: 4px 12px; margin-bottom: 20px;
}
.lp-h1 {
  font-size: clamp(32px, 5vw, 52px); font-weight: 900;
  letter-spacing: -1.5px; line-height: 1.08; margin-bottom: 20px;
}
.lp-h1 .gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-lead {
  font-size: 18px; color: var(--muted); max-width: 640px;
  line-height: 1.7; margin-bottom: 32px;
}
.lp-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.lp-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; text-decoration: none;
  border-radius: 10px; padding: 13px 24px; font-size: 15px; font-weight: 700;
  transition: background .15s, transform .1s;
}
.lp-btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }
.lp-btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg2); color: var(--text); text-decoration: none;
  border: 1px solid var(--border); border-radius: 10px; padding: 12px 20px;
  font-size: 14px; font-weight: 600; transition: border-color .15s;
}
.lp-btn-secondary:hover { border-color: var(--accent); }

/* ── Sections ─────────────────────────────────────────────── */
.lp-section { margin-bottom: 72px; }
.lp-section-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent); margin-bottom: 12px;
}
.lp-h2 {
  font-size: clamp(22px, 3vw, 30px); font-weight: 800;
  letter-spacing: -.5px; margin-bottom: 16px;
}
.lp-body { font-size: 16px; color: var(--muted); line-height: 1.75; max-width: 720px; }
.lp-body + .lp-body { margin-top: 14px; }

/* ── Steps ────────────────────────────────────────────────── */
.lp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 32px; }
.lp-step {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 14px;
  padding: 24px; position: relative;
}
.lp-step-num {
  width: 36px; height: 36px; background: rgba(79,110,247,.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900; color: var(--accent); margin-bottom: 16px;
}
.lp-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.lp-step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── Feature grid ─────────────────────────────────────────── */
.lp-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 32px; }
.lp-feature {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 20px;
}
.lp-feature-icon { font-size: 22px; margin-bottom: 12px; }
.lp-feature h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.lp-feature p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── Use cases ─────────────────────────────────────────────── */
.lp-usecases { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.lp-usecase {
  background: var(--bg3); border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 16px; font-size: 14px; color: var(--text);
}

/* ── FAQ ──────────────────────────────────────────────────── */
.lp-faqs { margin-top: 32px; }
.lp-faq {
  border-bottom: 1px solid var(--border); padding: 24px 0;
}
.lp-faq:last-child { border-bottom: none; }
.lp-faq h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.lp-faq p { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* ── Related tools bar ─────────────────────────────────────── */
.lp-related {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px 32px; margin-bottom: 72px;
}
.lp-related h2 { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.lp-related-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-related-link {
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 14px; text-decoration: none; color: var(--text); font-size: 13px; font-weight: 600;
  transition: border-color .15s;
}
.lp-related-link:hover { border-color: var(--accent); color: var(--accent); }

/* ── CTA Banner ────────────────────────────────────────────── */
.lp-cta-banner {
  background: linear-gradient(135deg, rgba(79,110,247,.12) 0%, rgba(136,164,255,.08) 100%);
  border: 1px solid rgba(79,110,247,.25); border-radius: 20px;
  padding: 52px 40px; text-align: center; margin-bottom: 72px;
}
.lp-cta-banner h2 { font-size: 28px; font-weight: 900; margin-bottom: 12px; }
.lp-cta-banner p { font-size: 16px; color: var(--muted); margin-bottom: 28px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── Footer ────────────────────────────────────────────────── */
.lp-footer {
  border-top: 1px solid var(--border); padding: 40px 24px;
  text-align: center; color: var(--muted); font-size: 13px;
}
.lp-footer a { color: var(--muted); text-decoration: none; }
.lp-footer a:hover { color: var(--text); }
.lp-footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; flex-wrap: wrap; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  #cr-nav a[href]:not(:first-child):not([href="/"]) span:not(.cr-nav-badge) { display: none; }
}
@media (max-width: 640px) {
  .lp-hero { padding: 52px 0 40px; }
  .lp-cta-banner { padding: 36px 24px; }
  .lp-related { padding: 20px; }
}
