:root {
  --bg: #0b0b0f;
  --bg-2: #121218;
  --bg-3: #1a1a22;
  --card: #16161e;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --muted: #9b9ba8;
  --accent: #e11d48;
  --accent-2: #fb7185;
  --gold: #eab308;
  --green: #34d399;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --max: 1180px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  color: #fecdd3;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  z-index: 1000;
}

.skip-link:focus {
  left: 8px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 11, 15, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 15px;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: 0.2s transform, 0.2s background, 0.2s color;
  font-size: 15px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
  background: linear-gradient(135deg, #fb7185, #e11d48);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 48px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% 30% auto -10%;
  height: 420px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.28), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.04em;
  background: rgba(225, 29, 72, 0.15);
  color: #fecdd3;
  border: 1px solid rgba(251, 113, 133, 0.25);
}

.badge.gold {
  background: rgba(234, 179, 8, 0.12);
  color: #fde68a;
  border-color: rgba(234, 179, 8, 0.28);
}

.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  margin-bottom: 16px;
}

.lead {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.meta-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
}

.meta-item b {
  display: block;
  font-size: 20px;
  color: #fff;
}

.meta-item span {
  color: var(--muted);
  font-size: 13px;
}

.phone-stage {
  display: flex;
  justify-content: center;
  gap: 18px;
  align-items: flex-end;
}

.phone {
  width: 250px;
  background: #000;
  border: 8px solid #2a2a32;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.phone img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
}

.phone.small {
  width: 210px;
  opacity: 0.88;
  transform: translateY(24px);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--bg-2);
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kicker {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
  margin-bottom: 12px;
}

h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.prose p,
.prose li {
  color: #d4d4dc;
  margin-bottom: 14px;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
  margin-bottom: 16px;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Feature rows */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.shot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.shot,
.shot-wide img,
.gallery img {
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #000;
}

.shot img,
.gallery img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.shot-wide img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.caption {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
  text-align: center;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.card h3 {
  font-size: 18px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

.icon-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(225, 29, 72, 0.16);
  color: #fecdd3;
  font-weight: 800;
  margin-bottom: 14px;
}

/* Category gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  position: relative;
}

.step b {
  color: var(--accent-2);
  font-size: 13px;
}

/* FAQ */
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  color: var(--muted);
  margin-top: 10px;
}

/* Notice */
.notice {
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.28);
  color: #fde68a;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  margin: 20px 0 0;
}

/* Breadcrumb / legal */
.page-hero {
  padding: 48px 0 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(225, 29, 72, 0.12), transparent);
}

.breadcrumb {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.breadcrumb a {
  color: var(--muted);
}

.legal {
  padding: 40px 0 80px;
}

.legal .prose {
  max-width: 860px;
}

.legal h2 {
  font-size: 22px;
  margin-top: 32px;
}

/* Error pages */
.error-page {
  min-height: calc(100vh - 220px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 16px;
}

.error-page h1 {
  font-size: 72px;
  color: var(--accent-2);
}

.error-page p {
  color: var(--muted);
  margin: 12px 0 24px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #08080c;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.footer-brand p,
.site-footer a,
.copy {
  color: var(--muted);
  font-size: 14px;
}

.site-footer h3 {
  font-size: 15px;
  margin-bottom: 12px;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: #fff;
}

.copy {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  text-align: center;
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 90;
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile */
@media (max-width: 980px) {
  .hero-grid,
  .feature-row,
  .feature-row.reverse .feature-copy,
  .footer-grid,
  .card-grid,
  .gallery,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .feature-row.reverse .feature-copy {
    order: 0;
  }

  .phone.small {
    display: none;
  }

  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: #0f0f14;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 18px;
    gap: 4px;
  }

  .nav.open {
    display: flex;
  }

  .nav a,
  .nav .btn {
    width: 100%;
    justify-content: center;
  }

  .hero,
  .section {
    padding: 48px 0;
  }

  .hero-grid,
  .feature-row,
  .footer-grid,
  .card-grid,
  .steps,
  .hero-meta {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .phone {
    width: min(72vw, 280px);
  }

  .phone-stage {
    order: -1;
  }

  h1 {
    font-size: 28px;
  }

  .header-cta {
    display: none;
  }
}
