:root {
  --bg-primary: #05060d;
  --bg-panel: rgba(16, 18, 35, 0.7);
  --accent: #41d9ff;
  --accent-soft: rgba(65, 217, 255, 0.18);
  --text-main: #f0f4ff;
  --text-muted: #9da8c2;
  --gradient: radial-gradient(circle at 20% 20%, rgba(65, 217, 255, 0.15), transparent 40%),
              radial-gradient(circle at 80% 0%, rgba(120, 93, 255, 0.2), transparent 55%),
              radial-gradient(circle at 50% 80%, rgba(30, 175, 221, 0.18), transparent 65%);
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.02em;
  background-image: var(--gradient), linear-gradient(135deg, #04070f 0%, #020209 45%, #0b1325 100%);
  overflow-x: hidden;
}

.matrix-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(transparent 0%, rgba(65, 217, 255, 0.05) 1%, transparent 2%);
  background-size: 100% 3px;
  opacity: 0.28;
  mix-blend-mode: screen;
  animation: matrixFlow 12s linear infinite;
  z-index: 1;
}

@keyframes matrixFlow {
  from { transform: translateY(0); }
  to { transform: translateY(100%); }
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(5, 6, 13, 0.8);
  border-bottom: 1px solid rgba(65, 217, 255, 0.12);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
  text-decoration: none;
}

.brand img {
  height: 22px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: clamp(1.2rem, 2vw, 2rem);
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--text-main);
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  width: 100%;
}

main {
  display: flex;
  flex-direction: column;
}

section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 140px 6vw;
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 42px;
}

.hero {
  max-width: 1200px;
  padding: 160px 6vw 140px;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin: 0 0 20px;
  line-height: 1.2;
}

.hero h1 span {
  display: block;
  color: var(--accent);
  margin-top: 8px;
}

.hero p {
  color: var(--text-muted);
  margin: 0 0 32px;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.btn-primary {
  background: linear-gradient(120deg, rgba(65, 217, 255, 0.85), rgba(112, 65, 255, 0.85));
  box-shadow: 0 10px 30px rgba(65, 217, 255, 0.3);
}

.btn-outline {
  border-color: rgba(65, 217, 255, 0.4);
  background: rgba(5, 6, 13, 0.4);
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(65, 217, 255, 0.25);
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin: 0;
}

.section-lead {
  max-width: 620px;
  color: var(--text-muted);
  margin: 0;
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-panel);
  border: 1px solid rgba(65, 217, 255, 0.1);
  border-radius: 20px;
  padding: 34px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease;
  width: 100%;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(65, 217, 255, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(65, 217, 255, 0.35);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.product-section {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
}

.product-card {
  background: linear-gradient(160deg, rgba(15, 21, 38, 0.8), rgba(10, 16, 31, 0.55));
  border-radius: 24px;
  border: 1px solid rgba(65, 217, 255, 0.16);
  padding: 40px 38px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 45px rgba(5, 10, 20, 0.4);
  width: 100%;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: -30% 30% 30% -30%;
  background: linear-gradient(120deg, rgba(65, 217, 255, 0.25), transparent 65%);
  opacity: 0.35;
  transform: rotate(12deg);
  pointer-events: none;
}

.product-card h3 {
  font-size: 1.5rem;
  margin: 0 0 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(65, 217, 255, 0.14);
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.product-card p {
  color: var(--text-muted);
  margin: 0 0 20px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-list span {
  border-radius: 999px;
  border: 1px solid rgba(65, 217, 255, 0.28);
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--text-main);
  background: rgba(5, 6, 12, 0.6);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.pill-list span:hover {
  background: rgba(65, 217, 255, 0.12);
  border-color: rgba(65, 217, 255, 0.45);
}

.cta-panel {
  margin-top: 24px;
  background: linear-gradient(120deg, rgba(65, 217, 255, 0.2), rgba(15, 21, 38, 0.8));
  border-radius: 28px;
  padding: 52px clamp(26px, 6vw, 68px);
  border: 1px solid rgba(65, 217, 255, 0.22);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

footer {
  margin-top: 0;
  padding: 40px 5vw 60px;
  background: rgba(4, 6, 12, 0.95);
  border-top: 1px solid rgba(65, 217, 255, 0.1);
  position: relative;
  z-index: 2;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  color: var(--text-muted);
}

.footer-grid h4 {
  margin-bottom: 12px;
  color: var(--text-main);
  font-size: 1rem;
}

.footer-grid p {
  margin: 6px 0;
  font-size: 0.9rem;
}

.footer-note {
  margin-top: 40px;
  text-align: center;
  color: rgba(157, 168, 194, 0.6);
  font-size: 0.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  nav {
    padding: 16px 5vw;
  }

  .nav-links {
    display: none;
  }

}

@media (max-width: 720px) {
  section {
    padding: 110px 6vw;
    min-height: auto;
    gap: 28px;
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 110px;
  }

  .product-card {
    padding: 32px 28px;
  }

  .cta-panel {
    padding: 40px 30px;
  }
}

@media (max-width: 520px) {
  .cta-group {
    flex-direction: column;
  }
}
