/* ================================================
   hero.css — Hero Section
   LOKOTRE Platform — ARFF BDJ
   ================================================ */

.hero-section {
  position: relative;
  min-height: 100vh;
  background: var(--bg-base);
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* ── Background Circles ── */
.hero-bg-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-circle--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(230,57,70,0.18), transparent 65%);
  top: -180px; right: -120px;
}

.hero-circle--2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(67,97,238,0.14), transparent 65%);
  bottom: -80px; left: -80px;
}

.hero-circle--3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(247,127,0,0.10), transparent 65%);
  top: 40%; left: 40%;
}

/* ── Container ── */
.hero-container {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--navbar-h) + 2.5rem);
  padding-bottom: 5rem;
  width: 100%;
}

/* ════════════════════════════════════════
   HERO CONTENT — Kolom Kiri
   ════════════════════════════════════════ */

.hero-content {
  padding-right: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ── Badge ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(230, 57, 70, 0.07);
  border: 1px solid rgba(230, 57, 70, 0.18);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--c-primary-light);
  letter-spacing: 0.04em;
  width: fit-content;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--c-primary);
  border-radius: 50%;
  flex-shrink: 0;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(230, 57, 70, 0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(230, 57, 70, 0.0); }
}

/* ── Title ── */
.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--tx-1);
  margin: 0;
}

.hero-title-accent {
  background: linear-gradient(
    135deg,
    var(--c-primary)       0%,
    var(--c-primary-light) 50%,
    var(--c-orange)        100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Description ── */
.hero-desc {
  font-size: 0.98rem;
  color: var(--tx-2);
  line-height: 1.8;
  max-width: 460px;
  margin: 0;
}

/* ── Stats ── */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  position: relative;
  padding-left: 0.85rem;
}

.hero-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 2px;
  background: var(--c-primary);
  border-radius: 2px;
}

.hero-stat-number {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--tx-1);
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--tx-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── CTA Buttons ── */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  background: var(--c-primary);
  color: #fff !important;
  border: 1px solid var(--c-primary);
  padding: 0.72rem 1.6rem;
  border-radius: var(--r-md);
  font-size: 0.88rem;
  font-weight: 700;
  transition: var(--spring);
  box-shadow: var(--sh-red);
  text-decoration: none !important;
  white-space: nowrap;
}

.btn-hero-primary:hover {
  background: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(230, 57, 70, 0.45);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--tx-1) !important;
  border: 1px solid var(--bd-2);
  padding: 0.72rem 1.6rem;
  border-radius: var(--r-md);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--spring);
  text-decoration: none !important;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}
/* ════════════════════════════════════════
   AUDIO PLAYER
   ════════════════════════════════════════ */

.hero-audio {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bd);
  border-radius: var(--r-lg);
  padding: 1rem 1.25rem;
  backdrop-filter: blur(12px);
  max-width: 480px;
}

.audio-player {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.audio-btn {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--c-primary);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--spring);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(230, 57, 70, 0.4);
}

.audio-btn:hover {
  background: var(--c-primary-dark);
  transform: scale(1.1);
}

.audio-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.audio-title {
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--tx-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-controls-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.audio-progress {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 3px;
  background: var(--bg-input);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  border: none;
  min-width: 0;
}

.audio-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--c-primary);
  cursor: pointer;
  box-shadow: 0 0 4px rgba(230,57,70,0.5);
  transition: transform 0.15s ease;
}

.audio-progress::-webkit-slider-thumb:hover { transform: scale(1.3); }

.audio-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--c-primary);
  border: none;
  cursor: pointer;
}

.audio-time {
  font-size: 0.68rem;
  color: var(--tx-3);
  white-space: nowrap;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.audio-volume {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.audio-vol-icon {
  font-size: 0.72rem;
  color: var(--tx-3);
}

.audio-vol-slider {
  width: 65px !important;
  flex: none !important;
}

/* ════════════════════════════════════════
   HERO VISUAL — Kolom Kanan
   ════════════════════════════════════════ */

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-card-stack {
  position: relative;
  width: 300px;
  height: 300px;
}

/* ── Rotating Rings ── */
.hero-card-stack::before,
.hero-card-stack::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  pointer-events: none;
}

.hero-card-stack::before {
  width: 280px;
  height: 280px;
  border: 1px dashed rgba(230, 57, 70, 0.15);
  transform: translate(-50%, -50%);
  animation: ringRotate 18s linear infinite;
}

.hero-card-stack::after {
  width: 340px;
  height: 340px;
  border: 1px dashed rgba(67, 97, 238, 0.10);
  transform: translate(-50%, -50%);
  animation: ringRotate 26s linear infinite reverse;
}

@keyframes ringRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ── Main Card ── */
.hero-visual-card--main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-2));
  border: 1px solid var(--bd-2);
  border-radius: var(--r-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--sh-lg),
              0 0 40px rgba(230, 57, 70, 0.08);
  z-index: 2;
  animation: cardFloat 4s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
  50%       { transform: translate(-50%, -50%) translateY(-12px); }
}

.hvc-icon {
  width: 60px;
  height: 60px;
  background: rgba(230, 57, 70, 0.10);
  border: 1px solid rgba(230, 57, 70, 0.20);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--c-primary);
  margin: 0 auto 1rem;
  box-shadow: 0 0 20px rgba(230, 57, 70, 0.15);
}

.hvc-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--tx-1);
  margin-bottom: 0.2rem;
}

.hvc-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--tx-3);
  font-weight: 500;
}

/* ── Floating Cards ── */
.hero-visual-card--float {
  position: absolute;
  background: rgba(20, 28, 43, 0.90);
  border: 1px solid var(--bd-2);
  border-radius: var(--r-md);
  padding: 0.6rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--tx-2);
  backdrop-filter: blur(14px);
  white-space: nowrap;
  box-shadow: var(--sh-md);
  z-index: 3;
}

.hero-visual-card--float i { font-size: 0.95rem; }

.hero-visual-card--left {
  top: 10%;
  left: -30px;
  animation: floatLeft 3.5s ease-in-out infinite;
}

.hero-visual-card--right {
  bottom: 14%;
  right: -30px;
  animation: floatRight 4.2s ease-in-out infinite;
}

@keyframes floatLeft {
  0%, 100% { transform: translateY(0)   rotate(-1.5deg); }
  50%       { transform: translateY(-8px) rotate(0deg); }
}

@keyframes floatRight {
  0%, 100% { transform: translateY(0)    rotate(1.5deg); }
  50%       { transform: translateY(-10px) rotate(0deg); }
}

/* ── Watermark ── */
.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 6.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.018);
  letter-spacing: -0.05em;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

/* ── Scroll Indicator ── */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--c-primary);
  border-radius: 50%;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0);    opacity: 1; }
  50%       { transform: translateY(10px); opacity: 0.3; }
}

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */

@media (max-width: 991.98px) {
  .hero-content {
    padding-right: 0;
    align-items: center;
    text-align: center;
  }

  .hero-badge  { margin: 0 auto; }
  .hero-desc   { margin: 0 auto; text-align: center; }
  .hero-stats  { justify-content: center; }
  .hero-actions{ justify-content: center; }
  .hero-audio  { margin: 0 auto; }
}

@media (max-width: 575.98px) {
  .hero-title      { font-size: 2rem; }
  .hero-audio      { max-width: 100%; }
  .audio-vol-slider,
  .audio-vol-icon  { display: none; }
}