/*
Theme Name: 六方水信息
Theme URI: https://sdguang.com
Description: 六方水信息工作室企业官网主题 - 现代简洁风
Author: 六方水信息
Version: 1.0.0
*/

:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --cyan: #06b6d4;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --border: #e5e7eb;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }

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

/* ===== 导航 ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand .logo-mark { display: flex; }
.brand .logo-mark svg { width: 34px; height: 34px; }
.brand span { letter-spacing: 1px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 15px; color: var(--text-light); transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.nav-links a.nav-login {
  padding: 8px 18px; border-radius: 999px; background: var(--primary); color: #fff !important; font-weight: 600;
  box-shadow: 0 2px 8px rgba(14,165,233,0.25); transition: all .2s;
}
.nav-links a.nav-login:hover { background: var(--primary-dark); color: #fff !important; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(14,165,233,0.35); }

/* ===== Hero ===== */
.hero {
  padding: 160px 0 120px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(14,165,233,0.14), transparent),
    var(--bg);
}
.hero .logo-mark { display: inline-flex; margin-bottom: 28px; }
.hero .logo-mark svg { width: 88px; height: 88px; }
.hero h1 { font-size: 52px; font-weight: 800; letter-spacing: 2px; margin-bottom: 16px; }
.hero h1 .accent { color: var(--primary); }
.hero .slogan { font-size: 20px; color: var(--text-light); margin-bottom: 40px; }
.hero .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 999px;
  font-size: 16px; font-weight: 600; transition: all .2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(14,165,233,0.3); }
.btn-ghost { border: 1.5px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ===== 通用 section ===== */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-light); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow { font-size: 14px; color: var(--primary); font-weight: 600; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; }
.section-head h2 { font-size: 34px; font-weight: 700; letter-spacing: 1px; }
.section-head p { color: var(--text-light); margin-top: 14px; font-size: 16px; }

/* ===== 关于 ===== */
.about-text { max-width: 720px; margin: 0 auto; text-align: center; font-size: 17px; color: var(--text-light); }
.about-stats { display: flex; justify-content: center; gap: 64px; margin-top: 56px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat .num { font-size: 40px; font-weight: 800; color: var(--primary); }
.stat .label { font-size: 14px; color: var(--text-light); margin-top: 4px; }

/* ===== 服务 ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.service-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 16px;
  padding: 32px 28px; transition: all .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(15,23,42,0.08); border-color: var(--primary); }
.service-card .icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(14,165,233,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-card .icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-light); }

/* ===== 联系 ===== */
.contact-box {
  max-width: 600px; margin: 0 auto; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #ffffff 0%, #f0f9ff 100%);
  border: 1px solid #e0f2fe; border-radius: 24px; padding: 56px 44px 48px;
  box-shadow: 0 12px 40px rgba(14,165,233,0.08), 0 2px 8px rgba(15,23,42,0.04);
}
.contact-box::before { content: ""; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(14,165,233,0.10), transparent 70%); border-radius: 50%; pointer-events: none; }
.contact-box::after { content: ""; position: absolute; bottom: -80px; left: -80px; width: 240px; height: 240px; background: radial-gradient(circle, rgba(56,189,248,0.08), transparent 70%); border-radius: 50%; pointer-events: none; }
.contact-box p[style*="font-size:16px"] { display: inline-block; padding: 8px 20px; border-radius: 999px; background: rgba(14,165,233,0.08); color: #0369a1 !important; font-size: 14px !important; font-weight: 500; letter-spacing: 0.5px; margin-bottom: 24px; position: relative; z-index: 1; }
.contact-box .wx { display: inline-flex; align-items: center; gap: 14px; font-size: 28px; font-weight: 700; color: var(--primary); margin: 24px 0 8px; padding: 14px 28px; border-radius: 16px; background: #fff; border: 1.5px solid #e0f2fe; box-shadow: 0 4px 14px rgba(14,165,233,0.10); position: relative; z-index: 1; transition: transform .2s, box-shadow .2s; }
.contact-box .wx:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(14,165,233,0.18); }
.contact-box .wx svg { width: 36px; height: 36px; }
.contact-box .hint { color: var(--text-light); font-size: 15px; }
.contact-box .company-full { margin-top: 28px; font-size: 16px; color: #1f2937; font-weight: 600; letter-spacing: 1px; }

/* ===== 页脚 ===== */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0; background: var(--bg); }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; text-align: center; color: var(--text-light); font-size: 14px; }
.footer-inner .brand-line { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; color: var(--text); margin-bottom: 8px; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .hero { padding: 120px 0 80px; }
  .hero h1 { font-size: 36px; }
  .hero .slogan { font-size: 17px; }
  .nav-links { display: flex; gap: 12px; align-items: center; justify-content: flex-end; }
  .nav-links a:not(.nav-login) { display: none; }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 28px; }
  .about-stats { gap: 40px; }
}
