:root {
  --bg: #050711;
  --panel: rgba(13, 18, 38, 0.66);
  --panel-strong: rgba(16, 22, 48, 0.9);
  --text: #eef5ff;
  --muted: #a8b3ca;
  --line: rgba(125, 188, 255, 0.18);
  --cyan: #34e8ff;
  --blue: #4e7cff;
  --violet: #9f63ff;
  --pink: #ff4fd8;
  --green: #5fffd2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(53, 232, 255, 0.13), transparent 32rem),
    radial-gradient(circle at 85% 15%, rgba(159, 99, 255, 0.16), transparent 34rem),
    radial-gradient(circle at 50% 105%, rgba(255, 79, 216, 0.12), transparent 28rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  overflow-x: hidden;
}

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

#particleCanvas,
.grid-layer,
.cursor-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#particleCanvas {
  z-index: -3;
}

.grid-layer {
  z-index: -2;
  background:
    linear-gradient(rgba(80, 164, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 164, 255, 0.075) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 88%);
}

.cursor-glow {
  z-index: -1;
  opacity: 0.58;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 40%), rgba(52, 232, 255, 0.18), rgba(159, 99, 255, 0.08) 22rem, transparent 36rem);
  transition: opacity 180ms ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(18px, 4vw, 56px);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.scrolled {
  background: rgba(5, 7, 17, 0.78);
  border-color: rgba(90, 148, 255, 0.18);
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(52, 232, 255, 0.45);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(52, 232, 255, 0.18), rgba(159, 99, 255, 0.24));
  box-shadow: 0 0 22px rgba(52, 232, 255, 0.24);
  color: #dffcff;
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: rgba(111, 156, 255, 0.12);
}

.nav-toggle {
  display: none;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  padding: 8px 12px;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: clamp(46px, 7vw, 90px) clamp(18px, 5vw, 72px) 56px;
}

.hero-inner,
.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(52, 232, 255, 0.3);
  border-radius: 999px;
  color: #c6f9ff;
  background: rgba(52, 232, 255, 0.08);
  box-shadow: inset 0 0 24px rgba(52, 232, 255, 0.06);
  font-size: 13px;
}

.hero h1 {
  margin: 24px 0 14px;
  max-width: 900px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.96;
  letter-spacing: 0;
}

.gradient-text {
  background: linear-gradient(90deg, #fff 0%, #8df3ff 28%, #9f8cff 62%, #ff8df2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 42px rgba(96, 139, 255, 0.24);
}

.hero h2 {
  margin: 0 0 14px;
  color: #dce7ff;
  font-size: clamp(21px, 3vw, 36px);
  font-weight: 650;
}

.hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(104, 204, 255, 0.36);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, rgba(52, 232, 255, 0.22), rgba(91, 115, 255, 0.32), rgba(159, 99, 255, 0.25));
  box-shadow: 0 0 28px rgba(52, 232, 255, 0.2);
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.32), transparent);
  transition: transform 520ms ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(52, 232, 255, 0.7);
  box-shadow: 0 0 36px rgba(52, 232, 255, 0.34), 0 0 58px rgba(159, 99, 255, 0.16);
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.tag,
.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(122, 178, 255, 0.22);
  border-radius: 999px;
  color: #cbd7f1;
  background: rgba(255,255,255,0.05);
  padding: 8px 11px;
  font-size: 13px;
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

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

.section-title h2,
.page-title h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
}

.section-title p,
.page-title p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card,
.panel,
.step,
.faq-item,
.timeline-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(14, 21, 48, 0.75), rgba(8, 12, 28, 0.62));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.card {
  min-height: 190px;
  padding: 22px;
}

.card::after,
.panel::after,
.step::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(52,232,255,0.08), transparent);
  transform: translateX(-130%);
  transition: transform 620ms ease;
}

.card:hover,
.panel:hover,
.step:hover,
.faq-item:hover,
.timeline-item:hover {
  transform: translateY(-5px);
  border-color: rgba(52, 232, 255, 0.48);
  box-shadow: 0 18px 60px rgba(22, 40, 92, 0.34), 0 0 34px rgba(52, 232, 255, 0.16);
}

