:root {
  --c-white: #fff;
  --c-bg: #eaf1fb;
  --c-text: #111827;
  --c-text2: #4b5568;
  --c-text3: #8e98b0;
  --c-blue: #2979ff;
  --c-blue-l: #e3edfc;
  --c-blue-d: #1d4ed8;
  --c-border: #e5e7ed;
  --c-shadow: 0 1px 2px rgba(0,0,0,.03);
  --c-shadow-md: 0 8px 30px rgba(0,0,0,.05);
  --c-shadow-lg: 0 16px 48px rgba(0,0,0,.07);
  --radius: 14px;
  --radius-sm: 8px;
  --w: 1200px;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--c-white); color: var(--c-text); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- svg icons ---- */
.icon { width: 1em; height: 1em; vertical-align: -0.15em; fill: none; stroke: currentColor; }
.icon-logo { width: 28px; height: 28px; flex-shrink: 0; display: block; }
.icon-sm { width: 14px; height: 14px; vertical-align: -0.1em; fill: none; stroke: currentColor; }
.ic-icon { width: 28px; height: 28px; margin-bottom: 8px; display: block; color: var(--c-blue); fill: none; stroke: currentColor; }
.svc-icon svg, .proj-icon svg, .adv-icon svg { width: 1em; height: 1em; fill: none; stroke: currentColor; }

