/* 银河云套餐中心 (yinheyun.shop) - 星河极光翠绿科技风 */
:root {
  --bg-base: #061512;
  --bg-elevated: #0d2420;
  --bg-card: #0f2b26;
  --bg-card-hover: #143630;
  --border-subtle: rgba(45, 212, 191, 0.16);
  --border-strong: rgba(16, 185, 129, 0.48);
  --emerald: #10b981;
  --emerald-bright: #34d399;
  --teal: #2dd4bf;
  --teal-soft: rgba(45, 212, 191, 0.12);
  --emerald-soft: rgba(16, 185, 129, 0.14);
  --text-primary: #ecfdf5;
  --text-secondary: #a7c4bc;
  --text-muted: #769990;
  --shadow-card: 0 14px 36px rgba(2, 12, 10, 0.45);
  --shadow-glow: 0 0 28px rgba(16, 185, 129, 0.24);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  background-color: var(--bg-base);
  background-image:
    radial-gradient(ellipse 80% 50% at 15% -10%, rgba(16, 185, 129, 0.16), transparent 60%),
    radial-gradient(ellipse 65% 45% at 88% 8%, rgba(45, 212, 191, 0.13), transparent 58%);
  color: var(--text-primary);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--emerald-bright);
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* 顶部导航栏 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 21, 18, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  color: #03110e;
  font-weight: 900;
  font-size: 1.05rem;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.4);
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.main-nav a {
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text-primary);
  background: var(--emerald-soft);
}

.main-nav a.nav-digest {
  color: var(--teal);
  border: 1px solid rgba(45, 212, 191, 0.32);
  background: rgba(45, 212, 191, 0.08);
}

.main-nav a.nav-digest:hover {
  background: rgba(45, 212, 191, 0.18);
  color: #ffffff;
}

/* 通用按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
  min-height: 48px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  color: #041511;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  color: #020c0a;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.42);
}

.btn-secondary {
  background: rgba(13, 36, 32, 0.9);
  color: var(--teal);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: rgba(16, 185, 129, 0.18);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--text-primary);
}

/* 首屏英雄区 */
.hero-section {
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--emerald-soft);
  border: 1px solid var(--border-strong);
  color: var(--emerald-bright);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: -0.01em;
  background: linear-gradient(120deg, #ecfdf5 20%, #34d399 70%, #2dd4bf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 24px;
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.metric-chip {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.metric-chip strong {
  display: block;
  font-size: 1.2rem;
  color: var(--teal);
  font-weight: 800;
}

.metric-chip span {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.region-note {
  background: rgba(13, 36, 32, 0.72);
  border-left: 3px solid var(--teal);
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.region-note strong {
  color: var(--text-primary);
}

.hero-visual {
  position: relative;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.14), rgba(13, 36, 32, 0.92));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.hero-visual img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
}

.hero-caption {
  margin-top: 12px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* 通用区块 */
.section {
  padding: 64px 0;
  border-bottom: 1px solid rgba(45, 212, 191, 0.09);
}

.section-alt {
  background: rgba(13, 36, 32, 0.36);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}

.section-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
}

.section-head p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

/* 网格与卡片 */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.card-illus {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background: rgba(6, 21, 18, 0.65);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 18px;
  border: 1px solid rgba(45, 212, 191, 0.12);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--text-primary);
}

.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald-bright);
  font-size: 0.82rem;
  font-weight: 600;
}

/* 套餐定价卡片 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 38px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
}

.plan-card.featured {
  border: 2px solid var(--emerald);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.15) 0%, var(--bg-card) 45%);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.plan-ribbon {
  position: absolute;
  top: -12px;
  right: 18px;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  color: #03120e;
  font-size: 0.78rem;
  font-weight: 800;
}

.plan-name {
  margin: 0 0 6px;
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-primary);
}

.plan-desc {
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  min-height: 42px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border-subtle);
}

.plan-price .amount {
  font-size: 2.15rem;
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
}

.plan-price .unit {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex-grow: 1;
}

.plan-features li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--emerald-bright);
  font-weight: 900;
}

.plan-card .btn {
  width: 100%;
}

/* 参数矩阵对比表 */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 15px 18px;
  border-bottom: 1px solid rgba(45, 212, 191, 0.12);
  font-size: 0.94rem;
}

.compare-table thead th {
  background: rgba(16, 185, 129, 0.14);
  color: var(--text-primary);
  font-weight: 800;
}

.compare-table tbody tr:hover {
  background: rgba(45, 212, 191, 0.05);
}

.compare-table td:first-child {
  font-weight: 700;
  color: var(--text-primary);
}

.highlight-cell {
  color: var(--emerald-bright);
  font-weight: 700;
}

/* 客户端下载专区 */
.download-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.download-os {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--emerald-soft);
  color: var(--emerald-bright);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.download-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.download-card p {
  margin: 0 0 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.download-card .btn {
  width: 100%;
}

/* 生态主站推荐卡片 */
.eco-banner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(13, 36, 32, 0.95));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.eco-banner h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  color: var(--text-primary);
}

.eco-banner p {
  margin: 0;
  color: var(--text-secondary);
}

.eco-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 用户评价 */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.review-stars {
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.review-text {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.review-meta {
  font-size: 0.86rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(45, 212, 191, 0.12);
  padding-top: 12px;
}

.review-meta strong {
  color: var(--teal);
}

/* 常见问题手风琴 */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item[open] summary {
  border-bottom: 1px solid rgba(45, 212, 191, 0.14);
  background: rgba(16, 185, 129, 0.08);
}

.faq-body {
  padding: 16px 22px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

/* 资讯与文章页样式 */
.page-hero {
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.09), transparent);
}

.breadcrumb {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--teal);
}

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.3;
  color: var(--text-primary);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.article-shell {
  padding: 42px 0 64px;
}

.article-content {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 38px 40px;
  box-shadow: var(--shadow-card);
}

.article-content h2 {
  margin: 34px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(45, 212, 191, 0.18);
  font-size: 1.42rem;
  color: var(--emerald-bright);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  margin: 24px 0 10px;
  font-size: 1.15rem;
  color: var(--teal);
}

.article-content p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.9;
}

.article-content ul,
.article-content ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--text-secondary);
}

.article-content li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.callout-box {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 24px 0;
}

.callout-box strong {
  color: var(--text-primary);
}

.digest-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
}

.digest-card h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.45;
}

.digest-card h2 a {
  color: var(--text-primary);
}

.digest-card h2 a:hover {
  color: var(--teal);
}

.digest-card p {
  margin: 0 0 18px;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.digest-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(45, 212, 191, 0.12);
  padding-top: 14px;
}

/* 页脚 */
.site-footer {
  background: #040f0d;
  border-top: 1px solid var(--border-subtle);
  padding: 36px 0;
}

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

.footer-brand {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-brand strong {
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--teal);
}

/* 响应式适配 */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .eco-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav {
    width: 100%;
    gap: 6px;
  }
  .main-nav a {
    padding: 7px 10px;
    font-size: 0.88rem;
  }
  .hero-section {
    padding: 40px 0 36px;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .grid-3,
  .grid-2,
  .grid-4,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .article-content {
    padding: 24px 18px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
