/* =============================================
   爱心地标 · 慈善社区 — 品牌官网样式
   ============================================= */

/* ---------- 基础重置 ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #4A4A4A;
  background: #FFFCF9;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #D4563A 0%, #E8724A 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(212, 86, 58, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 86, 58, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #27AE60 0%, #2ECC71 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

/* ---------- Section 通用 ---------- */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(212, 86, 58, 0.08);
  color: #D4563A;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2C3E50;
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-desc {
  font-size: 1.05rem;
  color: #7A7A7A;
  line-height: 1.8;
}

/* =============================================
   公告横幅
   ============================================= */
.announcement {
  position: relative;
  background: linear-gradient(90deg, #D4563A 0%, #B84A30 50%, #D4563A 100%);
  color: #fff;
  font-size: 0.88rem;
  z-index: 1001;
  overflow: hidden;
}

.announcement::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.04) 40px,
    rgba(255,255,255,0.04) 80px
  );
  pointer-events: none;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 44px;
  position: relative;
}

.announcement-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255,255,255,0.2);
  padding: 2px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

.announcement-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.announcement-text strong {
  margin-right: 4px;
}

.announcement-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.announcement-close:hover {
  background: rgba(255,255,255,0.3);
}

.announcement.hidden {
  display: none;
}

/* 有公告时导航栏下移 */
.announcement:not(.hidden) + .header {
  top: 44px;
}

@media (max-width: 768px) {
  .announcement-text {
    font-size: 0.82rem;
  }
  .announcement-inner {
    height: 40px;
  }
  .announcement:not(.hidden) + .header {
    top: 40px;
  }
}

/* =============================================
   导航栏
   ============================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 0;
  transition: all 0.3s ease;
  background: transparent;
}

.header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  transition: color 0.3s;
  white-space: nowrap;
}

.logo-text {
  text-overflow: ellipsis;
  overflow: hidden;
}

.header.scrolled .logo {
  color: #2C3E50;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.logo-icon {
  font-size: 1.6rem;
}

.logo-text {
  letter-spacing: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
  position: relative;
  padding: 4px 0;
}

.header.scrolled .nav a {
  color: #5A5A5A;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #D4563A;
  transition: width 0.3s;
}

.nav a:hover::after {
  width: 100%;
}

.nav a:hover {
  color: #D4563A;
}

.nav-cta {
  background: #D4563A;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 50px;
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: #C04A30 !important;
}

.nav-donate {
  color: #F5A623 !important;
  font-weight: 600 !important;
  position: relative;
}
.nav-donate::after {
  background: #F5A623 !important;
}
.header.scrolled .nav-donate {
  color: #D4563A !important;
}
.nav-donate::before {
  content: 'NEW';
  position: absolute;
  top: -8px;
  right: -20px;
  font-size: 0.6rem;
  font-weight: 700;
  background: #D4563A;
  color: #fff;
  padding: 1px 6px;
  border-radius: 4px;
  line-height: 1.4;
}
.header.scrolled .nav-donate::before {
  background: #D4563A;
}

/* 导航二维码弹出 */
.nav-qr-popup {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  padding: 8px;
  z-index: 999;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 136px;
}

.nav-qr-popup img {
  width: 120px;
  height: auto;
  aspect-ratio: 1;
  border-radius: 6px;
  display: block;
}

.nav-qp-tip {
  font-size: 0.75rem;
  color: #8A8A8A;
  font-weight: 500;
}

.nav-donate {
  position: relative;
}

.nav-donate:hover .nav-qr-popup {
  display: flex;
}

/* 汉堡菜单 */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}
.header.scrolled .menu-toggle span {
  background: #2C3E50;
}

/* =============================================
   Hero
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2C1810 0%, #4A2C20 30%, #D4563A 70%, #E8724A 100%);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212,86,58,0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(245,166,35,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(39,174,96,0.1) 0%, transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
  text-align: center;
  color: #fff;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -1px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-subtitle {
  font-size: 1.15rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  display: inline;
}

.stat-unit {
  font-size: 1.4rem;
  font-weight: 600;
  opacity: 0.7;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 4px;
}

/* =============================================
   关于我们
   ============================================= */
.about {
  background: #FFFCF9;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.about-card {
  background: #fff;
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(0,0,0,0.04);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(212,86,58,0.08);
}

.about-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.about-card h3 {
  font-size: 1.2rem;
  color: #2C3E50;
  margin-bottom: 12px;
}

.about-card p {
  font-size: 0.93rem;
  color: #7A7A7A;
  line-height: 1.8;
}

/* =============================================
   服务板块
   ============================================= */
.functions {
  background: #FFF8F5;
}

.functions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.func-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(212,86,58,0.06);
  position: relative;
  overflow: hidden;
}

.func-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #D4563A, #F5A623);
  opacity: 0;
  transition: opacity 0.3s;
}

