/* 基础色彩与排版（简洁配色） */
:root {
  --bg: #ffffff;
  --fg: #0b132a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #2563eb;
  --accent-weak: #e8efff;
  --footer-height: 24px;
  --footer-bg: #ffffff;
  --footer-fg: #374151;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.7;
  font-size: clamp(14px, 1.2vw, 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: var(--footer-height);
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* 头部导航 */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.9); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; }
.brand .logo { width: 28px; height: 28px; }
.brand-name { font-weight: 700; letter-spacing: 0.5px; }

.nav-toggle { display: none; border: 1px solid var(--border); background: var(--bg); border-radius: 8px; padding: 8px 12px; }
.nav-list { display: flex; align-items: center; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--fg); text-decoration: none; padding: 10px 12px; border-radius: 8px; transition: background .2s ease, color .2s ease; }
.nav-list a:hover { background: var(--accent-weak); color: var(--accent); }
.nav-list a.active { background: var(--accent-weak); color: var(--accent); }

/* 按钮 */
.btn { display: inline-block; padding: 12px 18px; border-radius: 12px; text-decoration: none; font-weight: 600; transition: transform .15s ease, box-shadow .2s ease, filter .2s ease; }
.btn-primary { background: linear-gradient(135deg, #2563eb, #1e40af); color: #fff; box-shadow: 0 10px 24px rgba(37,99,235,0.25); }
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 14px 28px rgba(37,99,235,0.28); }
.btn-outline { border: 1px solid var(--border); color: var(--fg); }
.btn-outline:hover { background: var(--accent-weak); transform: translateY(-1px); }

/* 首屏 */
.hero { position: relative; padding: 100px 0; background: radial-gradient(1200px 600px at 10% 10%, #eef2ff 0%, transparent 50%), linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #eef2ff 100%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.15; margin: 0 0 14px; letter-spacing: 0.3px; }
.hero p { color: var(--muted); margin: 0 0 18px; font-size: clamp(14px, 1.6vw, 18px); }
.hero-actions { display: flex; gap: 12px; }

.hero-art { display: flex; align-items: center; justify-content: center; }
.art-shape { width: 100%; height: 320px; border-radius: 20px; background:
  radial-gradient(140px 140px at 20% 30%, rgba(37,99,235,0.16), transparent 70%),
  radial-gradient(180px 180px at 80% 20%, rgba(99,102,241,0.16), transparent 75%),
  radial-gradient(120px 120px at 60% 80%, rgba(14,165,233,0.16), transparent 70%),
  linear-gradient(135deg, #ffffff, #eef2ff);
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(11,19,42,0.08);
}

/* 通用区块 */
.section { padding: 80px 0; }
.section-title { font-size: 28px; margin: 0 0 8px; }
.section-subtitle { color: var(--muted); margin: 0 0 18px; }
.lead { color: var(--muted); }
.alt { background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%); }

/* 卡片与网格 */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.cards > .card { grid-column: span 3; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: 0 8px 20px rgba(11,19,42,0.06); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease; }
.cards > .card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(11,19,42,0.08); border-color: transparent; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { color: var(--muted); margin: 0; font-size: 14px; }
.card-icon { width: 42px; height: 42px; display: grid; place-items: center; font-size: 20px; border-radius: 12px; background: var(--accent-weak); color: var(--accent); margin-bottom: 10px; }

/* 新闻列表 */
.news-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 8px 20px rgba(11,19,42,0.06); }
.news-list li { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.news-list li:last-child { border-bottom: none; }
.news-list time { color: var(--muted); }
.news-list a { color: var(--fg); text-decoration: none; }
.news-list a:hover { color: var(--accent); }

/* 关于我们 */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px; color: var(--muted); box-shadow: 0 6px 16px rgba(11,19,42,0.06); }
.feature strong { color: var(--fg); }

/* 联系我们 */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: 0 8px 20px rgba(11,19,42,0.06); }
.contact-list { list-style: none; padding: 0; margin: 12px 0 0; }
.contact-list li { margin: 8px 0; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: 0 8px 20px rgba(11,19,42,0.06); }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; font: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(37,99,235,0.14); }
.form-tip { color: var(--muted); font-size: 13px; margin-top: 8px; }

