/* =====================================================
   每日吃瓜 · 鲜果设计系统
   风格：瓜田光语 / 热带果汁杂志
   主色：西瓜红 #FF5A55 ｜ 瓜皮绿 #32C766 ｜ 芒果黄 #FFD166
   背景：奶油白 #FFFBF4 （全站无深色背景）
   ===================================================== */

:root {
  --cream: #FFFBF4;
  --melon-red: #FF5A55;
  --melon-red-light: #FFE2DE;
  --melon-green: #32C766;
  --melon-green-light: #E3F7E8;
  --melon-yellow: #FFD166;
  --melon-yellow-light: #FFF3D1;
  --ink: #2D2321;
  --ink-soft: #7A6A63;
  --card-shadow: 0 8px 30px rgba(255, 90, 85, 0.08), 0 4px 12px rgba(45, 35, 33, 0.04);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

/* 基础重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background-color: var(--cream);
  background-image: radial-gradient(rgba(255, 90, 85, 0.05) 1px, transparent 1.2px);
  background-size: 26px 26px;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--melon-red);
  color: #fff;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--melon-yellow-light); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--melon-red), var(--melon-green));
  border-radius: 20px;
  border: 2px solid var(--melon-yellow-light);
}

/* 核心布局 — 必须居中 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section:nth-child(even) {
  background: linear-gradient(180deg, #F2FAF0 0%, var(--cream) 100%);
}

/* ==================== 导航 — 固定顶部 ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 251, 244, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--melon-red), var(--melon-yellow), var(--melon-green)) 1;
  box-shadow: 0 6px 24px rgba(255, 90, 85, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.35rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.5px;
  transition: transform 0.25s ease;
}

.logo:hover {
  transform: scale(1.03);
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--melon-red), #FF8A70);
  color: #fff;
  border: 3px solid var(--melon-green);
  box-shadow: 0 4px 16px rgba(255, 90, 85, 0.25);
  position: relative;
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(50, 199, 102, 0.5);
  animation: spin 12s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.25s ease;
  position: relative;
  padding: 6px 0;
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--melon-red), var(--melon-yellow));
  transition: width 0.3s ease;
}

.main-nav a:not(.nav-cta):hover {
  color: var(--melon-red);
}

.main-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 100px;
  color: #fff !important;
  font-weight: 700;
  background: linear-gradient(135deg, var(--melon-red), #FF7E5F);
  box-shadow: 0 4px 14px rgba(255, 90, 85, 0.3);
  transition: transform 0.25s, box-shadow 0.25s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 90, 85, 0.4);
}

.menu-toggle {
  display: none;
  background: linear-gradient(135deg, var(--melon-red), #FF7E5F);
  border: none;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(255, 90, 85, 0.25);
  transition: transform 0.2s;
}

.menu-toggle:hover {
  transform: scale(0.95);
}

.menu-toggle::before {
  content: '';
  width: 22px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 8px 0 #fff, 0 16px 0 #fff;
}

/* ==================== 首页 Hero ==================== */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -8%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 85, 0.1) 0%, rgba(255, 90, 85, 0) 70%);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(50, 199, 102, 0.12) 0%, rgba(50, 199, 102, 0) 70%);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 640px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
  background: var(--melon-yellow-light);
  color: var(--melon-red);
  border: 2px solid rgba(255, 209, 102, 0.6);
  box-shadow: 0 2px 10px rgba(255, 209, 102, 0.25);
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -2px;
  color: var(--ink);
  position: relative;
}

.hero h1 span {
  color: var(--melon-red);
  position: relative;
  display: inline-block;
}

.hero h1 span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 12px;
  background: var(--melon-yellow);
  opacity: 0.35;
  z-index: -1;
  border-radius: 4px;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.75;
  max-width: 480px;
  margin-bottom: 36px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero 右侧 — CSS 西瓜切片 */
