:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #6b7280;
  --border: rgba(15, 23, 42, 0.12);
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  /* Product grid cards (en + zh): matches .product-icon corner language */
  --radius-product-card: 22px;
  --focus: rgba(59, 130, 246, 0.35);
  /* Same horizontal inset for header, hero, sections, footer */
  --page-pad: 16px;
}

* { box-sizing: border-box; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
html, body { height: 100%; }

.brand-tagline-bar {
  width: 100%;
  margin: 0;
  padding: 10px 0 10px;
  padding-top: max(36px, calc(env(safe-area-inset-top) + 22px));
  box-sizing: border-box;
  background: transparent;
  border: none;
  box-shadow: none;
}

.brand-tagline-bar-inner {
  text-align: center;
}

/* 轻量视觉钩：细箭头引向 hero 动画核心区 */
.brand-tagline-hook {
  display: flex;
  justify-content: center;
  margin: 6px 0 0;
  padding: 0;
  pointer-events: none;
  user-select: none;
  color: rgba(29, 104, 220, 0.45);
}

.brand-tagline-hook-arrow {
  display: block;
  flex-shrink: 0;
  opacity: 0.9;
}

/* 整句呼吸感：轻字重 + 宽字距 / 词距 */
.brand-tagline-text {
  margin: 0;
  max-width: min(40rem, 100%);
  margin-left: auto;
  margin-right: auto;
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(14px, 2.15vw, 19px);
  letter-spacing: 0.14em;
  word-spacing: 0.35em;
  line-height: 1.75;
  text-wrap: balance;
  color: rgba(29, 104, 220, 0.94);
}

.brand-tagline-text--positioning {
  max-width: min(48rem, 100%);
  letter-spacing: 0.06em;
  word-spacing: 0.14em;
  line-height: 1.65;
}

@media (max-width: 520px) {
  .brand-tagline-text {
    padding: 0 var(--page-pad);
    letter-spacing: 0.1em;
    word-spacing: 0.22em;
    font-size: clamp(13px, 3.5vw, 17px);
    line-height: 1.8;
  }

  .brand-tagline-text--positioning {
    letter-spacing: 0.04em;
    word-spacing: 0.08em;
    font-size: clamp(12px, 3.35vw, 16px);
    line-height: 1.7;
  }
}

@media (max-width: 420px) {
  .brand-tagline-bar {
    padding-left: 0;
    padding-right: 0;
  }
}

main {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  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-image:
    radial-gradient(1200px 700px at 10% -10%, rgba(99, 102, 241, 0.12), transparent 60%),
    radial-gradient(900px 600px at 90% 0%, rgba(14, 165, 233, 0.12), transparent 55%),
    /* Seamless horizontal ambience (repeat-x without visible seams) */
    linear-gradient(
      90deg,
      rgba(99, 102, 241, 0.00) 0%,
      rgba(99, 102, 241, 0.06) 28%,
      rgba(99, 102, 241, 0.00) 56%,
      rgba(14, 165, 233, 0.05) 78%,
      rgba(14, 165, 233, 0.00) 100%
    ),
    linear-gradient(
      90deg,
      rgba(14, 165, 233, 0.00) 0%,
      rgba(14, 165, 233, 0.05) 22%,
      rgba(14, 165, 233, 0.00) 50%,
      rgba(99, 102, 241, 0.05) 74%,
      rgba(99, 102, 241, 0.00) 100%
    );
  background-repeat: no-repeat, no-repeat, repeat-x, repeat-x;
  background-size: auto, auto, 720px 100%, 980px 100%;
  background-position: 0 0, 0 0, 0 0, 240px 0;
  animation: bg-drift 18s linear infinite;
}

@keyframes bg-drift {
  from { background-position: 0 0, 0 0, 0 0, 240px 0; }
  to { background-position: 0 0, 0 0, 720px 0, calc(240px + 980px) 0; }
}

/* Content column: same width for hero, sections, footer. Header bar is full-bleed; nav uses this. */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: max(var(--page-pad), env(safe-area-inset-left));
  padding-right: max(var(--page-pad), env(safe-area-inset-right));
  box-sizing: border-box;
}

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