.func-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(212,86,58,0.08);
  border-color: rgba(212,86,58,0.15);
}

.func-card:hover::before {
  opacity: 1;
}

.func-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.func-card h3 {
  font-size: 1.1rem;
  color: #2C3E50;
  margin-bottom: 10px;
}

.func-card p {
  font-size: 0.88rem;
  color: #8A8A8A;
  line-height: 1.7;
}

/* =============================================
   积分体系
   ============================================= */
.credit {
  background: linear-gradient(135deg, #2C1810 0%, #3D241A 100%);
  color: #fff;
}

.credit .section-tag {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
}

.credit .section-title {
  color: #fff;
}

.credit .section-desc {
  color: rgba(255,255,255,0.7);
}

.credit-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.credit-step {
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  text-align: center;
  padding: 32px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s;
}

.credit-step:hover {
  transform: translateY(-4px);
}

.step-num {
  font-size: 2rem;
  font-weight: 800;
  color: #F5A623;
  margin-bottom: 12px;
}

.credit-step h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #fff;
}

.credit-step p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

.credit-arrow {
  font-size: 1.6rem;
  color: #F5A623;
  padding-top: 40px;
  font-weight: 300;
}

.credit-formula {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.formula-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.credit-formula code {
  display: block;
  padding: 16px 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  font-size: 0.95rem;
  color: #F5A623;
  line-height: 1.6;
  font-family: inherit;
}

/* =============================================
   合作伙伴
   ============================================= */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.partner-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.partner-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
  color: #fff;
}

.partner-card h4 {
  font-size: 1rem;
  color: #2C3E50;
  margin-bottom: 8px;
}

.partner-card p {
  font-size: 0.85rem;
  color: #8A8A8A;
  line-height: 1.6;
}

/* =============================================
   新闻动态
   ============================================= */
.news {
  background: #FFF8F5;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid rgba(0,0,0,0.04);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.news-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.news-placeholder {
  font-size: 3rem;
  opacity: 0.6;
}

.news-body {
  padding: 24px;
}

.news-date {
  font-size: 0.8rem;
  color: #D4563A;
  font-weight: 600;
}

.news-body h3 {
  font-size: 1.05rem;
  color: #2C3E50;
  margin: 8px 0 10px;
  line-height: 1.4;
}

