/* ========== Design Tokens (shadcn/ui风格) ========== */
:root {
  --background: #ffffff;
  --foreground: #0f172a;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --primary: #0f172a;
  --primary-foreground: #ffffff;
  --secondary: #f1f5f9;
  --secondary-foreground: #0f172a;
  --muted: #f8fafc;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --ring: #c9a227;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
}

/* ========== 基础重置 ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== 导航 ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 56px;
  border-bottom: 1px solid transparent;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  background: rgba(255,255,255,0.95);
}

.nav-container {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  padding-left: 20px;
}

.nav-toggle {
  margin-right: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.nav-brand-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-brand-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--foreground);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.nav-brand-tagline {
  font-size: 14px;
  color: var(--muted-foreground);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  list-style: none;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.nav-menu.active {
  transform: translateX(0);
}

.nav-link {
  font-size: 18px;
  color: var(--muted-foreground);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--foreground);
}

.nav-cta {
  background: var(--primary);
  color: var(--primary-foreground) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: 14px;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0 60px;
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(30,58,95,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.hero-text {
  max-width: 640px;
  margin: 0 auto;
}

/* .hero-badge 样式保留，如其他页面需要可复用 */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-foreground);
  background: var(--secondary);
  padding: 6px 16px;
  border-radius: 9999px;
  flex-shrink: 0;
}

.hero-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--foreground);
  margin-bottom: 20px;
}

.text-primary {
  color: #1e3a5f;
}

.hero-desc {
  font-size: 18px;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin: 0 auto 32px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat strong {
  font-size: 24px;
  font-weight: 800;
  color: var(--foreground);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat span {
  font-size: 13px;
  color: var(--muted-foreground);
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted-foreground);
}

.hn-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
}

.hero-visual {
  width: 100%;
  max-width: 100%;
  flex-shrink: 0;
}

.phone-mockup {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: flex-start;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 12px;
}

.phone-mockup img {
  flex: 0 0 auto;
  width: 200px;
  height: auto;
  border-radius: 24px;
  display: block;
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
  scroll-snap-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  height: 40px;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn-primary:hover {
  background: #1e293b;
}

.btn-secondary {
  background: var(--background);
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--secondary);
  border-color: #cbd5e1;
}

/* ========== 通用区块标题 ========== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--foreground);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  color: var(--muted-foreground);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ========== 功能介绍 ========== */
.features {
  padding: 64px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.feature-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transform: translateY(-1px);
}

.feature-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.feature-body {
  min-width: 0;
}

.feature-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* ========== 亮点 ========== */
.highlights {
  padding: 64px 0;
  background: var(--muted);
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.highlight-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.highlight-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.highlight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.h-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.h-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-foreground);
  background: var(--secondary);
  padding: 4px 10px;
  border-radius: 9999px;
}

.highlight-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 8px;
}

.highlight-desc {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ========== 学堂 ========== */
.school {
  padding: 64px 0;
}

.school-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: #fff;
}

.school-content .section-title {
  color: #fff;
}

.school-content .section-desc {
  color: rgba(255,255,255,0.65);
}

.school-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sf-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

.sf-check {
  width: 20px;
  height: 20px;
  background: rgba(34,197,94,0.2);
  color: #4ade80;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.school-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sv-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 20px 12px;
  text-align: center;
}

.sv-emoji {
  font-size: 32px;
  margin-bottom: 8px;
}

.sv-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* ========== 评价 ========== */
.testimonials {
  padding: 64px 0;
  background: var(--muted);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.testimonial-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.t-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.t-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.t-meta {
  display: flex;
  flex-direction: column;
}

.t-meta strong {
  font-size: 14px;
  color: var(--foreground);
}

.t-meta span {
  font-size: 13px;
  color: var(--muted-foreground);
}

.t-text {
  font-size: 14px;
  color: var(--foreground);
  line-height: 1.7;
  margin-bottom: 16px;
}

.t-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
}

/* ========== FAQ ========== */
.faq {
  padding: 64px 0;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s;
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--foreground);
  text-align: left;
  gap: 16px;
}

.faq-icon {
  color: var(--muted-foreground);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a > * {
  overflow: hidden;
}

.faq-a p {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ========== CTA ========== */
.cta {
  padding: 64px 0;
  background: var(--muted);
}

.cta-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.cta-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--foreground);
  margin-bottom: 8px;
}

.cta-desc {
  font-size: 15px;
  color: var(--muted-foreground);
  margin-bottom: 32px;
}

.cta-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.qrcode-block {
  text-align: center;
}

.qrcode-box {
  width: 140px;
  height: 140px;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  padding: 16px;
}

.qrcode-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.qrcode-label {
  font-size: 13px;
  color: var(--muted-foreground);
}

.contact-block {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ci-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.ci-label {
  font-size: 13px;
  color: var(--muted-foreground);
}

.ci-val {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
}

.ci-val code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  color: var(--foreground);
  background: none;
}

