:root {
  --bg-color: #f2f6f4;
  --surface-color: #ffffff;
  --surface-subtle: #e5eeea;
  --text-main: #14231c;
  --text-muted: #5a6f66;
  --text-light: #8aa094;
  --accent: #0f766e;
  --accent-hover: #115e59;
  --accent-light: #ccfbf1;
  --accent-text: #ffffff;
  --border-color: #d5e3dc;
  --card-shadow: 0 8px 24px rgba(20, 35, 28, 0.05);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --container-width: 1040px;
  --narrow-width: 780px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  background: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.narrow-container {
  width: 100%;
  max-width: var(--narrow-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 246, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  height: 72px;
  display: flex;
  align-items: center;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
}

.brand-group img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--text-main); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.22);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 6px 16px rgba(17, 94, 89, 0.28);
}

.btn-secondary {
  background-color: var(--surface-color);
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--surface-subtle);
  border-color: var(--text-light);
}

.hero-center {
  padding: 84px 0 60px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--text-main);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-preview {
  max-width: 680px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 16px 36px rgba(20, 35, 28, 0.08);
}

.hero-preview img {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 4px);
  object-fit: cover;
}

.stats-section { padding: 40px 0 60px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--card-shadow);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.section-spacing { padding: 70px 0; }

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-icon-bar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.platform-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(20, 35, 28, 0.09);
}

.platform-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--surface-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent);
}

.platform-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.platform-ver {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.2rem;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.bottom-cta-section {
  background: var(--surface-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 80px 0;
  text-align: center;
}

.bottom-cta-section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.bottom-cta-section p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.site-footer {
  background: var(--bg-color);
  padding: 60px 0 30px;
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .brand-group { margin-bottom: 14px; }

.footer-brand p {
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-muted);
}

.footer-col a:hover { color: var(--text-main); }

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  color: var(--text-light);
  font-size: 0.85rem;
}

.download-page-hero {
  padding: 72px 0 40px;
  text-align: center;
}

.download-page-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.download-page-hero p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 28px;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-title { font-size: 2rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-preview { display: none; }
}

@media (max-width: 680px) {
  .hero-actions {
    flex-direction: column;
    padding: 0 20px;
  }
  .hero-actions .btn { width: 100%; }
  .platforms-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
