:root {
  --home-bg: #F8F5EE;
  --ink: #0F1B2D;
  --ink-soft: #34445C;
  --page-bg: #F6F1E8;
  --surface: #FFFDF8;
  --surface-soft: #F9F6F0;
  --line: rgba(15, 27, 45, 0.10);
  --blue: #2563EB;
  --blue-deep: #14325C;
  --rose: #E86F8A;
  --coral: #FF8A65;
  --sage: #7BAE9E;
  --gold-soft: #D8B46A;
  --card-bg: var(--surface);
  --primary: var(--blue-deep);
  --primary-dark: #0F274B;
  --accent: var(--rose);
  --price-blue: var(--blue);
  --text-main: var(--ink);
  --text-muted: var(--ink-soft);
  --border-soft: var(--line);
  --shadow-soft: 0 18px 50px rgba(15, 27, 45, 0.08), 0 2px 8px rgba(15, 27, 45, 0.05);
  --shadow-card: 0 18px 50px rgba(15, 27, 45, 0.08), 0 2px 8px rgba(15, 27, 45, 0.05);
}

body {
  padding-top: 68px;
  background: var(--home-bg);
}

main.pb-3 {
  background: var(--home-bg);
  padding-bottom: 0 !important;
}

.app-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  min-height: 68px;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85),
    0 7px 18px rgba(15, 23, 42, 0.11),
    0 2px 0 rgba(15, 23, 42, 0.06);
}

.app-navbar .app-navbar-inner {
  min-height: 68px;
}

.landing-page {
  --header-h: 68px;
  --hero-h: clamp(640px, 76vh, 900px);
  --hero-stuck-visible: clamp(220px, 28vh, 320px);
  --hero-shift: 0px;
  --hero-curve-fill: var(--home-bg);
  overflow-x: hidden;
  padding-top: var(--hero-h);
  color: var(--text-main);
  background: var(--home-bg);
}

.landing-page *,
.landing-page *::before,
.landing-page *::after {
  box-sizing: border-box;
}

.landing-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.landing-hero {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  align-items: start;
  height: var(--hero-h);
  min-height: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  transform: translateY(var(--hero-shift));
  will-change: transform;
}

.landing-hero-grid {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
}