.hero-image {
  position: relative;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%,
    var(--melon-red) 0%,
    var(--melon-red) 30%,
    #fff 30%,
    #fff 38%,
    var(--melon-green) 38%,
    var(--melon-green) 100%);
  box-shadow:
    0 30px 80px rgba(255, 90, 85, 0.18),
    0 20px 60px rgba(50, 199, 102, 0.15),
    0 0 0 10px rgba(255, 251, 244, 0.6);
  animation: float 5s ease-in-out infinite;
  margin-left: auto;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-4deg) scale(1); }
  50% { transform: translateY(-16px) rotate(2deg) scale(1.02); }
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, var(--ink) 3px, transparent 3.5px),
    radial-gradient(circle, var(--ink) 3px, transparent 3.5px),
    radial-gradient(circle, var(--ink) 3px, transparent 3.5px),
    radial-gradient(circle, var(--ink) 3px, transparent 3.5px),
    radial-gradient(circle, var(--ink) 3px, transparent 3.5px);
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position:
    30% 32%,
    52% 44%,
    42% 58%,
    63% 32%,
    35% 68%;
  opacity: 0.45;
}

.hero-image::after {
  content: '🍉';
  position: absolute;
  bottom: 14%;
  right: 12%;
  font-size: 3rem;
  filter: drop-shadow(0 4px 12px rgba(255, 90, 85, 0.3));
  transform: rotate(15deg);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: none;
}

/* ==================== 按钮 ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--melon-red), #FF7E5F);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 90, 85, 0.32);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(255, 90, 85, 0.42);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--melon-red);
  color: var(--melon-red);
}

.btn-outline:hover {
  background: var(--melon-red);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(255, 90, 85, 0.24);
}

/* ==================== 标签 / 标题 ==================== */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--melon-green);
  background: var(--melon-green-light);
  padding: 5px 16px;
  border-radius: 100px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -1.5px;
  color: var(--ink);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 5px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--melon-red), var(--melon-yellow), var(--melon-green));
  border-radius: 8px;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 44px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ==================== 卡片网格 ==================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1.5px solid #F0E5E0;
  background: #fff;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--melon-red), var(--melon-yellow), var(--melon-green));
  opacity: 0;
  transition: opacity 0.3s;
}

.category-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--melon-green), var(--melon-yellow), var(--melon-red));
}

.category-card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--melon-yellow), var(--melon-red), var(--melon-green));
}

.category-card:hover {
  transform: translateY(-8px) rotate(-0.8deg);
  box-shadow: var(--card-shadow);
  border-color: transparent;
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--melon-red-light), var(--melon-yellow-light));
  color: var(--melon-red);
  box-shadow: 0 4px 12px rgba(255, 90, 85, 0.1);
}

.card-icon:has(.fa-video),
.card-icon > i {
  font-style: normal;
}

.card-link {
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--melon-red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  transition: gap 0.3s;
}

.card-link:hover {
  gap: 12px;
  color: #FF7E5F;
}

/* ==================== 特性块 ==================== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 320px;
  background: linear-gradient(135deg, var(--melon-yellow-light), var(--melon-green-light));
  border: 2px solid #F0E5E0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image::before {
  content: '🥒';
  font-size: 5rem;
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%) rotate(-12deg);
  animation: float 4s ease-in-out infinite;
}

.feature-image::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 85, 0.2), transparent);
  bottom: 15%;
  right: 15%;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.feature-text {
  position: relative;
}

.feature-text::before {
  content: '「每日鲜瓜」';
  font-size: 1rem;
  font-weight: 800;
  color: var(--melon-green);
  background: var(--melon-green-light);
  border-radius: 100px;
  padding: 4px 16px;
  display: inline-block;
  margin-bottom: 16px;
}

.feature-text h3 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.feature-text p {
  color: var(--ink-soft);
  margin-bottom: 24px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  margin-top: 8px;
}

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  border-bottom: 1px dashed #F0E5E0;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--melon-red), var(--melon-yellow));
  box-shadow: 0 2px 6px rgba(255, 90, 85, 0.25);
  flex-shrink: 0;
}

/* ==================== 数据条 ==================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-item {
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  border: none;
  background: linear-gradient(145deg, #fff, var(--melon-yellow-light));
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

.stat-item:nth-child(2) {
  background: linear-gradient(145deg, #fff, var(--melon-green-light));
}

.stat-item:nth-child(3) {
  background: linear-gradient(145deg, #fff, var(--melon-red-light));
}

.stat-item:nth-child(4) {
  background: linear-gradient(145deg, #fff, #E8F4FD);
}

.stat-item:hover {
  transform: translateY(-4px);
}

.stat-item::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--melon-red), #FF7E5F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.65;
  margin-top: 8px;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ==================== 内容墙 ==================== */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid #F0E5E0;
  background: #fff;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.content-wall-item:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--card-shadow);
  border-color: transparent;
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.content-wall-item:hover img {
  transform: scale(1.05);
}

