/* ==========================================================================
   ACX TOTALITY — How To Use Page
   ========================================================================== */

.htu-page {
  --htu-text: #ffffff;
  --htu-text-soft: #c9c7d6;
  --htu-muted: rgba(255, 255, 255, 0.65);
  --htu-card-bg: rgba(255, 255, 255, 0.03);
  --htu-card-border: rgba(255, 255, 255, 0.09);
  --htu-highlight: #38bdf8;
  --htu-link: #c084fc;
  min-height: 100vh;
  padding-top: 130px;
  position: relative;
  color: var(--htu-text);
  overflow-x: hidden;
}

[data-theme="light"] .htu-page {
  --htu-text: #0f172a;
  --htu-text-soft: #334155;
  --htu-muted: #64748b;
  --htu-card-bg: #ffffff;
  --htu-card-border: rgba(15, 23, 42, 0.08);
  --htu-highlight: #2563eb;
  --htu-link: #7c3aed;
}

/* Navbar active state for HOW TO USE */
.nav-link.active {
  color: #c084fc;
  font-weight: 700;
  text-shadow: 0 0 14px rgba(192, 132, 252, 0.8);
}

[data-theme="light"] .nav-link.active {
  color: #7c3aed;
  font-weight: 700;
  text-shadow: none;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.htu-hero-section {
  position: relative;
  padding: 40px 0 60px;
  text-align: center;
}

/* Luminous soft ambient gradient behind hero title */
.htu-hero-glow {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 960px;
  max-width: 95vw;
  height: 500px;
  background: radial-gradient(ellipse 75% 65% at 50% 35%, rgba(168, 85, 247, 0.32) 0%, rgba(99, 102, 241, 0.22) 40%, rgba(236, 72, 153, 0.15) 60%, transparent 80%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .htu-hero-glow {
  background: radial-gradient(ellipse 80% 70% at 50% 35%, rgba(216, 180, 254, 0.6) 0%, rgba(196, 181, 253, 0.45) 35%, rgba(191, 219, 254, 0.4) 65%, transparent 85%);
  filter: blur(45px);
}

.htu-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.htu-eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c084fc;
  margin-bottom: 24px;
  display: inline-block;
}

[data-theme="light"] .htu-eyebrow {
  color: #9333ea;
}

.htu-title {
  font-size: clamp(38px, 5.2vw, 64px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  text-transform: uppercase;
  color: var(--htu-text);
}

.htu-subtitle {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
  color: var(--htu-text-soft);
  max-width: 680px;
  margin: 0 auto 36px;
}

.htu-hero-cta {
  margin-bottom: 20px;
}

.htu-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: var(--radius-pill, 999px);
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.45), 0 4px 12px rgba(236, 72, 153, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.htu-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(168, 85, 247, 0.55), 0 6px 16px rgba(236, 72, 153, 0.4);
}

.htu-arrow-icon {
  transition: transform 0.25s ease;
}

.htu-btn-primary:hover .htu-arrow-icon {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Intro Highlight Card (Wider)
   -------------------------------------------------------------------------- */
.htu-intro-card {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 900px;
  width: 100%;
  margin: 56px auto 0;
  padding: 26px 36px;
  background: var(--htu-card-bg);
  border: 1px solid var(--htu-card-border);
  border-radius: 22px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  text-align: left;
}

[data-theme="light"] .htu-intro-card {
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
}

.htu-intro-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.4);
  font-size: 26px;
}

.htu-intro-text {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--htu-text);
  margin: 0;
}

.htu-text-highlight {
  color: var(--htu-highlight);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Timeline / Stepper Section (Wider with 2 Flowing Animation Dots)
   -------------------------------------------------------------------------- */
.htu-steps-section {
  padding: 80px 0 70px;
  position: relative;
}

.htu-section-head {
  text-align: center;
  margin-bottom: 60px;
}

.htu-section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--htu-text);
}

.htu-section-subtitle {
  font-size: 17px;
  color: var(--htu-muted);
}

.htu-timeline-wrap {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.htu-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

/* Vertical Connecting Line */
.htu-timeline-line {
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 21px;
  width: 2px;
  background: linear-gradient(180deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  z-index: 1;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.45);
}

/* Two flowing animation dots traveling down between steps 1-2-3-4-5 */
.htu-flowing-dot {
  position: absolute;
  left: -3.5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #a855f7;
  box-shadow: 0 0 12px 3px rgba(168, 85, 247, 0.9), 0 0 5px #ffffff;
  pointer-events: none;
}

.htu-dot-1 {
  animation: htuFlowDot 4.5s ease-in-out infinite;
}

.htu-dot-2 {
  animation: htuFlowDot 4.5s ease-in-out infinite 2.25s;
}

@keyframes htuFlowDot {
  0% {
    top: 0%;
    opacity: 0;
    transform: scale(0.6);
  }
  4% {
    opacity: 1;
    transform: scale(1);
  }
  96% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    top: 100%;
    opacity: 0;
    transform: scale(0.6);
  }
}

.htu-step-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  z-index: 2;
}

.htu-step-num {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.5), 0 0 24px rgba(147, 51, 234, 0.3);
  margin-top: -2px;
}

.htu-step-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
}

.htu-step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--htu-text);
  line-height: 1.3;
  margin: 0;
}

.htu-step-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--htu-muted);
  margin: 0;
}

.htu-link {
  color: var(--htu-link);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.htu-link:hover {
  opacity: 0.8;
}

/* --------------------------------------------------------------------------
   Need A Hand Callout Card (Wider with Vibrant Ambient Aura)
   -------------------------------------------------------------------------- */
.htu-help-section {
  padding: 60px 0 110px;
}

.htu-help-card {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 56px 64px;
  border-radius: 28px;
  background: var(--htu-card-bg);
  border: 1px solid var(--htu-card-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

[data-theme="light"] .htu-help-card {
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.07);
}

/* Soft atmospheric right-side gradient wash */
.htu-help-glow {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 600px;
  height: 420px;
  background: radial-gradient(ellipse 85% 75% at 75% 50%, rgba(168, 85, 247, 0.35) 0%, rgba(99, 102, 241, 0.28) 35%, rgba(236, 72, 153, 0.2) 65%, transparent 85%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .htu-help-glow {
  background: radial-gradient(ellipse 90% 80% at 75% 50%, rgba(216, 180, 254, 0.65) 0%, rgba(196, 181, 253, 0.5) 30%, rgba(191, 219, 254, 0.45) 60%, rgba(245, 208, 254, 0.25) 75%, transparent 90%);
  filter: blur(35px);
}

.htu-help-content {
  position: relative;
  z-index: 1;
  max-width: 580px;
}

.htu-help-title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--htu-text);
}

.htu-help-subtitle {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--htu-muted);
  margin: 0;
}

.htu-help-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 260px;
}

.htu-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  border-radius: var(--radius-pill, 999px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--htu-text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.htu-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

[data-theme="light"] .htu-btn-outline {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.16);
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .htu-btn-outline:hover {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.35);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .htu-page {
    padding-top: 110px;
  }

  .htu-help-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
    gap: 28px;
  }

  .htu-help-actions {
    width: 100%;
  }

  .htu-intro-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .htu-timeline-wrap {
    padding: 0 10px;
  }
}
