:root {
  --bg: #07080d;
  --bg-soft: #0d1018;
  --panel-dark: rgba(15, 17, 25, 0.88);
  --panel-border: rgba(255,255,255,0.08);
  --text: #121212;
  --white: #f8f8fb;
  --muted: rgba(255,255,255,0.76);
  --yellow: #ffd400;
  --teal: #00bfa6;
  --red: #ff4a4a;
  --purple: #8166ff;
  --neutral: #efeae1;
  --shadow: 0 20px 55px rgba(0,0,0,0.22);
  --shadow-soft: 0 12px 28px rgba(0,0,0,0.14);
  --radius-panel: 38px;
  --radius-card: 28px;
  --radius-pill: 999px;
  --content-width: 1320px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at top left, rgba(129,102,255,0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(0,191,166,0.08), transparent 26%),
    linear-gradient(180deg, #06070b 0%, #090b12 100%);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

.page-shell {
  width: min(var(--content-width), calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 54px;
}

.button,
.nav-link,
.panel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-weight: 900;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.button:hover,
.nav-link:hover,
.panel-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.16);
}

.button {
  min-width: 170px;
  padding: 15px 24px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow-soft);
}

.button-primary {
  background: var(--yellow);
  color: #111;
}

.button-primary:hover {
  background: #ffe45c;
  border-color: rgba(255, 212, 0, 0.7);
  color: #111;
}

.button-secondary {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.button-secondary:hover {
  background: rgba(0, 191, 166, 0.22);
  border-color: rgba(0, 191, 166, 0.55);
  color: #ffffff;
}

.panel-button {
  min-width: 160px;
  padding: 15px 24px;
  font-size: 0.96rem;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: var(--shadow-soft);
}

.panel-button-dark {
  background: rgba(10,10,10,0.94);
  color: #fff;
}

.panel-button-dark:hover {
  background: var(--purple);
  border-color: rgba(255,255,255,0.28);
  color: #fff;
}

.panel-button-light {
  background: rgba(255,255,255,0.42);
  color: #141414;
}

.panel-button-light:hover {
  background: rgba(255, 212, 0, 0.72);
  border-color: rgba(0,0,0,0.14);
  color: #111;
}

.floating-nav-wrap {
  position: sticky;
  top: 12px;
  z-index: 20;
  margin-top: -26px;
  padding-bottom: 24px;
}

.floating-nav {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 8px 10px;
  padding: 10px;
  border-radius: 28px;
  background: rgba(14,16,24,0.84);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.nav-core {
  grid-column: span 4;
  justify-self: center;
  display: flex;
  gap: 10px;
}

.nav-products {
  grid-column: span 4;
  display: flex;
  gap: 10px;
}

.nav-link {
  position: relative;
  padding: 13px 22px;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}

.nav-product {
  background: rgba(255,255,255,0.085);
  border-color: rgba(255,255,255,0.12);
}

.nav-product::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 7px;
  height: 3px;
  border-radius: 999px;
  opacity: 0.85;
}

.nav-models::after {
  background: var(--yellow);
}

.nav-hosting::after {
  background: var(--purple);
}

.nav-art::after {
  background: var(--teal);
}

.nav-goods::after {
  background: var(--red);
}

.nav-product:hover {
  background: rgba(255,255,255,0.14);
}

.footer-panel-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, #14161e 0%, #0f1118 100%);
  box-shadow: var(--shadow);
  padding: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.footer-title {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-copy {
  margin-top: 16px;
  max-width: 42ch;
  color: rgba(255,255,255,0.84);
  line-height: 1.7;
}

.footer-card {
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  padding: 22px;
}

.footer-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.footer-links {
  display: grid;
  gap: 10px;
  color: rgba(255,255,255,0.82);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  html {
    scroll-behavior: auto;
  }

  .page-shell {
    width: min(100% - 20px, var(--content-width));
    padding-top: 10px;
    padding-bottom: 24px;
  }

  .button,
  .panel-button {
    flex: 1 1 0;
    min-width: 0;
    padding: 11px 12px;
    font-size: 0.84rem;
  }

  .floating-nav-wrap {
    top: 8px;
    margin-top: -10px;
    padding-bottom: 12px;
  }

  .floating-nav {
    width: min(100%, 310px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 6px;
    border-radius: 16px;
  }

  .nav-core,
  .nav-products {
    grid-column: auto;
    justify-self: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .nav-core .nav-link:last-child {
    grid-column: 1 / -1;
  }

  .nav-link {
    width: 100%;
    padding: 9px 10px 11px;
    font-size: 0.76rem;
    text-align: center;
  }

  .nav-product::after {
    left: 14px;
    right: 14px;
    bottom: 5px;
    height: 2px;
  }

  .footer-panel-wrap {
    border-radius: 24px;
    padding: 18px 16px;
  }

  .footer-title,
  .footer-copy,
  .footer-card {
    text-align: center;
  }

  .footer-copy {
    margin-inline: auto;
  }

  .footer-card {
    border-radius: 18px;
    padding: 16px;
  }

  .reveal,
  .reveal.show {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.footer-minimal {
  margin-top: 60px;
  padding-bottom: 24px;
  text-align: center;
  pointer-events: none;
}

.footer-minimal p {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  transition: color 0.25s ease;
}

.footer-minimal:hover p {
  color: rgba(255, 255, 255, 0.5);
}