:root {
  --bg: #0d0b14;
  --bg-alt: #141028;
  --fg: #f4f2fb;
  --muted: #a9a3c2;
  --accent: #7a00ff;
  --accent-dark: #5e00d6;
  --secondary: #00c8ff;
  --secondary-dark: #2ed9ff;
  --accent-soft: rgba(122, 0, 255, 0.14);
  --border: #2a2042;
  --card: #151022;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font-display: "Outfit", "Segoe UI", sans-serif;
  --font-body: "Newsreader", "Georgia", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    linear-gradient(180deg, rgba(13, 11, 20, 0.85) 0%, rgba(10, 9, 18, 0.95) 100%),
    radial-gradient(900px circle at 8% 10%, rgba(122, 0, 255, 0.2), transparent 45%),
    radial-gradient(800px circle at 90% 15%, rgba(0, 200, 255, 0.2), transparent 52%),
    url("/mosaic-background-tvos.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--fg);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1080px;
  padding: 4.5rem 1.5rem 3rem;
  margin: 0 auto;
}

section {
  margin-bottom: 4rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1.25rem;
}

.hero {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% 10% auto 0;
  height: 65%;
  background: linear-gradient(120deg, rgba(122, 0, 255, 0.22), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--muted);
}

.hero-text {
  max-width: 540px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #081313;
  box-shadow: 0 14px 30px rgba(122, 0, 255, 0.25);
}

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--fg);
  background: rgba(15, 19, 26, 0.6);
}

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

.fineprint {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 2rem;
}

.hero-card-inner h2 {
  font-size: 1.4rem;
}

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

.section-text {
  max-width: 640px;
}

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 18px;
}

.feature-card h3 {
  margin-bottom: 0.6rem;
}

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

.screenshot-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.screenshot-card img {
  border-radius: 18px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.screenshot-meta h3 {
  margin-bottom: 0.5rem;
}

.screenshot-meta p {
  margin: 0;
  color: var(--muted);
}

.steps {
  list-style: none;
  counter-reset: steps;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}

.steps li {
  counter-increment: steps;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.steps li::before {
  content: counter(steps);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.9rem;
  margin-right: 0.8rem;
}

.privacy-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem;
}

.privacy-list {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}

.pricing-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem;
}

.pricing-card.highlight {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(122, 0, 255, 0.2);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

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

.footer a:hover {
  color: var(--fg);
}

.muted {
  color: var(--muted);
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-header {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link,
.page-nav a,
.contact-link {
  color: var(--fg);
}

.brand-link {
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-decoration: none;
}

.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-nav a {
  text-decoration: none;
  font-family: var(--font-display);
}

.page-nav a:hover,
.brand-link:hover,
.contact-link:hover {
  color: var(--secondary);
}

.page-main {
  flex: 1;
}

.page-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 2rem;
  max-width: 760px;
}

.contact-list {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
}

.contact-list li {
  margin-bottom: 0.5rem;
}

.contact-link {
  font-family: var(--font-display);
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.reveal {
  animation: fadeUp 0.9s ease forwards;
  opacity: 0;
  transform: translateY(14px);
}

main > section.reveal:nth-of-type(1) { animation-delay: 0.05s; }
main > section.reveal:nth-of-type(2) { animation-delay: 0.12s; }
main > section.reveal:nth-of-type(3) { animation-delay: 0.18s; }
main > section.reveal:nth-of-type(4) { animation-delay: 0.24s; }
main > section.reveal:nth-of-type(5) { animation-delay: 0.3s; }
main > section.reveal:nth-of-type(6) { animation-delay: 0.36s; }
main > section.reveal:nth-of-type(7) { animation-delay: 0.42s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .btn {
    transition: none;
  }
}

@media (max-width: 700px) {
  .page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-card {
    padding: 1.5rem;
  }

  .container {
    padding-top: 3.5rem;
  }

  .cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .footer-links {
    flex-direction: column;
  }
}
