/* ========================================
   节点流量服务 - 主样式表 (FSCloud Dark Theme)
   ======================================== */

/* --- CSS 变量 --- */
:root {
  --background: 222.2 84% 4.9%;
  --foreground: 210 40% 98%;
  --card: 222.2 84% 4.9%;
  --card-foreground: 210 40% 98%;
  --primary: 210 40% 98%;
  --primary-foreground: 222.2 47.4% 11.2%;
  --secondary: 217.2 32.6% 17.5%;
  --secondary-foreground: 210 40% 98%;
  --muted: 217.2 32.6% 17.5%;
  --muted-foreground: 215 20.2% 65.1%;
  --accent: 217.2 32.6% 17.5%;
  --accent-foreground: 210 40% 98%;
  --destructive: 0 62.8% 30.6%;
  --destructive-foreground: 210 40% 98%;
  --border: 217.2 32.6% 17.5%;
  --ring: 212.7 26.8% 83.9%;
  --radius: 0.75rem;

  /* 语义色 */
  --color-success: #03c450;
  --color-info: #0ea5e9;
  --color-warning: #f59e0b;
  --color-danger: #fa2146;
  --color-accent-green: #10b981;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

img {
  max-width: 100%;
  display: block;
}

/* --- 背景点阵图案 (FSCloud 风格) --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  --dot-color: hsl(210 40% 98% / 0.15);
  background-image: radial-gradient(circle, var(--dot-color) 1px, transparent 1px);
  background-size: 24px 24px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* ========================================
   导航栏 (FSCloud glassmorphism style)
   ======================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid hsl(var(--border) / 0.6);
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground)) !important;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-info), #7c3aed);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.25);
}

.nav {
  display: none;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--muted) / 0.6);
}

.nav-link.active {
  color: hsl(var(--foreground));
  background: hsl(var(--muted) / 0.8);
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: hsl(var(--foreground));
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

.menu-toggle:hover {
  background: hsl(var(--muted) / 0.6);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

/* 移动端菜单 */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 0.5rem 0 1rem;
  border-top: 1px solid hsl(var(--border) / 0.6);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu .nav-link {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
}

/* ========================================
   主体区域
   ======================================== */
.main {
  flex: 1;
  position: relative;
  z-index: 1;
}

/* ========================================
   首页 Hero
   ======================================== */
.hero {
  padding: 5rem 0 3rem;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border) / 0.7);
  background: hsl(var(--muted) / 0.5);
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--color-success);
  border-radius: 50%;
  animation: breathe-green 2s ease-in-out infinite;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--color-info), #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
}

.hero-desc {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- 按钮 --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  line-height: 1.5;
}

.btn-primary {
  background: var(--color-success);
  color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background: #02b348;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(3, 196, 80, 0.3);
}

.btn-outline {
  background: transparent;
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border) / 0.7);
}

.btn-outline:hover {
  background: hsl(var(--muted) / 0.6);
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  border-radius: 6px;
}

.btn-lg {
  padding: 0.85rem 2.2rem;
  font-size: 1rem;
  border-radius: 10px;
}

.btn-ghost {
  background: transparent;
  color: hsl(var(--muted-foreground));
  border: none;
}

.btn-ghost:hover {
  background: hsl(var(--muted) / 0.6);
  color: hsl(var(--foreground));
}

/* ========================================
   通用 Section
   ======================================== */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: hsl(var(--secondary) / 0.3);
  border-top: 1px solid hsl(var(--border) / 0.5);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.section-desc {
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ========================================
   页面顶部横幅
   ======================================== */
.page-header {
  padding: 4rem 0 2rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: hsl(var(--muted-foreground));
  margin-top: 0.5rem;
  font-size: 1rem;
}

/* ========================================
   卡片
   ======================================== */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.8);
  border-radius: var(--radius);
  padding: 1.25rem;
  color: hsl(var(--card-foreground));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

@media (min-width: 768px) {
  .card {
    padding: 1.5rem;
  }
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

/* --- 特性卡片网格 --- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.8);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.feature-icon.blue {
  background: rgba(14, 165, 233, 0.15);
  color: var(--color-info);
}

.feature-icon.green {
  background: rgba(3, 196, 80, 0.15);
  color: var(--color-success);
}

.feature-icon.purple {
  background: rgba(124, 58, 237, 0.15);
  color: #7c3aed;
}

.feature-icon.amber {
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-warning);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
}

/* ========================================
   套餐卡片
   ======================================== */
.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.8);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.25);
}

.plan-card.featured {
  border-color: var(--color-info);
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.3), 0 8px 24px rgba(15, 23, 42, 0.2);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: linear-gradient(135deg, var(--color-info), #7c3aed);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
}

.plan-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.plan-price {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 0.25rem;
}

.plan-price .currency {
  font-size: 1.1rem;
  font-weight: 600;
  vertical-align: super;
}

.plan-price .period {
  font-size: 0.85rem;
  font-weight: 400;
  color: hsl(var(--muted-foreground));
}

.plan-traffic {
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.25rem;
}

.plan-features {
  list-style: none;
  margin-bottom: 1.5rem;
  border-top: 1px solid hsl(var(--border) / 0.7);
  padding-top: 1.25rem;
}

.plan-features li {
  padding: 0.4rem 0;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan-features li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 700;
  font-size: 0.8rem;
}

.plan-card .btn {
  width: 100%;
}

/* ========================================
   节点状态表格
   ======================================== */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid hsl(var(--border) / 0.8);
  border-radius: var(--radius);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.table thead {
  border-bottom: 1px solid hsl(var(--border) / 0.7);
}

.table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  white-space: nowrap;
}

.table td {
  padding: 0.75rem 1rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
}

.table tbody tr:hover {
  background: hsl(var(--muted) / 0.2);
}

