* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --brand-1: #1a2a6c;
  --brand-2: #b21f1f;
  --brand-3: #fdbb2d;
  --accent: #ff6b35;
  --text: #1f2937;
  --muted: #6b7280;
  --card: #ffffff;
  --bg: #f8f9fa;
  --border: rgba(15, 23, 42, 0.08);
}

body {
  font-family: "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 92px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: linear-gradient(
    135deg,
    var(--brand-1),
    var(--brand-2),
    var(--brand-3)
  );
  color: #fff;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
  opacity: 0.98;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

nav ul li a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
  padding: 6px 8px;
  border-radius: 999px;
  position: relative;
}

nav ul li a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  height: 2px;
  width: 0;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  transition: width 0.22s ease;
  opacity: 0.9;
}

nav ul li a.is-active::after {
  width: 62%;
}

nav ul li a.is-clicked {
  animation: navClick 0.34s ease;
}

@keyframes navClick {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-1px) scale(1.04);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-meta {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}

.brand-since {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.5px;
  font-weight: 700;
}

.brand-badge {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-toggle:active {
  transform: translateY(1px);
}

.nav-toggle-bars {
  position: relative;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  display: block;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  transition: transform 0.22s ease, top 0.22s ease, opacity 0.22s ease;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

body.mobile-menu-open {
  overflow: hidden;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(340px, 86vw);
  background: #ffffff;
  border-left: 1px solid var(--border);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
}

.mobile-menu.is-open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff;
}

.mobile-menu-title {
  display: grid;
  gap: 2px;
}

.mobile-menu-title strong {
  font-size: 14px;
  letter-spacing: 0.2px;
}

.mobile-menu-title span {
  font-size: 12px;
  opacity: 0.88;
}

.mobile-close {
  width: 42px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  display: grid;
  place-items: center;
}

.mobile-menu-links {
  padding: 12px 10px;
  overflow: auto;
}

.mobile-menu-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  margin: 6px 6px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(248, 249, 250, 0.6);
  transition: background 0.18s ease, transform 0.18s ease;
  position: relative;
}

.mobile-menu-links a:hover {
  background: rgba(248, 249, 250, 1);
  transform: translateY(-1px);
}

.mobile-menu-links a.is-active {
  background: rgba(255, 107, 53, 0.1);
  border-color: rgba(255, 107, 53, 0.2);
}

.mobile-menu-links a.is-active::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.9);
}

.mobile-menu-links a.is-clicked {
  animation: mobileNavClick 0.34s ease;
}

@keyframes mobileNavClick {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-1px) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.mobile-menu-links a small {
  color: var(--muted);
  font-size: 12px;
}

.banner {
  height: 78vh;
  min-height: 520px;
  background: linear-gradient(rgba(6, 10, 30, 0.7), rgba(6, 10, 30, 0.55));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      1200px 520px at 20% 10%,
      rgba(255, 187, 45, 0.18),
      transparent 55%
    ),
    linear-gradient(rgba(6, 10, 30, 0.68), rgba(6, 10, 30, 0.55));
  z-index: 1;
  pointer-events: none;
}

.banner-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.05);
}

.banner-content {
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.banner-subtitle {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.16);
  border-radius: 999px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

.banner-content h1 {
  font-size: 44px;
  margin-bottom: 14px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35);
  letter-spacing: 0.2px;
}

.banner-content p {
  font-size: 18px;
  margin: 0 auto 26px;
  max-width: 880px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.9;
}

.hero-actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 0;
  cursor: pointer;
}

.btn:hover {
  background: #ff844d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.btn.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.btn.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.stats {
  padding: 0;
  background: transparent;
  margin-top: -44px;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--brand-1);
  letter-spacing: 0.2px;
}

.stat-label {
  color: var(--muted);
  font-size: 14px;
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 107, 53, 0.12);
  color: var(--accent);
  flex: 0 0 auto;
  font-size: 18px;
}

.section-title {
  text-align: center;
  margin-bottom: 46px;
}