.hero-copy {
  display: none;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 152, 0, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-kicker::before,
.hero-tags span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-copy h1 {
  max-width: 530px;
  margin: 0;
  color: var(--text-main);
  font-size: clamp(2.45rem, 5vw, 4.45rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-copy h1 span {
  display: inline;
}

.hero-lead {
  max-width: 515px;
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  max-width: 100%;
  padding: 0 13px;
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.landing-btn:hover {
  transform: translateY(-1px);
}

.landing-btn-primary {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(20, 50, 92, 0.24);
}

.landing-btn-primary:hover {
  background: linear-gradient(180deg, #1f3048 0%, #17263a 100%);
  color: #fff;
}

.landing-btn-secondary {
  border: 1px solid rgba(37, 54, 77, 0.24);
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary);
}

.landing-btn-secondary:hover {
  background: rgba(243, 246, 250, 0.98);
  color: var(--primary);
}

.hero-visual {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-width: 0;
  height: var(--hero-h);
  max-height: none;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: none !important;
  transition: filter 260ms ease;
}

.landing-hero.is-pinned .hero-visual {
  filter:
    drop-shadow(0 10px 16px rgba(15, 23, 42, 0.13))
    drop-shadow(0 3px 5px rgba(15, 23, 42, 0.09)) !important;
}

.hero-image-clip {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: transparent;
  clip-path: url("#heroBottomCurve");
}

.hero-visual::before {
  content: none;
  opacity: 0;
}

.hero-visual::after {
  content: none;
  opacity: 0;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  clip-path: none;
}

.hero-photo::selection {
  background: transparent;
}

.hero-hotspot {
  position: absolute;
  z-index: 6;
  border: 0;
  border-radius: 22px;
  background: rgba(255, 152, 0, 0);
  cursor: pointer;
}

.hero-hotspot:focus-visible {
  outline: 3px solid rgba(255, 152, 0, 0.72);
  outline-offset: 4px;
}

.hero-hotspot-book {
  left: 7%;
  bottom: 17%;
  width: 18%;
  height: 16%;
}

.hero-hotspot-card {
  left: 39%;
  bottom: 18%;
  width: 21%;
  height: 18%;
}

.hero-hotspot-phone {
  right: 18%;
  top: 18%;
  width: 10%;
  height: 34%;
}

.hero-hotspot-tabs {
  left: 8%;
  top: 10%;
  width: 20%;
  height: 22%;
}

.hero-reveal-card {
  position: absolute;
  z-index: 8;
  left: var(--reveal-x, 22px);
  top: var(--reveal-y, auto);
  bottom: auto;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: min(82%, 360px);
  min-height: 112px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(0, 0) scale(0.12);
  transform-origin: var(--reveal-origin-x, 0%) var(--reveal-origin-y, 100%);
  transition:
    opacity 260ms ease,
    transform 720ms cubic-bezier(.16, 1.18, .22, 1.08);
}

.hero-visual.is-revealed .hero-reveal-card {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.hero-reveal-media {
  width: 74px;
  height: 74px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface-soft);
}

.hero-reveal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-reveal-copy {
  min-width: 0;
}

.hero-reveal-copy span {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-reveal-copy strong {
  display: block;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}

.hero-reveal-copy p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.83rem;
  line-height: 1.45;
}

.hero-carousel {
  display: none;
  position: relative;
  top: 50%;
  left: 7%;
  width: 78%;
  aspect-ratio: 760 / 460;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.18);
  transform: translateY(-35%);
  backdrop-filter: blur(4px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  opacity: 0.92;
}

.hero-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 16px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(37, 54, 77, 0.25);
}

.hero-dots button.active {
  width: 24px;
  border-radius: 999px;
  background: var(--primary);
}

.landing-section {
  padding: clamp(46px, 7vw, 86px) 0;
}

.pain-section {
  position: relative;
  z-index: 5;
  margin-top: 0;
  padding-top: 36px;
  background: var(--hero-curve-fill);
}

.pain-section::before {
  content: none;
}

.pain-section .landing-shell {
  position: relative;
  z-index: 1;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading h2,
.scene-intro h2,
.cta-panel h2 {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(1.72rem, 3vw, 2.45rem);
  font-weight: 900;
  line-height: 1.2;
}

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

.pain-card {
  position: relative;
  z-index: 6;
  min-height: 210px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.pain-card:nth-child(2) {
  margin-top: 24px;
}

.pain-card:nth-child(3) {
  margin-top: 48px;
}

.pain-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 54px rgba(15, 27, 45, 0.10), 0 4px 12px rgba(15, 27, 45, 0.06);
}

.pain-number {
  display: block;
  margin-bottom: 32px;
  color: rgba(15, 27, 45, 0.16);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.pain-card::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 88px;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rose), var(--gold-soft));
}

.pain-card h3,
.step-item h3,
.scene-grid h3 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 1.12rem;
  font-weight: 900;
}

.pain-card p,
.step-item p,
.scene-grid p,
.scene-intro p,
.cta-panel p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.75;
}

.steps-section {
  position: relative;
  z-index: 6;
  background: rgba(255, 253, 248, 0.42);
}

@media (min-width: 1024px) {
  .steps-section {
    padding-top: clamp(0px, calc(7vw - 48px), 38px);
  }
}

.steps-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.steps-flow::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 31px;
  height: 2px;
  background: linear-gradient(90deg, rgba(20, 50, 92, 0.12), rgba(216, 180, 106, 0.58), rgba(232, 111, 138, 0.24));
}

.step-item {
  position: relative;
  z-index: 6;
  padding: 0 22px 6px;
}

.step-dot {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border: 8px solid #fff;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 14px 28px rgba(15, 27, 45, 0.12);
  color: #fff;
  font-size: 1.22rem;
  font-weight: 900;
}

.step-item:nth-child(2) .step-dot {
  background: var(--rose);
}

.step-item:nth-child(3) .step-dot {
  background: var(--price-blue);
}

.scene-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 32px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow-soft);
}

.scene-intro p {
  margin-top: 14px;
}

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

.scene-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
}

.scene-grid article:nth-child(2),
.scene-grid article:nth-child(3) {
  border-color: rgba(232, 111, 138, 0.22);
}

