/* LusterTab landing — Sentinel-style dark hero */
:root {
  --background: 0 0% 10%;
  --foreground: 0 0% 96%;
  --primary: 350 89% 60%; /* #f43f5e — same as Sign In */
  --primary-foreground: 0 0% 100%;
  --secondary: 0 0% 18%;
  --secondary-foreground: 0 0% 96%;
  --muted: 0 0% 16%;
  --muted-foreground: 0 0% 60%;
  --accent: 350 89% 60%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84% 60%;
  --border: 0 0% 20%;
  --input: 0 0% 20%;
  --ring: 350 89% 60%;
  --radius: 0.5rem;
  --nav-button: 0 0% 18%;
  --hero-bg: 0 0% 8%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Sora", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: hsl(var(--hero-bg));
  color: hsl(var(--foreground));
}

a {
  color: inherit;
  text-decoration: none;
}

/* Animations */
@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.animate-fade-up {
  opacity: 0;
  animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in {
  opacity: 0;
  animation: fade-in 0.5s ease-out forwards;
}

/* Navbar */
.lt-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
}

@media (min-width: 1024px) {
  .lt-nav {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

.lt-logo {
  color: hsl(var(--foreground));
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lt-nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .lt-nav-links {
    display: flex;
  }
}

.lt-nav-links a {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: color 0.2s ease;
}

.lt-nav-links a:hover {
  color: hsl(var(--foreground));
}

.lt-nav-cta {
  display: none;
  align-items: center;
  justify-content: center;
  color: hsl(var(--foreground));
  background: hsl(var(--nav-button));
  border: 0;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.lt-nav-cta:hover {
  background: hsl(var(--nav-button) / 0.8);
}

.lt-nav-cta:active {
  transform: scale(0.97);
}

@media (min-width: 768px) {
  .lt-nav-cta {
    display: inline-flex;
  }
}

/* Hero */
.lt-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background: hsl(var(--hero-bg));
  overflow: hidden;
}

.lt-hero-spline {
  position: absolute;
  inset: 0;
  /* Shift Spline scene greens → LusterTab pink (#f43f5e) */
  filter: hue-rotate(230deg) saturate(1.15);
}

.lt-hero-spline spline-viewer,
.lt-hero-spline iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.lt-hero-fallback {
  position: absolute;
  inset: 0;
  background: hsl(var(--hero-bg));
}

.lt-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.lt-hero-content {
  position: relative;
  z-index: 10;
  pointer-events: none;
  width: 100%;
  max-width: 90%;
  padding: 8rem 1.5rem 2.5rem;
}

@media (min-width: 640px) {
  .lt-hero-content {
    max-width: 28rem;
  }
}

@media (min-width: 768px) {
  .lt-hero-content {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .lt-hero-content {
    max-width: 42rem;
  }
}

.lt-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
}

@media (min-width: 768px) {
  .lt-hero h1 {
    margin-bottom: 1rem;
  }
}

.lt-hero h1 .lt-accent {
  color: hsl(var(--primary));
}

.lt-hero-sub {
  margin: 0 0 0.75rem;
  color: hsl(var(--foreground) / 0.8);
  font-size: clamp(1.125rem, 2.5vw, 1.875rem);
  font-weight: 300;
}

@media (min-width: 768px) {
  .lt-hero-sub {
    margin-bottom: 1.5rem;
  }
}

.lt-hero-desc {
  margin: 0 0 1rem;
  color: hsl(var(--muted-foreground));
  font-size: clamp(0.875rem, 1.5vw, 1.25rem);
  font-weight: 300;
  line-height: 1.55;
  max-width: 36rem;
}

@media (min-width: 768px) {
  .lt-hero-desc {
    margin-bottom: 2rem;
  }
}

.lt-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-weight: 700;
}

.lt-hero-ctas a,
.lt-hero-ctas button {
  pointer-events: auto;
  border: 0;
  border-radius: 0.125rem;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
}

@media (min-width: 768px) {
  .lt-hero-ctas a,
  .lt-hero-ctas button {
    padding: 1rem 2rem;
  }
}

.lt-btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.lt-btn-primary:hover {
  filter: brightness(1.1);
}

.lt-btn-primary:active {
  transform: scale(0.97);
}

.lt-btn-secondary {
  background: #fff;
  color: hsl(var(--hero-bg));
}

.lt-btn-secondary:hover {
  filter: brightness(0.9);
}

.lt-btn-secondary:active {
  transform: scale(0.97);
}

.lt-hero-trust {
  margin: 1rem 0 0;
  color: hsl(var(--muted-foreground) / 0.6);
  font-size: 0.75rem;
  font-weight: 300;
}

@media (min-width: 768px) {
  .lt-hero-trust {
    margin-top: 1.5rem;
  }
}

/* Below-the-fold sections */
.lt-section {
  position: relative;
  z-index: 20;
  background: hsl(var(--background));
  border-top: 1px solid hsl(var(--border));
  padding: 5rem 1.5rem;
}

.lt-section-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.lt-section h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-align: center;
}

