* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f3f9ff;
  --surface: #ffffff;
  --surface-soft: #eef7ff;
  --text: #0b2d3b;
  --muted: #527583;
  --accent: #19b89a;
  --accent-2: #2f63d8;
  --border: #d4e7f4;
  --shadow: 0 14px 34px rgba(18, 60, 92, 0.08);
  --shadow-soft: 0 8px 20px rgba(18, 60, 92, 0.05);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family:
    "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at top left,
      rgba(25, 184, 154, 0.09),
      transparent 28%
    ),
    radial-gradient(
      circle at top right,
      rgba(47, 99, 216, 0.1),
      transparent 24%
    ),
    var(--bg);
  overflow-x: hidden;
  line-height: 1.78;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.6;
  animation: floatGlow 14s ease-in-out infinite;
}

body::before {
  width: 280px;
  height: 280px;
  top: -60px;
  right: -70px;
  background: radial-gradient(
    circle,
    rgba(47, 99, 216, 0.16),
    rgba(47, 99, 216, 0)
  );
}

body::after {
  width: 220px;
  height: 220px;
  bottom: 10%;
  left: -50px;
  background: radial-gradient(
    circle,
    rgba(25, 184, 154, 0.14),
    rgba(25, 184, 154, 0)
  );
  animation-delay: -5s;
}

main {
  position: relative;
  z-index: 1;
}

main::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(47, 99, 216, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 99, 216, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 92%);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 5vw;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  height: 44px;
  width: auto;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding: 8px 12px;
  border-radius: 999px;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent-2);
  background: rgba(47, 99, 216, 0.08);
}

.hero,
.section {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  padding: 88px 5vw 52px;
  position: relative;
  background-image:
    linear-gradient(135deg, rgba(11, 45, 59, 0.62), rgba(47, 99, 216, 0.48)),
    url("./images/comimage10.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-radius: 24px;
  margin: 26px 5vw 0;
  overflow: hidden;
}

.hero::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 42px;
  background: linear-gradient(
    90deg,
    rgba(47, 99, 216, 0),
    rgba(47, 99, 216, 0.26),
    rgba(25, 184, 154, 0.26),
    rgba(25, 184, 154, 0)
  );
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 14px 0 18px;
  max-width: 14ch;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.eyebrow,
.section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4dd9c4;
  font-weight: 600;
}

h1,
h2,
h3,
h4,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

.hero-text {
  font-size: 1.08rem;
  color: #e8f1f7;
  margin-bottom: 14px;
  font-weight: 500;
}

.hero-summary {
  color: #d4e7f4;
  line-height: 1.82;
  font-size: 1rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.glass-card p,
.contact-bar p {
  color: var(--muted);
  line-height: 1.82;
  font-size: 1rem;
}

.hero-summary {
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.hero-metrics div,
.content-card,
.feature-card,
.scenario-card,
.news-card {
  position: relative;
}

.hero-metrics div {
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.hero-metrics div:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(77, 217, 196, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.hero-metrics strong {
  display: block;
  font-size: 1.5rem;
  color: #4dd9c4;
  margin-bottom: 4px;
  font-weight: 700;
}

.hero-metrics span {
  color: #d4e7f4;
  font-size: 0.9rem;
  font-weight: 500;
}

.inline-strip,
.news-footer,
.contact-links {
  margin-top: 18px;
}

.inline-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 22px 24px;
}

.inline-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-2);
}

.inline-strip span {
  color: var(--muted);
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 12px 28px rgba(47, 99, 216, 0.22);
}

.button-secondary {
  color: var(--accent-2);
  background: var(--surface);
  border-color: #b9d6ec;
  box-shadow: var(--shadow-soft);
}

.section {
  padding: 38px 0 76px;
  position: relative;
}

.section::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: 28px;
  background: linear-gradient(
    90deg,
    rgba(47, 99, 216, 0),
    rgba(47, 99, 216, 0.22),
    rgba(25, 184, 154, 0.18),
    rgba(47, 99, 216, 0)
  );
}

.section-heading {
  margin-bottom: 28px;
  max-width: 780px;
}

.section-heading p {
  margin-bottom: 10px;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  margin-top: 8px;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.glass-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(248, 252, 255, 0.98)
  );
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(47, 99, 216, 0.18);
}

.content-grid {
  display: grid;
  gap: 22px;
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.large-card {
  padding: 32px;
}

.content-card,
.feature-card,
.scenario-card,
.news-card {
  padding: 28px;
}

.content-card h3,
.feature-card h3,
.scenario-card h3,
.news-card h3 {
  font-size: 1.14rem;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-card p,
.content-card p,
.scenario-card p,
.news-card p {
  color: var(--muted);
  line-height: 1.85;
}

.feature-card,
.scenario-card,
.news-card,
.content-card {
  overflow: hidden;
}

.scenario-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.scenario-card ul {
  margin-top: 16px;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.scenario-tag {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 20px;
}

.architecture-card {
  padding: 24px;
}

.business-detail-grid,
.tech-note-grid {
  margin-top: 18px;
}

.subtle-note {
  background: var(--surface-soft);
}

.news-footer,
.contact-links {
  padding: 22px 24px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-links a {
  text-decoration: none;
  color: var(--accent-2);
  background: rgba(47, 99, 216, 0.08);
  border: 1px solid rgba(47, 99, 216, 0.14);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-links a:hover {
  background: rgba(47, 99, 216, 0.14);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.tech-card {
  padding: 28px;
  min-height: 200px;
  background: linear-gradient(
    180deg,
    rgba(238, 247, 255, 0.96),
    rgba(255, 255, 255, 0.96)
  );
}

.card-index {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}

.tech-card h3 {
  font-size: 1.22rem;
  margin-bottom: 12px;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.news-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

.site-footer {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 52px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.contact-section {
  padding-bottom: 104px;
}

.contact-bar {
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 20px;
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, 16px, 0) scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  body::before,
  body::after {
    display: none;
  }
}

@media (max-width: 920px) {
  .hero-metrics,
  .two-up,
  .three-up,
  .scenario-list,
  .inline-strip,
  .architecture-grid,
  .news-list {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .contact-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
  }

  .nav-links {
    gap: 12px;
  }

  .hero,
  .section {
    width: min(1240px, calc(100% - 28px));
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-links {
    justify-content: flex-start;
  }

  .site-footer {
    width: min(1240px, calc(100% - 28px));
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
