:root {
  --bg: #070a12;
  --card: rgba(255, 255, 255, 0.06);
  --text: #f8fafc;
  --muted: rgba(248, 250, 252, 0.72);
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 14px 44px rgba(0, 0, 0, 0.35);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background-color: var(--bg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  background-image: radial-gradient(
      1200px 700px at 10% -10%,
      rgba(99, 102, 241, 0.22),
      transparent 60%
    ),
    radial-gradient(
      900px 600px at 90% 0%,
      rgba(14, 165, 233, 0.18),
      transparent 55%
    );
}

img {
  max-width: 100%;
  height: auto;
}

.vd-landing {
  color: var(--text);
}

.vd-container {
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}

.vd-topbar {
  width: 100%;
  margin: 0;
  padding: 20px 0 10px;
}

.vd-topbar-inner {
  text-align: center;
}

.vd-brand-tagline {
  margin: 0;
  font-weight: 300;
  font-size: clamp(14px, 2.15vw, 19px);
  letter-spacing: 0.14em;
  word-spacing: 0.35em;
  line-height: 1.75;
  color: rgba(29, 104, 220, 0.94);
}

.vd-main {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding-bottom: 96px; /* keep content visible above the floating download badge */
}

.vd-hero {
  padding: 24px 0 18px; /* bigger gap to the theme line */
}

.vd-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.vd-hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px; /* logo + name on one line */
  opacity: 1;
}

.vd-hero-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: radial-gradient(
      16px 12px at 25% 20%,
      rgba(255, 255, 255, 0.45),
      transparent 60%
    ),
    linear-gradient(135deg, rgba(255, 106, 0, 0.95), rgba(255, 183, 3, 0.95));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  flex: 0 0 auto;
  overflow: hidden;
  opacity: 1;
}

.vd-hero-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.vd-hero-title {
  margin: 0;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(248, 250, 252, 0.86);
}

.vd-hero-lead {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.98);
  font-size: clamp(28px, 6vw, 48px);
  line-height: 1.25;
  text-wrap: balance;
  text-align: center;
  font-weight: 900;
}

.vd-hero-lead strong {
  display: inline;
  margin-top: 0;
}

.vd-point {
  scroll-margin-top: 90px;
}

.vd-section {
  padding: 40px 0;
}

.vd-section.alt {
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.vd-point-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.vd-point-inner--reverse {
  /* kept for backward compatibility; landing uses a single-column mobile layout */
  flex-direction: column;
}

.vd-point-title {
  margin: 0;
  font-size: clamp(20px, 3.2vw, 28px);
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.98); /* solid white; avoid translucent blue */
}

.vd-point-text {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.vd-point-copy {
  width: 100%;
  text-align: center;
}

.vd-reference {
  width: 100%;
}

.vd-reference-image {
  width: 100%;
  display: block;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.35);
}

.vd-feature {
  padding: 26px 0 20px; /* more breathing room around the theme line */
}

.vd-feature .vd-hero-lead {
  margin-top: 0;
}

.vd-video-stage {
  padding: 18px 0 26px; /* bigger gap after the theme line */
}

.vd-square-scroll {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.35);
  position: relative;
}

.vd-square-scroll-track {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  animation: vd-square-swipe 3s linear infinite;
  will-change: transform;
}

.vd-square-scroll-slide {
  width: 100%;
  height: 100%;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vd-square-scroll-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fill the 1/1 frame */
  display: block;
}

.vd-square-scroll-track > .vd-square-scroll-slide:nth-child(1) img {
  object-position: 50% 10%;
}

.vd-square-scroll-track > .vd-square-scroll-slide:nth-child(2) img {
  object-position: 50% 40%;
}

.vd-square-scroll-track > .vd-square-scroll-slide:nth-child(3) img {
  object-position: 50% 65%;
}

.vd-square-scroll-track > .vd-square-scroll-slide:nth-child(4) img {
  object-position: 50% 90%;
}

.vd-feature-raw-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.vd-click-target {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 720px) {
  .vd-container {
    max-width: 800px;
  }

  /* Hero lead should be allowed to use the page width (avoid wrapping). */
  .vd-feature .vd-container {
    max-width: 1000px;
  }

  .vd-feature .vd-hero-lead {
    white-space: nowrap;
  }

  .vd-feature-raw-image {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .vd-square-scroll {
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

@keyframes vd-square-swipe {
  /* Normal fast scroll (no finger simulation). */
  0% {
    transform: translateY(0%);
  }
  100% {
    transform: translateY(-300%); /* 4 slides -> move up 3 heights */
  }
}

.vd-poster {
  position: relative;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.35);
  aspect-ratio: 16 / 10;
}

.vd-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vd-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

.vd-poster-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(540px 220px at 15% 0%, rgba(255, 106, 0, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.25));
  pointer-events: none;
  z-index: 1;
}

.vd-poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: rgba(255, 106, 0, 0.95);
  display: grid;
  place-items: center;
  font-size: 22px;
  box-shadow: 0 14px 40px rgba(255, 106, 0, 0.22);
  animation: vd-play-breathe 2.3s ease-in-out infinite;
  z-index: 2;
}

@keyframes vd-play-breathe {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.96);
    opacity: 0.95;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.06);
    opacity: 1;
  }
}

