*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #ff3e6c;
  --primary-deep: #e82b5c;
  --secondary: #00b8ae;
  --secondary-deep: #00a095;
  --accent: #ffc53a;
  --ink: #1f2328;
  --paper: #fbf7ef;
  --mint: #eef6f1;
  --card: #ffffff;
  --muted: #6b7280;
  --radius: 8px;
  --border: 2px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
  --bouncy: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(31, 35, 40, 0.035) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

::selection { background: var(--accent); color: var(--ink); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper); border-left: 1px solid var(--ink); }
::-webkit-scrollbar-thumb { background: var(--primary); border: 2px solid var(--ink); border-radius: 6px; }

/* 核心布局 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section { padding: 90px 0; position: relative; }

.section:nth-child(even) { background: var(--mint); }

.section:not(.hero) {
  border-bottom: 2px solid var(--ink);
}

.section:not(.hero)::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  height: 6px;
  width: 100%;
  background: repeating-linear-gradient(90deg, var(--primary) 0 24px, transparent 24px 32px, var(--accent) 32px 56px, transparent 56px 64px, var(--secondary) 64px 88px, transparent 88px 96px);
  opacity: 0.5;
}

/* 动画 */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bobble {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-8px); }
}

/* 导航 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(251, 247, 239, 0.88);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 2px solid var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--primary);
  background-image: conic-gradient(from 0deg,
    #fff 0deg 120deg,
    transparent 120deg 240deg,
    #fff 240deg 360deg);
  box-shadow: 3px 3px 0 var(--ink);
  animation: spin 12s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--ink);
  position: relative;
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--ink);
  transform: scale(0.6);
}

.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);
  position: relative;
  padding: 4px 0;
  letter-spacing: 0.03em;
  transition: color 0.25s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--bouncy);
}

.main-nav a:hover { color: var(--primary); }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.main-nav .nav-cta { color: #fff !important; }

.nav-cta {
  padding: 9px 20px;
  border-radius: 6px;
  background: var(--primary);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
  color: #fff !important;
  font-weight: 800;
  transition: all 0.12s linear;
}

.nav-cta:hover {
  background: var(--primary-deep);
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.menu-toggle { display: none; }

/* Hero */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background:
    radial-gradient(ellipse at 85% 20%, rgba(255, 62, 108, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 85%, rgba(0, 184, 174, 0.07) 0%, transparent 50%),
    var(--paper);
}

.hero::before {
  content: '';
  position: absolute;
  width: 620px;
  height: 620px;
  right: -140px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 3px dashed var(--ink);
  background: repeating-conic-gradient(from 0deg,
    rgba(255, 62, 108, 0.16) 0deg 60deg,
    rgba(0, 184, 174, 0.13) 60deg 120deg,
    rgba(255, 197, 58, 0.16) 120deg 180deg,
    rgba(255, 62, 108, 0.16) 180deg 240deg,
    rgba(0, 184, 174, 0.13) 240deg 300deg,
    rgba(255, 197, 58, 0.16) 300deg 360deg);
  animation: spin 40s linear infinite;
  opacity: 0.7;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 14%;
  left: -70px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 35, 40, 0.07) 2px, transparent 2.6px);
  background-size: 16px 16px;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 100px 0 80px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 4px;
  margin-bottom: 18px;
  background: var(--accent);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
  transform: rotate(-2deg);
  letter-spacing: 0.08em;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.1;
  margin-bottom: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero p {
  font-size: 1.12rem;
  opacity: 0.72;
  max-width: 580px;
  margin-bottom: 34px;
  line-height: 1.75;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: 12px 12px 0 var(--secondary);
  animation: bobble 8s ease-in-out infinite;
  transform: rotate(-1deg);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(10%) contrast(1.05);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  text-decoration: none;
  background: #fff;
  color: var(--ink);
  transition: transform 0.08s linear, box-shadow 0.08s linear, background 0.2s;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--ink);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover { background: var(--primary-deep); color: #fff; }

.btn-outline {
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.btn-outline:hover { background: var(--accent); color: var(--ink); }

/* 标签 / 标题 */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  color: var(--secondary-deep);
  padding-left: 22px;
  position: relative;
  text-transform: uppercase;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 4px;
  background: var(--primary);
  transform: translateY(-50%);
  border-radius: 4px;
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  margin-bottom: 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border: 2px solid var(--ink);
  border-radius: 50%;
  margin-left: 12px;
  vertical-align: middle;
  animation: pulse 2.2s ease-in-out infinite;
}

.section:nth-child(even) .section-title::after { background: var(--secondary); }

.section-desc {
  max-width: 640px;
  opacity: 0.68;
  margin-bottom: 46px;
  line-height: 1.8;
}

/* 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.2s var(--bouncy), box-shadow 0.2s var(--bouncy);
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--ink);
  top: -10px;
  right: -10px;
  transition: transform 0.3s var(--bouncy);
}

.category-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 9px 9px 0 var(--ink);
}

.category-card:hover::before { transform: scale(1.2); }

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  box-shadow: 3px 3px 0 var(--ink);
}

.category-card:nth-child(3n) .card-icon { background: var(--primary); }
.category-card:nth-child(3n+1) .card-icon { background: var(--secondary); }
.category-card:nth-child(3n+2) .card-icon { background: var(--accent); color: var(--ink); }

.card-link {
  display: inline-block;
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 3px solid var(--primary);
  padding-bottom: 2px;
  margin-top: 6px;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.card-link:hover {
  color: var(--primary);
  border-bottom-color: var(--ink);
  transform: translateX(2px);
}

/* 特性块 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--secondary);
  transform: rotate(-1deg);
  transition: transform 0.4s var(--bouncy), box-shadow 0.4s var(--bouncy);
  background: #fff;
}

.feature-image:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 14px 14px 0 var(--secondary);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text h3 {
  font-size: 1.7rem;
  margin-bottom: 12px;
  font-weight: 900;
}

.feature-text p {
  line-height: 1.8;
  opacity: 0.75;
  margin-bottom: 18px;
}

.feature-list {
  list-style: none;
  margin-top: 8px;
}

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  font-weight: 900;
  color: #fff;
  background: var(--secondary);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  flex-shrink: 0;
}

/* 数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-item {
  padding: 32px 16px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.25s var(--bouncy), box-shadow 0.25s var(--bouncy);
}

.stat-item:hover {
  transform: rotate(-2deg) translateY(-6px);
  box-shadow: 10px 10px 0 var(--ink);
}

.stat-item:nth-child(1) { border-top: 8px solid var(--primary); }
.stat-item:nth-child(2) { border-top: 8px solid var(--secondary); }
.stat-item:nth-child(3) { border-top: 8px solid var(--accent); }
.stat-item:nth-child(4) { border-top: 8px solid var(--primary); }

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--primary);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 6px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--bouncy), box-shadow 0.25s var(--bouncy);
}

.content-wall-item:hover {
  transform: rotate(-1deg) translateY(-6px);
  box-shadow: 10px 10px 0 var(--primary);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid var(--ink);
  filter: grayscale(20%) contrast(1.08) brightness(1.02);
  transition: filter 0.4s, transform 0.4s;
  display: block;
}

.content-wall-item:hover img { filter: grayscale(0) contrast(1) brightness(1); }

.content-wall-body { padding: 22px; }

.content-wall-body h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }

.content-wall-body p { font-size: 0.88rem; opacity: 0.66; line-height: 1.7; }

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--bouncy);
}

.faq-item:hover { box-shadow: var(--shadow); }
.faq-item.open { box-shadow: var(--shadow); }

.faq-item .faq-question {
  padding: 20px 22px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1.02rem;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--primary);
  line-height: 1;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-item .faq-answer {
  padding: 0 22px 20px;
  display: none;
  opacity: 0.72;
  line-height: 1.75;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 0.35s ease;
}

/* CTA横幅 */
.cta-banner {
  padding: 64px 40px;
  text-align: center;
  border-radius: 16px;
  border: 3px solid var(--ink);
  background-color: var(--primary);
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  box-shadow: 12px 12px 0 var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '✦';
  position: absolute;
  top: -16px;
  left: 8%;
  width: 48px;
  height: 48px;
  background: var(--accent);
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--ink);
  animation: float 5s ease-in-out infinite;
}

