/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* ==========================================================================
   基础样式重置
   ========================================================================== */

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

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
  'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: #f2f5f8;
  color: #272727;
  overflow-x: hidden;
}

::-moz-selection {
  background: #ffa400;
  color: #ffffff;
  text-shadow: none;
}

::selection {
  background: #ffa400;
  color: #ffffff;
  text-shadow: none;
}

/* ==========================================================================
   通用样式
   ========================================================================== */

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

.section-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffa400 0%, #ffa600 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #757575;
  margin-bottom: 4rem;
}

/* ==========================================================================
   头部导航
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(255, 164, 0, 0.15);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffa400;
  margin: 0;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: #272727;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffa400;
  transition: width 0.3s ease;
}

.nav a:hover {
  color: #ffa400;
}

.nav a:hover::after {
  width: 100%;
}

/* ==========================================================================
   主视觉区
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 164, 0, 0.95) 0%, rgba(255, 166, 0, 0.95) 100%),
    linear-gradient(135deg, #ffa400 0%, #ffa600 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  width: 100%;
}

.hero-logo {
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out;
}

.hero-logo-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.2));
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.2s both;
}

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

.hero-subtitle {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease-out 0.4s both;
  font-weight: 600;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 3rem;
  line-height: 1.8;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* 下载按钮区域 */
.download-section {
  margin: 3rem 0;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.download-title {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 2rem;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  color: #272727;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 180px;
  justify-content: center;
}

.download-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background: #ffffff;
}

.download-icon {
  width: 32px;
  height: 32px;
  color: #ffa400;
}

.download-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.download-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: #272727;
}

.download-sub {
  font-size: 0.85rem;
  color: #757575;
  font-weight: 400;
}

