@import url("variables.css");
@import url("state.css");

:root {
  --landing-text: #f7f3ed;
  --landing-muted: #d0c7bc;
  --landing-card: rgba(22, 22, 22, 0.74);
  --landing-card-soft: rgba(35, 35, 35, 0.8);
  --landing-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--landing-text);
  line-height: 1.6;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

.container {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 0 24px;
}

.main-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(20, 20, 20, 0.88);
  backdrop-filter: blur(10px);
}

.nav-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo img {
  display: block;
  height: 64px;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-right a {
  text-decoration: none;
  color: var(--landing-text);
  font-weight: 600;
  font-size: 0.94rem;
  transition: color 0.2s ease;
}

.nav-right a:hover {
  color: var(--color-primary);
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(246, 124, 57, 0.15);
  border: 1px solid rgba(246, 124, 57, 0.35);
}

.landing-burger {
  display: none;
  width: 28px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.landing-burger span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--color-primary);
}

.landing-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.landing-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(80vw, 360px);
  height: 100%;
  padding: 24px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.15)),
    var(--color-bg-soft);
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

.landing-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.landing-nav-overlay.open .landing-nav-panel {
  transform: translateX(0);
}

.landing-nav-close {
  margin-left: auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--landing-text);
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.landing-nav-menu {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
}

.landing-nav-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-nav-menu a {
  display: block;
  padding: 14px 4px;
  color: var(--landing-text);
  text-decoration: none;
  font-weight: 600;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  background: url(/www/assets/images/landing/landscape1.jpg) center/cover no-repeat;
  padding: 72px 0 96px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 36%, rgba(246, 124, 57, 0.22), transparent 42%),
    linear-gradient(92deg, rgba(16, 16, 16, 0.9) 27%, rgba(22, 22, 22, 0.48) 58%, rgba(16, 16, 16, 0.85) 100%);
  z-index: -1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-copy {
  background: linear-gradient(165deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.32));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: var(--landing-shadow);
  padding: 34px;
}

.kicker {
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.16;
  color: #ffffff;
}

.lead {
  margin: 18px 0 0;
  color: var(--landing-text);
}

.hero-list {
  margin-top: 20px;
}

.hero-list p {
  margin: 0 0 8px;
  color: var(--landing-text);
}

.hero-list p::before {
  content: "\2713 ";
  color: var(--color-primary);
  font-weight: 700;
}

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

.btn {
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(145deg, #ff9a55, #f67c39);
  box-shadow: 0 10px 26px rgba(246, 124, 57, 0.35);
}

.btn-secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
}

.mockup-shell {
  width: min(100%, 380px);
  min-height: 540px;
  padding: 28px 18px;
  border-radius: 28px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.12), rgba(18, 18, 18, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--landing-shadow);
  display: grid;
  place-items: center;
}

.mockup-shell img {
  width: 100%;
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.55));
}

.hero-badge {
  position: absolute;
  bottom: 20px;
  right: -4px;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  background: rgba(21, 21, 21, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section {
  padding: 92px 0;
}

.section h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  text-align: center;
}

.section-intro {
  max-width: 780px;
  margin: 16px auto 0;
  text-align: center;
  color: var(--landing-muted);
}

.audience {
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(246, 124, 57, 0.16), transparent 42%),
    linear-gradient(160deg, #2a2622 0%, #1f1f1f 72%);
}

.audience::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 34px;
  pointer-events: none;
}

.features {
  background:
    linear-gradient(rgba(18, 18, 18, 0.88), rgba(18, 18, 18, 0.88)),
    url(/www/assets/images/landing/landscape2.jpg) center/cover no-repeat;
}

.comparison {
  background: linear-gradient(180deg, #1a1a1a 0%, #212121 100%);
}

.comparison-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.comparison-card {
  border-radius: 20px;
  padding: 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  position: relative;
  overflow: hidden;
}

.comparison-card h3 {
  margin: 0;
  font-size: 1.4rem;
  color: #ffffff;
}

.comparison-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.comparison-card li {
  margin: 0 0 10px;
  color: #e9dfd4;
}

.comparison-card.normal {
  background: linear-gradient(160deg, rgba(86, 86, 86, 0.26), rgba(20, 20, 20, 0.92));
}

.comparison-card.photomappia {
  background: linear-gradient(160deg, rgba(246, 124, 57, 0.2), rgba(24, 20, 18, 0.94));
}

.comparison-card.normal::after,
.comparison-card.photomappia::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  border-radius: 0 0 0 140px;
  opacity: 0.45;
}

.comparison-card.normal::after {
  background: rgba(168, 180, 193, 0.16);
}

.comparison-card.photomappia::after {
  background: rgba(255, 183, 135, 0.2);
}

