/* ==========================================================================
   GoBlogThemes - 全站主样式表
   风格：极简办公风（纯白 + 浅灰 + 藏青）
   布局：波浪曲线叠加分割布局，多层波浪叠加
   纯原生 CSS3，无任何框架依赖
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  /* 主色：藏青系（专业沉稳办公感） */
  --navy-50:  #EEF1F8;
  --navy-100: #D9E0F0;
  --navy-200: #B4C1E0;
  --navy-300: #8A9CCB;
  --navy-400: #5E76B0;
  --navy-500: #3D5896;
  --navy-600: #2C4278;
  --navy-700: #1E305A;
  --navy-800: #142244;
  --navy-900: #0B1630;

  /* 辅色：浅灰系（办公洁净感） */
  --gray-50:  #FAFBFC;
  --gray-100: #F4F6F9;
  --gray-200: #E8ECF1;
  --gray-300: #D4DAE3;
  --gray-400: #AEB7C4;
  --gray-500: #7E8896;
  --gray-600: #5A6473;
  --gray-700: #3D4553;
  --gray-800: #252B36;
  --gray-900: #14181F;

  /* 强调色：办公蓝 */
  --accent-400: #4A7FD4;
  --accent-500: #3568C0;
  --accent-600: #2854A0;

  /* 中性 */
  --white:    #FFFFFF;
  --paper:    #FAFBFC;
  --paper-2:  #F4F6F9;
  --ink-900:  #14181F;
  --ink-700:  #3D4553;
  --ink-500:  #5A6473;
  --ink-300:  #7E8896;
  --line:     #E2E6ED;
  --line-soft:#F0F2F6;

  /* 功能 */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 12px rgba(20, 34, 68, 0.05);
  --shadow:    0 12px 36px rgba(20, 34, 68, 0.08);
  --shadow-lg: 0 24px 56px rgba(20, 34, 68, 0.14);
  --container: 1240px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-700);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--accent-500); }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  color: var(--ink-900);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--ink-500); }

/* ---------- 容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.container-narrow { max-width: 880px; }
.container-wide   { max-width: 1440px; }
section { position: relative; }

/* ==========================================================================
   波浪曲线叠加分割布局系统（核心骨架）
   使用 SVG 波浪 + CSS 渐变 + 多层叠加营造专业办公高级感
   ========================================================================== */

/* 波浪分隔容器 */
.wave-section {
  position: relative;
  overflow: hidden;
}
.wave-divider {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}
.wave-divider.flip svg { transform: rotate(180deg); }

/* 波浪光晕背景 */
.wave-glow {
  position: relative;
  overflow: hidden;
}
.wave-glow::before {
  content: "";
  position: absolute;
  top: -15%; left: -8%;
  width: 55%; height: 70%;
  background: radial-gradient(ellipse at center, rgba(53, 104, 192, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.wave-glow::after {
  content: "";
  position: absolute;
  bottom: -15%; right: -8%;
  width: 50%; height: 65%;
  background: radial-gradient(ellipse at center, rgba(30, 48, 90, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.wave-glow > * { position: relative; z-index: 1; }

/* 渐变区块 */
.gradient-section {
  position: relative;
  padding: 96px 0;
  background: linear-gradient(160deg, var(--white) 0%, var(--paper) 45%, var(--paper-2) 100%);
}
.gradient-section.navy {
  background: linear-gradient(160deg, var(--navy-700) 0%, var(--navy-800) 50%, var(--navy-900) 100%);
  color: #C8D2E8;
}
.gradient-section.navy h2, .gradient-section.navy h3 { color: var(--white); }
.gradient-section.navy p { color: #9AABCC; }

/* 波浪卡片 */
.wave-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all .4s var(--ease);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.wave-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-500), var(--accent-400), var(--navy-300));
}
.wave-card::after {
  content: "";
  position: absolute;
  bottom: -40%; right: -20%;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(53, 104, 192, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.wave-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--navy-200);
}

/* 波浪网格 */
.wave-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.wave-cell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  overflow: hidden;
}
.wave-cell::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--navy-50), transparent);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.wave-cell:nth-child(6n+1) { background: var(--navy-50); border-color: var(--navy-100); }
.wave-cell:nth-child(6n+3) { background: var(--gray-100); border-color: var(--gray-200); }
.wave-cell:nth-child(6n+5) { background: var(--paper); border-color: var(--line); }
.wave-cell:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--accent-400);
}
.wave-cell:hover::before { opacity: 1; }

