* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.6;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ============ Topbar Navigation ============ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.menu-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.menu-link:hover {
  color: #ffffff;
}

.menu-link.active {
  color: #10b981;
}

.menu-link.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: #10b981;
}

/* ============ Hero Section ============ */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0d4f3f 100%);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid #10b981;
  color: #10b981;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  animation: slideInUp 0.6s ease;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  animation: slideInUp 0.8s ease 0.1s both;
}

.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: slideInUp 1s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: slideInUp 1.2s ease 0.3s both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  animation: slideInUp 1.4s ease 0.4s both;
}

.hero-stat-val {
  font-size: 32px;
  font-weight: 700;
  color: #10b981;
}

.hero-stat-lbl {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
}

/* ============ Buttons ============ */
.btn {
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 16px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* ============ Section Layout ============ */
.sec {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.sec-alt {
  background: #f8f9fa;
}

.sec-head {
  text-align: center;
  margin-bottom: 60px;
}

.sec-label {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.sec-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #0f172a;
}

.sec-sub {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* ============ Feature Cards Grid ============ */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.feat-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  animation: slideInUp 0.6s ease;
}

.feat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15);
  border-color: #10b981;
}

.feat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(13, 79, 63, 0.1));
  border-radius: 12px;
}

.feat-icon svg {
  width: 32px;
  height: 32px;
  color: #10b981;
}

.feat-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0f172a;
}

.feat-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ============ Platform Cards ============ */
.plat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.plat-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.plat-card:hover {
  border-color: #10b981;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.1);
}

.plat-ico {
  width: 48px;
  height: 48px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plat-ico svg {
  width: 32px;
  height: 32px;
  color: #10b981;
}

.plat-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}

.plat-ver {
  font-size: 12px;
  color: #999;
  margin-bottom: 15px;
}

/* ============ Deep Feature Rows ============ */
.deep-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.deep-row.rev {
  grid-template-columns: 1fr 1fr;
}

.deep-row.rev .deep-info {
  order: 2;
}

.deep-row.rev .deep-visual {
  order: 1;
}

.deep-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 15px;
}

.deep-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #0f172a;
}

.deep-desc {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

.deep-visual {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(13, 79, 63, 0.1));
  border-radius: 12px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  font-size: 14px;
}

@media (max-width: 768px) {
  .deep-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .deep-row.rev .deep-info,
  .deep-row.rev .deep-visual {
    order: unset;
  }
}

/* ============ Review Cards ============ */
.rev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.rev-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
}

.rev-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.rev-stars {
  color: #fbbf24;
  font-size: 14px;
  margin-bottom: 15px;
}

.rev-text {
  font-size: 15px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.rev-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rev-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
}

.rev-name {
  font-weight: 600;
  color: #0f172a;
  font-size: 14px;
}

.rev-role {
  font-size: 12px;
  color: #999;
}

/* ============ Comparison Table ============ */
.cmp-wrap {
  overflow-x: auto;
  margin-bottom: 40px;
}

.cmp-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.cmp-table th {
  background: #f3f4f6;
  padding: 16px;
  text-align: left;
  font-weight: 700;
  color: #0f172a;
  border-bottom: 2px solid #e5e7eb;
}

.cmp-table td {
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
  color: #666;
}

.cmp-table tr:last-child td {
  border-bottom: none;
}

.cmp-table .hl {
  background: rgba(16, 185, 129, 0.05);
  font-weight: 600;
  color: #10b981;
}

/* ============ FAQ Accordion ============ */
.faq-list {
  list-style: none;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #10b981;
}

.faq-question {
  padding: 20px;
  background: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #0f172a;
  user-select: none;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: #10b981;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #f8f9fa;
  color: #666;
  font-size: 15px;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  padding: 20px;
  max-height: 500px;
}

/* ============ CTA Block ============ */
.cta-block {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0d4f3f 100%);
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 12px;
  margin-bottom: 40px;
}

.cta-block-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 15px;
}

.cta-block-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ Download Page Styles ============ */
.dl-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0d4f3f 100%);
  color: #ffffff;
  padding: 60px 20px;
}

