/* ============================================================
   Wiserdusk homepage — stable layout (no overlaps)
   Standalone stylesheet for index.html (style.css not loaded).
   ============================================================ */

:root {
  --hc-bg: #050816;
  --hc-surface: #0a1024;
  --hc-purple: #8b5cf6;
  --hc-pink: #ec4899;
  --hc-blue: #3b82f6;
  --hc-text: #fff;
  --hc-muted: rgba(255, 255, 255, 0.65);
  --hc-border: rgba(255, 255, 255, 0.12);
  --hc-font: 'Inter', system-ui, sans-serif;
  --hc-max: 1400px;
}

/* Homepage chrome resets (do not kill intentional hero floats / 3D laptop) */
body.page-home header.hc-nav {
  padding: 0 !important;
  background: rgba(5, 8, 22, 0.92) !important;
  box-shadow: none !important;
}

body.page-home header.hc-nav .logo {
  background: none !important;
  -webkit-text-fill-color: unset !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

html:has(body.page-home),
body.page-home {
  margin: 0 !important;
  padding: 0 !important;
  background: var(--hc-bg) !important;
  color: var(--hc-text) !important;
  font-family: var(--hc-font) !important;
  overflow-x: hidden !important;
}

body.page-home {
  padding-top: 88px !important;
}

body.page-home section {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  position: relative !important;
}

body.page-home section.hc-hero {
  display: flex !important;
}

body.page-home .hero,
body.page-home .how-it-works,
body.page-home .pricing,
body.page-home .stats {
  background: transparent !important;
  display: block !important;
  grid-template-columns: none !important;
}

/* ── Shell ── */
.hc-section {
  width: 100%;
  max-width: var(--hc-max);
  margin: 0 auto;
  padding: 80px 32px;
}

.hc-section__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  text-align: center;
  color: #fff !important;
}

.hc-section__sub,
.hc-section__kicker {
  text-align: center;
  color: var(--hc-muted) !important;
}

.hc-section__kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a78bfa !important;
}

.hc-section__sub {
  margin: 0 0 40px;
  font-size: 16px;
}

.hc-gradient {
  background: linear-gradient(135deg, var(--hc-purple), var(--hc-pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── NAV ── */
body.page-home header.hc-nav,
.hc-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 300 !important;
  height: 88px !important;
  display: block !important;
  padding: 0 !important;
  background: rgba(5, 8, 22, 0.92) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.hc-nav__inner {
  max-width: var(--hc-max);
  height: 88px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex !important;
  align-items: center;
  gap: 24px;
}

.hc-nav__logo {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff !important;
  flex-shrink: 0;
  line-height: 0;
  background: none !important;
}

.hc-nav__logo::before {
  content: none !important;
  display: none !important;
}

.hc-nav__logo img,
body.page-home .hc-nav__logo .brand-logo-img {
  display: block !important;
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.hc-nav__logo-text {
  display: none !important;
}

.hc-nav #mainNav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.hc-nav__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hc-nav__links a {
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  padding-bottom: 4px;
}

.hc-nav__links a[href="index.html"] {
  color: #fff !important;
  box-shadow: inset 0 -2px 0 #a78bfa;
}

.hc-nav .nav-drawer-close {
  display: none;
}

.hc-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.hc-nav__signin {
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff !important;
  font-weight: 600;
  cursor: pointer;
}

.hc-nav__cta {
  height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--hc-purple), var(--hc-pink));
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 900px) {
  .hc-nav__actions .hc-nav__cta {
    display: none !important;
  }
}

/* ── HERO: reference layout — copy | laptop+floats | auth ── */
.hc-hero {
  position: relative;
  background: #050816 !important;
  padding: 0 !important;
  height: calc(100svh - 88px);
  max-height: calc(100svh - 88px);
  min-height: 640px;
  display: flex !important;
  align-items: center;
  overflow: hidden !important;
}

.hc-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hc-hero__glow-purple {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 55% at 18% 30%, rgba(139, 92, 246, 0.45), transparent 55%);
}

