/*
Theme Name: SaaSSkul Lead Generation
Theme URI: https://saasskul.xyz
Author: SaaSSkul
Author URI: https://saasskul.xyz
Description: A high-performance lead generation theme for local businesses. Features AI-powered strategy generator, niche industry pages, and lead scraper.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: saasskul
Tags: business, marketing, lead-generation, custom-header, custom-menu
*/

/* =============================================
   CSS CUSTOM PROPERTIES (Brand Colors)
   ============================================= */
:root {
  --navy: #0a192f;
  --navy-blue: #112240;
  --accent: #ff6b00;
  --accent-hover: #e66000;
  --text-light: #ccd6f6;
  --text-dim: #8892b0;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
}

/* =============================================
   GLOBAL RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--slate-50);
  color: var(--slate-900);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-hover); }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* =============================================
   HEADER / NAVIGATION
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.logo-icon {
  background: var(--accent);
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon svg { width: 20px; height: 20px; color: white; }

/* Desktop Nav */
#primary-navigation { display: none; }
@media (min-width: 768px) {
  #primary-navigation { display: flex; align-items: center; gap: 2rem; list-style: none; }
}
#primary-navigation a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: color 0.2s;
}
#primary-navigation a:hover,
#primary-navigation .current-menu-item a { color: var(--accent); }

.header-cta {
  display: none;
}
@media (min-width: 768px) {
  .header-cta {
    display: block;
    background: var(--navy);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s;
  }
  .header-cta:hover { background: var(--navy-blue); }
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--slate-600);
  padding: 0.25rem;
}
@media (min-width: 768px) { .mobile-menu-toggle { display: none; } }

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: white;
  border-top: 1px solid var(--slate-100);
  padding: 0.5rem;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: 6px;
  font-weight: 500;
  color: var(--slate-600);
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover { background: var(--slate-50); color: var(--accent); }
.mobile-nav .mobile-cta {
  display: block;
  margin-top: 1rem;
  text-align: center;
  background: var(--navy);
  color: white;
  padding: 0.75rem;
  border-radius: 8px;
  font-weight: 500;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  background: var(--navy);
  padding: 5rem 0 8rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero-bg-glow {
  position: absolute;
  top: 0; right: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at top right, rgba(255,107,0,0.1), transparent);
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-title .accent { color: var(--accent); }
.hero-subtitle {
  font-size: 1.125rem;
  color: var(--slate-300);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--accent);
  color: white;
  border-radius: 9999px;
  font-weight: 700;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 10px 25px rgba(255,107,0,0.2);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline {
  display: inline-block;
  padding: 1rem 2rem;
  background: transparent;
  color: white;
  border: 1px solid var(--slate-700);
  border-radius: 9999px;
  font-weight: 700;
  transition: background 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.05); }

/* =============================================
   AI STRATEGY DEMO SECTION
   ============================================= */
.demo-section {
  position: relative;
  z-index: 10;
  margin-top: -6rem;
  padding: 0 1rem;
}

.demo-card {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
  overflow: hidden;
  border: 1px solid var(--slate-100);
}

.demo-inner { padding: 2.5rem; }
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: #fff3e0;
  color: var(--accent);
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.demo-title { font-size: 1.875rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0.5rem; }
.demo-subtitle { color: var(--slate-600); max-width: 500px; margin: 0 auto 2.5rem; }
.demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) { .demo-grid { grid-template-columns: 1fr 1fr; } }

.demo-form .form-group { margin-bottom: 1.5rem; }
.demo-form label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--slate-700); margin-bottom: 0.25rem; }
.demo-form select,
.demo-form input[type="text"] {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 0.5rem;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.demo-form select:focus,
.demo-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,107,0,0.1);
}
.btn-generate {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s;
  box-shadow: 0 8px 20px rgba(255,107,0,0.2);
  font-family: inherit;
}
.btn-generate:hover { background: var(--accent-hover); }
.btn-generate:disabled { background: var(--slate-300); cursor: not-allowed; }

