/* ===== 灵狐AI 首页样式（深色主题 + 渐变配色 + 动效） ===== */

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

:root {
  --home-primary: #3b82f6;
  --home-primary-dark: #1d4ed8;
  --home-secondary: #60a5fa;
  --home-accent: #06b6d4;
  --home-gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  --home-gradient-soft: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(6, 182, 212, 0.12) 100%);
  --home-bg: linear-gradient(135deg, #111827 0%, #0f172a 48%, #111827 100%);
  --home-panel: rgba(15, 23, 42, 0.78);
  --home-panel-strong: rgba(17, 24, 39, 0.92);
  --home-text: #f3f4f6;
  --home-muted: #cbd5e1;
  --home-border: rgba(148, 163, 184, 0.2);
  --home-border-strong: rgba(148, 163, 184, 0.32);
  --home-max-width: 1080px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--home-bg);
  color: var(--home-text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* 顶部径向光晕装饰 */
body::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* 背景细网格 + 右上角青色光晕 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 10%, rgba(6, 182, 212, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  background-position: 0 0, 0 0, -1px -1px, -1px -1px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

a {
  color: var(--home-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--home-secondary);
  text-decoration: underline;
}

/* ===== 动画关键帧 ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatY {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse-ring {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.35), 0 0 24px rgba(59, 130, 246, 0.25);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(59, 130, 246, 0), 0 0 36px rgba(59, 130, 246, 0.35);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-150%);
  }
  100% {
    transform: translateX(150%);
  }
}

@keyframes gradient-flow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* 滚动揭示动画 */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Header 顶部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--home-border);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.6) 30%, rgba(6, 182, 212, 0.6) 70%, transparent 100%);
  pointer-events: none;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--home-text);
  text-decoration: none;
  letter-spacing: -0.3px;
  transition: color 0.2s ease;
}

.logo:hover {
  color: var(--home-secondary);
  text-decoration: none;
}

.logo-icon {
  width: 55px;
  height: 55px;
  flex: 0 0 55px;
  display: block;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: 28px;
}

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

.language-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--home-muted);
  font-size: 13px;
  white-space: nowrap;
}

.language-selector select {
  height: 34px;
  padding: 0 30px 0 12px;
  border: 1px solid var(--home-border);
  border-radius: 8px;
  background: var(--home-panel);
  color: var(--home-text);
  font-size: 13px;
  cursor: pointer;
}

.language-selector select:focus {
  outline: 2px solid rgba(59, 130, 246, 0.35);
  outline-offset: 2px;
  border-color: var(--home-primary);
}

.main-nav a {
  color: var(--home-muted);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.main-nav a:hover {
  color: var(--home-text);
  text-decoration: none;
}

.main-nav a.active {
  color: var(--home-primary);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--home-gradient);
  border-radius: 2px;
}

/* ===== Main 主区域 ===== */
main {
  display: block;
  position: relative;
  z-index: 1;
}

/* ===== Hero 区（左右分栏） ===== */
.hero {
  max-width: var(--home-max-width);
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 999px;
  font-size: 13px;
  color: var(--home-secondary);
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: 0.2px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* 徽章前的呼吸圆点 */
.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--home-accent);
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.8);
  animation: pulse-ring 2s ease-in-out infinite;
}

.hero h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.8px;
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 60%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--home-muted);
  margin-bottom: 28px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-stats span {
  font-size: 13px;
  color: var(--home-muted);
  position: relative;
  padding-left: 18px;
  font-weight: 500;
}

.hero-stats span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--home-gradient);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}

/* Hero 右侧视觉区 */
.hero-visual {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: visible;
}

/* 图片外发光 */
.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(6, 182, 212, 0.4));
  filter: blur(12px);
  opacity: 0.5;
  z-index: -1;
}