.muted { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  backdrop-filter: blur(10px);
  background: rgba(246, 247, 251, 0.75);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--text);
}

.brand-logo {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
}

.brand-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
  max-width: 100%;
}

.brand-text {
  line-height: 1.05;
  font-size: 18px;
}

.brand-subtext {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.25px;
  color: rgba(15, 23, 42, 0.55);
  margin-top: 4px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Product-list header: single-line brand (icon + text) */
.brand--single-line {
  flex-wrap: nowrap;
  white-space: nowrap;
}

.brand-icon {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

.brand-single-text {
  line-height: 1;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.nav {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

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

.nav-locale {
  margin-left: auto;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

.footer-locale {
  flex-shrink: 0;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.55);
  text-decoration: none;
}

.footer-locale:hover {
  color: rgba(15, 23, 42, 0.88);
}

.footer-locale:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}

.hero.hero--landing {
  padding-top: 24px;
  padding-bottom: 48px;
}

.hero-landing-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  gap: 28px;
  text-align: center;
}

.hero--landing .hero-media--landing {
  min-height: 280px;
  max-width: min(520px, 100%);
  width: 100%;
  margin: 0 auto;
}

.home-hero-intro {
  margin: 0;
  max-width: 38rem;
  padding: 0 var(--page-pad);
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
  overflow-wrap: anywhere;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  padding: 0 var(--page-pad);
}

.home-hero-products-link {
  min-width: 10rem;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.28);
}

.home-hero-products-link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.site-portal-grid--landing {
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.site-portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.site-portal-grid.site-portal-grid--landing {
  gap: 12px;
}

.site-portal-repeat-inner {
  max-width: 100%;
}

.site-portal-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px 22px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  min-width: 0;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.site-portal-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.site-portal-card:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.45);
  outline-offset: 3px;
}

.site-portal-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(99, 102, 241, 0.95);
  background: rgba(99, 102, 241, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
}

.site-portal-badge--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
  font-size: 0;
  letter-spacing: 0;
}

.site-portal-badge-svg {
  width: 1.125rem;
  height: 1.125rem;
  display: block;
  flex-shrink: 0;
}

.site-portal-card--zh .site-portal-badge {
  color: rgba(51, 65, 85, 0.95);
  background: rgba(51, 65, 85, 0.1);
}

