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

body {
  font-family: system-ui, sans-serif;
  background-color: #fff;
  color: #111;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

/* Navigation */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #eee;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

img.logo {
  height: 1.5rem;
  width: auto;
}

.btn-nav {
  background: #000;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  display: none;
}

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 2rem 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  line-height: 2.5rem;
}

.hero p {
  font-size: 1.5rem;
  line-height: 1.75rem;
  margin-bottom: 3rem;
}

.cta .btn-primary {
  background: #000;
  color: #fff;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: bold;
  font-size: 1rem;
}

/* Screenshot */
.app-screenshot {
  margin-top: 5rem;
}

.app-screenshot img {
  max-width: 100%;
  width: 320px;
  border-radius: 1.5rem;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 2rem;
}

.feature-box {
  background-color: #f5f5f5;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-box h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.feature-box p {
  color: #555;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.875rem;
  color: #777;
  border-top: 1px solid #eee;
}

/* Legal */

.legal-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

.footer-link {
  text-align: center;
  font-size: 0.875rem;
  color: #777;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

/* Share Popup */

  .share-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100svw;
    height: 100svh;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .share-card {
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: fit-content;
    max-width: 90svw;
    text-align: center;
    margin: 0;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1001;
  }
  
  .popup-buttons {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
  }
  
  .btn-primary {
    background: black;
    border: 1px solid #000;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: bold;
    text-wrap: nowrap;
  }
  
  .btn-secondary {
    background: transparent;
    border: 1px solid #000;
    color: black;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: bold;
    text-wrap: nowrap;
  }

/* Responsive */
@media (min-width: 768px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 1.5rem;
    line-height: 1.75rem;
    margin-bottom: 2.5rem;
  }

  img.logo {
    height: 2rem;
    width: auto;
  }

  .btn-nav {
    background: #000;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    display: flex;
  }

  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eee;
  }
}
