/* Tour Engine — photorealistic product landing */

.landing-page {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
}

.landing-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 64px;
}

/* Header — overlays cinematic hero */
.landing-header {
  position: relative;
  z-index: 10;
}

.landing-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.72) 0%, rgba(13, 17, 23, 0) 100%);
  border-bottom: none;
}

.landing-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.landing-brand h1 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.landing-header--overlay .landing-header__nav a {
  color: rgba(255, 255, 255, 0.82);
}

.landing-header--overlay .landing-header__nav a:hover {
  color: #fff;
}

.landing-header__nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.landing-header__nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.landing-header__nav a:hover {
  color: var(--accent);
}

/* Cinematic hero */
.landing-hero-photo {
  position: relative;
  min-height: clamp(520px, 88vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-bottom: 8px;
}

.landing-hero-photo__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.landing-hero-photo__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(13, 17, 23, 0.92) 0%, rgba(13, 17, 23, 0.55) 42%, rgba(13, 17, 23, 0.25) 100%),
    linear-gradient(0deg, rgba(13, 17, 23, 0.95) 0%, rgba(13, 17, 23, 0) 38%);
}

.landing-hero-photo__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 72px;
}

.landing-hero__content {
  max-width: 640px;
}

.landing-hero__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #79b8ff;
  background: rgba(56, 139, 253, 0.14);
  border: 1px solid rgba(121, 184, 255, 0.35);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.landing-hero__content--launcher {
  max-width: 920px;
}

.landing-launcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.landing-launcher__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  min-height: 220px;
}

.landing-launcher__card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.landing-launcher__card--tours:hover {
  border-color: rgba(88, 166, 255, 0.65);
}

.landing-launcher__card--studio:hover {
  border-color: rgba(163, 113, 247, 0.65);
}

.landing-launcher__icon {
  font-size: 1.75rem;
  line-height: 1;
}

.landing-launcher__card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.landing-launcher__card p {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.76);
}

.landing-launcher__cta {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #58a6ff;
}

.landing-launcher__card--studio .landing-launcher__cta {
  color: #c4b5fd;
}

.landing-launcher__more {
  margin: 0;
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  justify-content: center;
}

.landing-launcher__more span[aria-hidden] {
  opacity: 0.5;
}

.landing-launcher__more a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
}

.landing-launcher__more a:hover {
  color: #fff;
}

.landing-launcher-continue {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(88, 166, 255, 0.12);
  border: 1px solid rgba(88, 166, 255, 0.35);
}

.landing-launcher-continue__label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}

.landing-launcher-continue__btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: rgba(88, 166, 255, 0.28);
  border: 1px solid rgba(88, 166, 255, 0.55);
  transition: background 0.15s, border-color 0.15s;
}

.landing-launcher-continue__btn:hover {
  background: rgba(88, 166, 255, 0.42);
  border-color: #58a6ff;
}

@media (max-width: 720px) {
  .landing-launcher {
    grid-template-columns: 1fr;
  }

  .landing-launcher__card {
    min-height: 0;
  }
}

.landing-hero h2 {
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.landing-hero__lead {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 32px;
  max-width: 540px;
}

.landing-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.landing-hero__cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: var(--radius-sm, 6px);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}

.landing-hero__cta .btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 8px 28px rgba(56, 139, 253, 0.35);
}

.landing-hero__cta .btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.landing-hero__cta .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.landing-hero__cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Sections */
.landing-section {
  padding: 56px 0;
  border-top: 1px solid var(--border-subtle, var(--border));
}

.landing-section h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.landing-section__sub {
  color: var(--text-muted);
  margin: 0 0 32px;
  max-width: 560px;
  line-height: 1.55;
}

/* Photo audience cards */
.landing-cards--photo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.landing-card--photo {
  position: relative;
  min-height: 320px;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--bg-elevated);
}

.landing-card__photo {
  position: absolute;
  inset: 0;
  background-image: var(--card-photo);
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.landing-card--photo:hover .landing-card__photo {
  transform: scale(1.04);
}

.landing-card__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 17, 23, 0.96) 0%, rgba(13, 17, 23, 0.35) 55%, rgba(13, 17, 23, 0.15) 100%);
}

.landing-card__body {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.landing-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: #fff;
}

.landing-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  margin: 0;
}

