/* ============================================
   REDIN 红姻网 - 共享样式表
   婚恋全产业链垂直综合服务平台
   ============================================ */

/* === CSS Variables === */
:root {
  --color-primary: #E63946;
  --color-primary-dark: #C1121F;
  --color-primary-light: #FF6B6B;
  --color-secondary: #1A1A2E;
  --color-secondary-dark: #111118;
  --color-text: #1F2937;
  --color-text-light: #6B7280;
  --color-text-muted: #9CA3AF;

  --color-bg: #F8F9FA;
  --color-card: #FFFFFF;
  --color-border: #E5E7EB;
  --color-border-dark: #D1D5DB;
  --color-pink-light: #FFF0F2;
  --color-gold: #F59E0B;
  --color-teal: #10B981;
  --color-purple: #8B5CF6;

  --gradient-hero: linear-gradient(135deg, #FFFFFF 0%, #FFF5F6 50%, #FFFFFF 100%);
  --gradient-banner: linear-gradient(135deg, #FFF5F6 0%, #FFFFFF 100%);
  --gradient-primary: linear-gradient(135deg, #E63946 0%, #F87171 100%);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-card: 0 2px 10px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 8px 24px rgba(230,57,70,0.10);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --container-max: 1400px;
  --header-height: 68px;

  --transition: all 0.25s ease;
  --transition-fast: all 0.2s ease;
}

/* === Reset === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  color: var(--color-text);
  background: #FFFFFF;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* === Container === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 64px;
}

.container-sm {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 64px;
}

/* === Section === */
.section {
  padding: 80px 0;
  position: relative;
}

.section-gray { background: var(--color-bg); }
.section-white { background: var(--color-card); }
.section-dark {
  background: var(--color-bg);
  color: var(--color-text);
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-pink-light);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.section-header h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  color: var(--color-text);
}

.section-header p {
  font-size: 16px;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto;
}

.section-dark .section-header h2 { color: var(--color-text); }
.section-dark .section-header p { color: var(--color-text-light); }
.section-dark .section-header .eyebrow { color: var(--color-primary); background: var(--color-pink-light); }

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: var(--transition);
}

.header-inner {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(230,57,70,0.2);
}

.logo-text span {
  color: var(--color-primary);
}

.logo-sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 1;
  min-width: 0;
}

.nav a {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  position: relative;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--color-primary);
  background: var(--color-pink-light);
}

.nav a.active {
  color: var(--color-primary);
  font-weight: 600;
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 6px 16px;
  gap: 8px;
  transition: var(--transition-fast);
}

.search-box:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.08);
}

.search-box input {
  border: none;
  background: none;
  outline: none;
  font-size: 14px;
  width: 160px;
  color: var(--color-text);
}

.search-box input::placeholder { color: var(--color-text-muted); }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(230,57,70,0.18);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230,57,70,0.25);
}