.news-body p {
  font-size: 0.88rem;
  color: #8A8A8A;
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-more {
  font-size: 0.85rem;
  color: #D4563A;
  font-weight: 600;
  transition: gap 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.news-more:hover {
  gap: 8px;
}

/* =============================================
   全国门店
   ============================================= */
.stores {
  background: #FFF8F5;
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.store-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid rgba(0,0,0,0.04);
}

.store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(212,86,58,0.08);
}

.store-img {
  height: 160px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.store-placeholder {
  font-size: 3rem;
  opacity: 0.3;
  filter: grayscale(0.3);
}

.store-body {
  padding: 20px;
}

.store-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
  background: rgba(212,86,58,0.08);
  color: #D4563A;
}

.store-body h3 {
  font-size: 1rem;
  color: #2C3E50;
  margin-bottom: 6px;
}

.store-body p {
  font-size: 0.85rem;
  color: #8A8A8A;
  margin-bottom: 10px;
}

.store-status {
  font-size: 0.8rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .stores-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   捐赠流程
   ============================================= */
.donate-flow {
  background: #FFFCF9;
}

.flow-steps {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 32px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(212,86,58,0.06);
  transition: all 0.3s;
  position: relative;
}

.flow-step:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 32px rgba(212,86,58,0.08);
  border-color: rgba(212,86,58,0.15);
}

.flow-step-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212,86,58,0.08) 0%, rgba(245,166,35,0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.flow-step-body {
  flex: 1;
}

.flow-step-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #D4563A;
  background: rgba(212,86,58,0.08);
  padding: 2px 10px;
  border-radius: 50px;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.flow-step-body h3 {
  font-size: 1.05rem;
  color: #2C3E50;
  margin-bottom: 6px;
}

.flow-step-body p {
  font-size: 0.9rem;
  color: #8A8A8A;
  line-height: 1.7;
}

.flow-connector {
  width: 2px;
  height: 28px;
  background: linear-gradient(180deg, #D4563A 0%, #F5A623 100%);
  margin: 0 auto;
  margin-left: 67px;
  opacity: 0.3;
}

/* 公告原文卡片 */
.donate-announcement-original {
  max-width: 700px;
  margin: 60px auto 0;
  background: #fff;
  border: 2px solid rgba(212,86,58,0.15);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(212,86,58,0.06);
}

.original-header {
  background: linear-gradient(90deg, #D4563A, #E8724A);
  color: #fff;
  padding: 12px 24px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.original-body {
  padding: 28px 32px;
}

.original-line {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #4A4A4A;
  margin-bottom: 6px;
}

.original-line:first-child {
  font-size: 1.05rem;
  font-weight: 700;
  color: #D4563A;
  margin-bottom: 10px;
}

.original-line-end {
  margin-top: 12px;
  font-size: 1.05rem !important;
  font-weight: 700;
  color: #D4563A !important;
}

.original-list {
  margin: 10px 0 0 24px;
  padding: 0;
}

.original-list li {
  font-size: 0.92rem;
  line-height: 1.8;
  color: #5A5A5A;
  margin-bottom: 4px;
  padding-left: 4px;
}

.original-list li::marker {
  color: #D4563A;
  font-weight: 700;
}

@media (max-width: 768px) {
  .flow-step {
    padding: 20px;
    gap: 16px;
  }
  .flow-step-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 1.2rem;
  }
  .flow-connector {
    margin-left: 55px;
    height: 20px;
  }
  .original-body {
    padding: 20px;
  }
  .original-list {
    margin-left: 20px;
  }
}

/* =============================================
   APP/小程序 推广
   ============================================= */
.miniapp-promo {
  background: linear-gradient(135deg, #FFF8F5 0%, #FFF 100%);
}

.miniapp-card {
  display: flex;
  align-items: center;
  gap: 60px;
  background: #fff;
  border-radius: 20px;
  padding: 48px 56px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.04);
  border: 1px solid rgba(212,86,58,0.08);
}

.miniapp-info {
  flex: 1;
}

.miniapp-info .section-tag {
  margin-bottom: 12px;
}

.miniapp-desc {
  font-size: 1rem;
  color: #7A7A7A;
  line-height: 1.8;
  margin-bottom: 20px;
}

.miniapp-features {
  list-style: none;
  padding: 0;
}

.miniapp-features li {
  font-size: 0.92rem;
  color: #4A4A4A;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.miniapp-features li:last-child {
  border-bottom: none;
}

.miniapp-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.miniapp-qr img {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  border: 2px solid rgba(212,86,58,0.1);
  display: block;
}

.miniapp-qr span {
  font-size: 0.8rem;
  color: #8A8A8A;
  font-weight: 500;
}

@media (max-width: 768px) {
  .miniapp-card {
    flex-direction: column-reverse;
    padding: 32px 24px;
    gap: 32px;
  }
  .miniapp-qr img {
    width: 140px;
    height: 140px;
  }
}

/* =============================================
   CTA 行动区域
   ============================================= */
.cta {
  background: linear-gradient(135deg, #D4563A 0%, #B84A30 50%, #2C1810 100%);
  text-align: center;
  color: #fff;
}

.cta-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta .btn-outline {
  border-color: rgba(255,255,255,0.4);
}

/* =============================================
   Footer
   ============================================= */
.footer {
  background: #1A0E08;
  color: rgba(255,255,255,0.7);
  padding-top: 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
}

.footer .logo {
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-motto {
  margin-top: 6px;
  font-size: 0.85rem;
  opacity: 0.6;
}

.footer-qr {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-qr img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  display: block;
  border: 1px solid rgba(255,255,255,0.1);
}

.footer-qr span {
  font-size: 0.8rem;
  opacity: 0.6;
  line-height: 1.5;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #D4563A;
}

.footer-col p {
  font-size: 0.85rem;
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  font-size: 0.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  text-align: center;
}

.footer-bottom span {
  opacity: 0.5;
}

/* =============================================
   回到顶部
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #D4563A;
  color: #fff;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(212,86,58,0.3);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #C04A30;
  transform: translateY(-2px);
}

/* =============================================
   响应式 - 平板
   ============================================= */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .section-title { font-size: 1.8rem; }
  .hero-title { font-size: 2.8rem; }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .functions-grid { grid-template-columns: repeat(2, 1fr); }
  .credit-flow { flex-direction: column; align-items: center; }
  .credit-arrow { transform: rotate(90deg); padding-top: 0; padding: 8px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   响应式 - 手机
   ============================================= */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-title { font-size: 1.5rem; }
  .section-desc { font-size: 0.95rem; }

  /* 导航 */
  .nav {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 20px;
    transition: right 0.3s;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    align-items: flex-start;
  }
  .nav.open { right: 0; }
  .nav a { color: #5A5A5A !important; font-size: 1rem; }
  .nav a::after { background: #D4563A; }
  .nav-donate::before { display: none; }
  .nav-qr-popup { display: none !important; }
  .menu-toggle { display: flex; }

  /* Hero */
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { gap: 24px; }
  .stat-num { font-size: 1.8rem; }

  /* 网格 */
  .about-grid { grid-template-columns: 1fr; }
  .functions-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-title { font-size: 1.8rem; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 300px; }

  /* Footer */
  .footer-links { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
}
