/* 爱万企科技 — 单页站样式 */
:root {
  --color-primary-start: #3b41c5;
  --color-primary-end: #4a54e1;
  --color-accent: #4e5ef2;
  --color-white: #ffffff;
  --color-bg-subtle: #f8f9fa;
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-footer: #0b1120;
  --color-footer-text: #94a3b8;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --container: min(1200px, 92vw);
  --header-h: 72px;
  --radius: 10px;
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* 渐变与按钮 */
.gradient-hero {
  background: radial-gradient(ellipse 120% 100% at 50% 0%, #4a54e1 0%, #2d3399 50%, #252a7a 100%);
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary-start) 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, opacity 0.15s ease;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #6366f1 100%);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(78, 94, 242, 0.4);
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* 顶栏 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(10, 15, 50, 0.35) 0%, transparent 100%);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(15, 20, 60, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.85;
}

.nav-cta {
  margin-left: 0.5rem;
}

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-white);
  border-radius: 1px;
  transition: transform 0.2s;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(20, 25, 70, 0.98);
    padding: 1rem 0 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
  }

  .nav-links a {
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-cta {
    margin: 1rem 1.5rem 0;
    text-align: center;
  }

  .nav-cta .btn {
    width: 100%;
  }
}

/* Hero */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 3rem) 16px 4rem;
  color: var(--color-white);
}

.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  font-weight: 800;
  margin: 0 0 1.25rem;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.hero-lead {
  max-width: 42rem;
  margin: 0 auto 2.25rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Section 通用 */
.section {
  padding: 4.5rem 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0 0 0.6rem;
  color: var(--color-text);
}

.section-header p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* 核心价值 */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--color-bg-subtle);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(15, 23, 42, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #6366f1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  margin-bottom: 1.1rem;
}

.value-icon svg {
  width: 24px;
  height: 24px;
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: var(--color-text);
}

.value-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* 产品区 */
.product-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.product-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.tablet {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #1e1b4b 0%, #0f172a 100%);
  border-radius: 16px;
  border: 3px solid #334155;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tablet::before {
  content: "";
  position: absolute;
  width: 48px;
  height: 4px;
  background: #334155;
  border-radius: 2px;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.tablet-mock {
  position: relative;
  margin-top: 0.5rem;
}

.tablet .cloud {
  color: #818cf8;
  margin-bottom: 1rem;
}

.tablet .cloud svg {
  width: 64px;
  height: 64px;
  opacity: 0.9;
}

.tablet-title {
  color: #e2e8f0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  max-width: 14rem;
}

.tablet-bars {
  display: flex;
  gap: 0.4rem;
  margin-top: 1.5rem;
  width: 100%;
  max-width: 200px;
}

.tablet-bars span {
  flex: 1;
  height: 4px;
  background: #334155;
  border-radius: 2px;
}

.tablet-bars span:nth-child(2) {
  background: var(--color-accent);
  flex: 1.4;
}

.product-content h2 {
  font-size: 1.65rem;
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.3;
}

.product-content > p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
  line-height: 1.75;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  color: var(--color-text);
  font-size: 0.95rem;
}

.check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.check svg {
  width: 12px;
  height: 12px;
  color: white;
}

.product-content .btn-primary {
  margin-top: 0.5rem;
}

/* 表单 */
.form-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input::placeholder {
  color: #94a3b8;
}

.form-input:hover {
  border-color: #cbd5e1;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(78, 94, 242, 0.15);
}

@media (max-width: 900px) {
  .product-split {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .feature-list li {
    text-align: left;
  }

  .product-content .btn-primary {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}

/* 数据 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item .num {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary-start) 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat-item .label {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Footer */
.site-footer {
  background: var(--color-footer);
  color: var(--color-footer-text);
  padding: 3.5rem 0 0;
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  color: var(--color-white);
  display: inline-block;
  margin-bottom: 0.9rem;
}

.footer-brand p {
  margin: 0 0 1.2rem;
  line-height: 1.7;
  max-width: 22rem;
  color: var(--color-footer-text);
}

.social {
  display: flex;
  gap: 0.75rem;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  transition: background 0.2s;
}

.social a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.footer-col h3 {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1.1rem;
}

.footer-col ul li {
  margin-bottom: 0.65rem;
}

.footer-col a {
  color: var(--color-footer-text);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--color-white);
}

.contact-lines li {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.contact-lines .k {
  flex-shrink: 0;
  min-width: 3.2rem;
  color: #cbd5e1;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 0 1.5rem;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.8);
}

.footer-bottom a {
  color: rgba(148, 163, 184, 0.9);
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}