/* ==========================================================================
   顶部导航（固定，滚动变色，移动端汉堡菜单）
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 1.2rem; color: var(--ink-900);
  letter-spacing: 0.02em;
}
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand .brand-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-600), var(--accent-500));
  display: grid; place-items: center; color: var(--white);
  font-size: 1.1rem; font-weight: 900;
  box-shadow: 0 4px 12px rgba(44, 66, 120, 0.25);
}
.brand-text small { display: block; font-size: 0.66rem; font-weight: 400; color: var(--ink-300); letter-spacing: 0.16em; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block;
  padding: 9px 14px;
  font-size: 0.93rem;
  color: var(--ink-700);
  border-radius: 8px;
  transition: all .3s var(--ease);
}
.main-nav > li > a:hover,
.main-nav > li.active > a {
  color: var(--accent-500);
  background: var(--navy-50);
}
/* 下拉菜单 */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px); left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all .3s var(--ease);
}
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px; left: 24px;
  width: 12px; height: 12px;
  background: var(--white);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.main-nav li:hover > .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--ink-700);
}
.dropdown-menu li a:hover { background: var(--navy-50); color: var(--accent-500); }

.nav-cta {
  margin-left: 10px;
  padding: 9px 22px;
  background: linear-gradient(135deg, var(--navy-600), var(--accent-500));
  color: var(--white);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all .3s var(--ease);
  box-shadow: 0 4px 14px rgba(44, 66, 120, 0.28);
}
.nav-cta:hover { background: linear-gradient(135deg, var(--navy-700), var(--accent-600)); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(44, 66, 120, 0.36); }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--navy-50);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--ink-700);
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动抽屉 */
.mobile-drawer {
  position: fixed;
  top: 76px; right: 0;
  width: 82%; max-width: 340px;
  height: calc(100vh - 76px);
  background: var(--white);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  overflow-y: auto;
  z-index: 999;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer li a {
  display: block;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-700);
  font-weight: 500;
  border-radius: 8px;
}
.mobile-drawer li a:hover { color: var(--accent-500); background: var(--navy-50); }
.mobile-sub { padding-left: 20px; }
.overlay {
  position: fixed; inset: 0;
  background: rgba(20, 24, 31, 0.4);
  opacity: 0; visibility: hidden;
  transition: all .3s var(--ease);
  z-index: 998;
}
.overlay.show { opacity: 1; visibility: visible; }

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  transition: all .35s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: linear-gradient(135deg, var(--navy-600), var(--accent-500)); color: var(--white); box-shadow: 0 4px 14px rgba(44, 66, 120, 0.26); }
.btn-primary:hover { background: linear-gradient(135deg, var(--navy-700), var(--accent-600)); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(44, 66, 120, 0.34); }
.btn-outline { border-color: var(--navy-300); color: var(--navy-600); background: var(--white); }
.btn-outline:hover { background: var(--navy-50); color: var(--navy-700); transform: translateY(-2px); border-color: var(--navy-400); }
.btn-ghost { color: var(--ink-700); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy-300); color: var(--accent-500); }
.btn-light { background: var(--white); color: var(--navy-700); }
.btn-light:hover { background: var(--navy-50); transform: translateY(-2px); }
.btn-lg { padding: 15px 34px; font-size: 1.02rem; }

.txt-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-500); font-weight: 600; font-size: 0.92rem;
  border-bottom: 1px solid transparent;
  transition: all .3s var(--ease);
}
.txt-link::after { content: "→"; transition: transform .3s var(--ease); }
.txt-link:hover { border-bottom-color: var(--accent-400); }
.txt-link:hover::after { transform: translateX(4px); }

/* ==========================================================================
   板块标题
   ========================================================================== */
