:root {
  --bg: #000000;
  --bg-2: #04060a;
  --panel: rgba(8, 14, 24, 0.7);
  --panel-solid: #0a0f18;
  --border: rgba(120, 160, 210, 0.1);
  --border-strong: rgba(140, 180, 220, 0.2);
  --text: #d4dff0;
  --text-dim: #7b90ab;
  --muted: #4a5e75;
  --accent: #7ba7e0;
  --accent-2: #5b8fd4;
  --accent-3: #a8cbf5;
  --green: #34d399;
  --grad: linear-gradient(120deg, #5b8fd4 0%, #7ba7e0 45%, #a8cbf5 100%);
  --grad-soft: linear-gradient(120deg, rgba(91, 143, 212, 0.12), rgba(168, 203, 245, 0.12));
  --shadow-accent: 0 0 40px rgba(123, 167, 224, 0.35);
  --radius: 18px;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(123, 167, 224, 0.35);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #5b8fd4, #a8cbf5);
  border-radius: 10px;
  border: 2px solid var(--bg);
}

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

img, svg {
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

main, header, footer {
  position: relative;
  z-index: 1;
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  box-shadow: 0 0 10px var(--green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 30px rgba(91, 143, 212, 0.4);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(123, 167, 224, 0.55);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-3);
  transform: translateY(-2px);
}

.btn--big {
  padding: 18px 34px;
  font-size: 14px;
}

.btn--banner {
  padding: 13px 22px;
  font-size: 12px;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nav__inner {
  width: min(1120px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
}

.brand__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-accent);
  flex-shrink: 0;
}
.brand__icon svg {
  width: 22px;
  height: 22px;
}

.brand__accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand__logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(168, 203, 245, 0.2);
}

.footer .brand__logo {
  width: 34px;
  height: 34px;
}

.solution__card-head .brand__logo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.nav__links {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.nav__links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  padding: 8px 14px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.btn--download-nav {
  padding: 10px 20px;
  font-size: 12px;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 20px 60px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.hero__glow--1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(91, 143, 212, 0.45), transparent 70%);
  top: -160px;
  left: 50%;
  transform: translateX(-60%);
}
.hero__glow--2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(168, 203, 245, 0.3), transparent 70%);
  bottom: -200px;
  right: -120px;
}

.hero__content {
  position: relative;
  max-width: 900px;
}

.hero__logo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 30px;
  display: block;
  box-shadow: 0 0 60px rgba(123, 167, 224, 0.3), 0 0 120px rgba(91, 143, 212, 0.15);
  border: 2px solid rgba(168, 203, 245, 0.15);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

.badge--live {
  border-color: rgba(52, 211, 153, 0.4);
  color: var(--green);
  background: rgba(52, 211, 153, 0.08);
}
.badge--fabric {
  color: var(--accent-3);
  border-color: rgba(168, 203, 245, 0.35);
  background: rgba(168, 203, 245, 0.07);
}
.badge--version {
  color: var(--accent);
  border-color: rgba(123, 167, 224, 0.4);
  background: rgba(123, 167, 224, 0.09);
}
.badge--new {
  background: var(--grad);
  color: #fff;
  border: none;
  box-shadow: 0 0 24px rgba(123, 167, 224, 0.5);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 12vw, 128px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 26px;
  text-transform: uppercase;
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 40px rgba(123, 167, 224, 0.4));
}

.hero__subtitle {
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--text-dim);
  font-size: clamp(16px, 2.4vw, 19px);
}
.hero__subtitle strong {
  color: var(--text);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.stat {
  min-width: 170px;
  padding: 18px 26px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat__suffix {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
}
.stat__label {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border: 2px solid var(--border-strong);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.hero__scroll span {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--accent);
  animation: scroll 1.8s ease-in-out infinite;
}

@keyframes scroll {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Banner ---------- */

.banner {
  padding: 20px 0;
}

.banner__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 28px;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(91, 143, 212, 0.14), rgba(168, 203, 245, 0.12));
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 60px rgba(91, 143, 212, 0.2);
  backdrop-filter: blur(12px);
}

.banner__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-accent);
}
.banner__icon svg {
  width: 26px;
  height: 26px;
}

