/* 映她 / Lumira — 品牌样式表
   配色与字重直接沿用 iOS App 内 DesignTokens，保持网站与产品视觉一致。 */

:root {
  --bg: #000000;
  --surface: #1c1c1e;
  --surface-raised: #242426;
  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.64);
  --text-tertiary: rgba(255, 255, 255, 0.42);
  --brand: #ff8a3d;
  --brand-dim: rgba(255, 138, 61, 0.16);
  --success: #34c759;
  --border: rgba(255, 255, 255, 0.10);
  --radius-l: 20px;
  --radius-m: 14px;
  --radius-s: 10px;
  --max-width: 1120px;
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC",
    "Helvetica Neue", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(0, 0, 0, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  color: var(--text);
}

.nav-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

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

.nav-links a {
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.lang-switch {
  position: relative;
  flex: 0 0 auto;
}

.lang-switch__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  color: var(--text);
  background: transparent;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.lang-switch__btn::-webkit-details-marker {
  display: none;
}

.lang-switch__btn:hover {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.24);
}

.lang-switch__btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.lang-switch__globe,
.lang-switch__caret {
  flex: 0 0 auto;
}

.lang-switch__caret {
  transition: transform 0.18s ease;
}

.lang-switch[open] .lang-switch__caret {
  transform: rotate(180deg);
}

.lang-switch__menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 80;
  min-width: 160px;
  margin: 6px 0 0;
  padding: 6px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.46);
}

.lang-switch__menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 7px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.lang-switch__menu a::before {
  width: 14px;
  color: var(--brand);
  content: "";
  flex: 0 0 14px;
}

.lang-switch__menu a:hover,
.lang-switch__menu a:focus-visible {
  background: var(--surface-raised);
}

.lang-switch__menu a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
}

.lang-switch__menu a.is-current {
  color: var(--brand);
}

.lang-switch__menu a.is-current::before {
  content: "✓";
}

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

  .app-store-badge-nav {
    display: none;
  }

  .lang-switch {
    margin-left: auto;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(620px, 82dvh, 820px);
  padding: 112px 0 104px;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.68) 42%, rgba(0, 0, 0, 0.12) 78%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.08) 55%, rgba(0, 0, 0, 0.18) 100%),
    url("hero-background.jpg");
  background-position: center;
  background-size: cover;
}

.hero .wrap {
  position: relative;
  width: 100%;
}

.hero-content {
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand);
  background: var(--brand-dim);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand);
}

.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 46ch;
  margin: 0 0 32px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 172px;
  min-height: 54px;
  padding: 7px 13px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: var(--radius-s);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.app-store-badge:not([aria-disabled="true"]):hover {
  transform: translateY(-1px);
  border-color: var(--text);
}

.app-store-badge:not([aria-disabled="true"]):active {
  transform: translateY(1px);
}

.app-store-badge:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.app-store-badge[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.76;
  pointer-events: none;
}

.app-store-badge-nav {
  min-width: 150px;
  min-height: 42px;
  padding: 5px 10px;
}

.app-store-mark {
  font-size: 29px;
  line-height: 1;
  transform: translateY(-1px);
}

.app-store-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.app-store-copy small {
  margin-bottom: 3px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.app-store-copy strong {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.app-store-badge-nav .app-store-mark {
  font-size: 24px;
}

.app-store-badge-nav .app-store-copy small {
  font-size: 8px;
}

.app-store-badge-nav .app-store-copy strong {
  font-size: 17px;
}

@media (max-width: 720px) {
  .nav .wrap {
    gap: 12px;
  }

  .nav .app-store-badge-nav {
    display: none;
  }

  .nav-brand {
    min-width: 0;
  }

  .lang-switch {
    margin-left: auto;
  }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid var(--border);
}

.hero-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 700px) {
  .hero {
    min-height: 680px;
    padding: 96px 0 72px;
    background-image:
      linear-gradient(0deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.56) 58%, rgba(0, 0, 0, 0.18) 100%),
      url("hero-background.jpg");
    background-position: 58% center;
  }

  .hero-content {
    align-self: flex-end;
  }
}

