:root {
  --bg-0: #040712;
  --bg-1: #0a1124;
  --bg-2: #101935;
  --accent: #5eead4;
  --accent-2: #34d399;
  --text: #ebf1ff;
  --muted: #a7b4d6;
  --panel: rgba(9, 18, 43, 0.6);
  --border: rgba(143, 191, 255, 0.25);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 500px at 80% -5%, rgba(56, 189, 248, 0.18), transparent 70%),
    radial-gradient(900px 420px at 5% 20%, rgba(94, 234, 212, 0.12), transparent 72%),
    linear-gradient(140deg, var(--bg-0), var(--bg-1) 55%, var(--bg-2));
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(55px);
  pointer-events: none;
  z-index: -1;
  animation: drift 12s ease-in-out infinite alternate;
}

.orb-a {
  top: -10rem;
  right: -9rem;
  background: rgba(94, 234, 212, 0.2);
}

.orb-b {
  bottom: -12rem;
  left: -8rem;
  background: rgba(56, 189, 248, 0.24);
}

.site-header {
  width: min(1120px, 92vw);
  margin: 1.5rem auto 0;
  padding: 0.95rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--panel);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-icon {
  width: 1.9rem;
  height: 1.9rem;
}

.brand-text {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: 0.16rem;
  font-size: 0.95rem;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.11rem;
}

.top-nav a {
  color: var(--text);
  text-decoration: none;
  transition: color 180ms ease;
}

.top-nav a[aria-current="page"],
.top-nav a:hover {
  color: var(--accent);
}

main {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.hero {
  text-align: center;
  padding: 4.2rem 0 2.5rem;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  letter-spacing: 0.14rem;
  text-transform: uppercase;
  font-size: 0.75rem;
}

h1 {
  margin: 0.7rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.1rem, 6.5vw, 5rem);
  letter-spacing: 0.06rem;
  text-shadow: 0 0 34px rgba(94, 234, 212, 0.22);
}

.subhead {
  margin: 1rem auto 0;
  max-width: 48rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.3vw, 1.23rem);
  line-height: 1.6;
}

.hero-image-stage {
  margin: 2.3rem auto 0;
  width: min(100%, 920px);
  perspective: 2000px;
  transform-style: preserve-3d;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.2rem;
  border: 1px solid rgba(167, 180, 214, 0.26);
  box-shadow:
    0 55px 90px rgba(1, 5, 20, 0.7),
    0 18px 35px rgba(52, 211, 153, 0.14),
    0 0 0 1px rgba(94, 234, 212, 0.18) inset;
  transform: rotateX(9deg) rotateY(-7deg) translateZ(45px);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.hero-image-stage:hover .hero-image {
  transform: rotateX(4deg) rotateY(-2deg) translateZ(70px) scale(1.015);
  box-shadow:
    0 70px 110px rgba(1, 5, 20, 0.74),
    0 24px 44px rgba(52, 211, 153, 0.2),
    0 0 0 1px rgba(94, 234, 212, 0.22) inset;
}

.cta-wrap {
  margin-top: 1.6rem;
}

.download-btn {
  display: inline-block;
  text-decoration: none;
  color: #04111d;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  background: linear-gradient(92deg, var(--accent), var(--accent-2));
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(94, 234, 212, 0.35);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.download-btn:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 18px 42px rgba(94, 234, 212, 0.44);
}

.features {
  margin: 3.5rem 0 4.5rem;
}

.features h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  margin: 0;
}

.feature-intro {
  margin-top: 0.7rem;
  color: var(--muted);
}

.feature-intro a,
.text-link,
.about-cta a {
  color: var(--accent);
}

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

.feature-grid article,
.about-section {
  background: rgba(6, 14, 33, 0.7);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.15rem 1.2rem;
}

.feature-grid article {
  transform: translateY(16px);
  opacity: 0;
  animation: riseIn 0.7s ease forwards;
}

.feature-grid article:nth-child(2) { animation-delay: 0.08s; }
.feature-grid article:nth-child(3) { animation-delay: 0.16s; }
.feature-grid article:nth-child(4) { animation-delay: 0.24s; }

.feature-grid h3,
.about-section h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

.feature-grid p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.about-link-wrap {
  margin-top: 1.1rem;
}

.about-main {
  padding: 3rem 0 2.5rem;
}

.about-hero {
  margin-bottom: 1rem;
}

.about-hero h1 {
  font-size: clamp(1.9rem, 5.2vw, 3.2rem);
}

.about-section {
  margin-top: 1rem;
}

.about-section ul {
  margin: 0.65rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.65;
}

.about-cta {
  margin-top: 0.7rem;
  color: var(--muted);
}

.site-footer {
  text-align: center;
  color: var(--muted);
  border-top: 1px solid rgba(143, 191, 255, 0.2);
  width: min(1120px, 92vw);
  margin: 0 auto 2.2rem;
  padding-top: 1rem;
}

@keyframes drift {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(28px);
  }
}

@keyframes riseIn {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 860px) {
  .site-header {
    border-radius: 1rem;
    flex-direction: column;
    gap: 0.9rem;
  }

  .top-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding-top: 2.7rem;
  }

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

  .hero-image {
    transform: rotateX(6deg) rotateY(-3deg) translateZ(28px);
  }
}
