/* ========== 全局样式 Reset ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f9f9f9;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

/* ========== 顶部导航 ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #e0e0e0;
  z-index: 100;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo img {
  height: 40px;
}
.app-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.5px;
}
.badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  margin-left: 0.3rem;
}

.nav-links-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #555;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: #5865F2;
}

.btn-download {
  background: linear-gradient(135deg, #5865F2 0%, #7289da 100%);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}

.nav-spacer {
  height: 64px;
}

/* ========== Hero 横幅 ========== */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f64f59 100%);
  color: #ffffff;
  padding: 5rem 1rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="2" fill="rgba(255,255,255,0.08)"/></svg>');
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.hero p.subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.hero .btn-group {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.hero .btn-primary {
  background-color: #fff;
  color: #5865F2;
  padding: 0.85rem 1.8rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.hero .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.hero .btn-secondary {
  background: transparent;
  color: #fff;
  padding: 0.85rem 1.8rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s;
}
.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}
.hero .hero-image {
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.hero .hero-image img {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero .hero-image img {
    max-width: 95%;
    border-radius: 12px;
  }
}

/* ========== 为什么选择 Section ========== */
.why-choose {
  background: #fff;
  padding: 4rem 1rem;
}
.why-choose .container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.why-choose h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: #222;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-card {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.why-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.why-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}
.why-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ========== 功能亮点 Section ========== */
.features {
  background-color: #f9f9f9;
  padding: 4rem 1rem;
}
.features .container {
  max-width: 1100px;
  margin: 0 auto;
}
.features h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #222;
}

.feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4rem;
  gap: 3rem;
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1 1 400px;
  min-width: 280px;
}

.feature-header-horizontal {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-emoji {
  font-size: 1.8rem;
}

.feature-header-horizontal h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.feature-subtitle {
  font-size: 0.95rem;
  color: #5865F2;
  font-weight: 500;
  margin-bottom: 1rem;
  font-style: italic;
}

.feature-list {
  list-style: none;
  padding: 0;
}
.feature-list li {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #5865F2;
  font-weight: bold;
}

.feature-image {
  flex: 1 1 350px;
  min-width: 280px;
  text-align: center;
}
.feature-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
  .feature-row,
  .feature-row.reverse {
    flex-direction: column !important;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .feature-text,
  .feature-image {
    min-width: 0;
    text-align: center;
  }
}

/* ========== 屏幕截图 Section ========== */
.screenshots {
  background-color: #fff;
  padding: 4rem 1rem;
}
.screenshots .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.screenshots h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #222;
}
.section-desc {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
}
.screenshot-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.5rem;
  padding: 1rem 0.5rem 1.5rem;
  -webkit-overflow-scrolling: touch;
}
.screenshot-carousel::-webkit-scrollbar {
  height: 8px;
}
.screenshot-carousel::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
.screenshot-carousel::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}
.screenshot-carousel img {
  flex: 0 0 auto;
  height: 400px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  scroll-snap-align: center;
  transition: transform 0.3s;
}
.screenshot-carousel img:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .screenshot-carousel img {
    height: 300px;
  }
}

/* ========== 个性化设计 Section ========== */
.themes {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  padding: 4rem 1rem;
}
.themes .container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.themes h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: #222;
}
.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.theme-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.theme-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.theme-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.theme-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}
.theme-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

.theme-preview {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}
.theme-sample {
  width: 180px;
  height: 120px;
  border-radius: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s;
}
.theme-sample:hover {
  transform: scale(1.05);
}
.theme-sample.dark {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid #333;
}
.theme-sample.dark .theme-label {
  color: #fff;
}
.theme-sample.light {
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f5 100%);
  border: 1px solid #e0e0e0;
}
.theme-sample.light .theme-label {
  color: #333;
}
.theme-label {
  font-size: 0.85rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .theme-grid {
    grid-template-columns: 1fr;
  }
  .theme-preview {
    flex-direction: column;
    align-items: center;
  }
}

/* ========== 技术支持 Section ========== */
.tech-support {
  background: #fff;
  padding: 3rem 1rem;
}
.tech-support .container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.tech-support h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #666;
}
.tech-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.tech-item img {
  height: 40px;
  width: auto;
  filter: grayscale(30%);
  opacity: 0.8;
  transition: all 0.3s;
}
.tech-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}
.tech-item span {
  font-size: 0.85rem;
  color: #888;
}

/* ========== 下载安装 Section ========== */
.cta {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 5rem 1rem;
  text-align: center;
}
.cta .container {
  max-width: 700px;
  margin: 0 auto;
}
.cta h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}
.cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}
.btn-chrome {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  color: #333;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.btn-chrome:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.chrome-icon {
  flex-shrink: 0;
}
.store-info {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ========== 常见问题 Section ========== */
.faq {
  background-color: #f9f9f9;
  padding: 4rem 1rem;
}
.faq .container {
  max-width: 800px;
  margin: 0 auto;
}
.faq h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: #222;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s;
}
.faq-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #5865F2;
}
.faq-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* ========== 底部 Footer ========== */
footer {
  background-color: #1a1a2e;
  color: #fff;
  padding: 3rem 1rem 2rem;
}
.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}
.footer-logo img {
  height: 40px;
  margin-bottom: 1rem;
}
.footer-logo p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}
.footer-links ul {
  min-width: 100px;
}
.footer-links li {
  margin-bottom: 0.6rem;
}
.footer-links li strong {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: block;
}
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #fff;
}

/* ========== 响应式调整 ========== */
@media (max-width: 700px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .nav-links-group {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .nav-links {
    gap: 0.75rem;
  }
  .nav-links a {
    font-size: 0.85rem;
    white-space: nowrap;
  }
  .btn-download {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  .badge {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero .btn-group {
    flex-direction: column;
    gap: 0.75rem;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
}