.site-portal-title {
  margin: 4px 0 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.site-portal-desc {
  margin: 0;
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.site-portal-cta {
  margin-top: 6px;
  align-self: stretch;
  text-align: center;
  justify-content: center;
}

.site-portal-cta--secondary {
  background: rgba(15, 23, 42, 0.06);
  color: var(--text);
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.site-portal-cta--secondary:hover {
  background: rgba(15, 23, 42, 0.09);
}

.site-portal-card--compact {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px 12px;
  padding: 10px 14px;
  min-height: 0;
}

.site-portal-card--compact .site-portal-badge:not(.site-portal-badge--icon) {
  padding: 3px 8px;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.site-portal-card--compact .site-portal-badge--icon {
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
}

.site-portal-card--compact .site-portal-badge--icon .site-portal-badge-svg {
  width: 1.2rem;
  height: 1.2rem;
}

.site-portal-card--compact .site-portal-title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-portal-card--compact .site-portal-cta--compact {
  margin-top: 0;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.14);
  color: rgba(79, 70, 229, 0.98);
  border: none;
}

.site-portal-card--compact.site-portal-card--zh .site-portal-cta--compact.site-portal-cta--secondary {
  background: rgba(51, 65, 85, 0.1);
  color: rgba(30, 41, 59, 0.96);
}

/* Landing: differentiate via coordinated colors */
.site-portal-grid--landing .site-portal-card--compact {
  padding: 18px 22px;
  min-height: 60px;
  border: 0;
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 16px 40px rgba(79, 70, 229, 0.24);
  background: linear-gradient(
    145deg,
    rgba(99, 102, 241, 0.98) 0%,
    rgba(34, 211, 238, 0.90) 100%
  );
}

.site-portal-grid--landing .site-portal-card--compact.site-portal-card--zh {
  border: 0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 16px 40px rgba(225, 29, 72, 0.22);
  background: linear-gradient(
    145deg,
    rgba(225, 29, 72, 0.98) 0%,
    rgba(244, 63, 94, 0.86) 100%
  );
}

.site-portal-grid--landing .site-portal-card--compact .site-portal-badge {
  color: rgba(255, 255, 255, 0.98);
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.site-portal-grid--landing .site-portal-card--compact .site-portal-badge--icon {
  width: 2.9rem;
  height: 2.9rem;
  min-width: 2.9rem;
}

.site-portal-grid--landing .site-portal-card--compact .site-portal-badge--icon .site-portal-badge-svg {
  width: 1.6rem;
  height: 1.6rem;
}

.site-portal-grid--landing .site-portal-card--compact.site-portal-card--zh .site-portal-badge {
  color: rgba(248, 250, 252, 0.95);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(226, 232, 240, 0.34);
}

.site-portal-grid--landing .site-portal-card--compact .site-portal-title {
  color: #fff;
  font-weight: 800;
  font-size: 1.18rem;
}

.site-portal-grid--landing .site-portal-card--compact .site-portal-cta--compact {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
  border: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset;
  font-weight: 800;
  font-size: 13px;
}

.site-portal-grid--landing
  .site-portal-card--compact.site-portal-card--zh
  .site-portal-cta--compact.site-portal-cta--secondary {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.28);
  color: rgba(248, 250, 252, 0.98);
  border: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset;
  font-weight: 800;
  font-size: 13px;
}

.site-portal-grid--landing .site-portal-card--compact:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 22px 56px rgba(79, 70, 229, 0.22);
}

.site-portal-grid--landing .site-portal-card--compact.site-portal-card--zh:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 22px 56px rgba(225, 29, 72, 0.20);
}

.site-portal-grid--landing .site-portal-card--compact:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .site-portal-grid {
    grid-template-columns: 1fr;
  }

  .site-portal-grid--landing {
    max-width: min(420px, 100%);
  }

  .hero-landing-stack {
    gap: 22px;
  }
}

.hero {
  padding: 56px 0 28px;
  overflow-x: hidden;
  overflow-y: visible;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Must not set max-width: 100% here — it overrides .container and stretches hero to full viewport. */
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: stretch;
  min-height: 240px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: visible;
}

.hero-inner > * {
  min-width: 0;
}

.hero-text {
  max-width: 100%;
}

.hero-text h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.hero-text p {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.hero-aux {
  margin-top: -6px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid var(--border);
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.65);
}

.btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(14, 165, 233, 0.95));
  color: white;
}

.btn:hover { transform: translateY(-1px); transition: transform 160ms ease; }

.hero-logo {
  display: grid;
  place-items: center;
}

.logo-mark {
  width: 160px;
  height: 160px;
  border-radius: 30px;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0.4px;
  color: white;
  background: radial-gradient(120px 100px at 20% 20%, rgba(255,255,255,0.35), transparent 60%),
    linear-gradient(135deg, rgba(17, 94, 233, 0.95), rgba(124, 58, 237, 0.95));
  box-shadow: var(--shadow);
}

.section { padding: 40px 0; }
.section.alt { background: rgba(255, 255, 255, 0.40); border-top: 1px solid rgba(15, 23, 42, 0.04); border-bottom: 1px solid rgba(15, 23, 42, 0.04); }
/* Product list links again below the three intro cards */
.section.site-portal-repeat {
  padding-top: 32px;
  padding-bottom: 52px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.35);
}

.about-band {
  margin-bottom: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.75);
}

.about-band-inner {
  padding: 28px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.about-band-copy {
  display: grid;
  gap: 6px;
}

.about-band-media {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  justify-self: stretch;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  line-height: 0;
}

.about-band-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  vertical-align: top;
}

.about-band-kicker {
  font-weight: 900;
  letter-spacing: 0.5px;
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.62);
}