.hero-image {
  width: 100%;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--home-border-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.hero-float-card {
  position: absolute;
  padding: 8px 14px;
  background: var(--home-panel-strong);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--home-text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(59, 130, 246, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: floatY 3s ease-in-out infinite;
}

.hero-float-card.top-right {
  top: 16px;
  right: -12px;
  animation-delay: 0s;
}

.hero-float-card.bottom-left {
  bottom: 20px;
  left: -12px;
  animation-delay: 1.5s;
}

/* ===== 按钮 ===== */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: var(--home-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.45);
}

.btn-secondary {
  background: rgba(59, 130, 246, 0.08);
  color: var(--home-text);
  border: 1px solid var(--home-border-strong);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn-secondary:hover {
  border-color: var(--home-primary);
  color: var(--home-primary);
  text-decoration: none;
  transform: translateY(-2px);
  background: rgba(59, 130, 246, 0.12);
}

.btn-watermark {
  background: var(--home-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.btn-watermark:hover {
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.45);
}

/* ===== 通用标题 ===== */
.section-title {
  position: relative;
  font-size: 28px;
  font-weight: 700;
  color: var(--home-text);
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: -0.4px;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 标题下方渐变细线 */
.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 2px;
  background: var(--home-gradient);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
}

.section-subtitle {
  font-size: 15px;
  color: var(--home-muted);
  text-align: center;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ===== 工具卡片区（带截图） ===== */
.tools-section {
  max-width: var(--home-max-width);
  margin: 0 auto;
  padding: 40px 24px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tool-card {
  position: relative;
  background: var(--home-panel);
  border: 1px solid var(--home-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* 卡片顶部渐变细线 */
.tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--home-gradient);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.tool-card:hover {
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(59, 130, 246, 0.25);
}

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

.tool-screenshot {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #0a0e14;
}

.tool-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tool-card:hover .tool-screenshot img {
  transform: scale(1.06);
}

.tool-card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tool-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--home-text);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.tool-card-desc {
  font-size: 14px;
  color: var(--home-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.tool-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tool-tag {
  padding: 4px 12px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 999px;
  font-size: 12px;
  color: var(--home-secondary);
  font-weight: 500;
  transition: all 0.2s ease;
}

.tool-card:hover .tool-tag {
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(59, 130, 246, 0.4);
}

.tool-link {
  display: inline-block;
  padding: 10px 22px;
  background: var(--home-gradient);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.25s ease;
  align-self: flex-start;
  margin-top: auto;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
}

.tool-link:hover {
  color: #fff;
  text-decoration: none;
  transform: translateX(4px);
  box-shadow: 0 8px 22px rgba(59, 130, 246, 0.45);
}

/* ===== 卖点区（4列彩色图标） ===== */
.selling-points {
  max-width: var(--home-max-width);
  margin: 0 auto;
  padding: 40px 24px;
}

.selling-points-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.selling-point-item {
  position: relative;
  background: var(--home-panel);
  border-radius: 14px;
  padding: 28px 20px;
  border: 1px solid var(--home-border);
  text-align: center;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

/* 悬停时顶部光斑 */
.selling-point-item::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.selling-point-item:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.selling-point-item:hover::before {
  opacity: 1;
}

.selling-point-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
}

.selling-point-icon svg {
  width: 100%;
  height: 100%;
}

.selling-point-item strong {
  display: block;
  color: var(--home-text);
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 600;
}

.selling-point-item p {
  margin: 0;
  font-size: 13px;
  color: var(--home-muted);
  line-height: 1.6;
}

/* ===== 跨平台支持区 ===== */
.platforms-section {
  max-width: var(--home-max-width);
  margin: 0 auto;
  padding: 40px 24px;
}

.platforms-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 96px;
  padding: 18px 12px;
  background: var(--home-panel);
  border: 1px solid var(--home-border);
  border-radius: 12px;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.platform-item:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.platform-item img {
  width: 32px;
  height: 32px;
  display: block;
}

.platform-item span {
  font-size: 12px;
  color: var(--home-muted);
  font-weight: 500;
}

/* ===== FAQ 区（手风琴） ===== */
.faq-section {
  max-width: var(--home-max-width);
  margin: 0 auto;
  padding: 40px 24px;
}

.faq-list {
  margin-top: 24px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border-bottom: 1px solid var(--home-border);
  transition: background 0.25s ease;
  border-radius: 8px;
}

.faq-item:hover {
  background: rgba(59, 130, 246, 0.04);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--home-text);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  font-family: inherit;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--home-primary);
}

.faq-toggle {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  margin-left: 16px;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--home-muted);
  transition: transform 0.3s ease, background 0.2s ease;
}

.faq-toggle::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
}

.faq-toggle::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
}

.faq-item.active .faq-toggle::before,
.faq-item.active .faq-toggle::after {
  background: var(--home-primary);
}

.faq-item.active .faq-toggle::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 16px 18px;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  border-top: 1px solid var(--home-border);
  background: var(--home-panel-strong);
  padding: 40px 24px 24px;
  margin-top: 40px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), rgba(6, 182, 212, 0.5), transparent);
  pointer-events: none;
}

.footer-container {
  max-width: var(--home-max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--home-text);
}

.footer-logo-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: block;
  object-fit: contain;
}

.footer-brand-desc {
  font-size: 13px;
  color: var(--home-muted);
  line-height: 1.6;
}

.footer-title {
  color: var(--home-text);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  padding: 4px 0;
}

.footer-links a {
  color: var(--home-muted);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--home-primary);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--home-border);
  padding-top: 18px;
  text-align: center;
}