.demo-results {
  background: var(--navy);
  border-radius: 0.75rem;
  padding: 1.5rem;
  color: var(--text-light);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.demo-results-placeholder {
  text-align: center;
  color: var(--slate-500);
}
.demo-results-placeholder svg { margin: 0 auto 0.75rem; opacity: 0.3; }
.result-item { border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 1rem; margin-bottom: 1rem; }
.result-item:last-child { border-bottom: none; margin-bottom: 0; }
.result-label { font-size: 0.7rem; font-family: monospace; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; }
.result-headline { font-size: 1.125rem; font-weight: 700; color: white; margin-top: 0.25rem; }
.result-text { font-size: 0.875rem; margin-top: 0.25rem; color: var(--slate-300); }
.result-offer { display: flex; align-items: flex-start; gap: 0.5rem; margin-top: 0.25rem; }
.result-offer svg { color: #4ade80; flex-shrink: 0; margin-top: 2px; }
.spinner { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.loading-state { text-align: center; }
.loading-state svg { margin: 0 auto 1rem; color: var(--accent); }
.loading-text { color: #fdba74; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.5; } }

/* =============================================
   BENEFITS GRID
   ============================================= */
.benefits-section { padding: 5rem 0; }
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}
@media (min-width: 768px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit-card {
  padding: 1.5rem;
  background: white;
  border-radius: 1rem;
  border: 1px solid var(--slate-100);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}
.benefit-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.benefit-icon {
  width: 3rem; height: 3rem;
  background: #fff3e0;
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  color: var(--accent);
}
.benefit-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.benefit-card p { font-size: 0.9rem; color: var(--slate-600); }

/* =============================================
   NICHES SECTION
   ============================================= */
.niches-section { padding: 0 0 5rem; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}
.section-header h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 0.5rem; }
.section-header p { color: var(--slate-600); }
.view-all-link { color: var(--accent); font-weight: 600; font-size: 0.9rem; white-space: nowrap; transition: color 0.2s; }
.view-all-link:hover { color: var(--accent-hover); }

/* Niche Cards Grid */
.niche-grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.niche-grid-all { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .niche-grid-4 { grid-template-columns: repeat(2,1fr); } .niche-grid-all { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .niche-grid-4 { grid-template-columns: repeat(4,1fr); } .niche-grid-all { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1280px) { .niche-grid-all { grid-template-columns: repeat(4,1fr); } }

.niche-card {
  background: white;
  border-radius: 0.75rem;
  border: 1px solid var(--slate-200);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, border-color 0.3s;
  text-decoration: none;
  color: inherit;
}
.niche-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.12); border-color: var(--accent); }
.niche-card-img { height: 10rem; overflow: hidden; position: relative; }
.niche-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.niche-card:hover .niche-card-img img { transform: scale(1.1); }
.niche-card-img-overlay { position: absolute; inset: 0; background: rgba(10,25,47,0.1); z-index: 1; transition: background 0.3s; }
.niche-card:hover .niche-card-img-overlay { background: rgba(10,25,47,0); }
.niche-card-icon {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  padding: 0.5rem;
  border-radius: 0.5rem;
  z-index: 2;
  color: var(--accent);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.niche-card-icon svg { width: 20px; height: 20px; }
.niche-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.niche-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; transition: color 0.2s; }
.niche-card:hover h3 { color: var(--accent); }
.niche-card p { font-size: 0.875rem; color: var(--slate-600); flex: 1; margin-bottom: 1rem; }
.niche-card-footer { padding-top: 1rem; border-top: 1px solid var(--slate-100); display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; font-weight: 500; color: var(--slate-500); margin-top: auto; }
.niche-card-footer .cost-label span { color: var(--slate-900); }
.niche-card-footer .details-link { color: var(--accent); }

/* =============================================
   SERVICES PAGE HERO
   ============================================= */
.page-hero {
  background: var(--slate-50);
  padding: 4rem 0;
  text-align: center;
  border-bottom: 1px solid var(--slate-200);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; }
.page-hero p { font-size: 1.1rem; color: var(--slate-600); max-width: 640px; margin: 0 auto; }

/* =============================================
   NICHE DETAIL PAGE
   ============================================= */
.niche-detail-hero {
  background: var(--navy);
  color: white;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.niche-detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 0h60v60H0z' fill='%230a192f'/%3E%3Cpath d='M0 30h60M30 0v60' stroke='%23112240' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.4;
}
.niche-hero-inner { display: flex; align-items: center; gap: 2rem; position: relative; z-index: 1; flex-wrap: wrap; }
.niche-hero-icon-wrap {
  background: rgba(255,255,255,0.08);
  padding: 1.25rem;
  border-radius: 1.25rem;
  backdrop-filter: blur(4px);
  flex-shrink: 0;
}
.niche-hero-icon-wrap svg { width: 64px; height: 64px; color: var(--accent); }
.niche-detail-hero h1 { font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1rem; }
.niche-detail-hero p { font-size: 1.1rem; color: var(--slate-300); max-width: 640px; }

.niche-content { padding: 3rem 0 5rem; }
.niche-content-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .niche-content-grid { grid-template-columns: 1fr 340px; } }

.niche-section { margin-bottom: 3rem; }
.niche-section h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.niche-section p { color: var(--slate-600); font-size: 1.05rem; line-height: 1.8; }

.features-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .features-grid { grid-template-columns: 1fr 1fr; } }

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: white;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--slate-100);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.feature-item svg { color: #22c55e; flex-shrink: 0; margin-top: 2px; }
.feature-item span { font-weight: 500; color: var(--slate-700); }

.impact-section { background: #fff3e0; border-radius: 1.25rem; padding: 2rem; border: 1px solid #fed7aa; }
.impact-section h3 { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 1.5rem; }
.impact-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: center; }
.impact-stat .number { font-size: 2rem; font-weight: 700; color: var(--accent); }
.impact-stat .label { font-size: 0.85rem; color: var(--slate-700); }

/* Sidebar */
.niche-sidebar-card {
  background: white;
  border-radius: 1.25rem;
  border: 1px solid var(--slate-100);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  padding: 1.5rem;
  position: sticky;
  top: 5.5rem;
}
.niche-sidebar-card h3 { font-size: 1.125rem; font-weight: 700; padding-bottom: 1rem; border-bottom: 1px solid var(--slate-100); margin-bottom: 1.5rem; }
.stat-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.stat-icon { width: 2.5rem; height: 2.5rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-icon.green { background: #dcfce7; color: #16a34a; }
.stat-icon.blue { background: #dbeafe; color: #2563eb; }
.stat-icon.orange { background: #fff3e0; color: var(--accent); }
.stat-icon svg { width: 20px; height: 20px; }
.stat-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate-500); margin-bottom: 0.125rem; }
.stat-value { font-size: 1.25rem; font-weight: 700; color: var(--slate-900); }
.sidebar-cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--accent);
  color: white;
  font-weight: 700;
  padding: 0.875rem;
  border-radius: 0.5rem;
  transition: background 0.2s;
  box-shadow: 0 4px 14px rgba(255,107,0,0.25);
  margin-top: 2rem;
}
.sidebar-cta:hover { background: var(--accent-hover); }
.sidebar-note { font-size: 0.75rem; text-align: center; color: var(--slate-400); margin-top: 0.75rem; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-page { background: white; padding: 5rem 0; }
.about-title { font-size: clamp(1.875rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 1.5rem; text-align: center; }
.about-lead { font-size: 1.1rem; color: var(--slate-600); max-width: 640px; margin: 0 auto 4rem; text-align: center; line-height: 1.8; }
.about-lead strong { font-weight: 600; color: var(--slate-900); }
.about-points { display: flex; flex-direction: column; gap: 3rem; max-width: 720px; margin: 0 auto; }
.about-point { display: flex; gap: 1.5rem; align-items: flex-start; }
.about-point-icon {
  flex-shrink: 0;
  background: #fff3e0;
  padding: 0.75rem;
  border-radius: 0.75rem;
}
.about-point-icon svg { width: 2rem; height: 2rem; color: var(--accent); }
.about-point h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.about-point p { color: var(--slate-600); line-height: 1.8; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-page { background: var(--slate-50); min-height: 80vh; padding: 4rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-info h1 { font-size: clamp(1.875rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 1.5rem; }
.contact-info p { font-size: 1.05rem; color: var(--slate-600); margin-bottom: 2.5rem; line-height: 1.8; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-detail { display: flex; align-items: center; gap: 1rem; }
.contact-detail svg { color: var(--accent); width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.contact-detail span { color: var(--slate-700); }

.contact-form-card { background: white; border-radius: 1.25rem; box-shadow: 0 20px 50px rgba(0,0,0,0.1); padding: 2.5rem; }
.contact-form-card h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--slate-700); margin-bottom: 0.35rem; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 0.5rem;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  color: var(--slate-900);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,107,0,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 8px 20px rgba(255,107,0,0.2);
  font-family: inherit;
}
.btn-submit:hover { background: var(--accent-hover); }
.form-success {
  text-align: center;
  padding: 3rem 0;
}
.success-icon {
  width: 4rem; height: 4rem;
  background: #dcfce7;
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  color: #16a34a;
  margin: 0 auto 1.5rem;
}
.success-icon svg { width: 2rem; height: 2rem; }
.form-success h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.form-success p { color: var(--slate-600); }

/* =============================================
   SCRAPER PAGE
   ============================================= */
.scraper-page { padding: 3rem 0; max-width: 1024px; margin: 0 auto; }
.scraper-title { font-size: clamp(1.875rem, 4vw, 2.5rem); font-weight: 700; text-align: center; margin-bottom: 1rem; }
.scraper-subtitle { font-size: 1.05rem; color: var(--slate-600); max-width: 640px; margin: 0 auto 3rem; text-align: center; line-height: 1.8; }

.scraper-card {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  border: 1px solid var(--slate-100);
  overflow: hidden;
  margin-bottom: 3rem;
}
.scraper-form-area {
  padding: 1.5rem 2rem;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-100);
}
.scraper-input-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.scraper-url-wrap { position: relative; flex: 1; min-width: 200px; }
.scraper-url-wrap svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--slate-400); }
.scraper-url-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.scraper-url-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,107,0,0.1); }
.btn-scrape {
  padding: 1rem 2rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s;
  box-shadow: 0 4px 14px rgba(255,107,0,0.2);
  font-family: inherit;
  white-space: nowrap;
}
.btn-scrape:hover { background: var(--accent-hover); }
.btn-scrape:disabled { background: var(--slate-300); cursor: not-allowed; }
.scraper-note { font-size: 0.75rem; color: var(--slate-400); margin-top: 0.75rem; }

.scraper-results-area { padding: 2rem; min-height: 400px; }
.scraper-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 300px; color: var(--slate-400); }
.scraper-placeholder svg { margin-bottom: 1rem; opacity: 0.2; }
.scraper-placeholder p { font-size: 1.05rem; }
.scraper-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 300px; }
.scraper-loading svg { color: var(--accent); margin-bottom: 1rem; }
.scraper-loading p { color: var(--slate-600); animation: pulse 2s infinite; }
.scraper-error { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; background: #fef2f2; color: #b91c1c; border-radius: 0.5rem; border: 1px solid #fecaca; }

.scraper-results-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .scraper-results-grid { grid-template-columns: 300px 1fr; } }

