/* 小助官网 · 美美希科技 */
:root {
  --bg: #0b1220;
  --bg-card: #121a2e;
  --bg-soft: #1a2540;
  --text: #e8edf7;
  --muted: #94a3b8;
  --accent: #3b9eff;
  --accent-2: #22d3a5;
  --border: rgba(148, 163, 184, 0.18);
  --radius: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --max: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(var(--max), 92vw);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(11, 18, 32, 0.85);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #2563eb);
  color: #fff;
  box-shadow: 0 8px 24px rgba(59, 158, 255, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 80%;
  background: radial-gradient(ellipse at 30% 20%, rgba(59, 158, 255, 0.18), transparent 55%),
    radial-gradient(ellipse at 70% 10%, rgba(34, 211, 165, 0.12), transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.eyebrow {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

/* Mock UI */
.mock-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mock-titlebar {
  display: flex;
  gap: 7px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #475569;
}

.mock-dot:nth-child(1) { background: #ef4444; }
.mock-dot:nth-child(2) { background: #eab308; }
.mock-dot:nth-child(3) { background: #22c55e; }

.mock-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  min-height: 260px;
}

.mock-col {
  padding: 14px;
  border-right: 1px solid var(--border);
  font-size: 0.75rem;
}

.mock-col:last-child {
  border-right: none;
}

.mock-col h4 {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.mock-item {
  padding: 6px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
  color: var(--muted);
}

.mock-item.active {
  background: rgba(59, 158, 255, 0.15);
  color: var(--accent);
}

.mock-chat {
  padding: 14px;
}

.mock-bubble {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.78rem;
  margin-bottom: 8px;
  color: var(--muted);
}

.mock-bubble.user {
  background: rgba(59, 158, 255, 0.12);
  color: var(--text);
  margin-left: 20px;
}

.mock-body-pixso {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 280px;
}

.mock-body-pixso .mock-col-nav {
  background: var(--bg-soft);
  padding: 12px 10px;
  border-right: 1px solid var(--border);
}

.mock-body-pixso .mock-col-nav .mock-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  padding: 8px 10px;
}

.mock-body-pixso .mock-col-nav .mock-item .mock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.mock-body-pixso .mock-col-nav .mock-item:not(.active) .mock-dot {
  display: none;
}

.mock-chat-head {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-tag {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(59, 158, 255, 0.12);
  color: var(--accent);
  border: 1px solid rgba(59, 158, 255, 0.25);
  font-weight: 500;
}

.mock-bubble.ai {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px;
  padding: 12px 14px;
  font-size: 0.8rem;
  line-height: 1.5;
}

.mock-ai-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

/* Sections */
section {
  padding: 64px 0;
}

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

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: rgba(59, 158, 255, 0.4);
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Compare */
.compare {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare th,
.compare td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare th {
  background: var(--bg-soft);
  color: var(--muted);
  font-weight: 600;
}

.compare tr:last-child td {
  border-bottom: none;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(59, 158, 255, 0.3), var(--shadow);
}

.price-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.price-amount {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 12px 0;
}

.price-amount span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.price-list {
  list-style: none;
  margin: 20px 0 24px;
  flex: 1;
}

.price-list li {
  padding: 7px 0;
  font-size: 0.9rem;
  color: var(--muted);
  padding-left: 22px;
  position: relative;
}

.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 700;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.step {
  text-align: center;
  padding: 24px 16px;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h4 {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-grid p,
.footer-grid a {
  font-size: 0.88rem;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

.footer-bottom {
  text-align: center;
  font-size: 0.82rem;
  color: #64748b;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.icp-placeholder,
.icp-line {
  margin-top: 8px;
  font-size: 0.8rem;
}

.icp-line a {
  color: #64748b;
}

.section-muted {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-foot {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 20px;
}

.download-cta {
  padding-bottom: 80px;
}

.download-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.download-box h2 {
  margin-bottom: 10px;
}

.download-meta {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--muted);
}

.download-page {
  padding: 48px 0 64px;
  max-width: 760px;
}

.download-hero h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 28px 0 40px;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.download-card.featured {
  border-color: var(--accent);
}

.download-card h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.download-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.ref-banner {
  background: rgba(59, 158, 255, 0.1);
  border: 1px solid rgba(59, 158, 255, 0.25);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.92rem;
}

.download-info {
  margin-bottom: 28px;
}

.download-info h2 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.download-info ol,
.download-info ul {
  padding-left: 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.download-info li {
  margin-bottom: 8px;
}

/* Legal pages */
.legal-page {
  padding: 48px 0 80px;
  max-width: 760px;
}

.legal-page h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 1.15rem;
  margin: 28px 0 12px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 1.4rem;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .mock-body {
    grid-template-columns: 1fr;
  }

  .mock-col {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }
}