.about-band-title {
  font-weight: 950;
  letter-spacing: -0.2px;
  font-size: 18px;
  color: rgba(15, 23, 42, 0.92);
}

.about-band-text {
  color: rgba(15, 23, 42, 0.72);
  line-height: 1.75;
  font-size: 14px;
}

.about-band-stat {
  margin-top: 10px;
  color: rgba(15, 23, 42, 0.76);
  line-height: 1.6;
  font-size: 14px;
}

.about-band-stat-prefix,
.about-band-stat-tail {
  color: rgba(15, 23, 42, 0.76);
  font-weight: 600;
}

.about-stat-number {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 950;
  color: rgba(99, 102, 241, 0.98);
  background: rgba(99, 102, 241, 0.10);
  text-shadow: 0 0 18px rgba(99, 102, 241, 0.18);
}

.about-card-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  border: 1px dashed rgba(15, 23, 42, 0.18);
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  margin-bottom: 12px;
}

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

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: 24px;
}

.section-head p {
  margin: 0;
}

.section-head--stack {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
}

.section-head--sub {
  margin-top: 28px;
}

/* Product lists (index / en): more air around headings vs. cards */
#products .section-head--stack {
  gap: 12px;
}

#products .section-head {
  margin-bottom: 36px;
}

#products .section-head h2 {
  line-height: 1.28;
  letter-spacing: -0.02em;
}

#products .section-head .muted {
  line-height: 1.65;
  max-width: 42rem;
}

#products .section-head--sub {
  margin-top: 52px;
}

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

/* Chinese catalog (zh.html): 5×n grid, card tiles; CTA uses .pill like en */
.zh-catalog .section {
  padding: 18px 0 30px;
}

.zh-catalog .zh-catalog-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.zh-catalog-tile {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 8px;
  min-width: 0;
  padding: 14px 10px 12px;
  background: rgba(255, 255, 255, 0.75);
  border: none;
  border-radius: var(--radius-product-card);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  color: inherit;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.zh-catalog-tile:not(.zh-catalog-tile--static):hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.zh-catalog-tile--static {
  cursor: default;
  opacity: 0.92;
}

.zh-catalog-tile-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  flex-shrink: 0;
  overflow: hidden;
}

.zh-catalog-tile-icon--img {
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.zh-catalog-tile-icon--img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.zh-catalog-tile-icon--text {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
  background:
    radial-gradient(12px 10px at 28% 22%, rgba(255, 255, 255, 0.4), transparent 58%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 88%, #fff 12%), var(--accent));
}

@supports not (background: color-mix(in srgb, red 50%, blue 50%)) {
  .zh-catalog-tile-icon--text {
    background:
      radial-gradient(12px 10px at 28% 22%, rgba(255, 255, 255, 0.4), transparent 58%),
      linear-gradient(135deg, var(--accent), rgba(0, 0, 0, 0.12));
  }
}

.zh-catalog-tile-name {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  max-width: 100%;
  color: rgba(15, 23, 42, 0.88);
}

.zh-catalog-tile-btn.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto;
  max-width: 100%;
  margin-top: 2px;
  font-size: 11px;
  padding: 5px 9px;
  line-height: 1.2;
  white-space: normal;
  text-align: center;
  text-decoration: none;
}

.zh-catalog-tile-btn.pill:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.zh-catalog-tile-btn--muted.pill {
  pointer-events: none;
  cursor: default;
  color: rgba(15, 23, 42, 0.62);
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.82);
}

