:root {
  --bg-dark: #151515;
  --bg-mid: #222;
  --bg-light: #2b2b2b;
  --border-soft: #555;
  --border-strong: #707070;
  --text-main: #f5f5f5;
  --text-muted: #b0b0b0;
  --accent: #e0e0e0;
  --accent-strong: #ffffff;
  --glow: rgba(255, 255, 255, 0.6);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: radial-gradient(circle at top, #333 0, #101010 55%, #050505 100%);
  color: var(--text-main);
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.page-frame {
  position: relative;
  width: 100%;
  max-width: 1120px;
  background: linear-gradient(135deg, #2a2a2a, #1b1b1b);
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 22px 45px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  animation: frame-enter 700ms ease-out forwards;
}

.scan-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px
  );
  background-size: 100% 3px;
  opacity: 0.22;
  mix-blend-mode: soft-light;
  animation: scan-lines 3s linear infinite;
  z-index: 0;
}

.top-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(to bottom, #333 0, #181818 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  z-index: 2;
}

.logo-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-title {
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

.logo-title span {
  color: var(--accent);
}

.logo-sub {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.23em;
}

.nav-bar {
  display: flex;
  gap: 16px;
  font-size: 13px;
}

.nav-bar a {
  position: relative;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 4px 0;
}

.nav-bar a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity 180ms ease-out, transform 180ms ease-out;
}

.nav-bar a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-download {
  color: var(--accent-strong);
}

main {
  padding: 22px 22px 20px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 26px;
  padding: 18px;
  background: linear-gradient(135deg, #262626, #181818);
  border-radius: 10px;
  border: 1px solid #3a3a3a;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(0, 0, 0, 0.85);
}

.hero-left h1 {
  font-size: 32px;
  line-height: 1.15;
  margin: 0 0 10px 0;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.7);
}

.hero-left .accent {
  display: inline-block;
  padding: 0 6px;
  background: linear-gradient(to bottom, #f3f3f3, #c8c8c8);
  color: #111;
  border-radius: 4px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.9),
    0 0 10px rgba(255, 255, 255, 0.3);
}

.hero-text {
  margin: 0 0 18px 0;
  font-size: 14px;
  color: var(--text-muted);
}

.download-button {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 10px 18px 9px;
  margin-bottom: 6px;
  min-width: 260px;
  border-radius: 6px;
  background: linear-gradient(to bottom, #f5f5f5, #d1d1d1);
  border: 1px solid #8a8a8a;
  box-shadow:
    0 2px 0 #000,
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 0 22px rgba(230, 230, 230, 0.18);
  color: #111;
  text-decoration: none;
  overflow: hidden;
}

.btn-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.8), transparent 60%);
  opacity: 0.7;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: button-glow 1.8s ease-in-out infinite alternate;
}

.btn-label {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-sub {
  font-size: 11px;
  color: #505050;
}

.download-button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 3px 0 #000,
    0 0 0 1px rgba(255, 255, 255, 0.6),
    0 0 30px rgba(255, 255, 255, 0.35);
}

.download-button:active {
  transform: translateY(1px);
  box-shadow:
    0 0 0 #000,
    0 0 0 1px rgba(255, 255, 255, 0.35);
}

.hero-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-note code {
  background: #111;
  padding: 1px 4px;
  border-radius: 3px;
  border: 1px solid #333;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fake-window {
  width: 100%;
  max-width: 360px;
  background: #111;
  border-radius: 7px;
  border: 1px solid #484848;
  box-shadow:
    0 18px 35px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transform-origin: center;
  animation: float 3700ms ease-in-out infinite alternate;
}

.fake-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: linear-gradient(to bottom, #3b3b3b, #252525);
  border-bottom: 1px solid #000;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid #000;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.9);
}

