/* Midnight Ocean Theme - WPS Office Landing */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #1e293b;
  background: #ffffff;
}

/* ===== Animations ===== */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== Navigation ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  color: #0f172a;
}
.nav-brand-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-brand-icon svg { width: 20px; height: 20px; fill: white; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  padding: 8px 16px;
  text-decoration: none;
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 20px;
  transition: all 0.2s;
}
.nav-link:hover { color: #0f172a; background: #f1f5f9; }
.nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
}
.nav-dl {
  margin-left: 16px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  border: none;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-dl:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(220,38,38,0.3); }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
}

/* ===== Layout ===== */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sec { padding: 80px 0; }
.sec-dark { background: linear-gradient(180deg, #0f172a 0%, #1e3a5f 100%); color: white; }
.sec-gray { background: #f8fafc; }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #dbeafe;
  color: #0369a1;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 16px;
}
.sec-eyebrow svg { width: 14px; height: 14px; }
.sec-title { font-size: 2.25rem; font-weight: 700; color: #0f172a; margin-bottom: 12px; }
.sec-title-light { color: white; }
.sec-sub { font-size: 1.1rem; color: #64748b; max-width: 600px; margin: 0 auto; }
.sec-sub-light { color: #94a3b8; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(220,38,38,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(220,38,38,0.4); }
.btn-secondary {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: white;
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(15,23,42,0.3); }
.btn-outline {
  background: transparent;
  color: #0f172a;
  border: 2px solid #e2e8f0;
}
.btn-outline:hover { border-color: #0f172a; background: #f8fafc; }
.btn-outline-w {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline-w:hover { border-color: white; background: rgba(255,255,255,0.1); }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; border-radius: 10px; }

/* ===== Hero Section ===== */
.hero {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(3,105,161,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { animation: fadeInUp 0.6s ease-out; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 20px;
}
.hero-badge svg { width: 16px; height: 16px; color: #dc2626; }
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 20px;
}
.hero-title .hl { color: #dc2626; }
.hero-desc {
  font-size: 1.15rem;
  color: #64748b;
  margin-bottom: 32px;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  display: block;
}
.hero-stat-lbl { font-size: 0.85rem; color: #64748b; }

/* Hero Visual */
.hero-visual {
  position: relative;
  animation: float 6s ease-in-out infinite;
}
.hv-doc {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  padding: 20px;
  position: relative;
}
.hv-doc-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}
.hv-dot { width: 10px; height: 10px; border-radius: 50%; }
.hv-dot.r { background: #ef4444; }
.hv-dot.y { background: #f59e0b; }
.hv-dot.g { background: #22c55e; }
.hv-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.hv-cell {
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hv-cell svg { width: 24px; height: 24px; color: #0369a1; }
.hv-cell-txt { font-size: 0.85rem; color: #64748b; }

/* ===== Feature Cards ===== */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.feat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0369a1 0%, #0ea5e9 100%);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  border-color: #0ea5e9;
}
.feat-card:hover::before { transform: scaleX(1); }
.feat-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feat-icon svg { width: 28px; height: 28px; color: #0369a1; }
.feat-name { font-size: 1.15rem; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
.feat-desc { font-size: 0.95rem; color: #64748b; line-height: 1.7; }

/* ===== Platform Section ===== */
.plat-sec { background: linear-gradient(180deg, #0f172a 0%, #1e3a5f 100%); padding: 80px 0; }
.plat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.plat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  transition: all 0.3s;
}
.plat-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.plat-card.featured {
  background: rgba(220,38,38,0.15);
  border-color: rgba(220,38,38,0.3);
}
.plat-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.plat-icon svg { width: 32px; height: 32px; color: white; }
.plat-name { font-size: 1.1rem; font-weight: 700; color: white; margin-bottom: 6px; }
.plat-ver { font-size: 0.85rem; color: #94a3b8; margin-bottom: 16px; }
.plat-btn {
  width: 100%;
  padding: 12px;
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.plat-btn:hover { background: rgba(255,255,255,0.2); }
.plat-card.featured .plat-btn { background: #dc2626; border-color: #dc2626; }
.plat-card.featured .plat-btn:hover { background: #b91c1c; }

/* ===== Deep Feature Rows ===== */
.deep-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.deep-row:last-child { margin-bottom: 0; }
.deep-row.flip { direction: rtl; }
.deep-row.flip > * { direction: ltr; }
.deep-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #dbeafe;
  color: #0369a1;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 16px;
}
.deep-title { font-size: 1.75rem; font-weight: 700; color: #0f172a; margin-bottom: 16px; }
.deep-desc { font-size: 1rem; color: #64748b; line-height: 1.8; margin-bottom: 20px; }
.deep-list { list-style: none; }
.deep-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  color: #475569;
}
.deep-list li svg { width: 20px; height: 20px; color: #059669; flex-shrink: 0; }
.deep-visual {
  background: #f8fafc;
  border-radius: 16px;
  padding: 32px;
  position: relative;
}
.dv-panel-title { font-size: 0.9rem; font-weight: 600; color: #64748b; margin-bottom: 20px; }
.dv-bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.dv-bar-lbl { width: 80px; font-size: 0.85rem; color: #64748b; }
.dv-bar-track { flex: 1; height: 8px; background: #e2e8f0; border-radius: 4px; overflow: hidden; }
.dv-bar-fill { height: 100%; border-radius: 4px; }
.dv-bar-fill.wps { background: linear-gradient(90deg, #dc2626 0%, #f87171 100%); width: 95%; }
.dv-bar-fill.ms { background: #94a3b8; width: 78%; }
.dv-bar-val { font-size: 0.85rem; font-weight: 600; color: #0f172a; width: 40px; text-align: right; }
.dv-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.dv-stat { text-align: center; padding: 16px; background: white; border-radius: 10px; }
.dv-stat-num { font-size: 1.5rem; font-weight: 700; color: #dc2626; }
.dv-stat-lbl { font-size: 0.8rem; color: #64748b; }

/* ===== Stats Banner ===== */
.stats-banner { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%); padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-box { text-align: center; }
.stat-box-num { font-size: 2.5rem; font-weight: 800; color: white; margin-bottom: 4px; }
.stat-box-num .hl { color: #fbbf24; }
.stat-box-lbl { font-size: 0.95rem; color: #94a3b8; }

/* ===== Review Cards ===== */
.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rev-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s;
}
.rev-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.rev-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.rev-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1rem;
}
.rev-avatar.a1 { background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%); }
.rev-avatar.a2 { background: linear-gradient(135deg, #0369a1 0%, #0ea5e9 100%); }
.rev-avatar.a3 { background: linear-gradient(135deg, #059669 0%, #10b981 100%); }
.rev-avatar.a4 { background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%); }
.rev-avatar.a5 { background: linear-gradient(135deg, #ea580c 0%, #f97316 100%); }
.rev-avatar.a6 { background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%); }
.rev-meta { flex: 1; }
.rev-name { font-weight: 600; color: #0f172a; font-size: 0.95rem; }
.rev-role { font-size: 0.8rem; color: #64748b; }
.rev-stars { display: flex; gap: 2px; margin-bottom: 12px; }
.rev-stars svg { width: 16px; height: 16px; color: #fbbf24; fill: currentColor; }
.rev-text { font-size: 0.95rem; color: #475569; line-height: 1.7; }

/* ===== Comparison Table ===== */
.cmp-wrap { overflow-x: auto; }
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.cmp-table th, .cmp-table td { padding: 16px; text-align: left; border-bottom: 1px solid #e2e8f0; }
.cmp-table th { background: #f8fafc; font-weight: 600; color: #0f172a; }
.cmp-table td { color: #475569; }
.cmp-table tr:hover td { background: #f8fafc; }
.cmp-hl { color: #dc2626; font-weight: 600; }
.cmp-check { color: #059669; }
.cmp-cross { color: #dc2626; }
.cmp-part { color: #f59e0b; }

/* ===== FAQ Accordion ===== */
.faq-grid { display: grid; gap: 12px; }
.faq-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  text-align: left;
}
.faq-q:hover { background: #f8fafc; }
.faq-q svg { width: 20px; height: 20px; color: #64748b; transition: transform 0.3s; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner { padding: 0 24px 20px; color: #64748b; line-height: 1.7; }

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0369a1 100%);
  border-radius: 16px;
  padding: 64px;
  text-align: center;
  color: white;
}
.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.1);
  border-radius: 24px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.cta-title { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.cta-desc { font-size: 1.1rem; color: #94a3b8; margin-bottom: 28px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Download Page ===== */
.dl-hero { padding: 60px 0; background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%); text-align: center; }
.dl-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 16px;
}
.dl-hero-title { font-size: 2.5rem; font-weight: 700; color: #0f172a; margin-bottom: 12px; }
.dl-hero-sub { font-size: 1.1rem; color: #64748b; margin-bottom: 40px; }

.dl-main-card {
  max-width: 600px;
  margin: 0 auto 48px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  overflow: hidden;
}
.dl-main-top {
  height: 6px;
  background: linear-gradient(90deg, #dc2626 0%, #f87171 100%);
}
.dl-main-body { padding: 40px; text-align: center; }
.dl-main-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.dl-main-icon svg { width: 40px; height: 40px; color: #0369a1; }
.dl-main-name { font-size: 1.5rem; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.dl-main-meta { font-size: 0.95rem; color: #64748b; margin-bottom: 24px; }
.dl-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.dl-spec { text-align: center; padding: 16px; background: #f8fafc; border-radius: 10px; }
.dl-spec-label { font-size: 0.8rem; color: #64748b; margin-bottom: 4px; }
.dl-spec-val { font-size: 1rem; font-weight: 600; color: #0f172a; }
.dl-sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: #ecfdf5;
  color: #059669;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 24px;
}
.dl-sec-badge svg { width: 18px; height: 18px; }
.dl-main-btns { display: flex; gap: 16px; justify-content: center; }

/* Other Platforms Grid */
.op-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 48px;
}
.op-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  transition: all 0.3s;
}
.op-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.op-icon {
  width: 56px;
  height: 56px;
  background: #f8fafc;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.op-icon svg { width: 28px; height: 28px; color: #0f172a; }
.op-name { font-size: 1.1rem; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.op-ver { font-size: 0.85rem; color: #64748b; margin-bottom: 12px; }
.op-req { font-size: 0.8rem; color: #94a3b8; margin-bottom: 16px; }
.op-steps { text-align: left; margin-bottom: 20px; }
.op-step { display: flex; gap: 10px; padding: 6px 0; font-size: 0.85rem; color: #475569; }
.op-step-n {
  width: 20px;
  height: 20px;
  background: #dbeafe;
  color: #0369a1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Guide Section */
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.guide-col { background: white; border: 1px solid #e2e8f0; border-radius: 12px; padding: 32px; }
.guide-col-title { font-size: 1.25rem; font-weight: 700; color: #0f172a; margin-bottom: 24px; }
.gstep { display: flex; gap: 16px; margin-bottom: 20px; }
.gstep:last-child { margin-bottom: 0; }
.gstep-num {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.gstep-body { flex: 1; }
.gstep-title { font-weight: 600; color: #0f172a; margin-bottom: 4px; }
.gstep-desc { font-size: 0.9rem; color: #64748b; }

/* Requirements Grid */
.req-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.req-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.req-icon {
  width: 48px;
  height: 48px;
  background: #f8fafc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.req-icon svg { width: 24px; height: 24px; color: #0369a1; }
.req-title { font-size: 0.9rem; font-weight: 600; color: #0f172a; margin-bottom: 4px; }
.req-val { font-size: 0.85rem; color: #64748b; }

/* Version List */
.ver-list { max-width: 800px; margin: 0 auto; }
.ver-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #e2e8f0;
}
.ver-item:last-child { border-bottom: none; }
.ver-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.ver-dot.stable { background: #059669; }
.ver-dot.beta { background: #f59e0b; }
.ver-dot.lts { background: #0369a1; }
.ver-body { flex: 1; }
.ver-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.ver-num { font-weight: 700; color: #0f172a; }
.ver-tag {
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
}
.ver-tag.stable { background: #ecfdf5; color: #059669; }
.ver-tag.beta { background: #fef3c7; color: #d97706; }
.ver-tag.lts { background: #dbeafe; color: #0369a1; }
.ver-date { font-size: 0.85rem; color: #94a3b8; margin-bottom: 6px; }
.ver-desc { font-size: 0.9rem; color: #64748b; }

/* Security Banner */
.sec-banner {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.sec-banner-icon {
  width: 56px;
  height: 56px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sec-banner-icon svg { width: 28px; height: 28px; color: #059669; }
.sec-banner-title { font-size: 1.1rem; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.sec-banner-desc { font-size: 0.95rem; color: #475569; }

/* ===== Article Page ===== */
.art-hero { padding: 60px 0 40px; background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%); }
.art-hero-inner { text-align: center; }
.art-hero-crumb { font-size: 0.9rem; color: #64748b; margin-bottom: 16px; }
.art-hero-crumb a { color: #0369a1; text-decoration: none; }
.art-hero-title { font-size: 2.25rem; font-weight: 700; color: #0f172a; margin-bottom: 16px; }
.art-hero-sub { font-size: 1.1rem; color: #64748b; max-width: 700px; margin: 0 auto 28px; }

.kw-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}
.kw {
  padding: 6px 14px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #475569;
}

.art-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 40px 0 80px;
}
.art-body { font-size: 1.05rem; line-height: 1.8; color: #334155; }
.art-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin: 40px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e2e8f0;
}
.art-body h3 { font-size: 1.25rem; font-weight: 600; color: #0f172a; margin: 28px 0 14px; }
.art-body p { margin-bottom: 16px; }
.art-body ul { margin: 16px 0; padding-left: 24px; }
.art-body li { margin-bottom: 8px; }

.inline-cta {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.inline-cta-title { font-size: 1.1rem; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.inline-cta-desc { font-size: 0.9rem; color: #64748b; }

.sidebar { position: sticky; top: 100px; height: fit-content; }
.sbox {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}
.sbox-title { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 16px; }
.sdl-btn {
  width: 100%;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.sdl-btn:hover { background: #f1f5f9; border-color: #cbd5e1; }
.sdl-btn.primary { background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%); color: white; border: none; }
.sdl-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(220,38,38,0.3); }
.sdl-btn-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.sdl-btn-icon svg { width: 20px; height: 20px; }
.sdl-btn-info { flex: 1; text-align: left; }
.sdl-btn-name { font-weight: 600; font-size: 0.95rem; }
.sdl-btn-ver { font-size: 0.8rem; opacity: 0.8; }

.stoc { list-style: none; }
.stoc li { padding: 8px 0; border-bottom: 1px solid #f1f5f9; }
.stoc li:last-child { border-bottom: none; }
.stoc a { color: #475569; text-decoration: none; font-size: 0.9rem; }
.stoc a:hover { color: #0369a1; }

.sstat { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sstat-item { text-align: center; padding: 12px; background: #f8fafc; border-radius: 8px; }
.sstat-num { font-size: 1.25rem; font-weight: 700; color: #dc2626; }
.sstat-lbl { font-size: 0.75rem; color: #64748b; }

.side-security {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #ecfdf5;
  border-radius: 10px;
}
.side-security svg { width: 20px; height: 20px; color: #059669; flex-shrink: 0; }
.side-security-text { font-size: 0.85rem; color: #475569; }

/* ===== News Center ===== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.news-item {
  display: flex;
  gap: 24px;
  padding: 28px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  transition: all 0.3s;
}
.news-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  border-color: #0ea5e9;
}
.news-item-thumb {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.news-item-thumb svg {
  width: 40px;
  height: 40px;
  color: #0369a1;
}
.news-item-body {
  flex: 1;
}
.news-item-date {
  display: inline-block;
  padding: 4px 12px;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 20px;
  margin-bottom: 12px;
}
.news-item-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}
.news-item-excerpt {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 16px;
}
.news-item-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #0369a1;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}
.news-item-more:hover {
  gap: 8px;
  color: #0ea5e9;
}
.news-back {
  text-align: center;
  margin-top: 48px;
}

/* ===== News Preview Grid (Homepage) ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  border-color: #0ea5e9;
}
.news-thumb {
  height: 140px;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-thumb svg {
  width: 48px;
  height: 48px;
  color: #0369a1;
}
.news-body {
  padding: 24px;
}
.news-date {
  display: inline-block;
  padding: 4px 12px;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 20px;
  margin-bottom: 12px;
}
.news-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.5;
}
.news-excerpt {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #0369a1;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}
.news-more:hover {
  gap: 8px;
  color: #0ea5e9;
}
.news-all-btn {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .news-item {
    flex-direction: column;
    gap: 16px;
  }
  .news-item-thumb {
    width: 64px;
    height: 64px;
  }
  .news-grid { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
.site-footer {
  background: #0f172a;
  padding: 40px 0;
  border-top: 1px solid #1e3a5f;
}
.footer-inner { text-align: center; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.footer-brand-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-brand-icon svg { width: 18px; height: 18px; fill: white; }
.footer-brand-name { font-weight: 700; color: white; font-size: 1.1rem; }
.footer-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #22c55e;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.footer-security svg { width: 16px; height: 16px; }
.footer-note { font-size: 0.85rem; color: #64748b; }

/* ===== Mobile Menu ===== */
.nav-mobile {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid #e2e8f0;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.nav-mobile.show { display: block; }
.nav-mobile .nav-link { display: block; margin-bottom: 8px; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; max-width: 500px; margin: 0 auto; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .plat-grid { grid-template-columns: repeat(2, 1fr); }
  .deep-row { grid-template-columns: 1fr; gap: 40px; }
  .deep-row.flip { direction: ltr; }
  .art-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-dl { display: none; }
  .hero-title { font-size: 2rem; }
  .sec-title { font-size: 1.75rem; }
  .feat-grid { grid-template-columns: 1fr; }
  .plat-grid { grid-template-columns: 1fr; }
  .rev-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .op-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-main-btns { flex-direction: column; }
  .cta-banner { padding: 40px 24px; }
  .cta-title { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: 1fr; }
  .dl-specs { grid-template-columns: 1fr; }
}
