:root {
  --bg: #050505;
  --bg-2: #090909;
  --panel: #0d0d0f;
  --panel-2: #111114;
  --panel-3: #15151a;
  --border: rgba(22, 52, 110, 0.45);
  --border-strong: rgba(37, 93, 205, 0.9);
  --text: #edf3ff;
  --text-soft: #9fb1d3;
  --muted: #66789a;
  --blue: #0b4fd4;
  --blue-2: #2871ff;
  --blue-3: #3f86ff;
  --white: #ffffff;
  --success: #33d17a;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --max: 1220px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #050505 0%, #090909 50%, #050505 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.45), transparent 80%);
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* NAV */

.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max), calc(100% - 24px));
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.96);
  border: 1px solid rgba(22, 52, 110, 0.45);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img,
.server-info img {
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  flex: 0 0 auto;
}

.brand img {
  width: 48px;
  height: 48px;
}

.server-info img {
  width: 62px;
  height: 62px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
  color: var(--white);
}

.brand-text span {
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-top: 4px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-soft);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(21, 54, 116, 0.35);
  color: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(22, 52, 110, 0.55);
  background: rgba(13, 13, 16, 0.98);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.92rem;
  transition: 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  border-color: rgba(63, 134, 255, 0.8);
  box-shadow: 0 10px 24px rgba(19, 83, 209, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--blue-3), var(--blue-2));
  border-color: rgba(63, 134, 255, 1);
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(22, 52, 110, 0.55);
  background: rgba(13, 13, 16, 0.98);
}

.btn-secondary:hover {
  background: rgba(17, 30, 57, 0.95);
  border-color: var(--border-strong);
  color: var(--white);
}

/* HERO */

.hero {
  position: relative;
  padding: 150px 0 90px;
  min-height: 100vh;
  display: grid;
  align-items: center;
}

.hero-grid,
.split,
.page-head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.page-hero {
  padding: 150px 0 60px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(13, 13, 18, 0.95);
  border: 1px solid rgba(22, 52, 110, 0.45);
  color: #b9c8e6;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(51, 209, 122, 0.14);
  flex: 0 0 auto;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  margin-bottom: 22px;
  color: var(--white);
  font-weight: 900;
}

.gradient-text {
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, #5a95ff 45%, #1f63ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p,
.page-head p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-soft);
  max-width: 700px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.small-gap {
  margin-top: 22px;
}

.hero-stats,
.status-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 620px;
}

.stat,
.status-item,
.mini-card {
  background: linear-gradient(180deg, rgba(13,13,15,0.98), rgba(17,17,20,0.98));
  border: 1px solid rgba(22, 52, 110, 0.38);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.stat strong,
.status-item strong,
.mini-card strong {
  display: block;
  color: var(--white);
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  margin-top: 4px;
}

.stat span,
.status-item span,
.mini-card span {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-card,
.page-card,
.glass,
.big-cta,
.preview-card,
.help-card {
  border-radius: 28px;
  border: 1px solid rgba(22, 52, 110, 0.36);
  background: linear-gradient(180deg, rgba(13,13,15,0.98), rgba(17,17,20,0.98));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card-top {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(22, 52, 110, 0.32);
}

.server-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.server-info h2 {
  font-size: 1.08rem;
  color: var(--white);
  margin-bottom: 4px;
}

.server-info span {
  color: var(--text-soft);
  font-size: 0.83rem;
  font-weight: 700;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(9, 26, 17, 0.95);
  border: 1px solid rgba(51, 209, 122, 0.24);
  color: #b6f0cd;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.hero-visual {
  position: relative;
  min-height: 320px;
  background:
    linear-gradient(to bottom, rgba(5,5,5,0.4), rgba(5,5,5,0.94)),
    linear-gradient(135deg, rgba(16,18,24,1), rgba(8,8,10,1));
  display: flex;
  align-items: end;
  padding: 22px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 28px;
  border: 1px solid rgba(22, 52, 110, 0.18);
  background:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.7;
}

/* HERO IMAGE AREA */

.hero-visual-with-image {
  min-height: 320px;
  padding: 22px;
  overflow: hidden;
  background: #050505;
}

.hero-banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(5, 5, 5, 0.05), rgba(5, 5, 5, 0.78)),
    linear-gradient(to right, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.24));
}

