:root {
  color-scheme: dark;
  --bg: #080b16;
  --panel: rgba(15, 20, 38, .72);
  --line: rgba(255, 255, 255, .095);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #f7f8fc;
  --muted: #9ba5ba;
  --blue: #6682ff;
  --blue-bright: #7bb8ff;
  --purple: #9a6dff;
  --pointer-x: 50vw;
  --pointer-y: 20vh;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px),
    var(--bg);
  background-size: 72px 72px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: radial-gradient(600px circle at var(--pointer-x) var(--pointer-y), rgba(100, 126, 255, .08), transparent 55%);
  pointer-events: none;
  content: "";
}

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

.ambient {
  position: fixed;
  z-index: -3;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .18;
  pointer-events: none;
}
.ambient-one { top: -22rem; left: -13rem; background: #486dff; }
.ambient-two { top: 24rem; right: -25rem; background: #8b4dff; }

.noise {
  position: fixed;
  z-index: -2;
  inset: 0;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.site-header,
main,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.brand,
.footer-brand { display: flex; align-items: center; gap: 11px; }
.brand img,
.footer-brand img { border-radius: 10px; box-shadow: 0 8px 26px rgba(69, 91, 255, .28); }
.brand span { font-size: 16px; font-weight: 850; letter-spacing: -.03em; }
.brand b { color: var(--muted); font-weight: 650; }

nav { display: flex; gap: 34px; }
nav a { color: var(--muted); font-size: 13px; font-weight: 700; transition: color .2s ease; }
nav a:hover { color: var(--text); }

.nav-feedback {
  justify-self: end;
  padding: 10px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.nav-feedback:hover { border-color: rgba(123, 184, 255, .5); background: rgba(255, 255, 255, .05); transform: translateY(-1px); }

.hero {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  min-height: 720px;
  padding: 70px 0 96px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c5cce0;
  background: rgba(13, 18, 34, .68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.status-pill span { width: 7px; height: 7px; border-radius: 50%; background: #78eeae; box-shadow: 0 0 15px #64f6a8; }

h1, h2, h3, p { text-wrap: balance; }
h1 {
  max-width: 720px;
  margin: 28px 0 22px;
  font-size: clamp(58px, 7.4vw, 102px);
  line-height: .91;
  letter-spacing: -.075em;
}
h1 em {
  color: transparent;
  background: linear-gradient(105deg, var(--blue-bright), #8a8cff 48%, #bf7cff);
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}

.hero-lead { max-width: 620px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 34px; }
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.primary-action {
  gap: 34px;
  padding: 0 18px 0 22px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: linear-gradient(130deg, #5775ff, #8b5eea);
  box-shadow: 0 16px 40px rgba(83, 93, 255, .25);
}
.secondary-action { padding: 0 20px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .035); }
.primary-action:hover, .secondary-action:hover { transform: translateY(-2px); }
.primary-action:hover { box-shadow: 0 20px 50px rgba(83, 93, 255, .36); }
.secondary-action:hover { border-color: rgba(255, 255, 255, .28); }

.compatibility { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.compatibility span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #8993aa;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.glow-core { position: absolute; width: 290px; height: 290px; border-radius: 50%; background: linear-gradient(135deg, rgba(89, 122, 255, .75), rgba(153, 87, 255, .56)); filter: blur(70px); opacity: .5; }
.hero-logo-wrap {
  position: relative;
  z-index: 2;
  width: min(270px, 55vw);
  aspect-ratio: 1;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 31%;
  background: rgba(255, 255, 255, .035);
  box-shadow: 0 42px 100px rgba(0, 0, 0, .48), inset 0 1px rgba(255, 255, 255, .08);
  transform: rotate(-4deg);
}
.hero-logo-wrap img { display: block; width: 100%; border-radius: 27%; }
.logo-shine { position: absolute; inset: 15px; overflow: hidden; border-radius: 27%; }
.logo-shine::after { position: absolute; top: -40%; left: -70%; width: 45%; height: 180%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent); transform: rotate(24deg); animation: shine 6s ease-in-out infinite; content: ""; }
.orbit { position: absolute; border: 1px solid rgba(135, 153, 255, .14); border-radius: 50%; }
.orbit-one { width: 390px; height: 390px; animation: orbit 18s linear infinite; }
.orbit-two { width: 470px; height: 470px; border-style: dashed; animation: orbit 28s linear infinite reverse; }
.orbit::before { position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 20px var(--blue); content: ""; }

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 202px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 15px;
  background: rgba(14, 18, 34, .8);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.floating-card b { display: block; font-size: 11px; }
.floating-card small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.card-top { top: 71px; right: -8px; animation: float 5s ease-in-out infinite; }
.card-bottom { bottom: 63px; left: -10px; animation: float 5.5s ease-in-out infinite reverse; }
.mini-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; font-size: 9px; font-weight: 900; }
.mini-icon.blue { background: linear-gradient(135deg, #4979ff, #62c6ff); }
.mini-icon.purple { background: linear-gradient(135deg, #7452ff, #be68f5); }

.source-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .85fr 1.3fr;
  gap: 28px 46px;
  align-items: end;
  padding: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(28, 37, 68, .9), rgba(14, 18, 34, .9));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .22);
}
.source-panel::after { position: absolute; right: -80px; bottom: -180px; width: 360px; height: 360px; border-radius: 50%; background: rgba(99, 104, 255, .16); filter: blur(50px); pointer-events: none; content: ""; }
.kicker { margin: 0 0 12px; color: #869cff; font-size: 10px; font-weight: 900; letter-spacing: .19em; }
.source-panel h2, .section-intro h2, .developer-card h2 { margin: 0; font-size: clamp(28px, 4vw, 46px); line-height: 1.05; letter-spacing: -.045em; }
.source-row { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 8px 8px 8px 18px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(3, 6, 15, .48); }
.source-row code { overflow: hidden; color: #d8dff0; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.copy-button { padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .08); font-size: 11px; font-weight: 800; cursor: pointer; }
.manager-row { position: relative; z-index: 1; grid-column: 2; display: flex; gap: 8px; }
.manager-row button { flex: 1; padding: 11px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255, 255, 255, .04); font-size: 11px; font-weight: 750; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.manager-row button:hover { border-color: rgba(122, 151, 255, .42); background: rgba(103, 121, 255, .11); }

.packages-section, .install-section { padding: 130px 0 0; }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 38px; }
.section-intro > p { max-width: 420px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.package-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.package-card {
  position: relative;
  overflow: hidden;
  min-height: 510px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 27px;
  background: linear-gradient(145deg, rgba(19, 25, 47, .92), rgba(9, 12, 24, .94));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .18);
  transition: transform .3s ease, border-color .3s ease;
}
.package-card::before { position: absolute; top: -150px; right: -130px; width: 330px; height: 330px; border-radius: 50%; filter: blur(34px); opacity: .22; content: ""; }
.package-featured { grid-column: 1 / -1; min-height: 455px; background: linear-gradient(135deg, rgba(19, 34, 44, .96), rgba(15, 20, 39, .95) 52%, rgba(25, 20, 48, .94)); }
.package-featured::before { top: -190px; right: -60px; width: 480px; height: 480px; background: #36d6b4; opacity: .2; }
.package-blue::before { background: #376cff; }
.package-purple::before { background: #a04eff; }
.package-card:hover { transform: translateY(-7px); border-color: rgba(133, 151, 255, .28); }
.package-topline { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: start; }
.package-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; font-size: 14px; font-weight: 950; box-shadow: inset 0 1px rgba(255, 255, 255, .28), 0 16px 36px rgba(0, 0, 0, .25); }
.package-featured .package-icon { background: linear-gradient(140deg, #16aa8c, #66e5bd); }
.package-blue .package-icon { background: linear-gradient(140deg, #4774ff, #64c2ff); }
.package-purple .package-icon { background: linear-gradient(140deg, #7251f2, #c46af5); }
.release-state { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: #b1bbd1; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.package-number { position: absolute; top: 112px; right: 25px; color: rgba(255, 255, 255, .035); font-size: 130px; font-weight: 950; letter-spacing: -.09em; }
.package-card h3 { position: relative; margin: 58px 0 17px; font-size: clamp(35px, 5vw, 56px); line-height: .95; letter-spacing: -.055em; }
.package-card > p { max-width: 470px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.package-card ul { display: grid; gap: 11px; margin: 26px 0 0; padding: 0; color: #cbd2e1; font-size: 12px; list-style: none; }
.package-card li { display: flex; align-items: center; gap: 10px; }
.package-card li::before { width: 5px; height: 5px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 10px currentColor; content: ""; }
.package-featured li::before { background: #63e4bb; }
.package-purple li::before { background: #b681ff; }
.package-footer { position: absolute; right: 32px; bottom: 27px; left: 32px; display: flex; justify-content: space-between; padding-top: 19px; border-top: 1px solid var(--line); color: #7f899e; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; text-transform: uppercase; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; padding: 1px; border-radius: 22px; background: var(--line); list-style: none; }
.steps li { min-height: 225px; padding: 28px; background: rgba(10, 14, 27, .96); }
.steps li:first-child { border-radius: 21px 0 0 21px; }
.steps li:last-child { border-radius: 0 21px 21px 0; }
.steps li > span { display: inline-block; margin-bottom: 52px; color: #7188f4; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; font-weight: 800; }
.steps h3 { margin: 0 0 9px; font-size: 18px; letter-spacing: -.03em; }
.steps p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.developer-card {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 30px;
  align-items: center;
  margin: 130px 0 100px;
  padding: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: linear-gradient(125deg, rgba(23, 31, 57, .96), rgba(12, 15, 29, .95));
}
.developer-mark { display: grid; place-items: center; width: 100px; height: 100px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 28px; background: linear-gradient(135deg, #5876fa, #8b64ef); box-shadow: 0 20px 46px rgba(75, 84, 232, .28); font-size: 48px; font-weight: 950; }
.developer-copy p:last-child { max-width: 590px; margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.x-button { display: flex; align-items: center; gap: 12px; padding: 14px 17px; border: 1px solid var(--line-strong); border-radius: 15px; background: rgba(255, 255, 255, .045); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.x-button:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .075); }
.x-button svg { width: 20px; height: 20px; fill: white; }
.x-button small, .x-button b { display: block; }
.x-button small { color: var(--muted); font-size: 9px; }
.x-button b { margin-top: 2px; font-size: 13px; }

.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px 0 44px; border-top: 1px solid var(--line); }
.footer-brand b, .footer-brand span { display: block; }
.footer-brand b { font-size: 12px; }
.footer-brand span, .site-footer p { margin: 3px 0 0; color: #657086; font-size: 10px; }
.toast { position: fixed; z-index: 30; right: 24px; bottom: 24px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: #151b2d; box-shadow: 0 18px 45px rgba(0, 0, 0, .35); font-size: 12px; font-weight: 750; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .22s ease, transform .22s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes shine { 0%, 24% { left: -70%; } 48%, 100% { left: 135%; } }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 85px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .compatibility { justify-content: center; }
  .hero-visual { min-height: 470px; }
  .source-panel { grid-template-columns: 1fr; }
  .manager-row { grid-column: 1; }
  .developer-card { grid-template-columns: 86px 1fr; }
  .developer-mark { width: 86px; height: 86px; border-radius: 24px; }
  .x-button { grid-column: 2; justify-self: start; }
}

@media (max-width: 720px) {
  .site-header, main, .site-footer { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 74px; }
  .nav-feedback { padding: 9px 12px; }
  .hero { min-height: auto; padding: 72px 0 68px; }
  h1 { font-size: clamp(51px, 16vw, 76px); }
  .hero-lead { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .compatibility { margin-top: 24px; }
  .hero-visual { min-height: 400px; }
  .orbit-one { width: 310px; height: 310px; }
  .orbit-two { width: 360px; height: 360px; }
  .card-top { top: 42px; right: 0; }
  .card-bottom { bottom: 38px; left: 0; }
  .floating-card { min-width: 174px; padding: 9px; }
  .source-panel { gap: 24px; padding: 25px 20px; }
  .source-row { grid-template-columns: 1fr; gap: 10px; padding: 13px; }
  .source-row code { display: block; padding: 4px; }
  .copy-button { width: 100%; }
  .packages-section, .install-section { padding-top: 90px; }
  .section-intro { display: block; margin-bottom: 27px; }
  .section-intro > p { margin-top: 15px; }
  .package-grid { grid-template-columns: 1fr; }
  .package-featured { grid-column: 1; }
  .package-card { min-height: 490px; padding: 25px; }
  .package-footer { right: 25px; left: 25px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: auto; }
  .steps li:first-child { border-radius: 21px 21px 0 0; }
  .steps li:last-child { border-radius: 0 0 21px 21px; }
  .steps li > span { margin-bottom: 28px; }
  .developer-card { grid-template-columns: 70px 1fr; gap: 20px; margin: 90px 0 70px; padding: 25px 20px; }
  .developer-mark { width: 70px; height: 70px; border-radius: 20px; font-size: 34px; }
  .developer-copy h2 { font-size: 28px; }
  .developer-copy p:last-child { grid-column: 1 / -1; }
  .x-button { grid-column: 1 / -1; justify-self: stretch; justify-content: center; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@supports not (background-clip: text) {
  h1 em { color: var(--blue-bright); }
}
