:root {
  color-scheme: dark;
  --teal: #2bb5b0;
  --teal-deep: #1c8f8b;
  --purple: #a88beb;
  --navy: #1b365d;
  --bg: #0f1c2e;
  --oled: #091326;
  --mid: #142947;
  --text: #f4f7fb;
  --muted: #9aa8b8;
  --glass: rgba(255, 255, 255, 0.07);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --stroke: rgba(43, 181, 176, 0.35);
  --radius: 16px;
  --radius-lg: 28px;
  --header-h: 4.25rem;
  --shadow-teal: 0 18px 40px rgba(43, 181, 176, 0.12);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--oled);
  line-height: 1.55;
  overflow-x: hidden;
}

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

a { color: var(--teal); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.5rem 0.8rem;
  background: var(--teal);
  color: #041018;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus { top: 0.75rem; }

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(43, 181, 176, 0.22), transparent 55%),
    radial-gradient(800px 520px at 110% 8%, rgba(168, 139, 235, 0.18), transparent 50%),
    radial-gradient(700px 500px at 50% 120%, rgba(27, 54, 93, 0.7), transparent 55%),
    linear-gradient(165deg, var(--bg) 0%, var(--navy) 48%, #142947 100%);
}

.wrap {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: rgba(9, 19, 38, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(72rem, calc(100% - 2rem));
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 9px;
  box-shadow: 0 0 18px rgba(43, 181, 176, 0.35);
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.nav-links a:hover,
.lang-switch a:hover { color: var(--teal); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-left: 0.4rem;
}

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

.lang-switch a[aria-current="true"] {
  color: var(--teal);
  font-weight: 600;
}

.header-cta { margin-left: 0.6rem; }

/* Buttons & store badge */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 14px;
  padding: 0.75rem 1.2rem;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), rgba(43, 181, 176, 0.75), rgba(168, 139, 235, 0.65));
  box-shadow: 0 10px 24px rgba(43, 181, 176, 0.28);
}

.btn-ghost {
  color: #fff;
  background: var(--glass);
  border-color: rgba(255, 255, 255, 0.28);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.15rem;
  padding: 0.45rem 1.05rem 0.45rem 0.85rem;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.store-badge svg { width: 22px; height: 26px; flex: none; }

.store-badge .store-kicker {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.1;
}

.store-badge .store-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.15;
}

