/* ===== 嬴皇科技官网 - 企业UI标准 v1.0 ===== */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f7f9f8;
  --color-bg-dark: #0a0f0e;
  --color-text: #111827;
  --color-text-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-primary: #0d9488;
  --color-primary-dark: #0f766e;
  --color-accent: #14b8a6;
  --color-teal: #134e4a;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --container: 1200px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
strong { font-weight: 700; }
b { font-weight: 700; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ===== 导航栏 ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.85);
  border-bottom-color: var(--color-border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 96px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-img {
  height: 64px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-cn { font-size: 18px; font-weight: 700; color: var(--color-text); letter-spacing: 1px; }
.logo-en { font-size: 10px; color: var(--color-text-muted); letter-spacing: 1.5px; margin-top: 2px; }
.nav-links {
  display: flex;
  gap: 56px;
  margin-left: auto;
  margin-right: auto;
}
.nav-links a {
  font-size: 18px; font-weight: 600; color: var(--color-text);
  transition: var(--transition);
  opacity: 0.7;
}
.nav-links a:hover { opacity: 1; color: var(--color-primary); }
.nav-links a:hover { color: var(--color-text); }
.nav-cta {
  background: var(--color-primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 15px; font-weight: 500;
  transition: var(--transition);
}
.nav-cta:hover { background: var(--color-primary-dark); transform: translateY(-1px); }

/* ===== Hero ===== */
.hero {
  padding: 200px 0 100px;
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
  text-align: center;
}
.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(13, 148, 136, 0.08);
  color: var(--color-primary);
  border-radius: 100px;
  font-size: 16px; font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; margin-bottom: 80px; }

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--color-bg-dark);
  color: #fff;
}
.btn-primary:hover { background: #1a1a1a; transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-secondary:hover { border-color: var(--color-text); }
.btn-block { width: 100%; }

/* ===== 统计数据 ===== */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 48px;
  border-top: 1px solid var(--color-border);
}
.stat-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}
.stat-num span { font-size: 16px; color: var(--color-text-muted); margin-left: 2px; }
.stat-label { font-size: 13px; color: var(--color-text-muted); }

/* ===== 通用 section ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-dark { background: var(--color-bg-dark); color: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-eyebrow {
  font-size: 12px; font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.section-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-desc { font-size: 16px; color: var(--color-text-muted); }

/* ===== 关于我们 ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.about-card {
  padding: 32px 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  background: rgba(13, 148, 136, 0.08);
  border-radius: 10px;
  margin-bottom: 20px;
}
.card-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}
.about-card h3 { font-size: 18px; margin-bottom: 8px; }
.about-card p { font-size: 14px; color: var(--color-text-muted); }

/* ===== 产品方案 ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.product-card {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(13, 148, 136, 0.08);
  color: var(--color-primary);
  border-radius: 100px;
  font-size: 12px; font-weight: 500;
  margin-bottom: 16px;
}
.product-card h3 { font-size: 22px; margin-bottom: 12px; }
.product-card > p { font-size: 14px; color: var(--color-text-muted); margin-bottom: 16px; }
.product-list li {
  font-size: 14px; color: var(--color-text-muted);
  padding: 4px 0;
}

/* ===== 服务领域 ===== */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.service-item {
  display: flex; gap: 24px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.service-item:hover { border-color: var(--color-primary); }
.service-num {
  font-size: 32px; font-weight: 700;
  color: var(--color-primary);
  opacity: 0.3;
  line-height: 1;
}
.service-content h3 { font-size: 18px; margin-bottom: 4px; }
.service-content p { font-size: 14px; color: var(--color-text-muted); }

/* ===== 联系 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
}
.contact-info h3 { font-size: 20px; margin-bottom: 24px; color: #fff; }
.info-item { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.info-label { font-size: 12px; color: #9ca3af; margin-bottom: 4px; }
.info-value { font-size: 15px; color: #fff; }
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form input, .contact-form textarea {
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #6b7280; }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255,255,255,0.08);
}

/* ===== 页脚 ===== */
.footer {
  background: #050505;
  color: #9ca3af;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer .logo { margin-bottom: 8px; }
.footer .logo-img { height: 48px; }
.footer .logo-cn { color: #fff; }
.footer-desc { font-size: 13px; }
.footer-right { text-align: right; font-size: 12px; }
.footer-right p { margin: 2px 0; }
.footer-right a.beian-link { color: inherit; text-decoration: none; opacity: 0.85; transition: opacity 0.2s; }
.footer-right a.beian-link:hover { opacity: 1; text-decoration: underline; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { padding: 6px 12px; font-size: 13px; }
  .hero { padding: 120px 0 60px; }
  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 15px; }
  .hero-actions { flex-direction: column; margin-bottom: 48px; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-num { font-size: 28px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 28px; }
  .about-grid, .product-grid, .service-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-right { text-align: center; }
}
