/* 重置和基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 移动端滚动优化 */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* 优化滚动性能 */
* {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

:root {
  /* 深色主题变量 */
  --primary-color: #3b82f6;
  --secondary-color: #8b5cf6;
  --accent-color: #06b6d4;
  --background-dark: #0f172a;
  --background-darker: #020617;
  --surface-dark: #1e293b;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --border-color: #334155;
  --glass-bg: rgba(30, 41, 59, 0.4);
  --glass-border: rgba(148, 163, 184, 0.1);
}

/* 白日模式变量 */
[data-theme="light"] {
  --primary-color: #2563eb;
  --secondary-color: #7c3aed;
  --accent-color: #0891b2;
  --background-dark: #ffffff;
  --background-darker: #f8fafc;
  --surface-dark: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --glass-bg: rgba(248, 250, 252, 0.8);
  --glass-border: rgba(148, 163, 184, 0.2);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--background-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  /* 移动端优化 */
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* 浮动公众号图片样式 */
.floating-gzh {
  position: fixed;
  left: 5px;
  top: 20%;
  transform: translateY(-50%);
  z-index: 999;
  width: 300px;
  height: 300px;
  transition: all 0.3s ease;
  cursor: pointer;
  opacity: 0.9;
}

.floating-gzh:hover {
  transform: translateY(-50%) scale(1.05);
  opacity: 1;
}

.floating-gzh img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.floating-gzh:hover img {
  transform: scale(1.02);
}


/* 导航栏样式 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
  transition: background-color 0.3s ease;
}

[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.8);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 calc(2rem + 10px);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.logo svg {
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--text-primary);
}

.nav-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* 主题切换按钮 */
.theme-toggle {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background: var(--surface-dark);
  color: var(--text-primary);
  transform: scale(1.05);
}

.theme-icon {
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.sun-icon {
  opacity: 0;
  transform: rotate(180deg);
}

.moon-icon {
  opacity: 1;
  transform: rotate(0deg);
}

[data-theme="light"] .sun-icon {
  opacity: 1;
  transform: rotate(0deg);
}

[data-theme="light"] .moon-icon {
  opacity: 0;
  transform: rotate(-180deg);
}

.console-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.console-btn:hover {
  background: var(--surface-dark);
  color: var(--text-primary);
}

.login-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

/* 主要内容区域 */
.main-content {
  padding-top: 30px;
}

/* Hero 区域 */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding-top: 14rem;
}

/* Hero区域底部渐变遮罩 */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(15, 23, 42, 0.05) 20%,
    rgba(15, 23, 42, 0.2) 40%,
    rgba(15, 23, 42, 0.4) 60%,
    rgba(15, 23, 42, 0.7) 80%,
    var(--background-dark) 95%,
    var(--background-darker) 100%
  );
  pointer-events: none;
  z-index: 5;
}

/* 白日模式的Hero底部渐变 */
[data-theme="light"] .hero::after {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 30%,
    rgba(248, 250, 252, 0.7) 100%,
    var(--background-dark) 100%,
    var(--background-darker) 20%
  );
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
  position: relative;
  z-index: 10;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* 链接生成器 */
.link-generator {
  max-width: 600px;
  margin: 0 auto;
}

/* 选项卡样式 */
.tab-container {
  margin-bottom: 2rem;
}

.tab-list {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  padding: 0.5rem;
  backdrop-filter: blur(20px);
}