.footer-copyright {
  font-size: 12px;
  color: var(--home-muted);
  margin: 0;
}

/* ===== 上传视频区 ===== */
.upload-hero {
  max-width: var(--home-max-width);
  margin: 0 auto;
  padding: 48px 24px 80px;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.7s ease both;
}

.upload-card {
  position: relative;
  background: var(--home-panel);
  border: 2px dashed var(--home-border-strong);
  border-radius: 20px;
  padding: 96px 32px 64px;
  text-align: center;
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

/* 卡片内部柔和渐变光斑 */
.upload-card::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.18) 0%, transparent 60%);
  pointer-events: none;
  transition: opacity 0.35s ease;
  opacity: 0.7;
}

/* 底部细渐变线 */
.upload-card::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.5), transparent);
  pointer-events: none;
}

.upload-card:hover {
  border-color: var(--home-primary);
  background: rgba(59, 130, 246, 0.06);
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(59, 130, 246, 0.2);
}

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

.upload-icon {
  position: relative;
  width: 128px;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--home-gradient-soft);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 50%;
  color: var(--home-primary);
  animation: pulse-ring 2.8s ease-in-out infinite;
}

/* 图标外圈渐变光环 */
.upload-icon::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(59, 130, 246, 0), rgba(59, 130, 246, 0.5), rgba(6, 182, 212, 0.5), rgba(59, 130, 246, 0));
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 62%);
  mask: radial-gradient(circle, transparent 60%, #000 62%);
  animation: spin 6s linear infinite;
  opacity: 0.6;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.upload-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.8px;
  text-align: center;
  margin: 0 0 24px;
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 50%, #67e8f9 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-flow 6s ease infinite;
}

.upload-icon svg {
  width: 64px;
  height: 64px;
}

.upload-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.upload-text strong {
  font-size: 24px;
  font-weight: 600;
  color: var(--home-text);
}

.upload-text span {
  font-size: 15px;
  color: var(--home-muted);
}

.upload-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 560px;
  margin-top: 8px;
}

.upload-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  flex: 1;
  min-width: 160px;
  cursor: pointer;
  overflow: hidden;
}

.upload-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.upload-btn:hover svg {
  transform: translateX(2px);
}

/* 闪光滑过 */
.upload-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: translateX(-150%);
  pointer-events: none;
}

.upload-btn:hover::after {
  animation: shimmer 1.2s ease;
}

.upload-btn-repair {
  background: var(--home-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25);
}

.upload-btn-repair:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.4);
}

.upload-btn-watermark {
  background: rgba(59, 130, 246, 0.08);
  color: var(--home-text);
  border: 1px solid rgba(59, 130, 246, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.upload-btn-watermark:hover {
  color: #fff;
  text-decoration: none;
  background: var(--home-gradient);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.35);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

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

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 20px 40px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .upload-hero {
    padding: 32px 20px 48px;
  }

  .upload-card {
    padding: 64px 20px 48px;
    gap: 28px;
  }

  .upload-title {
    font-size: 26px;
    margin-bottom: 20px;
    letter-spacing: -0.4px;
  }

  .upload-icon {
    width: 96px;
    height: 96px;
  }

  .upload-icon svg {
    width: 48px;
    height: 48px;
  }

  .upload-text strong {
    font-size: 20px;
  }

  .upload-actions {
    flex-direction: column;
  }

  .upload-btn {
    width: 100%;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

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

  .platforms-grid {
    gap: 12px;
  }

  .platform-item {
    width: 84px;
    padding: 14px 8px;
  }

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

  .main-nav {
    gap: 18px;
  }

  .main-nav a {
    font-size: 14px;
  }

  .header-container {
    height: auto;
    min-height: 64px;
    padding-top: 10px;
    padding-bottom: 10px;
    align-items: flex-start;
  }

  .header-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 16px;
  }

  .hero {
    padding: 40px 16px 32px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .upload-title {
    font-size: 22px;
  }

  .upload-card {
    padding: 48px 16px 36px;
    gap: 22px;
  }

  .upload-icon {
    width: 80px;
    height: 80px;
  }

  .upload-icon svg {
    width: 40px;
    height: 40px;
  }

  .upload-text strong {
    font-size: 17px;
  }

  .upload-text span {
    font-size: 13px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    text-align: center;
  }

  .selling-points-grid {
    grid-template-columns: 1fr;
  }

  .platforms-grid {
    justify-content: space-between;
  }

  .platform-item {
    width: calc(33% - 8px);
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 13px;
  }

  .logo {
    font-size: 18px;
  }

  .header-actions {
    gap: 6px;
  }

  .language-selector span {
    display: none;
  }

  .language-selector select {
    max-width: 112px;
  }

  .hero-float-card {
    display: none;
  }
}