/* 页脚 */
.site-footer { position: fixed; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--border); background: var(--footer-bg); z-index: 40; }
.footer-inner { display: flex; justify-content: center; align-items: center; padding: 8px 0; }
.footer-copy { color: var(--footer-fg); font-size: 12px; }
.footer-copy.center { text-align: center; width: 100%; }

/* 联系方式链接颜色优化 */
.contact-list a { color: var(--accent); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; filter: brightness(1.1); }

/* 轮播图（产品图片展示） */
.carousel { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 12px 28px rgba(11,19,42,0.08); }
.carousel-track { display: flex; width: 100%; transition: transform 0.6s ease; will-change: transform; }
.carousel-slide { min-width: 100%; }
.carousel-slide img { display: block; width: 100%; height: clamp(320px, 52vh, 560px); object-fit: contain; background: #f8fafc; }
.carousel::before, .carousel::after { content: ""; position: absolute; top: 0; bottom: 0; width: 48px; pointer-events: none; z-index: 2; }
.carousel::before { left: 0; background: linear-gradient(90deg, rgba(255,255,255,1), rgba(255,255,255,0)); }
.carousel::after { right: 0; background: linear-gradient(270deg, rgba(255,255,255,1), rgba(255,255,255,0)); }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: none; border-radius: 999px; background: rgba(255,255,255,0.85); color: var(--fg); box-shadow: 0 6px 16px rgba(0,0,0,0.12); cursor: pointer; transition: transform .15s ease, box-shadow .2s ease; }
.carousel-btn:hover { background: rgba(255,255,255,1); transform: translateY(-50%) scale(1.04); box-shadow: 0 10px 24px rgba(0,0,0,0.14); }
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }
.carousel-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.carousel-dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--border); background: rgba(0,0,0,0.2); cursor: pointer; padding: 0; }
.carousel-dots button.active { background: var(--accent); border-color: var(--accent); }

