/**
 * J H Web Solutions - Custom CRM System Dedicated Stylesheet
 * File: css/jh-custom-crm.css
 * Modern, High-Conversion, Rich Aesthetic Design for Enterprise CRM Solutions
 */

:root {
  --crm-primary: #0a0f29;
  --crm-primary-light: #111d4a;
  --crm-primary-card: #0d153a;
  --crm-blue: #2563eb;
  --crm-blue-glow: rgba(37, 99, 235, 0.4);
  --crm-blue-light: #dbeafe;
  --crm-gold: #f59e0b;
  --crm-gold-glow: rgba(245, 158, 11, 0.35);
  --crm-emerald: #10b981;
  --crm-emerald-glow: rgba(16, 185, 129, 0.3);
  --crm-purple: #8b5cf6;
  --crm-text-main: #0f172a;
  --crm-text-muted: #64748b;
  --crm-border-light: #e2e8f0;
  --crm-border-dark: rgba(255, 255, 255, 0.09);
  --crm-radius-lg: 18px;
  --crm-radius-md: 12px;
  --crm-radius-sm: 8px;
}

/* Base resets & typography */
.jh-crm-page {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  color: var(--crm-text-main);
  background-color: #ffffff;
  overflow-x: hidden;
}

/* ==========================================================================
   1. HERO SECTION (Dark Luxury + Tech Grid + Ambient Glowing Mesh)
   ========================================================================== */
.jh-crm-hero {
  position: relative;
  background-color: #000000;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(66, 53, 0, 0.45) 0%, rgba(0, 0, 0, 0.85) 60%, #000000 100%),
    radial-gradient(circle, #272727 1px, transparent 1px);
  background-size: 100% 100%, 22px 22px;
  padding: 55px 0 85px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Ambient glowing orbs */
.jh-crm-hero-glow-gold {
  position: absolute;
  top: 8%;
  left: -8%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 209, 26, 0.16) 0%, transparent 70%);
  filter: blur(85px);
  pointer-events: none;
}

.jh-crm-hero-glow-emerald {
  position: absolute;
  top: 15%;
  right: -8%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, transparent 70%);
  filter: blur(95px);
  pointer-events: none;
}

.jh-crm-hero-glow-center {
  position: absolute;
  top: 25%;
  left: 30%;
  width: 520px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 209, 26, 0.1) 0%, transparent 65%);
  filter: blur(100px);
  pointer-events: none;
}

.jh-crm-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Breadcrumb */
.jh-crm-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.jh-crm-breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.jh-crm-breadcrumb a:hover {
  color: #FFDE08;
}

.jh-crm-breadcrumb span.jh-curr {
  color: #FFDE08;
}

/* Pill Tag Badge */
.jh-crm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(255, 222, 8, 0.1);
  border: 1px solid rgba(255, 222, 8, 0.28);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: #FFDE08;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
  box-shadow: 0 0 24px rgba(255, 222, 8, 0.12);
}

.jh-crm-badge i {
  color: #FFDE08;
}

/* Hero Headline */
.jh-crm-hero-title {
  font-size: clamp(32px, 5.2vw, 68px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-align: center;
  max-width: 1150px;
  margin: 0 auto;
  color: #ffffff;
}

.jh-crm-text-gold {
  color: #FFDE08 !important;
  background: linear-gradient(135deg, #FFF1A8 0%, #FFDE08 50%, #E0B511 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.jh-crm-hero-divider {
  width: 100%;
  max-width: 640px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 24px auto;
}

.jh-crm-hero-desc {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  font-weight: 400;
}

/* Hero Action Buttons */
.jh-crm-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.jh-btn-crm-gold-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, #FFE56D 0%, #FFDE08 52%, #E0B511 100%);
  color: #070B12 !important;
  font-weight: 800;
  font-size: 14px;
  padding: 14px 30px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(255, 222, 8, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 222, 8, 0.35);
  cursor: pointer;
}

.jh-btn-crm-gold-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(255, 222, 8, 0.4);
  color: #000000 !important;
}

.jh-btn-crm-glass-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 9999px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.jh-btn-crm-glass-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.jh-btn-crm-glass-pill i.fa-whatsapp {
  color: #25d366;
  font-size: 17px;
}

