/* Landing page (public presentation) */

.landing-body {
  background: #f5f5f5;
  min-height: 100vh;
}

.landing-body.dark-mode {
  background: #0d0d0d;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.dark-mode .landing-nav {
  background: rgba(18, 18, 18, 0.7);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.landing-nav-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.landing-logo {
  text-decoration: none;
}

.landing-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.landing-links a {
  color: #334155;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 6px 8px;
  border-radius: 8px;
}

.landing-links a:hover {
  background: rgba(148, 163, 184, 0.18);
}

.dark-mode .landing-links a {
  color: #e5e7eb;
}

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

.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  font-size: 0.95rem;
  cursor: pointer;
  user-select: none;
  appearance: none;
}

.landing-btn.primary {
  background: #2563eb;
  color: white;
}

.landing-btn.primary:hover {
  background: #1d4ed8;
}

.landing-btn.secondary {
  background: #475569;
  color: white;
}

.landing-btn.secondary:hover {
  background: #334155;
}

.landing-btn.ghost {
  background: transparent;
  color: #334155;
  border-color: rgba(148, 163, 184, 0.45);
}

.landing-btn.ghost:hover {
  background: rgba(148, 163, 184, 0.15);
}

.dark-mode .landing-btn.ghost {
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.25);
}

.landing-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 16px 48px;
}

.landing-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(243, 156, 18, 0.10));
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.landing-hero-copy {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.dark-mode .landing-hero {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(230, 126, 34, 0.12));
  border-color: rgba(148, 163, 184, 0.18);
}

.landing-title {
  margin: 0 0 8px;
  font-size: 2.1rem;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.dark-mode .landing-title {
  color: #f8fafc;
}

.landing-subtitle {
  margin: 0 0 12px;
  color: #334155;
  line-height: 1.5;
}

.dark-mode .landing-subtitle {
  color: #cbd5e1;
}

.landing-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 10px;
  margin-top: auto;
}

.landing-meta {
  font-size: 0.95rem;
  color: #475569;
}

.dark-mode .landing-meta {
  color: #94a3b8;
}

.landing-hero-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  padding: 14px;
}

.dark-mode .landing-hero-card {
  background: rgba(30, 41, 59, 0.55);
  border-color: rgba(148, 163, 184, 0.18);
}

.landing-hero-card-title {
  font-weight: 800;
  margin-bottom: 8px;
  color: #0f172a;
}

.dark-mode .landing-hero-card-title {
  color: #f8fafc;
}

.landing-bullets {
  margin: 0;
  padding-left: 18px;
  color: #334155;
  line-height: 1.6;
}

.dark-mode .landing-bullets {
  color: #e2e8f0;
}

.landing-section {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.dark-mode .landing-section {
  background: rgba(18, 18, 18, 0.7);
  border-color: rgba(148, 163, 184, 0.12);
}

.landing-h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: #0f172a;
}

.dark-mode .landing-h2 {
  color: #f1f5f9;
}

.landing-p {
  margin: 0;
  color: #334155;
  line-height: 1.6;
}

.landing-p a {
  color: #2563eb;
  text-decoration: none;
}

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

.dark-mode .landing-p {
  color: #cbd5e1;
}

.landing-grid-2 {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.landing-grid-4 {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

/* Auth modal (login/register) */
.auth-modal-content {
  max-width: 520px;
  width: 94%;
  height: 78vh;
  padding: 0;
  border: none;
}

.auth-modal-title {
  font-weight: bold;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.auth-modal-body {
  height: 100%;
  padding: 0;
}

.auth-modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Screenshots gallery (Prints section) */
.landing-gallery {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 12px;
  align-items: start;
}

.landing-gallery-main {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.75);
}

.dark-mode .landing-gallery-main {
  background: rgba(30, 41, 59, 0.55);
  border-color: rgba(148, 163, 184, 0.16);
}

.landing-gallery-main-img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
  transition: opacity 160ms ease;
}

.landing-gallery.is-swapping .landing-gallery-main-img {
  opacity: 0.72;
}

.landing-gallery-caption {
  padding: 10px 12px;
  font-weight: 800;
  color: #0f172a;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(148, 163, 184, 0.08);
}

.dark-mode .landing-gallery-caption {
  color: #f8fafc;
  border-top-color: rgba(148, 163, 184, 0.12);
  background: rgba(30, 41, 59, 0.4);
}

.landing-gallery-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 6px;
}

