:root {
  --content-max: 1360px;
  --page-gutter: clamp(28px, 5vw, 88px);
  --bg: #08100d;
  --bg-soft: #10221b;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f5fff9;
  --muted: #b9c9c1;
  --line: rgba(255, 255, 255, 0.16);
  --green: #36d57d;
  --cyan: #3bd7df;
  --gold: #f1b64f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 12%, rgba(59, 215, 223, 0.2), transparent 30rem),
    radial-gradient(circle at 8% 34%, rgba(54, 213, 125, 0.2), transparent 28rem),
    linear-gradient(135deg, #060b09 0%, var(--bg) 48%, #14251f 100%);
  min-height: 100vh;
}

.particle-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

#particles-js {
  position: absolute;
  inset: 0;
  opacity: 0.72;
  filter: saturate(1.15);
}

#particles-js canvas {
  display: block;
}

.particle-backdrop::before,
.particle-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle-backdrop::before {
  background:
    radial-gradient(circle at 24% 18%, rgba(54, 213, 125, 0.18), transparent 24rem),
    radial-gradient(circle at 78% 24%, rgba(59, 215, 223, 0.12), transparent 28rem);
}

.particle-backdrop::after {
  background: linear-gradient(180deg, rgba(6, 11, 9, 0.18), rgba(6, 11, 9, 0.72));
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--content-max), calc(100% - var(--page-gutter)));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.button,
.trust-strip article,
.feature-card,
.module-list article,
.security-grid article {
  border: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #04120b;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 10px 30px rgba(54, 213, 125, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(5, 14, 11, 0.68);
}

.nav-links a {
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

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

main {
  position: relative;
  z-index: 1;
  width: min(var(--content-max), calc(100% - var(--page-gutter)));
  margin: 0 auto;
}

.hero {
  min-height: clamp(640px, calc(100vh - 78px), 820px);
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  align-items: center;
  gap: clamp(36px, 5vw, 88px);
  padding: clamp(38px, 5vh, 72px) 0 clamp(46px, 6vh, 78px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

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

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(50px, 5vw, 92px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.3;
}

.hero-text,
.section-heading p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 800;
}

.button.primary {
  color: #04120b;
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.hero-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 16, 13, 0.28), transparent 48%);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9.6;
  object-fit: cover;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: -18px 0 72px;
}

.trust-strip article,
.feature-card,
.module-list article,
.security-grid article {
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.16);
}

.trust-strip article {
  padding: 20px 22px;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--text);
  font-size: 18px;
}

.trust-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  scroll-margin-top: 96px;
  padding: 72px 0;
}

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

.section-heading.compact {
  margin-bottom: 0;
}

.feature-grid,
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card,
.security-grid article {
  min-height: 236px;
  padding: 30px;
}

.feature-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border: 1px solid rgba(54, 213, 125, 0.48);
  border-radius: 8px;
  color: #07130d;
  background:
    linear-gradient(145deg, rgba(54, 213, 125, 0.96), rgba(59, 215, 223, 0.86));
  box-shadow:
    0 16px 34px rgba(54, 213, 125, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.feature-icon::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.feature-icon svg {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card p,
.module-list p,
.security-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(520px, 1.22fr);
  gap: clamp(36px, 5vw, 86px);
  align-items: start;
}

.module-list {
  display: grid;
  gap: 14px;
}

.module-list article {
  position: relative;
  padding: 28px 32px 28px 92px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.055));
}

.module-list span {
  position: absolute;
  left: 24px;
  top: 24px;
  color: var(--gold);
  font-weight: 900;
}

.security {
  padding-bottom: 96px;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--content-max), calc(100% - var(--page-gutter)));
  margin: 0 auto;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

@media (min-width: 1440px) {
  :root {
    --content-max: 1480px;
    --page-gutter: clamp(64px, 7vw, 136px);
  }

  .site-header {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .hero {
    grid-template-columns: minmax(460px, 0.82fr) minmax(650px, 1.18fr);
  }

  .hero-text,
  .section-heading p {
    max-width: 720px;
  }

  .feature-card,
  .security-grid article {
    min-height: 250px;
    padding: 34px;
  }

  .module-list article {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}

@media (min-width: 1800px) {
  :root {
    --content-max: 1560px;
  }

  .hero {
    min-height: 780px;
  }

  .trust-strip {
    margin-bottom: 62px;
  }

  .section {
    padding-top: 68px;
    padding-bottom: 68px;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
  }

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

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .hero-visual {
    order: -1;
  }

  .trust-strip,
  .feature-grid,
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip {
    margin-top: 0;
  }
}

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

  .site-header {
    padding: 14px 0;
  }

  .nav-links a {
    padding: 8px 12px;
  }

  .hero {
    gap: 26px;
    padding-bottom: 44px;
  }

  h1 {
    font-size: clamp(36px, 12vw, 52px);
  }

  .hero-text,
  .section-heading p {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .trust-strip,
  .feature-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .feature-card,
  .security-grid article {
    padding: 22px;
  }

  .module-list article {
    padding: 22px;
  }

  .module-list span {
    position: static;
    display: inline-block;
    margin-bottom: 10px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