.hc-hero__glow-pink {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 45% 50% at 88% 20%, rgba(236, 72, 153, 0.28), transparent 50%);
}

.hc-hero__glow-blue {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 45% at 55% 85%, rgba(59, 130, 246, 0.22), transparent 55%);
}

.hc-hero__floor {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -5%;
  height: 48%;
  background:
    linear-gradient(90deg, rgba(139, 92, 246, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(139, 92, 246, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(600px) rotateX(62deg);
  transform-origin: center bottom;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.55), transparent 85%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.55), transparent 85%);
}

.hc-hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.hc-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1480px;
  height: 100%;
  margin: 0 auto;
  padding: 16px 28px 24px;
  display: grid;
  grid-template-columns: minmax(300px, 1.05fr) minmax(340px, 1.15fr) minmax(300px, 0.88fr);
  gap: 20px 28px;
  align-items: center;
  box-sizing: border-box;
}

.hc-hero__col {
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hc-hero__col--dash {
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hc-hero__col--auth {
  z-index: 3;
  align-items: stretch;
}

.hc-hero__col--copy {
  z-index: 3;
}

.hero-left-panel {
  display: flex;
  flex-direction: column;
}

.hero-left-panel[hidden] {
  display: none !important;
}

.hc-hero__badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.08);
  color: #fbbf24;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hc-hero__title {
  margin: 14px 0 0;
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff !important;
}

.hc-hero__tagline {
  margin: 10px 0 0;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 700;
  color: #fff !important;
}

.hc-hero__body {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62) !important;
  max-width: 440px;
}

/* 3 horizontal feature cards like reference */
.hc-hero__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.hc-hero__feat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 0;
}

.hc-hero__feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.28);
  font-size: 16px;
  margin: 0 0 8px;
}

.hc-hero__feat strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.25;
}

.hc-hero__feat p {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
}

.hc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hc-hero__btn-primary {
  height: 48px;
  padding: 0 22px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #ec4899, #8b5cf6);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.35);
}

.hc-hero__btn-secondary {
  height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hc-hero__trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.hc-hero__avatars {
  display: flex;
}

.hc-hero__avatar {
  width: 30px;
  height: 30px;
  margin-left: -6px;
  border-radius: 50%;
  border: 2px solid #050816;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

.hc-hero__avatar:first-child {
  margin-left: 0;
}

.hc-hero__trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.3;
}

.hc-hero__trust-text strong {
  color: #fff;
}

.hc-hero__stars {
  color: #fbbf24;
  letter-spacing: 1px;
}

.hc-hero__switch {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  color: #a78bfa;
  text-decoration: none;
}

/* ── Center stage: floats stay INSIDE this box ── */
.hc-dash {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 36px 28px 20px;
  box-sizing: border-box;
}

.hc-dash__laptop {
  position: relative;
  z-index: 1;
  width: 100%;
  transform: perspective(900px) rotateY(-8deg) rotateX(4deg);
  transform-style: preserve-3d;
}

.hc-dash__lid {
  background: linear-gradient(180deg, #3f3f46, #18181b);
  border-radius: 14px 14px 4px 4px;
  padding: 10px 10px 6px;
  border: 1px solid rgba(167, 139, 250, 0.55);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.25),
    0 0 40px rgba(139, 92, 246, 0.45),
    0 24px 48px rgba(0, 0, 0, 0.55);
}

.hc-dash__bezel {
  border-radius: 6px;
  overflow: hidden;
  background: #0b1224;
}

.hc-dash__screen {
  width: 100%;
  min-height: 220px;
  background: linear-gradient(145deg, #0f172a 0%, #1e1b4b 55%, #312e81 100%);
  padding: 10px;
}

.hc-dash__head {
  display: flex;
  gap: 8px;
  font-size: 10px;
  color: rgba(15, 23, 42, 0.7);
  margin-bottom: 8px;
}

.hc-dash__live {
  margin-left: auto;
  color: #10b981;
  font-weight: 700;
}

.hc-dash__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}

.hc-dash__kpi {
  padding: 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hc-dash__kpi small {
  display: block;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.45);
}

.hc-dash__kpi strong {
  display: block;
  font-size: 12px;
  color: #fff;
}

.hc-dash__kpi em {
  font-size: 9px;
  font-style: normal;
  color: #10b981;
}

.hc-dash__charts {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 6px;
}

.hc-dash__chart {
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.hc-dash__chart small {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.45);
}

.hc-dash__big {
  margin: 12px 0 0;
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  color: #fff;
}

.hc-dash__bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 44px;
  margin-top: 6px;
}

