﻿:root {
  --bg: #0a0c10;
  --bg-2: #12161e;
  --bg-3: #1a2030;
  --text: #e8ecf4;
  --muted: #9aa3b5;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #3ddc84;
  --accent-2: #c62828;
  --gold: #e6b84d;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --max: 1180px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --display: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(61, 220, 132, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(198, 40, 40, 0.14), transparent 50%),
    linear-gradient(180deg, #07090d 0%, var(--bg) 40%, #0b1018 100%);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(8, 10, 14, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.brand span {
  font-size: 1.15rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #35d07a, #1fa85a);
  color: #04140a !important;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(61, 220, 132, 0.25);
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 13, 0.92) 0%, rgba(7, 9, 13, 0.55) 48%, rgba(7, 9, 13, 0.35) 100%),
    url("/home-rec.jpg") center/cover no-repeat;
  z-index: -1;
  transform: scale(1.02);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.hero h1 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  font-weight: 800;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 24px;
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #3ddc84, #1f9f5a);
  color: #04140a;
  box-shadow: 0 10px 28px rgba(61, 220, 132, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}

.hero-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.phone-frame {
  margin: 0 auto;
  width: min(100%, 320px);
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(160deg, #2a3142, #10141c);
  box-shadow: var(--shadow);
  animation: float 5.5s ease-in-out infinite;
}

.phone-frame img {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.section {
  padding: 64px 0;
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 48em;
}

.feature-grid,
.shot-grid,
.rank-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(61, 220, 132, 0.35);
  transform: translateY(-3px);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.shot-grid {
  grid-template-columns: repeat(4, 1fr);
}

.shot-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.shot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.shot-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.shot-card figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.rank-grid {
  grid-template-columns: repeat(4, 1fr);
}

.panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.panel img {
  width: 100%;
  aspect-ratio: 9 / 18;
  object-fit: cover;
  object-position: top;
}

.panel .body {
  padding: 16px;
}

.panel h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.split.reverse .copy {
  order: 2;
}

.split .media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.split .media img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.prose h2,
.prose h3 {
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  line-height: 1.35;
}

.prose p,
.prose li {
  color: #c8d0e0;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-grid {
  grid-template-columns: 1fr 1fr;
}

.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.download-box {
  border: 1px solid rgba(61, 220, 132, 0.25);
  background:
    linear-gradient(135deg, rgba(61, 220, 132, 0.12), rgba(18, 22, 30, 0.9)),
    var(--bg-2);
  border-radius: 20px;
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow);
}

.download-box h2 {
  margin: 0 0 10px;
}

.download-box p {
  margin: 0 auto 22px;
  color: var(--muted);
  max-width: 40em;
}

.breadcrumb {
  padding: 22px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--muted);
}

.page-hero {
  padding: 28px 0 10px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 48em;
}

.legal {
  padding: 20px 0 72px;
}

.legal-card {
  background: rgba(18, 22, 30, 0.85);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 30px;
}

.error-wrap {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 16px;
}

.error-wrap h1 {
  font-size: clamp(3rem, 10vw, 5rem);
  margin: 0 0 8px;
  color: var(--accent);
}

.error-wrap p {
  color: var(--muted);
  margin: 0 0 22px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  padding: 42px 0 28px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.copyright {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: #7d8698;
  font-size: 0.85rem;
}

.toc {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 18px 0 28px;
}

.toc strong {
  display: block;
  margin-bottom: 8px;
}

.toc a {
  display: inline-block;
  margin: 4px 12px 4px 0;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .feature-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .shot-grid,
  .rank-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split.reverse .copy {
    order: 0;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 68px;
    background: rgba(12, 15, 22, 0.98);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    width: 100%;
  }

  .hero {
    padding-top: 42px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(7, 9, 13, 0.55) 0%, rgba(7, 9, 13, 0.92) 70%),
      url("/home-rec.jpg") center/cover no-repeat;
  }
}

@media (max-width: 640px) {
  .shot-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .shot-card {
    max-width: 360px;
    margin-inline: auto;
    width: 100%;
  }

  .shot-card img {
    aspect-ratio: 9 / 16;
    max-height: 72vh;
  }

  .rank-grid {
    grid-template-columns: 1fr 1fr;
  }

  .download-box {
    padding: 24px 18px;
  }

  .legal-card {
    padding: 20px 16px;
  }
}