.store-badge.is-soon {
  background: linear-gradient(180deg, #1a1a1a, #0b0b0b);
}

.store-badge.is-soon .store-name { color: var(--teal); }

.store-badge.is-soon .live-label,
.store-badge:not(.is-soon) .soon-label { display: none; }

/* Hero */

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(43, 181, 176, 0.12);
  border: 1px solid var(--stroke);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0.85rem 0 0.7rem;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(90deg, #fff, rgba(43, 181, 176, 0.92));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.hero-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Device frames & app mock */

.hero-stage {
  position: relative;
  perspective: 1400px;
  min-height: 22rem;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 18% 8% 6%;
  background: radial-gradient(circle, rgba(43, 181, 176, 0.45), transparent 62%);
  filter: blur(28px);
  z-index: 0;
  animation: glowPulse 4.5s ease-in-out infinite;
}

.device-float {
  position: relative;
  z-index: 1;
  transform: rotateY(-16deg) rotateX(8deg) rotateZ(-2deg);
  transform-style: preserve-3d;
  animation: floatY 6s ease-in-out infinite;
  transform-origin: center center;
}

.device {
  --bezel: #0b1220;
  border-radius: 22px;
  background: linear-gradient(180deg, #2a3548, var(--bezel));
  padding: 10px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    var(--shadow-teal);
}

.device-screen {
  border-radius: 14px;
  overflow: hidden;
  background: #0c1a2c;
  aspect-ratio: 16 / 10;
  display: flex;
  min-height: 0;
}

.device--iphone { max-width: 34rem; margin-inline: auto; }
.device--ipad { max-width: 40rem; margin-inline: auto; padding: 12px; }
.device--tv {
  max-width: 46rem;
  margin-inline: auto;
  padding: 12px 12px 18px;
  border-radius: 8px 8px 12px 12px;
}

.device--photo {
  display: block;
  margin: 0 auto;
}

.device--photo .device-screen {
  aspect-ratio: auto;
  display: block;
  background: #000;
}

.device--photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.device--tv.device--photo img { border-radius: 4px; }

.shot-caption {
  margin: 1rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.shot-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.2rem;
}

.shot-strip figure {
  margin: 0;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-teal);
}

.shot-strip img {
  width: 100%;
  height: auto;
  display: block;
}

.shot-strip figcaption {
  padding: 0.7rem 0.85rem 0.85rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.device--tv .device-screen { border-radius: 4px; aspect-ratio: 16 / 9; }

.tv-foot {
  width: 38%;
  height: 10px;
  margin: 8px auto 0;
  background: linear-gradient(180deg, #3a465c, #121820);
  clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
}

.app-sidebar {
  width: 28%;
  padding: 0.7rem 0.55rem;
  background: linear-gradient(180deg, rgba(27, 54, 93, 0.75), rgba(15, 28, 46, 0.92));
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.app-mark {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
}

.app-mark span {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--teal), var(--purple));
  box-shadow: 0 0 10px rgba(43, 181, 176, 0.55);
}

.app-nav {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
  font: inherit;
  font-size: 0.62rem;
  padding: 0.38rem 0.45rem;
  border-radius: 8px;
}

.app-nav.is-active {
  background: rgba(43, 181, 176, 0.8);
  color: #fff;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.45);
}

.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.7rem 0.35rem;
  font-size: 0.68rem;
  font-weight: 650;
}

.app-search {
  width: 42%;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  padding: 0.35rem 0.7rem 0.7rem;
}

.poster {
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  background:
    linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.72)),
    linear-gradient(135deg, var(--p1, #1b365d), var(--p2, #2bb5b0));
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
}

.poster::after {
  content: attr(data-label);
  position: absolute;
  left: 0.35rem;
  right: 0.35rem;
  bottom: 0.3rem;
  font-size: 0.48rem;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.poster.is-fav { outline: 1.5px solid #f5c542; }

.device--tv .app-nav.is-active {
  transform: scale(1.04);
  background: rgba(43, 181, 176, 0.85);
}

.device--ipad .poster-grid { grid-template-columns: repeat(5, 1fr); }
.device--tv .poster-grid { grid-template-columns: repeat(6, 1fr); gap: 0.55rem; }

/* Sections */

section { padding: 4.2rem 0; }

.section-kicker {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}

h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
}

.section-lead {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 1.8rem;
}

.glass {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-teal);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Trust */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-card {
  padding: 1.2rem 1.1rem 1.25rem;
  position: relative;
  overflow: hidden;
}

.trust-card:hover { border-color: var(--teal); }

.seal {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  background: rgba(43, 181, 176, 0.12);
  border: 1px solid var(--stroke);
  color: var(--teal);
  animation: sealPulse 2.8s ease-in-out infinite;
}

.seal svg { width: 1.25rem; height: 1.25rem; }

.trust-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.compare {
  margin-top: 2rem;
  padding: 0;
  overflow: auto;
}

.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare th,
.compare td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.compare th {
  color: var(--muted);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
}

.compare td:last-child { color: var(--teal); font-weight: 650; }

.compare .yes { color: var(--teal); }
.compare .no { color: #e07a7a; }

/* Features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature-card {
  padding: 1.15rem 1.1rem 1.2rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 181, 176, 0.55);
}

.feature-card .icon {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, rgba(43, 181, 176, 0.2), rgba(168, 139, 235, 0.16));
  color: var(--teal);
}

.feature-card h3 { margin: 0 0 0.35rem; font-size: 1.02rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Coming soon */

.soon {
  background:
    radial-gradient(600px 200px at 80% 0%, rgba(168, 139, 235, 0.12), transparent 60%);
}

.soon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.soon-card {
  padding: 1.1rem;
  opacity: 0.92;
}

.soon-badge {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple);
  border: 1px solid rgba(168, 139, 235, 0.45);
}

.soon-card h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.soon-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Devices */

.device-tabs {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
}

.device-tabs button {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--glass);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font: inherit;
  cursor: pointer;
}

.device-tabs button[aria-selected="true"] {
  color: #fff;
  background: rgba(43, 181, 176, 0.22);
  border-color: var(--teal);
}

.device-panel[hidden] { display: none; }

.device-stage {
  position: relative;
  padding: 1.5rem 0 0.5rem;
}

.device-stage .device { animation: none; }

/* FAQ */

.faq-list { display: grid; gap: 0.7rem; }

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  font-weight: 650;
  padding: 1rem 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  color: var(--teal);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item .faq-body {
  padding: 0 1.1rem 1rem;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.2rem 0 2.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

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

.footer-links {
  display: grid;
  gap: 0.35rem;
}

.copyright { margin-top: 1.4rem; font-size: 0.85rem; }

/* Reveal */

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

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Motion */

@keyframes floatY {
  0%, 100% { transform: rotateY(-16deg) rotateX(8deg) rotateZ(-2deg) translateY(0); }
  50% { transform: rotateY(-16deg) rotateX(8deg) rotateZ(-2deg) translateY(-10px); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes sealPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(43, 181, 176, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(43, 181, 176, 0); }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-grid,
  .trust-grid,
  .feature-grid,
  .soon-grid,
  .footer-grid,
  .shot-strip { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .device-float { transform: none; animation: none; }
  .hero-stage { min-height: 0; }
}

@media (max-width: 640px) {
  .trust-grid,
  .feature-grid,
  .soon-grid,
  .footer-grid,
  .shot-strip { grid-template-columns: 1fr; }
  .header-cta { display: none; }
  .poster-grid { grid-template-columns: repeat(3, 1fr); }
  .device--ipad .poster-grid,
  .device--tv .poster-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .device-float,
  .hero-stage::before,
  .seal { animation: none; }
  .feature-card:hover { transform: none; }
}
