/* ===== 51漫画 - 基于mw2pro.cn极简模板（粉红橙红渐变+紫金色丰富主题） ===== */
:root {
  --primary: #E91E63;
  --primary-light: #FF4081;
  --primary-lighter: #FF80AB;
  --primary-bg: #FCE4EC;
  --accent: #FF6B35;
  --accent-light: #FF8A65;
  --secondary: #9C27B0;
  --secondary-light: #BA68C8;
  --gold: #FFC107;
  --gold-light: #FFD54F;
  --dark: #1a1a2e;
  --dark-light: #2d2d44;
  --gradient-primary: linear-gradient(135deg, #FF4081 0%, #FF6B35 100%);
  --gradient-secondary: linear-gradient(135deg, #9C27B0 0%, #E91E63 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 50%, #E91E63 100%);
  --gradient-hero: linear-gradient(180deg, #FFF5F8 0%, #FFFFFF 60%);
  --bg: #FFFFFF;
  --bg-alt: #F9F9F9;
  --bg-card: #FFFFFF;
  --text: #1a1a1a;
  --text-main: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --border: #e0e0e0;
  --border-light: #eeeeee;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 6px 24px rgba(0, 0, 0, 0.1);
  --shadow-gradient: 0 4px 20px rgba(233, 30, 99, 0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

* {
  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;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== 顶部导航 ===== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-logo img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.topbar-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.topbar-logo-text .name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.topbar-logo-text .domain {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.topbar-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition);
}

.topbar-nav a:hover {
  color: var(--primary);
}

.topbar-download {
  background: var(--gradient-primary);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(233, 30, 99, 0.25);
}

.topbar-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.35);
  filter: brightness(1.05);
}

.topbar-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 6px;
}

.topbar-menu span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero区 ===== */
.hero {
  padding: 120px 0 60px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 64, 129, 0.08) 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, 107, 53, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.hero-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gradient-primary);
}

.hero h1 {
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  letter-spacing: -2px;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 700;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-light);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-primary);
  color: #fff;
  padding: 16px 40px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--secondary);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.hero-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--secondary);
  filter: brightness(1.1);
}

/* Hero三列特性 */
.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.hero-feature h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.hero-feature p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== 手机展示区 ===== */
.phone-section {
  padding: 60px 0;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.phone-section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.phone-section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.phone-section-desc {
  font-size: 15px;
  color: var(--text-light);
  max-width: 500px;
  margin-bottom: 40px;
}

.phone-showcase {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.phone-card {
  width: 240px;
  background: var(--bg-card);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 2px solid transparent;
  background-image: linear-gradient(var(--bg-card), var(--bg-card)), var(--gradient-primary);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.phone-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gradient);
}

.phone-card-num {
  font-size: 12px;
  font-weight: 700;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.phone-card-img {
  width: 100%;
  height: 380px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #f5f5f5;
}

.phone-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.phone-card p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== 通用板块 ===== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  margin-bottom: 48px;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gradient-primary);
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-light);
  max-width: 560px;
}

/* ===== 编号式功能列表 ===== */
.numbered-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.numbered-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: start;
  transition: var(--transition);
}

.numbered-item:first-child {
  border-top: 1px solid var(--border-light);
}

.numbered-item:hover {
  background: var(--bg-alt);
  padding-left: 16px;
  padding-right: 16px;
  margin: 0 -16px;
  border-radius: 8px;
}

.numbered-num {
  font-size: 48px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  font-family: 'Georgia', serif;
}

.numbered-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.numbered-content p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
}

.numbered-tags {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.numbered-tag {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 500;
  transition: var(--transition);
}

.numbered-tag:nth-child(1) {
  background: #FCE4EC;
  color: #E91E63;
}

.numbered-tag:nth-child(2) {
  background: #FFF3E0;
  color: #FF6B35;
}

.numbered-tag:nth-child(3) {
  background: #F3E5F5;
  color: #9C27B0;
}

.numbered-tag:nth-child(4) {
  background: #FFF8E1;
  color: #FF8F00;
}

.numbered-tag:nth-child(5) {
  background: #E3F2FD;
  color: #1976D2;
}

.numbered-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ===== 阅读设置交互区 ===== */
.settings-section {
  background: var(--bg-alt);
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.settings-preview {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  position: sticky;
  top: 100px;
}

.settings-preview-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.settings-preview-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.settings-preview-mock {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 20px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.mock-content {
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
  line-height: 2;
}

.mock-content .mock-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.settings-controls {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.setting-group h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.setting-group .group-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* 单选按钮组 */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.radio-option {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-card);
  color: var(--text-light);
  user-select: none;
}

.radio-option:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}

.radio-option.active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(233, 30, 99, 0.25);
}

/* 开关 */
.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.switch-label {
  font-size: 14px;
  color: var(--text-main);
}

.switch {
  position: relative;
  width: 44px;
  height: 24px;
  cursor: pointer;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ccc;
  border-radius: 24px;
  transition: var(--transition);
}

.switch-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: var(--transition);
}