.banner__text {
  flex: 1;
}
.banner__text h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 2px;
}
.banner__text p {
  color: var(--text-dim);
  font-size: 14px;
}

/* ---------- Sections ---------- */

.section {
  padding: 110px 0;
}

.section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section__tag {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent-3);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.section__desc {
  color: var(--text-dim);
  font-size: 17px;
}

/* ---------- Features ---------- */

.features {
  background: linear-gradient(180deg, transparent, var(--bg-2) 30%, var(--bg-2) 70%, transparent);
}

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

.card {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.card:hover::before {
  opacity: 1;
}

.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  color: var(--accent-3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card__icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.card p {
  color: var(--text-dim);
  font-size: 14.5px;
}

/* ---------- Servers ---------- */

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

.server-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.server-card:hover {
  transform: translateY(-6px);
  border-color: rgba(52, 211, 153, 0.4);
}

.server-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.server-card__shield {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.server-card__shield svg {
  width: 22px;
  height: 22px;
}

.server-card__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green);
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 6px 12px;
  border-radius: 100px;
}

.server-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.server-card p {
  color: var(--text-dim);
  font-size: 14.5px;
  margin-bottom: 18px;
}

.server-card__chip {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
}

/* ---------- Solution ---------- */

.solution__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  padding: 60px;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(91, 143, 212, 0.1), rgba(168, 203, 245, 0.06)), var(--bg-2);
  border: 1px solid var(--border-strong);
}

.solution__text .section__title {
  font-size: clamp(26px, 4vw, 40px);
}

.solution__text > p {
  color: var(--text-dim);
  margin-bottom: 24px;
  font-size: 16px;
}

.solution__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.solution__list li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
  font-size: 15px;
}
.solution__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(123, 167, 224, 0.5);
}
.solution__list b {
  color: var(--accent-3);
}

.solution__visual {
  display: flex;
  justify-content: center;
}

.solution__card {
  width: min(340px, 100%);
  background: var(--panel-solid);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(123, 167, 224, 0.25);
  overflow: hidden;
}

.solution__card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
}
.solution__card-head .brand__icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.solution__card-head .brand__icon svg {
  width: 16px;
  height: 16px;
}

.solution__card-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-dim);
}