/* Hero Visual Showcase */
.jh-crm-hero-showcase {
  margin-top: 60px;
  position: relative;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

.jh-crm-mockup-frame {
  position: relative;
  border-radius: 28px;
  padding: 3px;
  background: linear-gradient(135deg, rgba(255, 222, 8, 0.45) 0%, rgba(255, 255, 255, 0.1) 40%, rgba(16, 185, 129, 0.3) 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 222, 8, 0.12);
  overflow: hidden;
}

.jh-crm-mockup-inner {
  border-radius: 25px;
  overflow: hidden;
  background: #08090d;
}

.jh-crm-mockup-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.jh-crm-mockup-frame:hover .jh-crm-mockup-img {
  transform: scale(1.015);
}

/* Floating Badges */
.jh-crm-floating-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 12, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  z-index: 5;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: floatUpDownCrm 4s ease-in-out infinite;
}

.jh-crm-floating-pill:hover {
  transform: translateY(-3px);
  border-color: #FFDE08;
}

.jh-crm-floating-pill.top-right {
  top: -18px;
  right: 24px;
}

.jh-crm-floating-pill.bottom-left {
  bottom: -18px;
  left: 24px;
  animation-delay: 2s;
}

.jh-pill-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.jh-pill-dot.green {
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.jh-pill-dot.amber {
  background: #FFDE08;
  box-shadow: 0 0 10px #FFDE08;
}

@keyframes floatUpDownCrm {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* Hero Stats Strip (4 columns) */
.jh-crm-hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px 30px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.jh-crm-metric-item {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.jh-crm-metric-item:last-child {
  border-right: none;
}

.jh-crm-metric-num {
  display: block;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  color: #FFDE08;
  line-height: 1.1;
  margin-bottom: 4px;
}

.jh-crm-metric-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Trusted Marquee Strip */
.jh-crm-trusted-strip {
  background: rgba(35, 28, 1, 0.65);
  border-bottom: 1px solid rgba(245, 197, 66, 0.2);
  padding: 14px 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
}

.jh-crm-trusted-lead {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
}

.jh-crm-trusted-lead span {
  color: #FFDE08;
}

.jh-crm-marquee-wrap {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  width: 100%;
}

.jh-crm-marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: jhCrmMarqueeAnim 26s linear infinite;
  padding-left: 20px;
}

.jh-crm-marquee-track:hover {
  animation-play-state: paused;
}

.jh-crm-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.jh-crm-brand-badge:hover {
  background: rgba(255, 222, 8, 0.15);
  border-color: #FFDE08;
  color: #FFDE08;
}

@keyframes jhCrmMarqueeAnim {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 991px) {
  .jh-crm-hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .jh-crm-metric-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
  }
  .jh-crm-metric-item:nth-child(3),
  .jh-crm-metric-item:nth-child(4) {
    border-bottom: none;
  }
}

@media (max-width: 767px) {
  .jh-crm-hero-metrics {
    grid-template-columns: 1fr;
  }
  .jh-crm-metric-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .jh-crm-metric-item:last-child {
    border-bottom: none !important;
  }
  .jh-crm-floating-pill.top-right {
    top: 10px;
    right: 10px;
  }
  .jh-crm-floating-pill.bottom-left {
    bottom: 10px;
    left: 10px;
  }
}

/* ==========================================================================
   2. BENEFITS SECTION (8 CARDS)
   ========================================================================== */
.jh-crm-benefits-section {
  padding: 90px 0;
  background: #f8fafc;
  position: relative;
}

.jh-crm-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}

.jh-crm-sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--crm-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.jh-crm-sec-title {
  font-size: 36px;
  line-height: 1.25;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.jh-crm-sec-title span {
  color: var(--crm-blue);
}

.jh-crm-sec-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

.jh-crm-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.jh-crm-benefit-card {
  background: #ffffff;
  border: 1px solid var(--crm-border-light);
  border-radius: var(--crm-radius-md);
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.jh-crm-benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.jh-crm-benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.12);
  border-color: #cbd5e1;
}

.jh-crm-benefit-card:hover::before {
  opacity: 1;
}

.jh-benefit-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
  border: 1px solid #bfdbfe;
  transition: all 0.3s ease;
}

.jh-crm-benefit-card:hover .jh-benefit-icon-box {
  transform: scale(1.08) rotate(3deg);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
}

.jh-benefit-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
  line-height: 1.35;
}

.jh-benefit-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 18px;
  flex-grow: 1;
}

.jh-benefit-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #0284c7;
  background: #f0f9ff;
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
  border: 1px solid #e0f2fe;
}

/* ==========================================================================
   3. ENTERPRISE CRM MODULES (12 ALTERNATING ROWS)
   ========================================================================== */
.jh-crm-modules-section {
  padding: 95px 0;
  background: #ffffff;
}

.jh-crm-module-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid #f1f5f9;
}

.jh-crm-module-row:last-child {
  border-bottom: none;
}

.jh-crm-module-row.reversed .jh-crm-module-content {
  order: 2;
}

