/* ============================================================
   landing.css  —  CallBackAgent landing page
   ============================================================ */

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

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --text: #1a1a1a;
  --muted: #555;
  --border: #e5e5e5;
  --bg: #f9f9f7;
  --bg-white: #fff;
  --bg-tinted: #f3f4f6;
  --bg-blue-light: #eef4ff;
  --radius: 8px;
  --radius-lg: 12px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ── Header ─────────────────────────────────────────────── */

header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.3px;
  text-decoration: none;
}

.logo span { color: var(--blue); }

.btn-small {
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s;
}

.btn-small:hover { background: var(--blue-dark); }

/* ── Buttons ─────────────────────────────────────────────── */

.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 700;
  transition: background 0.15s;
  cursor: pointer;
}

.btn-primary:hover { background: var(--blue-dark); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--blue);
  text-decoration: none;
  padding: 0.85rem 2rem;
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.15s;
}

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

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 1.5rem 3.5rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 1.1rem;
}

.hero h1 em { color: var(--blue); font-style: normal; }

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2rem;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.sub-link {
  font-size: 0.85rem;
  color: #888;
  text-decoration: none;
}

.sub-link:hover { text-decoration: underline; color: var(--blue); }

/* ── Section wrapper ─────────────────────────────────────── */

.section {
  max-width: 820px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.section-alt {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── How It Works ────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
}

.step {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
  flex-shrink: 0;
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.step p { font-size: 0.9rem; color: var(--muted); }

/* ── Sample Lead Summary ─────────────────────────────────── */

.transcript-box {
  background: var(--bg-tinted);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 1.5rem;
  font-style: italic;
  line-height: 1.7;
}

.box-label {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.lead-card {
  background: var(--bg-blue-light);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text);
}

.lead-card table { border-collapse: collapse; width: 100%; }
.lead-card td { padding: 0.28rem 0; vertical-align: top; }
.lead-card td:first-child {
  font-weight: 600;
  width: 150px;
  color: var(--muted);
  white-space: nowrap;
}

/* ── Who It's For ────────────────────────────────────────── */

.trades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.trade-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1rem;
  text-align: center;
}

.trade-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.trade-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.trade-card p {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ── CTA block ───────────────────────────────────────────── */

.cta-block {
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 640px;
  margin: 0 auto;
}

.cta-block h2 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 0.8rem;
}

.cta-block p {
  color: var(--muted);
  margin-bottom: 1.8rem;
  font-size: 1rem;
}

/* ── Contact / Footer ────────────────────────────────────── */

.contact-section {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.contact-section p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.3rem; }
.contact-section a { color: var(--blue); text-decoration: none; }
.contact-section a:hover { text-decoration: underline; }

footer {
  background: #1a1a1a;
  color: #999;
  text-align: center;
  padding: 1.2rem;
  font-size: 0.8rem;
}

footer a { color: #bbb; text-decoration: underline; }

/* ── Lead capture form ───────────────────────────────────── */

.form-intro {
  text-align: center;
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.lead-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--bg-white);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-group textarea { resize: vertical; }

.required { color: var(--blue); }

.form-hint {
  font-weight: 400;
  color: #999;
  font-size: 0.8rem;
}

.form-submit {
  align-self: flex-start;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

.form-alert {
  max-width: 600px;
  margin: 0 auto 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
}

.form-alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.form-alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 600px) {
  .hero { padding: 3rem 1.2rem 2.5rem; }
  .section { padding: 2.5rem 1.2rem; }
  .cta-block { padding: 3rem 1.2rem; }
  .cta-block h2 { font-size: 1.4rem; }
  .lead-card td:first-child { width: 110px; }
  .form-row { grid-template-columns: 1fr; }
  .form-submit { width: 100%; text-align: center; }
}
