/* 四川一维云创科技有限公司 官网样式 */
:root {
  --primary: #0b5cff;
  --primary-dark: #0742b8;
  --ink: #0f1c33;
  --ink-soft: #4a5b78;
  --line: #e3e9f2;
  --bg-soft: #f5f8fd;
  --white: #ffffff;
  --radius: 12px;
  --maxw: 1180px;
  --shadow: 0 6px 24px rgba(15, 28, 51, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ============ 顶部导航 ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 42px; height: 40px; object-fit: contain; display: block;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-cn { font-size: 16px; font-weight: 700; letter-spacing: 0.3px; }
.brand-en { font-size: 11px; color: var(--ink-soft); letter-spacing: 0.2px; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 15px; color: var(--ink-soft); font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; border: 1px solid transparent;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: rgba(11, 92, 255, 0.06); }

/* ============ 首页 Banner ============ */
.hero {
  position: relative;
  background: linear-gradient(160deg, #0a1832 0%, #12336b 55%, #0b5cff 130%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(54, 163, 255, 0.35), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(11, 92, 255, 0.30), transparent 45%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; padding-top: 92px; padding-bottom: 92px; }
.hero-tag {
  display: inline-block; font-size: 13px; letter-spacing: 1px;
  padding: 6px 14px; border: 1px solid rgba(255,255,255,0.35);
  border-radius: 100px; margin-bottom: 22px; color: #cfe0ff;
}
.hero h1 {
  font-size: 46px; line-height: 1.25; font-weight: 800; letter-spacing: -0.5px;
  max-width: 780px; margin-bottom: 20px;
}
.hero h1 .accent { color: #6db4ff; }
.hero p.lead {
  font-size: 17px; color: #c6d4ee; max-width: 660px; margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn-outline { color: #fff; border-color: rgba(255,255,255,0.5); }
.hero-actions .btn-outline:hover { background: rgba(255,255,255,0.1); }

/* 数据条 */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; padding: 42px 0;
}
.stat { text-align: center; }
.stat .num { font-size: 36px; font-weight: 800; color: var(--primary); letter-spacing: -1px; }
.stat .label { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }

/* ============ 通用 Section ============ */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-head .eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--primary);
  text-transform: uppercase; margin-bottom: 12px;
}
.section-head h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 16px; }

/* 卡片网格 */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 20px;
  background: #e8f1ff;
  display: flex; align-items: center; justify-content: center;
}
.card .icon svg { display: block; width: 28px; height: 28px; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--ink-soft); }

/* ============ 关于我们 ============ */
.about-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
.about-text h2 { font-size: 30px; font-weight: 800; margin-bottom: 20px; letter-spacing: -0.3px; }
.about-text p { color: var(--ink-soft); margin-bottom: 18px; font-size: 15.5px; }
.about-en {
  font-size: 13px; color: var(--ink-soft); font-style: normal;
  background: var(--bg-soft); padding: 14px 18px; border-radius: 8px;
  border-left: 3px solid var(--primary); margin-top: 6px;
}
.info-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
}
.info-panel h4 { font-size: 15px; font-weight: 700; margin-bottom: 18px; color: var(--primary); letter-spacing: 0.5px; }
.info-row { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.info-row:last-child { border-bottom: none; }
.info-row .k { color: var(--ink-soft); flex: 0 0 84px; }
.info-row .v { color: var(--ink); font-weight: 500; }

/* 时间线 / 优势列表 */
.feature-list { list-style: none; }
.feature-list li {
  display: flex; gap: 14px; padding: 14px 0; font-size: 15px; color: var(--ink-soft);
}
.feature-list li .tick {
  flex: 0 0 22px; height: 22px; border-radius: 50%;
  background: rgba(11,92,255,0.12); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}

/* ============ 联系我们 ============ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-item {
  display: flex; gap: 18px; padding: 24px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 18px;
}
.contact-item .ci-icon {
  flex: 0 0 48px; height: 48px; border-radius: 10px;
  background: #e8f1ff;
  display: flex; align-items: center; justify-content: center;
}
.contact-item .ci-icon svg { display: block; width: 24px; height: 24px; }
.contact-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.contact-item p { font-size: 15px; color: var(--ink-soft); }
.contact-item a { color: var(--primary); font-weight: 600; }

/* ============ 页脚 ============ */
.site-footer { background: #0a1832; color: #a9bad8; padding: 60px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand-cn { color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.footer-brand .brand-en { color: #7f92b3; font-size: 12.5px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: #8296b8; max-width: 340px; }
.footer-col h5 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.5px; }
.footer-col a, .footer-col p { display: block; font-size: 14px; color: #8296b8; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #6b7f9f; }
.footer-bottom a { color: #8296b8; transition: color 0.2s; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* ============ 内页 Banner ============ */
.page-hero {
  background: linear-gradient(150deg, #0a1832 0%, #12336b 100%);
  color: #fff; padding: 66px 0;
}
.breadcrumb { font-size: 13px; color: #93a9cc; margin-bottom: 12px; }
.breadcrumb a:hover { color: #fff; }
.page-hero h1 { font-size: 36px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 10px; }
.page-hero p { color: #c6d4ee; font-size: 16px; max-width: 640px; }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0; padding: 8px 0;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; width: 100%; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 32px; }
  .hero .container { padding-top: 60px; padding-bottom: 60px; }
  .stats-grid { grid-template-columns: 1fr; gap: 30px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 26px; }
  .page-hero h1 { font-size: 27px; }
}
