﻿:root {
  --bg: #060606;
  --bg-soft: #101010;
  --text: #f4f4f4;
  --muted: #bdbdbd;
  --line: rgba(255, 255, 255, 0.08);
  --card: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.16);
  --accent: #ffffff;
  --glow: rgba(255, 255, 255, 0.5);
}

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

html,
body {
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", sans-serif;
  background: radial-gradient(circle at 20% 15%, #1a1a1a 0%, var(--bg) 45%, #020202 100%);
  color: var(--text);
  overflow-x: hidden;
}

#grid-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.15));
  animation: gridShift 18s linear infinite;
}

.loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 1rem;
  background: #000;
  z-index: 999;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: spinPulse 2.2s infinite ease-in-out;
}

.loader-mark img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
}

.loader p {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--muted);
}

.nav {
  position: sticky;
  top: 1rem;
  width: min(1150px, calc(100% - 2rem));
  margin: 1rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  z-index: 50;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

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

.nav nav {
  display: flex;
  gap: 1.1rem;
}

.nav nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.93rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav nav a:hover {
  color: var(--accent);
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.55);
}

main {
  width: min(1150px, calc(100% - 2rem));
  margin: 1.2rem auto 1.2rem;
  display: grid;
  gap: 4rem;
}

.hero {
  min-height: 70vh;
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
}

.hero-content {
  max-width: 700px;
  display: grid;
  gap: 1.3rem;
}

.hero-logo {
  width: min(420px, 85%);
  animation: float 4s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.hero p {
  color: var(--muted);
  font-size: clamp(1rem, 2.3vw, 1.16rem);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 0.78rem 1.4rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.28), transparent 75%);
  transform: translateX(-130%);
}

.btn:hover::before {
  animation: sweep 0.9s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.16);
}

.btn-primary {
  background: #ffffff;
  color: #040404;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
}

.hero-orb {
  position: absolute;
  width: 380px;
  height: 380px;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.03), transparent 68%);
  filter: blur(6px);
  animation: orbit 7s ease-in-out infinite;
  pointer-events: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stats article {
  border: 1px solid var(--card-border);
  background: var(--card);
  border-radius: 1rem;
  padding: 1.2rem;
  text-align: center;
  transform: translateY(0);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.stats article:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.42);
}

.stats h3 {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
}

.stats p {
  color: var(--muted);
  margin-top: 0.35rem;
}

.features h2,
.showcase h2,
.download h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  padding: 1.3rem;
  border-radius: 1rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--card-border);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.feature-card h3 {
  margin-bottom: 0.6rem;
}

.feature-card p {
  color: var(--muted);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.08);
}

.showcase {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1rem;
  align-items: center;
}

.showcase-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.showcase-image {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.6);
  transform: perspective(800px) rotateY(-2deg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.showcase-image img {
  width: 100%;
  display: block;
}

.showcase-image:hover {
  transform: perspective(800px) rotateY(2deg) translateY(-4px);
  box-shadow: 0 25px 55px rgba(255, 255, 255, 0.14);
}

.download {
  border: 1px solid var(--card-border);
  border-radius: 1.4rem;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
}

.download p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.credits-link-wrap {
  margin-top: 1rem;
}

.credits-link {
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.credits-link:hover {
  color: var(--accent);
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.55);
}

.credits-owner-card {
  grid-column: span 2;
}

.credits-owner-name {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0.08em;
}

.pulse {
  animation: buttonPulse 2.2s infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

  .hero-orb {
    width: 250px;
    height: 250px;
    right: -70px;
  }
}

@media (max-width: 760px) {
  .nav {
    border-radius: 1rem;
    top: 0.5rem;
  }

  .nav nav {
    display: none;
  }

  .stats,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 60vh;
  }
}

@keyframes gridShift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(54px, 54px, 0);
  }
}

@keyframes spinPulse {
  0% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.08) rotate(180deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes orbit {
  0%,
  100% {
    transform: translateY(-50%) scale(1);
  }
  50% {
    transform: translateY(-53%) scale(1.08);
  }
}

@keyframes sweep {
  from {
    transform: translateX(-130%);
  }
  to {
    transform: translateX(130%);
  }
}

@keyframes buttonPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.32);
  }
  60% {
    box-shadow: 0 0 0 14px rgba(255, 255, 255, 0);
  }
}

