@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Inter:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap');


.jh-hero {
  --navy:      #0A1628;
  --navy-mid:  #0F2040;
  --jhblue:    #1B4F8A;
  --sky:       #3AAEDF;
  --cyan:      #00D4FF;
  --white:     #F8FAFF;
  --jh-glass:  rgba(58,174,223,0.08);
  --jh-glass-b:rgba(58,174,223,0.18);
  --border:    rgba(0,212,255,0.2);
  --r:         12px;
  --r-lg:      20px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  font-family: 'Inter', sans-serif;
  color: var(--white);
  line-height: 1.6;
}

.jh-hero h1, .jh-hero h2, .jh-hero h3 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

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


.jh-hero {
  position: relative;
  min-height: auto;
  padding: 100px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.jh-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(27,79,138,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(0,212,255,0.12) 0%, transparent 60%),
    var(--navy);
  z-index: 0;
}

.jh-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}


.jh-hero-3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

.jh-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  padding-top: 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.jh-hero-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.08;
  margin-bottom: 1.2rem;
}

.jh-hero-title .jh-accent {
  background: linear-gradient(135deg, var(--sky), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.jh-hero-desc {
  font-size: 1.05rem;
  color: rgba(248,250,255,0.7);
  max-width: 480px;
  margin-bottom: 2rem;
  font-weight: 300;
}

.jh-hero-subline {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-family: 'Space Mono', monospace;
  font-size: 1rem;
  min-width: 28ch;
  max-width: 28ch;
  min-height: 1.3em;
  overflow: hidden;
}

#typer {
  display: inline-block;
  position: relative;
  white-space: nowrap;
  overflow: visible;
  padding-right: 1rem;
}

#typer::after {
  content: '|';
  position: absolute;
  right: 0;
  top: 0;
  color: var(--cyan);
  opacity: 1;
  animation: blinkCursor 0.8s steps(1) infinite;
}

@keyframes blinkCursor {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}


.jh-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.5rem;
}

.jh-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--r);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-transform: uppercase;
}

.jh-btn-primary {
  background: linear-gradient(135deg, var(--jhblue) 0%, var(--sky) 100%);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(58,174,223,0.35);
}
.jh-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,212,255,0.45);
}


.jh-hero-socials {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  justify-content: flex-start;
}

.jh-hero-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  border: 1.5px solid transparent;
  transition: var(--transition);
}

.jh-hero-social-btn.jh-youtube  { background: rgba(255,0,0,0.15);   border-color: rgba(255,0,0,0.35);   }
.jh-hero-social-btn.jh-tiktok   { background: rgba(37,244,238,0.12); border-color: rgba(37,244,238,0.35); }
.jh-hero-social-btn.jh-facebook { background: rgba(24,119,242,0.15); border-color: rgba(24,119,242,0.35); }

.jh-hero-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

.jh-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.jh-hero-card {
  position: relative;
  width: 380px;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--navy-mid), rgba(27,79,138,0.5));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,212,255,0.1);
}

.jh-hero-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.jh-hero-card-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--jhblue) 100%);
}

.jh-hero-card-placeholder svg {
  width: 80px; height: 80px;
  color: var(--sky);
  opacity: 0.5;
}

.jh-hero-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(10,22,40,0.95));
}

.jh-hero-card-overlay h3 { font-size: 1.1rem; color: var(--white); }
.jh-hero-card-overlay p  { font-size: 0.8rem; color: var(--sky); }


.jh-sound-toggle-btn {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(10, 22, 40, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 0;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.jh-sound-toggle-btn:hover {
  transform: scale(1.1);
  background: rgba(10, 22, 40, 0.85);
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(76, 201, 240, 0.35);
}

.jh-sound-toggle-btn:active { transform: scale(0.95); }

.jh-sound-icon {
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0;
  transform: scale(0.6) rotate(-15deg);
  transition: opacity 0.25s ease, transform 0.25s ease;
}


#icon-unmuted { opacity: 1; transform: scale(1) rotate(0deg); }
#icon-muted { opacity: 0; }
.jh-sound-toggle-btn.jh-is-muted #icon-unmuted { opacity: 0; transform: scale(0.6) rotate(15deg); }
.jh-sound-toggle-btn.jh-is-muted #icon-muted { opacity: 1; transform: scale(1) rotate(0deg); }

.jh-hero-stats {
  position: absolute;
  top: 1.2rem; right: -1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.jh-stat-chip {
  background: rgba(10,22,40,0.9);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  backdrop-filter: blur(10px);
  text-align: center;
  min-width: 90px;
}

.jh-stat-chip .jh-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}

.jh-stat-chip .jh-lbl {
  font-size: 0.65rem;
  color: rgba(248,250,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}


.jh-scroll-ind {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(248,250,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

.jh-scroll-ind .jh-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid var(--sky);
  border-bottom: 2px solid var(--sky);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}


@media (max-width: 900px) {
  .jh-hero-content {
    grid-template-columns: 1fr;
    padding-top: 7rem;
    padding-bottom: 3rem;
    text-align: center;
    gap: 2.5rem;
  }
  .jh-hero-desc { margin-left: auto; margin-right: auto; }
  .jh-hero-actions { justify-content: center; }
  .jh-hero-socials { justify-content: center; }
  .jh-hero-stats { position: static; flex-direction: row; margin-top: 1rem; justify-content: center; flex-wrap: wrap; }
  .jh-hero-card { width: 100%; max-width: 380px; margin: 0 auto; }
}


@media (max-width: 600px) {
  .jh-hero {
    min-height: auto;
    padding-bottom: 2rem;
  }
  .jh-hero-content {
    padding: 6.5rem 1.2rem 2rem;
    gap: 2rem;
  }
  .jh-hero-title { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .jh-hero-desc { font-size: 0.92rem; max-width: 100%; }
  .jh-hero-subline { font-size: 0.85rem; max-width: 100%; min-width: 0; }
  .jh-hero-actions { width: 100%; }
  .jh-hero-actions .jh-btn { width: 100%; justify-content: center; }
  .jh-hero-card { aspect-ratio: 4/5; }
  .jh-stat-chip { min-width: 78px; padding: 0.5rem 0.6rem; }
  .jh-stat-chip .jh-num { font-size: 1.15rem; }
  .jh-stat-chip .jh-lbl { font-size: 0.58rem; }
  .jh-scroll-ind { display: none; }
}


@media (max-width: 380px) {
  .jh-hero-title { font-size: 1.5rem; }
  .jh-hero-stats { gap: 0.5rem; }
  .jh-stat-chip { min-width: 68px; }
}

