/* ============================================
   南京通用电器有限公司 企业官网
   科技蓝主题样式
   ============================================ */

/* ---------- 基础重置 & 变量 ---------- */
:root {
  --primary:    #1565C0;   /* 柔和科技蓝（调淡） */
  --primary-light:#42A5F5;
  --accent:     #64B5F6;    /* 柔亮蓝 */
  --gradient:   linear-gradient(135deg, #1565C0 0%, #42A5F5 50%, #64B5F6 100%);
  --bg-light:   #F5F8FC;
  --bg-white:   #FFFFFF;
  --text-dark:  #1A1A2E;
  --text-body:  #444466;
  --text-light: #8888AA;
  --border:     #E0E6F0;
  --shadow:     0 4px 24px rgba(21,101,192,0.08);
  --shadow-lg:  0 8px 40px rgba(21,101,192,0.12);
  --radius:     12px;
  --radius-sm:  8px;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

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

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

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(11,61,145,0.08); }
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.1rem; font-weight: 700; color: var(--primary);
}
.nav-logo .logo-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 900;
}
.nav-logo span { font-size: 0.85rem; color: var(--text-light); font-weight: 400; display: block; }
.nav-links { display: flex; gap: 8px; list-style: none; }
.nav-links a {
  display: block; padding: 8px 18px; border-radius: 8px;
  font-size: 0.95rem; font-weight: 500; color: var(--text-dark);
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(11,61,145,0.06); color: var(--primary);
}
.nav-cta {
  background: var(--gradient); color: #fff !important;
  padding: 10px 24px !important; border-radius: 8px; font-weight: 600;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(11,61,145,0.3); }

/* 移动端菜单 */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-dark); margin: 5px 0; transition: var(--transition); }

/* ----------