/* The refreshed marketing layout is intentionally scoped to the home view.
   Shared navigation, sidebar and authenticated screens keep the original UI. */

#view-home {
  overflow: hidden;
}

#view-home .hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  align-items: center;
  gap: clamp(48px, 6vw, 74px);
  width: min(1120px, calc(100% - 52px));
  min-height: 560px;
  margin: 0 auto;
  padding: 56px 0 42px;
  text-align: left;
}

#view-home .hero::before {
  inset: -10% -20%;
  background: radial-gradient(circle at 83% 42%, rgba(255, 106, 0, .06), transparent 24rem);
}

#view-home .hero-copy { position: relative; z-index: 1; }

#view-home .lp-badge {
  margin: 0 0 25px;
  padding: 8px 12px;
  color: #b9babf;
  background: #0d0e10;
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

#view-home .lp-badge svg { color: var(--gold); }

#view-home .hero h1 {
  max-width: 600px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.75rem, 5vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -.065em;
  text-wrap: balance;
}

#view-home .hero h1 span { display: block; color: var(--gold); }
#view-home .hero-copy > p { max-width: 510px; margin: 22px 0 0; color: #8a8c93; font-size: .96rem; line-height: 1.7; }
#view-home .hero .btn-group { justify-content: flex-start; gap: 12px; margin-top: 32px; }
#view-home .hero .btn { font-size: .9rem; }
#view-home .hero .btn svg { width: 16px; height: 16px; }
#view-home .hero-rank { display: flex; align-items: center; gap: 8px; margin-top: 24px; color: #686b72; font-size: .78rem; }
#view-home .hero-rank strong { color: #d7d7d9; }
#view-home .hero-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(34, 197, 94, .08); }

#view-home .hero-console {
  position: relative;
  z-index: 1;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .105);
  border-radius: 22px;
  background: #101114;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .34);
  transform: none;
}

#view-home .hero-console::before { display: none; }
#view-home .hero-console-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 3px 15px; color: #777980; font-size: .62rem; font-weight: 800; letter-spacing: .1em; }
#view-home .hero-console-head span { display: flex; align-items: center; gap: 8px; }
#view-home .hero-console-head i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 15px rgba(255, 106, 0, .7); }
#view-home .hero-console-head b { padding: 5px 8px; color: var(--success); border: 1px solid rgba(34, 197, 94, .18); border-radius: 99px; background: rgba(34, 197, 94, .06); font-size: .56rem; }
#view-home .hero-console-balance { padding: 22px; border: 1px solid rgba(255, 255, 255, .085); border-radius: 16px; background: #0b0c0e; }
#view-home .hero-console-balance small,
#view-home .hero-console-balance span { display: block; color: #73757c; font-size: .66rem; }
#view-home .hero-console-balance small { font-weight: 800; letter-spacing: .1em; }
#view-home .hero-console-balance strong { display: block; margin: 8px 0 4px; color: var(--gold); font-size: 2rem; letter-spacing: -.05em; }
#view-home .hero-flow { display: grid; gap: 8px; margin-top: 10px; }
#view-home .hero-flow-row { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 12px 13px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 12px; background: #0b0c0e; }
#view-home .hero-flow-index { color: #505259; font-size: .66rem; font-weight: 800; }
#view-home .hero-flow-row strong,
#view-home .hero-flow-row small { display: block; }
#view-home .hero-flow-row strong { color: #d9d9db; font-size: .78rem; }
#view-home .hero-flow-row small { margin-top: 3px; color: #5f6269; font-size: .64rem; }
#view-home .hero-flow-row em { width: 18px; height: 18px; display: grid; place-items: center; color: #07110c; background: var(--success); border-radius: 50%; font-size: .65rem; font-style: normal; font-weight: 900; }
#view-home .hero-flow-row.active { border-color: rgba(255, 106, 0, .25); background: #0d0e10; }
#view-home .hero-flow-row.active em { background: transparent; border: 2px solid rgba(255, 106, 0, .25); border-top-color: var(--gold); animation: taskSpinner .8s linear infinite; }
#view-home .hero-flow-row b { color: var(--gold); font-size: .72rem; }
#view-home .hero-console-foot { display: flex; justify-content: center; gap: 20px; padding: 15px 4px 1px; color: #52545a; font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
#view-home .hero-console-foot span::before { content: '•'; margin-right: 7px; color: var(--gold); }

