/* ============================================================
   WEBIDO CTR — SHARED PAGE STYLES
   Used by: /agency-partners, /industries/* pages
   Uses same design tokens as the updated homepage
   ============================================================ */

:root {
  --wbd-blue: #3B82F6;
  --wbd-blue-hover: #2563EB;
  --wbd-navy: #1E3A5F;
  --wbd-navy-dark: #0F2440;
  --wbd-green: #22C55E;
  --wbd-orange: #F97316;
  --wbd-white: #FFFFFF;
  --wbd-bg: #F9FAFB;
  --wbd-bg-alt: #F3F4F6;
  --wbd-text: #1F2937;
  --wbd-muted: #6B7280;
  --wbd-border: #E5E7EB;
  --wbd-accent-bg: #EFF6FF;
  --wbd-orange-bg: #FFF7ED;
  --wbd-radius: 12px;
  --wbd-radius-lg: 16px;
  --wbd-radius-xl: 20px;
  --wbd-shadow-sm: 0 1px 2px 0 rgba(30, 58, 95, 0.05);
  --wbd-shadow-md: 0 4px 12px -2px rgba(30, 58, 95, 0.08);
  --wbd-shadow-hover: 0 20px 40px -12px rgba(30, 58, 95, 0.25);
  --wbd-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  margin: 0;
  font-family: var(--wbd-font);
  background: #fff;
  color: var(--wbd-text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

.wbd-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wbd-container-narrow { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* Breadcrumb */
.wbd-breadcrumb {
  background: var(--wbd-bg);
  padding: 12px 24px;
  font-size: 13px;
  color: var(--wbd-muted);
  border-bottom: 1px solid var(--wbd-border);
}
.wbd-breadcrumb a { color: var(--wbd-blue); text-decoration: none; }
.wbd-breadcrumb a:hover { text-decoration: underline; }
.wbd-breadcrumb .sep { margin: 0 8px; color: var(--wbd-border); }

/* ============================================================
   HERO (industry/agency pages)
   ============================================================ */
.wbd-hero {
  position: relative;
  background: linear-gradient(135deg, var(--wbd-navy-dark) 0%, var(--wbd-navy) 60%, #1F4878 100%);
  color: var(--wbd-white);
  padding: 64px 24px 72px;
  overflow: hidden;
}
.wbd-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center top, rgba(0,0,0,0.6) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center top, rgba(0,0,0,0.6) 0%, transparent 70%);
  pointer-events: none;
}
.wbd-hero::after {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.wbd-hero-inner { position: relative; max-width: 1100px; margin: 0 auto; text-align: center; z-index: 2; }

.wbd-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FED7AA;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.4);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.wbd-hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--wbd-orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2);
  animation: wbdPulse 2.4s ease-in-out infinite;
}
@keyframes wbdPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(249, 115, 22, 0.3); }
}