.section-title h2 {
  font-size: 34px;
  color: var(--brand-1);
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.section-title p {
  font-size: 16px;
  color: var(--muted);
}

.services {
  padding: 80px 0;
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--card);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 44px;
  color: var(--accent);
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--brand-1);
  letter-spacing: 0.2px;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.85;
}

.card-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.about {
  padding: 80px 0;
  background: #fff;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 46px;
}

.about-image {
  flex: 1;
}

.about-image img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
  border: 1px solid var(--border);
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 34px;
  color: var(--brand-1);
  margin-bottom: 18px;
}

.about-text p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.9;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(26, 42, 108, 0.08);
  color: var(--brand-1);
  font-size: 14px;
  border: 1px solid rgba(26, 42, 108, 0.12);
}

.pill i {
  color: var(--accent);
}

.solutions {
  padding: 80px 0;
  background: #fff;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.solution-card {
  background: var(--card);
  border-radius: 14px;
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.1);
}

.solution-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.solution-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.solution-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 107, 53, 0.12);
  color: var(--accent);
}

.solution-card p {
  color: var(--muted);
  line-height: 1.85;
}

.cases {
  padding: 80px 0;
  background: var(--bg);
}

.case-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.case-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.case-item h3 {
  font-size: 18px;
  color: var(--brand-1);
  margin-bottom: 10px;
}

.case-item p {
  color: var(--muted);
  line-height: 1.85;
}

.technology {
  padding: 80px 0;
  background: var(--bg);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.tech-item {
  background: var(--card);
  padding: 24px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.tech-icon {
  font-size: 38px;
  color: var(--accent);
  margin-bottom: 14px;
}

.tech-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--brand-1);
}

.tech-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.contact {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.05);
}

.contact > .container {
  position: relative;
  z-index: 2;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  background: radial-gradient(
      1100px 520px at 12% 18%,
      rgba(253, 187, 45, 0.22),
      transparent 55%
    ),
    radial-gradient(
      900px 420px at 88% 30%,
      rgba(255, 107, 53, 0.16),
      transparent 62%
    ),
    linear-gradient(rgba(6, 10, 30, 0.7), rgba(6, 10, 30, 0.58));
}

.contact::after {
  content: none;
}

@keyframes contactGridMove {
  0% {
    transform: translate3d(0, 0, 0);
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  100% {
    transform: translate3d(-40px, 32px, 0);
    background-position: 0 0, 0 0, -44px 44px, 44px -44px;
  }
}

@keyframes contactParticlesFloat {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-26px, 18px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  nav ul li a.is-clicked,
  .mobile-menu-links a.is-clicked {
    animation: none;
  }

  .contact-video {
    display: none;
  }
}

.contact-content {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-size: 34px;
  margin-bottom: 18px;
  letter-spacing: 0.2px;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 12px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
}

.contact-info i {
  width: 20px;
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.95);
}

.contact-form {
  flex: 1;
  background: #fff;
  padding: 26px;
  border-radius: 16px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.contact-form h3 {
  margin-bottom: 14px;
  color: var(--brand-1);
  font-size: 18px;
  letter-spacing: 0.2px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255, 107, 53, 0.7);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.16);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

footer {
  background: #f8f9fa;
  color: #212529;
  padding: 40px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #212529;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
  padding: 6px 10px;
  border-radius: 999px;
}

.footer-links a:hover {
  color: #0d6efd;
  background: rgba(255, 255, 255, 0.14);
}

.copyright {
  font-size: 13px;
  color: #6c757d;
}

@media (max-width: 980px) {
  header {
    background: var(--brand-2);
  }

  nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .logo {
    font-size: 18px;
  }

  .brand-meta {
    display: none;
  }

  .banner-content h1 {
    font-size: 36px;
  }

  .about-content {
    flex-direction: column;
  }

  .contact-content {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .banner {
    min-height: 540px;
  }

  .banner-content h1 {
    font-size: 30px;
  }

  .stats {
    margin-top: -26px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner-video {
    display: none;
  }
}

.code-box {
  display: flex;
  align-items: center;
  gap: 12px;
}
.codeimg {
  width: 120px;
  height: 40px;
}
