:root {
  --navy: #0a2540;
  --blue: #0066ff;
  --green: #00a85a;
  --orange: #ff6d00;
  --ink: #1a1a1a;
  --muted: #666f7b;
  --line: #dce3eb;
  --soft: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(10, 37, 64, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  background: var(--white);
}

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 0 40px;
  color: var(--white);
  background: rgba(10, 37, 64, 0.76);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 200ms ease;
}

.site-header.scrolled {
  background: rgba(10, 37, 64, 0.96);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
}

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

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover {
  opacity: 1;
}

.header-cta {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  align-items: center;
  padding: 150px 0 96px;
  color: var(--white);
  background-image: url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 37, 64, 0.88), rgba(10, 37, 64, 0.58), rgba(10, 37, 64, 0.34));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin-left: max(20px, calc((100% - 1180px) / 2));
}

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

.hero .eyebrow,
.dark-band .eyebrow {
  color: #7bb1ff;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(40px, 7vw, 62px);
  line-height: 1.12;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.2;
  color: var(--navy);
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.3;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.hero-actions,
.section-heading .btn {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

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

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

.btn.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(0, 102, 255, 0.28);
}

.btn.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.section-pad {
  padding: 92px 0;
}

.alt-bg {
  background: var(--soft);
}

.stats-grid,
.card-grid,
.product-grid,
.case-grid,
.tech-grid,
.footer-grid {
  display: grid;
  gap: 24px;
}

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

.trust {
  padding: 34px 0;
  background: var(--navy);
}

.stat {
  color: var(--white);
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--green);
  font-size: 38px;
  line-height: 1.1;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading p {
  color: var(--muted);
}

.align-left {
  margin: 0;
  text-align: left;
}

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

.feature-card,
.product-card,
.solution-item,
.tech-panel,
.case-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(10, 37, 64, 0.06);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.feature-card:hover,
.product-card:hover,
.solution-item:hover,
.tech-panel:hover,
.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 255, 0.24);
  box-shadow: var(--shadow);
}

.feature-card,
.product-card,
.solution-item,
.tech-panel {
  padding: 28px;
}

.feature-card p,
.product-card p,
.solution-item p,
.tech-panel p,
.case-card p {
  color: var(--muted);
}

.card-icon {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 900;
}

.product-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-category,
.case-tag {
  margin-bottom: 10px;
  color: var(--orange) !important;
  font-size: 14px;
  font-weight: 800;
}

.split-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.solution-list {
  display: grid;
  gap: 18px;
}

.dark-band {
  color: var(--white);
  background: var(--navy);
}

.dark-band h2,
.dark-band h3,
.dark-band p {
  color: var(--white);
}

.tech-grid {
  grid-template-columns: repeat(3, 1fr);
}

.tech-panel {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.case-grid {
  grid-template-columns: repeat(3, 1fr);
}

.case-card {
  overflow: hidden;
}

.case-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-card div {
  padding: 24px;
}

.contact-copy p {
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 4px;
}

.contact-list strong {
  color: var(--navy);
}

.contact-list a {
  color: var(--blue);
  font-weight: 700;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 28px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

.full {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.form-status.error {
  color: var(--orange);
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.82);
  background: #061a2d;
}

.footer-grid {
  grid-template-columns: 1.3fr 1fr 1fr;
  align-items: start;
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  margin-bottom: 8px;
}

.site-footer a {
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms cubic-bezier(0.4, 0, 0.2, 1), transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

@media (max-width: 1023px) {
  .site-header {
    padding: 0 20px;
  }

  .header-cta {
    display: none;
  }

  .brand {
    min-width: auto;
  }

  .four-cols,
  .product-grid,
  .case-grid,
  .tech-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 767px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 66px;
  }

  .brand-text {
    max-width: 210px;
    font-size: 14px;
    line-height: 1.25;
  }

  .nav-toggle {
    display: inline-grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    place-content: center;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 6px;
    background: transparent;
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--white);
  }

  .site-nav {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 37, 64, 0.98);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero {
    min-height: 88vh;
    padding-top: 120px;
  }

  .hero-content {
    width: min(100% - 28px, 760px);
    margin: 0 auto;
  }

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

  .section-pad {
    padding: 66px 0;
  }

  .four-cols,
  .product-grid,
  .case-grid,
  .tech-grid,
  .stats-grid,
  .footer-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }
}
