:root {
  --blue-900: #0C447C;
  --blue-800: #0e5291;
  --blue-700: #185FA5;
  --blue-500: #378ADD;
  --blue-300: #85B7EB;
  --blue-100: #E6F1FB;
  --amber: #F5A623;
  --ink: #16283b;
  --muted: #5f7186;
  --line: #e2eaf3;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(12, 68, 124, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: 76px; display: flex; align-items: center;
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: all .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(12,68,124,.06); }
.nav-wrap { display: flex; align-items: center; gap: 32px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-size: 14px; color: #36485c; position: relative; padding: 8px 0; transition: color .2s; }
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--amber); transition: width .25s ease;
}
.nav a:hover { color: var(--blue-700); }
.nav a:hover::after { width: 100%; }
.nav-cta {
  background: var(--blue-700); color: #fff; padding: 10px 20px; border-radius: 8px;
  font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--blue-900); transform: translateY(-1px); }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 720px; padding: 150px 0 120px;
  background: linear-gradient(135deg, #0a3b6d 0%, #12589d 55%, #1a72b8 100%);
  color: #fff; overflow: hidden; display: flex; align-items: center;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero-orbit {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  width: 560px; height: 560px; opacity: .9;
}
.hero-orbit svg { width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 660px; }
.hero-badge {
  display: inline-block; font-size: 13px; letter-spacing: .08em;
  padding: 8px 16px; border: 1px solid rgba(255,255,255,.28);
  border-radius: 30px; margin-bottom: 28px; color: #d6e8fa;
}
.hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1.18; margin: 0 0 26px; font-weight: 700; letter-spacing: -.02em; }
.hero h1 span { color: var(--amber); }
.hero-lead { font-size: 17px; line-height: 1.9; color: #d9e7f5; max-width: 580px; margin: 0 0 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 9px; font-size: 15px; font-weight: 500; cursor: pointer; border: 1px solid transparent; transition: all .25s; }
.btn-primary { background: var(--amber); color: #1a2a1a; }
.btn-primary:hover { background: #ffb83d; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(245,166,35,.3); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.hero-scroll { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 2; }
.hero-scroll span { display: block; width: 1px; height: 46px; background: rgba(255,255,255,.4); position: relative; }
.hero-scroll span::after { content: ''; position: absolute; bottom: 0; left: -3px; width: 7px; height: 7px; border-right: 1px solid #fff; border-bottom: 1px solid #fff; transform: rotate(45deg); }

/* ---------- Stats ---------- */
.stats { background: var(--blue-900); color: #fff; padding: 42px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; border-right: 1px solid rgba(255,255,255,.14); }
.stat:last-child { border: 0; }
.stat-value { font-size: 42px; font-weight: 700; line-height: 1; color: var(--amber); }
.stat-value small { font-size: 18px; margin-left: 2px; }
.stat-label { margin-top: 10px; font-size: 14px; color: #bcd3e8; }

/* ---------- Section shared ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.section-label { font-size: 12px; letter-spacing: .16em; color: var(--blue-500); font-weight: 600; margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 3.4vw, 40px); margin: 0; line-height: 1.3; font-weight: 700; }
.section-desc { color: var(--muted); max-width: 380px; margin: 0; font-size: 15px; }
.lead { color: var(--muted); font-size: 16px; line-height: 1.9; }

/* ---------- About ---------- */
.about-wrap { display: grid; grid-template-columns: 420px 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; }
.about-mark { width: 100%; max-width: 360px; margin: 0 auto; }
.about-mark svg { width: 100%; height: auto; }
.about-mark-caption {
  position: absolute; bottom: 8px; right: 12%; font-size: 20px;
  letter-spacing: .3em; color: var(--blue-700); font-weight: 500;
}
.about-copy .lead { margin: 22px 0 28px; }
.philosophy-card {
  background: var(--blue-100); border-left: 3px solid var(--amber);
  padding: 26px 30px; border-radius: 0 12px 12px 0; margin-bottom: 26px;
}
.philosophy-card h3 { margin: 0 0 10px; font-size: 19px; color: var(--blue-900); }
.philosophy-card p { margin: 0; color: #405872; font-size: 15px; line-height: 1.85; }
.text-link { color: var(--blue-700); font-weight: 500; font-size: 15px; }
.text-link span { display: inline-block; transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }

/* ---------- Services ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; transition: all .3s ease; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--blue-100);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.service-icon svg { width: 28px; height: 28px; stroke: var(--blue-700); stroke-width: 1.7; fill: none; }
.service-card h3 { font-size: 19px; margin: 0 0 12px; }
.service-card p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.8; }

/* ---------- Products ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px 24px; display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.product-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--blue-100);
  display: flex; align-items: center; justify-content: center;
}
.product-icon svg { width: 26px; height: 26px; stroke: var(--blue-700); stroke-width: 1.7; fill: none; }
.product-tag {
  font-size: 12px; color: var(--blue-700); background: var(--blue-100);
  padding: 5px 11px; border-radius: 20px;
}
.product-card h3 { font-size: 16px; margin: 0 0 12px; line-height: 1.5; }
.product-card p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0 0 18px; flex: 1; }
.product-features { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.product-features li {
  font-size: 12px; color: var(--blue-700); background: #f0f6fd;
  border: 1px solid #d8e8fa; padding: 4px 10px; border-radius: 6px;
}
.products-note { text-align: center; font-size: 13px; color: var(--muted); margin: 24px 0 0; }

/* ---------- Advantage ---------- */
.advantage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 60px; }
.advantage-item { display: flex; gap: 20px; padding: 18px 0; }
.advantage-num { font-size: 30px; font-weight: 700; color: var(--blue-100); line-height: 1; min-width: 48px; }
.advantage-item h3 { margin: 0 0 8px; font-size: 18px; }
.advantage-item p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Cases ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: all .3s;
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.case-cover {
  height: 180px; background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.case-cover img { width: 100%; height: 100%; object-fit: cover; }
.case-cover::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(245,166,35,.35), transparent 60%);
}
.case-cover span { color: rgba(255,255,255,.9); font-size: 15px; letter-spacing: .1em; position: relative; z-index: 1; }
.case-body { padding: 24px; }
.case-industry { font-size: 12px; color: var(--blue-500); font-weight: 600; letter-spacing: .05em; }
.case-body h3 { font-size: 18px; margin: 8px 0 10px; }
.case-body p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { border-bottom: 1px solid var(--line); padding-bottom: 22px; transition: transform .25s; }
.news-card:hover { transform: translateY(-3px); }
.news-meta { font-size: 12px; color: var(--blue-500); margin-bottom: 10px; }
.news-meta span { margin-right: 12px; }
.news-card h3 { font-size: 18px; margin: 0 0 10px; line-height: 1.5; }
.news-card h3:hover { color: var(--blue-700); }
.news-card p { color: var(--muted); font-size: 14px; margin: 0; }
.news-date { float: right; color: #9aa8b8; }

/* ---------- Contact ---------- */
.contact-section { background: var(--blue-900); color: #fff; }
.contact-section .section-label { color: var(--amber); }
.contact-section .lead { color: #bcd3e8; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-list { margin-top: 36px; display: grid; gap: 16px; }
.contact-row { display: flex; gap: 14px; align-items: center; color: #dce9f5; }
.contact-row b { color: var(--amber); font-weight: 500; min-width: 56px; }
.contact-form { background: #fff; border-radius: 16px; padding: 40px; color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.contact-form input, .contact-form textarea {
  width: 100%; margin-top: 8px; padding: 12px 14px; border: 1px solid #d7e2ee;
  border-radius: 8px; font-size: 14px; color: var(--ink); background: #fbfdff; resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(55,138,221,.12);
}
.contact-form .btn { width: 100%; background: var(--blue-700); color: #fff; }
.contact-form .btn:hover { background: var(--blue-900); }
.form-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; min-height: 20px; text-align: center; }
.form-note.success { color: #1d9e75; }
.form-note.error { color: #d85a30; }

/* ---------- Footer ---------- */
.site-footer { background: #082f56; color: #a9c2da; padding: 60px 0 30px; }
.footer-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.footer-brand { position: relative; }
.footer-logo-wrap { position: relative; display: inline-block; margin-bottom: 22px; }
.footer-logo-wrap::before {
  content: ''; position: absolute; left: -22px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, transparent, #2fb6e6 25%, #4de2ff 55%, #2fb6e6 80%, transparent);
  box-shadow: 0 0 12px rgba(77,226,255,.5);
}
.footer-logo-wrap img { height: 96px; width: auto; display: block; filter: drop-shadow(0 0 18px rgba(47,182,230,.15)); }
.footer-brand p { font-size: 14px; line-height: 1.9; color: #b9d0e6; letter-spacing: .02em; }
.footer-nav { display: flex; gap: 70px; justify-content: flex-end; }
.footer-nav h4 { color: #fff; font-size: 14px; margin: 0 0 16px; }
.footer-nav a { display: block; font-size: 13px; margin-bottom: 10px; }
.footer-nav a:hover { color: var(--amber); }
.footer-bottom {
  grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px; margin-top: 20px; display: flex; justify-content: space-between;
  align-items: center; gap: 16px;
  font-size: 12px; color: #7c9bb9;
}
.footer-icp { white-space: nowrap; }
.footer-icp[hidden] { display: none; }
.footer-icp a { color: #7c9bb9; text-decoration: none; transition: color .2s; }
.footer-icp a:hover { color: var(--amber); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 12px 24px; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-left: auto; }
  .menu-toggle { display: block; }
  .hero-orbit { right: -180px; opacity: .5; }
  .about-wrap { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 320px; margin: 0 auto; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 36px); }
  .section { padding: 70px 0; }
  .hero { min-height: 620px; padding: 130px 0 90px; }
  .hero h1 { font-size: 42px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat:nth-child(2) { border-right: 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cards-grid, .cases-grid, .news-grid, .advantage-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 26px 20px; }
  .footer-wrap { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; gap: 40px; }
  .footer-bottom { flex-wrap: wrap; justify-content: center; gap: 8px 16px; text-align: center; }
  .nav-cta { display: none; }
}
