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

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #050505;
  color: #ffffff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Space / Stardust Animation & Background
   ========================================================================== */
.stardust-bg {
  background-color: #050505;
  background-image: radial-gradient(circle at center, #111122 0%, #050505 100%);
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stars, .stars2, .stars3 {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.stars {
  width: 100%;
  height: 200%;
  background-image: 
    radial-gradient(2px 2px at 40px 60px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 20px 50px, rgba(255,255,255,0.8), rgba(0,0,0,0)),
    radial-gradient(2px 2px at 30px 100px, rgba(255,255,255,0.9), rgba(0,0,0,0)),
    radial-gradient(2px 2px at 40px 60px, rgba(255,255,255,0.7), rgba(0,0,0,0)),
    radial-gradient(2px 2px at 110px 90px, rgba(255,255,255,0.6), rgba(0,0,0,0)),
    radial-gradient(2px 2px at 190px 150px, rgba(255,255,255,0.8), rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: stardust-anim 60s linear infinite;
  opacity: 0.55;
}

.stars2 {
  width: 100%;
  height: 200%;
  background-image: 
    radial-gradient(1.5px 1.5px at 10px 10px, rgba(255,255,255,0.8), rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 150px 150px, rgba(255,255,255,0.7), rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 60px 170px, rgba(255,255,255,0.6), rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 170px 60px, rgba(255,255,255,0.5), rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 300px 300px;
  animation: stardust-anim 40s linear infinite;
  opacity: 0.45;
}

.stars3 {
  width: 100%;
  height: 200%;
  background-image: 
    radial-gradient(3px 3px at 50px 50px, rgba(255,255,255,0.9), rgba(0,0,0,0)),
    radial-gradient(3px 3px at 200px 120px, rgba(255,255,255,0.8), rgba(0,0,0,0)),
    radial-gradient(3px 3px at 300px 250px, rgba(255,255,255,0.7), rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 400px 400px;
  animation: stardust-anim 80s linear infinite;
  opacity: 0.65;
}

@keyframes stardust-anim {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

/* ==========================================================================
   Landing Layout & Elements
   ========================================================================== */
.hero-container {
  position: relative;
  z-index: 10;
  max-width: 900px;
  width: 100%;
  padding: 3rem 1.5rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
}

.app-logo {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  padding: 8px;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.app-logo:hover {
  transform: scale(1.05);
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 50%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(199, 210, 254, 0.9);
  font-weight: 500;
  max-width: 650px;
  line-height: 1.6;
}

/* Store Buttons */
.store-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 4rem;
  width: 100%;
  max-width: 540px;
  justify-content: center;
}

@media (min-width: 640px) {
  .store-buttons {
    flex-direction: row;
  }
}

.store-btn {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border-radius: 1rem;
  padding: 0.9rem 1.8rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 1;
}

.store-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.6);
}

.store-btn:active {
  transform: translateY(0) scale(0.98);
}

.store-icon {
  width: 38px;
  height: 38px;
  margin-right: 1rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.store-btn:hover .store-icon {
  transform: scale(1.1);
}

.store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-sub {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.store-main {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.1;
  margin-top: 2px;
}

/* Footer */
.hero-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: rgba(165, 180, 252, 0.8);
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-nav a {
  color: rgba(165, 180, 252, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #ffffff;
}

.copyright {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(165, 180, 252, 0.55);
}

/* ==========================================================================
   Content / Subpages (Privacy, Terms, Contact)
   ========================================================================== */
.content-body {
  background-color: #09090b;
  color: #f4f4f5;
  min-height: 100vh;
  padding: 3rem 1.25rem 5rem;
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #818cf8;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.back-link:hover {
  color: #a5b4fc;
  transform: translateX(-3px);
}

.content-card {
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
  .content-card {
    padding: 3rem;
  }
}

.page-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.last-updated {
  color: #a1a1aa;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #27272a;
  padding-bottom: 1.25rem;
}

.prose h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.prose p {
  color: #a1a1aa;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: #a1a1aa;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose strong {
  color: #ffffff;
}

.prose a {
  color: #818cf8;
  text-decoration: none;
}

.prose a:hover {
  text-decoration: underline;
  color: #a5b4fc;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-card-box {
  background: #27272a;
  border: 1px solid #3f3f46;
  border-radius: 1rem;
  padding: 1.5rem;
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.contact-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon-wrapper svg {
  width: 22px;
  height: 22px;
}
