/* ==========================================================================
   JH WEB SOLUTIONS - MODERN HERO SECTION FOR WEBSITE DESIGN PAGE
   Color-aligned with JH Web Solutions Logo & Home Page Branding:
   - Primary Brand Blue: #0256d3 & #2563eb
   - Midnight Navy: #0b1120 & #0f172a
   - Accent Amber/Gold: #f59e0b
   - Accent Emerald: #10b981
   - Cyan Glow: #06b6d4 & #38bdf8
   ========================================================================== */

.jh-wd-hero-section {
  background-color: #FFFFFF;
  background-image: radial-gradient(circle at 10% 20%, rgba(2, 86, 211, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.04) 0%, transparent 45%);
  padding: 65px 20px 75px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #0f172a;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

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

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.jh-wd-hero-container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 50px;
  align-items: center;
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   LEFT COLUMN
   -------------------------------------------------------------------------- */
.jh-wd-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Trust Pill Badge */
.jh-wd-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(2, 86, 211, 0.18);
  border-radius: 9999px;
  padding: 7px 18px;
  box-shadow: 0 4px 14px rgba(2, 86, 211, 0.06);
  font-size: 12.5px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 22px;
  transition: all 0.25s ease;
}

.jh-wd-trust-pill:hover {
  border-color: #0256d3;
  transform: translateY(-1px);
}

.jh-wd-star-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: #F59E0B;
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 11px;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
}

/* Eyebrow */
.jh-wd-eyebrow {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0256d3;
  margin-bottom: 12px;
  display: block;
}

/* Main Headline */
.jh-wd-title {
  font-size: clamp(23px, 5.5vw, 50px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.18;
  letter-spacing: -0.035em;
  margin: 0 0 10px;
  word-break: break-word;
}

/* Contrast Italic Serif Tagline */
.jh-wd-tagline {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(18px, 4.2vw, 38px);
  line-height: 1.25;
  color: #0f172a;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  word-break: break-word;
}

.jh-title-gradient {
  background: linear-gradient(135deg, #0256d3 0%, #2563eb 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Description */
.jh-wd-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: #475569;
  max-width: 530px;
  margin: 0 0 30px;
  font-weight: 400;
}

/* Action Buttons */
.jh-wd-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.jh-wd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 9999px;
  padding: 13px 26px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
}

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

.jh-btn-consult {
  background: linear-gradient(135deg, #0256d3 0%, #1d4ed8 100%);
  color: #FFFFFF !important;
  border: 1px solid #0256d3;
  box-shadow: 0 10px 25px -4px rgba(2, 86, 211, 0.45);
  position: relative;
  overflow: hidden;
}

.jh-btn-consult:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px -4px rgba(2, 86, 211, 0.55);
}

.jh-btn-consult svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.5;
  transition: transform 0.2s ease;
}

.jh-btn-consult:hover svg {
  transform: translate(2px, -2px);
}

.jh-btn-whatsapp-pill {
  background-color: #FFFFFF;
  color: #0f172a;
  border: 1.5px solid #25D366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.12);
}

.jh-btn-whatsapp-pill:hover {
  background-color: rgba(37, 211, 102, 0.08);
  border-color: #128C7E;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.2);
}

.jh-btn-whatsapp-pill svg {
  width: 18px;
  height: 18px;
  fill: #25D366;
}

/* Stats Bar */
.jh-wd-stats-grid {
  border-top: 1px solid #E2E8F0;
  padding-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
}

.jh-stat-col {
  display: flex;
  flex-direction: column;
}

