.hero-section {
  min-height: 100svh;
  background: var(--white);
}

.hero-section::before {
  position: absolute;
  inset: 0 0 0 54%;
  background: var(--primary-pale);
  content: "";
}

.hero-visual,
.notes-demo,
.explore-demo,
.connect-demo {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}

.hero-visual {
  aspect-ratio: 1 / 0.94;
}

.map-surface,
.explore-map {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid var(--primary-line);
  border-radius: 36px;
  background: #f5f8fc;
  box-shadow: var(--shadow);
}

.map-road {
  position: absolute;
  z-index: 1;
  display: block;
  background: var(--white);
}

.road-a {
  top: -10%;
  left: 45%;
  width: 38px;
  height: 125%;
  transform: rotate(-13deg);
}

.road-b {
  top: 44%;
  left: -8%;
  width: 120%;
  height: 30px;
  transform: rotate(8deg);
}

.road-c {
  top: 70%;
  left: -4%;
  width: 108%;
  height: 18px;
  transform: rotate(-4deg);
}

.map-block {
  position: absolute;
  display: block;
  border-radius: 12px;
  background: #e9eff6;
}

.block-a { top: 10%; left: 8%; width: 25%; height: 18%; }
.block-b { top: 15%; right: 8%; width: 28%; height: 24%; background: #e7f3ec; }
.block-c { bottom: 11%; left: 10%; width: 26%; height: 23%; background: #e7f3ec; }
.block-d { right: 9%; bottom: 8%; width: 31%; height: 18%; }

.radar {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.radar i {
  position: absolute;
  display: block;
  border: 1px solid rgba(49, 130, 246, 0.25);
  border-radius: 50%;
  animation: radar-breathe 3.4s ease-in-out infinite;
}

.radar i:nth-child(1) { width: 100%; height: 100%; }
.radar i:nth-child(2) { width: 68%; height: 68%; animation-delay: 0.25s; }
.radar i:nth-child(3) { width: 35%; height: 35%; animation-delay: 0.5s; }

.hero-radar {
  left: 50%;
  top: 54%;
  width: 58%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.location-core {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 54%;
  width: 18px;
  height: 18px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 8px rgba(49, 130, 246, 0.11);
  transform: translate(-50%, -50%);
}

.mini-note {
  position: absolute;
  z-index: 7;
  top: 15%;
  left: 8%;
  width: min(240px, 42%);
  padding: 30px 20px 18px;
  border: 1px solid #e6e0d4;
  border-radius: 14px;
  background: #fffdf7;
  box-shadow: var(--soft-shadow);
  transform: rotate(-4deg);
}

.note-pin {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 18px;
  height: 26px;
  border-radius: 7px;
  background: var(--primary);
  box-shadow: 0 7px 12px rgba(49, 130, 246, 0.22);
  transform: translateX(-50%) rotate(5deg);
}

.mini-note strong,
.mini-note p,
.mini-note small {
  display: block;
  margin: 0;
}

.mini-note strong { font-size: clamp(13px, 1.5vw, 18px); }
.mini-note p { margin-top: 6px; color: var(--ink); font-size: clamp(12px, 1.4vw, 16px); font-weight: 750; }
.mini-note small { margin-top: 16px; color: var(--quiet); font-size: 11px; font-weight: 700; }

.profile-dot {
  position: absolute;
  z-index: 8;
  width: 90px;
  height: 90px;
  padding: 5px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--soft-shadow), 0 0 0 2px rgba(49, 130, 246, 0.22);
}

.profile-dot::after {
  position: absolute;
  right: 2px;
  bottom: 5px;
  width: 16px;
  height: 16px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--primary);
  content: "";
}

.profile-dot img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.profile-one { top: 30%; right: 8%; }
.profile-two { right: 25%; bottom: 9%; width: 74px; height: 74px; animation-delay: 0.7s; }

.scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: 24px;
  left: 50%;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  animation: cue 1.8s ease-in-out infinite;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.feature-list span {
  display: inline-grid;
  min-width: 52px;
  height: 30px;
  padding: 0 9px;
  place-items: center;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
}

.notes-demo {
  padding: 28px;
  border: 1px solid var(--primary-line);
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.demo-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.demo-heading div {
  display: grid;
  gap: 2px;
}

.demo-heading small {
  color: var(--primary);
  font-size: 9px;
  font-weight: 900;
}

.demo-heading strong {
  font-size: 20px;
  font-weight: 900;
}

.demo-icon {
  position: relative;
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--primary-soft);
}

.note-icon::before {
  position: absolute;
  top: 10px;
  left: 11px;
  width: 15px;
  height: 16px;
  border: 2px solid var(--primary);
  border-radius: 3px;
  content: "";
}

.note-icon::after {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 9px;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 5px 0 var(--primary);
  content: "";
}

.note-stack {
  display: grid;
  gap: 12px;
}

.feed-note {
  display: grid;
  min-height: 112px;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfdff;
}

.feed-note img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.feed-note div {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.feed-note p {
  display: flex;
  gap: 9px;
  align-items: baseline;
  margin: 0;
}

.feed-note p strong { color: var(--primary); font-size: 14px; }
.feed-note time { color: var(--quiet); font-size: 11px; font-weight: 700; }
.feed-note b { overflow: hidden; font-size: 14px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.feed-note small { color: var(--quiet); font-size: 11px; font-weight: 700; }

.alternate-section {
  background: #f2f7ff;
}

.privacy-copy {
  padding-left: 16px;
  border-left: 3px solid var(--primary-line);
  font-size: 14px !important;
}

.explore-demo {
  min-height: 560px;
  padding-top: 96px;
}

.search-controls {
  position: absolute;
  z-index: 12;
  top: 0;
  right: 4%;
  left: 4%;
  display: grid;
  min-height: 122px;
  grid-template-columns: 96px 1fr 2.2fr;
  gap: 10px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--soft-shadow);
}

.radius-control {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
}

.radius-control strong,
.search-controls button {
  display: grid;
  height: 42px;
  place-items: center;
  border: 1px solid var(--primary-line);
  border-radius: 13px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.radius-control span {
  position: relative;
  display: block;
  height: 4px;
  border-radius: 999px;
  background: var(--primary-line);
}

.radius-control span::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 26%;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  content: "";
}

.radius-control i {
  position: absolute;
  top: 50%;
  left: 26%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 4px 10px rgba(49, 130, 246, 0.22);
  transform: translate(-50%, -50%);
}

.search-controls button {
  grid-column: 1;
  grid-row: 2;
  padding: 0;
}

.search-controls .gender-button {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.search-controls .search-button {
  display: flex;
  grid-column: 2 / -1;
  gap: 9px;
  align-items: center;
  justify-content: center;
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.gender-symbol {
  color: #f06d9c;
  font-size: 18px;
}

.search-symbol {
  position: relative;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-symbol::after {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
}

.explore-map {
  top: 62px;
  bottom: 30px;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.explore-radar {
  left: 50%;
  top: 58%;
  width: 64%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.explore-map .location-core {
  top: 58%;
}

.explore-profile { width: 70px; height: 70px; }
.explore-a { top: 33%; left: 15%; }
.explore-b { top: 41%; right: 13%; }
.explore-c { bottom: 11%; left: 24%; }
.explore-d { right: 24%; bottom: 15%; }

.list-button {
  position: absolute;
  z-index: 14;
  bottom: 0;
  left: 50%;
  display: flex;
  height: 45px;
  gap: 8px;
  align-items: center;
  padding: 0 20px;
  border: 1px solid var(--primary-line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  box-shadow: var(--soft-shadow);
  transform: translateX(-50%);
}

.list-button span,
.list-button span::before,
.list-button span::after {
  display: block;
  width: 15px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}

.list-button span { position: relative; }
.list-button span::before,
.list-button span::after { position: absolute; left: 0; content: ""; }
.list-button span::before { top: -5px; }
.list-button span::after { top: 5px; }

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

.flow-copy span {
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.flow-copy i {
  width: 18px;
  height: 1px;
  background: var(--primary-line);
}

.connect-demo {
  max-width: 500px;
  padding: 30px;
  border: 1px solid var(--primary-line);
  border-radius: 30px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.profile-preview-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 14px;
  align-items: center;
}

.profile-preview-card > img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-preview-card div {
  display: grid;
  gap: 5px;
}

.profile-preview-card strong { font-size: 20px; font-weight: 900; }
.profile-preview-card p { margin: 0; color: var(--muted); font-size: 12px; font-weight: 750; }

.profile-preview-card button {
  display: flex;
  height: 52px;
  grid-column: 1 / -1;
  gap: 9px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  border: 0;
  border-radius: 16px;
  background: var(--primary);
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
}

.tap-symbol {
  position: relative;
  width: 19px;
  height: 19px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.tap-symbol::before,
.tap-symbol::after {
  position: absolute;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}

.tap-symbol::before { inset: 4px; }
.tap-symbol::after { inset: -6px; border-color: rgba(255, 255, 255, 0.45); }

.accept-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin: 25px 0 20px;
}

.accept-divider span { height: 1px; background: var(--line); }
.accept-divider b { color: var(--quiet); font-size: 11px; }

.chat-preview {
  display: grid;
}

.chat-user {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.chat-user img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-user strong { font-size: 13px; }

.chat-preview > p {
  max-width: 65%;
  margin: 0 0 9px;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 750;
  animation: chat-arrive 4s ease-in-out infinite;
}

.chat-preview .received {
  justify-self: start;
  border-top-left-radius: 5px;
  background: #f0f4f8;
  color: var(--ink);
}

.chat-preview .sent {
  justify-self: end;
  border-top-right-radius: 5px;
  background: var(--primary);
  color: var(--white);
  animation-delay: 0.45s;
}

.closing-section {
  min-height: max(720px, 100svh);
  background: var(--white) !important;
}

.closing-content {
  display: grid;
  width: min(calc(100% - 48px), 760px);
  justify-items: center;
  margin: 0 auto;
  padding: 110px 0 72px;
  text-align: center;
}

.closing-mark {
  position: relative;
  display: grid;
  width: 220px;
  height: 220px;
  place-items: center;
  margin-bottom: 34px;
}

.closing-mark > span {
  position: absolute;
  border: 1px solid var(--primary-line);
  border-radius: 50%;
  animation: radar-breathe 3.4s ease-in-out infinite;
}

.closing-mark > span:nth-child(1) { width: 100%; height: 100%; }
.closing-mark > span:nth-child(2) { width: 75%; height: 75%; animation-delay: 0.25s; }
.closing-mark > span:nth-child(3) { width: 54%; height: 54%; animation-delay: 0.5s; }

.closing-mark img {
  position: relative;
  z-index: 2;
  width: 108px;
  height: 108px;
  border-radius: 25%;
  box-shadow: 0 18px 42px rgba(49, 130, 246, 0.2);
}

.closing-content h2 {
  font-size: clamp(36px, 4.5vw, 58px);
}

.closing-badges {
  justify-content: center;
}

.footer-links {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  color: var(--quiet);
  font-size: 12px;
  font-weight: 800;
}

.store-toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 24px;
  max-width: calc(100% - 36px);
  padding: 13px 18px;
  border-radius: 14px;
  background: var(--ink);
  box-shadow: 0 14px 32px rgba(32, 39, 48, 0.22);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.store-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.is-visible .reveal,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-card {
  animation: gentle-float 4.2s ease-in-out infinite;
}

@keyframes gentle-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@keyframes radar-breathe {
  0%, 100% { opacity: 0.55; scale: 0.98; }
  50% { opacity: 1; scale: 1.025; }
}

@keyframes cue {
  0%, 100% { opacity: 0.4; translate: 0 -3px; }
  50% { opacity: 1; translate: 0 4px; }
}

@keyframes chat-arrive {
  0%, 10% { opacity: 0; transform: translateY(5px); }
  22%, 100% { opacity: 1; transform: translateY(0); }
}
