/* ================================================================
   style.css — 衣袖 Yixiu Official Website
   Modern SaaS-style, responsive, clean design
   ================================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: #555;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #1a1a2e;
}

.lang-btn {
  padding: 6px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 20px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  border-color: #1a1a2e;
  color: #1a1a2e;
}

/* --- Hero Section --- */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.hero-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #1a1a2e;
}

.hero p {
  font-size: 20px;
  color: #666;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 12px;
  background: #1a1a2e;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-cta:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* --- Sections --- */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: #1a1a2e;
}

.section-header p {
  font-size: 18px;
  color: #888;
  max-width: 500px;
  margin: 0 auto;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px 28px;
  border-radius: 16px;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: #ffffff;
  border-color: #e0e0e0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
  color: white;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a2e;
}

.feature-card p {
  font-size: 15px;
  color: #777;
  line-height: 1.7;
}

/* --- Stats Section --- */
.stats-section {
  background: #fafafa;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 40px 20px;
}

.stat-item h3 {
  font-size: 28px;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 16px;
  color: #888;
}

/* --- Download Section --- */
.download-section {
  text-align: center;
}

.download-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.download-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  background: #ffffff;
  font-size: 15px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.3s ease;
}

.download-badge:hover {
  border-color: #1a1a2e;
  color: #1a1a2e;
}

.download-badge .badge-icon {
  font-size: 24px;
}

.coming-soon-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: #f0f0f0;
  font-size: 13px;
  font-weight: 600;
  color: #888;
  margin-bottom: 20px;
}

/* --- Footer --- */
.footer {
  padding: 32px 0;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 14px;
  color: #999;
}

.footer-icp-br {
  display: none;
}

.footer-icp {
  font-size: 12px;
  color: #bbb;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 14px;
  color: #777;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #1a1a2e;
}

/* --- Legal Pages (Privacy / Terms) --- */
.legal-page {
  padding: 100px 0 80px;
}

.legal-page .container {
  max-width: 800px;
}

.legal-page h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #1a1a2e;
}

.legal-page .last-updated {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 32px;
}

.legal-content {
  font-size: 15px;
  line-height: 1.85;
  color: #444;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid #f0f0f0;
}

.legal-content strong {
  color: #1a1a2e;
}

.legal-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  margin-top: 24px;
  margin-bottom: 8px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .header .container {
    height: 56px;
  }

  .nav-links {
    gap: 20px;
  }

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

  .hero {
    padding: 100px 0 48px;
  }

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

  .hero p {
    font-size: 17px;
  }

  .section {
    padding: 48px 0;
  }

  .section-header h2 {
    font-size: 28px;
  }

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

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .stat-item {
    padding: 24px 20px;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .legal-page h1 {
    font-size: 28px;
  }

  .legal-content h2 {
    font-size: 19px;
  }
}

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

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

  .nav-links {
    gap: 12px;
  }

  .lang-btn {
    padding: 4px 12px;
    font-size: 12px;
  }
}

/* --- Focus visible --- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #1a1a2e;
  outline-offset: 2px;
  border-radius: 4px;
}
