/* --- Crimson Folio / Modern Editorial Theme --- */

/* 1. Global Styles & Variables */
:root {
  --bg-white: #fdfcfc;
  --surface: #ffffff;
  --ink: #1c1917;
  --ink-light: #44403c;
  --ink-lighter: #78716c;
  --crimson: #c21a39;
  --crimson-dark: #a0162f;
  --crimson-light: #fde8eb;
  --border-color: #e7e5e4;
  --blue: #2563eb;
  --teal: #0d9488;
  --violet: #7c3aed;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background-color: var(--bg-white);
  color: var(--ink-light);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
}

a { color: var(--crimson); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sec {
  padding: 80px 0;
}
.sec-alt {
    background-color: #f7f7f7;
}

.sec-head {
  text-align: center;
  margin-bottom: 60px;
}

.sec-tag {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--crimson-light);
  color: var(--crimson);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
}

.sec-title {
  font-size: 36px;
  margin-bottom: 16px;
}

.sec-sub {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  color: var(--ink-light);
}

/* 2. Buttons */
.btn {
  display: inline-block;
  font-weight: 500;
  border-radius: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
  text-align: center;
}

.btn-red {
  background-color: var(--crimson);
  color: white;
  border-color: var(--crimson);
}
.btn-red:hover {
  background-color: var(--crimson-dark);
  border-color: var(--crimson-dark);
  color: white;
  text-decoration: none;
}

.btn-outline {
  background-color: transparent;
  color: var(--crimson);
  border-color: var(--crimson);
}
.btn-outline:hover {
  background-color: var(--crimson-light);
  text-decoration: none;
}

.btn-ghost {
    background-color: transparent;
    color: var(--ink-light);
    border-color: var(--border-color);
}
.btn-ghost:hover {
    background-color: #f7f7f7;
    border-color: #ccc;
    text-decoration: none;
}

.btn-lg { padding: 16px 32px; font-size: 18px; }
.btn-sm { padding: 8px 16px; font-size: 14px; }

/* 3. Navigation */
.v-nav {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
}

.v-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.v-nav-brand {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}
.v-nav-brand:hover { text-decoration: none; }

.v-nav-brand svg {
  width: 32px;
  height: 32px;
  margin-right: 10px;
}

.v-nav-links {
  display: flex;
  gap: 32px;
}

.v-nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-light);
  padding: 8px 0;
  position: relative;
}
.v-nav-link:hover { color: var(--ink); text-decoration: none; }

.v-nav-link.on {
  color: var(--crimson);
  font-weight: 600;
}
.v-nav-link.on::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--crimson);
}

.v-nav-cta { display: flex; align-items: center; }

/* 4. Hero Section */
.hero {
  padding: 80px 0;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text .tag {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--crimson-light);
  color: var(--crimson);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-text .title {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-text .desc {
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-actions { display: flex; gap: 16px; }

.hero-visual {
  position: relative;
  height: 400px;
}

.hero-panel {
  position: absolute;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-panel-1 { width: 80%; height: 80%; top: 0; left: 0; z-index: 3; }
.hero-panel-2 { width: 70%; height: 70%; bottom: 0; right: 0; z-index: 2; background-color: #f7f7f7; }

.hp-bar { height: 28px; background: #f0f0f0; border-bottom: 1px solid var(--border-color); }
.hp-body { padding: 20px; }
.hp-line { height: 12px; background: #e0e0e0; border-radius: 4px; margin-bottom: 12px; }
.hp-line.hl { background-color: var(--crimson-light); }

/* 5. Feature Grid */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feat-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.2s ease;
}
.feat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.07);
}

.feat-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}
.feat-icon.red { color: var(--crimson); }
.feat-icon.blue { color: var(--blue); }
.feat-icon.teal { color: var(--teal); }

.feat-name {
  font-size: 20px;
  margin-bottom: 12px;
}

.feat-desc { font-size: 15px; }

/* 6. Platform Section */
.plat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.plat-card {
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 24px;
  text-align: center;
  transition: all 0.2s ease;
}
.plat-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.07); }

.plat-card.featured {
  background-color: var(--ink);
  color: white;
  border-color: var(--ink);
}
.plat-card.featured .plat-name { color: white; }
.plat-card.featured .plat-ver { color: #aaa; }

.plat-icon { width: 48px; height: 48px; margin: 0 auto 16px; }
.plat-name { font-size: 18px; font-weight: 600; margin-bottom: 4px; color: var(--ink); }
.plat-ver { font-size: 14px; color: var(--ink-light); margin-bottom: 16px; }

/* 7. Showcase Section */
.show-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}
.show-row.flip { grid-template-columns: 1fr 1fr; }
.show-row.flip .show-info { order: 2; }
.show-row.flip .show-visual { order: 1; }

.show-info .tag {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--crimson-light);
  color: var(--crimson);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

.show-title {
  font-size: 28px;
  margin-bottom: 16px;
}

.show-desc { margin-bottom: 24px; }

.show-list {
  list-style: none;
  padding: 0;
  display: flex; 
  flex-direction: column;
  gap: 12px;
}

.show-list li {
  display: flex;
  align-items: center;
}

.show-list li svg {
  width: 20px;
  height: 20px;
  color: var(--crimson);
  margin-right: 12px;
  flex-shrink: 0;
}

.show-visual {
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border-color);
  padding: 20px;
}

