@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #070708;
  --panel: #0f0f13;
  --panel-deep: #09090b;
  --panel-soft: #16161b;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: #a7a7b2;
  --faint: #73737d;
  --hex: #ff4dff;
  --hex-soft: rgba(255, 77, 255, 0.16);
  --signal: #d9ff73;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 48% -160px, rgba(255, 77, 255, 0.08), transparent 330px),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 7px),
    var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

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

button {
  font: inherit;
}

.navbar,
.page-shell,
.footer {
  position: relative;
  z-index: 1;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 68px;
  padding: 0 max(24px, calc((100vw - var(--max-width)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 8, 0.96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-block;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
  border: 4px solid var(--hex);
  background: transparent;
  filter: drop-shadow(0 0 10px rgba(255, 77, 255, 0.35));
}

.navbar h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: lowercase;
}

.navbar ul {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar li {
  margin: 0;
}

.navbar a {
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.navbar a:hover {
  color: var(--hex);
}

.navbar a::after {
  display: none;
}

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

.auth-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 0 16px;
  background: var(--panel-deep);
}

.auth-links .register-link {
  border-color: transparent;
  background: var(--hex);
  color: #070708;
}

.auth-links a:hover {
  border-color: var(--hex);
}

.page-shell {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 24px auto 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(17, 17, 22, 0.94);
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 28px;
  align-items: end;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 76px 28px 34px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 77, 255, 0.075), transparent 42%),
    radial-gradient(circle at 82% 20%, rgba(255, 77, 255, 0.08), transparent 26%),
    var(--panel-deep);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 36px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
}

.hero-rail {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.hero-rail div {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: rgba(7, 7, 9, 0.78);
}

.hero-rail span {
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-rail strong {
  color: var(--text);
  font-size: 0.95rem;
  text-transform: lowercase;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--hex);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-section h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(4.8rem, 11vw, 9rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: lowercase;
  text-shadow: none;
}

.hero-section p {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.17rem);
}

.hero-section button,
.button,
.button-green {
  min-height: 40px;
  margin: 28px 8px 0 0;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 0 18px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.hero-section button,
.button {
  background: var(--hex);
  color: #070708;
}

.button-green {
  background: var(--panel-deep);
  color: var(--text);
  border-color: var(--line-strong);
}

.hero-section button:hover,
.button:hover {
  background: var(--text);
  color: #070708;
}

.button-green:hover {
  border-color: var(--hex);
  color: var(--hex);
}

.login-panel,
.card,
.banner {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--panel-deep);
  box-shadow: none;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 44px 0 0;
}

.section-title {
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 8px;
}

.section-title h2,
.banner h1,
.login-panel h2,
.screenshots h2 {
  margin: 0;
  color: var(--text);
  max-width: 620px;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  line-height: 1.06;
  text-transform: none;
}

.card {
  min-height: 210px;
  padding: 18px;
  overflow: hidden;
  transition: border-color 160ms ease, background 160ms ease;
}

.card:hover {
  border-color: rgba(255, 77, 255, 0.5);
  background: #101014;
}

.card-index {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--hex);
  font-size: 0.8rem;
  font-weight: 900;
}

.card h1 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1rem;
  text-transform: uppercase;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.62;
}

.banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin: 44px 0 0;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(255, 77, 255, 0.07), transparent 42%),
    var(--panel-deep);
}

.banner p {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--muted);
}

.banner-actions {
  flex: 0 0 auto;
}

.screenshots {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 44px 0 0;
  text-align: left;
}

.screenshots h2::after {
  display: none;
}

.screenshot-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.screenshot-container img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--panel-deep);
  filter: grayscale(0.1) saturate(0.72) contrast(1.08);
  transition: border-color 160ms ease, transform 160ms ease;
}

.screenshot-container img:hover {
  border-color: rgba(255, 77, 255, 0.5);
  transform: translateY(-2px);
}

.login-panel {
  margin-top: 44px;
  padding: 28px;
}

.login-panel h2 {
  margin: 0;
}

.login-panel p {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--muted);
}

.footer {
  margin-top: 0;
  padding: 28px max(24px, calc((100vw - var(--max-width)) / 2));
  border-top: 1px solid var(--line);
  background: rgba(7, 7, 8, 0.88);
  text-align: center;
}

.footer p {
  margin: 0;
  color: var(--faint);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .navbar {
    flex-wrap: wrap;
    gap: 18px;
    padding-block: 14px;
  }

  .navbar ul {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
  }

  .hero-section,
  .card-container,
  .screenshot-container {
    grid-template-columns: 1fr 1fr;
  }

  .hero-section {
    grid-template-columns: 1fr;
  }

  .banner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .navbar {
    justify-content: center;
  }

  .auth-links {
    margin-left: 0;
  }

  .page-shell {
    width: calc(100% - 20px);
    padding: 12px;
  }

  .hero-section,
  .card-container,
  .screenshot-container {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding: 48px 16px 22px;
  }

  .hero-section h1 {
    font-size: clamp(3.2rem, 18vw, 5rem);
  }

  .card-container,
  .screenshots {
    padding-top: 34px;
  }

  .section-title {
    display: block;
  }

  .banner {
    padding: 24px;
  }
}
