:root {
  color-scheme: dark;
  --bg: #07090d;
  --panel: #0e1118;
  --panel-2: #141925;
  --text: #f4f7fb;
  --muted: #9aa4b4;
  --line: rgba(255, 255, 255, 0.1);
  --lime: #c8ff38;
  --cyan: #43d9ff;
  --violet: #8b5cf6;
  --display: "Space Grotesk", sans-serif;
  --body: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 74px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 13, 0.82);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; }
.brand strong { color: var(--lime); }
.brand-logo { display: block; width: 172px; height: 48px; object-fit: contain; object-position: left center; }
.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(200, 255, 56, 0.45);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(200, 255, 56, 0.18), rgba(67, 217, 255, 0.04));
  color: var(--lime);
  font-family: var(--display);
}
.desktop-nav { display: flex; gap: 32px; color: #b8c0cd; font-size: 0.88rem; font-weight: 600; }
.desktop-nav a:hover { color: white; }
.header-cta { padding: 10px 17px; border: 1px solid rgba(200, 255, 56, 0.35); border-radius: 8px; color: var(--lime); font-size: 0.85rem; font-weight: 800; }

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 74px);
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
  padding: 6vw 5vw 7vw;
}
.hero-grid {
  position: absolute;
  inset: 0 52% 0 -20vw;
  opacity: 0.2;
  background-image: linear-gradient(rgba(200,255,56,.17) 1px, transparent 1px), linear-gradient(90deg, rgba(200,255,56,.17) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to right, black, transparent);
  transform: perspective(500px) rotateY(18deg);
}
.hero-copy { position: relative; z-index: 1; padding-left: clamp(0px, 3vw, 40px); }
.eyebrow, .overline { color: var(--lime); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.19em; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.eyebrow span { width: 28px; height: 2px; background: var(--lime); box-shadow: 0 0 14px var(--lime); }
h1, h2, h3 { font-family: var(--display); }
h1 { margin: 0; max-width: 760px; font-size: clamp(3.2rem, 6.8vw, 7.1rem); line-height: 0.91; letter-spacing: -0.065em; }
h1 em { color: var(--lime); font-style: normal; text-shadow: 0 0 45px rgba(200, 255, 56, 0.14); }
.hero-text { max-width: 590px; margin: 30px 0 0; color: #aab3c1; font-size: clamp(1rem, 1.3vw, 1.15rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 22px;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: #090c0c; box-shadow: 0 12px 35px rgba(200, 255, 56, 0.12); }
.button-primary:hover { box-shadow: 0 14px 40px rgba(200, 255, 56, 0.25); }
.button-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.035); }
.quick-facts { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 28px; color: #8e98a8; font-size: 0.77rem; font-weight: 700; }
.quick-facts span { display: flex; align-items: center; gap: 7px; }
.quick-facts i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 9px var(--lime); }