.download-note {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin-top: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 4rem;
  animation: fadeInUp 1s ease-out 1s both;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  min-width: 150px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
  font-size: 1rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ==========================================================================
   功能特色
   ========================================================================== */

.features {
  padding: 8rem 0;
  background: #ffffff;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.feature-card {
  background: #ffffff;
  border: 2px solid #f2f5f8;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 164, 0, 0.05) 0%, rgba(255, 166, 0, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: #ffa400;
  box-shadow: 0 20px 40px rgba(255, 164, 0, 0.15);
}

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

.feature-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  filter: grayscale(0);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #272727;
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.feature-card p {
  color: #757575;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   应用场景
   ========================================================================== */

.use-cases {
  padding: 8rem 0;
  background: linear-gradient(180deg, #f2f5f8 0%, #e8ecf1 100%);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.use-case-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.use-case-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(255, 164, 0, 0.15);
  border-color: #ffa400;
}

.use-case-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.use-case-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #272727;
  font-weight: 700;
  text-align: center;
}

.use-case-card > p {
  color: #757575;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: center;
}

.use-case-list {
  list-style: none;
  padding: 0;
}

.use-case-list li {
  padding: 0.75rem 0;
  color: #272727;
  border-bottom: 1px solid #f2f5f8;
  position: relative;
  padding-left: 1.5rem;
}

.use-case-list li:last-child {
  border-bottom: none;
}

.use-case-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #ffa400;
  font-weight: 700;
}

/* ==========================================================================
   下载区域
   ========================================================================== */

.download {
  padding: 8rem 0;
  background: #ffffff;
  text-align: center;
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.download-card {
  background: #ffffff;
  border: 2px solid #f2f5f8;
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.download-card:hover {
  transform: translateY(-10px);
  border-color: #ffa400;
  box-shadow: 0 20px 40px rgba(255, 164, 0, 0.15);
}

.download-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.download-card-icon svg {
  width: 48px;
  height: 48px;
  color: #ffffff;
}

.android-icon {
  background: linear-gradient(135deg, #3DDC84 0%, #2E7D32 100%);
}

.mac-icon {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

.windows-icon {
  background: linear-gradient(135deg, #0078D4 0%, #005A9E 100%);
}

.download-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #272727;
  font-weight: 700;
}

.download-card p {
  color: #757575;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.download-card-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, #ffa400 0%, #ffa600 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 164, 0, 0.3);
}

.download-card-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 164, 0, 0.4);
}
/* 下载直链展示 */
.download-direct {
  margin-top: 2rem;
  text-align: left;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

.download-direct-title {
  font-weight: 700;
  color: #272727;
  margin-bottom: 0.75rem;
}

.download-direct-item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.35rem 0;
  border-top: 1px dashed #e6e9ef;
}

.download-direct-item:first-child {
  border-top: none;
}

.download-direct-label {
  min-width: 90px;
  color: #555;
  font-weight: 600;
}

.download-direct-link {
  color: #ffa400;
  text-decoration: none;
  word-break: break-all;
}

.download-direct-link:hover {
  text-decoration: underline;
}


/* ==========================================================================
   联系我们
   ========================================================================== */

.contact {
  padding: 6rem 0;
  background: #ffffff;
  text-align: center;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-text {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  margin-top: 1.5rem;
  margin-bottom: 3rem;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-align: left;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.contact-item:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffa400;
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.contact-info h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  color: #272727;
  font-weight: 600;
}

.contact-info p {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
}

@media (max-width: 768px) {
  .contact-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-item {
    padding: 1.25rem;
  }
}

/* ==========================================================================
   关于我们
   ========================================================================== */

.about {
  padding: 8rem 0;
  background: linear-gradient(180deg, #f2f5f8 0%, #e8ecf1 100%);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #272727;
  margin-bottom: 2rem;
  text-align: center;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-item {
  background: #ffffff;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.value-item:hover {
  border-color: #ffa400;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 164, 0, 0.15);
}

.value-item h4 {
  font-size: 1.3rem;
  color: #ffa400;
  margin-bottom: 1rem;
  font-weight: 700;
}

.value-item p {
  color: #757575;
  line-height: 1.6;
}

/* ==========================================================================
   页脚
   ========================================================================== */

.footer {
  padding: 4rem 0 2rem;
  background: #272727;
  color: #ffffff;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo h3 {
  font-size: 1.5rem;
  color: #ffa400;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-logo p {
  color: #AAAAAA;
  font-size: 0.95rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #ffffff;
  font-weight: 600;
}

.footer-column a {
  display: block;
  color: #AAAAAA;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #ffa400;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: #AAAAAA;
  font-size: 0.9rem;
}

/* ==========================================================================
   响应式设计
   ========================================================================== */

@media only screen and (max-width: 1024px) {
  .section-title {
    font-size: 2.5rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .download-buttons {
    gap: 1rem;
  }

  .download-btn {
    min-width: 160px;
    padding: 0.9rem 1.5rem;
  }
}

@media only screen and (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .nav {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-item {
    padding: 1.5rem;
    min-width: 120px;
  }

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

  .download-btn {
    width: 100%;
    max-width: 300px;
  }

  .features-grid,
  .use-cases-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media only screen and (max-width: 480px) {
  .header .container {
    flex-direction: column;
    gap: 1rem;
  }

  .logo h1 {
    font-size: 1.2rem;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .download-title {
    font-size: 1.2rem;
  }

  .download-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .download-icon {
    width: 28px;
    height: 28px;
  }

  .download-label {
    font-size: 1rem;
  }

  .download-sub {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   辅助类
   ========================================================================== */

.hidden,
[hidden] {
  display: none !important;
}

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* ==========================================================================
   页面内容样式（使用帮助、联系我们）
   ========================================================================== */

.page-content {
  min-height: 100vh;
  padding: 120px 0 60px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.page-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 3rem;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ffa400 0%, #ffa600 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-body {
  line-height: 1.8;
  color: #333;
  font-size: 1.1rem;
}

.page-body h1,
.page-body h2,
.page-body h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #ffa400;
}

.page-body h1 {
  font-size: 2rem;
}

.page-body h2 {
  font-size: 1.5rem;
}

.page-body h3 {
  font-size: 1.25rem;
}

.page-body p {
  margin-bottom: 1rem;
}

.page-body ul,
.page-body ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.page-body li {
  margin-bottom: 0.5rem;
}

.page-body a {
  color: #ffa400;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-body a:hover {
  color: #ff8c00;
  text-decoration: underline;
}

.page-body code {
  background: #f5f5f5;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.page-body pre {
  background: #f5f5f5;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1rem 0;
}

.page-body blockquote {
  border-left: 4px solid #ffa400;
  padding-left: 1rem;
  margin: 1rem 0;
  color: #666;
  font-style: italic;
}

.page-back {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.page-back .btn {
  min-width: 150px;
}

@media (max-width: 768px) {
  .page-content-wrapper {
    padding: 2rem 1.5rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .page-body {
    font-size: 1rem;
  }
}

