/* ========================================
   BlackCat-AI OZON 助手 - 官方网站样式
   深色科技感主题 + 响应式布局
   ======================================== */

:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --secondary: #6366f1;
  --accent: #22d3ee;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;

  --bg-dark: #0b1120;
  --bg-section: #0f172a;
  --card-bg: rgba(30, 41, 59, 0.65);
  --card-border: rgba(148, 163, 184, 0.12);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow: 0 8px 32px rgba(2, 8, 20, 0.45);
  --shadow-glow: 0 0 24px rgba(14, 165, 233, 0.22);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

body.light-theme {
  --bg-dark: #f8fafc;
  --bg-section: #f1f5f9;
  --card-bg: rgba(255, 255, 255, 0.78);
  --card-border: rgba(148, 163, 184, 0.22);
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
}

/* 背景光效 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(14, 165, 233, 0.12), transparent 35%),
    radial-gradient(circle at 85% 30%, rgba(99, 102, 241, 0.1), transparent 35%),
    radial-gradient(circle at 50% 85%, rgba(34, 211, 238, 0.08), transparent 40%);
  z-index: -2;
  pointer-events: none;
}

.background-animation {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(99, 102, 241, 0.06));
  filter: blur(1px);
  animation: float var(--duration, 22s) ease-in-out infinite;
}

.bubble:nth-child(1) { width: 140px; height: 140px; left: 8%; animation-delay: 0s; --duration: 24s; }
.bubble:nth-child(2) { width: 90px; height: 90px; left: 22%; animation-delay: -3s; --duration: 20s; }
.bubble:nth-child(3) { width: 120px; height: 120px; left: 38%; animation-delay: -6s; --duration: 26s; }
.bubble:nth-child(4) { width: 80px; height: 80px; left: 55%; animation-delay: -9s; --duration: 19s; }
.bubble:nth-child(5) { width: 160px; height: 160px; left: 72%; animation-delay: -12s; --duration: 28s; }
.bubble:nth-child(6) { width: 100px; height: 100px; left: 88%; animation-delay: -15s; --duration: 21s; }
.bubble:nth-child(7) { width: 110px; height: 110px; left: 45%; animation-delay: -18s; --duration: 25s; }
.bubble:nth-child(8) { width: 70px; height: 70px; left: 62%; animation-delay: -5s; --duration: 18s; }

@keyframes float {
  0%, 100% { transform: translateY(110vh) scale(1); }
  50% { transform: translateY(-15vh) scale(1.08); }
}

/* 通用容器 */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
  position: relative;
}

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

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(14, 165, 233, 0.12);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(14, 165, 233, 0.18);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(14, 165, 233, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--card-border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(14, 165, 233, 0.06);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--card-border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* 导航 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(11, 17, 32, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  transition: var(--transition);
}

body.light-theme .header {
  background: rgba(248, 250, 252, 0.78);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-group img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.logo-text {
  font-weight: 800;
  font-size: 1.15rem;
}

.logo-text span {
  color: var(--primary);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
  background: rgba(14, 165, 233, 0.1);
}

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

.theme-toggle {
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.theme-toggle svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* Hero */
.hero {
  padding-top: calc(var(--header-height) + 90px);
  padding-bottom: 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.18);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 22px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.hero-actions .btn {
  padding: 15px 32px;
  font-size: 1rem;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat .number {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-main);
}

.hero-stat .label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow), var(--shadow);
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  max-width: 520px;
  width: 100%;
}

.hero-image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-float-card {
  position: absolute;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  animation: floatCard 5s ease-in-out infinite;
}

.hero-float-card .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.12);
  color: var(--primary);
  font-size: 1.1rem;
}

.hero-float-card.fc-1 { top: 10%; left: -20px; animation-delay: 0s; }
.hero-float-card.fc-2 { bottom: 18%; right: -20px; animation-delay: -2.5s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* 快捷入口 */
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.quick-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition);
  height: 100%;
}

.quick-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: var(--shadow-glow);
}

.quick-card .icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  font-size: 1.25rem;
  transition: var(--transition);
}

.quick-card:hover .icon-wrap {
  background: var(--primary);
  color: #fff;
}

.quick-card .title {
  font-weight: 700;
  font-size: 1.05rem;
}

.quick-card .desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.quick-card.placeholder {
  border-style: dashed;
  opacity: 0.85;
}

/* 功能特点 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 30px;
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(14, 165, 233, 0.25);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* 定价 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  padding: 32px 24px;
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.pricing-card.featured {
  border-color: rgba(14, 165, 233, 0.45);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.08), var(--card-bg));
}

.pricing-card .badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 50px;
  background: var(--warning);
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

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

.pricing-card .price {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-card .price span {
  font-size: 0.95rem;
  font-weight: 500;
  -webkit-text-fill-color: var(--text-muted);
}

.pricing-card .daily {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-features li i {
  color: var(--success);
  font-size: 0.85rem;
}

.pricing-card .btn {
  width: 100%;
}

/* 流程 */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.25;
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 28px 22px;
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.3);
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* 功能区入口 */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.entry-card {
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  text-align: center;
  transition: var(--transition);
}

.entry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(14, 165, 233, 0.25);
}

