:root {
  --bg: #f6f8fc;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --surface-dark: #0e1f4d;
  --text: #111827;
  --text-soft: #536076;
  --text-light: rgba(255, 255, 255, 0.76);
  --primary: #2f6bff;
  --primary-dark: #1e4ed8;
  --accent: #6fe7ff;
  --border: rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 28px 80px rgba(31, 67, 141, 0.18);
  --shadow-md: 0 18px 48px rgba(15, 23, 42, 0.12);
  --radius-xl: 36px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(111, 231, 255, 0.35), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(47, 107, 255, 0.18), transparent 22%),
    linear-gradient(180deg, #f9fbff 0%, #eef3fb 100%);
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}

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

button {
  font: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 20px 0;
  backdrop-filter: blur(18px);
  background: rgba(246, 248, 252, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

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

.brand-mark {
  min-width: 48px;
  height: 48px;
  padding: 0 10px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--primary), #79b2ff);
  box-shadow: 0 16px 32px rgba(47, 107, 255, 0.26);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

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

.brand-text small {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--text-soft);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.lang-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
}

.lang-select {
  min-width: 126px;
  height: 36px;
  padding: 0 32px 0 12px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-soft) 50%),
    linear-gradient(135deg, var(--text-soft) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 15px,
    calc(100% - 12px) 15px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  font: inherit;
  outline: none;
  cursor: pointer;
}

.primary-btn,
.secondary-btn,
.text-link,
.hero-thumb {
  border: 0;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    opacity 180ms ease;
}

.primary-btn {
  padding: 14px 24px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 16px 36px rgba(47, 107, 255, 0.3);
}

.primary-btn:hover,
.secondary-btn:hover,
.text-link:hover,
.hero-thumb:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 48px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.7;
  pointer-events: none;
}

.hero-glow-left {
  width: 280px;
  height: 280px;
  left: -80px;
  top: 110px;
  background: rgba(111, 231, 255, 0.42);
}

.hero-glow-right {
  width: 340px;
  height: 340px;
  right: -80px;
  top: 80px;
  background: rgba(47, 107, 255, 0.2);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(47, 107, 255, 0.08);
}

.hero-copy h1,
.section-head h2,
.download-panel h2 {
  margin: 18px 0 0;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  max-width: 640px;
  font-size: clamp(46px, 5.6vw, 68px);
  line-height: 1.02;
}

.hero-desc {
  max-width: 560px;
  margin: 24px 0 0;
  font-size: 20px;
  line-height: 1.75;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  color: var(--text);
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(12px);
}

