:root {
  --background: #02040a;
  --background-secondary: #050a16;

  --panel: rgba(10, 18, 36, 0.78);
  --panel-hover: rgba(13, 23, 44, 0.86);

  --line: rgba(255, 255, 255, 0.10);
  --line-active: rgba(0, 213, 255, 0.30);

  --text: rgba(248, 250, 252, 0.96);
  --muted: rgba(203, 213, 225, 0.80);
  --faint: rgba(148, 163, 184, 0.68);

  --cyan: #00d5ff;
  --blue: #2563eb;
  --purple: #8b5cf6;

  --content-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  background:
    radial-gradient(
      circle at 50% -18%,
      rgba(0, 213, 255, 0.15),
      transparent 38%
    ),
    radial-gradient(
      circle at 94% 78%,
      rgba(139, 92, 246, 0.10),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      var(--background) 0%,
      var(--background-secondary) 52%,
      var(--background) 100%
    );
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.page-background {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  pointer-events: none;
}

.page-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    );
  background-size: 72px 72px;
  mask-image: radial-gradient(
    circle at 50% 34%,
    black,
    transparent 76%
  );
  -webkit-mask-image: radial-gradient(
    circle at 50% 34%,
    black,
    transparent 76%
  );
}

.page-glow {
  position: absolute;
  width: 660px;
  height: 660px;
  border-radius: 999px;
  filter: blur(130px);
}

.page-glow-primary {
  top: -380px;
  left: -280px;
  background: rgba(0, 213, 255, 0.15);
}

.page-glow-secondary {
  right: -330px;
  bottom: -380px;
  background: rgba(139, 92, 246, 0.13);
}

.site-header,
.hero,
.products-section,
.site-footer {
  width: min(
    var(--content-width),
    calc(100% - 44px)
  );
  margin-right: auto;
  margin-left: auto;
}

.site-header {
  min-height: 76px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(0, 213, 255, 0.32);
  border-radius: 13px;
  background: linear-gradient(
    145deg,
    rgba(0, 213, 255, 0.25),
    rgba(37, 99, 235, 0.25)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 0 26px rgba(0, 213, 255, 0.16);
  font-size: 17px;
  font-weight: 900;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -60% 38% -60% -35%;
  transform: rotate(20deg);
  background: rgba(255, 255, 255, 0.12);
}

.brand-content {
  display: grid;
  gap: 2px;
}

.brand-content strong {
  color: #fff;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.brand-content small {
  color: var(--faint);
  font-size: 11px;
}

.site-navigation {
  display: flex;
  align-items: center;
}

.site-navigation a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 13px;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.site-navigation a:hover {
  color: #fff;
  border-color: rgba(0, 213, 255, 0.25);
  background: rgba(0, 213, 255, 0.055);
}

.hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 86px 0 94px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  color: var(--cyan);
  border: 1px solid rgba(0, 213, 255, 0.20);
  border-radius: 999px;
  background: rgba(0, 213, 255, 0.06);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 25px 0 0;
  color: #fff;
  font-size: clamp(48px, 7vw, 78px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.07em;
}

.hero h1 span {
  display: block;
  margin-top: 13px;
  color: transparent;
  background: linear-gradient(
    90deg,
    #2563eb 0%,
    #00d5ff 68%,
    #9af7ff 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
}

.hero > p {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.hero-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  padding: 0 23px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    #00a9cc,
    #2563eb
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.17),
    0 20px 50px rgba(0, 170, 230, 0.21);
  font-size: 14px;
  font-weight: 740;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.hero-action:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.hero-action span {
  font-size: 16px;
}

.products-section {
  min-height: 520px;
  padding: 84px 0 110px;
  scroll-margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.section-heading {
  margin-bottom: 27px;
}

.section-heading > span {
  display: block;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.15;
  font-weight: 830;
  letter-spacing: -0.052em;
}

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

.product-card {
  position: relative;
  max-width: 720px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 27px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.052),
      rgba(255, 255, 255, 0.024)
    ),
    var(--panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.075),
    0 30px 90px rgba(0, 0, 0, 0.27);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease;
}

.product-card:hover {
  border-color: rgba(0, 213, 255, 0.24);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.064),
      rgba(255, 255, 255, 0.028)
    ),
    var(--panel-hover);
  transform: translateY(-2px);
}

