/* WPS Office 官网风格 - 原创设计 */
:root {
  --primary: #0066cc;
  --primary-dark: #0052a3;
  --accent: #00b96e;
  --text: #333333;
  --text-light: #666666;
  --bg: #f8f9fa;
  --card: #ffffff;
  --border: #e0e0e0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
}

header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary);
  font-size: 26px;
  font-weight: 700;
}

.logo svg {
  width: 38px;
  height: 38px;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-links a.active:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.hero {
  background: linear-gradient(135deg, #0066cc 0%, #003d80 100%);
  color: white;
  padding: 120px 20px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  filter: blur(60px);
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 24px;
  font-weight: 700;
}

.hero p {
  font-size: 22px;
  max-width: 720px;
  margin: 0 auto 40px;
  opacity: 0.95;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

.btn-primary {
  background: white;
  color: var(--primary);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 102, 204, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.8);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

.section {
  padding: 90px 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 38px;
  margin-bottom: 20px;
  color: #111;
}

.section-subtitle {
  text-align: center;
  font-size: 20px;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 auto 60px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border);
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.feature-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, #0066cc, #00b96e);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: white;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.platform-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: all 0.3s;
  text-align: center;
  padding: 40px 30px;
}

.platform-card:hover {
  transform: scale(1.04);
  box-shadow: 0 20px 40px rgba(0,102,204,0.15);
}

.platform-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
}

.download-btn {
  background: var(--primary);
  color: white;
  padding: 14px 42px;
  font-size: 17px;
  border-radius: 50px;
  margin-top: 20px;
  width: 100%;
}

.testimonials {
  background: #f8f9fa;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.testimonial {
  background: white;
  padding: 36px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.faq {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: white;
}

.faq-question {
  padding: 22px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 17px;
  background: #fafafa;
  transition: all 0.3s;
}

.faq-question:hover {
  background: #f0f4ff;
}

.faq-answer {
  padding: 0 28px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  color: var(--text-light);
  line-height: 1.75;
}

.faq-answer.open {
  max-height: 300px;
  padding: 28px;
}

.footer {
  background: #1a1a1a;
  color: #aaa;
  padding: 80px 20px 40px;
  font-size: 15px;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.footer-col h3 {
  color: white;
  margin-bottom: 22px;
  font-size: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: #aaa;
  text-decoration: none;
  transition: color .2s;
}

.footer-col a:hover {
  color: #00b96e;
}

.copyright {
  text-align: center;
  margin-top: 70px;
  padding-top: 30px;
  border-top: 1px solid #333;
  font-size: 14px;
  color: #777;
}

@media (max-width: 768px) {
  .nav-links {
    gap: 20px;
    font-size: 15px;
  }
  
  .hero h1 {
    font-size: 38px;
  }
  
  .hero p {
    font-size: 19px;
  }
  
  .features, .platforms {
    grid-template-columns: 1fr;
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Bing SEO friendly styles */
h1, h2, h3 {
  font-weight: 700;
}

/* High contrast for accessibility */
.btn:focus, .nav-links a:focus {
  outline: 3px solid #00b96e;
  outline-offset: 4px;
}