.switch input:checked + .switch-slider {
  background: var(--gradient-primary);
}

.switch input:checked + .switch-slider::before {
  transform: translateX(20px);
}

/* 亮度滑块 */
.brightness-control {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brightness-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-light);
}

.brightness-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.brightness-value {
  min-width: 50px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.brightness-bar {
  flex: 1;
  height: 6px;
  background: var(--border-light);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}

.brightness-bar-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
  transition: width 0.2s;
}

/* ===== 离线缓存区 ===== */
.cache-section {
  background: var(--bg);
}

.cache-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.cache-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}

.cache-item:hover {
  border-color: var(--primary-light);
}

.cache-item.checked {
  border-color: var(--primary);
  background: linear-gradient(135deg, #FFF5F8 0%, #FFF3E0 100%);
}

.cache-checkbox {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 14px;
  color: transparent;
}

.cache-item.checked .cache-checkbox {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
}

.cache-info {
  flex: 1;
}

.cache-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.cache-info p {
  font-size: 12px;
  color: var(--text-muted);
}

.cache-size {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  flex-shrink: 0;
}

.cache-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.cache-summary-text {
  font-size: 14px;
  color: var(--text-light);
}

.cache-summary-text strong {
  color: var(--primary);
  font-weight: 700;
}

.cache-actions {
  display: flex;
  gap: 12px;
}

.cache-btn {
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.cache-btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-light);
}

.cache-btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.cache-btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(233, 30, 99, 0.25);
}

.cache-btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.35);
}

/* ===== 浏览记录时间线 ===== */
.history-section {
  background: var(--bg-alt);
}

.history-list {
  display: flex;
  flex-direction: column;
}

.history-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
  transition: var(--transition);
}

.history-item:first-child {
  border-top: 1px solid var(--border-light);
}

.history-item:hover {
  padding-left: 12px;
  background: var(--bg);
}

.history-time {
  font-size: 14px;
  font-weight: 600;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.history-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.history-content p {
  font-size: 13px;
  color: var(--text-muted);
}

.history-arrow {
  font-size: 18px;
  color: var(--text-muted);
  transition: var(--transition);
}

.history-item:hover .history-arrow {
  color: var(--primary);
  transform: translateX(4px);
}

/* ===== 阅读模式 ===== */
.modes-section {
  background: var(--bg);
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mode-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.mode-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.mode-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.mode-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.mode-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.mode-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--bg-alt);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-light);
}

.faq-question {
  display: grid;
  grid-template-columns: 60px 1fr 30px;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  padding-left: 12px;
}

.faq-q-num {
  font-size: 14px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

.faq-q-text {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.faq-q-icon {
  font-size: 20px;
  color: var(--text-muted);
  transition: var(--transition);
  text-align: center;
}

.faq-item.active .faq-q-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 0 24px 80px;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== 用户评价 ===== */
.reviews-section {
  background: var(--bg);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.review-item {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.review-item:first-child {
  border-top: 1px solid var(--border-light);
}

.review-item:hover {
  padding-left: 12px;
  background: var(--bg-alt);
}

.review-num {
  font-size: 24px;
  font-weight: 900;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Georgia', serif;
  line-height: 1;
}

.review-content p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 12px;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

/* ===== 底部CTA ===== */
.cta-section {
  background: var(--gradient-dark);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255, 64, 129, 0.15) 0%, transparent 60%);
  transform: rotate(-15deg);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255, 107, 53, 0.12) 0%, transparent 60%);
  transform: rotate(15deg);
}

.cta-section h2 {
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--primary);
  padding: 16px 44px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--gold);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.cta-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--gold);
  filter: brightness(1.05);
}

/* ===== 页脚 ===== */
.footer {
  background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
  color: rgba(255, 255, 255, 0.5);
  padding: 48px 0 28px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  margin-bottom: 14px;
  background: #fff;
  padding: 4px;
}

.footer-brand h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  max-width: 280px;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: #fff;
}

/* ===== 回到顶部 ===== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
  filter: brightness(1.1);
}

/* ===== 响应式 ===== */
@media (max-width: 968px) {
  .topbar-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 32px;
    gap: 16px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow);
  }

  .topbar-nav.open {
    display: flex;
  }

  .topbar-menu {
    display: flex;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }

  .settings-preview {
    position: static;
  }

  .modes-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .numbered-item {
    grid-template-columns: 60px 1fr;
    gap: 20px;
  }

  .numbered-num {
    font-size: 36px;
  }

  .history-item {
    grid-template-columns: 80px 1fr;
  }

  .history-arrow {
    display: none;
  }

  .faq-question {
    grid-template-columns: 50px 1fr 24px;
  }

  .faq-answer-inner {
    padding-left: 70px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    padding: 100px 0 40px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 19px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .phone-card {
    width: 200px;
  }

  .phone-card-img {
    height: 320px;
  }

  .cta-section h2 {
    font-size: 30px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cache-summary {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .cache-actions {
    width: 100%;
  }

  .cache-btn {
    flex: 1;
    text-align: center;
  }
}