.card:hover::after,
.panel:hover::after,
.step:hover::after {
  transform: translateX(130%);
}

.card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(52,232,255,0.18), rgba(159,99,255,0.22));
  box-shadow: 0 0 24px rgba(52,232,255,0.18);
  font-size: 22px;
}

.card h3,
.panel h3,
.step h3,
.faq-item h3 {
  margin: 18px 0 10px;
  font-size: 20px;
}

.card p,
.panel p,
.step p,
.faq-item p,
.faq-item li,
.timeline-item li {
  color: var(--muted);
  line-height: 1.75;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: stretch;
}

.panel {
  padding: clamp(22px, 3vw, 34px);
}

.flow {
  display: grid;
  gap: 12px;
}

.flow-node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(110, 179, 255, 0.2);
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
}

.flow-index {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #07101c;
  font-weight: 900;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  padding: 20px;
}

.step b {
  color: var(--cyan);
  font-size: 13px;
}

.page {
  padding: 88px clamp(18px, 5vw, 72px) 70px;
}

.page-title {
  width: min(1040px, 100%);
  margin: 0 auto 28px;
}

.content-grid {
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.download-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  padding: 22px;
}

.timeline-item h2 {
  margin: 0 0 12px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pricing-grid.compact {
  margin: 10px 0 20px;
}

.price-card {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 240px;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--text);
  background: linear-gradient(145deg, rgba(14, 21, 48, 0.78), rgba(8, 12, 28, 0.66));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.price-card:hover,
.price-card.selected {
  transform: translateY(-5px);
  border-color: rgba(52, 232, 255, 0.62);
  box-shadow: 0 18px 60px rgba(22, 40, 92, 0.38), 0 0 34px rgba(52, 232, 255, 0.18);
}

.price-card.selectable {
  min-height: 190px;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.price-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 14px;
}

.price-head h3,
.price-head strong {
  margin: 0;
  font-size: 22px;
}

.price-head em {
  color: var(--cyan);
  font-style: normal;
  font-size: 13px;
}

.price-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-value strong {
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1;
}

.price-value span,
.price-card p,
.price-card > span:last-child {
  color: var(--muted);
}

.buy-form {
  display: grid;
  gap: 14px;
}

label {
  color: #dce7ff;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(122, 178, 255, 0.24);
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  padding: 15px 16px;
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(52, 232, 255, 0.64);
  box-shadow: 0 0 0 4px rgba(52, 232, 255, 0.1);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-hint,
.form-message,
.loading,
.alert-panel,
.state-box {
  color: var(--muted);
  line-height: 1.7;
}

.form-message.error,
.alert-panel {
  color: #ffd0d0;
}

.order-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.order-summary div {
  padding: 14px;
  border: 1px solid rgba(122, 178, 255, 0.18);
  border-radius: 14px;
  background: rgba(255,255,255,0.045);
}

.order-summary span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}

.order-summary strong {
  overflow-wrap: anywhere;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.activation-box,
.state-box,
.payment-method {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(52, 232, 255, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.activation-box strong {
  display: block;
  margin: 8px 0 16px;
  color: #fff;
  font-size: clamp(20px, 3vw, 30px);
  overflow-wrap: anywhere;
}

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

.payment-method img {
  display: block;
  max-width: min(260px, 100%);
  margin-top: 12px;
  border-radius: 14px;
}

.compact-steps {
  grid-template-columns: repeat(6, 1fr);
}

.faq {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 20px;
}

.faq-item h3 {
  margin-top: 0;
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(90, 148, 255, 0.16);
  color: var(--muted);
  background: rgba(5, 7, 17, 0.55);
}

.footer-links {
  display: flex;
  gap: 14px;
}

@media (max-width: 920px) {
  .cards,
  .steps,
  .split,
  .pricing-grid,
  .compact-steps,
  .order-summary {
    grid-template-columns: 1fr;
  }

  .download-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 64px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(90, 148, 255, 0.2);
    border-radius: 16px;
    background: rgba(5, 7, 17, 0.92);
  }

  .nav.open {
    display: flex;
  }

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

  .footer {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