.landing-cta {
  padding: 28px 0 52px;
}

.cta-panel {
  position: relative;
  padding: clamp(30px, 5vw, 46px);
  overflow: hidden;
  border: 1px solid rgba(232, 111, 138, 0.18);
  border-radius: 20px;
  background:
    radial-gradient(circle at 86% 28%, rgba(232, 111, 138, 0.13), transparent 28%),
    linear-gradient(135deg, var(--surface) 0%, #FDF7F5 100%);
  box-shadow: var(--shadow-soft);
}

.cta-panel p {
  margin-top: 12px;
  margin-bottom: 22px;
}

.landing-disclaimer {
  padding: 0 0 34px;
  color: #7B8794;
  font-size: 0.84rem;
  line-height: 1.8;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .landing-btn,
  .pain-card {
    transition: none;
  }
}

@media (max-width: 820px) {
  body {
    padding-top: 60px;
  }

  .app-navbar {
    min-height: 60px;
  }

  .app-navbar .app-navbar-inner {
    min-height: 60px;
  }

  .landing-page {
    --header-h: 60px;
    --hero-h: clamp(420px, 58vh, 560px);
    --hero-stuck-visible: clamp(160px, 28vh, 220px);
  }

  .landing-shell {
    width: calc(100% - 28px);
    max-width: 720px;
  }

  .landing-hero-grid {
    width: 100%;
    max-width: none;
  }

  .landing-hero-grid,
  .scene-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-carousel {
    max-width: 680px;
    margin: 0 auto;
  }

  .pain-grid,
  .steps-flow {
    grid-template-columns: 1fr;
  }

  .pain-card,
  .pain-card:nth-child(2),
  .pain-card:nth-child(3) {
    min-height: auto;
    margin-top: 0;
  }

  .steps-flow::before {
    left: 31px;
    right: auto;
    top: 28px;
    bottom: 18px;
    width: 2px;
    height: auto;
  }

  .step-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 16px;
    padding: 0;
  }

  .step-dot {
    grid-row: span 2;
    margin-bottom: 0;
  }
}

@media (max-width: 520px) {
  .landing-page {
    --header-h: 60px;
    --hero-h: clamp(420px, 61vh, 500px);
    --hero-stuck-visible: clamp(150px, 24vh, 190px);
  }

  .landing-shell {
    width: calc(100% - 24px);
    max-width: 430px;
  }

  .hero-visual {
    width: 100vw;
    height: var(--hero-h);
    border-radius: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .landing-hero.is-pinned .hero-visual {
    filter:
      drop-shadow(0 7px 12px rgba(15, 23, 42, 0.11))
      drop-shadow(0 2px 4px rgba(15, 23, 42, 0.08)) !important;
  }

  .hero-visual::before {
    content: none;
  }

  .hero-visual::after {
    content: none;
  }

  .hero-photo {
    object-position: 44% 50%;
    clip-path: none;
  }

  .hero-copy h1 {
    max-width: 360px;
    font-size: clamp(2.05rem, 10vw, 2.55rem);
    line-height: 1.12;
  }

  .hero-copy h1 span {
    display: block;
  }

  .hero-tags {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-tags span {
    width: max-content;
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.75;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .landing-btn {
    min-height: 46px;
    width: 100%;
  }

  .hero-carousel {
    left: 5%;
    width: 86%;
    border-radius: 16px;
  }

  .hero-reveal-card {
    grid-template-columns: 62px minmax(0, 1fr);
    width: min(88%, 330px);
    min-height: 96px;
    padding: 10px;
    border-radius: 14px;
  }

  .hero-reveal-media {
    width: 62px;
    height: 62px;
  }

  .hero-reveal-copy strong {
    font-size: 0.92rem;
  }

  .hero-reveal-copy p {
    font-size: 0.76rem;
  }

  .hero-slide img {
    border-radius: 16px;
  }

  .hero-dots {
    bottom: 10px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .pain-section {
    margin-top: 0;
    padding-top: 32px;
  }

  .pain-section::before {
    width: calc(100vw - 28px);
    height: 52px;
  }

  .scene-grid {
    grid-template-columns: 1fr;
  }

  .scene-panel,
  .cta-panel {
    border-radius: 14px;
  }
}