.ci-btn {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-foreground);
  background: var(--background);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: var(--radius);
  transition: all 0.2s;
  white-space: nowrap;
}

.ci-btn:hover {
  background: var(--secondary);
  color: var(--foreground);
}

/* ========== Footer ========== */
.footer {
  background: #0f172a;
  color: rgba(255,255,255,0.6);
  padding: 48px 0 24px;
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 32px;
}

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

.footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.footer-brand span {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ========== 动画 ========== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Lightbox ========== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  padding: 40px 20px;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transform: scale(0.95);
  transition: transform 0.3s;
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 36px;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: #fff;
}

.lightbox-trigger {
  cursor: zoom-in;
}

/* ========== Toast ========== */
.toast {
  position: fixed;
  top: auto;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
}

/* ========== 响应式（平板/电脑） ========== */
@media (min-width: 640px) {
  .hero {
    padding: 120px 0 80px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-desc {
    font-size: 20px;
  }

  .section-title {
    font-size: 32px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .school-card {
    flex-direction: row;
    padding: 48px;
  }

  .school-visual {
    min-width: 280px;
  }

  .cta-body {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }

  .phone-mockup img {
    width: 260px;
  }
}

@media (min-width: 900px) {
  .hero {
    padding: 140px 0 80px;
  }

  .phone-mockup {
    gap: 24px;
    overflow-x: visible;
    padding: 0;
  }

  .phone-mockup img {
    width: 300px;
  }
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    flex-direction: row;
    transform: none;
    background: none;
    gap: 28px;
    padding-right: 20px;
  }

  .nav-link {
    font-size: 18px;
  }

  .features, .highlights, .school, .testimonials, .faq, .cta {
    padding: 80px 0;
  }

  .highlight-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-main {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========== 页面通用 ========== */
.page-hero {
  padding: 120px 0 48px;
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
  text-align: center;
}

.page-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--foreground);
  margin-bottom: 12px;
}

.page-desc {
  font-size: 16px;
  color: var(--muted-foreground);
  max-width: 520px;
  margin: 0 auto;
}

.page-section {
  padding: 48px 0 64px;
}

.page-section.bg-muted {
  background: var(--muted);
}

/* ========== 导航高亮 ========== */
.nav-link.active {
  color: var(--foreground);
  font-weight: 600;
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* ========== 使用指南侧边栏 ========== */
.guide-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.guide-sidebar {
  width: 180px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
  align-self: flex-start;
  padding-top: 8px;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
}

.guide-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-link {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted-foreground);
  border-radius: var(--radius);
  transition: all 0.2s;
  text-decoration: none;
  line-height: 1.4;
}

.sidebar-link:hover {
  background: var(--secondary);
  color: var(--foreground);
}

.sidebar-link.active {
  background: var(--primary);
  color: var(--primary-foreground);
}

.guide-content {
  flex: 1;
  min-width: 0;
}

@media (max-width: 768px) {
  .guide-sidebar {
    display: none;
  }
}

/* ========== 图文步骤 ========== */
.guide-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 20px;
}

.guide-images figure {
  margin: 0;
}

.guide-images img {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.guide-images figcaption {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-top: 10px;
  text-align: center;
  line-height: 1.5;
}

@media (min-width: 640px) {
  .guide-images {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== 步骤 ========== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 16px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 6px;
}

.step-body p {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ========== 指南卡片 ========== */
.guide-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.guide-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.guide-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 10px;
}

.guide-card p {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 16px;
}

.guide-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.guide-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-list li {
  font-size: 14px;
  color: var(--muted-foreground);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.guide-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--muted-foreground);
}

/* ========== 功能详解 ========== */
.detail-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.detail-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.detail-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.detail-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-foreground);
  background: var(--secondary);
  padding: 4px 10px;
  border-radius: 9999px;
}

.detail-tag.core {
  color: #c2410c;
  background: #fff7ed;
}

.detail-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--foreground);
}

.detail-item p {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 12px;
}

.detail-item ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-item ul li {
  font-size: 14px;
  color: var(--muted-foreground);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.detail-item ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--muted-foreground);
}

/* ========== 下载页面 ========== */
.dl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.dl-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.2s;
}

.dl-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.dl-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.dl-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 8px;
}

.dl-desc {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 20px;
}

.dl-qrcode {
  margin-bottom: 20px;
}

.dl-qrbox {
  width: 140px;
  height: 140px;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  padding: 16px;
}

.dl-qrbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.dl-qrtip {
  font-size: 13px;
  color: var(--muted-foreground);
}

.btn-block {
  width: 100%;
}

/* ========== 系统要求表格 ========== */
.req-table-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.req-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.req-table th {
  text-align: left;
  padding: 14px 20px;
  font-weight: 600;
  color: var(--foreground);
  background: var(--muted);
  border-bottom: 1px solid var(--border);
}

