:/* style.css - 开云App客户端下载 - 正版入口 · 安全稳定 · 更新及时 */
/* 变量定义 */
:root {
  --brand-primary: #1a1a2e;
  --brand-secondary: #2a2a5a;
  --brand-accent: #f0c040;
  --brand-accent-light: #f5d870;
  --brand-light: #e8e8f0;
  --brand-dark: #0d0d1a;
  --bg-gradient: linear-gradient(145deg, #1a1a2e 0%, #2a2a5a 100%);
  --glass-bg: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.12);
  --shadow-soft: 0 8px 32px rgba(0,0,0,0.3);
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --color-text: #f0f0f5;
  --color-text-muted: #a0a0c0;
  --color-bg: #12122a;
  --color-bg-card: rgba(255,255,255,0.04);
  --color-border: rgba(255,255,255,0.08);
}
[data-theme="light"] {
  --brand-primary: #f0f0f5;
  --brand-secondary: #d0d0e0;
  --brand-accent: #b8860b;
  --brand-accent-light: #d4a030;
  --brand-light: #2a2a5a;
  --brand-dark: #e8e8f0;
  --bg-gradient: linear-gradient(145deg, #f5f5fa 0%, #e0e0f0 100%);
  --glass-bg: rgba(0,0,0,0.04);
  --glass-border: rgba(0,0,0,0.08);
  --shadow-soft: 0 8px 32px rgba(0,0,0,0.08);
  --color-text: #1a1a2e;
  --color-text-muted: #4a4a6a;
  --color-bg: #f0f0f5;
  --color-bg-card: rgba(0,0,0,0.02);
  --color-border: rgba(0,0,0,0.06);
}
/* 重置基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.5s, color 0.5s;
}
a {
  color: var(--brand-accent);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--brand-accent-light);
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
ul {
  list-style: none;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 80px 0;
}
.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 640px;
  margin-bottom: 48px;
}
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
/* 按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  background: var(--brand-accent);
  color: #1a1a2e;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn:hover {
  background: var(--brand-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,192,64,0.3);
  color: #1a1a2e;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--brand-accent);
  color: var(--brand-accent);
}
.btn-outline:hover {
  background: var(--brand-accent);
  color: #1a1a2e;
}
.text-center {
  text-align: center;
}
/* 淡入动画 */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/* 暗色模式切换按钮 */
.dark-mode-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}
.dark-mode-toggle:hover {
  transform: scale(1.05);
}
/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 88px;
  right: 24px;
  z-index: 9998;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-accent);
  color: #1a1a2e;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-4px);
}
/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-accent);
  letter-spacing: -0.02em;
}
.logo span {
  color: var(--color-text);
}
nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
nav a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: var(--transition);
  position: relative;
}
nav a:hover, nav a.active {
  color: var(--brand-accent);
  background: rgba(240,192,64,0.08);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.menu-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--color-text);
  border-radius: 4px;
  transition: var(--transition);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10,10,20,0.95);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  font-size: 1.6rem;
  color: var(--color-text-muted);
  padding: 12px;
}
.mobile-menu a:hover {
  color: var(--brand-accent);
}
.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2rem;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
}
/* Hero Banner */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--bg-gradient);
  overflow: hidden;
  padding-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg svg {
  width: 100%;
  height: 100%;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content h1 {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.hero-content h1 span {
  color: var(--brand-accent);
}
.hero-content p {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  max-width: 480px;
  width: 100%;
}
.hero-card svg {
  width: 100%;
  height: auto;
}
/* Banner 轮播 */
.banner-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
}
.banner-slide {
  display: none;
  animation: fadeSlide 0.8s ease;
}
.banner-slide.active {
  display: block;
}
@keyframes fadeSlide {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}
.banner-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.banner-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.banner-dots button.active {
  background: var(--brand-accent);
  width: 32px;
  border-radius: 6px;
}
/* 网格布局 */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
/* 卡片样式 */
.card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: var(--brand-accent);
}
.card-icon {
  margin-bottom: 16px;
  width: 48px;
  height: 48px;
}
.card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
/* 数据统计 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item {
  text-align: center;
  padding: 32px;
  background: var(--glass-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--brand-accent);
  line-height: 1.2;
}
.stat-label {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-top: 8px;
}
/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 8px 0;
}
.faq-question span {
  transition: var(--transition);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s;
  color: var(--color-text-muted);
  padding: 0 16px;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 16px;
}
.faq-item.open .faq-question span {
  transform: rotate(180deg);
}
/* HowTo */
.howto-step {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  align-items: flex-start;
}
.howto-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-accent);
  color: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.howto-step-content h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.howto-step-content p {
  color: var(--color-text-muted);
}
/* Footer */
footer {
  background: var(--brand-dark);
  padding: 48px 0 24px;
  border-top: 1px solid var(--color-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
footer h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--brand-accent);
}
footer a {
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
footer a:hover {
  color: var(--brand-accent);
}
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
/* 搜索框 */
.search-box {
  display: flex;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto 48px;
}
.search-box input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px solid var(--color-border);
  background: var(--glass-bg);
  color: var(--color-text);
  font-size: 1rem;
  outline: none;
}
.search-box input::placeholder {
  color: var(--color-text-muted);
}
.search-box button {
  padding: 12px 24px;
  border-radius: 50px;
  background: var(--brand-accent);
  color: #1a1a2e;
  border: none;
  cursor: pointer;
  font-weight: 600;
}
/* 面包屑导航 */
.breadcrumb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}
.breadcrumb a {
  color: var(--color-text-muted);
}
.breadcrumb a:hover {
  color: var(--brand-accent);
}
.breadcrumb span {
  color: var(--color-text);
}
/* 响应式设计 */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p {
    margin: 0 auto 32px;
  }
  .hero-actions {
    justify-content: center;
  }
  .grid-2, .grid-3, .grid-4, .stats-grid, .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 48px 0;
  }
  .section-title {
    font-size: 1.8rem;
  }
  nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .grid-2, .grid-3, .grid-4, .stats-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-card {
    padding: 24px;
  }
  .stat-number {
    font-size: 2rem;
  }
  .footer-grid {
    gap: 24px;
  }
}