/* 九州维安企业网站 - 深色科技风格 */
/* 参考 aossci 大气简洁科技感，使用企业真实内容 */

:root {
  --bg-deep: #060d1a;
  --bg-card: #0b1528;
  --bg-card-hover: #112240;
  --text-main: #f0f4f8;
  --text-sub: #94a3b8;
  --text-muted: #64748b;
  --accent: #00b4d8;
  --accent-deep: #0077b6;
  --accent-glow: rgba(0,180,216,0.15);
  --border: rgba(255,255,255,0.06);
  --radius: 16px;
  --shadow: 0 8px 32px rgba(2,12,30,0.35);
  --font-body: "PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC",system-ui,sans-serif;
  --font-en: "Inter","Segoe UI",system-ui,sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* 导航 */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 72px; background: rgba(6,13,26,0.75); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
}
.nav-logo { font-family: var(--font-en); font-weight: 800; font-size: 1.25rem; color: var(--text-main); letter-spacing: 0.04em; text-decoration: none; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text-sub); text-decoration: none; font-size: 0.9rem; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.lang-switch { display: flex; gap: 6px; align-items: center; font-size: 0.8rem; color: var(--text-muted); }
.lang-switch button { background: none; border: 1px solid var(--border); color: var(--text-sub); padding: 3px 8px; border-radius: 6px; cursor: pointer; font-size: 0.75rem; }
.lang-switch button.active { color: var(--accent); border-color: var(--accent); }

/* 主视觉沉浸式 */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(135deg, #030814 0%, #0a1528 40%, #07152a 100%);
}
.hero-bg-img {
  position: absolute; inset: 0; z-index: 0; opacity: 0.35; object-fit: cover; filter: grayscale(0.3);
}
.hero-overlay {
  position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(6,13,26,0.55) 0%, rgba(6,13,26,0.85) 70%, var(--bg-deep) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 48px; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(0,180,216,0.08); border: 1px solid rgba(0,180,216,0.2);
  color: var(--accent); padding: 6px 14px; border-radius: 999px; font-size: 0.82rem; margin-bottom: 24px;
}
.hero h1 { font-family: var(--font-en); font-weight: 700; font-size: clamp(2.4rem, 5.5vw, 4.2rem); line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 20px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p.lead { color: var(--text-sub); font-size: 1.05rem; max-width: 640px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 10px; font-size: 0.92rem; text-decoration: none; transition: all .2s;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: #0096b5; border-color: #0096b5; }
.btn-outline { background: transparent; color: var(--text-main); border-color: rgba(255,255,255,0.2); }
.btn-outline:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.35); }

/* 区块通用 */
.section { padding: 120px 48px; max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 64px; }
.section-header h2 { font-family: var(--font-en); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; margin-bottom: 10px; }
.section-header p { color: var(--text-sub); font-size: 0.95rem; }

/* 卡片网格 */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; transition: all .3s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: rgba(0,180,216,0.25); box-shadow: var(--shadow); }
.card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--text-sub); font-size: 0.9rem; }
.card .meta { color: var(--text-muted); font-size: 0.75rem; margin-top: 12px; }

/* 产品参数表 */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
thead th { background: rgba(0,180,216,0.06); color: var(--text-sub); text-align: left; padding: 12px 16px; font-weight: 600; }
tbody td { padding: 12px 16px; border-top: 1px solid var(--border); color: var(--text-sub); }
tbody tr:hover td { background: rgba(255,255,255,0.02); }

/* 新闻列表 */
.news-row { display: flex; gap: 20px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid var(--border); }
.news-row:first-child { padding-top: 0; }
.news-row img { width: 160px; height: 100px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.news-row .date { color: var(--accent); font-family: var(--font-en); font-size: 0.8rem; font-weight: 600; margin-bottom: 6px; }
.news-row h4 { font-size: 1.05rem; margin-bottom: 6px; }
.news-row p { color: var(--text-sub); font-size: 0.88rem; }

/* 表单 */
.form { display: grid; gap: 18px; max-width: 560px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 12px 14px; border-radius: 8px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); color: var(--text-main); font-family: inherit; font-size: 0.92rem;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.05); }
.form label { display: block; margin-bottom: 6px; font-size: 0.82rem; color: var(--text-sub); }

/* 页脚 */
.site-footer { background: #030814; border-top: 1px solid var(--border); padding: 64px 48px 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.site-footer h4 { font-family: var(--font-en); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; color: var(--text-muted); }
.site-footer a { display: block; color: var(--text-sub); text-decoration: none; font-size: 0.88rem; margin-bottom: 8px; transition: color .15s; }
.site-footer a:hover { color: var(--accent); }
.site-footer .copyright { max-width: 1200px; margin: 36px auto 0; padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.78rem; }

/* 响应式 */
.carousel-dots { display:flex; gap:10px; justify-content:center; margin-top:10px; }
.carousel-dots button { width:10px; height:10px; border-radius:50%; border:none; background:rgba(255,255,255,0.3); cursor:pointer; }
.carousel-dots button.active { background:var(--accent); }
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav-links { gap: 14px; }
  .section { padding: 80px 24px; }
  .hero-content { padding: 0 24px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .news-row { flex-direction: column; }
  .news-row img { width: 100%; height: 180px; }
}
