:root {
  --navy: #0a2859;
  --blue: #1e88e5;
  --green: #4caf50;
  --ink: #1b2533;
  --muted: #627084;
  --line: #dbe5ef;
  --paper: #ffffff;
  --mist: #f5f7fa;
  --shadow: 0 18px 45px rgba(10, 40, 89, 0.13);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.65;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 18px clamp(20px, 5vw, 72px);
  color: #fff;
  transition: background 280ms var(--ease), box-shadow 280ms var(--ease), padding 280ms var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(10, 40, 89, 0.96);
  box-shadow: 0 10px 28px rgba(5, 20, 45, 0.2);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-size: 24px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 15px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 6px;
  padding: 9px 16px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 136px clamp(22px, 7vw, 104px) 92px;
  color: #fff;
  background: var(--navy);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 40, 89, 0.94) 0%, rgba(10, 40, 89, 0.7) 42%, rgba(10, 40, 89, 0.35) 100%),
    radial-gradient(circle at 78% 28%, rgba(76, 175, 80, 0.38), transparent 32%);
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.35;
}

.hero-copy {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  padding: 11px 20px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 26px rgba(76, 175, 80, 0.28);
}

.btn.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: 94px clamp(22px, 7vw, 104px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 52px;
  align-items: start;
}

.intro p,
.section-heading p,
.advantage p,
.service-card p,
.contact-copy p {
  color: var(--muted);
}

.intro-panel {
  border-left: 4px solid var(--green);
  background: var(--mist);
  padding: 28px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tag-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 6px 12px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
  color: #fff;
}

.metric {
  min-height: 168px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  padding: 34px clamp(20px, 4vw, 42px);
}

.metric strong {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
}

.metric span {
  color: rgba(255, 255, 255, 0.76);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.service-grid,
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card,
.advantage {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 1px 0 rgba(10, 40, 89, 0.04);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}

.service-card:hover,
.advantage:hover {
  border-color: rgba(30, 136, 229, 0.38);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-icon {
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(30, 136, 229, 0.14), rgba(76, 175, 80, 0.18)),
    var(--icon);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%, 28px 28px;
}

.service-icon.power {
  --icon: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 2 6 16h7l-2 10 10-15h-7l1-9Z' fill='none' stroke='%230A2859' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.service-icon.algo {
  --icon: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8h18M5 14h18M5 20h18M9 5v18M19 5v18' stroke='%230A2859' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.service-icon.data {
  --icon: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 20V9m8 11V5m8 15v-7' stroke='%230A2859' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M4 22h20' stroke='%234CAF50' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.service-icon.storage {
  --icon: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='5' y='8' width='18' height='13' rx='2' fill='none' stroke='%230A2859' stroke-width='2'/%3E%3Cpath d='M10 12h8M10 17h5M23 12h2v5h-2' stroke='%234CAF50' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.service-icon.operate {
  --icon: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='14' cy='14' r='8' fill='none' stroke='%230A2859' stroke-width='2'/%3E%3Cpath d='M14 6v8l5 3' stroke='%234CAF50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.service-icon.vpp {
  --icon: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='7' cy='14' r='3' fill='none' stroke='%230A2859' stroke-width='2'/%3E%3Ccircle cx='21' cy='8' r='3' fill='none' stroke='%230A2859' stroke-width='2'/%3E%3Ccircle cx='21' cy='20' r='3' fill='none' stroke='%230A2859' stroke-width='2'/%3E%3Cpath d='M10 13l8-4M10 15l8 4' stroke='%234CAF50' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.band {
  background: linear-gradient(180deg, #f8fbfe 0%, #eef5fb 100%);
}

.advantage-grid {
  grid-template-columns: repeat(4, 1fr);
}

.advantage span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: 56px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
}

.contact-list div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.contact-list dt {
  color: var(--muted);
  font-size: 14px;
}

.contact-list dd {
  margin: 3px 0 0;
  color: var(--navy);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cad7e5;
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(30, 136, 229, 0.12);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-note.is-success {
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(22px, 7vw, 104px);
  color: rgba(255, 255, 255, 0.72);
  background: #061b3d;
}

.site-footer strong {
  color: #fff;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    padding: 10px;
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    background: #fff;
  }

  .site-header.is-open .site-nav {
    position: absolute;
    top: 78px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(6, 27, 61, 0.98);
    padding: 16px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
  }

  .site-header.is-open .site-nav a {
    padding: 10px 6px;
  }

  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: 118px 22px 64px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .section {
    padding: 68px 22px;
  }

  .metrics,
  .service-grid,
  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 132px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
