/* WPS智能办公软件 — Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=Noto+Serif+SC:wght@400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

:root {
  --ink: #0d1117;
  --ink-2: #161b22;
  --ink-3: #21262d;
  --gold: #d4a847;
  --gold-light: #f0c86a;
  --gold-dim: rgba(212,168,71,0.15);
  --sky: #1e6fce;
  --sky-light: #58a6ff;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --text-dim: #4d5966;
  --border: rgba(255,255,255,0.07);
  --radius: 10px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans SC', sans-serif;
  background: var(--ink);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

a { color: var(--sky-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }

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

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,17,23,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--sky) 0%, var(--gold) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}

.logo-text span { color: var(--gold); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.site-nav a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
  padding: 6px 14px;
  border-radius: 6px;
  transition: all .2s;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: var(--ink-3);
}

.header-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all .22s;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--sky) 0%, #1558a8 100%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(30,111,206,0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(30,111,206,0.5);
  color: #fff;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #b8892a 100%);
  color: #0d1117;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(212,168,71,0.3);
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(212,168,71,0.5);
  color: #0d1117;
}

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

.btn-outline:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 12px;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--ink-2);
  border-top: 1px solid var(--border);
  margin-top: 80px;
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 280px repeat(3, 1fr);
  gap: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 13.5px;
  margin-top: 14px;
  line-height: 1.8;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color .2s;
  text-decoration: none;
}

.footer-col ul li a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
}

/* ── SECTION UTILS ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
}

/* ── CARDS ── */
.card {
  background: var(--ink-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}

.card:hover {
  border-color: rgba(212,168,71,0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* ── BADGE ── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge-gold {
  background: var(--gold-dim);
  color: var(--gold-light);
  border: 1px solid rgba(212,168,71,0.3);
}

.badge-blue {
  background: rgba(30,111,206,0.15);
  color: var(--sky-light);
  border: 1px solid rgba(88,166,255,0.2);
}

/* ── MOBILE NAV ── */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  
  .site-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--ink-2);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
    z-index: 99;
  }

  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; padding: 12px 16px; }

  .header-cta { display: none; }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-title { font-size: 26px; }

  .btn-lg { padding: 12px 24px; font-size: 15px; }
}

/* scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: 3px; }