.hero-visual { position: relative; min-height: 600px; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: linear-gradient(145deg, #121723, #090b10); clip-path: polygon(8% 0, 100% 0, 100% 92%, 91% 100%, 0 100%, 0 8%); }
.hero-visual img { width: 100%; height: 100%; min-height: 600px; object-fit: cover; display: block; }
.visual-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,9,13,.55), transparent 50%), linear-gradient(0deg, rgba(7,9,13,.75), transparent 55%); }
.server-card { position: absolute; right: 24px; bottom: 24px; left: 24px; padding: 20px; border: 1px solid rgba(255,255,255,.17); background: rgba(9,12,18,.76); backdrop-filter: blur(16px); }
.server-card-top { display: flex; align-items: center; gap: 8px; color: #c5ccd6; font-size: 0.68rem; font-weight: 800; letter-spacing: .13em; }
.server-card-top b { margin-left: auto; color: var(--lime); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.server-card-title { margin: 12px 0 15px; font-family: var(--display); font-size: 1.45rem; font-weight: 700; }
.server-card-meta { display: flex; gap: 25px; color: #8791a0; font-size: .75rem; }
.server-card-meta span { display: grid; gap: 1px; }
.server-card-meta strong { color: white; font-size: .86rem; }

.content-section, .faq-section { max-width: 1240px; margin: 0 auto; padding: 110px 5vw; }
.section-heading { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 45px; }
.section-number { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); color: #7e8796; font-family: var(--display); font-size: .75rem; }
.section-heading p { margin: 0 0 7px; }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.05; letter-spacing: -.045em; }
.feature-grid { display: grid; grid-template-columns: 1.35fr .8fr; gap: 16px; }
.feature-card { min-height: 260px; padding: 32px; border: 1px solid var(--line); background: linear-gradient(145deg, #10141c, #0a0d12); }
.feature-card:nth-child(3) { grid-column: 2; }
.feature-main { grid-row: span 2; min-height: 536px; }
.feature-icon { display: grid; width: 43px; height: 43px; place-items: center; margin-bottom: 40px; border: 1px solid rgba(200,255,56,.2); border-radius: 8px; color: var(--lime); background: rgba(200,255,56,.06); font-family: var(--display); font-size: 1.15rem; }
.feature-card h3 { margin: 0 0 12px; font-size: 1.35rem; }
.feature-card p { max-width: 520px; margin: 0; color: var(--muted); }
.code-preview { display: grid; gap: 1px; margin-top: 45px; padding: 18px 0; border: 1px solid var(--line); background: #07090d; color: #7e8999; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; }
.code-preview span { padding: 9px 18px; }
.code-preview b { margin-right: 16px; color: #414958; font-weight: 400; }
.code-preview .active { border-left: 2px solid var(--lime); background: rgba(200,255,56,.06); color: #dce5d1; }

.install-section { padding: 110px max(5vw, calc((100vw - 1240px)/2)); background: #eef2f4; color: #0b0e13; }
.light-heading .section-number { border-color: rgba(0,0,0,.15); color: #65707a; }
.light-heading .overline { color: #4f6813; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 54px 0 0; padding: 0; list-style: none; }
.steps li { position: relative; display: flex; gap: 20px; padding: 28px 32px 28px 0; border-top: 1px solid rgba(0,0,0,.18); }
.steps li:not(:last-child) { margin-right: 32px; }
.steps li::before { position: absolute; top: -2px; left: 0; width: 42px; height: 3px; background: #759800; content: ""; }
.step-number { margin-top: 2px; color: #759800; font-family: var(--display); font-weight: 800; }
.steps h3 { margin: 0 0 9px; font-size: 1.15rem; }
.steps p { margin: 0; color: #59626c; font-size: .9rem; }

.download-section { position: relative; display: grid; grid-template-columns: 1fr .9fr; gap: 70px; align-items: center; max-width: 1240px; margin: 0 auto; padding: 125px 5vw; overflow: hidden; }
.download-glow { position: absolute; width: 500px; height: 500px; left: -300px; border-radius: 50%; background: rgba(139,92,246,.18); filter: blur(80px); }
.download-copy, .download-box { position: relative; }
.download-copy h2 { max-width: 600px; }
.download-copy > p:last-child { max-width: 550px; color: var(--muted); }
.download-box { padding: 24px; border: 1px solid rgba(200,255,56,.18); border-radius: 12px; background: linear-gradient(145deg, rgba(200,255,56,.06), rgba(67,217,255,.025)); box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.file-line { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.file-icon { display: grid; width: 49px; height: 49px; place-items: center; border-radius: 9px; background: rgba(200,255,56,.1); color: var(--lime); font-family: var(--display); font-size: .72rem; font-weight: 800; }
.file-line div { display: grid; }
.file-line small { color: var(--muted); }
.button-download { width: 100%; background: var(--lime); color: #080a0d; }
.button-download:disabled { cursor: not-allowed; opacity: .42; transform: none; box-shadow: none; }
.download-note { margin: 12px 0 0; color: #788292; text-align: center; font-size: .73rem; }
.download-note a { color: #b9d86c; text-decoration: underline; text-underline-offset: 3px; }

.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; padding: 24px 4px; cursor: pointer; list-style: none; font-family: var(--display); font-size: 1.05rem; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--lime); font-size: 1.4rem; font-weight: 400; transition: transform .2s ease; }
details[open] summary span { transform: rotate(45deg); }
details p { max-width: 760px; margin: -5px 0 26px; color: var(--muted); }

footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 35px 5vw; border-top: 1px solid var(--line); color: #707b89; font-size: .74rem; }
.footer-brand { color: white; font-size: .9rem; }
.footer-brand .brand-logo { width: 156px; }
footer p { text-align: center; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 80px; }
  .hero-visual { min-height: 500px; }
  .hero-visual img { min-height: 500px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-main { grid-column: 1 / -1; grid-row: auto; min-height: auto; }
  .feature-card:nth-child(3) { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .steps li:not(:last-child) { margin-right: 0; }
  .download-section { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .site-header { min-height: 66px; }
  .desktop-nav { display: none; }
  .header-cta { padding: 8px 12px; }
  .brand { font-size: .86rem; }
  .brand-logo { width: 132px; height: 42px; }
  .brand-mark { width: 30px; height: 30px; }
  .hero { min-height: auto; padding: 70px 20px 85px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(3.25rem, 15vw, 5rem); }
  .hero-text { margin-top: 24px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .quick-facts { gap: 13px 18px; }
  .hero-visual { min-height: 380px; }
  .hero-visual img { min-height: 380px; }
  .server-card { right: 12px; bottom: 12px; left: 12px; padding: 15px; }
  .content-section, .faq-section { padding: 82px 20px; }
  .section-heading { gap: 13px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-card:nth-child(3) { grid-column: auto; min-height: auto; padding: 25px; }
  .code-preview { overflow: hidden; font-size: .68rem; }
  .install-section { padding: 82px 20px; }
  .download-section { padding: 90px 20px; gap: 38px; }
  footer { flex-direction: column; text-align: center; }
  footer p { order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
