:root {
  color-scheme: dark;
  --bg: #050b20;
  --bg-deep: #010613;
  --panel: #fbfcff;
  --panel-soft: #f4f8ff;
  --text: #071026;
  --muted: #40506a;
  --line: #dce6f4;
  --cyan: #19d4f0;
  --violet: #8c5cff;
  --green: #19d18b;
  --blue: #1c65e8;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg-deep);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 24%, rgba(26, 126, 221, 0.35) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 76%, rgba(33, 215, 171, 0.45) 0 1px, transparent 2px),
    radial-gradient(circle at 11% 81%, rgba(255, 255, 255, 0.76) 0 1px, transparent 2px),
    linear-gradient(160deg, #020817 0%, #06133a 48%, #041320 100%);
}

body::before {
  position: fixed;
  inset: auto 0 0;
  height: 18vh;
  min-height: 112px;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(100% 80% at 50% 100%, rgba(42, 214, 247, 0.36), transparent 58%),
    linear-gradient(to top, rgba(1, 4, 12, 0.82), transparent);
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 22px;
  width: min(100%, 1040px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 34px 24px 38px;
}

.language-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(78px, 1fr));
  padding: 3px;
  overflow: hidden;
  border: 1px solid rgba(213, 228, 255, 0.32);
  border-radius: 11px;
  background: rgba(4, 11, 30, 0.52);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.language-button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.84);
  background: transparent;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.language-button:hover,
.language-button:focus-visible {
  color: #fff;
  outline: none;
}

.language-button:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(25, 212, 240, 0.84);
}

.language-button.is-active {
  color: #fff;
  background:
    linear-gradient(#081126, #081126) padding-box,
    linear-gradient(135deg, var(--cyan), var(--violet)) border-box;
  border: 1px solid transparent;
}

.content-panel {
  width: min(100%, 760px);
  padding: clamp(28px, 4.4vw, 46px) clamp(22px, 5.4vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 250, 255, 0.98)),
    var(--panel);
  box-shadow: var(--shadow);
}

.content-panel[hidden] {
  display: none;
}

.brand-mark {
  display: block;
  width: min(132px, 38vw);
  height: auto;
  margin: 0 auto 16px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 610px;
  margin: 0 auto 34px;
  color: var(--text);
  font-size: clamp(2.35rem, 5.4vw, 3.7rem);
  font-weight: 800;
  line-height: 0.98;
  text-align: center;
  letter-spacing: 0;
}

.feature-list {
  display: grid;
}

.feature-row {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: clamp(18px, 3.4vw, 30px);
  align-items: center;
  padding: 21px 0;
  border-top: 1px solid var(--line);
}

.feature-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.feature-row:last-child {
  padding-bottom: 0;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 96px;
  aspect-ratio: 1;
  border-radius: 50%;
  justify-self: center;
  background: var(--panel-soft);
}

.feature-icon svg {
  width: 50px;
  height: 50px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-icon.hardware {
  color: #08799e;
  background: linear-gradient(145deg, rgba(25, 212, 240, 0.18), rgba(28, 101, 232, 0.08));
}

.feature-icon.hardware svg {
  fill: rgba(8, 121, 158, 0.18);
}

.feature-icon.hosting {
  color: #5140c9;
  background: linear-gradient(145deg, rgba(140, 92, 255, 0.16), rgba(25, 212, 240, 0.06));
}

.feature-icon.commission {
  color: #07804f;
  background: linear-gradient(145deg, rgba(25, 209, 139, 0.18), rgba(241, 247, 239, 0.88));
}

.feature-icon.commission strong {
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: 0;
}

.feature-icon.security {
  color: #1454cc;
  background: linear-gradient(145deg, rgba(28, 101, 232, 0.15), rgba(25, 212, 240, 0.08));
}

h2 {
  color: var(--text);
  font-size: clamp(1.22rem, 2.5vw, 1.62rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0;
}

p {
  max-width: 540px;
  margin-top: 12px;
  color: var(--muted);
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  line-height: 1.58;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  font-weight: 500;
  text-align: center;
}

.site-footer img {
  flex: 0 0 auto;
}

@media (max-width: 720px) {
  .page-shell {
    gap: 18px;
    padding: 22px 14px 34px;
  }

  .language-switcher {
    width: auto;
  }

  .language-button {
    min-height: 36px;
    padding: 0 13px;
  }

  .content-panel {
    padding: 30px 18px;
  }

  h1 {
    margin-bottom: 30px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  p {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
