:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #ffffff;
  --text: #172033;
  --muted: #64748b;
  --line: rgba(148, 163, 184, 0.18);
  --accent: #ef4444;
  --accent-deep: #dc2626;
  --blue: #2563eb;
  --shadow-lg: 0 28px 80px rgba(15, 23, 42, 0.12);
  --shadow-md: 0 18px 48px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --font-stack: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-stack);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(239, 68, 68, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 22%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
}

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

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

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(244, 247, 251, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-lockup img {
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.brand-subtitle {
  font-size: 20px;
  color: var(--accent-deep);
  font-weight: 700;
  line-height: 1.2;
}

.hero-section,
.feature-section,
.gallery-section,
.cta-section {
  padding: 30px 0;
}

.feature-section {
  padding-top: 0;
}

.hero-copy {
  padding-right: min(2vw, 24px);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.hero-title {
  margin: 22px 0 0;
  font-size: clamp(28px, 4.2vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-title span {
  display: block;
  margin-top: 10px;
  color: var(--accent-deep);
  white-space: nowrap;
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  margin-top: 32px;
}

.download-card {
  height: 100%;
  min-height: 108px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 52px rgba(15, 23, 42, 0.12);
}

.download-card-android {
  background: linear-gradient(145deg, #ff6b6b 0%, #ef4444 55%, #dc2626 100%);
  color: #fff;
}

.download-card-windows {
  background: linear-gradient(145deg, #1d4ed8 0%, #2563eb 58%, #3b82f6 100%);
  color: #fff;
}

.download-card-web {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 55%, #334155 100%);
  color: #fff;
}

.download-card-ios {
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
}

.download-card.disabled {
  opacity: 0.9;
  cursor: default;
}

.download-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
}

.download-card-ios .download-icon {
  background: rgba(15, 23, 42, 0.06);
}

.download-icon svg {
  width: 26px;
  height: 26px;
}

.download-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.download-platform {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
}

.download-desc {
  font-size: 14px;
  opacity: 0.92;
}

.download-state {
  margin-left: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.highlight-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.hero-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.7fr;
  gap: 18px;
  align-items: center;
}

.showcase-stack {
  display: grid;
  gap: 18px;
}

.showcase-panel {
  border-radius: var(--radius-xl);
  padding: 14px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
}

.showcase-panel img {
  width: 100%;
  border-radius: calc(var(--radius-xl) - 10px);
}

.primary-shot {
  transform: rotate(-5deg);
}

.secondary-shot:first-child {
  transform: rotate(5deg);
}

.secondary-shot:last-child {
  transform: rotate(-2deg);
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
}

.gallery-warning {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-deep);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.gallery-warning svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.feature-card,
.gallery-card,
.cta-panel,
.footer-panel {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
}

.feature-card {
  height: 100%;
  padding: 26px 24px;
  border-radius: var(--radius-lg);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.16), rgba(37, 99, 235, 0.14));
  color: var(--accent-deep);
  font-size: 15px;
  font-weight: 800;
}

.feature-card h3 {
  margin: 18px 0 12px;
  font-size: 22px;
  line-height: 1.2;
}

.feature-card p,
.gallery-copy p,
.cta-copy p,
.footer-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.gallery-card {
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gallery-frame {
  padding: 14px 14px 0;
}

.gallery-frame img {
  width: 100%;
  aspect-ratio: 9 / 19.25;
  object-fit: cover;
  object-position: top center;
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.wide-frame img {
  aspect-ratio: 16 / 10.4;
}

.gallery-copy {
  padding: 20px 22px 24px;
}

.gallery-copy h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.cta-panel {
  border-radius: 28px;
  padding: 34px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background:
    radial-gradient(circle at right top, rgba(37, 99, 235, 0.14), transparent 28%),
    radial-gradient(circle at left bottom, rgba(239, 68, 68, 0.16), transparent 24%),
    rgba(255, 255, 255, 0.88);
}

.cta-copy h2 {
  margin: 14px 0 10px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  align-items: center;
}

.cta-btn {
  min-width: 182px;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.cta-btn-secondary {
  border-color: rgba(23, 32, 51, 0.18);
  color: var(--text);
}

.cta-ios-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.site-footer {
  padding: 0 0 40px;
}

.footer-panel {
  border-radius: 24px;
  padding: 24px 26px;
}

.footer-panel a {
  color: var(--blue);
}

@media (max-width: 1199.98px) {
  .hero-showcase {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 991.98px) {
  .site-header {
    position: static;
  }

  .hero-section,
  .feature-section,
  .gallery-section,
  .cta-section {
    padding: 22px 0;
  }

  .feature-section {
    padding-top: 0;
  }

  .hero-copy {
    padding-right: 0;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .brand-title {
    font-size: 24px;
  }

  .brand-subtitle {
    font-size: 16px;
  }

  .hero-title {
    font-size: clamp(22px, 6vw, 40px);
  }

  .hero-title span {
    margin-top: 6px;
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.7;
  }

  .download-card {
    min-height: 96px;
    padding: 18px 18px;
  }

  .download-platform {
    font-size: 18px;
  }

  .showcase-panel,
  .feature-card,
  .gallery-card,
  .cta-panel,
  .footer-panel {
    border-radius: 22px;
  }

  .showcase-stack {
    grid-template-columns: 1fr;
  }

  .section-heading-top {
    align-items: flex-start;
    gap: 10px;
  }

  .gallery-warning {
    font-size: 14px;
  }

  .primary-shot,
  .secondary-shot:first-child,
  .secondary-shot:last-child {
    transform: none;
  }

  .gallery-frame img {
    aspect-ratio: 9 / 18.5;
  }

  .wide-frame img {
    aspect-ratio: 1 / 1.18;
  }
}

@media (max-width: 575.98px) {
  .site-header .navbar {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .brand-lockup {
    gap: 10px;
  }

  .brand-lockup img {
    width: 48px;
    height: 48px;
  }

  .hero-highlights {
    gap: 10px;
  }

  .highlight-pill {
    width: 100%;
    justify-content: flex-start;
  }

  .gallery-copy,
  .feature-card,
  .footer-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .cta-panel {
    padding: 24px 20px;
  }

  .cta-btn {
    width: 100%;
  }
}
