:root {
  color-scheme: dark;
  --bg: #090a0f;
  --text: #f7f7fb;
  --muted: rgba(247, 247, 251, 0.68);
  --line: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.11);
  --glass-strong: rgba(255, 255, 255, 0.18);
  --blue: #197ee4;
  --lavender: #c1aed0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(9, 10, 15, 0.72), rgba(9, 10, 15, 0.94)),
    url("./assets/wallpaper-dark.png") center / cover fixed,
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}

main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 44px;
  padding: 64px 0 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  background: linear-gradient(135deg, var(--blue), var(--lavender));
  border: 0;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
}

.demo {
  min-width: 0;
}

.browser {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(15, 16, 24, 0.62);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(28px);
}

.browser-bar {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.address {
  margin-left: 12px;
  width: min(320px, 65%);
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
}

.browser-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 430px;
}

aside {
  padding: 18px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

aside b {
  display: block;
  margin-bottom: 16px;
}

aside button {
  width: 100%;
  height: 36px;
  margin: 4px 0;
  border: 0;
  border-radius: 8px;
  color: var(--text);
  text-align: left;
  padding: 0 10px;
  background: transparent;
}

aside button.active {
  background: rgba(255, 255, 255, 0.14);
}

.stage {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  padding: 32px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.58;
  animation: drift 7s ease-in-out infinite alternate;
}

.orb-a {
  width: 280px;
  height: 280px;
  left: 56px;
  top: 58px;
  background: rgba(193, 174, 208, 0.5);
}

.orb-b {
  width: 360px;
  height: 360px;
  right: -90px;
  bottom: -80px;
  background: rgba(25, 126, 228, 0.42);
  animation-delay: -2s;
}

.glass-card {
  position: absolute;
  left: 28%;
  top: 36%;
  width: min(340px, 58%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.42), 0 22px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(22px) saturate(1.35);
  animation: shimmer 4.8s ease-in-out infinite;
}

.glass-card strong,
.glass-card span {
  display: block;
}

.glass-card span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.45;
}

.pill {
  position: absolute;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(18px);
}

.pill.one {
  width: 220px;
  left: 34px;
  top: 28px;
}

.pill.two {
  width: 150px;
  right: 32px;
  top: 28px;
}

.features,
.safety {
  padding: 76px 0;
}

h2 {
  margin: 0 0 22px;
  font-size: 34px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

article,
.safety-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

article h3 {
  margin: 0 0 10px;
}

article p,
.safety-panel p,
.safety-panel li {
  color: var(--muted);
  line-height: 1.55;
}

.safety-panel ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.safety-panel li {
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 42px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer a {
  color: var(--text);
}

@keyframes drift {
  from {
    transform: translate3d(-10px, -6px, 0) scale(1);
  }
  to {
    transform: translate3d(16px, 12px, 0) scale(1.04);
  }
}

@keyframes shimmer {
  0%,
  100% {
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.42), 0 22px 60px rgba(0, 0, 0, 0.32);
  }
  50% {
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.7), 0 26px 76px rgba(25, 126, 228, 0.22);
  }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .grid,
  .safety-panel ul {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  main,
  footer {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: 46px;
  }

  .browser-body {
    grid-template-columns: 1fr;
  }

  aside {
    display: none;
  }

  .grid,
  .safety-panel ul {
    grid-template-columns: 1fr;
  }
}
