* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #0e0e0e;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.12) 0px,
    rgba(255,255,255,0.12) 1px,
    transparent 1px,
    transparent 4px
  );
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 96px;
  padding: 0 64px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 900;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand span {
  font-size: 20px;
}

.desktop-nav {
  display: flex;
  gap: 30px;
}

.desktop-nav a {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.desktop-nav a:hover {
  color: #3fffd2;
}

.hero {
  min-height: 100vh;
  background: url("hero-bg.jpg?v=1") center center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 24px 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0,0,0,0.05), rgba(0,0,0,0.78) 72%),
    linear-gradient(to bottom, rgba(0,0,0,0.06), #0e0e0e 95%);
}

.hero-content {
  position: relative;
  max-width: 1100px;
}

.small {
  color: #3fffd2;
  letter-spacing: 7px;
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
}

.center {
  text-align: center;
}

.muted {
  color: #c9cfdd;
}

h1 {
  margin: 18px 0;
  font-size: clamp(58px, 9vw, 140px);
  line-height: 0.88;
  letter-spacing: -7px;
}

.hero p:not(.small) {
  max-width: 760px;
  margin: 0 auto 34px;
  font-size: 24px;
  color: #e1e6f2;
  line-height: 1.6;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 34px;
  border: 2px solid white;
  color: white;
  background: transparent;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
}

.btn:hover {
  background: white;
  color: black;
}

.btn.outline {
  border-color: #3fffd2;
}

.download,
.app,
.changelog,
.newsletter,
.links {
  padding: 110px 7vw;
  background: #111;
}

.section-title {
  margin: 10px 0 42px;
  text-align: center;
  font-size: clamp(42px, 6vw, 76px);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.download-box {
  max-width: 1200px;
  margin: 0 auto;
  background: #161616;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.version {
  color: #3fffd2;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.download-box h3,
.app-grid h3 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.95;
  margin: 16px 0;
}

.download-box p,
.app-grid p {
  color: #d0d5e2;
  line-height: 1.8;
  font-size: 18px;
}

.app-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 54px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.app-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.22);
  background: #222;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.tags span {
  border: 1px solid rgba(63,255,210,0.55);
  color: #3fffd2;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 900;
}

.changelog-box {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.changelog-box article {
  background: #161616;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 28px;
}

.changelog-box span {
  color: #3fffd2;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.changelog-box h3 {
  font-size: 28px;
  margin: 12px 0;
}

.changelog-box p {
  color: #d0d5e2;
  line-height: 1.7;
}

.newsletter form {
  margin: 36px auto 0;
  max-width: 680px;
  display: flex;
  gap: 12px;
}

.newsletter input {
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  background: #161616;
  border: 1px solid rgba(255,255,255,0.35);
  color: white;
  font-size: 17px;
}

#newsletterStatus {
  text-align: center;
  margin-top: 22px;
  color: #3fffd2;
  font-weight: 900;
  min-height: 28px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-card {
  background: #161616;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 32px;
  min-height: 150px;
  color: white;
}

.contact-card:hover {
  border-color: #3fffd2;
}

.contact-card span {
  display: block;
  color: #3fffd2;
  letter-spacing: 4px;
  font-weight: 900;
  margin-bottom: 14px;
}

.contact-card strong {
  font-size: 22px;
  overflow-wrap: anywhere;
}

footer {
  background: #0b0b0b;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 70px 7vw;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

footer h3 {
  font-size: 26px;
  margin: 0 0 12px;
}

footer p {
  color: #aaa;
}

footer a {
  display: block;
  margin-bottom: 12px;
  color: #ddd;
}

footer a:hover {
  color: #3fffd2;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  background: rgba(10,10,10,0.96);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 20px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner p {
  margin: 0;
  color: #ddd;
}

.cookie-banner button,
.cookie-banner a {
  border: 1px solid white;
  background: transparent;
  color: white;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}

.cookie-banner button:hover,
.cookie-banner a:hover {
  background: white;
  color: black;
}

.page-content {
  padding: 160px 7vw 100px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-content h1 {
  font-size: clamp(42px, 7vw, 92px);
  letter-spacing: -4px;
}

.page-content p,
.page-content li {
  color: #d0d5e2;
  line-height: 1.8;
  font-size: 18px;
}

@media (max-width: 950px) {
  .header {
    position: sticky;
    top: 0;
    height: 82px;
    padding: 12px 20px;
  }

  .desktop-nav {
    display: none;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand span {
    font-size: 17px;
  }

  .hero {
    min-height: 78vh;
    padding: 86px 24px 66px;
  }

  h1 {
    font-size: clamp(48px, 14vw, 76px);
    line-height: 0.95;
    letter-spacing: -3px;
  }

  .small {
    letter-spacing: 5px;
    font-size: 13px;
  }

  .download,
  .app,
  .changelog,
  .newsletter,
  .links {
    padding: 72px 24px;
  }

  .download-box,
  .app-grid,
  .contact-grid,
  footer {
    grid-template-columns: 1fr;
  }

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

  .section-title {
    font-size: clamp(40px, 12vw, 58px);
  }

  .newsletter form {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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