/* ============================================
   Home view — hero, promise strip, goal grid,
   journey timeline, feature bento
   ============================================ */

.demo-image {
  height: 255px;
  border-radius: 20px;
  background: linear-gradient(145deg,#dce4ed,#f4f7fa);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.demo-facts small {
  display: block;
  font-size: 9px;
  letter-spacing: .12em;
  color: #8a94a6;
  font-weight: 900;
}

.hero-v2 {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: 70px;
  padding: 84px clamp(24px,6vw,100px) 70px;
  position: relative;
  overflow: hidden;
}

.hero-v2:before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle,var(--brand-soft),rgba(255,240,234,0) 70%);
  left: -160px;
  top: 10px;
  pointer-events: none;
}

.hero-copy-v2 {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
  color: #4e596d;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(255,107,53,.12);
}

.hero-copy-v2 h1 {
  font-size: clamp(54px,7vw,96px);
  line-height: .94;
  letter-spacing: -.07em;
  margin: 24px 0 26px;
  max-width: 900px;
}

.hero-copy-v2 h1 span {
  color: var(--brand);
}

.hero-lede {
  font-size: 20px;
  line-height: 1.6;
  color: #566177;
  max-width: 720px;
  margin: 0 0 32px;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 720px;
}

.primary-action,.secondary-action {
  min-height: 86px;
  border-radius: 18px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.primary-action {
  border: 0;
  background: var(--ink);
  color: white;
  box-shadow: 0 17px 40px rgba(11,18,32,.22);
}

.secondary-action {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.action-icon {
  width: 43px;
  height: 43px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 25px;
  font-weight: 500;
}

.primary-action .action-icon {
  background: var(--lime);
  color: var(--ink);
}

.secondary-action .action-icon {
  background: #eff2f7;
}

.hero-actions strong {
  display: block;
  font-size: 17px;
}

.hero-actions small {
  display: block;
  margin-top: 4px;
  color: #aeb7c8;
}

.secondary-action small {
  color: var(--muted);
}

.arrow {
  font-size: 22px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  color: #536075;
  font-size: 13px;
  font-weight: 700;
}

.hero-demo-card {
  width: min(100%,520px);
  justify-self: end;
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 16px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
  position: relative;
}

.hero-demo-card:before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 2px solid var(--ink);
  border-radius: 28px;
  z-index: -1;
}

.demo-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 2px 12px;
}

.mower-art:before {
  content: "";
  width: 170px;
  height: 88px;
  background: #596779;
  border-radius: 22px 48px 20px 26px;
  position: absolute;
  box-shadow: -60px 55px 0 -40px #1d283a,70px 52px 0 -42px #1d283a;
}

.mower-art:after {
  content: "";
  width: 10px;
  height: 145px;
  background: #475569;
  position: absolute;
  transform: rotate(-35deg);
  right: 125px;
  top: 15px;
  border-radius: 6px;
}

.mower-art>span {
  font-size: 38px;
  position: relative;
  z-index: 2;
  color: var(--lime);
}

.image-tag {
  position: absolute!important;
  left: 14px;
  bottom: 14px;
  font-size: 11px!important;
  background: rgba(11,18,32,.82);
  color: white!important;
  padding: 7px 9px;
  border-radius: 9px;
}

.demo-body {
  padding: 18px 8px 6px;
}

.demo-body h3 {
  font-size: 24px;
  letter-spacing: -.04em;
  margin: 7px 0 14px;
}

.demo-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.demo-price strong {
  font-size: 33px;
}

.demo-price span {
  color: var(--muted);
  font-size: 13px;
}

.demo-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.demo-facts div {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px;
}

.demo-facts strong {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}

.demo-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.promise-strip {
  margin: 0 clamp(24px,6vw,100px) 90px;
  border-radius: 22px;
  background: var(--ink);
  color: white;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  overflow: hidden;
}

.promise-strip div {
  padding: 25px 26px;
  border-right: 1px solid rgba(255,255,255,.12);
}

.promise-strip div:last-child {
  border-right: 0;
}

.promise-strip strong {
  display: block;
  color: var(--lime);
  font-size: 22px;
}

.promise-strip span {
  display: block;
  color: #bdc6d7;
  margin-top: 5px;
  font-size: 12px;
}

.signature-section,.journey-section,.feature-bento {
  padding: 80px clamp(24px,6vw,100px);
}

.section-heading {
  max-width: 750px;
  margin-bottom: 36px;
}

.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  font-size: clamp(36px,5vw,58px);
  letter-spacing: -.055em;
  line-height: 1.02;
  margin: 10px 0 15px;
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

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

.goal-card {
  border: 1px solid var(--line);
  background: white;
  border-radius: 22px;
  padding: 28px;
  text-align: left;
  min-height: 230px;
  transition: .2s ease;
}

