/* roulang page: index */
/* ====== 设计变量 ====== */
:root {
  --primary: #F26B3A;
  --primary-dark: #D95527;
  --secondary: #1FA894;
  --accent: #FFB300;
  --bg-main: #FFFBF7;
  --bg-alt: #FFF3EA;
  --bg-dark: #2D2A26;
  --text-main: #1F1B16;
  --text-body: #4A443C;
  --text-weak: #8C8377;
  --border-light: #F0E6DD;
  --border-focus: #F26B3A;
  --radius-card: 18px;
  --radius-btn: 12px;
  --radius-hero: 24px;
  --radius-tag: 999px;
  --shadow-card: 0 4px 16px rgba(242,107,58,0.06);
  --shadow-hover: 0 10px 30px rgba(242,107,58,0.14);
  --shadow-focus: 0 0 0 3px rgba(242,107,58,0.18);
  --transition: all 0.25s ease;
  --font-stack: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", sans-serif;
}

/* ====== Reset 补全 ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-stack);
  background: var(--bg-main);
  color: var(--text-body);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; line-height: inherit; }
button { cursor: pointer; border: none; background: none; }

/* 通用布局容器 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { font-size: 34px; font-weight: 700; color: var(--text-main); line-height: 1.3; letter-spacing: -0.02em; }
.section-head p { font-size: 16px; color: var(--text-weak); margin-top: 12px; }

/* ====== 导航 ====== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 247, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
}
.main-header .grid-container { display: flex; align-items: center; gap: 24px; }
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(242,107,58,0.25);
}
.logo-text { font-size: 20px; font-weight: 800; color: var(--text-main); letter-spacing: -0.01em; }
.logo-text .free { color: var(--primary); }
.header-search { flex: 1; max-width: 480px; margin: 0 auto; }
.header-search .input-group {
  display: flex;
  align-items: center;
  background: #F5EFE8;
  border-radius: 999px;
  padding: 0 16px;
  height: 44px;
  border: 1px solid transparent;
  transition: var(--transition);
}
.header-search .input-group:focus-within {
  background: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-focus);
}
.header-search .input-group svg { flex-shrink: 0; color: var(--text-weak); }
.header-search .input-group input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 12px;
  height: 100%;
  outline: none;
  color: var(--text-main);
  font-size: 15px;
}
.header-search .input-group input::placeholder { color: var(--text-weak); }
.header-nav { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-nav .nav-link {
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-btn);
  transition: var(--transition);
}
.header-nav .nav-link:hover { color: var(--primary); background: var(--bg-alt); }
.header-nav .nav-link.active { color: var(--primary); background: var(--bg-alt); font-weight: 600; }
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  transition: var(--transition);
  min-height: 40px;
}
.btn-submit:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn-submit:active { transform: translateY(1px); filter: brightness(0.95); }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--text-main); border-radius: 10px; flex-shrink: 0; }

/* ====== Hero ====== */
.hero {
  position: relative;
  padding: 72px 0 88px;
  background: linear-gradient(135deg, #FFF3EA 0%, #FFFBF7 50%, rgba(255,179,0,0.08) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(242,107,58,0.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero .grid-x { align-items: center; position: relative; z-index: 2; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-badges .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(242,107,58,0.1);
  color: #BD4E22;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-tag);
}
.hero-badges .badge i { color: var(--secondary); }
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.hero h1 .highlight { color: var(--primary); }
.hero .lead {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-btn);
  transition: var(--transition);
  min-height: 48px;
  line-height: 1;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(242,107,58,0.3); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(242,107,58,0.35); }
