:root {
  --ink: #eef0f4;
  --soft: #c3c9d4;
  --muted: #8a93a3;
  --bg: #161b24;
  --card: #202936;
  --card-2: #242f3e;
  --line: #303a4a;
  --accent: #d9573f;
  --accent-dark: #b8432e;
  --accent-soft: rgba(217, 87, 63, 0.14);
  --navy: #0e1420;
  --navy-2: #1a2433;
  --teal: #3ca08d;
  --amber: #d8a959;
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.38);
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1000px 420px at 85% -10%, rgba(217, 87, 63, 0.08), transparent 60%),
    radial-gradient(900px 400px at 8% 110%, rgba(60, 160, 141, 0.07), transparent 60%),
    var(--bg);
  line-height: 1.7;
  letter-spacing: 0;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: #d6b779;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 20, 32, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.brand-name {
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  color: #f3ede1;
}

.brand-sub {
  font-size: 11px;
  color: #8f9aab;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  padding: 8px 13px;
  border-radius: 8px;
  color: #c4ccd8;
  font-size: 14px;
  font-weight: 600;
}

.nav-list a:hover,
.nav-list a.active {
  color: #f2b29f;
  background: rgba(217, 87, 63, 0.16);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(217, 87, 63, 0.35);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-outline {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--soft);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-lg {
  height: 50px;
  padding: 0 26px;
  font-size: 15px;
}

.hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(135deg, #171d28 0%, #202938 58%, #1f2b31 100%);
  background-size: 30px 30px, 30px 30px, 100% 100%;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding: 64px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--accent-soft);
  color: #f2a08b;
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.22;
  font-weight: 900;
  color: #f3ede1;
}

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

.hero p {
  margin: 0 0 22px;
  font-size: 16px;
  color: var(--soft);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  position: relative;
}

.phone-frame {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-screen {
  border-radius: 0;
  overflow: hidden;
  background: #11151d;
}

.phone-screen img {
  width: 100%;
  height: auto;
  aspect-ratio: 728 / 400;
  object-fit: cover;
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 10px;
  background: rgba(24, 31, 43, 0.94);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  font-size: 13px;
  font-weight: 700;
  color: var(--soft);
}

.float-chip-1 {
  left: -18px;
  top: 16%;
  color: var(--teal);
}

.float-chip-2 {
  right: -12px;
  bottom: 12%;
  color: var(--accent);
}

.section {
  padding: 56px 0;
}

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

.section-head h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 900;
  color: #f3ede1;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

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

.feature-card {
  padding: 26px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.feature-card h3 {
  margin: 14px 0 8px;
  font-size: 17px;
  color: #f3ede1;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}

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

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.article-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.5;
}

.article-card h3 a {
  color: #f3ede1;
}

.article-card h3 a:hover {
  color: var(--accent);
}

.article-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  flex: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  font-weight: 700;
  color: #f3ede1;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--card-2);
  color: var(--accent);
  font-size: 18px;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--soft);
  font-size: 14px;
}

.comments-wrap {
  max-width: 760px;
  margin-inline: auto;
}

.comment-list {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.comment-item {
  display: flex;
  gap: 13px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.comment-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
}

.comment-body {
  flex: 1;
  min-width: 0;
}

.comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.comment-name {
  font-weight: 800;
  font-size: 14px;
  color: #f3ede1;
}

.comment-time {
  font-size: 12px;
  color: var(--muted);
}

.comment-text {
  margin: 5px 0 0;
  color: var(--soft);
  font-size: 14px;
}

.comment-form {
  display: grid;
  gap: 10px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--card);
  color: var(--ink);
  outline: none;
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
  color: var(--muted);
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--accent);
}

.comment-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cta {
  background: var(--navy);
  color: #fff;
  border-top: 1px solid var(--line);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 44px 0;
}

.cta h2 {
  margin: 0 0 6px;
  font-size: 26px;
  color: #f3ede1;
}

.cta p {
  margin: 0;
  color: #8f9aab;
}

.cta .btn-primary {
  background: #d8a959;
  color: #171c26;
  box-shadow: 0 6px 18px rgba(216, 169, 89, 0.28);
}

.cta .btn-primary:hover {
  background: #e7bb6f;
  color: #171c26;
}

.site-footer {
  background: #0b101a;
  color: #8f9aab;
}

.footer-inner {
  padding: 34px 0 26px;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 14px;
}

.footer-nav a {
  color: #8f9aab;
  font-size: 14px;
}

.footer-nav a:hover {
  color: #f3ede1;
}

.footer-copy {
  margin: 0;
  text-align: center;
  font-size: 13px;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(135deg, #171d28 0%, #202938 62%, #263036 100%);
  background-size: 30px 30px, 100% 100%;
  color: #fff;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: 30px;
  color: #f3ede1;
}

.page-hero p {
  margin: 0;
  color: var(--soft);
  max-width: 720px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.article-body {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  margin: 26px 0;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
}

.article-body h2 {
  margin: 26px 0 12px;
  font-size: 22px;
  color: #f3ede1;
}

.article-body h3 {
  margin: 20px 0 10px;
  font-size: 18px;
  color: #f3ede1;
}

.article-body p {
  color: var(--soft);
  margin: 0 0 14px;
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
  color: var(--soft);
}

.article-body li {
  margin-bottom: 6px;
}

.article-body .note {
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  padding: 14px 16px;
  border-radius: 0 8px 8px 0;
  margin: 18px 0;
  color: var(--soft);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 15, 0.78);
}

.modal-panel {
  position: relative;
  width: min(440px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--card-2);
  color: var(--soft);
  font-size: 18px;
}

.modal-panel h2 {
  margin: 0 0 6px;
  font-size: 21px;
  color: #f3ede1;
}

.modal-panel > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.download-buttons {
  display: grid;
  gap: 12px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card-2);
  color: var(--ink);
  font-weight: 700;
}

.store-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.store-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy-2);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 800;
}

.store-text {
  display: grid;
  text-align: left;
}

.store-label {
  font-size: 15px;
}

.store-hint {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.backtop {
  position: fixed;
  right: 22px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
  z-index: 40;
}

.backtop.show {
  opacity: 1;
  visibility: visible;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 20px);
  z-index: 120;
  background: var(--card-2);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    height: 40px;
    width: 40px;
  }

  .site-header-inner {
    min-height: 56px;
  }

  .site-nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 20px;
    transform: translateY(-130%);
    transition: transform 0.25s;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  }

  .site-nav.open {
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list a {
    padding: 12px;
    color: var(--soft);
  }

  .nav-list a:hover,
  .nav-list a.active {
    color: var(--accent);
    background: var(--accent-soft);
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 44px 0;
  }

  .hero-visual {
    max-width: 560px;
  }

  .feature-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .brand-sub {
    display: none;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .float-chip-1 {
    left: 0;
  }

  .float-chip-2 {
    right: 0;
  }

  .comment-form-row {
    grid-template-columns: 1fr;
  }

  .cta-inner .btn {
    width: 100%;
  }

  .article-body {
    padding: 20px;
  }
}