/* --- 状态指示器 (FSCloud breathing animation) --- */
.status-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  position: relative;
}

.status-online {
  background: var(--color-success);
  animation: breathe-green 2s ease-in-out infinite;
}

.status-offline {
  background: var(--color-danger);
  animation: breathe-red 2s ease-in-out infinite;
}

.status-busy {
  background: var(--color-warning);
  animation: breathe-amber 2s ease-in-out infinite;
}

@keyframes breathe-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(3, 196, 80, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(3, 196, 80, 0); }
}

@keyframes breathe-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(250, 33, 70, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(250, 33, 70, 0); }
}

@keyframes breathe-amber {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
}

/* 国旗图标 */
.flag-icon {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
  object-fit: cover;
}

/* ========================================
   标签 / 徽章
   ======================================== */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.tag-sky {
  background: rgba(14, 165, 233, 0.1);
  color: var(--color-info);
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.tag-green {
  background: rgba(3, 196, 80, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(3, 196, 80, 0.3);
}

.tag-amber {
  background: rgba(245, 158, 11, 0.1);
  color: var(--color-warning);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.tag-rose {
  background: rgba(250, 33, 70, 0.1);
  color: var(--color-danger);
  border: 1px solid rgba(250, 33, 70, 0.3);
}

.tag-muted {
  background: hsl(var(--muted) / 0.3);
  color: hsl(var(--muted-foreground));
}

/* ========================================
   教程页 - 手风琴 / 步骤
   ======================================== */
.tutorial-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  justify-content: center;
}

.tab-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  border: 1px solid hsl(var(--border) / 0.7);
  background: transparent;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover {
  background: hsl(var(--muted) / 0.6);
  color: hsl(var(--foreground));
}

.tab-btn.active {
  background: hsl(var(--muted) / 0.8);
  color: hsl(var(--foreground));
  border-color: var(--color-info);
  box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.2);
}

.tutorial-content {
  display: none;
}

.tutorial-content.active {
  display: block;
}

.tutorial-steps {
  counter-reset: step;
  list-style: none;
}

.tutorial-steps li {
  counter-increment: step;
  padding: 1rem 0 1rem 3rem;
  position: relative;
  border-left: 2px solid hsl(var(--border) / 0.5);
  margin-left: 1rem;
}

.tutorial-steps li::before {
  content: counter(step);
  position: absolute;
  left: -1.25rem;
  top: 0.85rem;
  width: 28px;
  height: 28px;
  background: var(--color-info);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.tutorial-steps li h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.tutorial-steps li p {
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  line-height: 1.6;
}

.tutorial-steps li code {
  background: hsl(var(--muted) / 0.5);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--color-info);
}

/* 下载按钮组 */
.download-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 2rem 0;
}

.download-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 1rem;
  min-width: 80px;
  border: 1px solid hsl(var(--border) / 0.7);
  border-radius: 8px;
  background: hsl(var(--muted) / 0.2);
  transition: all 0.2s;
  cursor: pointer;
  text-align: center;
}

.download-badge:hover {
  background: hsl(var(--muted) / 0.4);
  border-color: hsl(var(--border));
}

.download-badge .platform-icon {
  font-size: 1.5rem;
}

.download-badge .platform-name {
  font-size: 0.7rem;
  color: hsl(var(--muted-foreground));
}

/* ========================================
   公告横幅 (FSCloud marquee style)
   ======================================== */
.announcement {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.25rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.8);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.announcement-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.announcement-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-warning);
  min-width: 48px;
  flex-shrink: 0;
}

.announcement-text {
  flex: 1;
  height: 24px;
  overflow: hidden;
  position: relative;
}

.announcement-text span {
  display: block;
  animation: fadeSlide 6s ease-in-out infinite;
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
}

@keyframes fadeSlide {
  0% { opacity: 0; transform: translateY(-10px); }
  10% { opacity: 1; transform: translateY(0); }
  80% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ========================================
   统计数字网格
   ======================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.8);
  border-radius: var(--radius);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 0.25rem;
}

.stat-value.green { color: var(--color-success); }
.stat-value.blue { color: var(--color-info); }

.stat-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* ========================================
   协议支持标签
   ======================================== */
.protocols {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.protocol-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  background: hsl(var(--muted) / 0.3);
  color: hsl(var(--muted-foreground));
}

/* ========================================
   联系页
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-item {
  text-align: center;
  padding: 1.75rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.8);
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.contact-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.contact-item p {
  color: hsl(var(--muted-foreground));
  font-size: 0.85rem;
}

/* ========================================
   FAQ
   ======================================== */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid hsl(var(--border) / 0.8);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: hsl(var(--card));
  transition: background 0.2s;
}

.faq-question:hover {
  background: hsl(var(--muted) / 0.3);
}

.faq-answer {
  padding: 0 1.25rem 1rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-arrow {
  transition: transform 0.2s;
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
}

/* ========================================
   页脚
   ======================================== */
.footer {
  border-top: 1px solid hsl(var(--border) / 0.6);
  padding: 2rem 0;
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-size: 0.8rem;
  position: relative;
  z-index: 1;
}

.footer a {
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.footer a:hover {
  color: hsl(var(--foreground));
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

/* ========================================
   错误页面
   ======================================== */
.error-page {
  text-align: center;
  padding: 6rem 0;
}

.error-code {
  font-size: 6rem;
  font-weight: 800;
  letter-spacing: -3px;
  background: linear-gradient(135deg, var(--color-info), #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
}

.error-desc {
  font-size: 1.1rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero {
    padding: 3rem 0 2rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .page-header {
    padding: 2.5rem 0 1rem;
  }

  .page-header h1 {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .plan-price {
    font-size: 1.8rem;
  }

  .error-code {
    font-size: 4rem;
  }
}