.landing-thumb {
  appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 6px;
  cursor: pointer;
  transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
}

.dark-mode .landing-thumb {
  background: rgba(30, 41, 59, 0.45);
  border-color: rgba(148, 163, 184, 0.16);
}

.landing-thumb:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.55);
}

.landing-thumb.is-active {
  border-color: rgba(37, 99, 235, 0.85);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.landing-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Lightbox */
.landing-no-scroll {
  overflow: hidden;
}

.landing-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.landing-lightbox.is-open {
  display: block;
}

.landing-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.landing-lightbox-panel {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: calc(100% - 24px);
  margin: 24px auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.92);
  height: 86vh;
  display: flex;
  flex-direction: column;
}

.landing-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: rgba(148, 163, 184, 0.22);
  color: white;
  font-size: 24px;
  line-height: 1;
}

.landing-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: rgba(148, 163, 184, 0.22);
  color: white;
  font-size: 34px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.landing-lightbox-nav:hover {
  background: rgba(148, 163, 184, 0.32);
}

.landing-lightbox-nav.prev {
  left: 10px;
}

.landing-lightbox-nav.next {
  right: 10px;
}

.landing-lightbox-panel:hover .landing-lightbox-nav {
  background: rgba(148, 163, 184, 0.28);
}

.landing-lightbox-panel:hover .landing-lightbox-nav:hover {
  background: rgba(148, 163, 184, 0.4);
}

.landing-lightbox-nav:active {
  transform: translateY(-50%) scale(0.98);
}

.landing-lightbox-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: opacity 180ms ease, transform 180ms ease;
  will-change: opacity, transform;
}

.landing-lightbox-img.is-hidden {
  opacity: 0;
  transform: translateX(var(--lb-shift, 0px));
}

.landing-lightbox-caption {
  padding: 10px 12px;
  color: #e2e8f0;
  font-weight: 700;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  flex-shrink: 0;
}

.landing-card {
  background: rgba(148, 163, 184, 0.10);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  padding: 12px;
}

.dark-mode .landing-card {
  background: rgba(30, 41, 59, 0.55);
  border-color: rgba(148, 163, 184, 0.18);
}

.landing-card-title {
  font-weight: 800;
  margin-bottom: 6px;
  color: #0f172a;
}

.dark-mode .landing-card-title {
  color: #f8fafc;
}

.landing-shot {
  border-radius: 12px;
  border: 1px dashed rgba(148, 163, 184, 0.55);
  background: rgba(148, 163, 184, 0.10);
  padding: 12px;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dark-mode .landing-shot {
  border-color: rgba(148, 163, 184, 0.25);
  background: rgba(30, 41, 59, 0.35);
}

.landing-shot-badge {
  font-weight: 800;
  color: #0f172a;
}

.dark-mode .landing-shot-badge {
  color: #f8fafc;
}

.landing-shot-body {
  color: #475569;
}

.dark-mode .landing-shot-body {
  color: #cbd5e1;
}

.landing-faq {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.landing-faq-item {
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(148, 163, 184, 0.08);
}

.dark-mode .landing-faq-item {
  background: rgba(30, 41, 59, 0.45);
  border-color: rgba(148, 163, 184, 0.16);
}

.landing-faq-item summary {
  cursor: pointer;
  font-weight: 800;
  color: #0f172a;
}

.dark-mode .landing-faq-item summary {
  color: #f8fafc;
}

.landing-faq-body {
  margin-top: 8px;
  color: #334155;
  line-height: 1.6;
}

.dark-mode .landing-faq-body {
  color: #cbd5e1;
}

.landing-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 16px 34px;
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 12px;
  flex-wrap: wrap;
  color: #64748b;
}

.landing-footer a {
  color: inherit;
  text-decoration: none;
}

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


@media (max-width: 980px) {
  .landing-hero {
    grid-template-columns: 1fr;
  }
  .landing-grid-4 {
    grid-template-columns: 1fr 1fr;
  }

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

  .landing-gallery-thumbs {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }

  .landing-thumb {
    flex: 0 0 170px;
    scroll-snap-align: start;
  }
}

@media (max-width: 560px) {
  .landing-grid-2 {
    grid-template-columns: 1fr;
  }
  .landing-grid-4 {
    grid-template-columns: 1fr;
  }
}


