/* ═══════════════════════════════════════════════
   NICHE LANDING PAGES — shared styles
   Used by /for/roofers, /for/plumbers, etc.
   ═══════════════════════════════════════════════ */

/* ── Niche Nav (same as main nav but with industry tag) ── */
.niche-nav {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.niche-nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}
.niche-nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.niche-nav-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.niche-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}
.niche-nav-links a {
  font-size: 0.9rem;
  color: var(--fg-muted);
  text-decoration: none;
}
.niche-nav-links a:hover { color: var(--fg); }
.niche-nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s;
}
.niche-nav-cta:hover { background: #b45309; }

/* ── Hero ── */
.niche-hero {
  padding: 5rem 0 4rem;
  overflow: hidden;
}
.niche-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.niche-hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.niche-hero-eyebrow svg { width: 16px; height: 16px; }
.niche-hero-headline {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.niche-hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 460px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.niche-hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.niche-hero-trust {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 0.75rem;
}

/* Hero Visual */
.niche-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.niche-phone-mockup {
  position: relative;
  z-index: 2;
  background: #1a1a2e;
  border-radius: 28px;
  padding: 12px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25), 0 4px 12px rgba(0,0,0,0.15);
  width: 220px;
}
.niche-phone-screen {
  background: #16213e;
  border-radius: 20px;
  overflow: hidden;
  padding: 1rem;
}
.niche-blob-1 {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, #b45309 100%);
  filter: blur(60px);
  opacity: 0.35;
  top: 0;
  right: -20px;
  z-index: 1;
}
.niche-blob-2 {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, #f59e0b 0%, var(--accent) 100%);
  filter: blur(50px);
  opacity: 0.5;
  bottom: 20px;
  left: -10px;
  z-index: 1;
}

/* ── Social Card Component ── */
.sc-card {
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 1.4rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sc-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.sc-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  position: relative;
}
.sc-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #b45309 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'DM Sans', sans-serif;
}
.sc-meta { flex: 1; }
.sc-biz-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
}
.sc-time {
  font-size: 0.72rem;
  color: var(--fg-muted);
}
.sc-platform-badge {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1877f2;
  background: rgba(24,119,242,0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}
.sc-body {
  font-size: 0.9rem;
  color: var(--fg);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.sc-footer {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.sc-engagement { display: flex; align-items: center; gap: 0.35rem; }

/* ── Social Cards Grid ── */
.sc-section { padding: 5rem 0; }
.sc-section-inner { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.sc-section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.sc-section-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--fg);
  margin-bottom: 1rem;
}
.sc-section-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 3rem;
}
.sc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── How It Works ── */
.hiw-section { padding: 5rem 0; background: var(--bg-alt); }
.hiw-inner { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.hiw-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.2s;
}
.hiw-card:hover { border-color: var(--accent); }
.hiw-step-num {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
}
.hiw-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--fg);
}
.hiw-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── Trust Stats ── */
.trust-section { padding: 4rem 0; background: var(--fg); color: var(--bg); }
.trust-inner { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}
.trust-stat { text-align: center; }
.trust-value {
  font-family: 'Fraunces', serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.trust-label {
  font-size: 0.9rem;
  color: rgba(250,247,242,0.75);
  line-height: 1.5;
  margin-bottom: 0.3rem;
}
.trust-source {
  font-size: 0.72rem;
  color: rgba(250,247,242,0.4);
  font-style: italic;
}

/* ── Testimonials ── */
.testimonials-section { padding: 5rem 0; }
.testimonials-inner { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0 2rem;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}
.testimonial-quote-mark {
  font-family: 'Fraunces', serif;
  font-size: 5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 0.6;
  margin-bottom: 0.5rem;
  opacity: 0.3;
}
.testimonial-quote {
  font-size: 1rem;
  color: var(--fg);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-attribution {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-meta {}
.testimonial-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
}
.testimonial-business {
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.testimonials-trust-badge {
  text-align: center;
  font-size: 0.875rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.testimonials-trust-badge svg { color: var(--accent); }

/* ── Pricing Recap ── */
.pricing-section { padding: 5rem 0; background: var(--bg-alt); }
.pricing-inner { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.pricing-inner .section-label { text-align: center; display: block; }
.pricing-inner .section-headline { text-align: center; }
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: transform 0.2s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card--featured {
  border: 2px solid var(--accent);
  box-shadow: 0 8px 32px rgba(217,119,6,0.12);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-tier {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 0.5rem;
}
.pricing-amount {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.pricing-amount span { font-size: 1.2rem; font-weight: 600; color: var(--fg-muted); }
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.pricing-features li {
  font-size: 0.875rem;
  color: var(--fg);
  padding-left: 1.5rem;
  position: relative;
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── FAQ ── */
.faq-section { padding: 5rem 0; }
.faq-inner { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  max-width: 760px;
}
.faq-item { padding: 1.75rem 2rem; border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.6rem;
}
.faq-answer { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; }

/* ── Footer CTA ── */
.niche-cta-section { padding: 5rem 0; background: var(--bg-alt); }
.niche-cta-inner { max-width: 1160px; margin: 0 auto; padding: 0 2rem; text-align: center; }
.niche-cta-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--fg);
  margin-bottom: 1rem;
}
.niche-cta-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}
.niche-cta-btns { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── Fade-in animation ── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .niche-hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .sc-grid { grid-template-columns: repeat(2, 1fr); }
  .hiw-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .niche-hero { padding: 3rem 0; }
  .sc-grid { grid-template-columns: 1fr; }
  .hiw-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .niche-nav-links a:not(.niche-nav-cta) { display: none; }
  .niche-hero-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .niche-hero-inner,
  .sc-section-inner,
  .hiw-inner,
  .trust-inner,
  .pricing-inner,
  .faq-inner,
  .niche-cta-inner { padding: 0 1.25rem; }
  .pricing-section, .sc-section, .hiw-section, .faq-section { padding: 4rem 0; }
}

/* ── Footer (niche page version) ── */
.niche-footer {
  padding: 4rem 0 2rem;
  background: var(--fg);
  color: rgba(250,247,242,0.6);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.niche-footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}
.niche-footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--bg);
  display: block;
  margin-bottom: 0.75rem;
}
.niche-footer-brand p { font-size: 0.85rem; line-height: 1.6; max-width: 280px; }
.niche-footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.niche-footer-col-head {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.5);
  margin-bottom: 0.75rem;
}
.niche-footer-col p { font-size: 0.85rem; margin-bottom: 0.4rem; color: rgba(250,247,242,0.6); }
.niche-footer-col a { color: rgba(250,247,242,0.6); text-decoration: none; }
.niche-footer-col a:hover { color: rgba(250,247,242,0.9); }
.niche-footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.75rem;
  color: rgba(250,247,242,0.3);
}
.niche-footer-bottom a { color: rgba(250,247,242,0.4); text-decoration: none; }
.niche-footer-bottom a:hover { color: rgba(250,247,242,0.7); }
@media (max-width: 768px) {
  .niche-footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .niche-footer-links { grid-template-columns: repeat(2, 1fr); }
}