.entry-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
}

.entry-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.entry-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.entry-card .price-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(34, 197, 94, 0.12);
  color: var(--success);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.wechat-id {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.wechat-id:hover {
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
}

/* 截图轮播 */
.screenshots-section {
  padding: 70px 0;
}

.carousel-wrapper {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}

.carousel-button:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.carousel-button.prev { left: -24px; }
.carousel-button.next { right: -24px; }

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--text-dim);
  opacity: 0.4;
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  width: 28px;
  border-radius: 5px;
  opacity: 1;
  background: var(--primary);
}

/* 用户评价 */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

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

.testimonial-card .stars {
  color: #fbbf24;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.testimonial-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}

.author-info .name {
  font-weight: 700;
  font-size: 0.95rem;
}

.author-info .title {
  color: var(--text-dim);
  font-size: 0.82rem;
}

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

.faq-item {
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: rgba(14, 165, 233, 0.3);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-question i {
  transition: var(--transition);
  color: var(--primary);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* 关于我们 */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 关于我们 - 客服二维码预览卡片 */
.qr-preview-card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.qr-preview-card:hover {
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: var(--shadow-glow);
}

.qr-preview-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(99, 102, 241, 0.15));
  color: var(--success);
  font-size: 2rem;
}

.qr-preview-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.qr-preview-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* 客服二维码弹窗 */
.qr-modal .modal-content {
  max-width: 560px;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.qr-item {
  text-align: center;
}

.qr-image-wrap {
  padding: 14px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--card-border);
  margin-bottom: 14px;
  transition: var(--transition);
}

.qr-image-wrap:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.qr-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.qr-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.qr-wechat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.qr-wechat:hover {
  background: rgba(14, 165, 233, 0.18);
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.about-stat {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(14, 165, 233, 0.08);
  text-align: center;
}

.about-stat .number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
}

.about-stat .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 联系 / 页脚 */
.contact-section {
  padding-bottom: 30px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 70px;
}

.contact-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  text-align: center;
  transition: var(--transition);
}

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

.contact-card .icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  font-size: 1.35rem;
}

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

.contact-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.contact-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.footer {
  border-top: 1px solid var(--card-border);
  padding: 36px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

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

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-brand span {
  font-weight: 700;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copy {
  width: 100%;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 20px;
}

/* 返回顶部 */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  border: none;
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* 弹窗通用 */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}

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

.modal-content {
  background: var(--bg-section);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 460px;
  padding: 28px;
  box-shadow: var(--shadow);
  transform: translateY(-20px);
  transition: var(--transition);
}

.modal.show .modal-content {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.modal-header h3 {
  font-size: 1.25rem;
}

.close-modal {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--text-main);
}

.modal-body {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.modal-body p {
  margin-bottom: 8px;
}

.modal-footer {
  margin-top: 22px;
}

.modal-footer .btn {
  width: 100%;
}

/* 更新日志弹窗 */
.changelog-modal .modal-content {
  max-width: 620px;
  max-height: 78vh;
  overflow-y: auto;
}

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

.version-item:last-child {
  border-bottom: none;
}

.version-title {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.version-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 0.92rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999999;
  backdrop-filter: blur(10px);
}

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

/* 政策页面 */
.policy-header {
  text-align: center;
  padding: 130px 20px 50px;
  position: relative;
}

.back-button {
  position: absolute;
  left: 24px;
  top: 96px;
  padding: 10px 20px;
  color: var(--text-main);
  text-decoration: none;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  transition: var(--transition);
}

.back-button:hover {
  background: rgba(14, 165, 233, 0.1);
  border-color: var(--primary);
}

.policy-content {
  max-width: 860px;
  margin: 0 auto 60px;
  padding: 40px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.policy-content section {
  margin-bottom: 36px;
}

.policy-content section:last-child {
  margin-bottom: 0;
}

.policy-content h2 {
  color: var(--text-main);
  margin-bottom: 16px;
  font-size: 1.35rem;
}

.policy-content p,
.policy-content li {
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.8;
}

.policy-content ul {
  padding-left: 24px;
}

.policy-footer {
  text-align: center;
  padding: 20px;
  color: var(--text-dim);
}

/* 动画 */
.slide-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式 */
@media (max-width: 1100px) {
  .pricing-grid,
  .process-steps,
  .quick-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps::before {
    display: none;
  }

  .features-grid,
  .testimonials-grid,
  .entry-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

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

  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .section {
    padding: 64px 0;
  }

  .nav-desktop {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-section);
    border-bottom: 1px solid var(--card-border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 6px;
  }

  .nav-desktop.open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 12px 14px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 70px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .hero-float-card {
    display: none;
  }

  .carousel-button.prev { left: 10px; }
  .carousel-button.next { right: 10px; }

  .pricing-grid,
  .features-grid,
  .process-steps,
  .testimonials-grid,
  .entry-grid,
  .contact-grid,
  .quick-links-grid,
  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-stats {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .qr-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .qr-preview-card {
    padding: 32px 24px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .policy-content {
    margin: 20px;
    padding: 24px;
  }

  .back-button {
    position: static;
    display: inline-block;
    margin-bottom: 20px;
  }
}