.wbd-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  max-width: 900px;
  margin-left: auto; margin-right: auto;
}
.wbd-hero h1 .wbd-accent {
  background: linear-gradient(135deg, #93C5FD 0%, #60A5FA 50%, #3B82F6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wbd-hero h1 .wbd-orange-accent {
  color: #FDBA74;
  text-decoration: underline;
  text-decoration-color: rgba(249, 115, 22, 0.5);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.wbd-hero-sub {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 760px;
  margin: 0 auto 32px;
}
.wbd-hero-sub strong { color: var(--wbd-white); font-weight: 600; }

.wbd-hero-ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.wbd-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  letter-spacing: -0.01em;
  font-family: inherit;
}
.wbd-btn-primary {
  background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(249, 115, 22, 0.5);
}
.wbd-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -8px rgba(249, 115, 22, 0.65); }
.wbd-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}
.wbd-btn-secondary:hover { background: rgba(255, 255, 255, 0.14); }
.wbd-btn-blue { background: var(--wbd-blue); color: #fff; box-shadow: 0 8px 24px -6px rgba(59, 130, 246, 0.5); }
.wbd-btn-blue:hover { background: var(--wbd-blue-hover); transform: translateY(-2px); }

.wbd-trust-bar {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 900px; margin: 0 auto;
}
.wbd-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255, 255, 255, 0.82); font-weight: 500;
}
.wbd-trust-item strong { color: var(--wbd-white); font-weight: 700; }
.wbd-stars { color: #FBBF24; letter-spacing: 1px; font-size: 13px; }
.wbd-trust-divider { width: 1px; height: 18px; background: rgba(255, 255, 255, 0.15); }

@media (max-width: 700px) {
  .wbd-trust-divider { display: none; }
  .wbd-trust-bar { gap: 14px; }
  .wbd-btn { width: 100%; justify-content: center; }
  .wbd-hero-ctas { flex-direction: column; width: 100%; max-width: 340px; margin-left: auto; margin-right: auto; }
}

/* ============================================================
   SECTION GENERIC
   ============================================================ */
.wbd-section { padding: 72px 24px; }
.wbd-section-light { background: var(--wbd-bg); }
.wbd-section-navy { background: var(--wbd-navy); color: #fff; }

.wbd-section-header { text-align: center; margin-bottom: 48px; max-width: 820px; margin-left: auto; margin-right: auto; }
.wbd-section-header .eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--wbd-blue); background: var(--wbd-accent-bg);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.wbd-section-header h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 800; line-height: 1.2;
  color: var(--wbd-navy); margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.wbd-section-navy .wbd-section-header h2 { color: #fff; }
.wbd-section-header p {
  font-size: 17px; line-height: 1.65; color: var(--wbd-text);
  margin: 0 auto; max-width: 740px;
}
.wbd-section-navy .wbd-section-header p { color: rgba(255, 255, 255, 0.85); }

/* ============================================================
   FOUR-PLATFORM REALITY (industry-specific pain cards)
   ============================================================ */
.wbd-pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .wbd-pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .wbd-pain-grid { grid-template-columns: 1fr; } }

.wbd-pain-card {
  background: #fff;
  border: 1px solid var(--wbd-border);
  border-radius: var(--wbd-radius);
  padding: 24px 22px;
  position: relative;
  transition: all 0.25s ease;
}
.wbd-pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 3px;
  background: var(--wbd-orange);
  border-top-left-radius: var(--wbd-radius);
}
.wbd-pain-card:hover { transform: translateY(-3px); box-shadow: var(--wbd-shadow-hover); border-color: var(--wbd-orange); }
.wbd-pain-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--wbd-orange-bg); color: var(--wbd-orange);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.wbd-pain-card h3 {
  font-size: 16px; font-weight: 700;
  color: var(--wbd-navy); margin: 0 0 8px;
  letter-spacing: -0.01em; line-height: 1.3;
}
.wbd-pain-card p { font-size: 14px; line-height: 1.55; color: var(--wbd-muted); margin: 0; }
.wbd-pain-card p strong { color: var(--wbd-text); font-weight: 600; }

/* ============================================================
   SERVICES GRID (recommended services for industry)
   ============================================================ */
.wbd-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wbd-services-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 14px; }
/* 4-card rows stay on one line down to 960px; tighter padding on narrow cards */
.wbd-services-grid--4 .wbd-service-card { padding: 24px 20px; }
@media (max-width: 960px) { .wbd-services-grid--4 { grid-template-columns: repeat(2, 1fr); } .wbd-services-grid--4 .wbd-service-card { padding: 28px 26px; } }
@media (max-width: 900px) { .wbd-services-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .wbd-services-grid--4 { grid-template-columns: 1fr; } }

