:root {
  --blue: #1565c0;
  --blue-dark: #0d47a1;
  --blue-light: #e3f2fd;
  --text: #1a1a1a;
  --muted: #5f6368;
  --border: #e0e7ef;
  --surface: #ffffff;
  --shadow: 0 12px 40px rgba(21, 101, 192, 0.12);
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: #f7f9fc;
  line-height: 1.6;
}

a {
  color: var(--blue);
  text-decoration: none;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--text);
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(21, 101, 192, 0.15);
}

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

.nav-links a {
  color: var(--muted);
  font-weight: 500;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--blue-dark);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(circle at 10% 20%, rgba(21, 101, 192, 0.12), transparent 45%),
    radial-gradient(circle at 90% 0%, rgba(66, 165, 245, 0.15), transparent 40%),
    linear-gradient(180deg, #eef5fc 0%, #f7f9fc 100%);
}

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

.eyebrow {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 28px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}

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

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--blue);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.phone-mock {
  background: var(--surface);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* Real device frames with app screenshots */
.phone-device {
  background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
  border-radius: 32px;
  padding: 10px;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  max-width: 300px;
  margin: 0 auto;
}

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

.hero-phone {
  max-width: 280px;
  justify-self: end;
}

.hero-phone--compact {
  max-width: 260px;
}

.highlight .phone-device {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.phone-screen {
  background: linear-gradient(180deg, #1565c0 0%, #1976d2 35%, #f5f7fa 35%);
  border-radius: 20px;
  min-height: 420px;
  padding: 20px 16px;
  color: #fff;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 0.85rem;
  opacity: 0.95;
}

.phone-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.phone-card h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.phone-card p {
  font-size: 0.82rem;
  color: var(--muted);
}

.phone-card .tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-light);
  padding: 3px 8px;
  border-radius: 999px;
}

/* Utility */
.hidden {
  display: none !important;
}

/* Demo video */
.demo-section {
  padding: 48px 0 32px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.video-shell {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #0d0d0d;
  aspect-ratio: 16 / 9;
}

.video-poster {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.video-poster.video-slideshow img {
  transition: opacity 0.4s ease;
}

.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(21, 101, 192, 0.92);
  color: #fff;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s, background 0.15s;
}

.video-play:hover {
  transform: scale(1.04);
  background: var(--blue-dark);
}

.video-play-icon {
  font-size: 1.1rem;
}

.video-embed,
.video-local {
  width: 100%;
  height: 100%;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-local {
  object-fit: contain;
  background: #000;
}

.video-note {
  text-align: center;
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Why HST */
.why-hst {
  padding: 56px 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #fff 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.why-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.why-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

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

/* Audience */
.audience {
  padding: 56px 0 24px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.audience-card {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
}

.audience-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 12px;
}

.audience-card h3 {
  margin-bottom: 8px;
}

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

/* Testimonials */
.testimonials {
  padding: 56px 0;
  background: var(--blue-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid rgba(21, 101, 192, 0.12);
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
}

.testimonial-card p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.85rem;
  color: var(--muted);
}

.testimonial-card strong {
  color: var(--blue-dark);
}

/* Built with */
.built-with {
  padding: 48px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue-dark);
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.06);
}

/* Acquisition */
.acquisition {
  padding: 64px 0 80px;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef5fc 100%);
}

.acquisition-box {
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 55%, #1976d2 100%);
  color: #fff;
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 20px 48px rgba(13, 71, 161, 0.25);
}

.acquisition-eyebrow {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.acquisition-box h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: 12px 0 10px;
}

.acquisition-box > p {
  opacity: 0.92;
  max-width: 640px;
  margin-bottom: 28px;
}

.acquisition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.acquisition-box h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  opacity: 0.9;
}

.acquisition-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.acquisition-list li {
  padding-left: 22px;
  position: relative;
  font-size: 0.95rem;
}

.acquisition-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #90caf9;
  font-weight: 700;
}

.acquisition-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.acquisition-valuation {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.95;
}

.acquisition-valuation small {
  opacity: 0.8;
}

.acquisition .btn-primary {
  background: #fff;
  color: var(--blue-dark);
}

.acquisition .btn-primary:hover {
  background: var(--blue-light);
}

.acquisition .btn-secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.acquisition .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

/* Stats */
.stats {
  padding: 28px 0 12px;
}

/* Screenshots showcase */
.screenshots {
  padding: 56px 0 24px;
  background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 32px;
  align-items: start;
}

.showcase-main {
  margin: 0;
}

.showcase-main figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
}

.showcase-thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 2px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  font: inherit;
  color: var(--text);
}

.thumb:hover {
  border-color: #90caf9;
  transform: translateY(-1px);
}

.thumb.active {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(21, 101, 192, 0.15);
}

.thumb img {
  width: 100%;
  max-width: 120px;
  border-radius: 10px;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
}

.thumb span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.thumb.active span {
  color: var(--blue);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 4px;
}

.stat span {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Sections */
section {
  padding: 64px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-light);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

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

.highlight {
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 55%, #1976d2 100%);
  color: #fff;
}

.highlight .section-head p {
  color: rgba(255, 255, 255, 0.88);
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.highlight-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.highlight-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 14px 16px;
}

.highlight-list strong {
  display: block;
  margin-bottom: 2px;
}

.highlight-list span {
  font-size: 0.92rem;
  opacity: 0.9;
}

.check {
  color: #90caf9;
  font-weight: 700;
}

/* Pricing */
.pricing-trial-banner {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(21, 101, 192, 0.08);
  border: 1px solid rgba(21, 101, 192, 0.2);
  border-radius: 999px;
  padding: 10px 20px;
  max-width: 520px;
  margin: 0 auto 28px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  position: relative;
}

.price-card.featured::before {
  content: "Best value";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.price-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 4px;
}

.price-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.price-card ul {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.price-card li {
  font-size: 0.92rem;
  color: var(--muted);
  padding: 6px 0 6px 22px;
  position: relative;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* Download */
.download {
  background: var(--blue-light);
}

.download-box {
  background: var(--surface);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.download-box h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.download-box p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 24px;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

.badge.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.badge.disabled {
  opacity: 0.65;
  cursor: default;
}

.badge small {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.85;
}

.download-links {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.download-links a {
  margin: 0 8px;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 40px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.site-footer a {
  color: #94a3b8;
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Mobile nav */
@media (max-width: 900px) {
  .hero-grid,
  .highlight-grid,
  .features-grid,
  .pricing-grid,
  .stats-grid,
  .footer-grid,
  .showcase,
  .why-grid,
  .audience-grid,
  .testimonials-grid,
  .acquisition-grid {
    grid-template-columns: 1fr;
  }

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

  .showcase-thumbs {
    grid-template-columns: repeat(4, minmax(88px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .thumb {
    scroll-snap-align: start;
    min-width: 88px;
  }

  .hero-phone {
    justify-self: center;
  }

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

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .site-header .container {
    position: relative;
  }

  .hero {
    padding-top: 48px;
  }

  .phone-mock {
    max-width: 360px;
    margin: 0 auto;
  }
}
