/* Zoogoo 正禾软件官网 - 新版样式 */
:root {
  --brand: #0f6bfa;
  --brand-dark: #054bd1;
  --brand-light: #e8f1ff;
  --accent: #00c2a8;
  --dark: #0b1c33;
  --text: #1f2937;
  --text-muted: #4b5563;
  --text-light: #6b7280;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 10px 40px rgba(15, 107, 250, 0.08);
  --shadow-hover: 0 20px 60px rgba(15, 107, 250, 0.14);
  --radius: 16px;
  --radius-sm: 8px;
  --max-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.container { width: min(92%, var(--max-width)); margin: 0 auto; }
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 2.25rem; color: var(--dark); margin-bottom: 12px; }
.section-title p { color: var(--text-muted); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px; font-weight: 600; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s; border: none; font-size: 1rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(90deg, var(--brand), #2b8cff); color: #fff; box-shadow: 0 8px 24px rgba(15,107,250,.3); }
.btn-primary:hover { background: linear-gradient(90deg, var(--brand-dark), var(--brand)); color: #fff; }
.btn-outline { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-white { background: #fff; color: var(--brand); box-shadow: 0 4px 16px rgba(0,0,0,.1); }

/* 头部 */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229,231,235,.6);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.35rem; color: var(--dark); }
.logo-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid; place-items: center; color: #fff; font-size: 1.1rem;
}
.logo span { color: var(--brand); }
.logo img { height: 60px; width: auto; max-width: none; display: block; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: var(--text-muted); font-weight: 500; font-size: 1rem; position: relative; }
.nav a::after {
  content: ""; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px;
  background: var(--brand); transition: width .25s;
}
.nav a:hover, .nav a.active { color: var(--brand); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

.header-phone { display: flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 700; }
.header-phone svg { width: 18px; height: 18px; flex-shrink: 0; }
.header-phone .phone-item { display: flex; flex-direction: column; line-height: 1.35; }
.header-phone .tel { font-size: 1.05rem; }
.header-phone .hotline { font-size: 0.85rem; font-weight: 600; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); margin: 6px 0; border-radius: 2px; transition: .3s; }

/* 首页快捷入口条（仅首页，位于 header 下方，内容左对齐） */
.sc-banner { margin-top: 72px; background: var(--brand-light); border-bottom: 1px solid rgba(15, 107, 250, 0.15); }
.sc-banner-inner {
  display: flex; align-items: center; gap: 18px;
  padding: 12px 0;
}
.sc-banner-label {
  color: #9ca3af; font-size: .9rem; font-weight: 500;
  white-space: nowrap;
}
.sc-banner-inner a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand); font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: color .2s;
}
.sc-banner-inner a:hover { color: var(--brand-dark); }
.sc-banner-inner svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Hero */
.hero {
  position: relative; min-height: 720px; padding-top: 120px;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #050e1c 0%, #0b1c33 60%, #0a2a52 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url('../images/hero.jpg') center/cover no-repeat;
  opacity: .55;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 220px;
  background: linear-gradient(to top, rgba(248,250,252,1), rgba(248,250,252,0));
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 720px; color: #fff; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 50px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  font-size: .9rem; margin-bottom: 24px; backdrop-filter: blur(4px);
}
.hero h1 { font-size: 3.2rem; line-height: 1.2; margin-bottom: 24px; font-weight: 800; }
.hero p { font-size: 1.25rem; color: rgba(255,255,255,.85); margin-bottom: 36px; max-width: 560px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 56px; }
.hero-stats div { text-align: center; }
.hero-stats strong { display: block; font-size: 2rem; font-weight: 800; color: #fff; }
.hero-stats span { font-size: .95rem; color: rgba(255,255,255,.7); }

/* 卡片网格 */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s;
  border: 1px solid var(--border);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 20px;
  display: grid; place-items: center; background: var(--brand-light); color: var(--brand);
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--dark); }
.card p { color: var(--text-muted); font-size: .95rem; }
.card-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 20px;
}

