/* ═══════════════════════════════════════════════
   Windows 11 介绍网站 — Apple 风格深色主题
   参考: MacBook Pro M5 / Intel Core Ultra
   ═══════════════════════════════════════════════ */

/* ── CSS 变量 ── */
:root {
  /* Apple 风格深色配色 */
  --bg-primary: #000000;
  --bg-secondary: #0d0d0d;
  --bg-tertiary: #1a1a1a;
  --bg-card: rgba(28, 28, 30, 0.6);
  --bg-glass: rgba(28, 28, 30, 0.4);
  --bg-nav: rgba(0, 0, 0, 0.72);
  
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-tertiary: #6e6e73;
  
  /* Apple 风格强调色 */
  --accent-blue: #2997ff;
  --accent-purple: #bf5af2;
  --accent-pink: #ff375f;
  --accent-orange: #ff9f0a;
  --accent-yellow: #ffd60a;
  --accent-green: #30d158;
  --accent-teal: #64d2ff;
  --accent-indigo: #5e5ce6;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 60px rgba(41, 151, 255, 0.15);
  
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --nav-height: 52px;
  --max-width: 1024px;
}

/* ── 全局重置 ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.47059;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: all var(--transition-fast);
}

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

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

/* ── 导航栏 ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg-nav);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 9999;
  transition: all var(--transition-normal);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-logo svg {
  width: 24px;
  height: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  display: flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 100px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 400;
  transition: all var(--transition-fast);
  letter-spacing: -0.01em;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.nav-links a.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.12);
}

/* 移动端菜单 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all var(--transition-fast);
}

/* ── Hero 区域 ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 60px) 24px 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

/* Apple 风格渐变背景 */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 100%;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(41, 151, 255, 0.15), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(191, 90, 242, 0.1), transparent 50%),
    radial-gradient(ellipse 50% 30% at 20% 70%, rgba(255, 55, 95, 0.08), transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
  animation: heroFadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--accent-green);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

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

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, 
    var(--accent-blue) 0%, 
    var(--accent-purple) 50%, 
    var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.35rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  font-weight: 400;
  letter-spacing: -0.01em;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

/* ── 按钮 ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--accent-blue);
  color: white;
}

.btn-primary:hover {
  background: #0071e3;
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(41, 151, 255, 0.4);
  color: white;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-primary);
}

/* ── 通用 Section ── */
.section {
  padding: 100px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.section-header .label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(41, 151, 255, 0.1);
  color: var(--accent-blue);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ── 卡片网格 ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

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

.card {
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--border-light);
  box-shadow: var(--shadow-glow);
}

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

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.05);
}

.card-icon.blue { color: var(--accent-blue); }
.card-icon.purple { color: var(--accent-purple); }
.card-icon.green { color: var(--accent-green); }
.card-icon.orange { color: var(--accent-orange); }
.card-icon.teal { color: var(--accent-teal); }
.card-icon.pink { color: var(--accent-pink); }

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── 特色展示区 ── */
.feature-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 100px;
}

.feature-showcase.reverse {
  direction: rtl;
}

.feature-showcase.reverse > * {
  direction: ltr;
}

.feature-visual {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.feature-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(41, 151, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.feature-visual .visual-icon {
  font-size: 7rem;
  opacity: 0.9;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(3deg); }
}

.feature-text h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.feature-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.feature-list li .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(48, 209, 88, 0.15);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* ── 系统要求表格 ── */
.req-table-wrapper {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.req-table thead {
  background: rgba(255, 255, 255, 0.03);
}

.req-table th {
  padding: 18px 28px;
  text-align: left;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--border-color);
}

.req-table td {
  padding: 16px 28px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.req-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.req-table .component {
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.req-table .component-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.05);
}

/* ── 步骤时间线 ── */
.timeline {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  padding-left: 56px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-blue), var(--accent-purple));
  border-radius: 1px;
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -45px;
  top: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 2px solid var(--accent-blue);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 1;
}

.timeline-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: all var(--transition-normal);
}

.timeline-card:hover {
  border-color: var(--border-light);
  transform: translateX(4px);
}

.timeline-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.timeline-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.timeline-card .tip {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(41, 151, 255, 0.08);
  border-left: 3px solid var(--accent-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--accent-blue);
}

/* ── 提示框 ── */
.alert {
  padding: 18px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.92rem;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
}

.alert-info {
  border-color: rgba(41, 151, 255, 0.3);
  color: var(--accent-blue);
}

.alert-warning {
  border-color: rgba(255, 159, 10, 0.3);
  color: var(--accent-orange);
}

.alert-success {
  border-color: rgba(48, 209, 88, 0.3);
  color: var(--accent-green);
}

.alert-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ── 页面横幅 ── */
.page-banner {
  padding: calc(var(--nav-height) + 80px) 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: 
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(41, 151, 255, 0.1), transparent 60%);
}

.page-banner h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  letter-spacing: -0.03em;
}

.page-banner p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  position: relative;
}

.breadcrumb a {
  color: var(--text-tertiary);
}

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

/* ── 统计数字 ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 56px 0;
}

.stat-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ── 底部导航卡片 ── */
.nav-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.nav-card {
  display: block;
  padding: 36px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  text-decoration: none;
  color: inherit;
}

.nav-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-glow);
  color: inherit;
}

.nav-card .nav-card-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.nav-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.nav-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.nav-card .arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-blue);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ── 页脚 ── */
.footer {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 56px 24px 32px;
  margin-top: 100px;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-top: 16px;
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-blue);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* ── 滚动动画 ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 高冷橘猫虚拟形象 OrangeCat ── */
.mascot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9998;
  pointer-events: none;
}