.goal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #c8d0dc;
}

.goal-card.featured {
  background: var(--ink);
  color: white;
}

.goal-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #eef2f7;
  display: grid;
  place-items: center;
  font-weight: 950;
  font-size: 20px;
  margin-bottom: 24px;
}

.goal-card.featured .goal-icon {
  background: var(--lime);
  color: var(--ink);
}

.goal-card strong {
  display: block;
  font-size: 22px;
  letter-spacing: -.03em;
}

.goal-card p {
  color: var(--muted);
  line-height: 1.5;
}

.goal-card.featured p {
  color: #bbc4d4;
}

.goal-card small {
  display: inline-block;
  margin-top: 9px;
  font-weight: 800;
  color: var(--brand);
}

.goal-card.featured small {
  color: var(--lime);
}

.journey-section {
  background: white;
  max-width: none;
}

.journey-section>* {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

.journey-track {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  margin-top: 45px;
}

.journey-step {
  text-align: center;
}

.journey-step>span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef1f6;
  margin: 0 auto 12px;
  font-weight: 900;
}

.journey-step.active>span {
  background: var(--brand);
  color: white;
  box-shadow: 0 0 0 8px var(--brand-soft);
}

.journey-step strong {
  display: block;
}

.journey-step small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.journey-line {
  height: 2px;
  background: #dfe4eb;
  transform: translateY(-18px);
}

.feature-bento {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
}

.bento-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  min-height: 280px;
}

.bento-wide {
  grid-column: span 2;
}

.bento-card h3 {
  font-size: 30px;
  letter-spacing: -.04em;
  margin: 8px 0 10px;
}

.bento-card p {
  color: var(--muted);
  line-height: 1.55;
  max-width: 700px;
}

.cost-example {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 26px;
  flex-wrap: wrap;
}

.cost-example>div {
  background: #f4f6f9;
  border-radius: 14px;
  padding: 14px 18px;
  min-width: 145px;
}

.cost-example small {
  display: block;
  font-size: 9px;
  font-weight: 900;
  color: #7d8799;
  letter-spacing: .1em;
}

.cost-example strong {
  font-size: 24px;
}

.cost-example .cost-total {
  background: var(--ink);
  color: white;
}

.cost-example .cost-total small {
  color: #bac3d1;
}

.mini-calendar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.mini-calendar span {
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}

.mini-calendar .selected {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

.qr-demo {
  margin-top: 20px;
  width: 150px;
  height: 118px;
  border: 10px solid white;
  outline: 1px solid var(--line);
  border-radius: 10px;
  background: repeating-linear-gradient(45deg,#111 0 7px,#fff 7px 14px);
  position: relative;
}

.qr-demo div {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 6px solid white;
  background: #111;
}

.qr-demo div:nth-child(1) {
  left: 5px;
  top: 5px;
}

.qr-demo div:nth-child(2) {
  right: 5px;
  top: 5px;
}

.qr-demo div:nth-child(3) {
  left: 5px;
  bottom: 5px;
}

.qr-demo span {
  position: absolute;
  left: 155px;
  top: 42px;
  white-space: nowrap;
  font-weight: 900;
  font-size: 20px;
}

.recovery-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.recovery-flow span {
  background: #f3f5f8;
  border: 1px solid var(--line);
  padding: 13px 16px;
  border-radius: 12px;
  font-weight: 800;
}

.recovery-flow b {
  color: var(--brand);
}

@media (max-width:1100px) {
  .hero-v2 {
      grid-template-columns: 1fr;
      gap: 45px;
  }
  .hero-demo-card {
      justify-self: start;
      max-width: 560px;
  }
}

@media (max-width:800px) {
  .hero-v2 {
      padding: 55px 20px;
  }
  .hero-copy-v2 h1 {
      font-size: 55px;
  }
  .hero-actions {
      grid-template-columns: 1fr;
  }
  .hero-demo-card:before {
      display: none;
  }
  .promise-strip {
      margin: 0 20px 55px;
      grid-template-columns: 1fr 1fr;
  }
  .promise-strip div:nth-child(2) {
      border-right: 0;
  }
  .goal-grid,.feature-bento {
      grid-template-columns: 1fr;
  }
  .bento-wide {
      grid-column: auto;
  }
  .journey-track {
      grid-template-columns: 1fr 1fr;
      gap: 20px;
  }
  .journey-line {
      display: none;
  }
}

@media (max-width:520px) {
  .hero-copy-v2 h1 {
      font-size: 46px;
  }
  .hero-lede {
      font-size: 16px;
  }
  .promise-strip {
      grid-template-columns: 1fr;
  }
  .promise-strip div {
      border-right: 0;
      border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .signature-section,.journey-section,.feature-bento {
      padding: 55px 18px;
  }
  .section-heading h2 {
      font-size: 39px;
  }
}
