/* Landing page */
.landing-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.landing-topbar {
  flex-shrink: 0;
  background: var(--card);
  border-bottom: 1px solid var(--accent-blue-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
[data-theme="dark"] .landing-topbar {
  background: rgba(37, 41, 50, 0.98);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.landing-topbar-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
}

@media (min-width: 900px) {
  .landing-topbar-inner {
    max-width: 100%;
    padding-left: 48px;
    padding-right: 48px;
  }
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .landing-nav {
    max-width: 100%;
  }
}

.landing-nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  border: 1px solid var(--accent-blue-border);
  background: var(--card);
  transition: all 0.2s ease;
  text-decoration: none;
}
.landing-nav-link:hover {
  background: var(--accent-blue-bg);
  border-color: var(--accent-blue-light);
  text-decoration: none;
}

.landing-nav-auth {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.landing-clerk-ready .landing-nav-auth {
  opacity: 1;
}

.landing-clerk-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1.08);
}

.landing-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 48px;
  gap: 40px;
}

.landing-title {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: center;
  line-height: 1.1;
}

/* Banner – full-bleed across page */
.landing-banner {
  width: calc(100% + 48px);
  max-width: none;
  margin-left: -24px;
  margin-right: -24px;
  position: relative;
  align-self: stretch;
  box-sizing: border-box;
}

.landing-banner-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 24px;
  padding-right: 24px;
}

.landing-banner-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--accent-blue-border);
  background: var(--card);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s ease;
}
.landing-banner-arrow:hover {
  background: var(--accent-blue-bg);
  border-color: var(--accent-blue-light);
}
.landing-banner-arrow:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

.landing-banner-slides {
  position: relative;
  flex: 1;
  min-height: 320px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--accent-blue-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
[data-theme="dark"] .landing-banner-slides {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.landing-banner-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.landing-banner-slide-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.landing-banner-media {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 10;
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--pill);
  border: 1px dashed var(--pill-border);
}

.landing-banner-gif-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.landing-banner-gif-placeholder span {
  padding: 0 16px;
  text-align: center;
}

.landing-banner-tagline {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  text-align: center;
  max-width: 560px;
}
[data-theme="dark"] .landing-banner-tagline {
  color: var(--text);
}

/* Dots */
.landing-banner-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding-left: 24px;
  padding-right: 24px;
}

.landing-banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--accent-blue-border);
  background: var(--card);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
.landing-banner-dot:hover {
  background: var(--accent-blue-bg);
  border-color: var(--accent-blue-light);
}
.landing-banner-dot-active {
  background: var(--accent-blue-light);
  border-color: var(--accent-blue-light);
}
[data-theme="dark"] .landing-banner-dot-active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
}

/* Pricing + How it works */
.landing-pricing-how {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 768px) {
  .landing-pricing-how {
    flex-direction: row;
    align-items: flex-end;
    gap: 40px;
  }
  .landing-pricing {
    flex: 0 0 340px;
  }
  .landing-how {
    flex: 1;
    min-width: 0;
  }
}

.landing-pricing {
  background: var(--card);
  border: 1px solid var(--accent-blue-border);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
[data-theme="dark"] .landing-pricing {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.landing-pricing-title {
  margin: 0 0 12px 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.landing-pricing-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.landing-pricing-period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.landing-pricing-tagline {
  margin: 12px 0 20px 0;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}

.landing-pricing-features {
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-pricing-features li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
}

.landing-pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
}

.landing-pricing-features li:last-child {
  margin-bottom: 0;
}

.landing-pricing-subscribe {
  margin-top: 24px;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.landing-pricing-subscribe:disabled {
  opacity: 0.8;
  cursor: not-allowed;
  transform: none;
}

.landing-subscribe-msg {
  margin: 12px 0 0;
  font-size: 1rem;
  color: var(--text);
}
.landing-subscribe-msg a {
  color: var(--accent-blue);
  font-weight: 600;
  text-decoration: none;
}
.landing-subscribe-msg a:hover {
  text-decoration: underline;
}

/* How it works */
.landing-how {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.landing-how-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
}

.landing-how-video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: var(--pill);
  border: 1px solid var(--accent-blue-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
[data-theme="dark"] .landing-how-video-wrap {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.landing-how-video {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* CTA */
.landing-cta {
  flex-shrink: 0;
}

.landing-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to right, var(--accent-purple) 0%, var(--accent-blue) 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(107, 143, 163, 0.35);
}
.landing-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 143, 163, 0.4);
  text-decoration: none;
  color: #fff;
}

/* Demo CTA in topbar – same style, compact for nav */
.landing-cta-btn-nav {
  padding: 8px 20px;
  font-size: 14px;
}

/* Footer */
.landing-footer {
  flex-shrink: 0;
  padding: 20px 24px;
  border-top: 1px solid var(--accent-blue-border);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

@media (min-width: 900px) {
  .landing-footer {
    padding-right: 48px;
  }
}

.landing-footer-divider {
  width: 1px;
  height: 18px;
  background: var(--accent-blue-border);
}

.landing-footer-youtube {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  transition: color 0.2s ease;
}
.landing-footer-youtube:hover {
  color: #ff0000;
}
.landing-footer-youtube-icon {
  width: 24px;
  height: 24px;
}

.landing-footer-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.landing-footer a:not(.landing-footer-youtube) {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.landing-footer a:not(.landing-footer-youtube):hover {
  color: var(--accent-blue);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .landing-banner-row {
    gap: 8px;
  }
  .landing-banner-arrow {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  .landing-banner-slides {
    min-height: 280px;
  }
  .landing-banner-slide {
    padding: 24px 20px;
  }
  .landing-banner-tagline {
    font-size: 1.15rem;
  }
}