.mascot {
  width: 90px;
  height: 100px;
  position: relative;
  cursor: pointer;
  pointer-events: all;
  transition: transform 0.3s ease;
}

.mascot:hover {
  transform: scale(1.05);
}

.mascot:active {
  transform: scale(0.98);
}

/* 猫身体 - 高冷橘色 */
.mascot-body {
  width: 75px;
  height: 70px;
  background: linear-gradient(165deg, #ff8c42 0%, #f5a623 50%, #e8913a 100%);
  border-radius: 50% 50% 45% 45%;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 
    0 8px 30px rgba(245, 166, 35, 0.3),
    0 3px 10px rgba(0, 0, 0, 0.2),
    inset 0 -4px 12px rgba(0, 0, 0, 0.1),
    inset 0 4px 12px rgba(255, 255, 255, 0.25);
}

/* 猫耳朵 - 三角形 */
.mascot-ear {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 28px solid #f5a623;
  top: 8px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.mascot-ear::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 16px solid #ffb574;
  top: 8px;
  left: -8px;
}

.mascot-ear.left {
  left: 12px;
  transform: rotate(-20deg);
}

.mascot-ear.right {
  right: 12px;
  transform: rotate(20deg);
}

/* 脸部 */
.mascot-face {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65%;
  height: 50%;
}

/* 猫眼睛 - 高冷细长 */
.mascot-eye {
  position: absolute;
  width: 16px;
  height: 10px;
  background: #1a1a1a;
  border-radius: 50%;
  top: 8px;
  transition: transform 0.1s ease-out;
}

.mascot-eye::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  top: 2px;
  right: 3px;
}

.mascot-eye.left {
  left: 5px;
}

.mascot-eye.right {
  right: 5px;
}

/* 猫鼻子 */
.mascot-nose {
  position: absolute;
  width: 8px;
  height: 6px;
  background: #ff7eb3;
  border-radius: 50% 50% 60% 60%;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

/* 猫嘴巴 - 高冷直线 */
.mascot-mouth {
  position: absolute;
  width: 20px;
  height: 2px;
  background: #1a1a1a;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 1px;
}

/* 猫胡须 */
.mascot-whisker {
  position: absolute;
  width: 18px;
  height: 1.5px;
  background: rgba(0,0,0,0.3);
  top: 22px;
}

.mascot-whisker.left {
  left: -12px;
  transform: rotate(-5deg);
}

.mascot-whisker.right {
  right: -12px;
  transform: rotate(5deg);
}

/* 猫爪子 */
.mascot-paw {
  position: absolute;
  width: 16px;
  height: 12px;
  background: linear-gradient(165deg, #ff8c42 0%, #f5a623 100%);
  border-radius: 50%;
  bottom: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.mascot-paw.left {
  left: 16px;
}

.mascot-paw.right {
  right: 16px;
}

/* 猫尾巴 - 优雅摆动 */
.mascot-tail {
  position: absolute;
  width: 10px;
  height: 50px;
  background: linear-gradient(165deg, #f5a623 0%, #e8913a 100%);
  border-radius: 50%;
  bottom: 20px;
  right: 5px;
  transform-origin: bottom center;
  animation: catTailSway 3s ease-in-out infinite;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

@keyframes catTailSway {
  0%, 100% { transform: rotate(-10deg); }
  50% { transform: rotate(15deg); }
}

/* 点击动画 */
.mascot.clicked {
  animation: catClick 0.4s ease;
}

@keyframes catClick {
  0% { transform: scale(1); }
  50% { transform: scale(0.95) rotate(-2deg); }
  100% { transform: scale(1); }
}

/* 猫对话框 - 高冷风格 */
.mascot-speech {
  position: absolute;
  bottom: 95px;
  right: -5px;
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-color);
  border-radius: 16px 16px 4px 16px;
  padding: 12px 18px;
  font-size: 0.88rem;
  color: var(--text-primary);
  max-width: 200px;
  word-wrap: break-word;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: var(--shadow-md);
}

.mascot-speech::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 30px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--border-color);
}

.mascot:hover .mascot-speech,
.mascot-speech.show {
  opacity: 1;
  transform: translateY(0);
}

/* 鱼效果 */
.mascot-fish {
  position: absolute;
  font-size: 1.3rem;
  pointer-events: none;
  animation: fishFloat 1.2s ease-out forwards;
}

@keyframes fishFloat {
  0% { opacity: 1; transform: translateY(0) scale(0.6); }
  100% { opacity: 0; transform: translateY(-40px) scale(1); }
}

/* ── 响应式 ── */
@media (max-width: 1024px) {
  .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-showcase.reverse {
    direction: ltr;
  }

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

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  
  .mascot {
    width: 64px;
    height: 64px;
  }
  
  .mascot-ear {
    width: 20px;
    height: 26px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-toggle {
    display: flex;
  }

  .card-grid,
  .card-grid-3 {
    grid-template-columns: 1fr;
  }

  .nav-cards {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section {
    padding: 60px 20px;
  }

  .hero {
    padding: calc(var(--nav-height) + 40px) 20px 60px;
  }
  
  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }
  
  .mascot-container {
    bottom: 16px;
    right: 16px;
  }
  
  .mascot {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 480px) {
  .stats-row {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .mascot-speech {
    right: -20px;
    font-size: 0.75rem;
    padding: 10px 14px;
  }
}
