/* =========================================================
   深圳钰丰信息技术有限公司 · 企业官网静态站样式
   品牌色：科技蓝 #0B4DD8 / 深蓝 #0A1F44 / 青色强调 #00A0E9
   ========================================================= */

:root {
  --primary: #0b4dd8;
  --primary-dark: #0836a0;
  --primary-deep: #0a1f44;
  --accent: #00a0e9;
  --accent-light: #38c1ff;
  --text: #1f2a44;
  --text-light: #5a6784;
  --bg-soft: #f4f7fc;
  --border: #e3e9f4;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(10, 31, 68, 0.08);
  --shadow-hover: 0 18px 40px rgba(11, 77, 216, 0.16);
  --radius: 14px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.25s; }
ul { list-style: none; }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 14px rgba(10, 31, 68, 0.07);
  z-index: 1000;
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo svg { width: 44px; height: 44px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-cn { font-size: 19px; font-weight: 700; color: var(--primary-deep); letter-spacing: 1px; }
.logo-en { font-size: 10.5px; color: var(--text-light); letter-spacing: 1.6px; text-transform: uppercase; }

.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  display: block;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
}
.main-nav a:hover { color: var(--primary); }
.main-nav li.active > a { color: var(--primary); font-weight: 600; }
.main-nav li.active > a::after {
  content: "";
  display: block;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin-top: 2px;
}

/* dropdown */
.has-dropdown { position: relative; }
.has-dropdown .arrow {
  display: inline-block;
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  margin-left: 6px;
  transition: transform 0.25s;
}
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 210px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(10, 31, 68, 0.16);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.has-dropdown:hover .arrow { transform: rotate(225deg) translateY(-1px); }
.dropdown li a {
  padding: 10px 14px;
  font-size: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dropdown li a:hover { background: var(--bg-soft); color: var(--primary); }
.dropdown li a::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2.5px;
  background: var(--primary-deep);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  margin-top: var(--header-h);
  min-height: 620px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(105deg, rgba(6, 22, 64, 0.88) 0%, rgba(10, 47, 130, 0.72) 45%, rgba(0, 96, 170, 0.35) 100%),
    url("../img/hero-bg.png") center right / cover no-repeat;
  color: var(--white);
  overflow: hidden;
}
.hero-content { max-width: 720px; padding: 90px 0; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--accent-light);
  border: 1px solid rgba(56, 193, 255, 0.5);
  border-radius: 999px;
  padding: 6px 18px;
  margin-bottom: 26px;
  background: rgba(0, 160, 233, 0.12);
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.28;
  font-weight: 700;
  margin-bottom: 22px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #4fd2ff, #7ae5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.28s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(90deg, var(--primary), #1170f0);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(17, 112, 240, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(17, 112, 240, 0.5); }
.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* page hero (inner pages) */
.page-hero {
  margin-top: var(--header-h);
  padding: 96px 0 72px;
  background:
    linear-gradient(115deg, rgba(8, 34, 96, 0.92) 0%, rgba(11, 77, 216, 0.78) 60%, rgba(0, 160, 233, 0.55) 100%),
    url("../img/hero-bg.png") center / cover no-repeat;
  color: var(--white);
}
.page-hero .crumb { font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 14px; letter-spacing: 1px; }
.page-hero .crumb a:hover { color: var(--accent-light); }
.page-hero h1 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 14px; }
.page-hero .sub { font-size: 17px; color: rgba(255, 255, 255, 0.85); max-width: 780px; }

/* ---------------- Stats bar ---------------- */
.stats {
  margin-top: -64px;
  position: relative;
  z-index: 5;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 20px;
  gap: 12px;
}
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border);
}
.stat .num {
  font-size: 40px;
  font-weight: 700;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}
.stat .num sup { font-size: 20px; }
.stat .label { font-size: 15px; color: var(--text-light); margin-top: 4px; }

/* ---------------- Sections ---------------- */
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.section-head .kicker {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  color: var(--primary-deep);
  line-height: 1.35;
  margin-bottom: 14px;
}
.section-head p { color: var(--text-light); font-size: 16.5px; }