/* 8. Reviews Section */
.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rev-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
}

.rev-stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
  margin-bottom: 12px;
}
.rev-stars svg { width: 16px; height: 16px; }

.rev-text { margin-bottom: 16px; font-style: italic; }

.rev-author {
  display: flex;
  align-items: center;
}

.rev-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--crimson);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 12px;
}

.rev-name { font-weight: 600; color: var(--ink); }
.rev-role { font-size: 14px; }

/* 9. Comparison Table */
.cmp-scroll { overflow-x: auto; }
.cmp-tbl {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.cmp-tbl th, .cmp-tbl td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.cmp-tbl th { font-weight: 600; color: var(--ink); font-size: 14px; text-transform: uppercase; }
.cmp-tbl td:first-child { font-weight: 500; color: var(--ink); }
.cmp-tbl td { text-align: center; }
.cmp-tbl th:first-child { text-align: left; }

.cmp-hl { background-color: var(--crimson-light); }
.ck { color: #16a34a; font-size: 24px; }
.cx { color: #ef4444; font-size: 24px; }
.pt { color: #f59e0b; font-size: 24px; }

/* 10. FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}

.faq-chevron {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-a-inner {
  padding-bottom: 20px;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-item.open .faq-a { max-height: 300px; }

/* 11. CTA Block */
.cta-block {
  background-color: var(--ink);
  color: white;
  padding: 60px;
  border-radius: 16px;
  text-align: center;
}

.cta-h2 { font-size: 32px; color: white; margin-bottom: 16px; }
.cta-p { color: #d1d5db; margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* 12. Footer */
.v-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  font-size: 14px;
  color: var(--ink-lighter);
  text-align: center;
}

.v-footer-inner { display: flex; flex-direction: column; gap: 12px; }
.v-footer-safe { font-weight: 500; color: var(--ink-light); }

/* --- Download Page Specific --- */
.dl-hero {
    padding: 60px 0;
    text-align: center;
}
.dl-hero-h1 { font-size: 40px; margin-bottom: 12px; }
.dl-hero-p { font-size: 18px; max-width: 600px; margin: 0 auto 32px; }

.dl-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: flex-start;
}

.dl-card {
    background-color: var(--surface);
    border: 2px solid var(--crimson);
    border-radius: 12px;
    padding: 32px;
}

.dl-card-top {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}
.dl-card-icon { width: 64px; height: 64px; margin-right: 20px; }
.dl-card-name { font-size: 28px; font-weight: 700; }
.dl-card-meta { font-size: 14px; color: var(--ink-light); }

.dl-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.dl-spec { font-size: 15px; }

.dl-card-btns { display: flex; gap: 16px; }

.op-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.op-tile {
    background-color: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.op-ico { width: 40px; height: 40px; }
.op-nm { font-size: 18px; font-weight: 600; color: var(--ink); }
.op-ver { font-size: 14px; color: var(--ink-light); }
.op-btn { margin-left: auto; }

/* Guide Section */
.guide-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.guide-col-title { font-size: 22px; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.guide-col-dot { width: 12px; height: 12px; border-radius: 50%; }
.guide-col-dot.gcd-red { background-color: var(--crimson); }
.guide-col-dot.gcd-blue { background-color: var(--blue); }

.guide-steps { display: flex; flex-direction: column; gap: 20px; }
.gstep { display: flex; gap: 16px; }
.gstep-num { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background-color: var(--crimson-light); color: var(--crimson); font-weight: 600; display: flex; align-items: center; justify-content: center; }
.gstep-num.gn-blue { background-color: #e0e7ff; color: var(--blue); }
.gstep-title { font-size: 16px; font-weight: 600; margin-bottom: 4px; color: var(--ink); }
.gstep-desc { font-size: 14px; }

/* Version List */
.ver-list { display: flex; flex-direction: column; gap: 24px; }
.ver-item { display: flex; gap: 20px; }
.ver-dot-col { display: flex; flex-direction: column; align-items: center; }
.ver-dot { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; }
.ver-dot.vd-r { background-color: var(--crimson); }
.ver-dot.vd-b { background-color: var(--blue); }
.ver-dot.vd-t { background-color: var(--teal); }
.ver-line { flex-grow: 1; width: 2px; background-color: var(--border-color); margin: 8px 0; }
.ver-item:last-child .ver-line { display: none; }

.ver-body { border: 1px solid var(--border-color); border-radius: 8px; padding: 16px; width: 100%; }
.ver-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.ver-num { font-size: 18px; font-weight: 600; color: var(--ink); }
.ver-tag { font-size: 12px; padding: 2px 8px; border-radius: 99px; background-color: #eee; color: #555; }
.ver-date { margin-left: auto; font-size: 14px; color: var(--ink-light); }

/* --- ZH-CN Page Specific --- */
.art-hero {
    padding: 60px 0;
    background-color: #f7f7f7;
    border-bottom: 1px solid var(--border-color);
}
.art-hero-h1 { font-size: 36px; text-align: center; margin-bottom: 12px; }
.art-hero-p { font-size: 18px; text-align: center; color: var(--ink-light); max-width: 700px; margin: 0 auto 24px; }
.kw-band { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.kw { background-color: var(--surface); border: 1px solid var(--border-color); padding: 4px 12px; border-radius: 99px; font-size: 14px; }

.art-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    margin-top: 40px;
}

.art-body h2 { font-size: 28px; margin: 40px 0 20px; border-bottom: 2px solid var(--crimson-light); padding-bottom: 8px; }
.art-body h3 { font-size: 22px; margin: 24px 0 12px; }
.art-body p, .art-body ul, .art-body ol { margin-bottom: 16px; }
.art-body ul, .art-body ol { padding-left: 20px; }
.art-body strong { color: var(--ink); }

.inline-cta {
    background-color: var(--crimson-light);
    border-radius: 12px;
    padding: 32px;
    margin: 32px 0;
    text-align: center;
}
.inline-cta-title { font-size: 24px; margin-bottom: 8px; }
.inline-cta-desc { margin-bottom: 20px; }

.sidebar { position: sticky; top: 100px; }
.side-box { background-color: #f7f7f7; border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.side-box-title { font-size: 18px; font-weight: 600; margin-bottom: 16px; border-bottom: 1px solid var(--border-color); padding-bottom: 12px; }
.stoc { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.stoc a { color: var(--ink-light); }
.stoc a:hover { color: var(--crimson); }

.side-safe { font-size: 13px; text-align: center; }
.side-safe svg { width: 24px; height: 24px; color: #16a34a; margin: 0 auto 8px; }

/* Animation */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-text .desc { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .rev-grid { grid-template-columns: 1fr; }
  .dl-main { grid-template-columns: 1fr; }
  .op-grid { margin-top: 32px; }
  .guide-dual { grid-template-columns: 1fr; }
  .art-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 768px) {
  .v-nav-links { display: none; } /* Basic mobile nav handling */
  .sec { padding: 60px 0; }
  .sec-title { font-size: 32px; }
  .hero-text .title { font-size: 40px; }
  .feat-grid { grid-template-columns: 1fr; }
  .plat-grid { grid-template-columns: 1fr 1fr; }
  .show-row, .show-row.flip { grid-template-columns: 1fr; gap: 40px; }
  .show-row .show-info { order: 2; text-align: center; }
  .show-row .show-visual { order: 1; }
}
