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

:root {
  --bg: #080a0c;
  --card: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: #f5f7fa;
  --muted: #aab2bd;
  --green: #9cff00;
  --green-dark: #4f8500;
  --white-soft: #e9edf1;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(156, 255, 0, 0.18), transparent 26%),
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(135deg, #060708 0%, #121518 48%, #080a0c 100%);
  overflow-x: hidden;
}

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

.background-glow {
  position: fixed;
  inset: auto -220px -260px auto;
  width: 520px;
  height: 520px;
  background: rgba(156, 255, 0, 0.18);
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
}

.navbar {
  width: min(1180px, calc(100% - 36px));
  margin: 18px auto 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 16px;
  z-index: 50;
  border: 1px solid var(--card-border);
  border-radius: 24px;
  background: rgba(8, 10, 12, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 1.25rem;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 12px;
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar nav a {
  padding: 10px 13px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 0.93rem;
  transition: 0.25s ease;
}

.navbar nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  width: min(1180px, calc(100% - 36px));
  margin: 76px auto 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.badge,
.mini-title,
.section-title span,
.download-card span {
  display: inline-flex;
  width: fit-content;
  color: var(--green);
  background: rgba(156, 255, 0, 0.1);
  border: 1px solid rgba(156, 255, 0, 0.26);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero h1 {
  margin-top: 20px;
  max-width: 720px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
}

.hero p {
  margin-top: 24px;
  max-width: 650px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.hero-buttons,
.download-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 800;
  transition: 0.25s ease;
}

.btn.primary {
  color: #111;
  background: linear-gradient(135deg, var(--green), #d4ff72);
  box-shadow: 0 16px 42px rgba(156, 255, 0, 0.2);
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 58px rgba(156, 255, 0, 0.28);
}

.btn.secondary {
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white-soft);
}

.btn.secondary:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.11);
}

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

.stats div,
.feature-card,
.open-source,
.download-card {
  border: 1px solid var(--card-border);
  background: var(--card);
  backdrop-filter: blur(18px);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.26);
}

.stats div {
  padding: 18px;
  border-radius: 20px;
}

.stats strong {
  display: block;
  font-size: 1rem;
}

.stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-logo-card {
  min-height: 520px;
  border-radius: 44px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02)),
    radial-gradient(circle at center, rgba(156, 255, 0, 0.16), transparent 46%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 40px 120px rgba(0,0,0,0.4);
}

.logo-orbit {
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(156, 255, 0, 0.26);
  border-radius: 50%;
  animation: spin 16s linear infinite;
}

.logo-orbit::before,
.logo-orbit::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 28px var(--green);
}

.logo-orbit::before {
  top: 36px;
  left: 52px;
}

.logo-orbit::after {
  right: 45px;
  bottom: 52px;
}

.hero-logo-card img {
  width: min(72%, 420px);
  border-radius: 38px;
  transform: perspective(900px) rotateY(-10deg) rotateX(5deg);
  box-shadow: 0 42px 80px rgba(0,0,0,0.42);
  animation: float 4.4s ease-in-out infinite;
}

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

.section-title {
  max-width: 720px;
}

.section-title h2,
.open-source h2,
.download-card h2 {
  margin-top: 16px;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.feature-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  padding: 26px;
  border-radius: 28px;
  min-height: 190px;
  transition: 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(156, 255, 0, 0.34);
}

.feature-card h3 {
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.feature-card p,
.open-source p,
.download-card p,
.download-card small {
  margin-top: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.open-source {
  padding: 40px;
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.open-source div {
  max-width: 750px;
}

.download {
  margin-bottom: 80px;
}

.download-card {
  text-align: center;
  padding: 48px 26px;
  border-radius: 38px;
  overflow: hidden;
  position: relative;
}

.download-card::before {
  content: '';
  position: absolute;
  inset: -40% 20% auto 20%;
  height: 360px;
  background: rgba(156, 255, 0, 0.12);
  filter: blur(90px);
  pointer-events: none;
}

.download-card > * {
  position: relative;
}

.download-card img {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 20px 55px rgba(0,0,0,0.4);
}

.download-card span {
  margin: 18px auto 0;
}

.download-card p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.download-actions {
  justify-content: center;
}

.download-card small {
  display: block;
  margin-top: 18px;
}

footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 26px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer div {
  display: flex;
  gap: 18px;
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.6s ease;
}

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

@keyframes float {
  0%, 100% { transform: perspective(900px) rotateY(-10deg) rotateX(5deg) translateY(0); }
  50% { transform: perspective(900px) rotateY(-10deg) rotateX(5deg) translateY(-14px); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 920px) {
  .hero,
  .feature-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero {
    margin-top: 48px;
  }

  .hero-logo-card {
    min-height: 420px;
  }

  .open-source,
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .navbar {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }

  .navbar nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero h1 {
    font-size: 3.3rem;
  }

  .section {
    margin-top: 82px;
  }

  .hero-logo-card {
    min-height: 330px;
    border-radius: 30px;
  }

  .logo-orbit {
    width: 250px;
    height: 250px;
  }

  .open-source,
  .download-card {
    padding: 28px;
  }
}