.app-details {
  background: linear-gradient(180deg, #1f1f1f 0%, #252525 100%);
}

.app-walkthrough {
  margin-top: 36px;
  display: grid;
  gap: 24px;
}

.app-step {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(20, 20, 20, 0.6);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.app-step:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
}

.app-step:nth-child(even) .app-screen {
  order: 2;
  justify-self: end;
}

.app-step:nth-child(even) .app-copy {
  order: 1;
  justify-self: start;
}

.app-screen {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  width: min(100%, 420px, calc(78vh * 0.5625));
  aspect-ratio: 9 / 16;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-inline: 0;
  justify-self: start;
}

.app-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.02);
}

.pin {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #141414;
  background: #ffd7bd;
  border: 2px solid #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.36);
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

.pin:hover,
.pin:focus-visible {
  transform: scale(1.12);
  background: #ffb98a;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.42);
}

.pin:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.app-copy {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-height: min(78vh, 680px);
  height: min(78vh, 680px);
  width: 100%;
  justify-self: end;
  align-self: stretch;
}

.app-copy p {
  margin: 0;
  padding: 14px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e9dfd4;
  transition: border-color 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
  display: flex;
  align-items: center;
}

.detail-item.is-active {
  border-color: rgba(255, 181, 137, 0.72);
  background: rgba(255, 181, 137, 0.12);
  transform: translateX(2px);
}

.app-copy strong {
  color: #ffb589;
}

.app-step:nth-child(odd) .app-copy p:nth-child(1) {
  border-left: 4px solid rgba(255, 171, 113, 0.9);
}

.app-step:nth-child(odd) .app-copy p:nth-child(2) {
  border-left: 4px solid rgba(251, 202, 160, 0.72);
}

.app-step:nth-child(odd) .app-copy p:nth-child(3) {
  border-left: 4px solid rgba(251, 224, 196, 0.64);
}

.app-step:nth-child(even) .app-copy p:nth-child(1) {
  border-left: 4px solid rgba(131, 200, 255, 0.92);
}

.app-step:nth-child(even) .app-copy p:nth-child(2) {
  border-left: 4px solid rgba(158, 206, 243, 0.72);
}

.app-step:nth-child(even) .app-copy p:nth-child(3) {
  border-left: 4px solid rgba(188, 220, 245, 0.62);
}

.app-step:nth-child(1) .pin-1 { top: 22%; left: 18%; }
.app-step:nth-child(1) .pin-2 { top: 52%; right: 24%; }
.app-step:nth-child(1) .pin-3 { bottom: 14%; right: 16%; }

.app-step:nth-child(2) .pin-1 { top: 18%; left: 12%; }
.app-step:nth-child(2) .pin-2 { top: 46%; left: 44%; }
.app-step:nth-child(2) .pin-3 { bottom: 16%; right: 18%; }

.app-step:nth-child(3) .pin-1 { top: 14%; right: 18%; }
.app-step:nth-child(3) .pin-2 { top: 46%; left: 34%; }
.app-step:nth-child(3) .pin-3 { bottom: 18%; left: 16%; }

.app-step:nth-child(4) .pin-1 { top: 26%; left: 24%; }
.app-step:nth-child(4) .pin-2 { top: 48%; right: 22%; }
.app-step:nth-child(4) .pin-3 { bottom: 18%; left: 48%; }

.cards-grid {
  margin-top: 36px;
  display: grid;
  gap: 20px;
}

.three-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.step-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--landing-card);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  padding: 22px;
}

.card.soft {
  background: var(--landing-card-soft);
}

.features .card.soft {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
}

.features .card.soft:nth-child(odd) {
  box-shadow: 0 12px 30px rgba(246, 124, 57, 0.12);
}

.features .card.soft:nth-child(even) {
  box-shadow: 0 12px 30px rgba(115, 176, 226, 0.12);
}

.card h3,
.step-card h3 {
  margin: 0;
  color: #ffffff;
}

.card p,
.step-card p {
  margin: 10px 0 0;
  color: var(--landing-muted);
}

.steps {
  position: relative;
  background:
    linear-gradient(180deg, #1c1f23 0%, #202020 100%);
}

.steps .cards-grid {
  position: relative;
}

.steps .cards-grid::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 46px;
  height: 2px;
  background: linear-gradient(to right, rgba(246, 124, 57, 0.15), rgba(246, 124, 57, 0.55), rgba(246, 124, 57, 0.15));
}

.step-no {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 12px;
  font-weight: 700;
  color: #1d1d1d;
  background: var(--color-primary);
}

.fan-gallery {
  background: linear-gradient(180deg, #191919 0%, #212121 100%);
  overflow: hidden;
}

.fan-track {
  margin: 38px auto 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: min(66vh, 620px);
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.fan-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fan-item {
  position: relative;
  flex: 1 1 0;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  transition: flex 0.45s ease;
  cursor: pointer;
}

.fan-image {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background-image: var(--fan-image);
  background-position: center;
  background-size: cover;
}

.fan-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.54));
  transition: opacity 0.35s ease;
}

