:root {
  color-scheme: dark;
  --bg: #071225;
  --bg-soft: #0d1d3d;
  --card: rgba(12, 26, 55, 0.72);
  --card-strong: rgba(8, 20, 43, 0.92);
  --text: #f4f8ff;
  --muted: #bfd0ee;
  --line: rgba(170, 196, 255, 0.18);
  --accent: #8ce0ff;
  --accent-2: #9ca6ff;
  --success: #98f5c7;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(84, 198, 255, 0.28), transparent 32%),
    radial-gradient(circle at top right, rgba(126, 100, 255, 0.22), transparent 36%),
    linear-gradient(180deg, #0a1630 0%, #06101f 100%);
  min-height: 100vh;
}

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

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

.site-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(6, 14, 30, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.brand-copy {
  min-width: 0;
}

.brand-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-subtitle {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.link-pill {
  color: var(--muted);
  font-size: 0.96rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.button-primary {
  color: #071225;
  background: linear-gradient(135deg, #baf1ff 0%, #9cb8ff 100%);
  box-shadow: 0 12px 32px rgba(140, 224, 255, 0.25);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.app-store-badge:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.app-store-badge img {
  width: auto;
  display: block;
}

.app-store-badge-nav img {
  height: 36px;
}

.app-store-badge-lg img {
  height: 54px;
}

.hero {
  padding: 54px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(140, 224, 255, 0.1);
  border: 1px solid rgba(140, 224, 255, 0.14);
  color: var(--success);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 span {
  color: #c0d7ff;
}

.hero-copy {
  margin: 0 0 24px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-card {
  background: linear-gradient(180deg, rgba(14, 31, 66, 0.9), rgba(7, 18, 37, 0.95));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.preview-panel {
  position: relative;
  overflow: hidden;
}

.preview-frame {
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
  object-fit: contain;
}

.preview-tap-video {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.preview-tap-video:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.screen-card:has(.preview-tap-video) {
  position: relative;
}

.screen-card:has(.preview-tap-video)::after,
.preview-frame:has(.preview-tap-video)::after {
  content: "Tap for fullscreen + sound";
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(6, 14, 30, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  pointer-events: none;
}

.preview-frame:has(.preview-tap-video) {
  position: relative;
}

.preview-caption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 36px 0;
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.03em;
}

.section-lead {
  margin: 0;
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.trust-grid,
.feature-grid,
.seo-grid,
.faq-grid,
.cta-grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seo-grid,
.cta-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.screens-wrap {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.screen-block {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.screen-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.screen-block-header h3 {
  margin: 0;
  font-size: 1.08rem;
}

.screen-block-header span {
  color: var(--muted);
  font-size: 0.92rem;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.screens-grid-phone {
  max-width: 820px;
}

.screens-grid-ipad {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
}

.screen-card {
  margin: 0;
  padding: 10px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.screen-card-phone {
  max-width: 390px;
  justify-self: center;
  width: 100%;
}

.screen-card img,
.screen-card video {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  display: block;
  background: #000;
  object-fit: contain;
}

.card {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card strong,
.card h3 {
  display: block;
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.card p,
.card li {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.card ul {
  margin: 0;
  padding-left: 18px;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.section-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(140, 224, 255, 0.22), rgba(156, 166, 255, 0.22));
  color: #d8f4ff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 24px rgba(84, 198, 255, 0.12);
}

.section-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.story-card {
  background: linear-gradient(180deg, rgba(16, 36, 74, 0.95), rgba(8, 18, 37, 0.96));
}

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.story-copy {
  margin-bottom: 16px;
}

.developer-credit {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 1rem;
}

.developer-credit strong {
  color: #d8f4ff;
}

.story-aside {
  display: grid;
  gap: 16px;
}

.story-highlight {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.story-highlight strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.story-highlight p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.reviews-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.03em;
}

.reviews-section-apple {
  flex: 0 0 17px;
  display: block;
  width: 17px;
  height: 21px;
  max-width: 17px;
  max-height: 21px;
  color: #f5f5f7;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.reviews-grid.reviews-grid-single {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

.reviews-stats {
  margin-top: 20px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.reviews-summary-card {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(16, 36, 74, 0.95), rgba(8, 18, 37, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.reviews-summary-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.reviews-summary-main {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}

.reviews-summary-score {
  text-align: center;
  min-width: 180px;
  padding: 8px 12px;
}

.app-store-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f5f5f7;
  font-size: 0.95rem;
  font-weight: 700;
}

.app-store-mark-icon {
  display: block;
  flex: 0 0 11px;
  width: 11px;
  height: 14px;
  max-width: 11px;
  max-height: 14px;
  color: #f5f5f7;
}

.reviews-hero-number {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 5rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #fff8e8;
}

.reviews-hero-label {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
}

.reviews-summary-details p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.55;
}

.reviews-summary-details strong {
  color: var(--text);
}

.reviews-stats-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}

.reviews-hero-stat {
  text-align: center;
  min-width: 220px;
  padding: 10px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.reviews-hero-stat .live-badge {
  margin-bottom: 12px;
}

.reviews-hero-stat .review-stars {
  justify-content: center;
  margin-bottom: 10px;
}

.reviews-hero-stat .review-star {
  font-size: 1.2rem;
}

.reviews-stats-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(152, 245, 199, 0.12);
  border: 1px solid rgba(152, 245, 199, 0.28);
  color: var(--success);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px rgba(152, 245, 199, 0.8);
}

.reviews-stat-copy {
  flex: 1;
  min-width: 220px;
}

.reviews-stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.reviews-stat-row:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.reviews-stat-label {
  color: var(--muted);
  line-height: 1.5;
}

.reviews-stat-value {
  color: var(--text);
  font-size: 1.05rem;
  white-space: nowrap;
}

.reviews-stat-note {
  margin: 0 0 10px;
  color: var(--muted);
}

.reviews-stat-line {
  margin: 0 0 6px;
  color: var(--muted);
  line-height: 1.6;
}

.reviews-stat-line strong {
  color: var(--text);
}

.reviews-live-note {
  margin: 10px 0 0;
  color: #9eb5da;
  font-size: 0.9rem;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.review-stars {
  display: inline-flex;
  gap: 2px;
}

.review-stars-lg .review-star {
  font-size: 1.35rem;
}

.review-star {
  color: rgba(255, 255, 255, 0.22);
  font-size: 1rem;
  line-height: 1;
}

.review-star.is-filled {
  color: #ffb800;
}

.review-title {
  margin: 0;
  font-size: 1.08rem;
  color: var(--text);
}

.review-body {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.review-author {
  margin: 4px 0 0;
  color: #9eb5da;
  font-size: 0.92rem;
}

.reviews-status,
.reviews-footnote {
  color: var(--muted);
  line-height: 1.7;
}

.reviews-footnote {
  margin: 18px 0 0;
  font-size: 0.94rem;
}

.reviews-footnote a {
  color: #c0d7ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-panel {
  background: linear-gradient(180deg, rgba(18, 42, 84, 0.95), rgba(7, 18, 37, 0.96));
}

.qr-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-card {
  width: min(100%, 280px);
  text-align: center;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.qr-card img {
  width: 100%;
  max-width: 180px;
  margin: 0 auto 14px;
  border-radius: 18px;
  background: #fff;
}

.price-line {
  display: inline-block;
  margin-top: 12px;
  color: var(--success);
  font-weight: 700;
}

.footer {
  padding: 38px 0 56px;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-box {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copyright {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.legal-page {
  padding: 36px 0 56px;
}

.legal-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px;
}

.legal-card h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
}

.legal-effective {
  margin: 0 0 28px;
  color: var(--muted);
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: #d8f4ff;
}

.legal-section p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.75;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section a {
  color: #c0d7ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(140, 224, 255, 0.4);
  background: rgba(140, 224, 255, 0.12);
  color: #d8f4ff;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.footer-link:hover {
  background: rgba(140, 224, 255, 0.22);
  border-color: rgba(140, 224, 255, 0.65);
  transform: translateY(-1px);
}

.footer-link:focus-visible {
  outline: 2px solid rgba(140, 224, 255, 0.45);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .hero-grid,
  .story-grid,
  .reviews-summary-main,
  .reviews-stats-layout,
  .trust-grid,
  .feature-grid,
  .seo-grid,
  .faq-grid,
  .cta-grid,
  .reviews-grid,
  .screens-grid,
  .screens-grid-ipad {
    grid-template-columns: 1fr;
  }

  .topbar-inner,
  .footer-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-links {
    width: 100%;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max));
  }

  .hero {
    padding-top: 34px;
  }

  .hero-card,
  .card {
    padding: 18px;
  }

  .button {
    width: 100%;
  }

  .app-store-badge {
    width: 100%;
    justify-content: center;
  }

  .app-store-badge-lg img {
    height: 50px;
  }

  .hero-actions {
    flex-direction: column;
  }
}
