/* WPS 智能文档库 AI Docs - 解决方案联系页 */
:root {
  --color-primary: #0066ff;
  --color-primary-hover: #0052cc;
  --color-text: #1a1a1a;
  --color-text-muted: #666;
  --color-bg: #fff;
  --color-bg-alt: #f5f7fa;
  --color-border: #e5e7eb;
  --font-sans: "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1200px;
  --header-h: 64px;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
}

.logo-text {
  font-size: 1.25rem;
  color: var(--color-primary);
}

.logo-product {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover {
  color: var(--color-primary);
}

.hero {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #f0f5ff 0%, #fff 60%);
  text-align: center;
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero-desc {
  margin: 0 0 32px;
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

.hero-cta .btn {
  display: inline-block;
}

.btn {
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
}

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

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-block {
  width: 100%;
}

.features-bar {
  padding: 24px 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.features-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 48px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 500;
  color: var(--color-text-muted);
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-title {
  margin: 0 0 40px;
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 700;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--color-text-muted);
  margin: 0;
}

.solution-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: 28px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}

.section-alt .card {
  background: #fff;
}

.card-title {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 600;
}

.card-desc {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.enterprises {
  padding: 48px 0;
}

.contact-section {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, #fff 100%);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.contact-desc {
  margin: 0 0 24px;
  color: var(--color-text-muted);
}

.contact-methods {
  margin-top: 24px;
}

.contact-methods p {
  margin: 0 0 8px;
}

.link {
  color: var(--color-primary);
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.form-wrapper {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}

.enterprise-form .form-row {
  margin-bottom: 20px;
}

.enterprise-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.95rem;
}

.required {
  color: #c00;
}

.enterprise-form input,
.enterprise-form select,
.enterprise-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
}

.enterprise-form input:focus,
.enterprise-form select:focus,
.enterprise-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.2);
}

.enterprise-form input::placeholder,
.enterprise-form textarea::placeholder {
  color: #999;
}

.form-actions {
  margin-top: 28px;
  margin-bottom: 0;
}

.form-status {
  margin: 12px 0 0;
  font-size: 0.9rem;
  min-height: 1.4em;
}

.form-status.success {
  color: #0a0;
}

.form-status.error {
  color: #c00;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-footer {
  padding: 48px 0 24px;
  background: var(--color-text);
  color: #ccc;
}

.footer-inner {
  max-width: var(--container);
}

.footer-brand {
  margin-bottom: 32px;
}

.footer-title {
  margin: 0 0 16px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-col h3 {
  margin: 0 0 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

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

.footer-col a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-copy {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid #444;
  font-size: 0.85rem;
  color: #888;
}

@media (max-width: 768px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .features-list {
    flex-direction: column;
    align-items: center;
  }
}
