/* ===== 变量 ===== */
:root {
  --header-bg: #0f0a1e;
  --hero-bg: #0e0821;
  --dark: #1a1a2e;
  --purple: #7048e8;
  --purple-light: #7b61ff;
  --purple-bg: #f0ebff;
  --pink: #f472b6;
  --pink-bg: #fce7f3;
  --orange: #f59e0b;
  --orange-bg: #fef3c7;
  --green: #22c55e;
  --green-bg: #dcfce7;
  --cyan: #06b6d4;
  --cyan-bg: #cffafe;
  --blue: #3b82f6;
  --blue-bg: #dbeafe;
  --yellow: #eab308;
  --yellow-bg: #fef9c3;
  --red-link: #f43f5e;
  --light-bg: #f5f6fa;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-gray: #6b7280;
  --text-light: rgba(255, 255, 255, 0.75);
  --border: #e5e7eb;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --transition: 0.25s ease;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--purple-light);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  width: 100%;
  padding: 14px;
  border-radius: 8px;
}

.btn-dark:hover {
  background: #2a2a42;
}

.btn-orange {
  background: var(--orange);
  color: var(--dark);
  padding: 14px 32px;
  font-weight: 700;
  border-radius: 8px;
}

.btn-orange:hover {
  background: #fbbf24;
  transform: translateY(-1px);
}

/* ===== 头部 ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--purple);
  border-radius: 6px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-text {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 14px;
  color: var(--text-light);
  transition: var(--transition);
}

.nav a:hover {
  color: var(--white);
}

.nav-refund {
  color: var(--red-link) !important;
}

.nav-refund:hover {
  color: #fb7185 !important;
}

.btn-header {
  background: var(--purple);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-header:hover {
  background: var(--purple-light);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--hero-bg);
  padding: 140px 0 80px;
  overflow: hidden;
  min-height: 480px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-glow-left {
  width: 500px;
  height: 500px;
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(112, 72, 232, 0.25) 0%, transparent 70%);
}

.hero-glow-right {
  width: 400px;
  height: 400px;
  bottom: -80px;
  right: 10%;
  background: radial-gradient(circle, rgba(112, 72, 232, 0.15) 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 28px;
}

.breadcrumb a {
  color: var(--text-light);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  margin: 0 6px;
}

.hero-badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  font-size: 11px;
  color: #d4a853;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== 数据条 ===== */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.stats-bar-inner {
  display: flex;
  align-items: center;
}

.stat-bar-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 16px;
  border-right: 1px solid var(--border);
}

.stat-bar-item:last-child {
  border-right: none;
}

.stat-bar-item strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--purple);
}

.stat-bar-item span {
  font-size: 14px;
  color: var(--text-dark);
}

/* ===== 通用 Section ===== */
.section {
  padding: 80px 0;
}

.section-light {
  background: var(--light-bg);
}

.section-head {
  margin-bottom: 48px;
}

.section-head-simple {
  text-align: left;
  max-width: 640px;
}

.section-head-simple h2 {
  margin-bottom: 12px;
}

.section-head-simple p {
  color: var(--text-gray);
  font-size: 15px;
}

.section-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--purple);
  margin-bottom: 12px;
}

.section-label-orange {
  color: var(--orange);
}

.section-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.section-head-row h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  flex: 1;
  max-width: 480px;
}

.section-head-row p {
  flex: 1;
  max-width: 420px;
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.8;
  padding-top: 6px;
}

/* ===== 功能卡片 ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.feature-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}

.num-purple { background: var(--purple-bg); color: var(--purple); }
.num-pink   { background: var(--pink-bg); color: var(--pink); }
.num-orange { background: var(--orange-bg); color: var(--orange); }
.num-green  { background: var(--green-bg); color: var(--green); }
.num-cyan   { background: var(--cyan-bg); color: var(--cyan); }
.num-blue   { background: var(--blue-bg); color: var(--blue); }
.num-yellow { background: var(--yellow-bg); color: var(--yellow); }

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.75;
}

/* ===== 选择理由 ===== */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.reason-card {
  text-align: center;
}

.reason-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}

.reason-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.reason-card p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ===== 平台卡片 ===== */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.platform-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.platform-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.icon-purple { background: var(--purple-bg); color: var(--purple); }
.icon-pink   { background: var(--pink-bg); color: var(--pink); }
.icon-yellow { background: var(--yellow-bg); color: var(--yellow); }

.platform-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.platform-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 24px;
}

/* ===== 界面预览 ===== */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.preview-card {
  margin: 0;
}

.preview-img {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.preview-img-1 {
  background: linear-gradient(135deg, #1a3a2a 0%, #2d5a3d 50%, #1a2a3a 100%);
}

.preview-img-2 {
  background: linear-gradient(135deg, #4a7c9b 0%, #87ceeb 40%, #c2b280 100%);
}

.preview-img-3 {
  background: linear-gradient(135deg, #5a4a3a 0%, #8b7355 50%, #3a5a4a 100%);
}

.preview-overlay {
  position: absolute;
  inset: 0;
}

.preview-menu {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 10px;
  color: #ccc;
  line-height: 1.8;
}

.menu-item.on {
  color: #4ade80;
}

.skeleton-player {
  position: absolute;
  width: 30px;
  height: 60px;
  border: 2px solid #4ade80;
  border-radius: 4px;
  top: 30%;
  left: 40%;
}

.skeleton-player::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border: 2px solid #4ade80;
  border-radius: 50%;
}

.skeleton-player-2 {
  top: 50%;
  left: 65%;
  border-color: #fff;
}

.skeleton-player-2::before {
  border-color: #fff;
}

.esp-line {
  position: absolute;
  width: 2px;
  background: #ef4444;
  transform-origin: bottom center;
}

.esp-line-1 {
  height: 60px;
  bottom: 20%;
  left: 45%;
  transform: rotate(-30deg);
}

.esp-line-2 {
  height: 45px;
  bottom: 20%;
  left: 55%;
  transform: rotate(15deg);
}

.esp-box {
  position: absolute;
  width: 24px;
  height: 40px;
  border: 2px solid #ef4444;
  top: 15%;
  right: 25%;
}

.preview-card figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--text-gray);
  margin-top: 10px;
}

/* ===== FAQ ===== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.faq-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.faq-card:hover {
  border-color: rgba(112, 72, 232, 0.2);
}

.faq-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.faq-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.75;
}

.faq-card a {
  color: var(--purple);
  font-weight: 600;
}

.faq-card a:hover {
  text-decoration: underline;
}

/* ===== 退款区 ===== */
.refund-section {
  background: var(--header-bg);
  padding: 64px 0;
}

.refund-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.refund-text h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--white);
  margin-top: 8px;
}

/* ===== 页脚 ===== */
.footer {
  background: var(--header-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}

.footer-nav a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .section-head-row {
    flex-direction: column;
    gap: 12px;
  }

  .section-head-row h2,
  .section-head-row p {
    max-width: 100%;
  }

  .features-grid,
  .platform-grid,
  .preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--header-bg);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav.open {
    display: flex;
  }

  .btn-header {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .stats-bar-inner {
    flex-wrap: wrap;
  }

  .stat-bar-item {
    flex: 0 0 50%;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .stat-bar-item:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .features-grid,
  .platform-grid,
  .preview-grid,
  .faq-grid,
  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .refund-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .section {
    padding: 56px 0;
  }
}