.jh-crm-module-row.reversed .jh-crm-module-visual {
  order: 1;
}

.jh-mod-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.jh-mod-badge.blue {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.jh-mod-badge.amber {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.jh-mod-badge.green {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.jh-mod-badge.purple {
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}

.jh-mod-title {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.jh-mod-desc {
  font-size: 15.5px;
  line-height: 1.68;
  color: #475569;
  margin: 0 0 24px;
}

.jh-mod-points {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jh-mod-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
}

.jh-mod-points li i {
  color: #10b981;
  font-size: 15px;
  margin-top: 3px;
  flex-shrink: 0;
}

.jh-mod-points li strong {
  color: #0f172a;
}

.jh-mod-metric-box {
  background: #f8fafc;
  border-left: 3px solid #2563eb;
  padding: 12px 18px;
  border-radius: 0 8px 8px 0;
  font-size: 13.5px;
  color: #475569;
}

.jh-mod-metric-box strong {
  color: #0f172a;
}

/* Module Visual Container */
.jh-crm-module-visual {
  position: relative;
}

.jh-mod-card-preview {
  background: #0a0f29;
  border-radius: var(--crm-radius-lg);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px -15px rgba(10, 15, 41, 0.35);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.jh-mod-card-preview::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.jh-mod-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.jh-mod-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.jh-mod-card-status {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.jh-mod-card-img {
  width: 100%;
  border-radius: var(--crm-radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.jh-mod-card-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Feature mini items in cards */
.jh-mod-mock-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jh-mod-mock-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 16px;
  border-radius: var(--crm-radius-sm);
  font-size: 13px;
}

.jh-mock-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.jh-mock-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: #ffffff;
}

.jh-mock-name {
  font-weight: 600;
  color: #f1f5f9;
}

.jh-mock-sub {
  font-size: 11px;
  color: #94a3b8;
}

.jh-mock-score {
  font-weight: 700;
  font-size: 12.5px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 3px 8px;
  border-radius: 6px;
}

/* ==========================================================================
   4. BESPOKE CRM VS RENTED SAAS COMPARISON MATRIX
   ========================================================================== */
.jh-crm-compare-section {
  padding: 90px 0;
  background: #0a0f29;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.jh-crm-compare-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.jh-crm-compare-table-wrapper {
  overflow-x: auto;
  border-radius: var(--crm-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  background: rgba(13, 21, 58, 0.6);
  backdrop-filter: blur(12px);
}

.jh-crm-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  text-align: left;
}

.jh-crm-compare-table th,
.jh-crm-compare-table td {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 14.5px;
}

.jh-crm-compare-table th {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
  font-size: 15px;
  color: #cbd5e1;
}

.jh-crm-compare-table th.highlight-col,
.jh-crm-compare-table td.highlight-col {
  background: rgba(37, 99, 235, 0.12);
  border-left: 2px solid #3b82f6;
  border-right: 2px solid #3b82f6;
  color: #ffffff;
}

.jh-crm-compare-table th.highlight-col {
  color: #60a5fa;
  font-size: 16px;
}

.jh-crm-compare-table tr:last-child td {
  border-bottom: none;
}

.jh-table-icon-yes {
  color: #10b981;
  font-size: 16px;
  margin-right: 6px;
}

.jh-table-icon-no {
  color: #ef4444;
  font-size: 16px;
  margin-right: 6px;
}

/* ==========================================================================
   5. ARCHITECTURE & TECH STACK
   ========================================================================== */
.jh-crm-tech-section {
  padding: 80px 0;
  background: #f8fafc;
}

.jh-crm-tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.jh-crm-tech-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--crm-radius-md);
  padding: 24px 18px;
  text-align: center;
  transition: all 0.3s ease;
}

.jh-crm-tech-card:hover {
  transform: translateY(-4px);
  border-color: #3b82f6;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
}

.jh-tech-icon {
  font-size: 32px;
  margin-bottom: 12px;
  color: #2563eb;
}

.jh-tech-name {
  font-weight: 700;
  font-size: 14.5px;
  color: #0f172a;
  margin-bottom: 4px;
}

.jh-tech-role {
  font-size: 12px;
  color: #64748b;
}

/* ==========================================================================
   6. FAQ ACCORDION SECTION
   ========================================================================== */
.jh-crm-faq-section {
  padding: 90px 0;
  background: #ffffff;
}

.jh-crm-faq-wrapper {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.jh-crm-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--crm-radius-md);
  background: #ffffff;
  overflow: hidden;
  transition: all 0.3s ease;
}

.jh-crm-faq-item:hover {
  border-color: #cbd5e1;
}

.jh-crm-faq-item.active {
  border-color: #3b82f6;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.08);
}

.jh-crm-faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 26px;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: color 0.2s ease;
}

.jh-crm-faq-question:hover {
  color: #2563eb;
}

.jh-crm-faq-item.active .jh-crm-faq-question {
  color: #2563eb;
  background: #f8fafc;
}

.jh-faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #64748b;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.jh-crm-faq-item.active .jh-faq-toggle-icon {
  transform: rotate(180deg);
  background: #2563eb;
  color: #ffffff;
}

.jh-crm-faq-answer {
  display: none;
  padding: 0 26px 24px;
  font-size: 15px;
  line-height: 1.68;
  color: #475569;
  border-top: 1px solid transparent;
}

.jh-crm-faq-item.active .jh-crm-faq-answer {
  display: block;
  background: #f8fafc;
  border-top-color: #f1f5f9;
}

/* ==========================================================================
   7. CUSTOMER ENQUIRY FORM / STRATEGY CONSULTATION
   ========================================================================== */
.jh-crm-form-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  position: relative;
}

