@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600&family=Sora:wght@500;600;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #0b0c10;
  --surface: #131622;
  --surface-alt: #181c2a;
  --text: #f5f7fb;
  --text-muted: #b2bbcc;
  --accent: #3bd3c7;
  --accent-2: #5aa4ff;
  --accent-3: #6ef2b6;
  --border: #273044;
  --glow: rgba(61, 211, 199, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: 'Manrope', sans-serif;
  background: radial-gradient(circle at 15% 10%, rgba(90, 164, 255, 0.2), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(110, 242, 182, 0.16), transparent 50%),
    linear-gradient(180deg, #0b0c10 0%, #0f131e 50%, #0b0c10 100%);
  color: var(--text);
  line-height: 1.6;
}

h1,
h2,
h3,
.brand-name {
  font-family: 'Sora', sans-serif;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.6rem, 3.8vw, 4.4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.9rem, 2.6vw, 3rem);
  margin-bottom: 0.6rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-muted);
}

.container {
  width: min(1140px, 90vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160" viewBox="0 0 160 160"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="2" stitchTiles="stitch"/></filter><rect width="160" height="160" filter="url(%23n)" opacity="0.035"/></svg>');
  pointer-events: none;
  z-index: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(9, 11, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(39, 48, 68, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
}

.brand-name {
  font-size: 1.15rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.hero {
  padding: 4.5rem 0 3.5rem;
}

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

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

.lead {
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.cta,
.ghost {
  border-radius: 999px;
  padding: 1rem 2.2rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #0b1016;
  box-shadow: 0 0 28px var(--glow);
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 36px var(--glow);
}

.cta.small {
  padding: 0.7rem 1.5rem;
  font-size: 0.95rem;
}

.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.ghost:hover {
  border-color: var(--accent);
}

.hero-badges {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.hero-badges span {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.hero-media {
  display: grid;
  gap: 1rem;
}

.mockup-stack {
  position: relative;
  height: 340px;
}

.mockup-card {
  position: absolute;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(61, 211, 199, 0.15), rgba(90, 164, 255, 0.08));
  border: 1px solid rgba(90, 164, 255, 0.2);
  box-shadow: 0 30px 80px rgba(10, 16, 26, 0.55);
}

.mockup-card.tv {
  width: 100%;
  height: 260px;
  inset: 0;
}

.mockup-card.phone {
  width: 52%;
  height: 220px;
  right: 8%;
  bottom: -20px;
  background: linear-gradient(145deg, rgba(110, 242, 182, 0.18), rgba(61, 211, 199, 0.08));
}

.mockup-card.mini {
  width: 36%;
  height: 150px;
  left: 6%;
  bottom: -30px;
  background: linear-gradient(145deg, rgba(90, 164, 255, 0.2), rgba(61, 211, 199, 0.08));
}

.hero-caption {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.logo-strip {
  padding: 1.8rem 0;
  border-top: 1px solid rgba(39, 48, 68, 0.5);
  border-bottom: 1px solid rgba(39, 48, 68, 0.5);
}

.logo-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  text-align: center;
  color: rgba(245, 247, 251, 0.5);
  font-weight: 600;
}

.problem {
  padding: 4rem 0;
}

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

.problem-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.chaos {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.chip {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(90, 164, 255, 0.3);
  color: rgba(245, 247, 251, 0.7);
  font-size: 0.8rem;
}

.clarity {
  display: grid;
  gap: 0.8rem;
}

.clarity-card {
  height: 80px;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(61, 211, 199, 0.25), rgba(15, 20, 30, 0.9));
  border: 1px solid rgba(61, 211, 199, 0.25);
}

.features {
  padding: 4rem 0 5rem;
}

.section-head {
  max-width: 560px;
  margin-bottom: 2.5rem;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.8rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 211, 199, 0.4);
  box-shadow: 0 20px 40px rgba(10, 16, 26, 0.3);
}

.feature-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(61, 211, 199, 0.12);
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.how {
  padding: 4rem 0;
  background: linear-gradient(180deg, rgba(19, 22, 34, 0.2), rgba(11, 12, 16, 0.95));
}

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

.steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 12px;
  right: 12px;
  height: 1px;
  background: rgba(90, 164, 255, 0.2);
  z-index: 0;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.6rem;
  position: relative;
  z-index: 1;
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(90, 164, 255, 0.2);
  display: grid;
  place-items: center;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 1rem;
}

.preview {
  padding: 4.5rem 0;
}

.preview-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}

.preview-card {
  scroll-snap-align: start;
}

.preview-frame {
  border-radius: 26px;
  padding: 1.5rem;
  background: linear-gradient(150deg, rgba(90, 164, 255, 0.16), rgba(19, 22, 34, 0.9));
  border: 1px solid rgba(90, 164, 255, 0.2);
  min-height: 220px;
  display: grid;
  place-items: center;
}

.preview-ui {
  width: 100%;
  height: 160px;
  border-radius: 18px;
  border: 1px dashed rgba(245, 247, 251, 0.35);
  display: grid;
  place-items: center;
  color: rgba(245, 247, 251, 0.7);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
}

.cta-section {
  padding: 4.5rem 0 5.5rem;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
  background: radial-gradient(circle at top right, rgba(61, 211, 199, 0.18), transparent 60%),
    var(--surface);
  border: 1px solid rgba(61, 211, 199, 0.2);
  border-radius: 28px;
  padding: 2.5rem;
}

.cta-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.download-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.download-actions.compact {
  gap: 0.6rem;
}

.store-icons {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.store-icons.compact .store-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.store-icons.compact .store-icon svg {
  width: 18px;
  height: 18px;
}

.store-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.store-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.store-icon:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(39, 196, 184, 0.2);
}

.store-icon:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.store-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(6px);
  background: #0e111a;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.store-icon:hover::after,
.store-icon:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.site-footer {
  border-top: 1px solid rgba(39, 48, 68, 0.6);
  padding: 2.8rem 0 2rem;
}

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

.footer-grid a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin: 0.4rem 0;
}

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

.footer-title {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: rgba(245, 247, 251, 0.6);
  margin-bottom: 0.6rem;
}

.footer-meta {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  color: rgba(245, 247, 251, 0.6);
  font-size: 0.85rem;
}

.mobile-cta {
  display: none;
}

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(12, 15, 22, 0.96);
    padding: 1rem 1.4rem 1.6rem;
    gap: 0.8rem;
    border-bottom: 1px solid rgba(39, 48, 68, 0.6);
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .steps::before {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 3.5rem;
  }

  .cta-grid {
    padding: 2rem;
  }

  .mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0.8rem 1.2rem 1rem;
    background: rgba(11, 12, 16, 0.95);
    border-top: 1px solid rgba(39, 48, 68, 0.6);
    justify-content: center;
    z-index: 6;
  }
}

@media (max-width: 520px) {
  .cta,
  .ghost {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    width: 100%;
  }
}

.terms {
  padding: 4rem 0 5rem;
}

.terms-card {
  margin-top: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  overflow: hidden;
}

.terms-card pre {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  white-space: pre-wrap;
  color: var(--text-muted);
}