.wbd-service-card {
  background: #fff;
  border: 1px solid var(--wbd-border);
  border-radius: var(--wbd-radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}
.wbd-service-card:hover { transform: translateY(-4px); box-shadow: var(--wbd-shadow-hover); border-color: var(--wbd-blue); }

.wbd-service-card.featured { border-color: var(--wbd-blue); box-shadow: var(--wbd-shadow-md); }
.wbd-service-card.featured::before {
  content: 'Most Recommended';
  position: absolute;
  top: -12px; left: 24px;
  background: var(--wbd-blue);
  color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.wbd-service-card h3 {
  font-size: 20px; font-weight: 700; color: var(--wbd-navy);
  margin: 0 0 8px; letter-spacing: -0.01em;
}
.wbd-service-card .service-sub { font-size: 14px; color: var(--wbd-muted); margin: 0 0 20px; line-height: 1.5; }
.wbd-service-card ul { list-style: none; padding: 0; margin: 0 0 20px; flex-grow: 1; }
.wbd-service-card ul li {
  font-size: 14px; color: var(--wbd-text);
  padding: 6px 0 6px 26px;
  position: relative;
  line-height: 1.5;
}
.wbd-service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 6px;
  color: var(--wbd-green);
  font-weight: 700;
}
.wbd-service-price {
  font-size: 13px; color: var(--wbd-muted);
  padding-top: 16px; border-top: 1px solid var(--wbd-border);
  margin-bottom: 16px;
}
.wbd-service-price strong {
  font-size: 24px; font-weight: 800; color: var(--wbd-navy); display: block; margin-top: 2px;
}
.wbd-service-cta {
  display: inline-block; width: 100%; text-align: center;
  background: var(--wbd-blue); color: #fff;
  padding: 12px; border-radius: 8px; font-weight: 700; font-size: 14px;
  text-decoration: none; transition: all 0.2s ease;
}
.wbd-service-cta:hover { background: var(--wbd-blue-hover); transform: translateY(-1px); }

/* ============================================================
   TESTIMONIAL / SOCIAL PROOF
   ============================================================ */
.wbd-testimonial {
  background: #fff;
  border: 1px solid var(--wbd-border);
  border-radius: var(--wbd-radius-lg);
  padding: 40px 44px;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}
.wbd-testimonial::before {
  content: '"';
  position: absolute;
  top: 10px; left: 28px;
  font-size: 120px; font-weight: 800;
  color: var(--wbd-accent-bg);
  line-height: 1; font-family: Georgia, serif;
}
.wbd-testimonial .stars { color: #FBBF24; font-size: 16px; letter-spacing: 2px; margin-bottom: 18px; position: relative; }
.wbd-testimonial blockquote {
  font-size: 18px; line-height: 1.65;
  color: var(--wbd-text); margin: 0 0 24px;
  font-weight: 500; position: relative;
}
.wbd-testimonial .result { font-size: 13px; font-weight: 700; color: var(--wbd-green); letter-spacing: 0.05em; text-transform: uppercase; display: block; margin-bottom: 16px; }
.wbd-testimonial cite { font-size: 14px; color: var(--wbd-muted); font-style: normal; display: block; }
.wbd-testimonial cite strong { color: var(--wbd-navy); font-weight: 700; }

/* ============================================================
   FAQ
   ============================================================ */
.wbd-faq-list { max-width: 820px; margin: 0 auto; }
.wbd-faq {
  background: #fff;
  border: 1px solid var(--wbd-border);
  border-radius: var(--wbd-radius);
  padding: 22px 26px;
  margin-bottom: 12px;
}
.wbd-faq summary {
  cursor: pointer;
  font-size: 16px; font-weight: 700; color: var(--wbd-navy);
  letter-spacing: -0.01em;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.wbd-faq summary::-webkit-details-marker { display: none; }
.wbd-faq summary::after {
  content: '+';
  font-size: 24px; font-weight: 400;
  color: var(--wbd-blue);
  transition: transform 0.2s ease;
  line-height: 1;
}
.wbd-faq[open] summary::after { transform: rotate(45deg); }
.wbd-faq p { font-size: 15px; line-height: 1.65; color: var(--wbd-text); margin: 14px 0 0; }
.wbd-faq p strong { color: var(--wbd-navy); font-weight: 700; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.wbd-final-cta {
  background: linear-gradient(135deg, var(--wbd-navy-dark) 0%, var(--wbd-navy) 100%);
  color: #fff;
  padding: 72px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.wbd-final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 20%, rgba(249, 115, 22, 0.15) 0%, transparent 50%);
  pointer-events: none;
}
.wbd-final-cta-inner { position: relative; max-width: 720px; margin: 0 auto; z-index: 2; }
.wbd-final-cta h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800; line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.wbd-final-cta p {
  font-size: 17px; line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 28px;
}
.wbd-final-cta .ps {
  font-size: 13px; color: rgba(255, 255, 255, 0.55);
  margin-top: 18px;
}

/* ============================================================
   AGENCY-SPECIFIC: benefits grid, steps
   ============================================================ */
.wbd-benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .wbd-benefits-grid { grid-template-columns: 1fr; } }

.wbd-benefit {
  background: #fff;
  border: 1px solid var(--wbd-border);
  border-radius: var(--wbd-radius);
  padding: 28px;
}
.wbd-benefit .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--wbd-accent-bg); color: var(--wbd-blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.wbd-benefit h3 { font-size: 17px; font-weight: 700; color: var(--wbd-navy); margin: 0 0 8px; }
.wbd-benefit p { font-size: 14px; line-height: 1.55; color: var(--wbd-muted); margin: 0; }

.wbd-steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
@media (max-width: 1000px) { .wbd-steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .wbd-steps-grid { grid-template-columns: 1fr; } }

.wbd-step {
  background: #fff;
  border: 1px solid var(--wbd-border);
  border-radius: var(--wbd-radius);
  padding: 24px 20px;
  text-align: center;
  position: relative;
}
.wbd-step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--wbd-blue); color: #fff;
  font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.wbd-step h3 { font-size: 15px; font-weight: 700; color: var(--wbd-navy); margin: 0 0 6px; line-height: 1.3; }
.wbd-step p { font-size: 13px; color: var(--wbd-muted); line-height: 1.5; margin: 0; }
