/* WPS Office Official Style - Efficiency & Professional */
:root {
  --wps-red: #D42C2C; /* WPS 经典红 */
  --wps-red-hover: #B82525;
  --wps-blue: #1A73E8;
  --wps-bg: #f8f9fb;
  --wps-text: #333333;
  --wps-text-sec: #666666;
  --wps-border: #e0e0e0;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background-color: #fff;
  color: var(--wps-text);
  line-height: 1.5;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.wps-nav {
  height: 64px;
  background: #fff;
  border-bottom: 1px solid var(--wps-border);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.wps-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--wps-red); font-weight: 700; font-size: 24px; }
.wps-logo img { height: 32px; }

.nav-links { display: flex; gap: 32px; margin-left: 48px; }
.nav-link { text-decoration: none; color: var(--wps-text); font-size: 15px; transition: var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--wps-red); }

/* Buttons */
.btn-wps {
  display: inline-block;
  padding: 10px 24px;
  background: var(--wps-red);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition);
}
.btn-wps:hover { background: var(--wps-red-hover); box-shadow: 0 4px 12px rgba(212, 44, 44, 0.3); }

.btn-wps-outline {
  display: inline-block;
  padding: 9px 23px;
  border: 1px solid var(--wps-red);
  color: var(--wps-red);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition);
}
.btn-wps-outline:hover { background: rgba(212, 44, 44, 0.05); }

/* Hero Section */
.hero-wps {
  padding: 80px 0;
  background: linear-gradient(135deg, #fff 0%, #fff1f1 100%);
  text-align: center;
}
.hero-wps h1 { font-size: 48px; margin-bottom: 24px; color: #111; }
.hero-wps p { font-size: 18px; color: var(--wps-text-sec); margin-bottom: 40px; }

/* Feature Cards */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 60px 0; }
.feature-card {
  padding: 32px;
  background: #fff;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--wps-border);
}
.feature-icon { font-size: 40px; margin-bottom: 20px; }

/* Modal */
.wps-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.wps-modal {
  background: #fff;
  width: 90%;
  max-width: 600px;
  border-radius: var(--radius-md);
  padding: 32px;
}

/* Footer */
.wps-footer {
  padding: 60px 0 30px;
  background: #222;
  color: #ccc;
}
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 16px; }
.footer-link { display: block; color: #999; text-decoration: none; margin-bottom: 12px; font-size: 14px; }
.footer-link:hover { color: var(--wps-red); }