.hc-dash__bars span {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #60a5fa, #8b5cf6);
  min-height: 6px;
}

.hc-dash__hinge {
  height: 6px;
  margin: 0 4%;
  background: linear-gradient(180deg, #52525b, #27272a);
  border-radius: 0 0 2px 2px;
}

.hc-dash__base {
  height: 14px;
  margin: 0 6%;
  background: linear-gradient(180deg, #3f3f46, #18181b);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

/* Floating KPI cards — absolute only inside .hc-dash */
.hc-float {
  position: absolute;
  z-index: 4;
  width: 148px;
  padding: 12px 12px 10px;
  border-radius: 14px;
  background: rgba(12, 18, 40, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.hc-float__label {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2px;
}

.hc-float__val {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}

.hc-float__val--green {
  color: #34d399;
}

.hc-float__sub {
  display: block;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

.hc-float__spark {
  display: block;
  width: 100%;
  height: 24px;
  margin-top: 6px;
}

.hc-float__bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
  margin-top: 6px;
}

.hc-float__bars span {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #60a5fa, #a78bfa);
}

.hc-float__ring {
  position: absolute;
  right: 10px;
  top: 28px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background:
    conic-gradient(#8b5cf6 0 68%, rgba(255, 255, 255, 0.12) 68% 100%);
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
}

.hc-float--revenue {
  top: 0;
  left: 0;
}

.hc-float--profit {
  top: 42%;
  left: -4px;
}

.hc-float--cash {
  bottom: 28px;
  right: 0;
}

.hc-float--forecast {
  top: 12px;
  right: 4px;
  width: 120px;
}

/* Auth panel — neon dual glow like reference */
.hc-auth {
  width: 100%;
  max-width: 400px;
  margin: 0 0 0 auto;
  padding: 22px 22px 18px;
  border-radius: 22px;
  background: rgba(8, 12, 32, 0.94);
  border: 1.5px solid transparent;
  background-clip: padding-box;
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.55),
    0 0 0 2px rgba(236, 72, 153, 0.25),
    0 0 48px rgba(59, 130, 246, 0.35),
    0 0 64px rgba(236, 72, 153, 0.2),
    0 24px 48px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: calc(100svh - 120px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.hc-auth .hero-auth-tabs {
  display: flex;
  height: 44px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hc-auth .hero-auth-tab {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  cursor: pointer;
}

.hc-auth .hero-auth-tab.active {
  color: #fff;
  border-bottom-color: #8b5cf6;
}

.hc-auth .hero-auth-form {
  display: none;
}

.hc-auth .hero-auth-form.active {
  display: block;
}

.hc-auth .signup-step {
  display: none;
}

.hc-auth .signup-step.active {
  display: block;
}

.hc-auth label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.hc-auth .form-group {
  margin-bottom: 8px;
}

.hc-auth input,
.hc-auth select,
.hc-auth textarea {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--hc-border);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 14px;
}

.hc-auth textarea {
  height: auto;
  min-height: 72px;
  padding: 10px 12px;
}

.hc-auth .hero-auth-submit {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--hc-purple), var(--hc-pink));
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.hc-auth .social-btn.google-auth {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font-weight: 600;
  cursor: pointer;
}

.hc-auth .social-btn--ms,
.hc-auth .social-btn--li {
  display: none;
}

.hc-auth .divider {
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  margin: 10px 0;
}

.hc-auth .password-input-wrap {
  position: relative;
}

.hc-auth .password-input-wrap input {
  padding-right: 60px;
}

.hc-auth .toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -10px;
  background: none;
  border: none;
  color: #a78bfa;
  cursor: pointer;
  font-size: 12px;
}

.hc-auth .form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 12px;
}

.hc-auth .remember-me {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--hc-muted);
}

.hc-auth .remember-me input {
  width: auto;
  height: auto;
}

.hc-auth .forgot-password {
  color: #a78bfa;
}

.hc-auth .signup-step-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.hc-auth .signup-back-btn {
  height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--hc-border);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.hc-auth .bio-template-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.hc-auth .bio-template-btn {
  text-align: left;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--hc-border);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  cursor: pointer;
}

.hc-auth .signup-step-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--hc-muted);
}