/* cards */
.card-grid { display: grid; gap: 26px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.card .icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(11, 77, 216, 0.1), rgba(0, 160, 233, 0.14));
}
.card .icon svg { width: 30px; height: 30px; stroke: var(--primary); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 20px; color: var(--primary-deep); margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--text-light); }
.card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary);
}
.card .more:hover { color: var(--accent); }
.card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.card:hover::after { transform: scaleX(1); }

/* feature list card */
.feature-card ul { margin-top: 14px; }
.feature-card li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 15px;
  color: var(--text-light);
}
.feature-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ---------------- Split section ---------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split .visual {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
  padding: 40px;
}
.split h2 { font-size: clamp(24px, 2.8vw, 34px); color: var(--primary-deep); margin-bottom: 18px; }
.split p { color: var(--text-light); margin-bottom: 16px; }
.split .checks { margin-top: 10px; }
.split .checks li { position: relative; padding: 8px 0 8px 30px; color: var(--text); font-size: 15.5px; }
.split .checks li::before {
  content: "✓";
  position: absolute; left: 0; top: 7px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(0, 160, 233, 0.14);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* dual value panel */
.value-panel {
  border-radius: 16px;
  padding: 30px 26px;
  height: 100%;
}
.value-panel.internal { background: linear-gradient(150deg, #eef4ff, #e3edff); }
.value-panel.external { background: linear-gradient(150deg, #e8f9ff, #ddf3ff); }
.value-panel h4 {
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  color: #fff;
}
.value-panel.internal h4 { background: var(--primary); }
.value-panel.external h4 { background: var(--accent); }
.value-panel li { position: relative; padding: 6px 0 6px 22px; font-size: 14.5px; color: var(--text-light); }
.value-panel li::before { content: "▸"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.value-panel.external li::before { color: var(--accent); }

/* ---------------- Agent matrix (10 assistants) ---------------- */
.agent-matrix { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.agent-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
  transition: all 0.3s;
}
.agent-tile:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.agent-tile .t-icon {
  width: 46px; height: 46px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.agent-tile h4 { font-size: 16px; color: var(--primary-deep); margin-bottom: 8px; }
.agent-tile p { font-size: 12.8px; color: var(--text-light); line-height: 1.65; }

/* ---------------- Steps / timeline ---------------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 22px;
  position: relative;
  transition: all 0.3s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.step .no {
  counter-increment: step;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step h4 { font-size: 17px; color: var(--primary-deep); margin-bottom: 8px; }
.step p { font-size: 13.8px; color: var(--text-light); }

/* ---------------- CTA band ---------------- */
.cta-band {
  background:
    linear-gradient(110deg, rgba(8, 34, 96, 0.94), rgba(11, 77, 216, 0.86)),
    url("../img/hero-bg.png") center / cover no-repeat;
  color: var(--white);
  border-radius: 20px;
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 640px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--primary-deep); color: rgba(255, 255, 255, 0.82); margin-top: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding: 70px 0 50px;
}
.footer-brand .f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-brand .f-logo span { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.footer-brand p { font-size: 14px; line-height: 1.9; color: rgba(255, 255, 255, 0.62); }
.footer-col h5 { color: #fff; font-size: 16px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h5::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 28px; height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}
.footer-col li { margin-bottom: 11px; font-size: 14.2px; }
.footer-col li a:hover { color: var(--accent-light); }
.footer-col .f-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: 14.2px; }
.footer-col .f-item b { color: rgba(255,255,255,0.9); font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.55); }
.footer-bottom a:hover { color: var(--accent-light); }

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .agent-matrix { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    box-shadow: 0 20px 40px rgba(10, 31, 68, 0.14);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .main-nav.open { max-height: 480px; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 14px 5%; gap: 2px; }
  .main-nav a { padding: 13px 10px; }
  .main-nav li.active > a::after { display: none; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 18px;
    display: none;
  }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown:hover .dropdown { transform: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .stat + .stat::before { display: none; }
  .cols-3, .cols-2 { grid-template-columns: 1fr; }
  .cols-4 { grid-template-columns: 1fr; }
  .agent-matrix { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { min-height: 540px; }
  .cta-band { padding: 44px 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding: 50px 0 36px; }
}

@media (max-width: 480px) {
  .agent-matrix { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
}