/* ---- nav ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 48px;
  transition: background .3s, box-shadow .3s;
}
.nav.on { background: rgba(255,255,255,.85); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--c-border); }
.nav-logo { font-size: 19px; font-weight: 700; color: #1a1d28; position: relative; display: flex; align-items: center; gap: 9px; text-decoration: none; cursor: pointer; }
.nav-r { display: flex; gap: 36px; align-items: center; list-style: none; }
.nav-r a { color: var(--c-text2); text-decoration: none; font-size: 14px; transition: color .2s; }
.nav-r a:hover { color: var(--c-blue); }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 28px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
  cursor: pointer; border: none; text-decoration: none; transition: all .25s; letter-spacing: .2px;
}
.btn-p {
  background: var(--c-blue); color: #fff; box-shadow: 0 2px 8px rgba(37,99,235,.22);
}
.btn-p:hover { background: var(--c-blue-d); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,.35); }
.btn-nav {
  padding: 8px 20px; font-size: 13px; border-radius: 6px;
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(99,102,241,.06));
  color: var(--c-blue); border: 1.5px solid rgba(37,99,235,.25);
  box-shadow: 0 1px 4px rgba(37,99,235,.08); font-weight: 600;
}
.nav-r .btn-nav:hover {
  background: linear-gradient(135deg, var(--c-blue), #4f46e5); color: #fff !important;
  border-color: transparent; box-shadow: 0 4px 16px rgba(37,99,235,.35);
  transform: translateY(-2px);
}
.btn-o {
  background: transparent; color: var(--c-blue); border: 1.5px solid var(--c-blue);
}
.btn-o:hover { background: var(--c-blue-l); }
.btn-w { background: #fff; color: var(--c-blue); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.btn-w:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }

.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; cursor: pointer; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--c-text); border-radius: 2px; transition: .25s; }

/* ---- hero ---- */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(175deg, #dce8f8 0%, #e5eef9 25%, #edf3fb 55%, #f4f8fd 100%);
  position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg-s {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(41,121,255,.08);
  background: radial-gradient(circle at center, rgba(41,121,255,.03), transparent 70%);
}
.hero-bg-s1 { width: 750px; height: 750px; top: -350px; right: -220px; animation: pulse-slow 10s ease-in-out infinite; }
.hero-bg-s2 { width: 520px; height: 520px; bottom: -220px; left: -160px; animation: pulse-slow 12s ease-in-out 2s infinite; }
.hero-bg-s3 { width: 280px; height: 280px; top: 45%; left: 62%; animation: pulse-slow 8s ease-in-out 4s infinite; }
@keyframes pulse-slow {
  0%, 100% { transform: scale(1); opacity: .5; }
  50% { transform: scale(1.08); opacity: .8; }
}

/* floating glow dots */
.hero-dot {
  position: absolute; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.25), rgba(37,99,235,0) 70%);
  animation: dot-float 7s ease-in-out infinite;
}
.hero-dot:nth-child(1) { width: 80px; height: 80px; top: 15%; left: 12%; animation-delay: 0s; }
.hero-dot:nth-child(2) { width: 50px; height: 50px; top: 28%; right: 14%; animation-delay: 1.5s; }
.hero-dot:nth-child(3) { width: 60px; height: 60px; bottom: 35%; left: 10%; animation-delay: 3s; }
.hero-dot:nth-child(4) { width: 40px; height: 40px; top: 55%; right: 20%; animation-delay: 2s; }
.hero-dot:nth-child(5) { width: 55px; height: 55px; bottom: 22%; right: 10%; animation-delay: 4.5s; }
.hero-dot:nth-child(6) { width: 35px; height: 35px; top: 72%; left: 22%; animation-delay: 5.5s; }
@keyframes dot-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: .35; }
  50% { transform: translateY(-14px) scale(1.3); opacity: .65; }
}
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 900px; padding: 0 24px; margin-top: -20px; }
.hero-tag {
  display: inline-block; padding: 6px 22px; border-radius: 24px; font-size: 13px;
  color: var(--c-blue); background: rgba(37,99,235,.05); border: 1px solid rgba(37,99,235,.1);
  letter-spacing: 1.5px; margin-bottom: 28px; font-weight: 600;
}
.hero h1 { font-size: clamp(38px, 5.5vw, 62px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.15; margin-bottom: 20px; color: #0a1020; }
.hero h1 em { font-style: normal; background: linear-gradient(135deg, #2563eb 0%, #5b4cf0 60%, #8b5cf6 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { font-size: 16px; color: var(--c-text2); max-width: 540px; margin: 0 auto 36px; line-height: 1.8; }
.hero-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 32px;
}
.hero-c {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 22px 16px; text-align: center; transition: all .4s cubic-bezier(.25,.8,.25,1.2);
  box-shadow: var(--c-shadow); position: relative; overflow: hidden;
}
.hero-c::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background: linear-gradient(90deg, #2563eb, #5b4cf0); transition: width .4s ease; border-radius: 0 0 3px 3px; }
.hero-c:hover { transform: translateY(-4px); box-shadow: var(--c-shadow-md); border-color: rgba(37,99,235,.15); }
.hero-c:hover::before { width: 100%; }
.ic-icon { font-size: 28px; margin-bottom: 8px; display: block; color: var(--c-blue); }
.hero-c h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: #111827; }
.hero-c span { font-size: 11px; color: var(--c-text3); }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 12px; color: var(--c-text3); animation: bob 2.2s ease-in-out infinite;
}
.hero-scroll::after { content: ''; width: 1px; height: 28px; background: linear-gradient(#2563eb44, transparent); display: block; }
@keyframes bob { 0%,100% { opacity: .3; transform: translateX(-50%) translateY(0); } 50% { opacity: 1; transform: translateX(-50%) translateY(-8px); } }

/* ---- sections ---- */
section { padding: 100px 24px; }
.sec-hd { text-align: center; margin-bottom: 60px; }
.sec-hd .tag {
  display: inline-block; padding: 4px 16px; border-radius: 20px; font-size: 12px;
  color: var(--c-blue); background: var(--c-blue-l); letter-spacing: 1px; margin-bottom: 18px;
  font-weight: 600;
}
.sec-hd h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.5px; margin-bottom: 14px; }
.sec-hd p { color: var(--c-text2); font-size: 16px; max-width: 520px; margin: 0 auto; }
.ctn { max-width: var(--w); margin: 0 auto; }

/* ---- services ---- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.svc-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 44px 40px 40px; transition: all .4s cubic-bezier(.25,.8,.25,1.2); position: relative; overflow: hidden;
  box-shadow: var(--c-shadow);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--c-shadow-lg); border-color: transparent; }
.svc-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #2563eb, #6366f1); opacity: 0; transition: opacity .4s;
}
.svc-card:hover::after { opacity: 1; }
.svc-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; background: var(--c-blue-l); margin-bottom: 24px; transition: transform .3s; color: var(--c-blue); }
.svc-card:hover .svc-icon { transform: scale(1.05); }
.svc-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 14px; position: relative; }
.svc-card > p { font-size: 14px; color: var(--c-text2); line-height: 1.75; margin-bottom: 22px; position: relative; }
.svc-sub { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.svc-sub li { padding: 6px 16px; border-radius: 6px; font-size: 13px; background: #f4f6fc; color: var(--c-text2); font-weight: 500; transition: all .2s; cursor: default; }
.svc-sub li:hover { background: var(--c-blue-l); color: var(--c-blue); }

/* ---- projects ---- */
.proj { background: var(--c-bg); }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proj-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 32px 28px 28px; transition: all .35s; box-shadow: var(--c-shadow);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.proj-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, #2563eb, #6366f1); opacity: 0; transition: opacity .35s; border-radius: 0 3px 3px 0; }
.proj-card:hover { transform: translateY(-4px); box-shadow: var(--c-shadow-lg); border-color: transparent; }
.proj-card:hover::before { opacity: 1; }
.proj-top { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.proj-icon {
  width: 44px; height: 44px; border-radius: 10px; display: flex; flex-shrink: 0;
  align-items: center; justify-content: center; font-size: 20px;
  background: var(--c-blue-l); color: var(--c-blue);
}
.proj-icon svg { width: 1em; height: 1em; }
.proj-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.proj-card p { font-size: 13px; color: var(--c-text2); line-height: 1.7; flex-grow: 1; }
.proj-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--c-border); }
.proj-tags span { padding: 4px 10px; border-radius: 6px; font-size: 11px; background: #f4f6fc; color: var(--c-text2); font-weight: 500; transition: all .2s; }
.proj-tags span:hover { background: var(--c-blue-l); color: var(--c-blue); }

/* ---- advantages ---- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.adv-card {
  text-align: center; padding: 44px 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--c-border); transition: all .3s;
  box-shadow: var(--c-shadow);
}
.adv-card:hover { border-color: rgba(37,99,235,.15); box-shadow: 0 12px 36px rgba(0,0,0,.05); }
.adv-icon { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 22px; display: flex; align-items: center; justify-content: center; font-size: 26px; background: var(--c-blue-l); color: var(--c-blue); }
.adv-icon svg { width: 1em; height: 1em; }
.adv-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.adv-card p { font-size: 14px; color: var(--c-text2); line-height: 1.7; }

/* ---- process ---- */
.process { background: var(--c-bg); }
.proc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.proc-step { text-align: center; position: relative; }
.proc-step::after {
  content: ''; position: absolute; top: 28px; left: calc(50% + 40px); width: calc(100% - 80px); height: 1px;
  background: linear-gradient(90deg, rgba(37,99,235,.2), rgba(37,99,235,.05));
}
.proc-step:last-child::after { display: none; }
.proc-num {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; font-size: 22px; font-weight: 800; position: relative; z-index: 2;
  background: #fff; border: 2px solid var(--c-blue); color: var(--c-blue);
}
.proc-step h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.proc-step p { font-size: 13px; color: var(--c-text2); line-height: 1.6; }

/* ---- cta ---- */
.cta {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 40%, #4f46e5 100%);
  text-align: center; position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,255,255,.06), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.cta .ctn { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; color: #fff; margin-bottom: 14px; letter-spacing: -.5px; }
.cta p { color: rgba(255,255,255,.75); font-size: 16px; margin-bottom: 36px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- footer ---- */
.ft { border-top: 1px solid var(--c-border); padding: 36px 24px 28px; text-align: center; color: var(--c-text3); font-size: 13px; letter-spacing: .3px; }
.ft-contact { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; font-size: 13px; color: var(--c-text2); }
.ft-contact svg { margin-right: 4px; }
.ft-copy { margin-bottom: 14px; font-size: 12px; }
.ft-filing { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; font-size: 12px; }
.ft-filing a { color: var(--c-text3); text-decoration: none; transition: color .2s; display: inline-flex; align-items: center; gap: 2px; }
.ft-filing a:hover { color: var(--c-blue); }
.ft-filing a i { font-size: 13px; }

/* ---- reveal ---- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.rv.on { opacity: 1; transform: translateY(0); }

/* ---- responsive ---- */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .proc-step::after { display: none; }
}
@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .nav-r { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: rgba(255,255,255,.97); backdrop-filter: blur(16px); flex-direction: column; padding: 24px; gap: 18px; border-bottom: 1px solid var(--c-border); }
  .nav-r.open { display: flex; }
  .nav-burger { display: flex; }
  .hero-cards { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .proc-steps { grid-template-columns: 1fr 1fr; gap: 28px; }
  section { padding: 80px 20px; }
}