.hc-auth .signup-step-dots {
  display: flex;
  gap: 6px;
}

.hc-auth .signup-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.hc-auth .signup-step-dot.active {
  background: var(--hc-purple);
}

.hc-auth .hd-auth-legal {
  font-size: 11px;
  color: var(--hc-muted);
  text-align: center;
}

.hc-auth .hd-auth-legal a {
  color: #a78bfa;
}

.hc-auth .hero-loggedin-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.hc-auth .hero-loggedin-actions .cta-button {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--hc-purple), var(--hc-pink));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.hc-auth .hero-loggedin-secondary {
  background: transparent !important;
  border: 1px solid var(--hc-border);
}

.hc-auth .hero-loggedin-links a {
  color: #a78bfa;
}

/* ── HOW IT WORKS ── */
.hc-hiw {
  background: #050816 !important;
}

.hc-hiw__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
}

.hc-hiw__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  font-size: 22px;
  opacity: 0.75;
  padding: 0 2px;
  user-select: none;
}

.hc-hiw__card {
  padding: 24px 20px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.hc-hiw__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: rgba(139, 92, 246, 0.22);
  margin: 8px 0 12px;
}

.hc-hiw__num {
  font-size: 12px;
  font-weight: 800;
  color: #a78bfa;
  letter-spacing: 0.1em;
}

.hc-hiw__card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #fff !important;
}

.hc-hiw__card p {
  margin: 0;
  font-size: 13px;
  color: var(--hc-muted) !important;
  line-height: 1.5;
}

.hc-hiw .hiw-carousel {
  display: none !important;
}

/* ── PRICING (reference: clean dark cards, one slider line) ── */
.hc-pricing {
  background: #050816 !important;
  position: relative;
  overflow: hidden;
}

.hc-pricing::before {
  content: none !important;
  display: none !important;
}

.hc-pricing .pb-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  width: 100% !important;
  align-items: stretch !important;
}

.hc-pricing .pb-col {
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  transform: none !important;
  background: #0b1228 !important;
  color: #fff !important;
  border-radius: 20px !important;
  border: 1px solid rgba(139, 92, 246, 0.4) !important;
  padding: 28px 20px 22px !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.08), 0 16px 40px rgba(0, 0, 0, 0.35) !important;
}

.hc-pricing .pb-col--featured {
  border-color: rgba(167, 139, 250, 0.95) !important;
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.55),
    0 0 36px rgba(139, 92, 246, 0.4),
    0 16px 40px rgba(0, 0, 0, 0.4) !important;
}

.hc-pricing .pb-col--locked {
  border-color: rgba(251, 191, 36, 0.55) !important;
  box-shadow: 0 0 28px rgba(251, 191, 36, 0.15) !important;
  opacity: 1;
}

.hc-pricing .pb-col--consult {
  border-color: rgba(236, 72, 153, 0.45) !important;
}