/* 关于我们 */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-text h2 { font-size: 2rem; color: var(--dark); margin-bottom: 16px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; }
.about-list li { display: flex; gap: 12px; margin-bottom: 14px; color: var(--text-muted); }
.about-list li::before {
  content: "✓"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: .8rem; display: grid; place-items: center;
}
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* 客户展示 */
.customers { background: #fff; }
.customer-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.customer-logos span {
  padding: 16px 28px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border);
  font-weight: 600; color: var(--text-muted); transition: .2s;
}
.customer-logos span:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); }

/* 联系 */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.contact-card h4 { font-size: 1.15rem; color: var(--dark); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.contact-card p { color: var(--text-muted); margin-bottom: 8px; font-size: .95rem; }
.contact-card .label { color: var(--text-light); font-size: .85rem; }

/* 页脚 */
.footer { background: var(--dark); color: rgba(255,255,255,.75); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo img { height: 40px; width: 40px; }
.footer-brand p { color: rgba(255,255,255,.65); font-size: .95rem; }
.footer h5 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.65); }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.65); }

/* 页面顶部横幅 */
.page-banner {
  padding: 140px 0 80px; text-align: center;
  background: linear-gradient(135deg, var(--dark), #0f346e);
  color: #fff;
}
.page-banner h1 { font-size: 2.5rem; margin-bottom: 12px; }
.page-banner p { color: rgba(255,255,255,.8); font-size: 1.1rem; }

/* 商城 */
.mall-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.mall-gallery { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; padding: 24px; }
.mall-gallery img { border-radius: var(--radius-sm); }
.mall-info h1 { font-size: 2.25rem; color: var(--dark); margin-bottom: 12px; }
.mall-info .price { font-size: 2.5rem; color: var(--brand); font-weight: 800; margin: 20px 0; }
.mall-info .price small { font-size: 1rem; color: var(--text-light); font-weight: 400; }
.mall-meta li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.mall-meta li strong { color: var(--dark); min-width: 90px; }

/* 下载 */
.download-group { margin-bottom: 56px; }
.download-group h3 { font-size: 1.35rem; color: var(--dark); margin-bottom: 24px; padding-left: 16px; border-left: 4px solid var(--brand); }
.download-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  margin-bottom: 12px; transition: .2s;
}
.download-item:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.download-item h4 { font-size: 1rem; color: var(--dark); }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.download-grid .download-item {
  flex-direction: column; align-items: flex-start; margin-bottom: 0; gap: 20px;
  min-height: 100%;
}
.download-grid .download-item > *:last-child { margin-top: auto; }
.download-grid .download-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.download-item p { font-size: .85rem; color: var(--text-light); margin-top: 4px; }
.qr-wrap { position: relative; }
.qr-wrap .qr-pop {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  display: none; z-index: 30; padding: 8px; background: #fff; border-radius: 8px;
  box-shadow: var(--shadow-hover); border: 1px solid var(--border);
}
.qr-wrap .qr-pop img { display: block; width: 150px; max-width: none; aspect-ratio: 1/1; object-fit: cover; }
.qr-wrap:hover .qr-pop { display: block; }

/* 支持 */
.support-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.support-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; text-align: center; transition: .2s;
}
.support-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--brand); }
.support-card .icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--brand-light); display: grid; place-items: center; color: var(--brand); }
.support-card h3 { margin-bottom: 10px; color: var(--dark); }
.support-card p { color: var(--text-muted); margin-bottom: 20px; }
.faq { background: #fff; }
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-item h4 { color: var(--dark); margin-bottom: 8px; }
.faq-item p { color: var(--text-muted); }

/* 隐私政策/条款 */
.legal { background: #fff; }
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h3 { color: var(--dark); margin: 32px 0 12px; }
.legal-content p { color: var(--text-muted); margin-bottom: 14px; }

/* 动画 */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* 响应式 */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .download-grid { grid-template-columns: repeat(2, 1fr); }
  .about-wrap, .mall-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header { backdrop-filter: none; }
  .header-phone { display: none; }
  .logo img { height: 36px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: #fff; flex-direction: column; padding: 32px; gap: 24px;
    transform: translateX(100%); transition: transform .3s;
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 1.15rem; }
  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .grid-2, .grid-3, .grid-4, .download-grid { grid-template-columns: 1fr; }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .support-links { grid-template-columns: 1fr; }
  .section-title h2 { font-size: 1.75rem; }
  .section { padding: 56px 0; }
  .download-item { flex-direction: column; align-items: flex-start; }
}