/* Showcase — steps with photo */
.landing-section--showcase {
  border-top: none;
  padding-top: 24px;
}

.landing-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.landing-showcase__photo {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--border-subtle, var(--border));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.landing-showcase__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.landing-showcase__photo-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(13, 17, 23, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 12px;
  backdrop-filter: blur(10px);
}

.landing-showcase__content .landing-section__sub {
  margin-bottom: 24px;
}

.landing-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
  counter-reset: step;
}

.landing-step {
  position: relative;
  padding-left: 48px;
}

.landing-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-muted, rgba(56, 139, 253, 0.1));
  border: 1px solid rgba(56, 139, 253, 0.25);
  border-radius: 50%;
}

.landing-step h4 {
  font-size: 1rem;
  margin: 0 0 6px;
}

.landing-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Products with photo headers */
.landing-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.landing-split--single {
  grid-template-columns: minmax(0, 560px);
}

.landing-product--photo {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle, var(--border));
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.landing-product__photo {
  height: 180px;
  overflow: hidden;
}

.landing-product__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.landing-product--photo:hover .landing-product__photo img {
  transform: scale(1.05);
}

.landing-product__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.landing-product h4 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.landing-product p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0 0 16px;
}

.landing-product ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.landing-product a {
  display: inline-block;
  margin-top: auto;
  padding-top: 16px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.landing-product a:hover {
  text-decoration: underline;
}

.landing-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.landing-feature {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle, var(--border));
  border-radius: var(--radius-sm, 6px);
}

.landing-feature::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

.landing-beta {
  background:
    linear-gradient(135deg, rgba(56, 139, 253, 0.12), rgba(63, 185, 80, 0.06)),
    var(--bg-elevated);
  border: 1px solid rgba(56, 139, 253, 0.22);
  border-radius: calc(var(--radius) + 2px);
  padding: 28px 32px;
}

.landing-beta h3 {
  margin-bottom: 12px;
}

.landing-beta p {
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.landing-beta p:last-child {
  margin-bottom: 0;
}

.landing-section--beta02 {
  margin-bottom: 8px;
}

.landing-features--beta02 {
  margin-top: 4px;
}

.landing-download__badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: #8250df;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.landing-download__steps {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.landing-download__steps li {
  margin: 4px 0;
}

.landing-download__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.landing-download__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius-sm, 6px);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.15s, opacity 0.15s;
}

.landing-download__btn--primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 6px 20px rgba(56, 139, 253, 0.3);
}

.landing-download__btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.landing-download__btn--ghost {
  background: var(--bg, #0d1117);
  color: var(--accent);
  border: 1px solid rgba(56, 139, 253, 0.35);
}

.landing-download__btn--ghost:hover {
  border-color: var(--accent);
  background: rgba(56, 139, 253, 0.08);
}

.landing-download__btn--pending,
.landing-download__btn[aria-disabled='true'] {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}

.landing-download__meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.landing-download__note {
  margin-top: 14px !important;
  font-size: 0.85rem !important;
}

.landing-download__pending {
  margin-top: 10px !important;
  font-size: 0.85rem !important;
  color: #d4a72c !important;
}

.landing-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.landing-faq details {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle, var(--border));
  border-radius: var(--radius-sm, 6px);
  padding: 0;
}

.landing-faq summary {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
}

.landing-faq summary::-webkit-details-marker {
  display: none;
}

.landing-faq summary::after {
  content: '+';
  float: right;
  color: var(--text-muted);
  font-weight: 400;
}

.landing-faq details[open] summary::after {
  content: '−';
}

.landing-faq details p {
  padding: 0 16px 14px;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.landing-footer {
  padding: 32px 0 0;
  border-top: 1px solid var(--border-subtle, var(--border));
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.landing-footer a {
  color: var(--accent);
  text-decoration: none;
}

.landing-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .landing-showcase {
    grid-template-columns: 1fr;
  }

  .landing-showcase__photo {
    order: -1;
  }
}

@media (max-width: 600px) {
  .landing-hero-photo__inner {
    padding-top: 100px;
    padding-bottom: 48px;
  }

  .landing-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-header__nav {
    width: 100%;
    justify-content: flex-start;
  }

  .landing-card--photo {
    min-height: 280px;
  }
}