@media (max-width: 520px) {
  .zh-catalog .zh-catalog-grid {
    gap: 10px 8px;
  }

  .zh-catalog-tile {
    padding: 10px 6px 9px;
    gap: 6px;
  }

  .zh-catalog-tile-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .zh-catalog-tile-icon--text {
    font-size: 12px;
  }

  .zh-catalog-tile-name {
    font-size: 10px;
  }

  .zh-catalog-tile-btn.pill {
    font-size: 10px;
    padding: 4px 7px;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 18px;
  background: rgba(255, 255, 255, 0.75);
  border: none;
  border-radius: var(--radius-product-card);
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease;
  color: var(--text);
}

.product-card:visited {
  color: var(--text);
}

.product-card .product-name {
  color: var(--text);
}

.product-card:visited .product-name {
  color: var(--text);
}

.product-card .product-tag {
  color: var(--muted);
}

.product-card:visited .product-tag {
  color: var(--muted);
}

.product-card:visited .pill {
  color: rgba(15, 23, 42, 0.9);
}

.product-card .pill {
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 7px 12px;
}

.product-card--placeholder {
  cursor: default;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
}

.product-card:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.product-top {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  min-width: 0;
}

.product-meta {
  flex: 1 1 auto;
  min-width: 0;
}

.product-cta {
  flex: 0 0 auto;
}

/* First store CTA (App Store or Google Play) anchors the pill group to the right */
.product-top > .product-cta:first-of-type {
  margin-left: auto;
}

.product-top > .product-cta ~ .product-cta {
  margin-left: 10px;
}

.product-cta--soon {
  color: rgba(15, 23, 42, 0.62);
  border-color: rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.82);
}

.product-cta--ios {
  cursor: pointer;
}

.product-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 72px;
  aspect-ratio: 1 / 1;
  color: white;
  font-weight: 900;
  background:
    radial-gradient(16px 12px at 25% 20%, rgba(255,255,255,0.45), transparent 60%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 90%, #fff 10%), var(--accent));
}

.product-icon--text {
  /* Keep the original gradient badge background for text fallback */
}

.product-icon--img {
  background: transparent;
  border: none;
  padding: 0;
  overflow: hidden;
}

.product-icon--img .product-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

/* Fallback for environments that do not support `color-mix`. */
@supports not (background: color-mix(in srgb, red 50%, blue 50%)) {
  .product-icon {
    background:
      radial-gradient(16px 12px at 25% 20%, rgba(255,255,255,0.45), transparent 60%),
      linear-gradient(135deg, var(--accent), rgba(0,0,0,0.15));
  }

  /* Keep image badges clean even when we fall back from `color-mix`. */
  .product-icon--img {
    background: transparent;
  }
}

.product-icon--img {
  background: transparent;
}

.product-name {
  font-weight: 850;
  line-height: 1.35;
}

.product-tag { margin-top: 6px; font-size: 13px; line-height: 1.4; }

.product-card .product-tag {
  margin-top: 8px;
  line-height: 1.55;
}

/* product-bottom removed (CTA moved to the right of text) */

.package {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 65%;
}

.pill {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.65);
  color: rgba(15, 23, 42, 0.9);
}

.about-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.info-card {
  padding: 28px 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.info-card h3 { margin: 0 0 8px; font-size: 16px; }
.info-card p { margin: 0; color: var(--muted); line-height: 1.7; }

.contact-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
  align-items: start;
}

.contact-card {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.contact-card h3 { margin: 0 0 10px; }

.bullets {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.label {
  font-weight: 800;
  color: rgba(15, 23, 42, 0.75);
  min-width: 46px;
}

.contact-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 800;
}
.contact-link:hover { text-decoration: underline; }

.site-footer {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: visible;
  position: relative;
  z-index: 9998;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(246, 247, 251, 0.65);
}

/* Single .container: avoids double horizontal padding so china line aligns with lang control. */
.footer-shell {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.footer-china-line {
  margin: 0;
  padding: 10px 0 0;
  text-align: right;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(15, 23, 42, 0.52);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.footer-china-text {
  font-weight: 500;
  color: inherit;
}

.footer-china-link {
  color: inherit;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.footer-china-link::after {
  content: "\00a0→";
  opacity: 0.7;
  font-weight: 400;
  white-space: nowrap;
}

.footer-china-link:hover {
  color: rgba(15, 23, 42, 0.72);
  border-bottom-color: rgba(15, 23, 42, 0.14);
}

.footer-china-link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  min-width: 0;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.62);
}

.footer-inner > span:first-child {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-muted { color: var(--muted); font-weight: 600; }

.lang-switcher {
  position: relative;
  flex-shrink: 0;
  z-index: 9999;
}

.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.78);
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lang-switcher-btn::after {
  content: "▾";
  display: inline-block;
  margin-left: 4px;
  opacity: 0.55;
  font-size: 12px;
  transform: translateY(1px);
  transition: transform 0.15s ease;
}

.lang-switcher-btn[aria-expanded="true"]::after {
  transform: translateY(1px) rotate(180deg);
}

.lang-switcher-btn:hover {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 2px 0 rgba(99, 102, 241, 0.12);
}

.lang-switcher-btn:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.45);
  outline-offset: 2px;
}