.req-table td {
  padding: 14px 20px;
  color: var(--muted-foreground);
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

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

.req-table strong {
  color: var(--foreground);
  font-weight: 600;
}

/* ========== 价格对比 ========== */
.compare-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto 16px;
}

.compare-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  position: relative;
}

.compare-card.pro {
  border-color: #1e3a5f;
  box-shadow: 0 4px 16px rgba(30,58,95,0.1);
}

.compare-badge {
  position: absolute;
  top: 0;
  right: 20px;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
}

.compare-header {
  margin-bottom: 20px;
}

.compare-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 8px;
}

.compare-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

.compare-price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted-foreground);
}

.compare-body {
  margin-bottom: 24px;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compare-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--foreground);
}

.cl-check {
  width: 18px;
  height: 18px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.cl-x {
  width: 18px;
  height: 18px;
  background: var(--secondary);
  color: var(--muted-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.compare-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted-foreground);
  max-width: 560px;
  margin: 0 auto;
}

/* ========== 工具标签 ========== */
.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.tool-tag {
  font-size: 14px;
  color: var(--foreground);
  background: var(--card);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

/* ========== 工具列表（价格页） ========== */
.tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.tool-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.ti-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ti-name {
  font-size: 14px;
  color: var(--foreground);
  flex: 1;
}

.ti-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-foreground);
  background: var(--secondary);
  padding: 3px 10px;
  border-radius: 9999px;
  flex-shrink: 0;
}

.ti-tag.hot {
  color: #c2410c;
  background: #fff7ed;
}

/* ========== 响应式补充 ========== */
@media (min-width: 640px) {
  .page-title {
    font-size: 40px;
  }

  .dl-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .compare-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .guide-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========== 会员方案卡片 ========== */
.plan-list {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.plan-card {
  flex: 1;
  min-width: 160px;
  max-width: 220px;
  background: var(--card);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.plan-card.selected {
  border-color: var(--primary);
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.plan-badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  font-size: 12px;
  padding: 5px 0;
  font-weight: 500;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.plan-content {
  padding-top: 10px;
}

.plan-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 6px;
}

.plan-time {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-bottom: 16px;
}

.plan-price {
  margin-bottom: 10px;
}

.price-symbol {
  font-size: 16px;
  color: var(--foreground);
}

.price-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--foreground);
}

.plan-tip {
  font-size: 13px;
  color: var(--muted-foreground);
}

.plan-daily {
  font-size: 13px;
  color: #22c55e;
  font-weight: 500;
  margin-top: 6px;
}

.buy-button-wrap {
  text-align: center;
  margin-bottom: 24px;
}

.buy-button {
  background: linear-gradient(to right, #fbbf24, #fb923c);
  color: #1f2937;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 64px;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(251, 146, 60, 0.3);
  transition: all 0.2s ease;
}

.buy-button:hover {
  opacity: 0.95;
  transform: scale(1.02);
}

.buy-button:active {
  transform: scale(0.98);
}

.buy-note {
  font-size: 13px;
  color: var(--muted-foreground);
  margin-top: 12px;
}

.quanyi-toggle {
  text-align: center;
}

.quanyi-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 16px;
  transition: color 0.2s;
}

.quanyi-btn:hover {
  color: var(--primary-hover);
}

/* ========== 弹窗 ========== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.modal-content {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--foreground);
}

.modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--muted-foreground);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--secondary);
  color: var(--foreground);
}

.modal-body {
  padding: 16px 24px 24px;
  overflow-y: auto;
  flex: 1;
}

/* ========== 权益表格 ========== */
.quanyi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.quanyi-table thead th {
  text-align: center;
  padding: 12px 8px;
  font-weight: 600;
  color: var(--foreground);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--card);
}

.quanyi-table tbody td {
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--muted-foreground);
}

.quanyi-table tbody td:first-child {
  text-align: left;
  color: var(--foreground);
  font-weight: 500;
}

.q-check {
  color: #22c55e;
  font-weight: 600;
}

.q-x {
  color: var(--muted-foreground);
}

@media (max-width: 480px) {
  .plan-card {
    min-width: 140px;
    padding: 24px 16px;
  }
  .price-num {
    font-size: 28px;
  }
  .modal-content {
    width: 95%;
    max-height: 85vh;
  }
  .quanyi-table {
    font-size: 13px;
  }
}

/* ========== 联系卡片 ========== */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.contact-body {
  flex: 1;
}

.contact-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted-foreground);
  margin-bottom: 10px;
}

.contact-qr {
  margin: 12px 0;
}

.contact-qr img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.btn-sm {
  padding: 6px 16px;
  font-size: 13px;
}

@media (min-width: 480px) {
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== FAQ 纯文本列表 ========== */
.faq-plain {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 16px;
}

@media (min-width: 640px) {
  .faq-plain {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

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

.faq-plain-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-plain-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 8px;
}

.faq-plain-item p {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 100%;
}