.fan-input:checked + .fan-item {
  flex: 6 1 0;
}

.fan-input:checked + .fan-item .fan-image::after {
  opacity: 0.1;
}

.fan-item:hover .fan-image::after,
.fan-item:focus-visible .fan-image::after {
  opacity: 0.16;
}

.fan-item:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: -2px;
}

.fan-caption {
  max-width: 920px;
  margin: 26px auto 0;
  text-align: center;
  color: #e7ddd2;
  font-size: clamp(1.02rem, 2.2vw, 1.28rem);
}

.about {
  background: linear-gradient(180deg, #232323 0%, #1b1b1b 100%);
}

.about-list {
  margin-top: 34px;
  display: grid;
  gap: 22px;
}

.about-pair {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  border-radius: 30px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.about-pair .about-person {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-height: 340px;
}

.about-pair .about-person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-pair .about-story {
  border-radius: 24px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(0, 0, 0, 0.14);
}

.about-tag {
  display: inline-block;
  width: fit-content;
  margin-bottom: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
}

.about-pair .about-story h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.24rem;
}

.about-pair .about-story p {
  margin: 12px 0 0;
  color: #e8ddd1;
}

.about-pair.creator-a {
  background: linear-gradient(160deg, rgba(69, 118, 165, 0.24), rgba(16, 22, 30, 0.86));
}

.about-pair.creator-a .about-tag {
  background: rgba(119, 186, 248, 0.35);
  border: 1px solid rgba(119, 186, 248, 0.6);
}

.about-pair.creator-b {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  background: linear-gradient(160deg, rgba(178, 111, 58, 0.26), rgba(28, 21, 15, 0.86));
}

.about-pair.creator-b .about-person {
  order: 2;
}

.about-pair.creator-b .about-story {
  order: 1;
}

.about-pair.creator-b .about-tag {
  background: rgba(255, 186, 131, 0.32);
  border: 1px solid rgba(255, 186, 131, 0.58);
}

.legacy {
  background:
    radial-gradient(circle at 16% 20%, rgba(246, 124, 57, 0.2), transparent 42%),
    linear-gradient(170deg, #1a1a1a 0%, #202224 100%);
}

.legacy-inner {
  display: grid;
  gap: 28px;
}

.legacy-story {
  border-radius: 24px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
}

.legacy-story h2 {
  text-align: left;
  margin: 6px 0 14px;
}

.legacy-story p {
  margin: 0 0 14px;
  color: #e8ddd1;
}

.legacy-story p:last-child {
  margin-bottom: 0;
}

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

.legacy-stat {
  border-radius: 18px;
  padding: 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: linear-gradient(160deg, rgba(246, 124, 57, 0.11), rgba(255, 255, 255, 0.03));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.legacy-stat .stat-value {
  display: block;
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  line-height: 1;
  margin-bottom: 10px;
  color: #ffffff;
}

.legacy-stat p {
  margin: 0;
  color: #dfd3c6;
}

.faq {
  background: linear-gradient(180deg, #1c1c1c 0%, #171717 100%);
}

.faq-list {
  margin-top: 30px;
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  color: #fff;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-arrow {
  flex: 0 0 auto;
  font-size: 1.16rem;
  color: #ffb98a;
  transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.24s ease;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 18px;
  color: #e6dbcf;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer p {
  padding: 0 18px 16px;
}

.faq-contact {
  margin: 22px 0 0;
  text-align: center;
  color: #dfd3c6;
}

.faq-contact a {
  color: #ffb98a;
  font-weight: 700;
  text-decoration: none;
}

.faq-contact a:hover {
  text-decoration: underline;
}

.install-cta {
  background:
    radial-gradient(circle at 18% 28%, rgba(246, 124, 57, 0.2), transparent 42%),
    linear-gradient(140deg, #242424 0%, #171717 100%);
}

.install-panel {
  text-align: center;
  border-radius: 24px;
  padding: 48px 30px;
  background: linear-gradient(160deg, rgba(246, 124, 57, 0.2), rgba(246, 124, 57, 0.06));
  border: 1px solid rgba(246, 124, 57, 0.38);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.install-panel p {
  margin: 14px 0;
  color: var(--landing-text);
  text-align: left;
}

.install-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "intro tile"
    "copy tile";
  gap: 26px;
  align-items: stretch;
}

.install-intro {
  grid-area: intro;
}

.install-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.install-intro h2 {
  text-align: left;
  margin: 0;
}

.install-copy .btn {
  width: fit-content;
  margin-top: 18px;
}

/* 1:1 tile style from app */
.map-tile.install-demo-tile {
  position: relative;
  grid-area: tile;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  text-decoration: none;
  align-self: start;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

@media (min-width: 761px) {
  .map-tile.install-demo-tile {
    margin-top: clamp(44px, 4.4vw, 62px);
  }
}

.map-tile.install-demo-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 140, 60, 0.35);
}

.map-tile.install-demo-tile img {
  width: 100%;
  height: auto;
  display: block;
}

.map-tile-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.map-tile-title {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.55);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-text);
}

.map-tile-price-free {
  background: #0fbe3b;
  color: #0e2b1c;
  opacity: 0.8;
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.map-tile-count {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--color-primary);
  color: var(--color-text);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
}

.landing-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #131313 0%, #101010 100%);
}

.landing-footer .footer-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 34px 24px;
}