.lang-switcher-label {
  font-weight: 600;
  color: rgba(15, 23, 42, 0.45);
}

.lang-switcher-current {
  color: rgba(15, 23, 42, 0.88);
}

.lang-switcher-panel {
  position: fixed;
  left: 0;
  top: 0;
  min-width: 220px;
  max-height: min(52vh, 380px);
  overflow-y: auto;
  padding: 6px 0;
  border-radius: 12px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.35);
  z-index: 10000;
}

.lang-switcher-panel[hidden] {
  display: none !important;
}

.lang-switcher-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: #f1f5f9;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.35;
}

.lang-switcher-option:hover {
  background: rgba(255, 255, 255, 0.07);
}

.lang-switcher-option[aria-selected="true"] {
  background: rgba(99, 102, 241, 0.28);
  color: #fff;
  font-weight: 700;
}

@media (max-width: 980px) {
  .grid { grid-template-columns: 1fr; }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .about-inner { grid-template-columns: 1fr; }
  .why-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-inner { grid-template-columns: 1fr; }
  .about-band-inner { grid-template-columns: 1fr; }
  .about-band-media {
    max-width: 100%;
    justify-self: stretch;
  }
}

.hero-media {
  display: grid;
  place-items: center;
  justify-self: stretch;
  align-self: stretch;
  min-height: 260px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  padding: 8px 4px;
  box-sizing: border-box;
}

.hero-brand-motion {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  user-select: none;
  overflow: visible;
}

.hero-dev-scene {
  --hero-beat: 3s;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 300px;
  margin: 0;
  overflow: visible;
  box-sizing: border-box;
  transform: scale(1.08);
  transform-origin: center;
}

.hero-ai-nodes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-ai-node {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95), #6366f1 62%);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.22), 0 0 8px rgba(99, 102, 241, 0.28);
  animation: hero-ai-node-breathe 2.2s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-delay: calc(var(--p) * 0.35s);
}

.hero-ai-nodes .hero-ai-node:nth-child(2),
.hero-ai-nodes .hero-ai-node:nth-child(4) {
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95), #f43f5e 62%);
  box-shadow: 0 0 0 1px rgba(244, 63, 94, 0.22), 0 0 8px rgba(244, 63, 94, 0.26);
  animation-name: hero-ai-node-breathe-rose;
}

.hero-ai-nodes .hero-ai-node:nth-child(1) {
  top: 12%;
  left: 16%;
}
.hero-ai-nodes .hero-ai-node:nth-child(2) {
  top: 22%;
  right: 12%;
}
.hero-ai-nodes .hero-ai-node:nth-child(3) {
  bottom: 38%;
  left: 8%;
}
.hero-ai-nodes .hero-ai-node:nth-child(4) {
  bottom: 30%;
  right: 10%;
}
@keyframes hero-ai-node-breathe {
  0%,
  100% {
    transform: scale(0.82);
    opacity: 0.42;
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.2), 0 0 5px rgba(99, 102, 241, 0.2);
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.32), 0 0 16px rgba(99, 102, 241, 0.48);
  }
}

@keyframes hero-ai-node-breathe-rose {
  0%,
  100% {
    transform: scale(0.82);
    opacity: 0.42;
    box-shadow: 0 0 0 1px rgba(244, 63, 94, 0.2), 0 0 5px rgba(244, 63, 94, 0.22);
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(244, 63, 94, 0.3), 0 0 16px rgba(244, 63, 94, 0.45);
  }
}