/* ---------- Sections ---------- */

section {
  padding: 88px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  text-wrap: balance;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 16px;
  margin: 0;
}

.dim {
  color: var(--text-secondary);
}

/* Pose showcase */

#showcase {
  border-bottom: 1px solid var(--border);
}

.showcase-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: -14px auto 34px;
}

.showcase-chip {
  appearance: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--text-secondary);
  background: var(--surface);
  font: 600 13px/1 var(--font-ui);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.showcase-chip:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.24);
}

.showcase-chip:active {
  transform: scale(0.98);
}

.showcase-chip:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.showcase-chip.is-active {
  color: var(--bg);
  background: var(--brand);
  border-color: var(--brand);
}

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

.showcase-card {
  position: relative;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
}

.showcase-card[hidden] {
  display: none;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.showcase-card:hover img {
  transform: scale(1.025);
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 44% 0 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), transparent);
  pointer-events: none;
}

.showcase-card figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

@media (max-width: 860px) {
  .showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .showcase-filters {
    justify-content: flex-start;
  }

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

  .showcase-card {
    border-radius: var(--radius-m);
  }

  .showcase-card figcaption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    font-size: 13px;
  }
}

/* Features */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 860px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 28px 24px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(155deg, var(--brand-dim), rgba(255, 138, 61, 0.04));
  border: 1px solid rgba(255, 138, 61, 0.22);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin: 0;
}

/* How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

@media (max-width: 780px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  padding-left: 4px;
}

.step-number {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  border: 1px solid var(--brand);
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}

.step p {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin: 0;
}

/* Privacy trust band */

.trust {
  background: linear-gradient(180deg, var(--surface), var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

@media (max-width: 780px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

.trust-item {
  display: flex;
  gap: 14px;
}

.trust-item .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(52, 199, 89, 0.16);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.trust-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
}

.trust-item p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 860px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: linear-gradient(180deg, rgba(255, 138, 61, 0.14), var(--surface) 60%);
  border-color: rgba(255, 138, 61, 0.5);
  position: relative;
}

.price-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--brand);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
}

.price-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.price-value {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 4px;
}

.price-value span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.price-desc {
  font-size: 13.5px;
  color: var(--text-tertiary);
  margin-bottom: 22px;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  font-size: 14px;
  color: var(--text-secondary);
  flex: 1;
}

.price-list li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
}

.price-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: 800;
  flex-shrink: 0;
}

/* FAQ */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 16px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 5px;
  border-radius: 2px;
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  color: var(--brand);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  border-color: var(--brand);
}

.faq-answer {
  padding: 0 52px 24px 0;
}

.faq-item p {
  font-size: 14.5px;
  color: var(--text-secondary);
  margin: 0;
}

/* CTA band */

.cta-band {
  text-align: center;
  padding: 96px 0;
}

.cta-band h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin: 0 0 16px;
  text-wrap: balance;
}

.cta-band p {
  color: var(--text-secondary);
  font-size: 16px;
  margin: 0 0 32px;
}

/* Footer */

footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
}

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

.footer-legal {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  line-height: 1.8;
  text-align: center;
}

.footer-records {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 8px;
}

.gongan-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.gongan-link::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  background: url("gongan.png") center / contain no-repeat;
}

/* ---------- Legal pages (privacy / terms) ---------- */

.legal-page {
  padding: 64px 0 96px;
}

.legal-page .wrap {
  max-width: 760px;
}

.legal-page h1 {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 8px;
}

.legal-page .updated {
  color: var(--text-tertiary);
  font-size: 13px;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 19px;
  font-weight: 700;
  margin: 40px 0 14px;
}

.legal-page p,
.legal-page li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.legal-page ul {
  padding-left: 20px;
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14px;
}

.legal-page th,
.legal-page td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  color: var(--text-secondary);
}

.legal-page th {
  color: var(--text);
  background: var(--surface);
}