.hc-pricing .pb-popular {
  position: absolute !important;
  top: 12px !important;
  left: 50% !important;
  right: auto !important;
  width: auto !important;
  min-width: 110px;
  margin: 0 !important;
  transform: translateX(-50%) !important;
  text-align: center;
  background: linear-gradient(90deg, #8b5cf6, #6366f1) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em;
  z-index: 2;
}

.hc-pricing .pb-col--featured {
  padding-top: 36px !important;
}

.hc-pricing .pb-title,
.hc-pricing .pb-price,
.hc-pricing .pb-credit-val {
  color: #fff !important;
}

.hc-pricing .pb-sub,
.hc-pricing .pb-features li,
.hc-pricing .pb-equiv {
  color: rgba(255, 255, 255, 0.68) !important;
}

.hc-pricing .pb-grid.pb-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.hc-pricing .pb-phase {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a78bfa !important;
  margin-bottom: 8px;
}

.hc-pricing .pb-soon {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24 !important;
  font-size: 11px;
  font-weight: 700;
}

.hc-pricing .pb-icon,
.hc-pricing .pb-plan-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.22);
  font-size: 20px;
}

.hc-pricing .pb-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
}

.hc-pricing .pb-sub {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.45;
}

.hc-pricing .pb-credit-box {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}

.hc-pricing .pb-credit-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 6px;
}

.hc-pricing .pb-credit-val {
  font-weight: 800;
  font-size: 15px;
}

.hc-pricing .pb-equiv {
  margin: 0 0 12px;
  font-size: 12px;
}

/* ONE clean slider: custom track only + transparent native track + pink thumb */
.hc-pricing .pb-slider-wrap {
  position: relative;
  height: 24px;
  margin: 4px 0 10px;
  display: flex;
  align-items: center;
}

.hc-pricing .pb-slider-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 6px;
  margin-top: -3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hc-pricing .pb-slider-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6) !important;
  max-width: 100%;
}

.hc-pricing .pb-slider {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 24px;
  margin: 0;
  padding: 0;
  background: transparent !important;
  cursor: pointer;
  -webkit-appearance: none !important;
  appearance: none !important;
  accent-color: #ec4899;
}

/* Kill native track so it cannot draw a second red/blue line */
.hc-pricing .pb-slider::-webkit-slider-runnable-track {
  height: 6px;
  border: none !important;
  border-radius: 999px;
  background: transparent !important;
  box-shadow: none !important;
}

.hc-pricing .pb-slider::-moz-range-track {
  height: 6px;
  border: none !important;
  border-radius: 999px;
  background: transparent !important;
  box-shadow: none !important;
}

.hc-pricing .pb-slider::-moz-range-progress {
  background: transparent !important;
  height: 6px;
}

.hc-pricing .pb-slider::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 18px;
  height: 18px;
  margin-top: -6px;
  border-radius: 50%;
  background: #ec4899 !important;
  border: 3px solid #fff !important;
  box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.35), 0 4px 10px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.hc-pricing .pb-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ec4899 !important;
  border: 3px solid #fff !important;
  box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.35);
  cursor: pointer;
}

.hc-pricing .pb-ticks {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  margin-top: 2px;
}

.hc-pricing .pb-tick {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  cursor: pointer;
  padding: 0;
}

.hc-pricing .pb-tick.is-active {
  color: #fff;
  font-weight: 700;
}

.hc-pricing .pb-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 16px;
}

.hc-pricing .pb-price {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.hc-pricing .pb-currency {
  font-size: 18px;
  margin-right: 2px;
}

.hc-pricing .pb-price-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5) !important;
}

