:root {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-alt: #f1f5f9;
  --primary: #0f172a; /* Deep elegant slate */
  --primary-light: rgba(13, 148, 136, 0.1);
  --accent: #0d9488; /* Teal 600 */
  --accent-light: #14b8a6; /* Teal 500 */
  --accent-gradient: linear-gradient(135deg, #0d9488 0%, #059669 100%);
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --border-hover: #cbd5e1;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Noto Serif SC', 'Cormorant Garamond', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html,
body {
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 32px 32px;
  padding-top: 76px;
}

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

section {
  width: 100%;
  padding: 4rem 0;
}

section.bg-white { background-color: var(--bg-surface); }
section.bg-alt { background-color: var(--bg-alt); }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  line-height: 1.3;
  font-weight: 700;
}

.title-serif {
  font-family: var(--font-serif);
  font-weight: 700;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 2.5rem;
}

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

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}

.brand-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand-logo:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.brand-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(13, 148, 136, 0.2));
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  font-family: var(--font-sans);
}

.brand-highlight {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-links a.active::after, .nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
}

/* Hero Section */
.hero-section {
  padding: 8rem 0 6rem 0;
  background: 
    radial-gradient(circle at 15% 50%, rgba(13, 148, 136, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.08), transparent 25%),
    linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(13, 148, 136, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 148, 136, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 0;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 1rem;
  background: var(--primary-light);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  line-height: 1.2;
}

.hero-title .highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-serif);
  font-weight: 700;
  padding: 0 4px;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin: 0 auto 2.5rem auto;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.hero-search {
  max-width: 600px;
  margin: 0 auto;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 1000px;
}

