/* 悦木云官网 - 与插件后台一起部署 */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1f2937;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 64px;
}
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 32px; }

/* Header - 固定顶部 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 14px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #111827;
}
.logo-wrap:hover { text-decoration: none; color: #2563eb; }
.logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.logo-text {
  font-size: 22px;
  font-weight: 700;
}
.nav { display: flex; gap: 28px; }
.nav a {
  color: #4b5563;
  font-size: 16px;
  font-weight: 600;
}
.nav a:hover { color: #2563eb; }

/* Intro */
.intro {
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #14b8a6 100%);
  color: #fff;
  padding: 48px 24px;
  text-align: center;
}
.intro h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.intro-desc {
  font-size: 16px;
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto;
}
.intro-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.intro .btn-primary {
  margin-top: 0;
  background: #fff;
  color: #0d9488;
}
.intro .btn-primary:hover {
  background: #f0fdfa;
  color: #0f766e;
}
.intro-hint {
  font-size: 14px;
  opacity: 0.9;
  margin-top: 12px;
}

/* 插件功能一览 */
.plugin-features {
  background: #f9fafb;
  padding: 40px 24px;
}
.plugin-features h2 {
  font-size: 22px;
  text-align: center;
  margin-bottom: 28px;
  color: #111827;
}
.feature-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}
@media (max-width: 1000px) {
  .feature-cats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .feature-cats { grid-template-columns: 1fr; }
}
.feature-cat {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px;
}
.feature-cat h3 {
  font-size: 16px;
  color: #0d9488;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-cat h3 img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.feature-cat p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

/* Stores - 插件商店 & 资产商店 */
.stores { padding: 48px 24px; }
.stores h2 {
  font-size: 22px;
  text-align: center;
  margin-bottom: 28px;
  color: #111827;
}
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.store-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.store-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  border-color: #0d9488;
  text-decoration: none;
  color: inherit;
}
.store-icon { font-size: 40px; margin-bottom: 12px; }
.store-card h3 { font-size: 18px; margin-bottom: 10px; color: #111827; }
.store-card p { font-size: 14px; color: #6b7280; line-height: 1.6; }

/* Plugin intro */
.plugin-intro {
  background: #f9fafb;
  padding: 40px 24px;
}
.plugin-intro h2 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 20px;
  color: #111827;
}
.plugin-intro-lead {
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 1.8;
  color: #374151;
  font-size: 15px;
  text-align: center;
}
.intro-sub {
  font-size: 16px;
  color: #0d9488;
  margin-bottom: 12px;
  text-align: center;
}
.intro-list {
  max-width: 560px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.intro-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: #4b5563;
}
.intro-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #0d9488;
  font-weight: bold;
}

/* Download section */
.download-section {
  padding: 48px 24px;
  text-align: center;
}
.download-section h2 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #111827;
}
.download-section p {
  margin-bottom: 20px;
  color: #6b7280;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.05s;
}
.btn:hover { opacity: 0.9; text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: #fff;
  color: #0d9488;
  border: none;
}
.btn-primary:hover { background: #f0fdfa; color: #0f766e; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.8);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }

.download-section .btn-primary {
  background: #0d9488;
  color: #fff;
}
.download-section .btn-primary:hover {
  background: #0f766e;
  color: #fff;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 24px;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
  border-top: 1px solid #e5e7eb;
}
.site-footer a { color: #4b5563; }
.site-footer a:hover { color: #2563eb; }
.site-footer .icp { margin-top: 8px; font-size: 12px; color: #9ca3af; }
.site-footer .icp a { color: #9ca3af; }
.site-footer .icp a:hover { color: #6b7280; }
.site-footer .icp .beian-icon { vertical-align: middle; height: 16px; width: 16px; margin-right: 5px; display: inline-block; }
.copyright { margin-top: 8px; font-size: 13px; }

/* Page: about / download */
.page-main { padding: 48px 32px 64px; max-width: 1000px; margin: 0 auto; }
.page-main h1 { font-size: 28px; margin-bottom: 16px; color: #111827; }
.page-main h2 { font-size: 20px; margin: 24px 0 12px; color: #374151; }
.page-main p { margin-bottom: 12px; color: #4b5563; }
.page-main ul { margin: 12px 0 12px 24px; color: #4b5563; }
.page-main li { margin-bottom: 6px; }
.page-main .back { display: inline-block; margin-bottom: 24px; }
.page-main .btn-primary {
  background: #0d9488;
  color: #fff;
}
.page-main .btn-primary:hover {
  background: #0f766e;
  color: #fff;
}
.page-main code {
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: #374151;
}