.solution__check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.solution__card-foot {
  padding: 12px 20px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

/* ---------- Download ---------- */

.download {
  background: linear-gradient(180deg, transparent, var(--bg-2) 35%, var(--bg-2) 65%, transparent);
}

.download__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.download__left .section__title {
  font-size: clamp(26px, 4vw, 40px);
}

.download__left > p {
  color: var(--text-dim);
  margin-bottom: 28px;
  font-size: 16px;
}
.download__left b {
  color: var(--accent-3);
}

.download__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.download__meta-item {
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  font-size: 13px;
}
.download__meta-item span {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}
.download__meta-item b {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
}

.download__note {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.download__code {
  border-radius: 20px;
  overflow: hidden;
  background: #0b0b13;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.download__code-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3a3a4a;
}
.dot:nth-child(1) { background: #ff5f57; }
.dot:nth-child(2) { background: #febc2e; }
.dot:nth-child(3) { background: #28c840; }

.download__code-file {
  margin-left: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.download__code pre {
  padding: 22px;
  font-family: "Consolas", "Menlo", monospace;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-dim);
  overflow-x: auto;
}

.download__code .c-head {
  color: var(--green);
}

/* ---------- FAQ ---------- */

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}

.faq__item {
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq__item[open] {
  border-color: var(--border-strong);
}

.faq__item summary {
  cursor: pointer;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--accent-3);
  transition: transform 0.3s;
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item p {
  padding: 0 26px 22px;
  color: var(--text-dim);
  font-size: 15px;
}

/* ---------- Profile ---------- */

.profile {
  background: linear-gradient(180deg, transparent, var(--bg-2) 30%, var(--bg-2) 70%, transparent);
}

.profile__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 24px 40px;
  padding: 50px;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(91, 143, 212, 0.08), rgba(168, 203, 245, 0.04)), var(--bg-2);
  border: 1px solid var(--border-strong);
}

.profile__avatar {
  grid-row: 1 / 3;
}
.profile__avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(168, 203, 245, 0.2);
  box-shadow: 0 0 40px rgba(123, 167, 224, 0.3);
}

.profile__info .section__title {
  font-size: clamp(24px, 4vw, 36px);
}

.profile__desc {
  color: var(--text-dim);
  font-size: 15px;
  margin-top: 6px;
}

.profile__download {
  grid-column: 1 / -1;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

@media (max-width: 620px) {
  .profile__inner {
    grid-template-columns: 1fr;
    padding: 30px;
    text-align: center;
  }
  .profile__avatar {
    grid-row: auto;
    justify-self: center;
  }
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 44px;
  background: var(--bg-2);
}

.footer__inner {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.footer__inner .brand__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
.footer__inner .brand__icon svg {
  width: 18px;
  height: 18px;
}

.footer__note {
  max-width: 560px;
  color: var(--muted);
  font-size: 12.5px;
}

.footer__meta {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .features__grid, .servers__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .solution__inner {
    grid-template-columns: 1fr;
    padding: 40px 30px;
  }
  .download__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .nav__links {
    display: none;
  }
  .nav__burger {
    display: flex;
    margin-left: 12px;
  }
  .nav__auth .btn--download-nav {
    display: none;
  }
  .nav__links.open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 18px 24px;
    gap: 4px;
  }
  .nav__links.open a {
    padding: 12px;
    font-size: 15px;
  }
}

@media (max-width: 620px) {
  .features__grid, .servers__grid {
    grid-template-columns: 1fr;
  }
  .banner__inner {
    flex-direction: column;
    text-align: center;
  }
  .hero__stats {
    flex-direction: column;
    align-items: center;
  }
  .stat {
    width: 100%;
    max-width: 260px;
  }
  .section {
    padding: 80px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Auth ---------- */

.nav__auth {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__links {
  margin-left: 0;
}

.nav__user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__user-name {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent-3);
  background: rgba(168, 203, 245, 0.08);
  border: 1px solid rgba(168, 203, 245, 0.3);
  padding: 7px 14px;
  border-radius: 100px;
}

.btn--auth {
  padding: 10px 20px;
  font-size: 12px;
}

.btn--block {
  width: 100%;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.modal__panel {
  position: relative;
  width: min(430px, 100%);
  background: var(--panel-solid);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 34px 32px 30px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), 0 0 80px rgba(123, 167, 224, 0.2);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.3s ease;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.modal.is-open .modal__panel {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.modal__close:hover {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(123, 167, 224, 0.1);
}

.auth__tabs {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 5px;
  margin-bottom: 26px;
}

.auth__tab {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.auth__tab.is-active {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 20px rgba(91, 143, 212, 0.4);
}

.auth__form {
  display: none;
}
.auth__form.is-active {
  display: block;
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.auth__hint {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.field {
  display: block;
  margin-bottom: 16px;
}

.field__label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.field__input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field__input::placeholder {
  color: var(--muted);
}
.field__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(123, 167, 224, 0.2);
}
.field__input--error {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.field__error {
  display: block;
  min-height: 16px;
  margin-top: 5px;
  font-size: 12.5px;
  color: #f87171;
}

.auth__msg {
  min-height: 20px;
  margin-bottom: 10px;
  font-size: 13.5px;
  color: var(--text-dim);
}
.auth__msg--error {
  color: #f87171;
}
.auth__msg--success {
  color: var(--green);
}