.business-profile-card {
  background: #fff3e0;
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid #fed7aa;
}
.bp-header { display: flex; align-items: center; gap: 0.5rem; color: var(--accent); font-weight: 700; margin-bottom: 1rem; }
.bp-header svg { width: 20px; height: 20px; }
.bp-name { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.25rem; }
.bp-industry { color: var(--accent); font-weight: 500; margin-bottom: 1.5rem; }
.bp-services-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-500); margin-bottom: 0.75rem; }
.bp-services { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bp-service-tag { padding: 0.25rem 0.75rem; background: white; border: 1px solid #fed7aa; color: var(--accent); font-size: 0.8rem; border-radius: 9999px; }

.gaps-card {
  background: var(--navy);
  border-radius: 1.25rem;
  padding: 1.5rem;
  color: var(--slate-300);
  margin-top: 1rem;
}
.gaps-header { display: flex; align-items: center; gap: 0.5rem; color: #fbbf24; font-weight: 700; margin-bottom: 1rem; }
.gaps-header svg { width: 20px; height: 20px; }
.gap-item { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; margin-bottom: 0.75rem; }
.gap-item svg { color: #fbbf24; flex-shrink: 0; margin-top: 2px; }

.outreach-card {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 2rem;
  height: 100%;
}
.outreach-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.outreach-title { display: flex; align-items: center; gap: 0.5rem; color: var(--accent); font-weight: 700; }
.outreach-title svg { width: 20px; height: 20px; }
.copy-btn { font-size: 0.8rem; font-weight: 600; color: var(--slate-500); cursor: pointer; background: none; border: none; font-family: inherit; transition: color 0.2s; }
.copy-btn:hover { color: var(--accent); }
.outreach-message {
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: 0.75rem;
  padding: 1.5rem;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--slate-700);
  white-space: pre-wrap;
}
.outreach-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.outreach-meta-item { padding: 1rem; background: var(--slate-50); border: 1px solid var(--slate-100); border-radius: 0.75rem; }
.outreach-meta-item h4 { font-weight: 700; font-size: 0.875rem; margin-bottom: 0.25rem; }
.outreach-meta-item p { font-size: 0.8rem; color: var(--slate-600); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--navy);
  color: var(--slate-300);
  padding: 4rem 0;
  border-top: 1px solid var(--slate-800);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand .site-logo { color: white; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; color: var(--slate-400); line-height: 1.7; max-width: 280px; }
.footer-col h3 { color: white; font-weight: 600; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a { font-size: 0.875rem; color: var(--slate-400); transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-col p { font-size: 0.875rem; color: var(--slate-400); margin-bottom: 0.5rem; }
.footer-bottom {
  border-top: 1px solid var(--slate-800);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--slate-500);
}

/* =============================================
   WORDPRESS COMPATIBILITY
   ============================================= */
.wp-block-image { margin: 1rem 0; }
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin: 0 1rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1rem; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; }
.wp-caption { max-width: 100%; }
.gallery { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Page content */
.entry-content h1 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.entry-content h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; margin-top: 2rem; }
.entry-content h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; margin-top: 1.5rem; }
.entry-content p { margin-bottom: 1rem; line-height: 1.8; color: var(--slate-700); }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.entry-content li { margin-bottom: 0.5rem; line-height: 1.7; color: var(--slate-700); }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: fadeIn 0.4s ease forwards; }

/* =============================================
   RESPONSIVE UTILITIES
   ============================================= */
@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}
@media (min-width: 768px) {
  .hide-desktop { display: none !important; }
}