.hero-visual-with-image::before {
  z-index: 2;
  pointer-events: none;
}

.hero-visual-with-image .floating-box {
  position: relative;
  z-index: 3;
}

.floating-box {
  position: relative;
  z-index: 2;
  width: 100%;
  background: rgba(10, 10, 12, 0.92);
  border: 1px solid rgba(22, 52, 110, 0.4);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  backdrop-filter: blur(12px);
}

.floating-box strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
}

.floating-box span {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.connect-code {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(24, 66, 160, 0.18);
  border: 1px solid rgba(63, 134, 255, 0.55);
  color: #c9dcff;
  font-size: 0.84rem;
  font-weight: 800;
  transition: 0.2s ease;
}

.connect-code:hover {
  background: rgba(40, 113, 255, 0.22);
  color: var(--white);
}

.hero-card-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 20px;
  border-top: 1px solid rgba(22, 52, 110, 0.32);
}

/* GENERAL */

section {
  padding: 90px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #5a95ff;
}

.section-head h2,
.preview-card h2,
.big-cta h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--white);
  margin-bottom: 16px;
}

.section-head p,
.preview-card p,
.big-cta p,
.help-card p {
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 1rem;
}

/* STEPS */

.steps {
  padding: 22px;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(22, 52, 110, 0.3);
  background: rgba(16, 16, 19, 0.98);
}

.step + .step {
  margin-top: 12px;
}

.num {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  border: 1px solid rgba(63, 134, 255, 0.65);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(19, 83, 209, 0.18);
}

.step h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-soft);
  line-height: 1.65;
  font-size: 0.92rem;
}

.store-links,
.step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.store-pill,
.mini-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(22, 52, 110, 0.4);
  background: rgba(8, 8, 11, 0.98);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
  transition: 0.2s ease;
}

.store-pill:hover,
.mini-link:hover {
  border-color: rgba(63, 134, 255, 0.65);
  background: rgba(19, 36, 68, 0.4);
  color: var(--white);
}

.store-pill img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.95;
}

/* FEATURES */

.feature-grid,
.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.preview-grid {
  grid-template-columns: repeat(2, 1fr);
}

.feature {
  border-radius: 22px;
  border: 1px solid rgba(22, 52, 110, 0.32);
  background: linear-gradient(180deg, rgba(13,13,15,0.98), rgba(17,17,20,0.98));
  padding: 24px;
  min-height: 240px;
  box-shadow: var(--shadow);
  transition: 0.2s ease;
}

.feature:hover,
.preview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(63, 134, 255, 0.45);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(24, 66, 160, 0.16);
  border: 1px solid rgba(63, 134, 255, 0.45);
  color: #d7e6ff;
  font-size: 1.3rem;
}

.feature h3,
.help-card h3 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.feature p {
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.7;
}

.preview-card {
  padding: 34px;
  transition: 0.2s ease;
}

.preview-card strong {
  color: #bfd5ff;
}

/* UPDATES */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-btn {
  border: 1px solid rgba(22, 52, 110, 0.42);
  background: rgba(13, 13, 16, 0.98);
  color: var(--text-soft);
  padding: 11px 14px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(24, 66, 160, 0.18);
  border-color: rgba(63, 134, 255, 0.58);
  color: var(--white);
}

.updates-full-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: start;
}

.updates-full-list {
  display: grid;
  gap: 18px;
}