.hc-pricing .pb-cta {
  width: 100% !important;
  height: 48px !important;
  margin-top: 0 !important;
  border: none !important;
  border-radius: 12px !important;
  background: linear-gradient(90deg, #8b5cf6, #ec4899) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  box-shadow: 0 8px 20px rgba(236, 72, 153, 0.25) !important;
}

.hc-pricing .pb-features {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hc-pricing .pb-features li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
}

.hc-pricing .pb-check {
  color: #10b981;
  flex-shrink: 0;
}

.hc-pricing .pb-platform-note,
.hc-pricing .pb-link {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: #a78bfa !important;
}

.hc-pricing .pb-cta--locked {
  opacity: 0.65;
  cursor: not-allowed !important;
  background: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

.hc-pricing a.pb-cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.hc-pricing .pricing-toggle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.hc-pricing .pricing-toggle-bar {
  display: inline-flex;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hc-pricing .pb-billing-btn {
  position: relative;
  z-index: 1;
  padding: 10px 24px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  cursor: pointer;
  border-radius: 999px;
}

.hc-pricing .pb-billing-btn.is-active {
  color: #fff;
}

.hc-pricing .pb-billing-indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: linear-gradient(90deg, #8b5cf6, #3b82f6);
  border-radius: 999px;
  transition: transform 0.25s ease;
}

.hc-pricing .pricing-toggle-bar.is-annual .pb-billing-indicator {
  transform: translateX(100%);
}

.hc-pricing .pricing-save-note {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.hc-pricing__note {
  text-align: center;
  margin-top: 20px;
}

.hc-pricing__note a {
  color: #a78bfa;
}

/* ── EXPERTS ── */
.hc-experts {
  background: var(--hc-bg) !important;
}

.hc-experts__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hc-experts__head h2 {
  margin: 0 0 6px;
  font-size: 28px;
  color: #fff !important;
  text-align: left;
}

.hc-experts__head p {
  margin: 0;
  color: var(--hc-muted) !important;
  font-size: 14px;
}

.hc-experts__more {
  color: #a78bfa;
  text-decoration: none;
  font-weight: 600;
}

.hc-experts__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hc-experts .home-expert-card {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 18px !important;
  min-height: 140px;
  border-radius: 16px !important;
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid var(--hc-border) !important;
  text-decoration: none !important;
  color: #fff !important;
}

.hc-experts .home-expert-photo {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  object-fit: cover;
  flex: 0 0 72px;
}

.hc-experts .home-expert-photo-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
}

.hc-experts .home-expert-verified {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10b981;
  color: #fff;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hc-experts .home-expert-body h3 {
  margin: 4px 0;
  font-size: 15px;
  color: #fff !important;
}

.hc-experts .home-expert-industry {
  font-size: 11px;
  color: #a78bfa;
  font-weight: 700;
  text-transform: uppercase;
}

.hc-experts .home-expert-title,
.hc-experts .home-expert-meta,
.hc-experts .home-expert-fee {
  margin: 2px 0;
  font-size: 12px;
  color: var(--hc-muted) !important;
}

.hc-experts .home-expert-star {
  color: #fbbf24;
}

.hc-experts .home-experts-arrow {
  display: none !important;
}

/* ── STATS ── */
.hc-stats {
  background: var(--hc-bg) !important;
}

.hc-stats .hc-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.hc-stats__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.hc-stats__card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  min-height: 100px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--hc-border);
}

.hc-stats__icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: rgba(139, 92, 246, 0.2);
}

.hc-stats__num {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.hc-stats__label {
  margin-top: 4px;
  font-size: 12px;
  color: var(--hc-muted);
}

.hc-stats .trust-carousel {
  display: none !important;
}

/* ── FOOTER ── */
body.page-home footer.hc-footer,
.hc-footer {
  display: block !important;
  visibility: visible !important;
  background: #0a1024 !important;
  color: #fff !important;
  padding: 56px 32px 32px !important;
  width: 100%;
}

.hc-footer__inner {
  max-width: var(--hc-max);
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 28px;
  align-items: start;
}

.hc-footer__logo {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 800;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
}

.hc-footer__brand p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55) !important;
}

.hc-footer__social {
  display: flex;
  gap: 10px;
}

.hc-footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75) !important;
}

.hc-footer__col h3 {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff !important;
}

.hc-footer__col a {
  display: block;
  color: rgba(255, 255, 255, 0.55) !important;
  text-decoration: none;
  font-size: 14px;
  line-height: 2;
}

.hc-footer__notice {
  max-width: var(--hc-max);
  margin: 0 auto 20px;
  width: 100%;
  box-sizing: border-box;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-left: 3px solid #fbbf24;
}

.hc-footer__notice h4 {
  margin: 0 0 8px;
  font-size: 13px;
  color: #fbbf24 !important;
}

.hc-footer__notice p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55) !important;
}