/* 动效 */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* 响应式 */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .cards > .card { grid-column: span 6; }
  .features { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .news-list li { grid-template-columns: 100px 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .nav-list { display: none; position: absolute; right: 20px; top: 60px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px; flex-direction: column; gap: 6px; min-width: 180px; }
  .nav-list.open { display: flex; }
  .cards > .card { grid-column: span 12; }
  .features { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .carousel-slide img { height: 300px; }
}
.hero-banner { position: relative; min-height: clamp(360px, 60vh, 680px); display: grid; align-items: end; background: #000; color: #fff; border-bottom: 1px solid var(--border); }
.hero-banner .hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-banner .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.8s ease; }
.hero-banner .hero-bg img.active { opacity: 1; }
.hero-banner .overlay { position: relative; z-index: 2; padding: 40px 0 60px; background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.35) 65%, rgba(0,0,0,0.55) 100%); }
.hero-banner .title { font-size: clamp(26px, 4.2vw, 40px); margin: 0 0 8px; }
.hero-banner .subtitle { font-size: clamp(14px, 1.6vw, 18px); color: #e5e7eb; margin: 0; }

/* 分节标题样式（01/02/03） */
.section-header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.section-index { font-weight: 700; color: var(--accent); font-size: 18px; }
.section-title { font-size: 28px; margin: 0; }

/* 公司简介 */
.company { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; }
.company .text { color: var(--muted); }
.company .image { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 20px rgba(11,19,42,0.06); }
.company .image img { width: 100%; display: block; }

/* 四大板块 */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry { border: 1px solid var(--border); border-radius: 16px; padding: 18px; background: #fff; box-shadow: 0 8px 20px rgba(11,19,42,0.06); }
.industry h3 { margin: 0 0 6px; font-size: 16px; }
.industry p { margin: 0; color: var(--muted); }

/* 图片画廊 */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery figure { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.gallery img { width: 100%; display: block; height: clamp(140px, 24vh, 220px); object-fit: cover; }
.gallery figcaption { padding: 8px 10px; font-size: 13px; color: var(--muted); background: #fff; }

/* 企业文化 */
.culture { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: center; }
.culture .image { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 8px 20px rgba(11,19,42,0.06); }
.culture .image img { width: 100%; display: block; }
.culture .list { border: 1px solid var(--border); border-radius: 16px; padding: 18px; background: #fff; box-shadow: 0 8px 20px rgba(11,19,42,0.06); }
.culture .list ul { margin: 0; padding-left: 18px; color: var(--muted); }

/* 深色页脚风格保留结构 */
.site-footer { background: var(--footer-bg); border-top-color: rgba(255,255,255,0.06); }
.footer-inner { padding: 16px 0; }
.footer-copy { color: var(--footer-fg); }

@media (max-width: 960px) {
  .company { grid-template-columns: 1fr; }
  .industries { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .culture { grid-template-columns: 1fr; }
}
/* Dark theme removed */

/* 新风格首屏（简洁版） */
.hero-section { position: relative; padding: 0; background: var(--hero-bg); }
.hero-section .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; min-height: 600px; padding: 60px 0; }
.hero-section .content { padding: 20px 0; }
.hero-section .content h1 { margin: 0 0 16px; font-size: clamp(32px, 5vw, 48px); font-weight: 800; line-height: 1.2; color: #111827; }
.hero-section .content p { margin: 0 0 24px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.hero-section .screen { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 12px; background: #fff; border: 1px solid var(--border); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); overflow: hidden; }
.hero-section .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; opacity: 0; transition: opacity .8s ease; }
.hero-section .screen img.active { opacity: 1; }
.hero-section .cta { display: inline-block; padding: 12px 24px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; transition: background 0.2s; }
.hero-section .cta:hover { background: #1d4ed8; }

/* 屏幕切换控制 */
.hero-section .screen .screen-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: none; border-radius: 50%; background: rgba(255,255,255,0.8); color: #111827; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); cursor: pointer; z-index: 3; display: flex; align-items: center; justify-content: center; font-size: 20px; transition: background 0.2s; }
.hero-section .screen .screen-btn:hover { background: #fff; }
.hero-section .screen .screen-btn.prev { left: 16px; }
.hero-section .screen .screen-btn.next { right: 16px; }

/* 优势区块 */
.advantages { background: #fff; padding: 80px 0; border-bottom: 1px solid var(--border); }
.adv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv-card { border: 1px solid var(--border); border-radius: 12px; padding: 24px; background: #fff; transition: box-shadow 0.2s, transform 0.2s; }
.adv-card:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); transform: translateY(-2px); }
.adv-card.featured { background: #fff; border-color: var(--accent); border-width: 2px; }
.adv-card h3 { margin: 0 0 12px; font-size: 20px; font-weight: 700; color: #111827; }
.adv-card p { margin: 0; color: var(--muted); line-height: 1.6; }

/* 选项卡/胶囊 */
.pills { display: inline-flex; gap: 4px; background: #f3f4f6; border-radius: 8px; padding: 4px; }
.pills button { border: none; background: transparent; color: var(--muted); padding: 8px 16px; border-radius: 6px; cursor: pointer; font-weight: 500; transition: all 0.2s; font-size: 14px; }
.pills button.active { background: #fff; color: var(--accent); box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); }
.pills button:hover:not(.active) { color: #111827; }

/* 悬浮操作按钮 */
.fab { position: fixed; right: 32px; bottom: 32px; width: 56px; height: 56px; display: grid; place-items: center; background: var(--accent); color: #fff; border-radius: 50%; box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4); z-index: 60; font-size: 24px; text-decoration: none; transition: transform 0.2s; }
.fab:hover { transform: scale(1.1); }

@media (max-width: 960px) {
  .hero-section .wrap { grid-template-columns: 1fr; padding: 40px 0; min-height: auto; }
  .adv-cards { grid-template-columns: 1fr; }
}