.tab-item {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  /* 移动端触摸优化 */
  min-height: 44px;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.tab-item:hover {
  color: var(--text-primary);
  background: rgba(59, 130, 246, 0.1);
}

.tab-item.active {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.tab-item.active:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.input-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.link-input {
  flex: 1;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  color: var(--text-primary);
  font-size: 1rem;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.link-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.link-input::placeholder {
  color: var(--text-muted);
}

.generate-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  /* 移动端触摸优化 */
  min-height: 44px;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.generate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.generate-btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

/* 域名选择器样式 */
.domain-selector {
  margin-bottom: 2rem;
}

.domain-options {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.domain-option {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.domain-option input[type="radio"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  background: var(--surface-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.domain-option input[type="radio"]:checked {
  border-color: var(--primary-color);
  background: var(--primary-color);
}

.domain-option input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
}

.domain-label {
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  user-select: none;
}

.domain-option:hover .domain-label {
  color: var(--primary-color);
}

.generated-link {
  margin-top: 2rem;
}

.result-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  backdrop-filter: blur(20px);
}

.result-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-right: 0.5rem;
  white-space: nowrap;
}

.result-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.short-link-text {
  color: var(--accent-color);
  font-weight: 500;
  word-break: break-all;
  flex: 1;
  min-width: 200px;
  /* 禁用文本选择 */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* 禁用右键菜单 */
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

/* 模糊效果样式 */
.blur-suffix {
  filter: blur(3px);
  transition: filter 0.3s ease;
  /* 确保模糊状态下完全不可选择 */
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.blur-suffix:hover {
  filter: blur(0px);
}


/* 小的去登录按钮样式 */
.login-btn-small {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  /* 移动端触摸优化 */
  min-height: 40px;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.login-btn-small:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.login-btn-small:active {
  transform: scale(0.98);
}

/* 背景装饰 */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

/* 背景深度层 */
.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center top,
    rgba(59, 130, 246, 0.08) 0%,
    rgba(139, 92, 246, 0.06) 35%,
    rgba(6, 182, 212, 0.04) 70%,
    transparent 100%
  );
  z-index: 1;
}

[data-theme="light"] .hero-bg::before {
  background: radial-gradient(
    ellipse at center top,
    rgba(37, 99, 235, 0.06) 0%,
    rgba(124, 58, 237, 0.04) 35%,
    rgba(8, 145, 178, 0.03) 70%,
    transparent 100%
  );
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  transition: opacity 0.3s ease;
  mix-blend-mode: soft-light;
}

[data-theme="light"] .bg-orb {
  opacity: 0.12;
  mix-blend-mode: multiply;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  top: 20%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  top: 60%;
  right: 20%;
  animation: float 8s ease-in-out infinite reverse;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  top: 10%;
  right: 10%;
  animation: float 10s ease-in-out infinite;
}

.orb-4 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  bottom: 30%;
  left: 5%;
  animation: float 12s ease-in-out infinite;
}

.orb-5 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  animation: float 7s ease-in-out infinite reverse;
}

/* 浮动几何形状 */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.shape {
  position: absolute;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  opacity: 0.1;
  animation: floatShape 15s ease-in-out infinite;
}

[data-theme="light"] .shape {
  opacity: 0.05;
}

.shape-1 {
  width: 20px;
  height: 20px;
  top: 20%;
  left: 15%;
  border-radius: 4px;
  animation-delay: 0s;
  animation-duration: 12s;
}

.shape-2 {
  width: 15px;
  height: 15px;
  top: 70%;
  right: 25%;
  border-radius: 50%;
  animation-delay: 2s;
  animation-duration: 18s;
}

.shape-3 {
  width: 25px;
  height: 25px;
  top: 40%;
  left: 80%;
  border-radius: 4px;
  transform: rotate(45deg);
  animation-delay: 4s;
  animation-duration: 14s;
}

.shape-4 {
  width: 18px;
  height: 18px;
  top: 85%;
  left: 40%;
  border-radius: 50%;
  animation-delay: 6s;
  animation-duration: 16s;
}

.shape-5 {
  width: 22px;
  height: 22px;
  top: 15%;
  right: 45%;
  border-radius: 4px;
  animation-delay: 8s;
  animation-duration: 20s;
}

.shape-6 {
  width: 12px;
  height: 12px;
  top: 50%;
  left: 25%;
  border-radius: 50%;
  animation-delay: 10s;
  animation-duration: 13s;
}

/* 动画线条 */
.animated-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  opacity: 0.2;
  animation: lineMove 8s ease-in-out infinite;
}

[data-theme="light"] .line {
  opacity: 0.1;
}

.line-1 {
  width: 200px;
  height: 1px;
  top: 30%;
  left: -200px;
  animation-delay: 0s;
}

.line-2 {
  width: 150px;
  height: 1px;
  top: 60%;
  right: -150px;
  animation-delay: 3s;
  animation-direction: reverse;
}

.line-3 {
  width: 100px;
  height: 1px;
  top: 80%;
  left: -100px;
  animation-delay: 6s;
}

.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  transition: opacity 0.3s ease;
  animation: gridPulse 20s ease-in-out infinite;
}

[data-theme="light"] .bg-grid {
  background-image:
    linear-gradient(rgba(71, 85, 105, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(71, 85, 105, 0.08) 1px, transparent 1px);
}

/* 动画关键帧 */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  33% {
    transform: translateY(-20px) rotate(120deg) scale(1.05);
  }
  66% {
    transform: translateY(10px) rotate(240deg) scale(0.95);
  }
}

@keyframes floatShape {
  0%, 100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
    opacity: 0.1;
  }
  25% {
    transform: translateY(-30px) translateX(20px) rotate(90deg);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-10px) translateX(-15px) rotate(180deg);
    opacity: 0.05;
  }
  75% {
    transform: translateY(20px) translateX(10px) rotate(270deg);
    opacity: 0.15;
  }
}

@keyframes lineMove {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  20% {
    opacity: 0.2;
  }
  80% {
    opacity: 0.2;
  }
  100% {
    transform: translateX(calc(100vw + 200px));
    opacity: 0;
  }
}

@keyframes gridPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* 通用容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 calc(2rem + 10px);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 功能特点区域 - 优化为一行四个 */
.features {
  padding: 6rem 0;
  background: linear-gradient(
    180deg, 
    var(--background-darker) 0%,
    var(--background-dark) 20%,
    var(--background-dark) 80%,
    var(--background-darker) 100%
  );
  transition: background 0.3s ease;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 用户评价区域 - 优化为一行四个 */
.testimonials {
  padding: 4rem 0; /* 减少padding向上移动 */
  background: var(--background-darker);
  transition: background 0.3s ease;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.testimonial-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  height: fit-content;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.1);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
  font-size: 0.9rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
}

