/* ===== 微购精灵官网 style.css ===== */
/* 设计语言：深色主题 + 现代简约 + 科技感点缀 */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  background: #0B0F14;
  color: #E6EDF5;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 600; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px;
}
.brand-logo {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, #00D9A5, #00B894);
  color: #0B0F14; font-size: 16px; font-weight: 800;
  display: grid; place-items: center;
}
.brand-name { letter-spacing: 0.5px; }
.links { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.links a { color: #9AA4B2; transition: color 0.15s; }
.links a:hover { color: #E6EDF5; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 10px 22px; border-radius: 10px;
  font-size: 14px; font-weight: 600; cursor: pointer; border: none;
  transition: transform 0.1s, box-shadow 0.15s, background 0.15s;
}
.btn-primary {
  background: linear-gradient(135deg, #00D9A5, #00B894);
  color: #0B0F14;
}
.btn-primary:hover { box-shadow: 0 6px 24px rgba(0,217,165,0.35); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; border: 1px solid rgba(255,255,255,0.18); color: #E6EDF5;
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); }
.btn-lg { padding: 14px 30px; font-size: 15px; border-radius: 12px; }

/* ===== Hero ===== */
.hero { padding: 72px 0 80px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 40% at 15% 20%, rgba(0,217,165,0.12), transparent),
    radial-gradient(40% 30% at 85% 80%, rgba(0,160,255,0.08), transparent);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; position: relative; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,217,165,0.1); color: #00D9A5;
  padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 600;
  border: 1px solid rgba(0,217,165,0.25);
}
.kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: #00D9A5; }
.hero h1 {
  font-size: 44px; line-height: 1.2; margin: 20px 0 18px;
  font-weight: 700; letter-spacing: -0.5px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #00D9A5, #00FFB8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 16px; color: #9AA4B2; margin: 0 0 20px; max-width: 580px; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.badges span {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 14px; border-radius: 20px; font-size: 12px; color: #C5CDD8;
}
.cta-row { display: flex; gap: 14px; margin-bottom: 14px; }
.hint { font-size: 12px; color: #6B7380; margin: 0; }

/* Hero Card */
.hero-card { position: relative; }
.card-inner {
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.card-top .tag { font-size: 11px; letter-spacing: 2px; color: #6B7380; font-weight: 700; }
.card-top .badge {
  background: rgba(0,217,165,0.15); color: #00D9A5;
  padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600;
}
.card-inner h2 { font-size: 24px; margin: 0 0 20px; line-height: 1.3; letter-spacing: -0.5px; }
.card-list { list-style: none; padding: 0; margin: 0 0 24px; }
.card-list li {
  padding: 10px 0; color: #9AA4B2; font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.card-list li:last-child { border-bottom: none; }
.card-footer {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.06);
}
.card-footer .stat { text-align: center; }
.card-footer b {
  display: block; font-size: 22px; color: #00D9A5; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.card-footer span { font-size: 11px; color: #6B7380; }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-alt { background: rgba(255,255,255,0.015); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.section-title {
  font-size: 32px; margin: 0 0 12px; text-align: center;
  font-weight: 700; letter-spacing: -0.5px;
}
.section-sub {
  text-align: center; color: #6B7380; margin: 0 0 48px; font-size: 15px;
}

/* ===== Features Grid ===== */
.feat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.feat {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; padding: 24px;
  transition: border-color 0.15s, background 0.15s;
}
.feat:hover {
  border-color: rgba(0,217,165,0.4);
  background: rgba(0,217,165,0.04);
}
.feat-icon { font-size: 28px; margin-bottom: 12px; }
.feat h3 { font-size: 16px; margin: 0 0 8px; font-weight: 600; }
.feat p { font-size: 13px; color: #9AA4B2; margin: 0; line-height: 1.6; }

/* ===== Platforms ===== */
.platform-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px;
}
.platform {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; padding: 20px 12px; text-align: center;
  transition: transform 0.15s, border-color 0.15s;
}
.platform:hover { transform: translateY(-2px); border-color: rgba(0,217,165,0.4); }
.p-icon {
  width: 44px; height: 44px; border-radius: 12px; margin: 0 auto 10px;
  display: grid; place-items: center; font-size: 22px;
}
.p-icon.green { background: rgba(7,193,96,0.15); }
.p-icon.red { background: rgba(255,90,90,0.15); }
.p-icon.orange { background: rgba(255,140,60,0.15); }
.p-icon.cyan { background: rgba(0,200,255,0.15); }
.p-icon.dark { background: rgba(100,100,120,0.2); }
.p-icon.green2 { background: rgba(0,180,120,0.15); }
.p-icon.red2 { background: rgba(230,60,80,0.15); }
.p-name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.p-mode { font-size: 11px; color: #6B7380; }

/* ===== Security Section ===== */
.security .sec-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.sec-badge {
  display: inline-block;
  background: rgba(0,217,165,0.1); color: #00D9A5;
  padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 600;
  border: 1px solid rgba(0,217,165,0.25); margin-bottom: 16px;
}
.sec-text h2 {
  font-size: 28px; margin: 0 0 16px; letter-spacing: -0.5px;
}
.sec-text p { color: #9AA4B2; margin: 0 0 18px; font-size: 15px; }
.sec-list { list-style: none; padding: 0; margin: 0 0 24px; }
.sec-list li {
  padding: 8px 0; color: #C5CDD8; font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.sec-list li strong { color: #00D9A5; margin-right: 4px; }

/* Diagram */
.diagram-box {
  background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 28px;
}
.box-title { font-size: 14px; font-weight: 700; margin-bottom: 20px; color: #C5CDD8; }
.flow { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.flow-item {
  background: rgba(0,217,165,0.12);
  border: 1px solid rgba(0,217,165,0.3);
  border-radius: 10px; padding: 10px 18px; text-align: center;
  font-size: 13px; font-weight: 600; color: #00D9A5;
  min-width: 220px;
}
.flow-item small { display: block; font-weight: 400; font-size: 11px; color: #9AA4B2; margin-top: 2px; }
.flow-arrow { color: #00D9A5; font-size: 18px; opacity: 0.5; }
.flow-note {
  margin-top: 24px; padding: 16px; border-radius: 10px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  font-size: 13px; color: #9AA4B2; line-height: 1.7;
}
.flow-note strong { color: #E6EDF5; }

/* ===== Facts ===== */
.facts {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
  list-style: none; padding: 0; margin: 0;
}
.facts li {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; padding: 20px 16px; text-align: center;
}
.facts b {
  display: block; font-size: 22px; color: #00D9A5; font-weight: 700; margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.facts span { font-size: 12px; color: #9AA4B2; line-height: 1.5; }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 0; margin-bottom: 10px; overflow: hidden;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.15s;
}
.faq-list details[open] { border-color: rgba(0,217,165,0.4); }
.faq-list summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-size: 20px; color: #6B7380; flex-shrink: 0; margin-left: 16px;
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { content: "−"; color: #00D9A5; }
.faq-list p { padding: 0 22px 20px; color: #9AA4B2; font-size: 14px; margin: 0; line-height: 1.7; }

/* ===== CTA Section ===== */
.cta-section { padding: 80px 0; }
.cta-box {
  background: linear-gradient(135deg, rgba(0,217,165,0.15), rgba(0,160,255,0.08));
  border: 1px solid rgba(0,217,165,0.3);
  border-radius: 20px; padding: 60px 40px; text-align: center;
}
.cta-inner h2 { font-size: 30px; margin: 0 0 12px; letter-spacing: -0.5px; }
.cta-inner p { color: #C5CDD8; font-size: 16px; margin: 0 0 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; }

/* ===== Footer ===== */
.footer {
  background: #080C10; border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 0 0;
}
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding-bottom: 40px; }
.footer-brand .brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-slogan { color: #6B7380; font-size: 13px; margin: 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols .col h4 { font-size: 14px; margin: 0 0 14px; color: #C5CDD8; font-weight: 600; }
.footer-cols .col a, .footer-cols .col p {
  display: block; font-size: 13px; color: #6B7380; margin: 0 0 8px;
  transition: color 0.15s;
}
.footer-cols .col a:hover { color: #00D9A5; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 18px 0; font-size: 12px; color: #6B7380;
}
.footer-bottom a { color: #9AA4B2; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .platform-grid { grid-template-columns: repeat(4, 1fr); }
  .facts { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-inner { height: 54px; }
  .nav .links { gap: 16px; font-size: 13px; }
  .nav .links a:not(.btn) { display: none; }
  .hero { padding: 48px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 32px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
  .security .sec-inner { grid-template-columns: 1fr; gap: 36px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .cta-box { padding: 40px 24px; }
  .cta-inner h2 { font-size: 24px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 26px; }
  .card-inner { padding: 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .feat-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; text-align: center; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; text-align: center; }
  .card-footer { grid-template-columns: 1fr; gap: 10px; }
}