.hero-dev-glyph {
  position: absolute;
  z-index: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: clamp(12px, 1.3vw, 15px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(71, 85, 105, 0.58);
  text-shadow: none;
  pointer-events: none;
  animation: hero-dev-glyph-flash 1.35s steps(1, end) infinite;
  animation-delay: calc(var(--n) * 0.12s);
}

.hero-dev-glyph--a { --n: 0; top: 6%; left: 2%; }
.hero-dev-glyph--b { --n: 1; top: 8%; right: 4%; }
.hero-dev-glyph--c { --n: 2; bottom: 22%; left: 6%; }
.hero-dev-glyph--d { --n: 3; bottom: 28%; right: 2%; }
.hero-dev-glyph--f {
  --n: 5;
  top: 34%;
  left: 2%;
  font-size: clamp(12px, 1.4vw, 16px);
  letter-spacing: 0;
  color: rgba(99, 102, 241, 0.42);
}
.hero-dev-glyph--g {
  --n: 6;
  top: 34%;
  right: 4%;
  font-size: clamp(12px, 1.4vw, 16px);
  letter-spacing: 0;
  color: rgba(99, 102, 241, 0.42);
}
.hero-dev-glyph--h {
  --n: 7;
  bottom: 8%;
  left: 10%;
  font-size: clamp(10px, 1.1vw, 12px);
  letter-spacing: 0.2em;
  color: rgba(51, 65, 85, 0.42);
}
.hero-dev-glyph--i {
  --n: 8;
  bottom: 16%;
  right: 8%;
  font-size: clamp(14px, 1.6vw, 18px);
  color: rgba(79, 70, 229, 0.38);
}
.hero-dev-glyph--e {
  --n: 4;
  top: 0;
  left: 50%;
  color: rgba(51, 65, 85, 0.48);
  animation: hero-dev-glyph-center-flash 1.35s steps(1, end) infinite;
  animation-delay: calc(var(--n) * 0.12s);
}

@keyframes hero-dev-glyph-flash {
  0%,
  74% {
    opacity: 0.24;
    transform: translateY(0) scale(1);
    filter: brightness(0.92);
    text-shadow: none;
  }
  75%,
  100% {
    opacity: 1;
    transform: translateY(-8px) scale(1.08);
    filter: brightness(1.18);
    text-shadow: 0 0 18px rgba(99, 102, 241, 0.55);
  }
}

@keyframes hero-dev-glyph-center-flash {
  0%,
  74% {
    opacity: 0.22;
    transform: translateX(-50%) translateY(0) scale(1);
    filter: brightness(0.92);
    text-shadow: none;
  }
  75%,
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(-8px) scale(1.08);
    filter: brightness(1.16);
    text-shadow: 0 0 18px rgba(99, 102, 241, 0.5);
  }
}

