/* ===== 包子漫画官网 - 样式表 ===== */
/* 主题：暖橙包子风 | 响应式单页 */

:root {
  --primary: #FF7A45;
  --primary-dark: #E85D26;
  --primary-light: #FFB088;
  --primary-bg: #FFF5EC;
  --accent: #FFC107;
  --text-main: #2D2D2D;
  --text-sub: #666666;
  --text-light: #999999;
  --bg-white: #FFFFFF;
  --bg-cream: #FFFAF5;
  --bg-dark: #2A1810;
  --border: #FFE4D0;
  --shadow-sm: 0 2px 8px rgba(232, 93, 38, 0.08);
  --shadow-md: 0 4px 20px rgba(232, 93, 38, 0.12);
  --shadow-lg: 0 8px 40px rgba(232, 93, 38, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main);
  background: var(--bg-cream);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

/* ===== 通用容器 ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 56px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-title p {
  font-size: 17px;
  color: var(--text-sub);
  max-width: 600px;
  margin: 0 auto;
}

.title-accent {
  position: relative;
  display: inline-block;
}

.title-accent::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
}

/* ===== 顶部导航 ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
}

.nav-logo img {
  width: 40px;
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-sub);
  position: relative;
}

.nav-links a:hover {
  color: var(--primary-dark);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(232, 93, 38, 0.3);
}

.nav-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 93, 38, 0.4);
  color: #fff !important;
}

.nav-download-btn::after {
  display: none !important;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 6px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero 首屏 ===== */
.hero {
  position: relative;
  padding: 140px 0 100px;
  background: linear-gradient(160deg, #FFF5EC 0%, #FFE8D6 50%, #FFD9BE 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 122, 69, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-content h1 .highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--text-sub);
  margin-bottom: 28px;
  line-height: 1.8;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.rating-text {
  font-size: 15px;
  color: var(--text-sub);
}

.rating-text strong {
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 800;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(232, 93, 38, 0.35);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(232, 93, 38, 0.45);
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: #fff;
  color: var(--primary-dark);
  border: 2px solid var(--primary-light);
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--primary-bg);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-sub);
}

.trust-item .check {
  width: 18px;
  height: 18px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
}

/* Hero 手机展示 */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: 300px;
  height: 600px;
  background: linear-gradient(145deg, #2A1810, #1a0f08);
  border-radius: 44px;
  padding: 14px;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(255, 255, 255, 0.1) inset;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #FFF5EC 0%, #FFFAF5 100%);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #1a0f08;
  border-radius: 0 0 18px 18px;
  z-index: 5;
}

.phone-header {
  padding: 40px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-header .ph-logo {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-dark);
}

.phone-header .ph-icon {
  width: 28px;
  height: 28px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.phone-search {
  margin: 8px 16px;
  padding: 8px 14px;
  background: #fff;
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
}

.phone-banner {
  margin: 12px 16px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.phone-banner::after {
  content: "";
  position: absolute;
  right: -20px;
  top: -20px;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.phone-banner h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.phone-banner p {
  font-size: 11px;
  opacity: 0.9;
}

.phone-grid {
  padding: 4px 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.phone-comic-card {
  aspect-ratio: 3/4;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.phone-comic-card:nth-child(1) { background: linear-gradient(135deg, #FFB088, #FF7A45); }
.phone-comic-card:nth-child(2) { background: linear-gradient(135deg, #FFD180, #FFAB40); }
.phone-comic-card:nth-child(3) { background: linear-gradient(135deg, #FF8A65, #E85D26); }
.phone-comic-card:nth-child(4) { background: linear-gradient(135deg, #FFCC80, #FFA726); }
.phone-comic-card:nth-child(5) { background: linear-gradient(135deg, #FFAB91, #FF7043); }
.phone-comic-card:nth-child(6) { background: linear-gradient(135deg, #FFE082, #FFCA28); }

.phone-comic-card .tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4px 6px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 10px;
  text-align: center;
}

.phone-tabbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: #fff;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
}

.phone-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  color: var(--text-light);
}

.phone-tab.active {
  color: var(--primary-dark);
}

.phone-tab .dot {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: currentColor;
  opacity: 0.3;
}

.phone-tab.active .dot {
  opacity: 1;
}

/* 浮动装饰 */
.float-badge {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  animation: float 3s ease-in-out infinite;
}

.float-badge.badge-1 {
  top: 80px;
  left: -20px;
  animation-delay: 0s;
}

.float-badge.badge-2 {
  bottom: 120px;
  right: -10px;
  animation-delay: 1.5s;
}

.float-badge .icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== 阅读模式 ===== */
.reading-modes {
  background: var(--bg-white);
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.mode-card {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: var(--bg-cream);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  border: 1px solid transparent;
}

.mode-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}

.mode-visual {
  flex-shrink: 0;
  width: 140px;
  height: 180px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.mode-visual.mv-1 {
  background: linear-gradient(135deg, #FFE8D6, #FFD9BE);
}

.mode-visual.mv-2 {
  background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
}

.mode-visual.mv-3 {
  background: linear-gradient(135deg, #FBE9E7, #FFCCBC);
}

.mode-visual.mv-4 {
  background: linear-gradient(135deg, #FFF8E1, #FFECB3);
}

.mode-visual .mv-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-dark);
  text-align: center;
}

.mode-visual .mv-panels {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mode-visual .mv-panel {
  height: 28px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 4px;
}

.mode-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.mode-info p {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ===== 功能特点 ===== */
.features {
  background: var(--bg-cream);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-5deg);
}

.fi-1 { background: linear-gradient(135deg, #FFE8D6, #FFD9BE); }
.fi-2 { background: linear-gradient(135deg, #FFF3E0, #FFE0B2); }
.fi-3 { background: linear-gradient(135deg, #FBE9E7, #FFCCBC); }
.fi-4 { background: linear-gradient(135deg, #FFF8E1, #FFECB3); }
.fi-5 { background: linear-gradient(135deg, #F3E5F5, #E1BEE7); }
.fi-6 { background: linear-gradient(135deg, #E8F5E9, #C8E6C9); }

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ===== 题材分类 ===== */
.categories {
  background: var(--bg-white);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  background: var(--primary-bg);
}

.category-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.ci-1 { background: linear-gradient(135deg, #FF7A45, #E85D26); }
.ci-2 { background: linear-gradient(135deg, #FF6B9D, #E8457A); }
.ci-3 { background: linear-gradient(135deg, #7C4DFF, #651FFF); }
.ci-4 { background: linear-gradient(135deg, #00BFA5, #00897B); }
.ci-5 { background: linear-gradient(135deg, #FFC107, #FFA000); }
.ci-6 { background: linear-gradient(135deg, #FF5722, #D84315); }

.category-card span {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.hot-keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hot-keyword {
  padding: 8px 20px;
  background: var(--primary-bg);
  color: var(--primary-dark);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.hot-keyword:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ===== 更新日志 ===== */
.changelog {
  background: var(--bg-cream);
}

.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 28px;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--bg-cream);
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.version-tag {
  padding: 4px 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

.version-date {
  font-size: 14px;
  color: var(--text-light);
}

.timeline-item p {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ===== 用户评价 ===== */
.reviews {
  background: var(--bg-white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.review-card {
  background: var(--bg-cream);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-card::before {
  content: "\201C";
  position: absolute;
  top: 16px;
  right: 28px;
  font-size: 60px;
  color: var(--primary-light);
  opacity: 0.4;
  font-family: Georgia, serif;
  line-height: 1;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.ra-1 { background: linear-gradient(135deg, #FF7A45, #E85D26); }
.ra-2 { background: linear-gradient(135deg, #FF6B9D, #E8457A); }
.ra-3 { background: linear-gradient(135deg, #7C4DFF, #651FFF); }
.ra-4 { background: linear-gradient(135deg, #00BFA5, #00897B); }

.review-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.review-stars {
  display: flex;
  gap: 1px;
}

.review-stars .star {
  width: 14px;
  height: 14px;
}

.review-text {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ===== FAQ ===== */
.faq {
  background: var(--bg-cream);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-dark);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 16px;
  color: var(--primary-dark);
  font-weight: bold;
}

.faq-item.active .faq-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.9;
}

/* ===== 底部 CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section::after {
  content: "";
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 48px;
  background: #fff;
  color: var(--primary-dark);
  border-radius: 50px;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.cta-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  color: var(--primary-dark);
}

/* ===== 页脚 ===== */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 28px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo img {
  width: 36px;
  height: 36px;
}

.footer-logo span {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.8;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: var(--primary-light);
}

/* ===== 回到顶部 ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ===== 滚动动画 ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero-buttons,
  .hero-trust {
    justify-content: center;
  }

  .hero-rating {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .modes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .section-title p {
    font-size: 15px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: 110px 0 70px;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 14px 28px;
    font-size: 15px;
  }

  .phone-mockup {
    width: 260px;
    height: 520px;
  }

  .float-badge {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .mode-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .mode-visual {
    width: 100%;
    max-width: 200px;
  }

  .cta-content h2 {
    font-size: 28px;
  }

  .cta-content p {
    font-size: 16px;
  }

  .cta-btn {
    padding: 16px 36px;
    font-size: 16px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    gap: 32px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }

  .timeline {
    padding-left: 32px;
  }

  .timeline-item::before {
    left: -28px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-card {
    padding: 20px 12px;
  }

  .feature-card {
    padding: 28px 20px;
  }

  .review-card {
    padding: 24px;
  }
}
