@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;600;700;800&display=swap");

:root {
  --bg: #0a0a0a;
  --bg-2: #121212;
  --bg-3: #1a1a1a;
  --bg-4: #222;
  --text: #f2f2f2;
  --muted: #9a9a9a;
  --line: #2a2a2a;
  --green: #5adb3a;
  --green-2: #3fbf28;
  --red: #c62828;
  --radius: 12px;
  --max: 1120px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(90, 219, 58, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(198, 40, 40, 0.08), transparent 50%),
    linear-gradient(180deg, #0c0c0c 0%, var(--bg) 40%, #090909 100%);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--green); text-decoration: none; }
a:hover { color: #7cff5c; }
ul { list-style: none; }
.container { width: min(100% - 32px, var(--max)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.15rem;
}
.brand img {
  width: 40px; height: 40px; border-radius: 10px; object-fit: cover;
}
.nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav a {
  color: var(--muted); padding: 8px 12px; border-radius: 8px; font-size: 0.95rem;
}
.nav a:hover, .nav a.active { color: var(--text); background: var(--bg-3); }
.nav .cta {
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #061206 !important; font-weight: 700; margin-left: 4px;
}
.nav .cta:hover { filter: brightness(1.08); }
.menu-btn {
  display: none; background: var(--bg-3); border: 1px solid var(--line);
  color: var(--text); width: 42px; height: 42px; border-radius: 10px; cursor: pointer; font-size: 1.2rem;
}

/* Hero */
.hero {
  padding: 56px 0 40px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}
.hero-brand {
  font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.15; font-weight: 800; letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.hero-brand span { color: var(--green); }
.hero h1 {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-weight: 600; color: #e8e8e8; margin-bottom: 14px;
}
.hero p { color: var(--muted); max-width: 52ch; margin-bottom: 22px; }
.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: 12px 22px; border-radius: 999px; font-weight: 700; border: 1px solid transparent; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-2)); color: #061206;
}
.btn-primary:hover { color: #061206; filter: brightness(1.06); }
.btn-ghost {
  background: transparent; border-color: var(--line); color: var(--text);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 0.9rem; }
.hero-meta strong { color: var(--text); }
.hero-visual {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.hero-visual img { width: 100%; aspect-ratio: 9/16; object-fit: cover; object-position: top; max-height: 560px; }
.hero-badge {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(0,0,0,.72); border: 1px solid rgba(90,219,58,.35);
  padding: 8px 12px; border-radius: 10px; font-size: 0.85rem;
}

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: rgba(255,255,255,0.015); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 28px; max-width: 720px; }
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 10px; line-height: 1.3;
}
.section-head p { color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.feature {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.95rem; }
.feature .num {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(90,219,58,.12); color: var(--green); font-weight: 700; margin-bottom: 12px;
}

.shot {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.shot img { width: 100%; aspect-ratio: 9/16; object-fit: cover; object-position: top; }
.shot figcaption { padding: 12px 14px; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); }
.shot figcaption strong { display: block; color: var(--text); margin-bottom: 4px; }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center;
}
.split .copy h3 { font-size: 1.35rem; margin-bottom: 10px; }
.split .copy p { color: var(--muted); margin-bottom: 12px; }
.split .copy ul { margin: 12px 0 18px; }
.split .copy li {
  position: relative; padding-left: 18px; color: #d0d0d0; margin-bottom: 8px;
}
.split .copy li::before {
  content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--green);
}
.phone-frame {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  background: #000; box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.phone-frame img { width: 100%; aspect-ratio: 9/16; object-fit: cover; object-position: top; max-height: 640px; margin: 0 auto; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tag {
  padding: 7px 12px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line);
  color: #cfcfcf; font-size: 0.88rem;
}

.article {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 28px;
}
.article h2, .article h3 { margin: 22px 0 10px; line-height: 1.35; }
.article h2:first-child { margin-top: 0; }
.article p { color: #c8c8c8; margin-bottom: 14px; }
.article ol, .article ul { margin: 0 0 16px 1.2em; color: #c8c8c8; }
.article li { margin-bottom: 8px; }
.article a { text-decoration: underline; text-underline-offset: 3px; }

.faq details {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin-top: 10px; }

.cta-band {
  text-align: center; padding: 48px 24px; border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(90,219,58,.12), rgba(198,40,40,.1)),
    var(--bg-2);
  border: 1px solid var(--line);
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--muted); margin-bottom: 18px; }

/* Inner pages */
.page-hero { padding: 42px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.page-hero h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 8px; }
.page-hero p { color: var(--muted); max-width: 60ch; }
.content-block {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px;
  padding: 28px; margin-bottom: 56px;
}
.content-block h2 { font-size: 1.25rem; margin: 22px 0 10px; }
.content-block h2:first-child { margin-top: 0; }
.content-block p, .content-block li { color: #c8c8c8; margin-bottom: 12px; }
.content-block ul, .content-block ol { margin-left: 1.2em; margin-bottom: 14px; }
.content-block li { margin-bottom: 8px; }

/* Error pages */
.error-page {
  min-height: calc(100vh - 160px); display: grid; place-items: center; text-align: center; padding: 40px 16px;
}
.error-page .code {
  font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; color: var(--green); line-height: 1;
  text-shadow: 0 0 40px rgba(90,219,58,.25);
}
.error-page h1 { margin: 12px 0; font-size: 1.6rem; }
.error-page p { color: var(--muted); margin-bottom: 22px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line); background: #070707; padding: 36px 0 22px; margin-top: 20px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; margin-bottom: 24px;
}
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand img { width: 48px; height: 48px; border-radius: 12px; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 8px; }
.footer-col h4 { margin-bottom: 12px; font-size: 1rem; }
.footer-col a { display: block; color: var(--muted); margin-bottom: 8px; }
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 16px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  color: #777; font-size: 0.88rem;
}
.notice {
  margin-top: 14px; padding: 12px 14px; border-radius: 10px;
  background: rgba(198,40,40,.08); border: 1px solid rgba(198,40,40,.25);
  color: #d7b0b0; font-size: 0.88rem;
}

/* Animations */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero > *, .feature, .shot, .split > * {
  animation: rise .7s ease both;
}
.feature:nth-child(2), .shot:nth-child(2) { animation-delay: .08s; }
.feature:nth-child(3), .shot:nth-child(3) { animation-delay: .16s; }
.feature:nth-child(4), .shot:nth-child(4) { animation-delay: .24s; }

@media (max-width: 960px) {
  .hero, .split, .footer-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-visual img, .phone-frame img { max-height: 480px; }
  .menu-btn { display: inline-grid; place-items: center; }
  .nav {
    display: none; position: absolute; left: 16px; right: 16px; top: 68px;
    background: #111; border: 1px solid var(--line); border-radius: 12px;
    padding: 10px; flex-direction: column; align-items: stretch;
  }
  .nav.open { display: flex; }
  .nav .cta { margin-left: 0; text-align: center; }
}

@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .section { padding: 40px 0; }
  .article, .content-block { padding: 18px; }
}