.stat-item {
  background: var(--bg-surface);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  font-family: var(--font-sans);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-total .stat-icon { background: #eff6ff; color: #3b82f6; }
.stat-total .stat-value { color: #1e3a8a; }

.stat-nature .stat-icon { background: #ecfdf5; color: #10b981; }
.stat-nature .stat-value { color: #064e3b; }

.stat-humanity .stat-icon { background: #f5f3ff; color: #8b5cf6; }
.stat-humanity .stat-value { color: #4c1d95; }

.stat-art .stat-icon { background: #fffbeb; color: #f59e0b; }
.stat-art .stat-value { color: #78350f; }

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: max(1rem, env(safe-area-inset-bottom, 0px) + 0.75rem);
  right: max(0.75rem, env(safe-area-inset-right, 0px) + 0.75rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1100;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.consult-btn {
  background: var(--accent-gradient);
  color: white;
}

.consult-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.4);
}

.back-top-btn {
  background: var(--bg-surface);
  color: var(--text-dark);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

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

.back-top-btn:hover {
  background: var(--bg-alt);
  color: var(--accent);
}

/* Search Box */
.search-wrapper {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center; /* 确保子元素垂直居中对齐 */
  box-shadow: var(--shadow-lg);
  border-radius: 999px;
  background: var(--bg-surface);
  padding: 0.5rem;
  border: 1px solid var(--border);
}

.search-input {
  flex: 1;
  border: none;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  background: transparent;
  outline: none;
  color: var(--text-dark);
}

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

.btn-search {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0 1.5rem;
  height: 48px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
}

.btn-search:hover {
  background: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--text-dark);
  background: var(--bg-alt);
}

.btn-notice {
  background: var(--bg-surface);
  color: var(--text-dark);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  padding: 0.875rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: var(--transition);
}

.btn-notice i {
  color: var(--accent);
  font-size: 1.2rem;
}

.btn-notice:hover {
  background: var(--bg-alt);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  color: var(--accent);
}

/* Intro Grid */
.intro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.intro-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.intro-card {
  background: var(--bg-surface);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.intro-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.intro-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem auto;
}

.intro-card h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.intro-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Intro Card Split Layout (for 全面发展) */
.intro-card.split-layout {
  display: flex;
  align-items: center; /* 左侧图标垂直居中对齐 */
  text-align: left;
  gap: 1.5rem;
}

.intro-card.split-layout .intro-icon {
  margin: 0;
  flex-shrink: 0;
}

.intro-card.split-layout .intro-content-split {
  flex-grow: 1;
}

.intro-card.split-layout h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.intro-card.split-layout p {
  margin: 0;
  line-height: 1.6;
}

/* Smart Rec */
.smart-rec-box {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  text-align: left;
}

.smart-rec-img {
  flex: 1;
}

.smart-rec-img img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: block;
}

.smart-rec-content {
  flex: 1;
}

/* Guidance Section (不知道如何选择适合的比赛) */
.guidance-section {
  display: flex;
  align-items: center;
  gap: 4rem;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 4rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
}

.guidance-content {
  flex: 1;
}

.guidance-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.guidance-title .highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 4px;
}

.guidance-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.guidance-actions {
  display: flex;
  gap: 1rem;
}

.guidance-steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.guidance-steps::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 40px; /* 从顶部留出更多空间以适应居中 */
  bottom: 40px; /* 从底部留出更多空间以适应居中 */
  width: 2px;
  background: var(--border);
  z-index: 0;
}

.g-step-item {
  display: flex;
  align-items: center; /* 垂直居中对齐 */
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.g-step-num {
  width: 50px;
  height: 50px;
  background: var(--accent-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 0 0 8px var(--bg-surface);
}

.g-step-info {
  background: var(--bg-alt);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  flex: 1;
  transition: var(--transition);
}

.g-step-item:hover .g-step-info {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.g-step-info h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.g-step-info p {
  color: var(--text-muted);
  line-height: 1.6;
}

.rec-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rec-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.btn-rec-option {
  background: var(--bg-surface);
  border: 2px solid var(--border);
  padding: 1.25rem 1rem;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.btn-rec-option i {
  font-size: 1.75rem;
  color: var(--text-light);
  transition: var(--transition);
}

.btn-rec-option:hover {
  border-color: var(--accent);
  background: var(--primary-light);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-rec-option:hover i {
  color: var(--accent);
}

.rec-result-item {
  background: var(--bg-alt);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
}

/* Competition Grid */
.comp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.comp-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.comp-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle at top right, var(--card-glow, rgba(13, 148, 136, 0.1)), transparent 70%);
  z-index: -1;
  opacity: 0.5;
  transition: var(--transition);
}

.comp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: transparent;
}

.comp-card:hover::after {
  opacity: 1;
  transform: scale(1.2);
}

.comp-card[data-category="自然科学素养类"] { --card-glow: rgba(16, 185, 129, 0.2); }
.comp-card[data-category="人文综合素养类"] { --card-glow: rgba(225, 29, 72, 0.15); }
.comp-card[data-category="艺术体育类"] { --card-glow: rgba(217, 119, 6, 0.2); }

.comp-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.875rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  align-self: flex-start;
  border: 1px solid transparent;
}

/* Detail page specific overrides for badge */
.detail-hero-top .comp-badge {
  margin-bottom: 0;
  align-self: center;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

.badge-nature { background: #f0fdf4; color: #16a34a; border-color: #bbf7d0; }
.badge-humanity { background: #fff1f2; color: #e11d48; border-color: #fecdd3; }
.badge-art { background: #fffbeb; color: #d97706; border-color: #fde68a; }

.comp-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  line-height: 1.4;
  flex-grow: 1;
  font-weight: 700;
  color: var(--text-dark);
}

.comp-meta-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.comp-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: var(--bg-alt);
  padding: 0.6rem 0.875rem;
  border-radius: var(--radius-sm);
}

.comp-meta i {
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.comp-action {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.comp-action a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.comp-action a:hover {
  color: var(--primary);
  gap: 8px;
}

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

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background-image: linear-gradient(to right, var(--border) 50%, transparent 50%);
  background-size: 10px 2px;
  background-repeat: repeat-x;
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
  background: var(--bg-surface);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.step-num {
  width: 64px;
  height: 64px;
  background: var(--bg-surface);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 auto 1.5rem auto;
  transition: var(--transition);
}

.step-card:hover .step-num {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.step-card h4 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Services */
.service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.service-box {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.service-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.service-box.official::before {
  background: linear-gradient(to right, #10b981, #34d399);
}

.service-box.pro::before {
  background: var(--accent-gradient);
}

.service-box.official {
  background-image: radial-gradient(rgba(16, 185, 129, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

.service-box.pro {
  background-image: radial-gradient(rgba(13, 148, 136, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

.service-box h3 {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.service-box.official h3 { color: #059669; }
.service-box.pro h3 { color: var(--accent); }

.service-list {
  list-style: none;
  margin-top: 2rem;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

/* 确保服务列表中的加粗标题在移动端不换行 */
.service-list li strong {
  white-space: nowrap;
  display: inline-block;
  min-width: 5.5em; /* 预留足够的空间给 "全流程代办：" 这类标题 */
}

.service-list li i {
  margin-top: 4px;
  font-size: 1.25rem;
}

.service-box.official .service-list li i { color: #10b981; }
.service-box.pro .service-list li i { color: var(--accent); }

/* Table */
.table-wrapper {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--bg-alt);
  font-weight: 600;
  color: var(--text-dark);
}

tr:last-child td {
  border-bottom: none;
}

.col-highlight {
  background: linear-gradient(to bottom, rgba(13, 148, 136, 0.05), rgba(13, 148, 136, 0.02));
}

th.col-highlight {
  color: var(--accent);
  border-top: 3px solid var(--accent);
  background: linear-gradient(to bottom, rgba(13, 148, 136, 0.1), rgba(13, 148, 136, 0.05));
}

/* Detail Page Top Bar & Breadcrumb */
.detail-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.breadcrumb i {
  font-size: 0.8rem;
  color: var(--text-light);
}

.breadcrumb-current {
  color: var(--text-dark);
  font-weight: 500;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Detail Page Hero Header */
.detail-hero-header {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 3rem;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  z-index: 1;
}

.detail-hero-bg-pattern {
  position: absolute;
  top: -100px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.05) 0%, transparent 70%);
  z-index: -1;
  border-radius: 50%;
}

.detail-hero-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.verify-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  color: #059669;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid #bbf7d0;
}

.detail-hero-title {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 2.5rem;
  line-height: 1.3;
}

.detail-hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.meta-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.meta-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-alt);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.meta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meta-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

/* Detail Page Body Container */
.detail-body-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.detail-main-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-sidebar-column {
  width: 320px;
  flex-shrink: 0;
}

.sticky-sidebar {
  position: sticky;
  top: 100px;
}

.detail-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.detail-card.highlight-card {
  background: #f0fdfa;
  border-color: #ccfbf1;
}

.detail-card-title {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.highlight-card .detail-card-title {
  border-bottom-color: #99f6e4;
  color: #0f766e;
}

.detail-card-title i {
  color: var(--accent);
  font-size: 1.5rem;
}

.detail-card-content p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.05rem;
  white-space: pre-line;
}

/* -------------------------------------
 * 咨询横幅 (Consultation Banner)
 * ------------------------------------- */
.consultation-banner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
  border: 1px solid #ccfbf1;
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.consultation-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gradient);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.consultation-banner:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #99f6e4;
}

.banner-icon {
  flex-shrink: 0;
}

.banner-icon .icon-wrapper {
  width: 3.5rem;
  height: 3.5rem;
  background: #ccfbf1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f766e;
  font-size: 1.75rem;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.15);
}

.banner-content {
  flex-grow: 1;
}

.banner-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
}

.banner-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.banner-action {
  flex-shrink: 0;
}

.banner-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 99px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  background: white;
  color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: 0 2px 4px rgba(13, 148, 136, 0.05);
  transition: all 0.3s ease;
  font-size: 1rem;
  cursor: pointer;
}

.banner-btn i {
  font-size: 1.25rem;
}

.banner-btn:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

.advice-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.advice-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #0f766e;
  line-height: 1.6;
}

.advice-list li i {
  color: #14b8a6;
  font-size: 1.25rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Sidebar Styling */
.sidebar-card {
  padding: 2rem;
}

.sidebar-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.sidebar-whitelist-info {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.sw-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.sw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.sw-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
}

.sw-item i {
  font-size: 1.1rem;
}

/* Sidebar Domain List */
.sidebar-domain-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sd-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.sd-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.sd-content h4 {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.sd-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.btn-block {
  width: 100%;
}

/* Sidebar Guidance Card */
.sidebar-guidance-card {
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
  border-color: #ccfbf1;
  padding: 2rem 1.5rem;
}

.sidebar-guidance-title {
  font-size: 1.5rem;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.sidebar-guidance-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.sidebar-guidance-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.sg-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.6);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.sg-step-icon {
  color: #0f766e;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(13, 148, 136, 0.1);
}

.sg-step-text {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.95rem;
}

/* Footer */
.bg-dark-footer {
  background: var(--text-dark);
  color: var(--text-light);
  padding-bottom: 2rem;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

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

.modal-content {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  width: 90%;
  max-width: 450px;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  text-align: center;
  margin: 0 12px;
  overflow-x: hidden;
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  color: var(--text-dark);
  background: var(--bg-alt);
}

.wechat-icon-wrapper {
  width: 80px;
  height: 80px;
  background: #ecfdf5;
  color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 1.5rem auto;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.modal-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.wechat-copy-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.wechat-id {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  font-family: var(--font-sans);
  letter-spacing: 1px;
  min-width: 0;
  flex: 1 1 150px;
  word-break: break-all;
  text-align: left;
}

.btn-copy {
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Toast Notification */
.custom-toast {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #10b981;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.custom-toast i {
  font-size: 1.25rem;
}

.bg-dark-footer .section-title {
  color: #ffffff;
}

.bg-dark-footer .section-subtitle,
.bg-dark-footer p[style*="color: var(--text-muted)"] {
  color: rgba(255, 255, 255, 0.7) !important;
}

.bg-dark-footer .comp-badge {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
}

.bg-dark-footer .service-box {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
}

.bg-dark-footer .service-box .service-body p,
.bg-dark-footer .service-box .service-list li {
  color: #e2e8f0;
}

.bg-dark-footer .service-box.official .service-list li strong {
  color: #34d399;
  font-weight: 700;
}

.bg-dark-footer .service-box.pro .service-list li strong {
  color: #fbbf24;
  font-weight: 700;
}

.bg-dark-footer .service-box.official {
  background: linear-gradient(145deg, rgba(13, 148, 136, 0.1), rgba(255, 255, 255, 0.05));
  border-color: rgba(13, 148, 136, 0.3);
}

.bg-dark-footer .service-box.pro {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.1), rgba(255, 255, 255, 0.05));
  border-color: rgba(245, 158, 11, 0.3);
}

.bg-dark-footer .service-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.bg-dark-footer .service-header h3 {
  color: #ffffff;
}

.bg-dark-footer .comparison-table {
  background: transparent;
  color: #f8fafc;
}

.bg-dark-footer .table-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.bg-dark-footer table tbody tr {
  background: transparent !important;
}

.bg-dark-footer table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02) !important;
}

.bg-dark-footer table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}

.bg-dark-footer .comparison-table th {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.bg-dark-footer .comparison-table td {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.bg-dark-footer .comparison-table .col-highlight {
  background: rgba(16, 185, 129, 0.1);
  color: #e2e8f0;
}

.bg-dark-footer .comparison-table th.col-highlight {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 2rem 0 4rem 0;
  text-align: center;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* List Layout */
.list-hero-section {
  padding: 6rem 0 4rem 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.08), transparent 40%),
    linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.list-hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.list-hero-title .highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.list-hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.list-search-wrapper {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: white;
  border-radius: 999px;
  padding: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.list-search-wrapper:focus-within {
  box-shadow: 0 10px 30px rgba(13, 148, 136, 0.15);
  border-color: rgba(13, 148, 136, 0.3);
}

.list-search-wrapper .search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  background: transparent;
}

.list-layout {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.list-sidebar {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
}

.list-main-content {
  flex: 1;
  min-width: 0;
}

.filter-panel {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.filter-panel-title {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-section {
  margin-bottom: 2rem;
}

.filter-section:last-child {
  margin-bottom: 0;
}

.filter-section h4 {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group-vertical {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-btn:hover {
  background: var(--bg-alt);
  color: var(--text-dark);
}

.filter-btn.active {
  background: var(--primary-light);
  color: var(--accent);
  font-weight: 600;
}

.list-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  background: var(--bg-surface);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.list-results-count {
  color: var(--text-muted);
  font-size: 1rem;
}

.list-results-count strong {
  color: var(--accent);
  font-size: 1.25rem;
}

/* View Toggle */
.view-toggle {
  display: inline-flex;
  justify-content: center;
  gap: 0.5rem;
  background: var(--bg-alt);
  padding: 0.375rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.btn-view {
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-view:hover {
  color: var(--text-dark);
}

.btn-view.active {
  background: var(--bg-surface);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

/* Data Table Enhancements */
.list-table-wrapper {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border);
  overflow: hidden;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead {
  background: #f8fafc;
  border-bottom: 2px solid var(--border);
}

.data-table th {
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.9rem;
  white-space: nowrap;
  display: table-cell;
}

.data-table th i {
  margin-right: 4px;
  color: var(--text-light);
}

.data-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.data-table tbody tr {
  transition: all 0.2s ease;
  background: white;
}

.data-table tbody tr:hover {
  background-color: #f0fdfa; /* 非常淡的青色悬停背景 */
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.05);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.td-id {
  color: var(--text-light);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.comp-name-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.comp-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.05rem;
}

.comp-category-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--accent);
  border: 1px solid rgba(13, 148, 136, 0.2);
  white-space: nowrap;
}

.td-sponsor {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.target-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.target-tag {
  font-size: 0.8rem;
  padding: 2px 8px;
  background: #f1f5f9;
  color: var(--text-muted);
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.btn-table-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.5rem 1.25rem;
  background: white;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-table-action:hover {
  background: var(--accent);
  color: white;
  transform: translateX(4px);
}

/* Responsive */
/* Hide mobile floating consult by default */
.mobile-floating-consult {
  display: none;
}

@media (max-width: 1024px) {
  .hero-stats, .intro-grid, .intro-grid-3, .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .smart-rec-box, .guidance-section { flex-direction: column; text-align: center; }
  .smart-rec-content h2 { justify-content: center !important; }
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  .navbar {
    padding: 0.75rem 0;
  }

  /* 缩小移动端全局 section 间隙和内边距 */
  section {
    padding: 2.5rem 0; /* 从 4rem 减小到 2.5rem */
  }
  
  .section-header {
    margin-bottom: 1.5rem; /* 从 2.5rem 减小到 1.5rem */
  }
  
  .section-subtitle {
    margin-bottom: 0;
    font-size: 1rem;
  }

  /* 防止特定标题在移动端换行，并使用 vw 单位实现自适应缩放 */
  .hero-title { 
    font-size: 8vw; /* 响应式缩放 */
    white-space: nowrap; 
  }
  
  .section-title {
    font-size: 6vw; /* 响应式缩放 */
    white-space: nowrap;
  }

  /* 咨询横幅移动端响应式 */
  .consultation-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1rem;
  }
  
  .consultation-banner::before {
    width: 100%;
    height: 4px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  
  .banner-title {
    justify-content: center;
  }

  .banner-action {
    width: 100%;
    margin-top: 0.5rem;
  }
  
  .banner-btn {
    width: 100%;
    justify-content: center;
  }

  /* 调整悬浮按钮的底部距离，避免被咨询栏遮挡 */
  .floating-actions {
    bottom: calc(10vh + 1.5rem);
    right: max(0.5rem, env(safe-area-inset-right, 0px) + 0.5rem);
    gap: 0.75rem;
  }

  /* 针对指引模块的按钮处理：防止换行，并使用 flex-wrap 控制布局或缩小字体 */
  .guidance-actions { 
    justify-content: center; 
    flex-wrap: nowrap; /* 保持按钮在同一行 */
    gap: 0.5rem; /* 缩小按钮间距 */
  }
  
  .guidance-actions .btn {
    white-space: nowrap;
    font-size: 3.5vw; /* 缩小字体以适应屏幕 */
    padding: 0.8rem 1rem; /* 缩小内边距 */
    flex: 1; /* 让按钮均分空间，防止溢出 */
  }

  .guidance-title { font-size: 2rem; }
  .guidance-section { padding: 2rem; }
  
  /* 竞赛指引模块 步骤卡片移动端优化 */
  .guidance-steps {
    gap: 1rem; /* 缩小步骤间的垂直距离 */
  }
  
  .guidance-steps::before {
    left: 20px; /* 调整连接线位置以对齐缩小的圆圈 */
  }
  
  .g-step-item {
    gap: 1rem; /* 缩小圆圈和文字卡片的间距 */
  }
  
  .g-step-num {
    width: 40px; /* 缩小步骤圆圈 */
    height: 40px;
    font-size: 1rem;
    box-shadow: 0 0 0 4px var(--bg-surface); /* 缩小圆圈外围的遮罩 */
  }
  
  .g-step-info {
    padding: 1rem; /* 缩小文字卡片内边距 */
  }
  
  .g-step-info h3 {
    font-size: 1.1rem; /* 缩小标题 */
    margin-bottom: 0.25rem;
  }
  
  .g-step-info p {
    font-size: 0.9rem; /* 缩小正文 */
    line-height: 1.4;
  }
  
  .g-step-item:hover .g-step-info {
    transform: translateX(5px); /* 减小悬停位移动画的幅度 */
  }
  
  /* 移动端紧凑网格布局 */
  .hero-stats, .intro-grid, .intro-grid-3, .process-steps, .service-split { 
    grid-template-columns: 1fr; 
    gap: 1rem; /* 缩小网格间距 */
    margin-top: 1.5rem;
  }
  
  /* 什么是白名单竞赛 - 移动端缩小卡片面积 */
  .intro-card {
    padding: 1.25rem 1rem; /* 大幅缩小内边距 */
    display: flex;
    flex-direction: row; /* 改为水平布局更省空间 */
    align-items: center;
    text-align: left;
    gap: 1rem;
  }
  
  .intro-card .intro-icon {
    width: 48px;
    height: 48px;
    margin: 0;
    font-size: 1.5rem;
    flex-shrink: 0;
  }
  
  .intro-card h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
  }
  
  .intro-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  /* 参与流程 - 移动端缩小卡片面积 */
  .step-card {
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: row; /* 水平布局 */
    align-items: center;
    text-align: left;
    gap: 1rem;
  }

  .step-card .step-num {
    width: 48px;
    height: 48px;
    margin: 0;
    font-size: 1.25rem;
    flex-shrink: 0;
  }

  .step-card h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
  }

  .step-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    transform: none;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1rem 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--border);
    gap: 1rem;
    z-index: 999;
    align-items: center;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 0.75rem 0;
  }
  
  .nav-right .nav-consult-btn {
    display: none;
  }

  .hamburger { display: block; font-size: 1.5rem; cursor: pointer; color: var(--text-main); }
  .detail-content { padding: 2rem; }
  .detail-hero-header { padding: 2rem 1.5rem; }
  .detail-hero-title { font-size: 1.75rem; margin-bottom: 1.5rem; }
  .detail-hero-meta-grid { grid-template-columns: 1fr; gap: 1rem; padding-top: 1.5rem; }
  .detail-body-container { flex-direction: column; }
  .detail-sidebar-column { width: 100%; position: static; }
  .detail-card { padding: 1.5rem; }
  .table-wrapper { overflow-x: auto; }
  
  .list-layout { flex-direction: column; gap: 2rem; }
  .list-sidebar { width: 100%; position: static; }
  .list-hero-title { font-size: 8vw; }
  .list-controls { flex-direction: column; gap: 1rem; align-items: stretch; }
  .list-results-count { text-align: center; }
  .view-toggle { display: none; } /* Hide view toggle buttons on mobile */

  /* 移动端底部悬浮咨询栏 */
  .mobile-floating-consult {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10vh;
    min-height: 60px;
    max-height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
    z-index: 999;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    box-sizing: border-box;
  }

  .mfc-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .mfc-icon {
    color: var(--accent);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }

  .mfc-text {
    display: flex;
    flex-direction: column;
  }

  .mfc-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
  }

  .mfc-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    border-radius: 99px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.2);
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
  
  /* 为底部悬浮栏留出空间，防止遮挡内容 */
  .detail-body-container {
    padding-bottom: 80px;
  }

  .modal-content {
    width: min(92vw, 420px);
    padding: 2.25rem 1.1rem;
  }

  .wechat-copy-box {
    padding: 0.75rem;
  }

  .wechat-id {
    font-size: 1.05rem;
  }
}