.jh-crm-form-card {
  background: #ffffff;
  border-radius: var(--crm-radius-lg);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
}

.jh-crm-form-sidebar {
  background: #0a0f29;
  color: #ffffff;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.jh-crm-form-sidebar::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.jh-form-side-tag {
  font-size: 12px;
  font-weight: 700;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.jh-form-side-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  margin: 0 0 16px;
}

.jh-form-side-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 0 32px;
}

.jh-form-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.jh-form-perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.5;
}

.jh-form-perks li i {
  color: #f59e0b;
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.jh-form-direct-contact {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.jh-form-direct-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 13.5px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.jh-form-direct-item:hover {
  color: #60a5fa;
}

.jh-form-direct-item i {
  color: #2563eb;
  width: 20px;
  text-align: center;
}

/* Form inputs container */
.jh-crm-form-main {
  padding: 48px 44px;
}

.jh-crm-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.jh-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.jh-form-group.full-width {
  grid-column: span 2;
}

.jh-form-group label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.jh-form-group input,
.jh-form-group select,
.jh-form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--crm-radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: #0f172a;
  background: #ffffff;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.jh-form-group input:focus,
.jh-form-group select:focus,
.jh-form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.jh-btn-submit-crm {
  width: 100%;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  padding: 15px 24px;
  border-radius: var(--crm-radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
}

.jh-btn-submit-crm:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.4);
}

.jh-crm-alert {
  padding: 14px 18px;
  border-radius: var(--crm-radius-sm);
  margin-bottom: 24px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.jh-crm-alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.jh-crm-alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   8. SUPER BOTTOM CTA SECTION
   ========================================================================== */
.jh-crm-super-cta {
  padding: 85px 0;
  background: radial-gradient(circle at 50% 50%, #172554 0%, #0a0f29 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.jh-crm-super-cta .jh-crm-sec-title {
  color: #ffffff;
  max-width: 820px;
  margin: 0 auto 18px;
}

.jh-crm-super-cta .jh-crm-sec-desc {
  color: #cbd5e1;
  max-width: 640px;
  margin: 0 auto 36px;
}

.jh-crm-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   9. RESPONSIVE DESIGN (TABLET & MOBILE BREAKPOINTS)
   ========================================================================== */
@media (max-width: 1024px) {
  .jh-crm-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .jh-crm-hero-desc {
    max-width: 100%;
  }
  .jh-crm-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .jh-crm-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .jh-crm-module-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .jh-crm-module-row.reversed .jh-crm-module-content {
    order: 1;
  }
  .jh-crm-module-row.reversed .jh-crm-module-visual {
    order: 2;
  }
  .jh-crm-form-card {
    grid-template-columns: 1fr;
  }
  .jh-crm-tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .jh-crm-hero {
    padding: 40px 0 60px;
  }
  .jh-crm-hero-title {
    font-size: 32px;
  }
  .jh-crm-hero-stats {
    grid-template-columns: 1fr 1fr;
  }
  .jh-crm-benefits-grid {
    grid-template-columns: 1fr;
  }
  .jh-crm-sec-title {
    font-size: 28px;
  }
  .jh-mod-title {
    font-size: 24px;
  }
  .jh-crm-form-main {
    padding: 30px 20px;
  }
  .jh-crm-form-grid {
    grid-template-columns: 1fr;
  }
  .jh-form-group.full-width {
    grid-column: span 1;
  }
  .jh-crm-form-sidebar {
    padding: 32px 24px;
  }
  .jh-crm-tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .jh-crm-floating-pill {
    display: none;
  }
}
