/* ==========================================================================
   JH WEB SOLUTIONS - MODERN GROWTH ENGINE PRICING SECTION
   Color-aligned with JH Web Solutions Logo & Home Page Branding:
   - Primary Brand Blue: #0256d3 & #2563eb
   - Midnight Navy: #0b1120 & #0f172a
   - Accent Amber/Gold: #f5ba13 & #f59e0b
   - Accent Emerald: #10b981
   ========================================================================== */

.jh-pricing-section {
  background-color: #F8FAFC;
  background-image: radial-gradient(circle at 15% 15%, rgba(2, 86, 211, 0.05) 0%, transparent 40%),
                    radial-gradient(circle at 85% 85%, rgba(6, 182, 212, 0.04) 0%, transparent 40%);
  padding: 85px 20px 95px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #0f172a;
  position: relative;
  box-sizing: border-box;
}

.jh-pricing-section *,
.jh-pricing-section *::before,
.jh-pricing-section *::after {
  box-sizing: border-box;
}

.jh-pricing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* --------------------------------------------------------------------------
   Section Header
   -------------------------------------------------------------------------- */
.jh-pricing-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 55px;
}

.jh-pricing-pill-badge {
  display: inline-block;
  background: linear-gradient(135deg, #0256d3 0%, #0f172a 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 7px 22px;
  border-radius: 9999px;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(2, 86, 211, 0.25);
}

.jh-pricing-headline {
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.jh-pricing-subtext {
  font-size: 15px;
  line-height: 1.6;
  color: #64748b;
  max-width: 660px;
  margin: 0 auto;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   Cards Grid
   -------------------------------------------------------------------------- */
.jh-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
  max-width: 1160px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Card Base Styles
   -------------------------------------------------------------------------- */
.jh-price-card {
  border-radius: 24px;
  padding: 44px 34px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.jh-price-card:hover {
  transform: translateY(-4px);
}

/* Light Cards (Starter & Premium) */
.jh-card-light {
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.jh-card-light:hover {
  border-color: rgba(2, 86, 211, 0.3);
  box-shadow: 0 16px 40px rgba(2, 86, 211, 0.08);
}

/* Dark Card (Growth Engine - Center Featured - Midnight Navy from Logo) */
.jh-card-dark {
  background-color: #0b1120;
  border: 1px solid rgba(2, 86, 211, 0.3);
  box-shadow: 0 20px 50px rgba(2, 86, 211, 0.22);
  transform: translateY(-6px);
  padding: 50px 34px 40px;
}

.jh-card-dark:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(2, 86, 211, 0.32);
}

/* Top Badge for Featured Card (Amber Gold from Logo Diamond) */
.jh-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #F5BA13;
  color: #0f172a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 7px 22px;
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(245, 186, 19, 0.45);
}

/* --------------------------------------------------------------------------
   Card Typography & Content
   -------------------------------------------------------------------------- */
.jh-plan-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

.jh-card-light .jh-plan-eyebrow {
  color: #0256d3;
}

.jh-card-dark .jh-plan-eyebrow {
  color: #38bdf8;
}

.jh-price-row {
  display: flex;
  align-items: baseline;
  margin-bottom: 10px;
}

.jh-price-val {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.jh-card-light .jh-price-val {
  color: #0f172a;
}

.jh-card-dark .jh-price-val {
  color: #ffffff;
}

.jh-price-period {
  font-size: 13.5px;
  font-weight: 600;
  margin-left: 8px;
}

.jh-card-light .jh-price-period {
  color: #64748b;
}

.jh-card-dark .jh-price-period {
  color: #94a3b8;
}

.jh-plan-desc {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 28px;
  min-height: 42px;
}

.jh-card-light .jh-plan-desc {
  color: #475569;
}

.jh-card-dark .jh-plan-desc {
  color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   Features List
   -------------------------------------------------------------------------- */
.jh-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.jh-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.45;
}

.jh-card-light .jh-features-list li {
  color: #1e293b;
}

.jh-card-dark .jh-features-list li {
  color: #f1f5f9;
}

/* Light Card Check Icon */
.jh-check-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.jh-check-icon path {
  stroke: #0256d3;
}

/* Dark Card Round Check Badge (Logo Green/Blue Accent) */
.jh-badge-check {
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #10b981 0%, #0256d3 100%);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.jh-badge-check svg path {
  stroke: #ffffff;
}

.jh-badge-check svg {
  width: 11px;
  height: 11px;
}

/* --------------------------------------------------------------------------
   Buttons / CTAs
   -------------------------------------------------------------------------- */
.jh-cta-btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  border-radius: 9999px;
  font-size: 14.5px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.jh-cta-btn:focus,
.jh-cta-btn:hover {
  text-decoration: none;
}

/* Starter: Brand Blue Outline button */
.jh-btn-starter {
  background-color: #ffffff;
  color: #0256d3;
  border: 1.5px solid rgba(2, 86, 211, 0.3);
  box-shadow: 0 2px 8px rgba(2, 86, 211, 0.05);
}

.jh-btn-starter:hover {
  background-color: rgba(2, 86, 211, 0.06);
  border-color: #0256d3;
  color: #0256d3;
  transform: translateY(-2px);
}

/* Growth Engine: Solid White Button with Brand Glow */
.jh-btn-growth {
  background-color: #ffffff;
  color: #0256d3;
  font-weight: 800;
  padding: 15px 24px;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.25);
}

.jh-btn-growth:hover {
  background-color: #f0f9ff;
  color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.35);
}

/* Premium: Home Page Brand Gradient Button */
.jh-btn-premium {
  background: linear-gradient(135deg, #0256d3 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(2, 86, 211, 0.4);
}

.jh-btn-premium:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #0256d3 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(2, 86, 211, 0.55);
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .jh-pricing-section {
    padding: 60px 15px 70px;
  }

  .jh-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    gap: 36px;
  }

  .jh-card-dark {
    transform: none;
  }

  .jh-card-dark:hover {
    transform: translateY(-4px);
  }

  .jh-plan-desc {
    min-height: auto;
  }
}