.lt-section-lead {
  margin: 0 auto 2.5rem;
  max-width: 32rem;
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-weight: 300;
  font-size: 1rem;
}

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

.lt-feature {
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.5rem;
}

.lt-feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.lt-feature p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.5;
}

/* Pricing */
.lt-toggle {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 2rem;
}

.lt-toggle button {
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.lt-toggle button.on {
  color: hsl(var(--primary-foreground));
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
}

.lt-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.lt-plan {
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
}

.lt-plan h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.lt-plan .price {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.lt-plan .price-suffix {
  font-size: 0.85rem;
  font-weight: 400;
  color: hsl(var(--muted-foreground));
}

.lt-plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lt-plan li {
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  font-weight: 300;
  padding: 0.35rem 0;
  border-top: 1px solid hsl(var(--border));
}

.lt-plan .btn,
.lt-plan .subscribe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  width: 100%;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: 0;
  border-radius: 0.125rem;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: filter 0.2s, transform 0.15s;
}

.lt-plan .btn:hover,
.lt-plan .subscribe-btn:hover {
  filter: brightness(1.1);
}

.lt-plan .btn:active,
.lt-plan .subscribe-btn:active {
  transform: scale(0.97);
}

.lt-msg {
  text-align: center;
  margin-top: 1rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
}

.lt-msg.err {
  color: hsl(var(--destructive));
}

/* Footer */
.lt-footer {
  background: hsl(var(--hero-bg));
  border-top: 1px solid hsl(var(--border));
  padding: 2rem 1.5rem;
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-size: 0.8rem;
  font-weight: 300;
}

.lt-footer a {
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.lt-footer a:hover {
  color: hsl(var(--foreground));
}

/* Legal pages (Privacy / Terms) */
.lt-legal-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: hsl(var(--hero-bg) / 0.92);
  border-bottom: 1px solid hsl(var(--border));
  backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
  .lt-legal-nav {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

.lt-legal {
  width: min(720px, 92vw);
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.lt-legal h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.lt-legal p {
  color: hsl(var(--muted-foreground));
  font-weight: 300;
  line-height: 1.7;
  font-size: 1rem;
  margin: 0 0 1.15rem;
}

.lt-legal a.lt-back {
  display: inline-flex;
  margin-top: 2rem;
  color: hsl(var(--primary));
  font-size: 0.9rem;
  font-weight: 500;
}

.lt-legal a.lt-back:hover {
  filter: brightness(1.15);
}

/* Product screenshots (real captures of extension UI) */
.lt-shots {
  display: grid;
  gap: 2.75rem;
}

.lt-shot {
  margin: 0;
}

.lt-shot-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  background: #09090b;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 30px 60px -20px rgba(0, 0, 0, 0.65);
}

.lt-shot-frame img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.lt-shot figcaption {
  margin-top: 1rem;
  max-width: 36rem;
}

.lt-shot figcaption h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.lt-shot figcaption p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.55;
}
