:root {
  --text: #10223c;
  --text-soft: #586a84;
  --white: #ffffff;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --line: rgba(194, 210, 232, 0.62);
  --primary: #2f78ff;
  --primary-dark: #1f58d8;
  --accent: #35d4ff;
  --shadow: 0 28px 80px rgba(0, 12, 34, 0.24);
  --max-width: 1180px;
  --radius-xl: 30px;
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.72;
  background: #071225;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("./assets/background-tech.jpg") center / cover no-repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 0%, rgba(57, 132, 255, 0.2), transparent 34rem),
    linear-gradient(180deg, rgba(5, 12, 28, 0.18), rgba(243, 247, 253, 0.92) 68%, rgba(244, 248, 253, 0.96));
}

body.nav-open {
  overflow: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 13, 31, 0.58);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: var(--white);
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 12px 28px rgba(43, 120, 255, 0.34);
}

.brand-text {
  font-size: 18px;
  letter-spacing: 0.08em;
}

.nav-links {
  gap: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 82px 24px;
}

.hero {
  display: flex;
  min-height: calc(100vh - 72px);
  align-items: center;
  padding-top: 86px;
  padding-bottom: 94px;
}

.hero-content {
  width: 100%;
}

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

.hero .eyebrow {
  color: #b9d6ff;
}

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

h1 {
  width: 100%;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.7vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-desc {
  max-width: 820px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #48c7ff);
  box-shadow: 0 16px 34px rgba(45, 118, 255, 0.35);
}

.btn.primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), #24b8f2);
}

.btn.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.card-panel {
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.about,
.info,
.contact {
  border-radius: var(--radius-xl);
  padding: 48px;
}

.about p,
.section-title p,
.service-card p,
.feature-item p,
.info-list dd,
.contact p {
  color: var(--text-soft);
}

.about p:last-child,
.service-card p:last-child,
.contact p:last-child {
  margin-bottom: 0;
}

.section-title {
  max-width: 760px;
}

.section-title-wide {
  margin-bottom: 28px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 236px;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.card-number {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 16px;
}

.feature-item {
  padding: 26px 28px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(8, 23, 56, 0.88), rgba(11, 44, 82, 0.78));
  box-shadow: 0 22px 58px rgba(0, 12, 32, 0.24);
}

.feature-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.feature-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 30px;
  margin: 0;
}

.info-list div {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.info-list dt {
  margin-bottom: 5px;
  color: var(--text-soft);
  font-size: 14px;
}

.info-list dd {
  margin: 0;
  font-weight: 800;
}

.contact {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 36px;
}

.contact-card {
  display: grid;
  gap: 14px;
}

.contact-card p {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(203, 218, 239, 0.78);
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.82);
}

.contact-card span {
  min-width: 74px;
  color: var(--text);
  font-weight: 800;
}

.site-footer {
  padding: 34px 24px 42px;
  color: rgba(16, 34, 60, 0.78);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.46);
}

.site-footer p {
  margin: 0 0 6px;
}

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

.divider {
  margin: 0 10px;
  color: #8ea0bb;
}

@media (max-width: 1080px) {
  h1 {
    font-size: clamp(38px, 5.2vw, 56px);
  }

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

@media (max-width: 860px) {
  .contact,
  .feature-strip,
  .info-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    height: 64px;
    padding: 0 18px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(5, 13, 31, 0.9);
    box-shadow: var(--shadow);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 13px 14px;
    border-radius: 12px;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(255, 255, 255, 0.08);
  }

  .section {
    padding: 58px 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 78px;
    padding-bottom: 78px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

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

  .about,
  .info,
  .contact,
  .service-card,
  .feature-item {
    padding: 24px;
    border-radius: 22px;
  }

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

  .contact-card p {
    flex-direction: column;
    gap: 4px;
  }
}