.author-info h4 {
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.author-info span {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* 页脚 */
.footer {
  background: var(--background-darker);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  transition: background 0.3s ease;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-secondary);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.link-group h4 {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.link-group a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.link-group a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* 响应式设计 */

/* 大屏平板 */
@media (max-width: 1200px) {
  .nav-container {
    padding: 0 calc(1.5rem + 10px);
  }
  
  .container {
    padding: 0 calc(1.5rem + 10px);
  }
  
  .hero-container {
    padding: 0 calc(1.5rem + 10px);
  }
}

/* 平板设备 */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .hero {
    min-height: 75vh;
    padding-top: 8rem;
  }
  
  .hero-title {
    font-size: 3rem;
    line-height: 1.1;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
  }
  
  .nav-right {
    gap: 0.75rem;
  }
}

/* 移动端 */
@media (max-width: 768px) {
  /* 移动端隐藏浮动公众号图片 */
  .floating-gzh {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
  .nav-menu {
    display: none;
  }
  
  .nav-container {
    padding: 0 calc(1rem + 20px);
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .nav-right {
    gap: 0.5rem;
  }
  
  .theme-toggle, .console-btn, .login-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding-top: 2rem;
    min-height: 60vh;
    align-items: center;
  }
  
  .hero::after {
    height: 100px;
  }
  
  .hero-container {
    padding: 0 calc(1rem + 10px);
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.5;
  }

  .tab-list {
    gap: 0.25rem;
    padding: 0.375rem;
  }

  .tab-item {
    padding: 0.5rem 0.6rem;
    font-size: 0.75rem;
    min-height: 40px;
  }

  /* 移动端域名选择器优化 */
  .domain-options {
    gap: 0.75rem;
    justify-content: space-around;
  }
  
  .domain-option {
    gap: 0.4rem;
  }
  
  .domain-option input[type="radio"] {
    width: 16px;
    height: 16px;
  }
  
  .domain-option input[type="radio"]:checked::after {
    width: 5px;
    height: 5px;
  }
  
  .domain-label {
    font-size: 0.8rem;
  }

  .input-group {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  
  .link-input {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
  }
  
  .generate-btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
  }

  .result-link {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }
  
  .result-link .result-label {
    margin-bottom: 0.5rem;
  }
  
  .short-link-text {
    margin-bottom: 0.75rem;
    min-width: auto;
  }
  
  .login-btn-small {
    align-self: center;
    padding: 0.5rem 1.25rem;
  }
  
  .container {
    padding: 0 calc(1rem + 10px);
  }
  
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .feature-card {
    padding: 1.5rem;
    text-align: center;
  }
  
  .feature-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.25rem;
  }
  
  .feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
  
  .feature-card p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .testimonial-card {
    padding: 1.25rem;
  }
  
  .testimonial-content p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .author-avatar {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }
  
  .author-info h4 {
    font-size: 0.8rem;
  }
  
  .author-info span {
    font-size: 0.7rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .link-group {
    text-align: center;
  }
  
  .link-group h4 {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
  }
  
  .link-group a {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }
}

/* 小屏手机 */
@media (max-width: 480px) {
  /* 确保小屏手机隐藏浮动公众号图片 */
  .floating-gzh {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
  
  .main-content {
    padding-top: 70px;
  }
  
  .nav-container {
    padding: 0 calc(0.75rem + 10px);
  }

  .container {
    padding: 0 calc(0.75rem + 10px);
  }
  
  .hero-container {
    padding: 0 calc(0.75rem + 10px);
  }
  
  .hero {
    padding-top: 1.5rem;
    min-height: 55vh;
    align-items: center;
  }
  
  .hero::after {
    height: 80px;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
  }
  
  .link-input {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .generate-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
    line-height: 1.3;
  }
  
  .features {
    padding: 4rem 0;
  }
  
  .testimonials {
    padding: 3rem 0;
  }
  
  .feature-card {
    padding: 1.25rem;
  }
  
  .feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
  }
  
  .feature-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .feature-card p {
    font-size: 0.85rem;
  }
  
  .testimonial-card {
    padding: 1rem;
  }
  
  .footer {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-content {
    gap: 1.5rem;
  }
  
  .footer-links {
    gap: 1.25rem;
  }
}

/* 超小屏设备 */
@media (max-width: 360px) {
  /* 确保超小屏设备隐藏浮动公众号图片 */
  .floating-gzh {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.85rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .nav-right {
    gap: 0.25rem;
  }
  
  .theme-toggle, .console-btn, .login-btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
  }
  
  .theme-toggle {
    width: 32px;
    height: 32px;
  }
}