.product-card-glow {
  position: absolute;
  top: -180px;
  left: -170px;
  width: 440px;
  height: 440px;
  pointer-events: none;
  border-radius: 999px;
  background: rgba(0, 213, 255, 0.11);
  filter: blur(90px);
}

.product-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 17px;
}

.product-icon {
  position: relative;
  flex: 0 0 auto;
  width: 66px;
  height: 66px;
  border: 1px solid rgba(0, 213, 255, 0.24);
  border-radius: 19px;
  background:
    radial-gradient(
      circle at 50% 35%,
      rgba(0, 213, 255, 0.16),
      transparent 55%
    ),
    rgba(3, 10, 24, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 30px rgba(0, 213, 255, 0.11);
}

.product-icon > i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(0, 213, 255, 0.34);
  border-radius: 10px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.product-node {
  position: absolute;
  z-index: 2;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 213, 255, 0.84);
}

.product-node-top {
  top: 12px;
  left: 29px;
}

.product-node-right {
  top: 29px;
  right: 12px;
}

.product-node-bottom {
  bottom: 12px;
  left: 29px;
}

.product-node-left {
  top: 29px;
  left: 12px;
}

.product-heading {
  min-width: 0;
}

.product-heading h3 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 820;
  letter-spacing: -0.045em;
}

.product-heading p {
  margin: 6px 0 0;
  color: var(--faint);
  font-size: 13px;
}

.product-description {
  position: relative;
  z-index: 2;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.product-features {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 19px;
}

.product-features span {
  padding: 7px 10px;
  color: rgba(203, 213, 225, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.028);
  font-size: 11px;
}

.product-meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding: 20px 0 14px;
}

.product-meta span {
  color: var(--faint);
  font-size: 12px;
}

.product-meta strong {
  color: rgba(248, 250, 252, 0.92);
  font-size: 13px;
}

.product-action {
  position: relative;
  z-index: 2;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 17px;
  color: #fff;
  border: 1px solid rgba(0, 213, 255, 0.23);
  border-radius: 17px;
  background: linear-gradient(
    135deg,
    rgba(0, 170, 205, 0.88),
    rgba(37, 99, 235, 0.88)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 18px 46px rgba(0, 170, 230, 0.17);
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.product-action:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.product-action > span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.product-action strong {
  font-size: 14px;
  font-weight: 760;
}

.product-action small {
  color: rgba(226, 240, 255, 0.76);
  font-size: 11px;
}

.product-action > i {
  flex: 0 0 auto;
  font-size: 22px;
  font-style: normal;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px 30px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.site-footer > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer > div strong {
  color: rgba(248, 250, 252, 0.92);
  font-size: 13px;
}

.site-footer > div span {
  color: var(--faint);
  font-size: 11px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px 17px;
}

.site-footer nav a {
  color: var(--faint);
  font-size: 11px;
  transition: color 0.2s ease;
}

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

.site-footer > p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(148, 163, 184, 0.47);
  font-size: 10px;
}

@media (max-width: 860px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .products-section,
  .site-footer {
    width: min(
      var(--content-width),
      calc(100% - 28px)
    );
  }

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

  .brand-mark {
    width: 35px;
    height: 35px;
    border-radius: 11px;
  }

  .brand-content strong {
    font-size: 16px;
  }

  .brand-content small {
    display: none;
  }

  .site-navigation a {
    min-height: 33px;
    padding: 0 11px;
    font-size: 11px;
  }

  .hero {
    min-height: 450px;
    padding: 68px 0 74px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero > p {
    font-size: 15px;
  }

  .products-section {
    padding: 66px 0 78px;
  }

  .product-card {
    min-height: 420px;
    padding: 21px;
    border-radius: 22px;
  }

  .product-icon {
    width: 58px;
    height: 58px;
  }

  .product-node-top {
    top: 10px;
    left: 25px;
  }

  .product-node-right {
    top: 25px;
    right: 10px;
  }

  .product-node-bottom {
    bottom: 10px;
    left: 25px;
  }

  .product-node-left {
    top: 25px;
    left: 10px;
  }

  .product-heading h3 {
    font-size: 21px;
  }

  .product-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .site-footer > p {
    grid-column: 1;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 38px;
  }

  .product-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