.content-wall-item::before {
  content: '🔥';
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 1.4rem;
  background: #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.content-wall-body {
  padding: 22px 20px 20px;
}

.content-wall-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.4;
}

.content-wall-body p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  opacity: 0.8;
  line-height: 1.6;
}

/* ==================== FAQ ==================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1.5px solid #E8EFE5;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: var(--melon-green);
  box-shadow: 0 6px 20px rgba(50, 199, 102, 0.1);
}

.faq-item .faq-question {
  padding: 20px 24px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
  font-size: 1rem;
  background: linear-gradient(90deg, transparent, rgba(50, 199, 102, 0.03));
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--melon-green);
  transition: transform 0.3s;
  line-height: 1;
}

.faq-item.open .faq-question::after {
  content: '×';
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  opacity: 0;
  color: var(--ink-soft);
  line-height: 1.7;
  border-top: 1px dashed #E8EFE5;
  margin-top: 0;
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 0.75; transform: translateY(0); }
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==================== CTA 横幅 ==================== */
.cta-banner {
  padding: 64px 48px;
  text-align: center;
  border-radius: 40px;
  background: linear-gradient(135deg, var(--melon-red) 0%, #FF8A70 45%, var(--melon-yellow) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(255, 90, 85, 0.3);
}

.cta-banner::before,
.cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.cta-banner::before {
  width: 200px;
  height: 200px;
  top: -60px;
  right: -40px;
}

.cta-banner::after {
  width: 140px;
  height: 140px;
  bottom: -50px;
  left: 10%;
  background: rgba(255, 255, 255, 0.08);
}

.cta-banner h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -1px;
  position: relative;
  z-index: 1;
}

.cta-banner h2::after {
  content: ' 🍉';
  display: none;
}

.cta-banner p {
  position: relative;
  z-index: 1;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--melon-red);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

/* ==================== 页脚 ==================== */
.site-footer {
  padding: 64px 0 32px;
  background: linear-gradient(180deg, #F2FAF0, var(--cream));
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--melon-green), var(--melon-yellow), var(--melon-red)) 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  padding-right: 20px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--ink);
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  background: linear-gradient(90deg, var(--melon-red), var(--melon-yellow));
  border-radius: 4px;
}

.footer-col a {
  display: block;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 6px 0;
  transition: all 0.25s;
}

.footer-col a:hover {
  color: var(--melon-red);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(45, 35, 33, 0.08);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ==================== 工具类 ==================== */
.text-accent {
  color: var(--melon-red);
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  color: var(--ink-soft);
  line-height: 1.7;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* 焦点可见性 */
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(255, 90, 85, 0.45);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    margin: 40px auto 0;
    width: 330px;
    height: 330px;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-banner {
    padding: 48px 28px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .feature-block {
    grid-template-columns: 1fr;
  }

  .feature-image {
    min-height: 240px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #FFFBF4;
    padding: 24px;
    border-bottom: 4px solid var(--melon-red);
    border-radius: 0 0 24px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    gap: 20px;
  }

  .main-nav a {
    font-size: 1.05rem;
    padding: 8px 12px;
  }

  .main-nav a.nav-cta {
    text-align: center;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav.open {
    display: flex;
    animation: navDrop 0.3s ease;
  }

  @keyframes navDrop {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero {
    padding-top: 110px;
  }

  .hero-image {
    width: 260px;
    height: 260px;
  }

  .hero-image::before {
    background-size: 14px 14px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .cta-banner h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-image {
    width: 220px;
    height: 220px;
  }

  .stat-item {
    padding: 28px 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .cta-banner {
    padding: 40px 20px;
    border-radius: 24px;
  }

  .cta-banner h2 {
    font-size: 1.4rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

/* 打印优化 */
@media print {
  .site-header {
    position: static;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  .hero-image,
  .btn,
  .menu-toggle {
    display: none;
  }
}