﻿/* ===== WPS Office Website Styles ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #1a1a2e; background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.ContentWrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ===== Buttons ===== */
.Button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 32px; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all .3s; border: 2px solid transparent; }
.Button-primary { background: #1a73e8; color: #fff; border-color: #1a73e8; }
.Button-primary:hover { background: #1557b0; border-color: #1557b0; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,115,232,.3); }
.Button-outline { background: transparent; color: #1a73e8; border-color: #1a73e8; }
.Button-outline:hover { background: #1a73e8; color: #fff; }

/* ===== Section Title ===== */
.Section-title { font-size: 2.5rem; font-weight: 700; text-align: center; margin-bottom: 16px; line-height: 1.2; color: #1a1a2e; }
.Section-desc { text-align: center; font-size: 1.1rem; color: #666; max-width: 720px; margin: 0 auto 40px; }
.Page-title { font-size: 3rem; font-weight: 700; text-align: center; margin-bottom: 16px; }
.Page-subtitle { font-size: 1.3rem; text-align: center; color: #555; margin-bottom: 10px; }
.Page-desc { text-align: center; color: #777; font-size: 1rem; }

/* ===== Navigation ===== */
.wps-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1001; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0,0,0,.06); }
.wps-nav__bar { height: 62px; }
.wps-nav__inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 100%; display: flex; align-items: center; }
.wps-nav__logo { display: flex; align-items: center; margin-right: 32px; }
.wps-nav__logo img { height: 24px; }
.wps-nav__menu { display: flex; align-items: center; gap: 4px; flex: 1; }
.wps-nav__link { padding: 8px 14px; border-radius: 6px; font-size: 14px; font-weight: 500; color: #333; transition: all .2s; cursor: pointer; white-space: nowrap; }
.wps-nav__link:hover, .wps-nav__link.active { background: rgba(26,115,232,.08); color: #1a73e8; }
.wps-nav__item { position: relative; }
.wps-nav__dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.12); padding: 8px; margin-top: 4px; z-index: 100; }
.wps-nav__item--has-dropdown.open .wps-nav__dropdown { display: block; }
.wps-nav__dropdown-link { display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; color: #333; transition: all .2s; }
.wps-nav__dropdown-link:hover { background: rgba(26,115,232,.08); color: #1a73e8; }
.wps-nav__arrow { margin-left: 4px; transition: transform .2s; vertical-align: middle; }
.wps-nav__item--has-dropdown.open .wps-nav__arrow { transform: rotate(180deg); }
.wps-nav__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.wps-nav__lang-wrap { position: relative; }
.wps-nav__lang-btn { background: none; border: none; padding: 8px; border-radius: 8px; cursor: pointer; color: #555; transition: all .2s; display: flex; align-items: center; }
.wps-nav__lang-btn:hover { background: rgba(0,0,0,.05); color: #1a73e8; }
.wps-nav__download-btn { display: inline-flex; align-items: center; padding: 8px 20px; background: #1a73e8; color: #fff; border-radius: 8px; font-size: 14px; font-weight: 600; transition: all .3s; }
.wps-nav__download-btn:hover { background: #1557b0; transform: translateY(-1px); }
.wps-nav__hamburger { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 8px; }
.wps-nav__hamburger span { width: 24px; height: 2px; background: #333; border-radius: 2px; transition: all .3s; }
.site-layout__content { padding-top: 62px; min-height: calc(100vh - 62px); }

/* ===== Language Panel ===== */
.lang-panel { display: none; position: fixed; top: 70px; right: 120px; width: 420px; max-height: 480px; background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.15); z-index: 1001; overflow: hidden; }
.lang-panel.open { display: block; }
.lang-panel__header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #eee; }
.lang-panel__title { font-size: 16px; font-weight: 600; }
.lang-panel__close { background: none; border: none; font-size: 24px; cursor: pointer; color: #999; padding: 4px; line-height: 1; }
.lang-panel__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px; overflow-y: auto; max-height: 380px; }
.lang-panel__item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: #333; transition: all .2s; }
.lang-panel__item:hover { background: rgba(26,115,232,.06); }
.lang-panel__item--active { background: rgba(26,115,232,.1); color: #1a73e8; font-weight: 600; }
.lang-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.3); z-index: 999; }
.lang-overlay.open { display: block; }

/* ===== Hero Section ===== */
.hero-area { background: linear-gradient(180deg, #f0f7ff 0%, #e8f0fe 100%); padding: 80px 0 60px; position: relative; overflow: hidden; }
.slogan-container { position: relative; }
.slogan-bg { position: absolute; inset: 0; pointer-events: none; }
.slogan-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.slogan-inner { text-align: center; position: relative; z-index: 1; }
.slogan-title { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 40px; }
.slogan-line { font-size: 3.5rem; font-weight: 700; line-height: 1.15; }
.slogan-line--sub { font-size: 2rem; color: #666; font-weight: 400; }
.slogan-line--highlight { color: #1a73e8; font-size: 4rem; }
.slogan-line--accent { font-size: 4rem; color: #34a853; }
.slogan-line--brand { font-size: 4.5rem; background: linear-gradient(135deg, #1a73e8, #34a853); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.slogan-hero { max-width: 800px; margin: 0 auto 32px; }
.Hero-actions { display: flex; gap: 16px; justify-content: center; margin-top: 24px; }

/* ===== Trust Bar ===== */
.trust-bar { padding: 60px 0; text-align: center; background: #fff; }
.trust-heading { font-size: 1.5rem; color: #555; margin-bottom: 32px; font-weight: 500; }
.trust-logos img { max-height: 60px; }

/* ===== Copilot Section ===== */
.copilot-section { position: relative; padding: 80px 0; background: #0a0a23; color: #fff; overflow: hidden; }
.copilot-bg-dark { position: absolute; inset: 0; pointer-events: none; }
.copilot-bg-dark img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.copilot-header { position: relative; z-index: 1; text-align: center; margin-bottom: 48px; }
.copilot-header .Section-title { color: #fff; }
.copilot-subtitle { color: rgba(255,255,255,.7); font-size: 1.05rem; max-width: 700px; margin: 0 auto; line-height: 1.7; }
.copilot-tabs { display: flex; gap: 12px; justify-content: center; margin-bottom: 48px; position: relative; z-index: 1; flex-wrap: wrap; }
.copilot-tab { display: flex; align-items: center; gap: 10px; padding: 14px 24px; background: rgba(255,255,255,.08); border-radius: 12px; cursor: pointer; transition: all .3s; border: 1px solid transparent; }
.copilot-tab:hover { background: rgba(255,255,255,.12); }
.copilot-tab.active { background: rgba(26,115,232,.2); border-color: #1a73e8; }
.copilot-tab-icon img { width: 32px; height: 32px; }
.copilot-tab h3 { font-size: 15px; font-weight: 600; }
.copilot-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 1; }
.summary-item { background: rgba(255,255,255,.06); border-radius: 16px; padding: 32px; border: 1px solid rgba(255,255,255,.08); }
.summary-item h4 { font-size: 1.2rem; margin-bottom: 12px; color: #fff; }
.summary-item p { color: rgba(255,255,255,.6); font-size: .95rem; line-height: 1.6; }

/* ===== Collab Section ===== */
.collab-section { padding: 80px 0; background: #fff; }
.collab-header { text-align: center; margin-bottom: 48px; }
.collab-subtitle { color: #666; font-size: 1.05rem; max-width: 700px; margin: 0 auto; }
.collab-accordion { max-width: 800px; margin: 0 auto; }
.collab-item { border: 1px solid #e8e8ef; border-radius: 16px; margin-bottom: 12px; overflow: hidden; transition: all .3s; }
.collab-item.active { border-color: #1a73e8; }
.collab-item-header { display: flex; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; }
.collab-num { font-size: 1.2rem; font-weight: 700; color: #1a73e8; min-width: 40px; }
.collab-item-header h3 { font-size: 1.1rem; font-weight: 600; }
.collab-body { max-height: 0; overflow: hidden; transition: all .4s; }
.collab-item.active .collab-body { max-height: 300px; }
.collab-content { padding: 0 24px 20px 80px; color: #666; line-height: 1.7; }

/* ===== All-in-One ===== */
.allinone-section { padding: 80px 0; background: #f8f9fc; text-align: center; }
.allinone-subtitle { color: #666; font-size: 1.05rem; max-width: 700px; margin: 0 auto 40px; }
.app-icons { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.app-icon { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.app-icon img { width: 56px; height: 56px; }
.app-icon span { font-weight: 600; font-size: 14px; }

/* ===== Bento Grid ===== */
.bento-grid { padding: 80px 0; background: #fff; }
.bento-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.bento-card { background: #f8f9fc; border-radius: 20px; padding: 32px; transition: all .3s; }
.bento-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.bento-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.bento-card p { color: #666; font-size: .95rem; line-height: 1.6; }

/* ===== Resources ===== */
.resource-section { padding: 80px 0; background: #f8f9fc; text-align: center; }
.resource-tags { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.resource-tag { padding: 10px 24px; border-radius: 100px; background: #fff; border: 1px solid #ddd; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .3s; }
.resource-tag.active { background: #1a73e8; color: #fff; border-color: #1a73e8; }
.resource-tag:hover:not(.active) { border-color: #1a73e8; color: #1a73e8; }

/* ===== Security ===== */
.security-section { padding: 80px 0; background: #0a0a23; color: #fff; text-align: center; position: relative; overflow: hidden; }
.security-bg { position: absolute; inset: 0; pointer-events: none; }
.security-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.security-section .Section-title { color: #fff; position: relative; z-index: 1; }
.security-desc { color: rgba(255,255,255,.7); max-width: 700px; margin: 0 auto 40px; position: relative; z-index: 1; }
.security-certs { display: flex; justify-content: center; gap: 32px; align-items: center; position: relative; z-index: 1; }
.security-cert-item { height: 60px; opacity: .8; }

/* ===== Join Us ===== */
.joinus-section { padding: 80px 0; background: linear-gradient(135deg, #1a73e8, #34a853); color: #fff; text-align: center; }
.joinus-section .Section-title { color: #fff; }
.joinus-subtitle { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 32px; }
.joinus-actions { display: flex; justify-content: center; gap: 16px; }
.joinus-actions .Button-primary { background: #fff; color: #1a73e8; border-color: #fff; }
.joinus-actions .Button-primary:hover { background: rgba(255,255,255,.9); }

/* ===== Footer ===== */
.wps-footer { background: #0a0a23; color: rgba(255,255,255,.7); padding: 60px 0 0; }
.wps-footer__inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.wps-footer__columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
.wps-footer__column-title { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 20px; color: #fff; }
.wps-footer__column-list li { margin-bottom: 10px; }
.wps-footer__link { font-size: 14px; color: rgba(255,255,255,.6); transition: color .2s; }
.wps-footer__link:hover { color: #fff; }
.wps-footer__aside { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); margin-bottom: 0; }
.wps-footer__follow h5 { color: #fff; font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.wps-footer__social-icons { display: flex; gap: 12px; }
.wps-footer__social-link img { opacity: .5; transition: opacity .2s; }
.wps-footer__social-link:hover img { opacity: 1; }
.wps-footer__lang-btn { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: none; padding: 10px 20px; border-radius: 8px; color: #fff; cursor: pointer; font-size: 14px; }
.wps-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.wps-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; }
.wps-footer__copyright { font-size: 13px; color: rgba(255,255,255,.5); }

/* ===== Download Page ===== */
.download-hero { padding: 80px 0 40px; background: linear-gradient(180deg, #f0f7ff 0%, #fff 100%); text-align: center; }
.download-platforms { padding: 40px 0 80px; }
.platform-card { display: flex; align-items: center; gap: 24px; padding: 24px; background: #fff; border-radius: 16px; border: 1px solid #eee; margin-bottom: 16px; transition: all .3s; }
.platform-card:hover { border-color: #1a73e8; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.platform-icon img { width: 56px; }
.platform-info { flex: 1; }
.platform-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.platform-info p { color: #777; font-size: .9rem; }
.download-features { padding: 60px 0; background: #f8f9fc; }
.features-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.feature-mini { text-align: center; padding: 24px; background: #fff; border-radius: 16px; }
.feature-mini .fm-icon { font-size: 2.5rem; margin-bottom: 12px; }
.feature-mini h4 { font-size: 1rem; margin-bottom: 8px; }
.feature-mini p { font-size: .85rem; color: #666; line-height: 1.5; }

/* ===== About Page ===== */
.about-hero { padding: 80px 0 40px; background: linear-gradient(180deg, #f0f7ff 0%, #fff 100%); text-align: center; }
.about-story { padding: 60px 0; }
.about-content { max-width: 800px; margin: 0 auto; text-align: center; }
.about-content p { color: #555; line-height: 1.8; font-size: 1.05rem; }
.about-stats { padding: 60px 0; background: #f8f9fc; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item { padding: 24px; }
.stat-number { display: block; font-size: 2.5rem; font-weight: 700; color: #1a73e8; margin-bottom: 8px; }
.stat-label { font-size: 1rem; color: #666; }
.about-cert, .about-terms, .about-contact { padding: 60px 0; max-width: 800px; margin: 0 auto; }
.about-terms { background: #f8f9fc; max-width: 100%; }
.about-terms .ContentWrap { max-width: 800px; margin: 0 auto; }
.about-cert p, .about-terms p { color: #555; line-height: 1.8; }
.about-contact p { color: #555; line-height: 1.8; }
.contact-info { margin-top: 20px; }
.contact-info p { margin-bottom: 8px; }

/* ===== zh-cn Page ===== */
.cn-hero { padding: 80px 0 40px; background: linear-gradient(180deg, #fff5f5 0%, #fff 100%); text-align: center; }
.cn-features { padding: 60px 0; }
.cn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cn-card { padding: 28px; background: #fff; border-radius: 16px; border: 1px solid #eee; transition: all .3s; text-align: center; }
.cn-card:hover { border-color: #1a73e8; transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.cn-card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.cn-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.cn-card p { font-size: .9rem; color: #666; line-height: 1.6; }
.cn-download { padding: 60px 0; background: #f8f9fc; text-align: center; }
.cn-download-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
  .slogan-line { font-size: 2rem; }
  .slogan-line--highlight, .slogan-line--accent { font-size: 2.2rem; }
  .slogan-line--brand { font-size: 2.5rem; }
  .Section-title { font-size: 1.8rem; }
  .Page-title { font-size: 2rem; }
  .wps-nav__menu { display: none; position: fixed; top: 62px; left: 0; right: 0; background: #fff; padding: 16px; flex-direction: column; box-shadow: 0 10px 30px rgba(0,0,0,.1); }
  .wps-nav__menu.open { display: flex; }
  .wps-nav__hamburger { display: flex; }
  .copilot-tabs { flex-direction: column; align-items: stretch; }
  .copilot-summary { grid-template-columns: 1fr; }
  .bento-cards { grid-template-columns: 1fr; }
  .wps-footer__columns { grid-template-columns: 1fr 1fr; }
  .wps-footer__aside { flex-direction: column; gap: 16px; }
  .wps-footer__bottom-inner { flex-direction: column; gap: 12px; text-align: center; }
  .lang-panel { right: 10px; left: 10px; width: auto; top: 62px; }
  .lang-panel__grid { grid-template-columns: 1fr; }
  .features-mini-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cn-grid { grid-template-columns: 1fr; }
  .wps-nav__download-btn { display: none; }
  .wps-nav__actions .wps-nav__download-btn { display: inline-flex; }
}

@media (max-width: 480px) {
  .features-mini-grid { grid-template-columns: 1fr; }
  .wps-footer__columns { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .platform-card { flex-direction: column; text-align: center; }
}
