/* ============================================
   黑白简约 · 半透明玻璃质感 · 高级动态
   首页样式 (home.css)
   ============================================ */

:root {
  --bg-base: transparent;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-strong: rgba(255, 255, 255, 0.22);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.62);
  --text-muted: rgba(255, 255, 255, 0.38);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --blur: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'SF Mono', 'JetBrains Mono', Consolas, Monaco, monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar { display: none; }
html { scrollbar-width: none; -ms-overflow-style: none; }

body {
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  padding: 40px 0;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* 动态背景光斑 */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

body::before {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
  top: -120px;
  right: -100px;
  animation: homeOrb1 20s ease-in-out infinite;
}

body::after {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  bottom: -100px;
  left: -80px;
  animation: homeOrb2 24s ease-in-out infinite;
}

@keyframes homeOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-80px, 120px) scale(1.2); }
}

@keyframes homeOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(100px, -80px) scale(0.85); }
}

/* ===== 容器 ===== */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ===== 头部 ===== */
.header {
  text-align: center;
  padding: 30px 0 40px;
  margin-bottom: 24px;
  animation: headerFadeIn 0.8s var(--ease) both;
}

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

.header h1 {
  font-size: 2.6rem;
  font-weight: 200;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  font-weight: 300;
}

/* ===== 玻璃卡片区块 ===== */
.section {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin-bottom: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.03) inset, 0 1px 0 rgba(255, 255, 255, 0.08) inset;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  animation: cardSlideIn 0.7s var(--ease) both;
}

.section:nth-child(2) { animation-delay: 0.1s; }
.section:nth-child(3) { animation-delay: 0.2s; }
.section:nth-child(4) { animation-delay: 0.3s; }

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

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  opacity: 0.6;
}

.section:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-strong);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05) inset, 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.title {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--glass-border);
  font-weight: 400;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.title::before {
  content: '';
  width: 4px;
  height: 14px;
  background: linear-gradient(180deg, #ffffff, rgba(255, 255, 255, 0.4));
  border-radius: 2px;
}

/* ===== 演示站信息 ===== */
.demo-info .info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: padding 0.3s var(--ease);
}

.demo-info .info-row:hover {
  padding-left: 8px;
}

.demo-info .info-row:last-of-type {
  border-bottom: none;
}

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

.info-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.demo-btn-container {
  text-align: center;
  margin-top: 24px;
}

.visit-demo-btn {
  display: inline-block;
  padding: 12px 36px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border-strong);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.visit-demo-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s var(--ease);
}

.visit-demo-btn:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.15);
}

.visit-demo-btn:hover::before {
  left: 100%;
}

/* ===== 合作伙伴 ===== */
.partners-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.partner-item {
  padding: 9px 18px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.partner-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.partner-item:hover {
  color: var(--text-primary);
  border-color: var(--glass-border-strong);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.partner-item:hover::after {
  opacity: 1;
}

/* ===== 复制按钮 ===== */
.copy-btn {
  color: var(--text-secondary);
  font-size: 0.8rem;
  cursor: pointer;
  margin-left: 10px;
  border: 1px solid var(--glass-border);
  background: transparent;
  padding: 3px 8px;
  border-radius: 4px;
  transition: all 0.3s var(--ease);
}

.copy-btn:hover {
  color: var(--text-primary);
  border-color: var(--glass-border-strong);
  background: rgba(255, 255, 255, 0.05);
}

/* ===== 页脚 ===== */
.footer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 20px 0;
  margin-top: 12px;
  letter-spacing: 0.05em;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  body { padding: 24px 0; }
  .container { padding: 0 18px; }
  .header { padding: 20px 0 28px; }
  .header h1 { font-size: 2rem; }
  .header p { font-size: 0.88rem; }
  .section { padding: 22px 22px; }
  .title { font-size: 0.98rem; }
  .demo-info .info-row { padding: 12px 0; }
  .info-label { font-size: 0.78rem; }
  .info-value { font-size: 0.88rem; }
  .visit-demo-btn { padding: 10px 28px; font-size: 0.85rem; }
  .partner-item { padding: 7px 14px; font-size: 0.8rem; }
}

@media (max-width: 576px) {
  .demo-info .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 0;
  }
  .info-label { color: var(--text-muted); font-size: 0.72rem; }
  .partners-list { gap: 8px; }
  .partner-item { padding: 6px 12px; font-size: 0.78rem; }
  .header h1 { font-size: 1.7rem; }
}