.section { padding: 96px 0; }
.section-tight { padding: 60px 0; }
.section-gray { background: var(--gray-100); }
.section-paper { background: var(--paper); }
.section-navy { background: var(--navy-800); color: #C8D2E8; }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: #9AABCC; }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 15px;
  background: var(--navy-50);
  color: var(--navy-600);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow.gray { background: var(--gray-200); color: var(--gray-600); }
.eyebrow.dark { background: rgba(255,255,255,0.1); color: var(--navy-200); }
.section-head p { font-size: 1.04rem; color: var(--ink-500); margin-top: 14px; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* 标题前的波浪装饰（品牌元素） */
.wave-mark {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  background: linear-gradient(135deg, var(--navy-500), var(--accent-400));
  border-radius: 6px;
  color: var(--white);
  font-weight: 900;
  margin-right: 10px;
  vertical-align: middle;
}
.wave-mark svg { width: 15px; height: 15px; }

/* ==========================================================================
   卡片
   ========================================================================== */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: all .4s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--navy-200); }
.card-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; position: relative; }
.card-img img { width: 100%; height: 220px; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.94rem; }

/* 办公缝线卡片 */
.stitch-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 2px dashed var(--navy-100);
  position: relative;
  transition: all .4s var(--ease);
}
.stitch-card::before {
  content: "";
  position: absolute; inset: 8px;
  border: 1px solid var(--line-soft);
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
}
.stitch-card:hover { background: var(--navy-50); transform: translateY(-4px); border-color: var(--navy-200); }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 60%, #060E20 100%);
  color: #9AABCC;
  padding: 76px 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-500), var(--accent-400), var(--navy-300), var(--accent-500));
}
.site-footer::after {
  content: "";
  position: absolute;
  bottom: -30%; right: -10%;
  width: 40%; height: 80%;
  background: radial-gradient(ellipse at center, rgba(53, 104, 192, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}
.footer-col h4 { color: var(--white); font-size: 0.98rem; margin-bottom: 20px; letter-spacing: 0.04em; }
.footer-col p { color: #7E8EAE; font-size: 0.9rem; line-height: 1.85; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { color: #9AABCC; font-size: 0.9rem; transition: all .3s var(--ease); }
.footer-col ul li a:hover { color: var(--accent-400); padding-left: 5px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 13px; font-size: 0.9rem; color: #9AABCC; }
.footer-contact .ic { color: var(--accent-400); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.84rem; color: #6B7B9C;
  position: relative;
  z-index: 1;
}
.footer-bottom a { color: #6B7B9C; }
.footer-bottom a:hover { color: var(--accent-400); }
.footer-icp a { color: #8A9ABC; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  display: grid; place-items: center;
  color: #9AABCC;
  transition: all .3s var(--ease);
}
.footer-social a:hover { background: var(--accent-500); color: var(--white); border-color: var(--accent-500); }

/* ==========================================================================
   页面通用：面包屑、页头横幅
   ========================================================================== */
.page-hero {
  padding: 148px 0 68px;
  background:
    radial-gradient(circle at 15% 20%, rgba(53, 104, 192, 0.07) 0%, transparent 48%),
    radial-gradient(circle at 85% 80%, rgba(30, 48, 90, 0.05) 0%, transparent 50%),
    linear-gradient(160deg, var(--white) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -1px;
  width: 90px; height: 4px;
  background: linear-gradient(90deg, var(--navy-500), var(--accent-400));
  transform: translateX(-50%);
  border-radius: 4px;
}
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 0.85rem; color: var(--ink-300);
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--accent-500); }
.breadcrumb span.sep { color: var(--ink-300); }
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { font-size: 1.06rem; max-width: 680px; }

/* ==========================================================================
   表单
   ========================================================================== */
.form-row { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.9rem; color: var(--ink-700); margin-bottom: 8px; font-weight: 500; }
.form-label .req { color: var(--accent-500); }
.form-control {
  width: 100%;
  padding: 13px 17px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.95rem;
  transition: all .3s var(--ease);
}
.form-control:focus {
  outline: none;
  border-color: var(--navy-300);
  box-shadow: 0 0 0 4px var(--navy-50);
}
textarea.form-control { min-height: 130px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ==========================================================================
   工具类
   ========================================================================== */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.tag {
  display: inline-block; padding: 4px 12px;
  background: var(--navy-50); color: var(--navy-600);
  border-radius: 999px; font-size: 0.76rem; font-weight: 500;
}
.tag.gray { background: var(--gray-200); color: var(--gray-600); }

/* ==========================================================================
   滚动渐入动画
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* 装饰：办公网格背景 */
.bg-office-grid {
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 44px 44px;
}

/* 返回顶部 */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-600);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transition: all .3s;
  z-index: 900;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent-500); transform: translateY(-3px); }