.vd-poster-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.98);
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.98), rgba(255, 183, 3, 0.92));
  box-shadow: 0 18px 46px rgba(255, 106, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.22);
  z-index: 2;
}

.vd-interest-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.vd-interest-tile {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.vd-interest-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.vd-interest-tile:focus-visible {
  outline: 2px solid rgba(255, 106, 0, 0.45);
  outline-offset: 3px;
}

.vd-interest-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: radial-gradient(14px 10px at 25% 20%, rgba(255, 255, 255, 0.45), transparent 60%),
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--accent) 88%, #fff 12%),
      var(--accent)
    );
  border: 1px solid rgba(255, 255, 255, 0.22);
}

@supports not (background: color-mix(in srgb, red 50%, blue 50%)) {
  .vd-interest-icon {
    background: radial-gradient(14px 10px at 25% 20%, rgba(255, 255, 255, 0.45), transparent 60%),
      linear-gradient(135deg, var(--accent), rgba(0, 0, 0, 0.12));
  }
}

.vd-interest-icon img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  display: block;
}

.vd-interest-name {
  font-weight: 950;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.vd-interest-tag {
  margin-top: -4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.vd-pill,
.vd-interest-pill {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 950;
  padding: 6px 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.65);
  color: rgba(15, 23, 42, 0.88);
  border-radius: 999px;
  line-height: 1.2;
}

.vd-bottom-cta {
  padding: 18px 0 44px;
}

.vd-floating-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(44px + env(safe-area-inset-bottom));
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 16px;
  pointer-events: none; /* only the inner button is clickable */
}

.vd-google-play-badge {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start !important; /* logo + text keep left; arrow stays on the right */
  margin: 0 auto;
  gap: 12px;
  width: min(520px, 100%);
  position: relative;
  background: linear-gradient(
    135deg,
    #FFCC33,
    #FFB300
  );
  border: 2px solid #EB8C16;
  border-radius: 999px; /* large pill corners */
  padding: 12px 16px 12px 16px;
  padding-left: 38px; /* move logo/text inward */
  padding-right: 66px; /* room for the right-side arrow */
  box-shadow:
    0 20px 70px rgba(235, 140, 22, 0.28),
    0 2px 0 rgba(255, 255, 255, 0.95) inset;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.vd-google-play-badge::after {
  content: "→";
  position: absolute;
  right: 42px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  pointer-events: none;
  animation: vd-gp-arrow-nudge 700ms ease-in-out infinite;
  transition: transform 160ms ease;
}

@keyframes vd-gp-arrow-nudge {
  0% {
    transform: translateY(-50%) translateX(0);
  }
  50% {
    transform: translateY(-50%) translateX(6px);
  }
  100% {
    transform: translateY(-50%) translateX(0);
  }
}

.vd-google-play-badge:hover {
  transform: translateY(-2px);
  box-shadow:
    0 26px 78px rgba(235, 140, 22, 0.36),
    0 2px 0 rgba(255, 255, 255, 0.98) inset;
}

.vd-google-play-badge:focus-visible {
  outline: 2px solid #EB8C16;
  outline-offset: 3px;
}

.vd-gp-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: block;
  object-fit: contain;
  background: transparent;
  border: none;
}

.vd-gp-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.05;
  width: auto;
}

.vd-gp-top {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.vd-gp-main {
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
}

.vd-google-play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  padding: 16px 18px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 950;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.98);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.98), rgba(37, 99, 235, 0.95));
  border: 1px solid #EB8C16;
  box-shadow: 0 18px 56px rgba(235, 140, 22, 0.22), 0 1px 0 rgba(255, 255, 255, 0.26) inset;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.vd-google-play-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
}

.vd-google-play-btn:focus-visible {
  outline: 2px solid #EB8C16;
  outline-offset: 4px;
}

.vd-footer {
  width: 100%;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(246, 247, 251, 0.65);
}

.vd-footer-inner {
  font-size: 12px;
  color: rgba(15, 23, 42, 0.62);
  font-weight: 600;
}

@media (max-width: 980px) {
  .vd-point-inner,
  .vd-point-inner--reverse {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 520px) {
  .vd-hero-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

  .vd-hero-brand {
    gap: 10px;
  }

  .vd-poster {
    border-radius: 18px;
  }

  .vd-square-scroll {
    border-radius: 18px; /* keep corners consistent with the video poster */
  }

  .vd-google-play-btn {
    min-height: 54px;
    font-size: 17px;
  }

  .vd-hero-lead {
    font-size: 30px;
  }

  .vd-point-text {
    font-size: 16px;
    line-height: 1.7;
  }

  .vd-floating-cta {
    bottom: calc(28px + env(safe-area-inset-bottom));
    padding: 0 12px;
  }

  .vd-google-play-badge {
    border-radius: 999px;
    padding: 10px 14px;
    padding-left: 30px; /* move logo/text inward */
    padding-right: 58px; /* room for the right-side arrow */
    gap: 10px;
  }

  .vd-gp-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: none;
  }

  .vd-gp-top {
    font-size: 13px;
  }

  .vd-gp-main {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vd-poster-play {
    animation: none;
  }

  .vd-square-scroll-track {
    animation: none;
    transform: none;
  }

  .vd-google-play-badge::after {
    animation: none;
  }
}