.hc-footer__bar {
  max-width: var(--hc-max);
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hc-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hc-footer__links a {
  color: rgba(255, 255, 255, 0.5) !important;
  text-decoration: none;
  font-size: 13px;
}

.hc-footer__copy {
  margin: 0 0 0 auto;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45) !important;
}

/* visitor modal */
.visitor-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  padding: 24px;
}

.visitor-modal[hidden] {
  display: none !important;
}

.visitor-modal-card {
  width: 100%;
  max-width: 460px;
  padding: 28px;
  border-radius: 18px;
  background: #0f172a;
  border: 1px solid var(--hc-border);
  color: #fff;
}

.visitor-choice-btn {
  display: block;
  width: 100%;
  text-align: left;
  margin-top: 12px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--hc-border);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
}

.visitor-choice-btn strong {
  display: block;
  margin-bottom: 4px;
}

.visitor-choice-btn span {
  font-size: 13px;
  color: var(--hc-muted);
}

body.visitor-consumer .merchant-only {
  display: none !important;
}

body.visitor-merchant .consumer-only {
  display: none !important;
}

html.wd-app-mode body.page-home,
html.wd-app-mode body.page-home header,
html.wd-app-mode body.page-home footer.hc-footer {
  display: block !important;
}

.hc-auth .signup-wizard[hidden] {
  display: none !important;
}

.hc-auth .signup-wizard:not([hidden]) {
  display: block;
}

.hc-auth .bio-step-lead {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--hc-muted);
}

.hc-auth .signup-step-actions--stacked {
  flex-direction: column;
}

.hc-auth .signup-terms-row {
  width: 100%;
  margin-bottom: 8px;
}

.hc-auth .hero-auth-footer {
  margin-top: 8px;
}

.hc-auth select option {
  background: #0f172a;
  color: #fff;
}

.hc-auth .error,
.hc-auth .form-error,
.hc-auth .auth-error {
  color: #f87171;
  font-size: 12px;
  margin-top: 6px;
}

/* Ensure sections never stack on top of each other */
.hc-hero,
.hc-hiw,
.hc-pricing,
.hc-experts,
.hc-stats,
.hc-footer {
  clear: both;
  isolation: isolate;
  overflow: visible;
}

.hc-hero {
  overflow: hidden !important;
}

/* ── Responsive: stack cleanly, never overlap ── */
@media (max-width: 1100px) {
  .hc-hero {
    height: auto;
    max-height: none;
    min-height: 0;
    padding: 28px 0 48px !important;
    overflow: visible !important;
  }

  .hc-hero__inner {
    height: auto;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
  }

  .hc-hero__col#heroCenter {
    grid-column: 1 / -1;
    order: 3;
    max-width: 560px;
    margin: 0 auto;
  }

  .hc-dash__laptop {
    transform: none;
  }

  .hc-float--revenue { top: 8px; left: 8px; }
  .hc-float--profit { top: auto; bottom: 80px; left: 8px; }
  .hc-float--cash { bottom: 16px; right: 8px; }
  .hc-float--forecast { top: 8px; right: 8px; }

  .hc-auth {
    max-height: none;
    margin: 0 auto;
  }

  .hc-hiw__grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }

  .hc-hiw__arrow {
    display: none !important;
  }

  .hc-experts__track,
  .hc-pricing .pb-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .hc-stats__grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .hc-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .hc-hero__inner {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  .hc-hero__features {
    grid-template-columns: 1fr;
  }

  .hc-hero__col#heroCenter {
    order: 0;
  }

  .hc-float {
    position: static !important;
    width: auto;
    margin-bottom: 8px;
  }

  .hc-dash {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .hc-dash__laptop {
    order: -1;
  }

  .hc-hiw__grid,
  .hc-experts__track,
  .hc-stats__grid,
  .hc-pricing .pb-grid,
  .hc-footer__inner {
    grid-template-columns: 1fr !important;
  }

  .hc-hiw__arrow {
    display: none !important;
  }

  .hc-section {
    padding: 48px 20px;
  }
}