.jh-stat-num {
  font-size: 26px;
  font-weight: 800;
  color: #0256d3;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.jh-stat-lbl {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #64748b;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   RIGHT COLUMN (LIVE LEAD DASHBOARD COMPONENT)
   -------------------------------------------------------------------------- */
.jh-wd-hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.jh-dashboard-card {
  background-color: #0b1120;
  border-radius: 26px;
  padding: 26px 24px 24px;
  box-shadow: 0 30px 65px -15px rgba(2, 86, 211, 0.25), 0 0 0 1px rgba(2, 86, 211, 0.2);
  width: 100%;
  max-width: 480px;
  color: #FFFFFF;
  position: relative;
}

.jh-dashboard-card::after {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(2, 86, 211, 0.2) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

.jh-dash-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.jh-dash-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #94a3b8;
  text-transform: uppercase;
}

.jh-status-dot {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10B981;
}

.jh-dash-loc {
  background-color: rgba(2, 86, 211, 0.22);
  border: 1px solid rgba(2, 86, 211, 0.35);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  color: #93c5fd;
  font-weight: 600;
}

.jh-dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.jh-metric-box {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.jh-metric-box:hover {
  border-color: rgba(2, 86, 211, 0.4);
  transform: translateY(-2px);
}

.jh-metric-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 6px;
}

.jh-metric-val {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 4px;
}

.jh-metric-delta {
  font-size: 11px;
  font-weight: 700;
  color: #10B981;
}

.jh-metric-sub {
  font-size: 11px;
  font-weight: 600;
  color: #38bdf8;
}

.jh-dash-enquiries {
  background-color: #FFFFFF;
  border-radius: 18px;
  padding: 18px 16px;
  color: #0f172a;
}

.jh-enquiry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.jh-enquiry-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
}