#view-home > .container { max-width: 1100px; padding-top: 0; }
#view-home .platform-bar { grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 10px 0 0; padding: 0; background: rgba(255, 255, 255, .08); border-radius: 16px; }
#view-home .pb-item { padding: 20px 14px; border: 0; border-radius: 0; background: #101114; }
#view-home .pb-item:first-child { border-radius: 15px 0 0 15px; }
#view-home .pb-item:last-child { border-radius: 0 15px 15px 0; }
#view-home .pb-num { color: #fff; font-size: 1.55rem; letter-spacing: -.045em; }
#view-home .pb-label { margin-top: 5px; color: #62646b; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
#view-home .section-heading { margin: 92px 0 34px; text-align: left; }
#view-home .section-heading h2 { max-width: 650px; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.045em; }
#view-home .section-heading p { margin-top: 9px; color: #777980; }
#view-home .features { grid-template-columns: repeat(2, 1fr); gap: 12px; }
#view-home .feature-card { min-height: 190px; padding: 24px; background: #101114; border-color: rgba(255, 255, 255, .085); border-radius: 20px; box-shadow: none; }
#view-home .feature-card::before { display: none; }
#view-home .feature-card:hover { border-color: rgba(255, 255, 255, .15); background: #131419; transform: translateY(-2px); box-shadow: none; }
#view-home .feature-card .icon-wrap { width: 42px; height: 42px; margin-bottom: 24px; background: var(--gold-dim); border-color: rgba(255, 106, 0, .16); border-radius: 12px; }
#view-home .feature-card h3 { font-size: 1.04rem; }
#view-home .feature-card p { max-width: 390px; margin-top: 9px; color: #777980; line-height: 1.7; }
#view-home .trust-strip { margin: 18px 0 0; padding: 18px; background: transparent; border-style: dashed; border-color: rgba(255, 255, 255, .1); }
#view-home .trust-item { color: #777980; }
#view-home .steps { gap: 10px; }
#view-home .step { min-height: 205px; padding: 26px 22px; text-align: left; background: #0a0b0d; border-color: rgba(255, 255, 255, .08); border-radius: 18px; }
#view-home .step::after { display: none; }
#view-home .step-num { width: 34px; height: 34px; margin: 0 0 34px; color: #111; background: var(--gold); border: 0; }
#view-home .step h3 { font-size: .95rem; }
#view-home .step p { margin-top: 8px; color: #71737a; }
#view-home .proof-section { margin-top: 96px; }
#view-home .proof-card { background: #0b0c0e; border-color: rgba(255, 255, 255, .09); border-radius: 20px; }
#view-home .cta-block { width: min(1124px, calc(100% - 56px)); margin: 92px auto 0; padding: 68px 30px; background: #0b0c0e; border: 1px solid rgba(255, 106, 0, .18); border-radius: 26px; }
#view-home .site-footer { margin-left: 0; padding: 30px 20px 40px; color: #494b50; background: transparent; border: 0; }

@media (max-width: 1100px) {
  #view-home .hero { grid-template-columns: minmax(0, 1fr) 390px; gap: 44px; }
  #view-home .hero h1 { font-size: clamp(2.8rem, 6vw, 4.4rem); }
}

@media (max-width: 820px) {
  #view-home .hero { grid-template-columns: 1fr; width: min(100% - 32px, 680px); min-height: 0; padding: 62px 0 36px; }
  #view-home .hero h1 { font-size: clamp(2.7rem, 11vw, 4.4rem); }
  #view-home .hero-console { width: min(100%, 520px); margin: 0 auto; }
  #view-home .platform-bar { grid-template-columns: repeat(2, 1fr); }
  #view-home .features { grid-template-columns: 1fr; }
  #view-home .steps { grid-template-columns: repeat(2, 1fr); }
  #view-home .cta-block { width: calc(100% - 32px); margin-top: 65px; }
}

@media (max-width: 560px) {
  #view-home .hero { width: calc(100% - 24px); padding-top: 42px; gap: 40px; }
  #view-home .hero h1 { max-width: 100%; font-size: clamp(2.15rem, 10.5vw, 2.65rem); line-height: 1.04; white-space: normal; text-wrap: wrap; }
  #view-home .hero-copy > p { margin-top: 20px; font-size: .92rem; }
  #view-home .hero .btn-group { align-items: stretch; flex-direction: column; }
  #view-home .hero .btn { justify-content: center; width: 100%; }
  #view-home .hero-copy,
  #view-home .hero-console,
  #view-home .hero-flow-row > div { min-width: 0; }
  #view-home .hero-console { width: 100%; padding: 12px; border-radius: 21px; }
  #view-home .hero-console-balance { padding: 20px; }
  #view-home .hero-console-balance strong { font-size: 1.9rem; }
  #view-home .hero-flow-row { grid-template-columns: 28px 1fr auto; gap: 8px; padding: 12px 10px; }
  #view-home .hero-console-foot { gap: 10px; }
  #view-home .platform-bar { gap: 6px; padding: 6px; }
  #view-home .pb-item { padding: 18px 8px; }
  #view-home .pb-num { font-size: 1.25rem; }
  #view-home .features,
  #view-home .steps { grid-template-columns: 1fr; }
  #view-home .feature-card,
  #view-home .step { padding: 20px 17px; }
  #view-home .section-heading { margin-top: 66px; }
  #view-home .steps { gap: 8px; }
  #view-home .step { min-height: 0; }
  #view-home .step-num { margin-bottom: 24px; }
  #view-home .trust-strip { grid-template-columns: repeat(2, 1fr); }
  #view-home .cta-block { padding: 46px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  #view-home .hero-console { transform: none; }
}