.cta-banner * { position: relative; z-index: 1; }

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.06);
}

.cta-banner p { color: rgba(255, 255, 255, 0.8); max-width: 520px; margin: 14px auto 32px; line-height: 1.8; }

.cta-banner .btn-primary {
  background: var(--accent);
  color: var(--ink);
}

.cta-banner .btn-primary:hover { background: #ffd95e; }

/* 页脚 */
.site-footer {
  background: var(--secondary-deep);
  color: #eafff8;
  padding: 60px 0 30px;
  position: relative;
  border-top: 2px solid var(--ink);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(45deg, var(--accent) 0 12px, var(--primary) 12px 24px, #fff 24px 36px);
  opacity: 0.8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 320px;
  line-height: 1.75;
  opacity: 0.82;
  font-size: 0.92rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: 0.06em;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 24px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s, transform 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 44px;
  padding-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.72;
}

.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
}

/* 工具类 */
.text-accent {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.text-accent::after {
  content: '✦';
  position: absolute;
  top: -10px;
  right: -18px;
  color: var(--accent);
  font-size: 1.1rem;
  animation: spin 8s linear infinite;
}

.text-center { text-align: center; }

.seo-description {
  max-width: 640px;
  margin: 0 auto 50px;
  opacity: 0.68;
  line-height: 1.8;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* 响应式 */
@media (max-width: 992px) {
  .feature-block { gap: 40px; }
  .stats-bar { gap: 18px; }
}

@media (max-width: 768px) {
  .header-inner { height: 64px; padding: 0 16px; }
  .main-nav { display: none; }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1;
    color: var(--ink);
    transition: transform 0.1s;
  }
  .menu-toggle:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--paper);
    padding: 24px;
    border-bottom: 2px solid var(--ink);
    box-shadow: 0 10px 0 rgba(0, 0, 0, 0.04);
    gap: 18px;
    animation: fadeIn 0.3s ease;
  }
  .main-nav.open a {
    font-size: 1.05rem;
    padding: 8px 0;
  }
  .section { padding: 64px 0; }
  .hero { min-height: auto; padding-top: 80px; }
  .hero-content { max-width: 100%; padding: 48px 0 60px; }
  .hero h1 { font-size: clamp(2.3rem, 8vw, 3.2rem); }
  .feature-block { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-banner { padding: 48px 24px; }
}

@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .hero h1 { font-size: 2.1rem; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { justify-content: center; }
  .cards-grid, .content-wall, .stats-bar, .footer-grid { grid-template-columns: 1fr; }
  .category-card, .stat-item { padding: 22px; }
  .content-wall-item img { height: 180px; }
  .cta-banner { padding: 40px 20px; border-radius: 12px; box-shadow: 8px 8px 0 var(--ink); }
  .footer-grid { gap: 28px; }
  .section-title { font-size: 1.6rem; }
  .section-title::after { width: 10px; height: 10px; margin-left: 8px; }
}