/* ===== 苏州协同创新智能制造装备有限公司门户 企业官网 共享样式 ===== */

:root {
  --primary: #0a4b9e;
  --primary-light: #1a6fff;
  --primary-dark: #073a7d;
  --accent: #00d4ff;
  --accent-2: #18e0a8;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-dark: #06192f;
  --text: #1c2b3a;
  --text-soft: #5a6b7b;
  --border: #e3e9f0;
  --shadow: 0 10px 30px rgba(10, 75, 158, 0.08);
  --radius: 14px;
  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: 100%; 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.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.logo .mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  display: grid; place-items: center;
  color: #fff; font-size: 18px; font-weight: 800;
  box-shadow: 0 6px 16px rgba(26, 111, 255, 0.35);
}
.logo .name { font-size: 16px; color: var(--text); letter-spacing: 0.3px; line-height: 1.2; }
.logo .name small { display: block; font-size: 10px; color: var(--text-soft); font-weight: 500; letter-spacing: 0.5px; }

.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a {
  padding: 8px 16px; border-radius: 8px; font-size: 15px; color: var(--text);
  transition: all 0.2s ease; position: relative; font-weight: 500;
}
.nav-links a:hover { color: var(--primary-light); background: var(--bg-soft); }
.nav-links a.active { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-light)); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: radial-gradient(circle at 20% 20%, rgba(26,111,255,0.18), transparent 45%),
              radial-gradient(circle at 85% 30%, rgba(0,212,255,0.14), transparent 40%),
              linear-gradient(160deg, #06203f 0%, #0a4b9e 55%, #1a6fff 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; padding: 96px 0 110px; }
.hero .tag {
  display: inline-block; padding: 6px 14px; border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px; font-size: 13px; letter-spacing: 1px; margin-bottom: 22px;
  background: rgba(255,255,255,0.06);
}
.hero h1 { font-size: 46px; line-height: 1.25; font-weight: 800; margin-bottom: 18px; }
.hero h1 .hl { color: var(--accent); }
.hero p.lead { font-size: 18px; color: rgba(255,255,255,0.85); max-width: 640px; margin-bottom: 34px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 10px;
  font-weight: 600; font-size: 15px; cursor: pointer; transition: all 0.25s ease; border: 0;
}
.btn-primary { background: #fff; color: var(--primary); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,0.18); }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); }

/* ===== 数据统计条 ===== */
.stats { background: var(--bg-dark); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 48px 24px; }
.stat { text-align: center; }
.stat .num { font-size: 38px; font-weight: 800; color: var(--accent); }
.stat .label { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 6px; }

/* ===== 通用区块 ===== */
.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .eyebrow { color: var(--primary-light); font-weight: 700; letter-spacing: 2px; font-size: 13px; }
.section-head h2 { font-size: 34px; font-weight: 800; margin: 10px 0 14px; }
.section-head p { color: var(--text-soft); font-size: 16px; }

/* ===== 业务卡片 ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: all 0.3s ease; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .ic {
  width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center;
  font-size: 26px; margin-bottom: 18px; color: #fff;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 15px; }
.card .more { display: inline-block; margin-top: 16px; color: var(--primary-light); font-weight: 600; font-size: 14px; }

/* 业务大卡片 */
.biz-card { display: flex; flex-direction: column; gap: 6px; }
.biz-card .ic { font-size: 30px; }
.biz-card.feature { background: linear-gradient(160deg, #06203f, #0a4b9e); color: #fff; border: 0; }
.biz-card.feature .ic { background: rgba(255,255,255,0.14); }
.biz-card.feature p { color: rgba(255,255,255,0.82); }

/* ===== 流程步骤 ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { text-align: center; position: relative; padding: 28px 18px; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); }
.step .no { width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; font-weight: 800; font-size: 18px; }
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-soft); }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, #06203f, #1a6fff); color: #fff; text-align: center;
  padding: 70px 0; border-radius: 0;
}
.cta h2 { font-size: 32px; font-weight: 800; margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 16px; }

/* ===== 页脚 ===== */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 56px 0 24px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-top h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-brand .logo .name { color: #fff; }
.footer-brand p { font-size: 14px; margin-top: 14px; line-height: 1.8; }
.footer-links a { display: block; padding: 5px 0; font-size: 14px; color: rgba(255,255,255,0.7); transition: 0.2s; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact p { font-size: 14px; margin-bottom: 8px; }
.footer-bottom { padding-top: 22px; font-size: 13px; text-align: center; color: rgba(255,255,255,0.55); line-height: 1.9; }
.footer-bottom a { color: var(--accent); }
.footer-bottom a:hover { text-decoration: underline; }

/* ===== 关于页 ===== */
.about-hero { background: linear-gradient(160deg, #06203f, #0a4b9e); color: #fff; padding: 80px 0; }
.about-hero h1 { font-size: 38px; font-weight: 800; margin-bottom: 14px; }
.about-hero p { color: rgba(255,255,255,0.85); max-width: 680px; font-size: 16px; }
.intro-text { font-size: 16px; color: var(--text-soft); }
.intro-text p { margin-bottom: 16px; }
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item::before { content: ""; position: absolute; left: -26px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--primary-light); border: 3px solid #fff; box-shadow: 0 0 0 3px rgba(26,111,255,0.2); }
.tl-item .year { font-weight: 800; color: var(--primary); font-size: 17px; }
.tl-item h4 { font-size: 16px; margin: 4px 0; }
.tl-item p { color: var(--text-soft); font-size: 14px; }

.value-item { text-align: center; padding: 30px 20px; }
.value-item .ic { font-size: 32px; margin-bottom: 12px; }

/* ===== 产品页 ===== */
.prod-card .price { margin-top: 14px; font-weight: 700; color: var(--primary); }

/* ===== 联系页 ===== */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info .item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--border); }
.contact-info .item .ic { width: 44px; height: 44px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--bg-soft); font-size: 20px; }
.contact-info .item h4 { font-size: 15px; color: var(--text-soft); font-weight: 600; }
.contact-info .item p { font-size: 16px; font-weight: 600; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; font-size: 15px;
  font-family: inherit; transition: 0.2s; background: #fff; color: var(--text);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: 0; border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(26,111,255,0.12); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--text-soft); margin-top: 10px; }

.map-box { height: 320px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: linear-gradient(135deg,#e8eef6,#d8e3f0); display: grid; place-items: center; color: var(--text-soft); }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .grid-2, .grid-3, .steps, .contact-wrap { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 34px; }
  .nav-links {
    position: fixed; top: 72px; right: 0; width: 240px; background: #fff; flex-direction: column;
    padding: 16px; box-shadow: var(--shadow); border-radius: 0 0 0 14px; transform: translateX(110%);
    transition: transform 0.3s ease; gap: 4px;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { width: 100%; }
  .nav-toggle { display: flex; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero-inner { padding: 64px 0 80px; }
  .hero h1 { font-size: 28px; }
}