.dl-main {
  max-width: 900px;
  margin: 0 auto;
}

.dl-main-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
}

.dl-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.dl-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dl-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.dl-spec {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dl-spec-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.dl-spec-val {
  font-size: 16px;
  font-weight: 700;
}

/* ============ Guide Steps ============ */
.guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.gstep {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
}

.gstep-num {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.gstep-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f172a;
}

.gstep-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ============ System Requirements ============ */
.req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.req-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 25px;
}

.req-card-title {
  font-weight: 700;
  margin-bottom: 15px;
  color: #0f172a;
}

.req-card-item {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.req-card-item::before {
  content: '✓';
  color: #10b981;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============ Version Timeline ============ */
.ver-list {
  list-style: none;
}

.ver-item {
  padding: 25px;
  background: #ffffff;
  border-left: 3px solid #10b981;
  border-radius: 0 8px 8px 0;
  margin-bottom: 15px;
  border: 1px solid #e5e7eb;
  border-left: 3px solid #10b981;
}

.ver-tag {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ver-date {
  font-size: 13px;
  color: #999;
  margin-bottom: 10px;
}

.ver-body {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ============ Article Layout (zh-cn.html) ============ */
.article-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0d4f3f 100%);
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.article-hero-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
}

.article-hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

.kw-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 30px;
}

.kw {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

.article-body {
  color: #333;
}

.article-body h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 20px;
  color: #0f172a;
}

.article-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 30px 0 15px;
  color: #0f172a;
}

.article-body p {
  font-size: 15px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.8;
}

.article-body ul, .article-body ol {
  margin: 15px 0 15px 20px;
  color: #666;
  font-size: 15px;
}

.article-body li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.inline-cta {
  background: rgba(16, 185, 129, 0.1);
  border-left: 3px solid #10b981;
  padding: 20px;
  border-radius: 0 8px 8px 0;
  margin: 30px 0;
  text-align: center;
}

.inline-cta-text {
  font-size: 15px;
  color: #0f172a;
  margin-bottom: 15px;
}

/* ============ Sidebar ============ */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sbox {
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px;
}

.sbox-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #0f172a;
}

.sbox-item {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sbox-item::before {
  content: '→';
  color: #10b981;
  font-weight: 700;
}

.stoc {
  list-style: none;
}

.stoc-item {
  margin-bottom: 10px;
}

.stoc-link {
  color: #10b981;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.stoc-link:hover {
  color: #059669;
  text-decoration: underline;
}

.sstat {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sstat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.sstat-num {
  font-weight: 700;
  color: #10b981;
  font-size: 16px;
}

.side-security {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid #10b981;
  border-radius: 8px;
  padding: 15px;
  font-size: 13px;
  color: #0f172a;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .sbox {
    flex: 1;
    min-width: 200px;
  }
}

/* ============ Security Banner ============ */
.sec-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(13, 79, 63, 0.1));
  border: 1px solid #10b981;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  margin-bottom: 40px;
}

.sec-banner-title {
  font-size: 18px;
  font-weight: 700;
  color: #10b981;
  margin-bottom: 10px;
}

.sec-banner-text {
  font-size: 14px;
  color: #0f172a;
  line-height: 1.6;
}

/* ============ Footer ============ */
.site-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 20px;
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
}

.footer-brand {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-security {
  color: #10b981;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

/* ============ Responsive Design ============ */
@media (max-width: 768px) {
  .topbar-inner {
    height: 60px;
  }

  .menu {
    gap: 20px;
  }

  .menu-link {
    font-size: 14px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .sec-title {
    font-size: 28px;
  }

  .feat-grid {
    grid-template-columns: 1fr;
  }

  .deep-row {
    grid-template-columns: 1fr;
  }

  .dl-main-title {
    font-size: 28px;
  }

  .dl-specs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  .sec-title {
    font-size: 22px;
  }

  .menu {
    gap: 15px;
  }

  .menu-link {
    font-size: 13px;
  }

  .dl-specs {
    grid-template-columns: 1fr;
  }
}
