:root {
  --bg0: #081018;
  --ink: #e8eef6;
  --muted: #8fa0b5;
  --line: rgba(180, 210, 235, 0.14);
  --accent: #3ec6b8;
  --accent-2: #6ec8ff;
  --panel: rgba(10, 20, 32, 0.78);
  --font-display: 'Space Grotesk', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans SC', 'Space Grotesk', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg0);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 480px at 10% -8%, rgba(62, 198, 184, 0.2), transparent 58%),
    radial-gradient(720px 420px at 92% 6%, rgba(110, 200, 255, 0.14), transparent 55%),
    linear-gradient(165deg, #061018 0%, #0a1520 48%, #08131c 100%);
}

.bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 72%);
  pointer-events: none;
}

.top {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.1rem 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-sizing: border-box;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand img {
  border-radius: 9px;
}

.brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.brand small {
  display: block;
  margin-top: 0.05rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.top__nav {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-left: auto;
  font-size: 0.82rem;
}

.top__nav a {
  color: var(--muted);
  text-decoration: none;
}

.top__nav a:hover {
  color: var(--ink);
}

.hero {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(2.8rem, 8vh, 5rem) 1.25rem 1.75rem;
  box-sizing: border-box;
  text-align: left;
  align-self: stretch;
  animation: rise 0.65s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__brand {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.8vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(105deg, #9ff3e8 0%, #6ec8ff 55%, #d7ecff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero__lead {
  margin: 0.85rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.hero__note {
  margin: 0.85rem 0 0;
  max-width: 40rem;
  color: #6f8096;
  font-size: 0.8rem;
  line-height: 1.55;
}

.catalog {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2.5rem;
  box-sizing: border-box;
  align-self: stretch;
  animation: rise 0.7s ease 0.08s both;
}

.catalog__list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.catalog__empty {
  margin: 0;
  padding: 1.2rem;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 14px;
  text-align: center;
}

.product {
  display: grid;
  gap: 1.1rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  backdrop-filter: blur(10px);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.product:hover {
  border-color: rgba(110, 200, 255, 0.28);
  transform: translateY(-1px);
}

@media (min-width: 820px) {
  .product {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.product__main {
  display: flex;
  gap: 0.9rem;
  min-width: 0;
}

.product__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.product__copy {
  min-width: 0;
}

.product__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.product__tag {
  margin: 0.2rem 0 0;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.product__summary {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.product__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  min-width: 168px;
}

.product__plats {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.plat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 52px;
  padding: 0.55rem 0.9rem;
  border-radius: 11px;
  border: 1px solid transparent;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.plat__os {
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.7);
}

.plat__label {
  margin-top: 0.08rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
}

.plat__ver {
  margin-top: 0.12rem;
  font-size: 0.64rem;
  color: rgba(255, 255, 255, 0.55);
}

.plat--ready {
  background: linear-gradient(135deg, rgba(62, 198, 184, 0.95), rgba(56, 150, 190, 0.95));
  color: #041018;
  box-shadow: 0 10px 26px rgba(40, 160, 150, 0.22);
}

.plat--ready .plat__os,
.plat--ready .plat__ver {
  color: rgba(4, 16, 24, 0.7);
}

.plat--ready:hover {
  filter: brightness(1.04);
}

.plat--soon {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
  color: var(--ink);
  cursor: default;
}

.plat--soon .plat__os {
  color: var(--muted);
}

.product__web {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: none;
}

.product__web:hover {
  color: var(--ink);
}

@media (max-width: 640px) {
  .top__nav {
    display: none;
  }
}