.btn-primary:active { transform: translateY(1px); box-shadow: 0 2px 8px rgba(242,107,58,0.25); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: rgba(242,107,58,0.08); color: var(--primary-dark); transform: translateY(-2px); }
.btn-outline:active { transform: translateY(1px); }
.hero-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-tags .tag-label { font-size: 14px; color: var(--text-weak); margin-right: 4px; }
.hero-tags .hot-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-body);
  font-weight: 500;
  transition: var(--transition);
}
.hero-tags .hot-tag:hover { border-color: var(--primary); color: var(--primary); background: #fff; box-shadow: 0 2px 8px rgba(242,107,58,0.1); }
.hero-tags .hot-tag i { color: var(--accent); font-size: 12px; }
.hero-media { position: relative; }
.hero-media .img-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(242,107,58,0.12);
  background: #f5efe8;
  aspect-ratio: 4 / 3;
}
.hero-media .img-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .float-card {
  position: absolute;
  bottom: -18px;
  left: 24px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border: 1px solid var(--border-light);
}
.hero-media .float-card .pulse { width: 8px; height: 8px; background: var(--secondary); border-radius: 50%; position: relative; }
.hero-media .float-card .pulse::after { content: ''; position: absolute; inset: -4px; background: rgba(31,168,148,0.3); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.hero-media .float-card span { font-size: 14px; font-weight: 600; color: var(--text-main); }

/* ====== 服务板块 ====== */
.services-grid .service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 28px;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.services-grid .service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(242,107,58,0.2); }
.service-card .free-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,179,0,0.15);
  color: #B57A00;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  margin-bottom: 20px;
}
.service-icon.orange { background: var(--primary); }
.service-icon.teal { background: var(--secondary); }
.service-icon.amber { background: var(--accent); color: #2D2A26; }
.service-card h3 { font-size: 22px; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.service-card p { font-size: 15px; color: var(--text-body); line-height: 1.7; margin-bottom: 16px; }
.service-card .card-link { font-size: 14px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.service-card .card-link:hover { gap: 10px; color: var(--primary-dark); }

/* ====== 优势数据 ====== */
.stats-wrap {
  background: var(--bg-alt);
  border-radius: var(--radius-hero);
  padding: 48px 40px;
}
.stats-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 24px;
  box-shadow: var(--shadow-card);
}
.stat-cell { text-align: center; padding: 20px 12px; position: relative; }
.stat-cell:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 30%;
  height: 40%;
  width: 1px;
  background: var(--border-light);
}
.stat-icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(31,168,148,0.12); color: var(--secondary); display: flex; align-items: center; justify-content: center; font-size: 18px; margin: 0 auto 12px; }
.stat-cell .num { font-size: 44px; font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat-cell .label { font-size: 14px; color: var(--text-weak); margin-top: 8px; }

/* ====== 案例板块 ====== */
.case-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  height: 100%;
  transition: var(--transition);
}
.case-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.case-card .case-img { overflow: hidden; background: #f5efe8; }
.case-card .case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.case-card:hover .case-img img { transform: scale(1.03); }
.case-card .case-body { padding: 20px 24px 24px; }
.case-tag {
  display: inline-block;
  background: #F5EFE8;
  color: var(--text-weak);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.case-card h3 { font-size: 18px; font-weight: 700; color: var(--text-main); margin-bottom: 6px; }
.case-card p { font-size: 14px; color: var(--text-weak); line-height: 1.6; margin-bottom: 12px; }
.case-link { font-size: 14px; font-weight: 600; color: var(--primary); }
.large-case .case-body h3 { font-size: 20px; }
.large-case p { font-size: 15px; }

/* ====== 方案板块 ====== */
.solution-wrap { background: #fff; border-radius: var(--radius-hero); padding: 48px; box-shadow: var(--shadow-card); border: 1px solid var(--border-light); }
.solution-point { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border-light); }
.solution-point:last-child { border-bottom: none; }
.point-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(31,168,148,0.12);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.solution-point h3 { font-size: 17px; font-weight: 700; color: var(--text-main); margin-bottom: 4px; }
.solution-point p { font-size: 15px; color: var(--text-weak); line-height: 1.6; }
.subscribe-card {
  background: var(--bg-alt);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
}
.subscribe-card h3 { font-size: 22px; font-weight: 700; color: var(--text-main); margin-bottom: 10px; }
.subscribe-card p { font-size: 15px; color: var(--text-body); margin-bottom: 24px; line-height: 1.7; }
.subscribe-form { display: flex; gap: 10px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 20px; border: 1px solid var(--border-light); }
.subscribe-form:focus-within { border-color: var(--primary); box-shadow: var(--shadow-focus); }
.subscribe-form input { flex: 1; border: none; outline: none; background: transparent; color: var(--text-main); font-size: 15px; min-width: 0; }
.subscribe-form button {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
  transition: var(--transition);
  min-height: 44px;
}
.subscribe-form button:hover { background: var(--primary-dark); }

/* ====== FAQ ====== */
.faq-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.is-active { border-color: var(--primary); box-shadow: 0 4px 20px rgba(242,107,58,0.08); }
.faq-title {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
  transition: var(--transition);
}
.faq-title:hover { color: var(--primary); }
.faq-item.is-active .faq-title { color: var(--primary); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.is-active .faq-icon { background: var(--secondary); transform: rotate(45deg); }
.faq-content { padding: 0 24px 20px 68px; font-size: 15px; color: var(--text-body); line-height: 1.75; border-left: 3px solid var(--primary); margin-left: 24px; padding-left: 20px; margin-bottom: 4px; }

/* ====== CTA ====== */
.cta-section { padding-bottom: 80px; }
.cta-wrap {
  background: var(--bg-dark);
  border-radius: var(--radius-hero);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-wrap::before {
  content: '';
  position: absolute;
  top: -60px;
  right: 20px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(242,107,58,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-wrap h2 { font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.cta-wrap p { font-size: 15px; color: #B8B0A6; }
.cta-wrap .btn { flex-shrink: 0; }

/* ====== 页脚 ====== */
.site-footer {
  background: var(--bg-dark);
  padding: 60px 0 32px;
  color: #B8B0A6;
  font-size: 14px;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
}
.site-footer h4 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 18px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .logo-mark { background: var(--primary); }
.footer-brand .logo-text { color: #fff; }
.footer-desc { color: #B8B0A6; line-height: 1.7; max-width: 320px; }
.footer-links a { display: block; color: #B8B0A6; padding: 6px 0; font-size: 14px; transition: var(--transition); min-height: 36px; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact p { margin-bottom: 8px; display: flex; align-items: flex-start; gap: 10px; }
.footer-contact i { margin-top: 6px; color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #8C8377;
  font-size: 13px;
}
.footer-bottom a { color: #B8B0A6; }

/* ====== 响应式 ====== */
@media screen and (max-width: 1023px) {
  .header-search { max-width: 40%; }
  .hero h1 { font-size: 38px; }
  .section { padding: 60px 0; }
  .stats-wrap { padding: 32px 20px; }
}

@media screen and (max-width: 767px) {
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }
  .main-header { padding: 12px 0; }
  .menu-toggle { display: flex; }
  .header-search { order: 3; width: 100%; max-width: 100%; margin: 12px 0 0; }
  .header-search .input-group { height: 44px; }
  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .header-nav.open { display: flex; }
  .header-nav .nav-link { padding: 14px 16px; border-radius: 10px; min-height: 48px; display: flex; align-items: center; }
  .btn-submit { min-height: 48px; }
  .hero { padding: 48px 0 64px; }
  .hero h1 { font-size: 32px; }
  .hero .lead { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-media { margin-top: 40px; }
  .section-head h2 { font-size: 26px; }
  .stats-wrap { padding: 24px 16px; }
  .stat-cell:nth-child(2)::after { display: none; }
  .stat-cell .num { font-size: 32px; }
  .solution-wrap { padding: 28px 20px; }
  .subscribe-form { flex-direction: column; border-radius: 16px; padding: 16px; gap: 12px; }
  .subscribe-form input { min-height: 44px; }
  .subscribe-form button { width: 100%; }
  .cta-wrap { padding: 40px 24px; text-align: center; justify-content: center; }
  .cta-wrap .btn { width: 100%; }
  .faq-content { margin-left: 16px; padding-left: 16px; }
  .site-footer { padding: 48px 0 24px; }
  .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
}

@media screen and (max-width: 520px) {
  .hero h1 { font-size: 28px; }
  .hero-badges .badge { font-size: 12px; padding: 5px 10px; }
  .hero-tags .hot-tag { font-size: 12px; padding: 5px 10px; }
  .header-nav { border-radius: 0 0 12px 12px; }
}

/* Foundation 覆盖 */
.grid-container { max-width: 1200px; }
.grid-x > .cell { min-width: 0; }
.button-group { display: flex; flex-wrap: wrap; gap: 8px; }
.button-group .button { margin: 0; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-item a, .pagination .page-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  background: #fff;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.pagination .page-item a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .page-item.current span { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .page-item.disabled span { opacity: 0.5; pointer-events: none; }
[data-whatinput="mouse"] :focus, [data-whatinput="touch"] :focus {
  outline: none;
  box-shadow: var(--shadow-focus);
}
a:focus-visible, button:focus-visible, input:focus-visible, .faq-title:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* roulang page: category1 */
/* ====== 设计变量 ====== */
:root {
  --primary: #F26B3A;
  --primary-dark: #D95527;
  --secondary: #1FA894;
  --accent: #FFB300;
  --bg-main: #FFFBF7;
  --bg-alt: #FFF3EA;
  --bg-dark: #2D2A26;
  --text-main: #1F1B16;
  --text-body: #4A443C;
  --text-weak: #8C8377;
  --border-light: #F0E6DD;
  --border-focus: #F26B3A;
  --radius-card: 18px;
  --radius-btn: 12px;
  --radius-hero: 24px;
  --radius-tag: 999px;
  --shadow-card: 0 4px 16px rgba(242,107,58,0.06);
  --shadow-hover: 0 10px 30px rgba(242,107,58,0.14);
  --shadow-focus: 0 0 0 3px rgba(242,107,58,0.18);
  --transition: all 0.25s ease;
  --font-stack: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", sans-serif;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-stack); background: var(--bg-main); color: var(--text-body); line-height: 1.75; font-size: 16px; overflow-x: hidden; margin: 0; padding: 0; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
button, input, select, textarea { font-family: inherit; font-size: inherit; line-height: inherit; margin: 0; }
button { cursor: pointer; border: none; background: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { font-size: 34px; font-weight: 700; color: var(--text-main); line-height: 1.3; letter-spacing: -0.02em; margin: 0; }
.section-head p { font-size: 16px; color: var(--text-weak); margin-top: 12px; }

/* ====== 导航 ====== */
.main-header { position: sticky; top: 0; z-index: 100; background: rgba(255,251,247,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border-light); padding: 14px 0; }
.main-header .grid-container { max-width: 1200px; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 40px; height: 40px; background: var(--primary); color: #fff; font-size: 20px; font-weight: 800; border-radius: 12px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(242,107,58,0.25); }
.logo-text { font-size: 20px; font-weight: 800; color: var(--text-main); letter-spacing: -0.01em; }
.logo-text .free { color: var(--primary); }
.header-search { flex: 1; max-width: 480px; margin: 0 auto; }
.header-search .input-group { display: flex; align-items: center; background: #F5EFE8; border-radius: 999px; padding: 0 16px; height: 44px; border: 1px solid transparent; transition: var(--transition); }
.header-search .input-group:focus-within { background: #fff; border-color: var(--primary); box-shadow: var(--shadow-focus); }
.header-search .input-group svg { flex-shrink: 0; color: var(--text-weak); }
.header-search .input-group input { flex: 1; border: none; background: transparent; padding: 0 12px; height: 100%; outline: none; color: var(--text-main); font-size: 15px; }
.header-search .input-group input::placeholder { color: var(--text-weak); }
.header-nav { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-nav .nav-link { padding: 8px 16px; font-size: 15px; font-weight: 500; color: var(--text-body); border-radius: var(--radius-btn); transition: var(--transition); line-height: 1.4; }
.header-nav .nav-link:hover { color: var(--primary); background: var(--bg-alt); }
.header-nav .nav-link.active { color: var(--primary); background: var(--bg-alt); font-weight: 600; }
.btn-submit { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 600; border-radius: 999px; transition: var(--transition); min-height: 40px; }
.btn-submit:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn-submit:active { transform: translateY(1px); filter: brightness(0.95); }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--text-main); border-radius: 10px; flex-shrink: 0; }

/* ====== 按钮 ====== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 32px; font-size: 16px; font-weight: 600; border-radius: var(--radius-btn); transition: var(--transition); min-height: 48px; line-height: 1; border: 1px solid transparent; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(242,107,58,0.3); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(242,107,58,0.35); }
.btn-primary:active { transform: translateY(1px); box-shadow: 0 2px 8px rgba(242,107,58,0.25); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: rgba(242,107,58,0.08); color: var(--primary-dark); transform: translateY(-2px); }
.btn-outline:active { transform: translateY(1px); filter: brightness(0.95); }
.btn-sm { padding: 10px 22px; font-size: 14px; min-height: 40px; border-radius: 10px; }

/* ====== 分类页 Hero ====== */
.category-hero { padding: 44px 0 0; position: relative; }
.category-hero .hero-inner { background: var(--bg-alt); border-radius: var(--radius-hero); padding: 48px; display: flex; align-items: center; gap: 48px; position: relative; overflow: hidden; min-height: 260px; }
.category-hero .hero-inner::before { content: ""; position: absolute; top: -60px; right: -60px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(242,107,58,0.12) 0%, transparent 65%); border-radius: 50%; pointer-events: none; }
.category-hero .hero-content { flex: 1; position: relative; z-index: 2; }
.category-hero .breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-weak); margin-bottom: 14px; flex-wrap: wrap; }
.category-hero .breadcrumb a { color: var(--text-weak); }
.category-hero .breadcrumb a:hover { color: var(--primary); }
.category-hero .breadcrumb i { font-size: 12px; color: var(--text-weak); }
.category-hero h1 { font-size: 42px; font-weight: 800; color: var(--text-main); line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 12px; }
.category-hero h1 span { color: var(--primary); }
.category-hero p.lead { font-size: 17px; color: var(--text-body); max-width: 560px; margin: 0 0 20px; line-height: 1.75; }
.category-hero .hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.category-hero .hero-tags .tag { display: inline-block; background: #fff; color: var(--text-body); font-size: 13px; font-weight: 500; padding: 5px 14px; border-radius: var(--radius-tag); border: 1px solid var(--border-light); transition: var(--transition); }
.category-hero .hero-tags .tag:hover { border-color: var(--primary); color: var(--primary); }
.category-hero .hero-cover { flex-shrink: 0; width: 360px; height: 220px; border-radius: 16px; overflow: hidden; object-fit: cover; box-shadow: 0 10px 30px rgba(242,107,58,0.16); position: relative; z-index: 2; background: linear-gradient(135deg, #F5EFE8, #E8DCCF); }
.category-hero .hero-cover img { width: 100%; height: 100%; object-fit: cover; }

/* ====== 工具条 ====== */
.toolbar-section { padding: 32px 0 8px; }
.toolbar-card { background: #fff; border-radius: 16px; border: 1px solid var(--border-light); box-shadow: var(--shadow-card); padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.filter-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-group .filter-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 18px; font-size: 14px; font-weight: 500; color: var(--text-body); background: var(--bg-main); border: 1px solid var(--border-light); border-radius: var(--radius-tag); transition: var(--transition); }
.filter-group .filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-group .filter-btn.active { background: rgba(242,107,58,0.1); color: var(--primary); border-color: rgba(242,107,58,0.25); font-weight: 600; }
.sort-group { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sort-group .sort-label { font-size: 13px; color: var(--text-weak); margin-right: 4px; }
.sort-group .sort-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 6px 14px; font-size: 13px; font-weight: 500; color: var(--text-body); background: transparent; border-radius: var(--radius-tag); transition: var(--transition); }
.sort-group .sort-btn:hover { color: var(--primary); background: var(--bg-alt); }
.sort-group .sort-btn.active { color: var(--primary); background: var(--bg-alt); font-weight: 600; }

/* ====== 资源列表 ====== */
.resource-grid-section { padding: 24px 0 0; }
.resource-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.resource-head h2 { font-size: 28px; font-weight: 700; color: var(--text-main); letter-spacing: -0.01em; margin: 0; }
.resource-head p { font-size: 14px; color: var(--text-weak); margin: 6px 0 0; }
.resource-head .count-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(31,168,148,0.1); color: var(--secondary); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: var(--radius-tag); }
.resource-grid .cell { margin-bottom: 24px; }
.resource-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); transition: var(--transition); display: flex; flex-direction: column; height: 100%; }
.resource-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: rgba(242,107,58,0.18); }
.resource-card .card-cover { position: relative; height: 170px; overflow: hidden; background: linear-gradient(135deg, #F5EFE8, #EADCCF); }
.resource-card .card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.resource-card:hover .card-cover img { transform: scale(1.03); }
.resource-card .free-badge { position: absolute; top: 12px; left: 12px; background: rgba(255,179,0,0.92); color: #6B4A00; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-tag); letter-spacing: 0.02em; box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.resource-card .cat-badge { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,0.92); color: var(--text-body); font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: var(--radius-tag); backdrop-filter: blur(4px); }
.resource-card .card-body { padding: 20px 22px 18px; display: flex; flex-direction: column; flex: 1; }
.resource-card h3 { font-size: 18px; font-weight: 700; color: var(--text-main); margin: 0 0 8px; line-height: 1.4; }
.resource-card h3 a { color: var(--text-main); }
.resource-card h3 a:hover { color: var(--primary); }
.resource-card p.desc { font-size: 14px; color: var(--text-weak); line-height: 1.65; margin: 0 0 16px; flex: 1; }
.resource-card .card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.resource-card .btn-sm { white-space: nowrap; }
.resource-card .meta-info { font-size: 12px; color: var(--text-weak); display: flex; align-items: center; gap: 6px; }
.resource-card .meta-info i { color: var(--secondary); }

/* ====== 分页 ====== */
.pagination-section { padding: 16px 0 48px; text-align: center; }
.pagination { display: inline-flex; align-items: center; gap: 6px; margin: 0; list-style: none; flex-wrap: wrap; justify-content: center; }
.pagination li { display: inline-flex; }
.pagination li a, .pagination li .current { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--radius-tag); font-size: 14px; font-weight: 500; color: var(--text-body); background: #fff; border: 1px solid var(--border-light); transition: var(--transition); }
.pagination li a:hover { border-color: var(--primary); color: var(--primary); }
.pagination li.current .current { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 600; box-shadow: 0 4px 12px rgba(242,107,58,0.25); }
.pagination li.pagination-previous a, .pagination li.pagination-next a { background: transparent; border: none; color: var(--text-weak); font-weight: 500; }
.pagination li.pagination-previous a:hover, .pagination li.pagination-next a:hover { color: var(--primary); background: var(--bg-alt); }
.pagination li.disabled { opacity: 0.4; pointer-events: none; }

/* ====== 相关分类 ====== */
.related-section { padding: 48px 0 0; }
.related-section .section-head { margin-bottom: 36px; }
.related-card { display: flex; align-items: center; gap: 14px; background: var(--bg-alt); border-radius: 16px; padding: 18px 20px; height: 100%; transition: var(--transition); border: 1px solid transparent; }
.related-card:hover { background: rgba(242,107,58,0.08); border-color: rgba(242,107,58,0.2); transform: translateY(-2px); }
.related-card .related-icon { width: 48px; height: 48px; background: var(--secondary); color: #fff; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.related-card .related-icon.orange { background: var(--primary); }
.related-card .related-icon.amber { background: var(--accent); }
.related-card .related-info { flex: 1; min-width: 0; }
.related-card .related-name { display: block; font-size: 16px; font-weight: 700; color: var(--text-main); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-card .related-count { font-size: 13px; color: var(--text-weak); }

/* ====== 推荐 CTA ====== */
.recommend-section { padding: 48px 0 64px; }
.recommend-card { background: #fff; border: 1px solid var(--border-light); border-radius: 20px; padding: 40px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; box-shadow: var(--shadow-card); flex-wrap: wrap; }
.recommend-card h2 { font-size: 26px; font-weight: 700; color: var(--text-main); margin: 0 0 8px; letter-spacing: -0.01em; }
.recommend-card p { font-size: 15px; color: var(--text-weak); margin: 0; }
.recommend-card .recommend-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ====== 页脚 ====== */
.site-footer { background: var(--bg-dark); color: #B8B0A6; padding: 60px 0 32px; border-radius: 32px 32px 0 0; margin-top: 40px; }
.site-footer .grid-container { max-width: 1200px; }
.site-footer a { color: #B8B0A6; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.site-footer .footer-brand .logo-mark { width: 36px; height: 36px; font-size: 17px; border-radius: 10px; }
.site-footer .footer-brand .logo-text { font-size: 18px; font-weight: 700; color: #fff; }
.site-footer .footer-desc { font-size: 14px; line-height: 1.7; margin: 0; max-width: 360px; }
.site-footer h4 { color: #fff; font-size: 15px; font-weight: 600; margin: 0 0 14px; }
.site-footer .footer-links { display: flex; flex-direction: column; gap: 10px; }
.site-footer .footer-links a { font-size: 14px; padding: 4px 0; }
.site-footer .footer-links a:hover { color: var(--primary); padding-left: 4px; }
.site-footer .footer-contact p { font-size: 14px; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.site-footer .footer-contact i { color: var(--secondary); width: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #8C8377; }

/* ====== 响应式 ====== */
@media (min-width: 1024px) {
  .resource-grid .cell.large-4:nth-child(3n+1) { margin-left: 0; }
}
@media (max-width: 1023px) and (min-width: 768px) {
  .section { padding: 60px 0; }
  .category-hero .hero-inner { flex-direction: column; padding: 36px; gap: 24px; }
  .category-hero .hero-cover { width: 100%; height: 200px; }
  .toolbar-card { flex-direction: column; align-items: flex-start; }
  .recommend-card { padding: 32px; }
}
@media (max-width: 767px) {
  .section { padding: 48px 0; }
  .main-header .grid-container { flex-wrap: wrap; gap: 12px; }
  .header-search { order: 3; flex-basis: 100%; max-width: 100%; margin: 0; }
  .header-nav { display: none; }
  .header-nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 16px 24px; border-radius: 0 0 16px 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
  .header-nav.open .nav-link { width: 100%; }
  .menu-toggle { display: inline-flex; }
  .category-hero { padding: 16px 0 0; }
  .category-hero .hero-inner { padding: 28px 22px; border-radius: 18px; flex-direction: column; gap: 16px; min-height: auto; }
  .category-hero h1 { font-size: 32px; }
  .category-hero p.lead { font-size: 15px; }
  .category-hero .hero-cover { width: 100%; height: 180px; }
  .toolbar-section { padding: 24px 0 4px; }
  .toolbar-card { padding: 16px; }
  .filter-group .filter-btn { min-height: 38px; padding: 6px 14px; font-size: 13px; }
  .resource-head { flex-direction: column; align-items: flex-start; }
  .resource-head h2 { font-size: 24px; }
  .recommend-card { padding: 28px 22px; flex-direction: column; align-items: flex-start; }
  .recommend-card .recommend-actions { width: 100%; }
  .recommend-card .recommend-actions .btn { flex: 1; }
  .site-footer { padding: 48px 0 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .pagination { gap: 4px; }
  .pagination li a, .pagination li .current { min-width: 40px; height: 40px; padding: 0 10px; font-size: 13px; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .category-hero .hero-inner { padding: 24px 18px; }
  .resource-card .card-body { padding: 16px 16px 14px; }
  .resource-card .card-cover { height: 140px; }
  .resource-card h3 { font-size: 16px; }
  .btn { padding: 12px 20px; font-size: 15px; min-height: 44px; }
}