.dot-close {
  background: radial-gradient(circle at 30% 20%, #fff, #a5a5a5);
}

.dot-max {
  background: radial-gradient(circle at 30% 20%, #fefefe, #bdbdbd);
}

.dot-min {
  background: radial-gradient(circle at 30% 20%, #fafafa, #9b9b9b);
}

.fake-title {
  margin-left: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

.fake-content {
  padding: 10px 12px 12px;
  background: radial-gradient(circle at top, #202020 0, #090909 80%);
  font-family: "Consolas", "Courier New", monospace;
  font-size: 11px;
}

.console-line {
  margin-bottom: 4px;
}

.console-muted {
  color: #777;
}

.console-ok {
  color: #c7ffc7;
}

.console-progress {
  margin: 8px 0 10px;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  border: 1px solid #555;
  background: #151515;
  overflow: hidden;
}

.console-progress-bar {
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, #d9d9d9, #ffffff, #bfbfbf);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  animation: progress-move 1800ms linear infinite;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.console-tile {
  padding: 6px 7px;
  border-radius: 4px;
  border: 1px solid #464646;
  background: linear-gradient(to bottom, #262626, #151515);
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 9px;
  color: #c2c2c2;
}

.console-tile.active {
  border-color: #f5f5f5;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28),
    0 0 14px rgba(255, 255, 255, 0.4);
}

.info-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.info-card {
  padding: 14px 15px 13px;
  border-radius: 8px;
  background: linear-gradient(135deg, #242424, #191919);
  border: 1px solid #3c3c3c;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -20%;
  width: 60%;
  height: 220%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.14), transparent 60%);
  opacity: 0;
  transform: translateX(-40%);
  transition: opacity 220ms ease-out, transform 220ms ease-out;
}

.info-card:hover::before {
  opacity: 1;
  transform: translateX(0%);
}

.info-card h2 {
  margin: 0 0 5px 0;
  font-size: 15px;
}

.info-card p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.features {
  margin-top: 22px;
  padding: 16px 15px 15px;
  border-radius: 9px;
  border: 1px solid #383838;
  background: linear-gradient(to bottom, #222, #181818);
}

.features h2 {
  margin: 0 0 10px 0;
  font-size: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-item {
  position: relative;
  padding: 12px 10px 10px;
  border-radius: 7px;
  border: 1px solid #3a3a3a;
  background: #1a1a1a;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.feature-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.25)
  );
  mix-blend-mode: soft-light;
  opacity: 0;
  transform: translateX(-30%);
  transition: opacity 200ms ease-out, transform 200ms ease-out;
}

.feature-item:hover::after {
  opacity: 0.8;
  transform: translateX(0%);
}

.feature-badge {
  display: inline-block;
  padding: 2px 7px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border-radius: 999px;
  border: 1px solid #707070;
  background: linear-gradient(to bottom, #f4f4f4, #c6c6c6);
  color: #111;
  margin-bottom: 6px;
}

.feature-item h3 {
  margin: 0 0 4px 0;
  font-size: 13px;
}

.feature-item p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.footer {
  padding: 10px 20px 11px;
  border-top: 1px solid #333;
  background: linear-gradient(to top, #151515, #1f1f1f);
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand {
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.footer-sep {
  opacity: 0.4;
}

@keyframes frame-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes button-glow {
  from {
    opacity: 0.4;
    transform: translateX(-10%);
  }
  to {
    opacity: 0.9;
    transform: translateX(6%);
  }
}

@keyframes float {
  from {
    transform: translateY(0) scale(1) rotate(-0.4deg);
  }
  to {
    transform: translateY(-6px) scale(1.01) rotate(0.4deg);
  }
}

@keyframes progress-move {
  0% {
    transform: translateX(-30%);
  }
  50% {
    transform: translateX(20%);
  }
  100% {
    transform: translateX(80%);
  }
}

@keyframes scan-lines {
  from {
    background-position-y: 0;
  }
  to {
    background-position-y: 3px;
  }
}

@media (max-width: 880px) {
  body {
    padding: 16px;
  }

  .page-frame {
    max-width: 100%;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    margin-top: 10px;
  }

  .info-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