.secondary-btn-light {
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-points span {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.device-stage {
  position: relative;
  min-height: 720px;
}

.device-card {
  position: relative;
  width: min(100%, 380px);
  margin: 0 auto;
  padding: 16px;
  border-radius: 48px;
  background: rgba(9, 20, 46, 0.92);
  box-shadow: var(--shadow-lg);
  animation: float-device 5.5s ease-in-out infinite;
}

.device-card::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 34%;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 0 0 18px 18px;
  background: rgba(0, 0, 0, 0.72);
  z-index: 2;
}

.device-screen {
  overflow: hidden;
  border-radius: 34px;
  background: #fff;
}

.device-screen img {
  aspect-ratio: 1290 / 2796;
  object-fit: cover;
}

.floating-shot {
  position: absolute;
  width: 210px;
  padding: 14px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.floating-shot span {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.floating-shot img {
  border-radius: 18px;
  aspect-ratio: 1290 / 2796;
  object-fit: cover;
}

.floating-shot-top {
  top: 58px;
  left: 0;
  animation: float-card 4.8s ease-in-out infinite;
}

.floating-shot-bottom {
  right: 0;
  bottom: 54px;
  animation: float-card 5.1s ease-in-out infinite reverse;
}

.hero-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hero-thumb {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 6px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
  text-align: left;
}

.hero-thumb img {
  grid-row: 1 / span 2;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
}

.hero-thumb span {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.hero-thumb-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 10px 24px rgba(47, 107, 255, 0.24);
}

.hero-thumb-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(47, 107, 255, 0.28);
}

.hero-thumb.is-active {
  border-color: rgba(47, 107, 255, 0.25);
  box-shadow: 0 16px 40px rgba(47, 107, 255, 0.16);
  background: rgba(255, 255, 255, 0.92);
}

.apps-section,
.features-section,
.download-section {
  padding: 54px 0 32px;
}

.section-head {
  max-width: 760px;
}

.section-head h2,
.download-panel h2 {
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1.1;
}

.section-head p,
.download-panel p,
.app-card p,
.feature-card p,
.footer-copy {
  color: var(--text-soft);
  line-height: 1.8;
}

.section-head p {
  margin-top: 18px;
  font-size: 18px;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.app-card,
.feature-card {
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}

.app-card {
  overflow: hidden;
}

.app-card-media {
  padding: 18px 18px 0;
}

.app-card-media img {
  width: 100%;
  aspect-ratio: 0.86;
  object-fit: cover;
  border-radius: 24px;
}

.app-card-body {
  padding: 22px 24px 26px;
}

.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.app-tag {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(47, 107, 255, 0.08);
}

.app-card h3,
.feature-card h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.app-card p,
.feature-card p {
  margin: 14px 0 0;
  font-size: 16px;
}

.text-link {
  margin-top: 18px;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  background: transparent;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.feature-card {
  padding: 30px;
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 42px;
  border-radius: 40px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(111, 231, 255, 0.32), transparent 22%),
    linear-gradient(135deg, #132a63 0%, #214dbf 56%, #2f6bff 100%);
  box-shadow: 0 30px 72px rgba(27, 59, 140, 0.25);
}

.download-panel p {
  max-width: 580px;
  color: var(--text-light);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.site-footer {
  padding: 28px 0 56px;
}

.footer-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.footer-brand {
  font-size: 22px;
  font-weight: 700;
}

.footer-copy {
  max-width: 520px;
  margin: 10px 0 0;
  font-size: 15px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--text-soft);
}

@keyframes float-device {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }

  .hero-content,
  .apps-grid,
  .feature-grid,
  .download-panel,
  .footer-content {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-content {
    gap: 40px;
  }

  .device-stage {
    min-height: auto;
    padding-bottom: 28px;
  }

  .floating-shot {
    display: none;
  }

  .download-panel {
    padding: 34px 28px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .site-header {
    padding: 14px 0;
  }

  .nav {
    gap: 12px;
  }

  .nav-actions {
    gap: 10px;
  }

  .brand-mark {
    min-width: 42px;
    height: 42px;
    padding: 0 8px;
    border-radius: 14px;
    font-size: 12px;
  }

  .lang-switch {
    gap: 8px;
    padding: 6px 10px;
  }

  .lang-label {
    font-size: 12px;
  }

  .lang-select {
    min-width: 108px;
    height: 32px;
    padding: 0 28px 0 10px;
    font-size: 13px;
    background-position:
      calc(100% - 16px) 13px,
      calc(100% - 11px) 13px;
    background-size: 5px 5px, 5px 5px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-copy h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .hero-desc {
    font-size: 15px;
    line-height: 1.72;
  }

  .hero-content {
    gap: 28px;
  }

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

  .hero-points {
    gap: 10px;
    margin-top: 22px;
  }

  .hero-points span {
    font-size: 13px;
    padding: 8px 12px;
  }

  .hero-actions,
  .download-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
    text-align: center;
  }

  .device-card {
    width: min(100%, 286px);
    padding: 12px;
    border-radius: 32px;
  }

  .device-card::before {
    height: 20px;
  }

  .device-screen {
    border-radius: 22px;
  }

  .hero-thumbs {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-thumb {
    padding: 10px;
    border-radius: 16px;
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .hero-thumb img {
    width: 48px;
    height: 48px;
  }

  .hero-thumb-action {
    min-height: 28px;
    padding: 0 10px;
    font-size: 11px;
  }

  .apps-section,
  .features-section,
  .download-section {
    padding-top: 36px;
  }

  .app-card-media {
    padding: 14px 14px 0;
  }

  .app-card-media img {
    border-radius: 18px;
  }

  .app-card-body,
  .feature-card {
    padding: 22px 18px;
  }

  .download-panel {
    border-radius: 28px;
    padding: 28px 20px;
  }

  .site-footer {
    padding-bottom: 36px;
  }
}
