:root {
  --bg: #0a0710;
  --bg-elevated: #12101a;
  --bg-card: #17131f;
  --text: #ffffff;
  --text-muted: #9c98b3;
  --text-soft: #6e6788;
  --brand: #e94560;
  --brand-soft: #d8315b;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 24px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --display: "Trebuchet MS", "Segoe UI", "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(233, 69, 96, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(216, 49, 91, 0.12), transparent 50%),
    var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(10, 7, 16, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
  color: #fff;
  box-shadow: 0 10px 30px rgba(233, 69, 96, 0.35);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.hero {
  padding: 56px 0 72px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero h1 span {
  color: var(--brand);
}

.hero-copy {
  margin: 18px 0 0;
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  inset: 12% 18%;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.35), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}

.hero-phone {
  position: relative;
  width: min(420px, 100%);
  filter: drop-shadow(var(--shadow));
  animation: float-in 0.9s ease both;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.section {
  padding: 72px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 12px 0 0;
  color: var(--text-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent), var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 69, 96, 0.35);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(233, 69, 96, 0.14);
  color: var(--brand);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.shot {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.shot:hover {
  transform: translateY(-6px);
}

.shot img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
}

.download-panel {
  border-radius: 32px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 20%, rgba(233, 69, 96, 0.2), transparent 40%),
    var(--bg-card);
  padding: 48px 36px;
  text-align: center;
}

.download-panel h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.download-panel p {
  margin: 14px auto 0;
  max-width: 520px;
  color: var(--text-muted);
}

.download-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.store-btn {
  min-width: 180px;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 20px;
  border-radius: 16px;
  background: #15121c;
  border: 1px solid var(--line);
}

.store-btn small {
  color: var(--text-soft);
  font-weight: 500;
}

.store-btn strong {
  font-size: 1.05rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-row a:hover {
  color: var(--brand);
}

.legal-page {
  padding: 48px 0 72px;
}

.legal-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 40px 32px;
}

.legal-card h1 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.legal-card .meta {
  color: var(--text-soft);
  margin-bottom: 28px;
}

.legal-card h2 {
  margin: 28px 0 10px;
  font-size: 1.2rem;
}

.legal-card h3 {
  margin: 18px 0 8px;
  font-size: 1.02rem;
}

.legal-card p,
.legal-card li {
  color: var(--text-muted);
}

.legal-card ul {
  padding-left: 1.2rem;
}

.legal-card a {
  color: var(--brand);
  text-decoration: underline;
}

/* App WebView: hide marketing chrome, keep policy body only */
body.embed-app .site-header,
body.embed-app .site-footer {
  display: none !important;
}

body.embed-app .legal-page {
  padding: 16px 0 40px;
}

body.embed-app .legal-card {
  border: none;
  background: transparent;
  padding: 8px 4px 24px;
  border-radius: 0;
}

@media (max-width: 960px) {
  .hero-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 36px;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .legal-card {
    padding: 28px 18px;
  }
}
