/* ============================
   FittingBoss Landing — style.css
   Clean, dark, mobile-first
   ============================ */

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

:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --bg-section: #0f0f0f;
  --text: #fafafa;
  --text-muted: #888;
  --accent: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --border: #222;
  --radius: 12px;
  --max-w: 960px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

/* ====== HERO ====== */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 40px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
    var(--bg);
}

.hero-content {
  max-width: var(--max-w);
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--accent-glow);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* Widget container — center the auto-injected button */
#pd-widget {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

/* Make the injected button larger in hero context */
#pd-widget .pdm-trigger-btn {
  font-size: 17px;
  padding: 14px 32px;
  border-radius: 10px;
}

/* ====== STEPS ====== */
.steps {
  padding: 80px 24px;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps h2 {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.step {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.step:hover {
  border-color: #333;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-glow);
  color: var(--accent);
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ====== INFO ====== */
.info {
  padding: 80px 24px;
  display: flex;
  justify-content: center;
}

.info-content {
  max-width: 640px;
  text-align: center;
}

.info h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.info p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ====== TRUST SIGNALS ====== */
.trust {
  padding: 60px 24px;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.trust-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ====== FOOTER ====== */
footer {
  padding: 40px 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

footer strong {
  color: var(--text);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 640px) {
  .hero {
    min-height: 70vh;
    padding: 48px 20px 32px;
  }

  .steps,
  .info,
  .trust {
    padding: 56px 20px;
  }

  .steps-grid {
    gap: 20px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 380px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}
