:root {
  --bg: #07070f;
  --surface: #0f1022;
  --surface-2: #141730;
  --text: #f8f7ff;
  --muted: #b7b5c7;
  --brand: #8b5cf6;
  --brand-2: #a78bfa;
  --line: #2a2546;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter var", Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(800px 420px at 8% -10%, rgba(139, 92, 246, 0.24), transparent 60%),
    radial-gradient(700px 380px at 95% 6%, rgba(99, 102, 241, 0.16), transparent 60%),
    linear-gradient(180deg, #090911 0%, #07070f 100%);
  color: var(--text);
  line-height: 1.45;
}

.page {
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
  padding: 18px 0 46px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(13, 13, 26, 0.78);
  backdrop-filter: blur(10px);
  margin-bottom: 18px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.brand-name {
  color: #e8e3ff;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.header-links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.header-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 550;
  transition: color 0.18s ease;
}

.header-links a:hover {
  color: #ffffff;
}

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid #372e5e;
  background:
    linear-gradient(170deg, rgba(139, 92, 246, 0.12) 0%, rgba(139, 92, 246, 0.03) 35%, rgba(11, 12, 25, 0.95) 100%),
    var(--surface);
  border-radius: 22px;
  text-align: center;
  padding: clamp(28px, 5vw, 58px) 20px;
  margin-bottom: 20px;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}

.hero-orb-left {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.5), transparent 70%);
  top: -90px;
  left: -65px;
}

.hero-orb-right {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.38), transparent 70%);
  right: -70px;
  bottom: -80px;
}

.hero-sparkle {
  position: absolute;
  width: 64px;
  height: 64px;
  right: 16%;
  top: 20%;
  opacity: 0.7;
}

.hero-sparkle::before,
.hero-sparkle::after {
  content: "";
  position: absolute;
  background: linear-gradient(180deg, #ffffff, #a78bfa);
  border-radius: 999px;
  animation: shimmer 3.8s ease-in-out infinite;
}

.hero-sparkle::before {
  width: 2px;
  height: 58px;
  left: 31px;
  top: 3px;
}

.hero-sparkle::after {
  height: 2px;
  width: 58px;
  top: 31px;
  left: 3px;
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.hero-kicker {
  margin: 0 0 10px;
  color: #b8a8f8;
  font-size: 0.77rem;
  letter-spacing: 0.18em;
  font-weight: 640;
}

h1 {
  margin: 0;
  font-size: clamp(1.95rem, 4.4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 920px;
  margin-inline: auto;
}

.hero-copy {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: clamp(0.97rem, 1.6vw, 1.08rem);
  line-height: 1.62;
}

.cta-row {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.playstore-badge-link {
  display: inline-flex;
  border-radius: 13px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.38);
}

.playstore-badge-link:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 30px rgba(139, 92, 246, 0.22);
}

.playstore-badge {
  width: min(252px, 84vw);
  height: auto;
  display: block;
}

.features {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(170deg, rgba(139, 92, 246, 0.08) 0%, rgba(20, 23, 48, 0.92) 48%, rgba(12, 12, 24, 0.92) 100%);
  padding: 18px;
  margin-bottom: 18px;
}

.features h2,
.shots-header h2 {
  margin: 0;
  font-size: clamp(1.28rem, 2.4vw, 1.9rem);
  letter-spacing: -0.01em;
}

.section-copy {
  margin: 8px 0 14px;
  color: var(--muted);
}

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

.feature-grid-featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 12px;
}

.feature-grid-secondary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: center;
}

.feature-card {
  border: 1px solid #3b3260;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(16, 17, 35, 0.95) 0%, rgba(12, 12, 26, 0.95) 100%);
  padding: 14px 13px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.68);
  box-shadow: 0 12px 24px rgba(8, 9, 24, 0.45);
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-block;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.9), rgba(124, 58, 237, 0.9));
  border: 1px solid rgba(167, 139, 250, 0.72);
  margin-bottom: 10px;
  object-fit: cover;
  padding: 6px;
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.feature-icon-lg {
  width: 44px;
  height: 44px;
  padding: 8px;
}

.feature-icon-lyre {
  background-color: #8b5cf6;
  border-color: rgba(167, 139, 250, 0.86);
  box-shadow: 0 8px 18px rgba(139, 92, 246, 0.28);
}

.feature-flagship {
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.23), rgba(167, 139, 250, 0.13));
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 10px 24px rgba(139, 92, 246, 0.18);
}

.feature-flagship h3 {
  font-size: 1.12rem;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.shots {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16, 16, 33, 0.9), rgba(10, 10, 21, 0.95));
  padding: 18px;
}

.shots-header {
  margin-bottom: 14px;
}

.shots-header p {
  margin: 8px 0 0;
  color: var(--muted);
}

.shots-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scroll-snap-type: x mandatory;
}

.shots-track::-webkit-scrollbar {
  height: 8px;
}

.shots-track::-webkit-scrollbar-thumb {
  background: #3b3260;
  border-radius: 999px;
}

.shot-card {
  min-width: min(86vw, 340px);
  border: 1px solid #342c58;
  border-radius: 16px;
  background: linear-gradient(180deg, #14142b 0%, #0f1021 100%);
  padding: 12px;
  box-shadow: 0 10px 22px rgba(5, 6, 18, 0.4);
  transform-style: preserve-3d;
  transition: transform 0.24s ease, border-color 0.2s ease, box-shadow 0.24s ease;
  scroll-snap-align: start;
}

.shot-card:hover {
  transform: perspective(1000px) rotateX(3deg) rotateY(-3deg) translateY(-2px);
  border-color: rgba(139, 92, 246, 0.72);
  box-shadow: 0 20px 28px rgba(4, 5, 16, 0.52);
}

.shot-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 11px;
  border: 1px solid #2e2948;
}

.shot-card h3 {
  margin: 10px 0 2px;
  font-size: 1rem;
}

.footer {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(13, 13, 26, 0.82);
  padding: 12px;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #d7d0f7;
  font-weight: 540;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.footer-links a:hover {
  color: #fff;
  border-color: #4a3f7a;
  background: rgba(139, 92, 246, 0.12);
}

.doc-page {
  width: min(900px, 100% - 32px);
}

.doc-main {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: #111;
  padding: 26px;
  line-height: 1.6;
}

.doc-main h1,
.doc-main h2 {
  color: #333;
}

.doc-main ul {
  margin-left: 20px;
}

.doc-main a {
  color: #5b3ac7;
}

@media (max-width: 980px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

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

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

}

@media (max-width: 680px) {
  .page {
    width: calc(100% - 20px);
    padding-top: 12px;
  }

  .hero {
    padding: 24px 14px;
  }

  h1 {
    font-size: clamp(1.7rem, 8.2vw, 2.2rem);
  }

  .hero-copy {
    font-size: 0.95rem;
  }

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

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

  .shot-card {
    min-width: min(84vw, 320px);
  }
}