.jh-enquiry-tag {
  background: linear-gradient(135deg, #059669 0%, #0256d3 100%);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 8px rgba(2, 86, 211, 0.25);
}

.jh-enquiry-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.jh-enquiry-item {
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 0.2s;
}

.jh-enquiry-item:hover {
  background-color: #F1F5F9;
}

.jh-enquiry-dot {
  width: 7px;
  height: 7px;
  background-color: #F59E0B;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.6);
}

.jh-demo-badge-btn {
  margin-top: 14px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #0b1120;
  color: #FFFFFF;
  padding: 10px 22px 10px 10px;
  border-radius: 16px;
  border: 1px solid rgba(2, 86, 211, 0.3);
  box-shadow: 0 10px 25px rgba(2, 86, 211, 0.15);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.jh-demo-badge-btn:hover {
  background-color: #1e293b;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(2, 86, 211, 0.3);
  text-decoration: none;
}

.jh-demo-play-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #0256d3 0%, #2563eb 100%);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(2, 86, 211, 0.4);
}

.jh-demo-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.jh-demo-title {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   HERO VISUAL SHOWCASE COMPONENT
   -------------------------------------------------------------------------- */
.jh-hero-visual-card {
  position: relative;
  background: linear-gradient(135deg, #0b1120 0%, #0f172a 100%);
  border: 1px solid rgba(2, 86, 211, 0.35);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 25px 60px -15px rgba(2, 86, 211, 0.35), 0 0 0 1px rgba(56, 189, 248, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jh-hero-visual-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 35px 70px -15px rgba(2, 86, 211, 0.45), 0 0 0 1px rgba(56, 189, 248, 0.3);
}

.jh-hero-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px 14px;
}

.jh-browser-dots {
  display: flex;
  gap: 6px;
}

.jh-browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.jh-dot-red { background-color: #ef4444; }
.jh-dot-yellow { background-color: #f59e0b; }
.jh-dot-green { background-color: #10b981; }

.jh-browser-url {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 4px 14px;
  font-size: 11px;
  color: #93c5fd;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.jh-hero-img-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.jh-hero-main-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.4s ease;
}

.jh-hero-visual-card:hover .jh-hero-main-img {
  transform: scale(1.02);
}

/* Floating Glassmorphic Badges */
.jh-float-badge {
  position: absolute;
  z-index: 5;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 10px 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 20px rgba(2, 86, 211, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
  animation: jhFloatAnim 4s ease-in-out infinite alternate;
}

.jh-float-badge.top-left {
  top: 48px;
  left: -24px;
}

.jh-float-badge.bottom-right {
  bottom: 24px;
  right: -24px;
  animation-delay: -2s;
}

@keyframes jhFloatAnim {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.jh-badge-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.jh-badge-icon-box.green {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.jh-badge-icon-box.blue {
  background: rgba(2, 86, 211, 0.25);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.jh-badge-text-title {
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.jh-badge-text-sub {
  font-size: 10.5px;
  color: #94a3b8;
  font-weight: 600;
}

@media (max-width: 991px) {
  .jh-float-badge.top-left {
    left: 8px;
    top: 36px;
  }
  .jh-float-badge.bottom-right {
    right: 8px;
    bottom: 16px;
  }
}

@media (max-width: 991px) {
  .jh-wd-hero-section {
    padding: 40px 16px 55px;
  }
  .jh-wd-hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .jh-wd-hero-right {
    width: 100%;
  }
  .jh-dashboard-card {
    max-width: 100%;
  }
  .jh-wd-stats-grid {
    gap: 25px;
  }
  .jh-demo-badge-btn {
    align-self: center;
  }
}

@media (max-width: 480px) {
  .jh-wd-hero-section {
    padding: 30px 14px 45px;
  }
  .jh-wd-trust-pill {
    padding: 6px 14px;
    font-size: 11.5px;
    gap: 6px;
    margin-bottom: 16px;
  }
  .jh-wd-eyebrow {
    font-size: 11px;
    letter-spacing: 1px;
    line-height: 1.4;
    word-break: break-word;
  }
  .jh-wd-title {
    font-size: clamp(22px, 6.8vw, 30px);
    line-height: 1.2;
    margin-bottom: 8px;
  }
  .jh-wd-tagline {
    font-size: clamp(17px, 5.2vw, 24px);
    line-height: 1.25;
    margin-bottom: 14px;
  }
  .jh-wd-desc {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 24px;
  }
  .jh-wd-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 28px;
  }
  .jh-wd-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    justify-content: center;
  }
  .jh-wd-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 18px;
  }
  .jh-stat-num {
    font-size: 21px;
    margin-bottom: 4px;
  }
  .jh-stat-lbl {
    font-size: 9px;
    letter-spacing: 0.5px;
  }
  .jh-dashboard-card {
    padding: 20px 14px 18px;
    border-radius: 20px;
  }
  .jh-dash-top {
    margin-bottom: 16px;
  }
  .jh-dash-status {
    font-size: 10px;
  }
  .jh-dash-loc {
    font-size: 10px;
    padding: 3px 8px;
  }
  .jh-dash-metrics {
    gap: 8px;
    margin-bottom: 16px;
  }
  .jh-metric-box {
    padding: 10px 6px;
    border-radius: 10px;
    text-align: center;
    align-items: center;
  }
  .jh-metric-lbl {
    font-size: 8.5px;
    letter-spacing: 0.2px;
    margin-bottom: 4px;
  }
  .jh-metric-val {
    font-size: 18px;
    margin-bottom: 2px;
  }
  .jh-metric-delta,
  .jh-metric-sub {
    font-size: 10px;
  }
  .jh-dash-enquiries {
    padding: 14px 12px;
    border-radius: 14px;
  }
  .jh-enquiry-header {
    margin-bottom: 10px;
  }
  .jh-enquiry-title {
    font-size: 12.5px;
  }
  .jh-enquiry-tag {
    font-size: 9.5px;
    padding: 3px 8px;
  }
  .jh-enquiry-list {
    gap: 7px;
  }
  .jh-enquiry-item {
    font-size: 11px;
    padding: 7px 10px;
  }
  .jh-demo-badge-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
  }
}

/* Specific micro-mobile optimizations for 320px - 360px */
@media (max-width: 360px) {
  .jh-wd-hero-section {
    padding: 24px 10px 40px;
  }
  .jh-wd-trust-pill {
    padding: 5px 10px;
    font-size: 10.5px;
    width: 100%;
    justify-content: center;
  }
  .jh-wd-title {
    font-size: 21px;
  }
  .jh-wd-tagline {
    font-size: 16.5px;
  }
  .jh-wd-desc {
    font-size: 13.5px;
  }
  .jh-wd-btn {
    padding: 11px 16px;
    font-size: 13px;
  }
  .jh-wd-stats-grid {
    gap: 8px;
  }
  .jh-stat-num {
    font-size: 19px;
  }
  .jh-stat-lbl {
    font-size: 8px;
    letter-spacing: 0.2px;
  }
  .jh-dashboard-card {
    padding: 16px 10px 16px;
  }
  .jh-metric-box {
    padding: 8px 3px;
  }
  .jh-metric-lbl {
    font-size: 7.5px;
  }
  .jh-metric-val {
    font-size: 16px;
  }
  .jh-metric-delta,
  .jh-metric-sub {
    font-size: 9px;
  }
  .jh-enquiry-item {
    font-size: 10.5px;
    padding: 6px 8px;
  }
}