.hero-dev-core {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 44px 10px 4px;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-brand-ume {
  margin: 0;
  line-height: 1;
  max-width: 100%;
}

.hero-ume-shimmer {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(48px, 7.8vw, 84px);
  font-weight: 950;
  letter-spacing: 0.06em;
  background: linear-gradient(
    110deg,
    #6366f1 0%,
    #0ea5e9 25%,
    #6366f1 50%,
    #0ea5e9 75%,
    #6366f1 100%
  );
  background-size: 340% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: hero-ume-flow 8s linear infinite;
  filter: drop-shadow(0 12px 34px rgba(99, 102, 241, 0.38))
    drop-shadow(0 0 48px rgba(14, 165, 233, 0.22));
}

@keyframes hero-ume-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.hero-brand-dev {
  margin: 0;
  font-size: clamp(16px, 1.95vw, 22px);
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  color: rgba(15, 23, 42, 0.45);
  animation: hero-dev-line-idle 3.6s ease-in-out infinite;
}

@keyframes hero-dev-line-idle {
  0%,
  100% {
    color: rgba(15, 23, 42, 0.4);
    text-shadow: none;
  }
  50% {
    color: rgba(15, 23, 42, 0.62);
    text-shadow: 0 0 24px rgba(99, 102, 241, 0.12);
  }
}

.hero-dev-cli {
  margin: 6px 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(14, 165, 233, 0.72);
}

.hero-dev-prompt {
  margin-right: 8px;
  color: rgba(225, 29, 72, 0.72);
}

.hero-dev-typed {
  margin-right: 2px;
  color: rgba(15, 23, 42, 0.5);
}

.hero-dev-cursor {
  display: inline-block;
  color: rgba(99, 102, 241, 0.85);
  animation: hero-dev-blink 0.72s steps(1, end) infinite;
}

.hero-dev-subcli {
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  max-width: min(26em, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: 0 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(71, 85, 105, 0.88);
  line-height: 1.45;
  text-wrap: balance;
}

.hero-dev-subcli-line {
  display: block;
  width: 100%;
  text-align: center;
}

.hero-dev-subcli-line:first-child::before {
  content: "// ";
  color: rgba(15, 23, 42, 0.22);
  font-weight: 600;
  letter-spacing: 0;
  user-select: none;
}

.hero-dev-build-line {
  color: rgba(51, 65, 85, 0.92);
  font-weight: 600;
}

.hero-dev-subnote {
  font-weight: 500;
  color: rgba(100, 116, 139, 0.82);
  letter-spacing: 0.02em;
}

.hero-dev-prompt-note {
  font-weight: 500;
  color: rgba(190, 24, 93, 0.48);
  letter-spacing: 0.02em;
}

@keyframes hero-dev-blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 520px) {
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .lang-switcher {
    align-self: flex-end;
  }
}

@media (max-width: 420px) {
  .grid { grid-template-columns: 1fr; }
  .nav { gap: 12px; }
  .package { max-width: 60%; }
  .why-inner { grid-template-columns: 1fr; }
  .product-top > .product-cta:first-of-type {
    margin-left: 0;
  }
  .product-top > .product-cta ~ .product-cta {
    margin-left: 8px;
  }
}

.why-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .product-card:hover, .zh-catalog-tile:not(.zh-catalog-tile--static):hover {
    transform: none;
    transition: none;
  }
  body { animation: none; }
  .hero-ume-shimmer,
  .hero-brand-dev,
  .hero-dev-glyph,
  .hero-dev-cursor,
  .hero-ai-node {
    animation: none;
  }
  .hero-ume-shimmer {
    background: none;
    color: var(--text);
    -webkit-text-fill-color: currentColor;
    filter: none;
    transform: none;
  }
  .hero-brand-dev {
    text-shadow: none;
  }
  .hero-ai-node {
    opacity: 0.55;
    transform: none;
  }
}

/* Videodownloader landing page (videodownloader.html) */
.vd-landing {
  color: var(--text);
}

.vd-main {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.vd-brand-tagline {
  letter-spacing: 0.08em;
}

.vd-hero {
  padding: 22px 0 6px;
}

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

.vd-hero-icon {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  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: var(--shadow);
  flex: 0 0 auto;
}

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

.vd-hero-title {
  margin: 0;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 950;
  letter-spacing: -0.02em;
}

.vd-hero-lead {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  text-wrap: balance;
}

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

.vd-point-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.vd-point-inner--reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.vd-point-title {
  margin: 0;
  font-size: clamp(18px, 2.7vw, 26px);
  font-weight: 950;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

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

.vd-point-media {
  width: 100%;
}

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

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

.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.00), rgba(15, 23, 42, 0.25));
  pointer-events: none;
}

.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;
}

.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);
}

@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-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.10);
  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);
}

.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-interest-pill {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 950;
  padding: 6px 10px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.65);
}

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

.vd-bottom-cta-inner {
  width: 100%;
}

.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(255, 106, 0, 0.98), rgba(255, 183, 3, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 18px 56px rgba(255, 106, 0, 0.24),
    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 rgba(255, 106, 0, 0.55);
  outline-offset: 4px;
}

@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-inner {
    gap: 10px;
  }

  .vd-hero-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

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

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

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