.btn-secondary {
  background: var(--color-text);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--color-secondary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-ghost:hover {
  background: var(--color-bg);
  color: var(--color-primary);
}

.btn-white {
  background: #fff;
  color: var(--color-primary);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-sm { padding: 8px 20px; font-size: 14px; }

/* === Hero === */
.hero {
  position: relative;
  min-height: 620px;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(230,57,70,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 64px;
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero-inner {
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--color-primary-light);
  color: var(--color-primary);
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 .highlight {
  color: var(--color-primary);
}

.hero-desc {
  font-size: 18px;
  color: var(--color-text-light);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

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

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  justify-content: center;
}

.hero-stat .num {
  font-size: 34px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
}

.hero-stat .num span {
  font-size: 18px;
  color: var(--color-primary);
}

.hero-stat .label {
  font-size: 14px;
  color: var(--color-text-light);
  margin-top: 6px;
}

/* === Page Banner (sub-pages) === */
.page-banner {
  background: var(--gradient-banner);
  padding: calc(var(--header-height) + 60px) 0 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(230,57,70,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 64px;
}

.page-banner h1 {
  font-size: 40px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.page-banner p {
  font-size: 17px;
  color: var(--color-text-light);
  max-width: 640px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.breadcrumb a:hover { color: var(--color-primary); }

/* === Cards === */
.card {
  background: var(--color-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--color-border);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(230,57,70,0.15);
}

/* News Card */
.news-card {
  background: var(--color-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(230,57,70,0.15);
}

.news-card-img {
  width: 100%;
  height: 180px;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card-img .tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  z-index: 2;
}

.news-card-img .tag.tech { background: #4F46E5; }
.news-card-img .tag.franchise { background: var(--color-gold); }
.news-card-img .tag.event { background: var(--color-purple); }
.news-card-img .tag.case { background: var(--color-teal); }
.news-card-img .tag.policy { background: #7C3AED; }

.news-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card:hover .news-card-body h3 {
  color: var(--color-primary);
}

.news-card-body p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.news-card-meta .author {
  color: var(--color-text-light);
  font-weight: 500;
}

/* Feature Card */
.feature-card {
  background: var(--color-card);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
  border: 1px solid var(--color-border);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(230,57,70,0.12);
}

.feature-card .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  background: var(--color-pink-light);
}

.feature-card .icon-wrap.blue { background: #EEF2FF; }
.feature-card .icon-wrap.gold { background: #FFFBEB; }
.feature-card .icon-wrap.purple { background: #F3E8FF; }
.feature-card .icon-wrap.teal { background: #ECFDF5; }

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.feature-card p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* === Grid === */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* === Stats Bar === */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  margin-top: -60px;
  position: relative;
  z-index: 10;
  border: 1px solid var(--color-border);
}

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

.stat-item .num {
  font-size: 38px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.stat-item .num span {
  font-size: 20px;
}

.stat-item .label {
  font-size: 14px;
  color: var(--color-text);
  margin-top: 4px;
  font-weight: 500;
}

.stat-item .desc {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* === Tags / Pills === */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 20px;
  background: var(--color-bg);
  color: var(--color-text-light);
  border: 1px solid var(--color-border);
  transition: var(--transition-fast);
  cursor: pointer;
}

.tag-pill:hover, .tag-pill.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* === AI Section === */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ai-feature {
  background: var(--color-card);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.ai-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.ai-feature:hover::before { transform: scaleX(1); }

.ai-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ai-feature .ai-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
  color: #fff;
}

.ai-feature h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}

.ai-feature p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.ai-feature ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ai-feature ul li {
  font-size: 14px;
  color: var(--color-text-light);
  padding-left: 22px;
  position: relative;
}

.ai-feature ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  background: var(--color-pink-light);
  border-radius: 50%;
  border: 2px solid var(--color-primary);
}

/* === Franchise === */
.franchise-card {
  background: var(--color-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.franchise-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.franchise-card-img {
  height: 160px;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.franchise-card-img .brand-name {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.franchise-card-body {
  padding: 20px;
}

.franchise-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-text);
}

.franchise-card-body .brand-tag {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.franchise-card-body p {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 14px;
  line-height: 1.6;
}

.franchise-info {
  display: flex;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

.franchise-info-item .label {
  font-size: 12px;
  color: var(--color-text-muted);
}

.franchise-info-item .value {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
}

/* === Process Steps === */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step .step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-card);
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 auto 14px;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.process-step:hover .step-num {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.05);
}

.process-step h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-text);
}

.process-step p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* === Event Card === */
.event-card {
  background: var(--color-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.event-card-banner {
  height: 200px;
  background: var(--color-bg);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.event-card-banner .event-date {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  text-align: center;
  min-width: 58px;
}

.event-card-banner .event-date .day {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.event-card-banner .event-date .month {
  font-size: 12px;
  margin-top: 2px;
}

.event-card-banner .event-status {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--color-teal);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.event-card-body {
  padding: 20px;
}

.event-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}

.event-card-body .event-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.event-card-body .event-meta-item {
  font-size: 14px;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* === Coming Soon === */
.coming-soon {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.coming-soon-content {
  position: relative;
  z-index: 2;
}

.coming-soon h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 12px;
}

.coming-soon p {
  font-size: 16px;
  color: var(--color-text-light);
  max-width: 560px;
  margin: 0 auto 28px;
}

.coming-soon .product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 760px;
  margin: 0 auto 28px;
}

.coming-soon .product-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}

.coming-soon .product-item:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

.coming-soon .product-item .icon {
  font-size: 38px;
  margin-bottom: 10px;
}

.coming-soon .product-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.coming-soon .product-item p {
  font-size: 13px;
  color: var(--color-text-light);
  margin: 0;
}

.coming-soon .badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: var(--color-gold);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* === CTA === */
.cta-section {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.cta-section p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}

.cta-section .btn {
  position: relative;
  z-index: 2;
}

/* === News List (sub-page) === */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-list-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  background: var(--color-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.news-list-item:hover {
  border-color: rgba(230,57,70,0.15);
  box-shadow: var(--shadow-card-hover);
}

.news-list-item .thumb {
  height: 100%;
  min-height: 150px;
  background: var(--color-bg);
  position: relative;
}

.news-list-item .thumb .tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

.news-list-item .thumb .tag.tech { background: #4F46E5; }
.news-list-item .thumb .tag.franchise { background: var(--color-gold); }
.news-list-item .thumb .tag.policy { background: #7C3AED; }
.news-list-item .thumb .tag.case { background: var(--color-teal); }

.news-list-item .content {
  padding: 18px 20px 18px 0;
}

.news-list-item .content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.5;
  color: var(--color-text);
}

.news-list-item:hover .content h3 {
  color: var(--color-primary);
}

.news-list-item .content p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list-item .content .meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--color-text-muted);
}

/* === Sidebar === */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
}

.sidebar-widget {
  background: var(--color-card);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid var(--color-border);
  margin-bottom: 24px;
}

.sidebar-widget h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  color: var(--color-text);
}

.sidebar-widget h3::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--color-primary);
}

.sidebar-hot-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.sidebar-hot-list li:last-child { border-bottom: none; }

.sidebar-hot-list .rank {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  background: var(--color-bg);
  color: var(--color-text-muted);
}

.sidebar-hot-list li:nth-child(1) .rank { background: var(--color-primary); color: #fff; }
.sidebar-hot-list li:nth-child(2) .rank { background: #FCA5A5; color: #fff; }
.sidebar-hot-list li:nth-child(3) .rank { background: var(--color-gold); color: #fff; }

.sidebar-hot-list .title {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text);
}

.sidebar-hot-list li:hover .title { color: var(--color-primary); }

.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* === Partner Logos === */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.partner-logo {
  background: var(--color-card);
  border-radius: var(--radius-sm);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  transition: var(--transition-fast);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-light);
}

.partner-logo:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* === Footer === */
.footer {
  background: var(--color-secondary-dark);
  color: rgba(255,255,255,0.65);
  padding: 56px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.footer-brand .contact-info {
  font-size: 14px;
  line-height: 2;
}

.footer-brand .contact-info strong {
  color: rgba(255,255,255,0.9);
}

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

.footer-col ul li {
  margin-bottom: 9px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--color-primary-light);
}

.footer-qr {
  text-align: center;
}

.footer-qr h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}

.footer-qr .qr-box {
  width: 110px;
  height: 110px;
  background: #fff;
  border-radius: var(--radius-sm);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--color-text-muted);
}

.footer-qr p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(255,255,255,0.45);
}

.footer-bottom a:hover {
  color: var(--color-primary-light);
}

.footer-bottom .links {
  display: flex;
  gap: 20px;
}

/* === Back to top === */
.back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(230,57,70,0.25);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
}

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.5s ease-out forwards;
}

/* === Mobile Menu === */
.mobile-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
}

/* === Responsive === */
@media (max-width: 1200px) {
  .search-box { display: none; }
  .nav a { padding: 8px 10px; font-size: 13px; }
}

@media (max-width: 1024px) {
  .container, .container-sm, .header-inner, .hero-content, .page-banner-content {
    padding-left: 32px;
    padding-right: 32px;
  }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: span 2; }
  .footer-qr { grid-column: span 2; text-align: left; }
  .footer-qr .qr-box { margin: 0 0 12px 0; }
  .layout-with-sidebar { grid-template-columns: 1fr; }
  .hero h1 { font-size: 42px; }
}

@media (max-width: 768px) {
  .nav, .search-box, .header-actions .btn-outline { display: none; }
  .mobile-toggle { display: block; }
  .hero { min-height: 540px; }
  .hero h1 { font-size: 30px; }
  .hero-desc { font-size: 15px; }
  .hero-stats { gap: 18px; flex-wrap: wrap; }
  .hero-stat .num { font-size: 26px; }
  .section { padding: 56px 0; }
  .section-header h2 { font-size: 26px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 24px; margin-top: -40px; }
  .cta-section { padding: 40px 24px; }
  .cta-section h2 { font-size: 26px; }
  .coming-soon { padding: 32px 20px; }
  .coming-soon .product-grid { grid-template-columns: 1fr; }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .footer-brand { grid-column: span 2; }
  .footer-qr { grid-column: span 2; text-align: left; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .news-list-item { grid-template-columns: 1fr; }
  .news-list-item .content { padding: 18px; }
  .page-banner h1 { font-size: 30px; }
  .footer-col ul li { margin-bottom: 6px; }
  .footer-qr .qr-box { width: 90px; height: 90px; }
}

/* === Modal Popup === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 420px;
  padding: 36px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.2);
  transform: translateY(16px);
  transition: transform 0.25s ease;
  position: relative;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-box .modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-pink-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 18px;
}

.modal-box h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 10px;
}

.modal-box p {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 24px;
  line-height: 1.6;
}

.modal-box .wechat-id {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-bg);
  border: 1px dashed var(--color-border-dark);
  border-radius: var(--radius-md);
  padding: 14px 24px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 1px;
  margin-bottom: 24px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.modal-box .modal-tip {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.modal-box .btn {
  width: 100%;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--color-bg);
  color: var(--color-text-light);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--color-pink-light);
  color: var(--color-primary);
}