.update-post {
  border-radius: 26px;
  border: 1px solid rgba(22, 52, 110, 0.3);
  background: linear-gradient(180deg, rgba(13,13,15,0.98), rgba(17,17,20,0.98));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.update-post-header {
  padding: 24px 24px 0;
}

.update-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.tag {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(24, 66, 160, 0.16);
  border: 1px solid rgba(63, 134, 255, 0.42);
  color: #d8e7ff;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.date {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.update-post h3 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
  margin-bottom: 14px;
}

.lead {
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 1rem;
  margin-bottom: 18px;
}

.update-body {
  padding: 0 24px 24px;
}

.update-body ul {
  margin: 14px 0 0 20px;
  color: var(--text-soft);
  line-height: 1.8;
}

.update-body li {
  margin-bottom: 6px;
}

.updates-side-panel {
  position: sticky;
  top: 105px;
  border-radius: 26px;
  border: 1px solid rgba(22, 52, 110, 0.32);
  background: linear-gradient(180deg, rgba(13,13,15,0.98), rgba(17,17,20,0.98));
  box-shadow: var(--shadow);
  padding: 22px;
}

.updates-side-panel h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.updates-side-panel p {
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.quick-links {
  display: grid;
  gap: 10px;
}

.quick-links a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(22, 52, 110, 0.3);
  background: rgba(11, 11, 14, 0.98);
  color: var(--text-soft);
  font-weight: 800;
  transition: 0.2s ease;
}

.quick-links a:hover {
  color: var(--white);
  border-color: rgba(63, 134, 255, 0.52);
  background: rgba(18, 33, 64, 0.35);
}

/* FAQ + CTA */

.faq {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

details {
  border-radius: 18px;
  border: 1px solid rgba(22, 52, 110, 0.3);
  background: linear-gradient(180deg, rgba(13,13,15,0.98), rgba(17,17,20,0.98));
  overflow: hidden;
  box-shadow: var(--shadow);
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  color: var(--white);
  font-weight: 800;
  font-size: 0.96rem;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(24, 66, 160, 0.16);
  border: 1px solid rgba(63, 134, 255, 0.4);
  color: var(--white);
  flex: 0 0 auto;
}

details[open] summary::after {
  content: "−";
}

details p {
  color: var(--text-soft);
  line-height: 1.7;
  padding: 0 22px 20px;
  font-size: 0.95rem;
}

.big-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 38px;
}

.page-card,
.help-card {
  padding: 28px;
}

.back-link {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 22px;
  color: var(--text-soft);
  font-weight: 800;
}

.back-link:hover {
  color: var(--white);
}

/* FOOTER */

footer {
  border-top: 1px solid rgba(22, 52, 110, 0.22);
  padding: 26px 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 700;
  align-items: center;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(22, 52, 110, 0.35);
  background: rgba(11, 11, 14, 0.98);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(63, 134, 255, 0.65);
  background: rgba(18, 33, 64, 0.45);
}

.social-link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* ANIMATION */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: 0.7s cubic-bezier(.2,.8,.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .hero-grid,
  .split,
  .page-head,
  .updates-full-layout,
  .big-cta {
    grid-template-columns: 1fr;
  }

  .updates-side-panel {
    position: static;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav.open {
    border-radius: 26px;
    align-items: flex-start;
  }

  .nav.open .nav-links {
    display: grid;
    position: absolute;
    top: 68px;
    left: 12px;
    right: 12px;
    padding: 12px;
    background: rgba(8, 8, 10, 0.98);
    border: 1px solid rgba(22, 52, 110, 0.45);
    border-radius: 22px;
  }

  .nav.open .nav-links a {
    padding: 14px;
  }

  .hero,
  .page-hero {
    padding-top: 130px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(var(--max), calc(100% - 24px));
  }

  .hero-stats,
  .hero-card-bottom,
  .feature-grid,
  .status-row {
    grid-template-columns: 1fr;
  }

  .floating-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .big-cta {
    padding: 28px;
  }

  section {
    padding: 72px 0;
  }

  .hero-card-top {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.4rem);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}