.landing-footer .footer-title {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.landing-footer .footer-description {
  margin: 8px 0 0;
  color: #bfb2a5;
}

.landing-footer .footer-links {
  display: grid;
  gap: 8px;
}

.landing-footer .footer-links a {
  color: #e6dbcf;
  text-decoration: none;
}

.landing-footer .footer-links a:hover {
  color: #ffb98a;
}

.landing-footer .footer-social {
  display: flex;
  gap: 10px;
}

.landing-footer .footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.landing-footer .footer-social img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.landing-footer .footer-bottom {
  padding: 14px 24px 20px;
  text-align: center;
  color: #8f8478;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-copy {
    order: 2;
  }

  .hero-media {
    order: 1;
  }

  .mockup-shell {
    min-height: 0;
    max-width: 330px;
  }

  .three-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps .cards-grid::before {
    display: none;
  }

  .legacy-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fan-track {
    height: 500px;
  }

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

  .app-step {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .app-step:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .app-step:nth-child(even) .app-screen,
  .app-step:nth-child(even) .app-copy {
    order: initial;
  }

  .app-screen {
    width: min(100%, 360px);
    justify-self: center;
  }

  .app-copy {
    gap: 10px;
    grid-template-rows: repeat(3, minmax(80px, auto));
    width: min(100%, 640px);
    min-height: auto;
    height: auto;
    justify-self: center;
  }

  .about-pair {
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    border-radius: 24px;
  }

  .about-pair.creator-b {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  }

  .about-pair .about-person {
    min-height: 300px;
  }

  .about-pair .about-story {
    padding: 20px;
  }

  .landing-footer .footer-content {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .landing-footer .footer-social {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ================= SCROLL TO TOP ================= */

#scrollTopBtn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    background 0.2s ease;
  z-index: 1500;
}

#scrollTopBtn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#scrollTopBtn:hover {
  background: rgba(255, 140, 60, 0.18);
}

@media (max-width: 760px) {
  .nav-inner {
    min-height: 74px;
  }

  .logo img {
    height: 50px;
  }

  .nav-right {
    display: none;
  }

  .landing-burger {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 44px 0 70px;
  }

  .hero-copy {
    order: 1;
  }

  .hero-media {
    order: 2;
  }

  .hero-copy {
    padding: 24px 20px;
  }

  .hero-badge {
    position: static;
    margin-top: 12px;
  }

  .three-cols,
  .legacy-stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 74px 0;
  }

  .fan-track {
    height: 420px;
  }

  .fan-caption {
    margin-top: 20px;
    font-size: 1rem;
  }

  .app-step {
    padding: 14px;
  }

  .app-screen {
    width: min(100%, 320px);
  }

  .pin {
    width: 30px;
    height: 30px;
    font-size: 0.82rem;
  }

  .app-copy p {
    padding: 12px;
    font-size: 0.95rem;
  }

  .about-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-pair,
  .about-pair.creator-b {
    grid-template-columns: 1fr;
  }

  .about-pair.creator-b .about-person,
  .about-pair.creator-b .about-story {
    order: initial;
  }

  .about-pair .about-person {
    min-height: 340px;
  }

  .legacy-story {
    padding: 22px 18px;
  }

  .landing-footer .footer-content {
    grid-template-columns: 1fr;
    padding: 28px 16px;
  }

  .landing-footer .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .install-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "tile"
      "copy";
    grid-template-rows: auto;
    gap: 18px;
  }

  .install-copy .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .container {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    text-align: center;
  }

  .install-panel {
    padding: 34px 18px;
  }

  .map-tile-title {
    font-size: 1rem;
  }

  .map-tile-price-free {
    padding: 6px 10px;
    font-size: 0.68rem;
  }

  .map-tile-count {
    font-size: 0.76rem;
  }

  .fan-track {
    height: 360px;
  }

  .app-screen {
    width: min(100%, 280px);
  }

  .about-pair .about-story h3 {
    font-size: 1.08rem;
  }
}
