/* ==========================================
   wedox 维度创想科技 - 公共样式
   ========================================== */

:root {
  --color-primary: #00E5FF;
  --color-primary-dark: #00BCD4;
  --color-accent: #7E57C2;
  --color-accent-dark: #5C6BC0;
  --color-bg: #F8F8FC;
  --color-bg-alt: #F0F0F6;
  --color-surface: #FFFFFF;
  --color-text: #1A1A2E;
  --color-text-muted: #6B6B80;
  --color-border: rgba(0,0,0,0.06);
  --gradient-primary: linear-gradient(135deg, #00E5FF, #7E57C2);
  --gradient-bg: linear-gradient(135deg, rgba(0,229,255,0.04), rgba(126,87,194,0.04));

  --font-display: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --shadow-card: 0 1px 4px rgba(0,0,0,0.03);
  --shadow-card-hover: 0 12px 36px rgba(0,0,0,0.06);
  --shadow-button: 0 8px 28px rgba(0,229,255,0.30);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text-muted);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ========== Navbar ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.78);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 800;
  font-size: 25px;
  letter-spacing: 1px;
}
.nav-brand .logo-icon {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}
.nav-brand .logo-icon svg { height: 50px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s;
  border-radius: 1px;
}
.nav-links a:hover { color: var(--color-text); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--color-text); }
.nav-links a.active::after { width: 100%; }
.nav-cta {
  padding: 8px 20px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,229,255,0.35);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: 0.3s;
}

/* ========== Hero (通用) ========== */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0,229,255,0.08) 0%, rgba(126,87,194,0.06) 50%, var(--color-bg) 80%);
  padding: 120px 48px 80px;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle at 30% 40%, rgba(0,229,255,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -15%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle at 70% 60%, rgba(126,87,194,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero.hero-home { min-height: 100vh; }
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero h1 .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-logo {
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
}
.hero-logo svg { width: 380px; height: auto; max-width: 90vw; }

/* ========== Buttons ========== */
.btn-primary {
  padding: 14px 36px;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-button);
}
.btn-secondary {
  padding: 14px 36px;
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.btn-secondary:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(0,229,255,0.12);
}
.btn-primary:disabled, .btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ========== Sections (通用) ========== */
.section {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
}
.section-desc {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ========== Product Cards ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.product-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0,229,255,0.10), rgba(126,87,194,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 26px;
}
.product-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}
.product-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}
.product-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.product-tags span {
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0,229,255,0.08), rgba(126,87,194,0.06));
  color: var(--color-accent-dark);
}

/* ========== Service Cards (Detailed) ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.service-card .service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0,229,255,0.12), rgba(126,87,194,0.10));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
}
.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.service-card ul {
  list-style: none;
  padding: 0;
}
.service-card ul li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--color-text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.service-card ul li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* ========== Stats ========== */
.stats-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item h2 {
  font-size: 25px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}
.stat-item .stat-label {
  display: inline-block;
  font-size: 14px;
  color: var(--color-text-muted);
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0,229,255,0.06), rgba(126,87,194,0.04));
}

/* ========== CTA Banner ========== */
.cta-banner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px;
}
.cta-box {
  background: var(--gradient-bg);
  border: 1px solid rgba(0,229,255,0.12);
  border-radius: var(--radius-xl);
  padding: 64px 80px;
  text-align: center;
}
.cta-box h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}
.cta-box p {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== About Page ========== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.about-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--color-border);
  text-align: center;
}
.about-card .about-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,229,255,0.12), rgba(126,87,194,0.10));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}
.about-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}
.about-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.team-card {
  display: flex;
  gap: 32px;
  align-items: center;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}
.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #fff;
  flex-shrink: 0;
}
.team-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}
.team-info .team-role {
  font-size: 14px;
  color: var(--color-accent-dark);
  font-weight: 600;
  margin-bottom: 12px;
}
.team-info p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========== Process Steps ========== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-step .step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.process-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}
.process-step p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========== Contact Form ========== */
.contact-section {
  padding: 80px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-form {
  background: var(--color-surface);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}
.form-group label .required {
  color: #ef4444;
  margin-left: 2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-body);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.10);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.form-success.show { display: block; }
.form-success .success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dcfce7;
  color: #22c55e;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.form-success h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}
.form-success p {
  font-size: 15px;
  color: var(--color-text-muted);
}
.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info-item .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,229,255,0.10), rgba(126,87,194,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.contact-info-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}
.contact-info-item p {
  font-size: 14px;
  color: var(--color-text-muted);
}
.response-pledge {
  margin-top: 24px;
  padding: 16px 20px;
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  color: #166534;
  font-weight: 500;
}

/* ========== Legal Pages ========== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 48px 80px;
}
.legal-content h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}
.legal-content .last-updated {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}
.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin: 32px 0 12px;
}
.legal-content p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.legal-content ul {
  margin: 0 0 16px 20px;
}
.legal-content ul li {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* ========== 404 Page ========== */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px;
}
.error-page .error-code {
  font-size: 120px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}
.error-page h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}
.error-page p {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

/* ========== Footer ========== */
.footer {
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  padding: 60px 48px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .mini-logo { width: 28px; height: 28px; }
.footer-brand .mini-logo svg { width: 28px; height: 28px; }
.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
  color: var(--color-text-muted);
}
.footer h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer ul li a:hover { color: var(--color-accent); }
.footer-contact p {
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--color-text-muted);
}
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 13px;
  text-align: center;
  color: var(--color-text-muted);
}
.footer-bottom .legal-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}
.footer-bottom .legal-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-bottom .legal-links a:hover { color: var(--color-accent); }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar { padding: 0 24px; }
  .hero { padding: 100px 24px 60px; min-height: 50vh; }
  .hero.hero-home { min-height: 80vh; }
  .section { padding: 80px 24px; }
  .hero h1 { font-size: 32px; }
  .section-title { font-size: 28px; }
  .products-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr; gap: 24px; padding: 48px 24px; }
  .cta-box { padding: 40px 24px; }
  .cta-box h2 { font-size: 25px; }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; }
  .team-card { flex-direction: column; text-align: center; }
  .footer { padding: 40px 24px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    transition: transform 0.3s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }
  .nav-links.open { transform: translateY(0); }
  .menu-toggle { display: flex; }
  .hero-logo svg { width: 280px; }
  .legal-content { padding: 100px 24px 60px; }
  .legal-content h1 { font-size: 28px; }
}

@media (max-width: 480px) {
  .hero-logo svg { width: 220px; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 15px; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
  .error-page .error-code { font-size: 80px; }
}