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

:root {
  --base-font:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Arial, sans-serif;
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--base-font);
  color: rgb(115, 20, 240);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 2rem;
  background: #000;
}

/* Paragraphs */
p {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1rem 0;
  color: #fff;
}
ul,
li,
a {
  color: #fff;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--base-font);
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

h1 {
  font-weight: 700;
  font-size: 2rem;
}

/* Homepage container only: use full-viewport centering for the landing page */
body > .home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.badge-row {
  margin: 0.75rem 0;
}

.iphone-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: white;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  border: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.02em;
  text-transform: none;
}

.iphone-badge[role="status"] {
  outline: none;
}

.app-store-link {
  display: inline-block;
  margin: 0.6rem 0;
  padding: 0.45rem 0.9rem;
  background: #111;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.app-store-link:hover {
  transform: translateY(-2px);
}

/* gallery removed — images handled elsewhere or omitted */

/* Prevent vertical scroll on small screens by reducing paddings and element sizes */
@media (max-width: 700px) {
  body {
    padding: 1rem;
  }
  body > .home {
    height: calc(100vh - 2rem);
  }
  .logo-img {
    width: 140px;
    height: auto;
    max-height: 18vh;
  }
  .gallery {
    height: 42vw;
    max-height: 260px;
  }
  /* ensure images still fill the gallery height */
  .gallery img {
    height: 100%;
  }
}

/* FAQ styles */
.faq {
  width: 100%;
  max-width: 720px;
  margin: 1.25rem auto 0 auto;
  text-align: left;
  color: #fff;
}
.faq h2 {
  margin: 0 0 0.5rem 0;
}
.faq details {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  margin: 0.5rem 0;
  padding: 0.6rem 0.75rem;
}
.faq summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::marker {
  content: none;
}
.faq details[open] {
  background: rgba(255, 255, 255, 0.06);
}
.faq p {
  margin: 0.5rem 0 0 0;
}

/* Contact form styles */
.contact {
  width: 100%;
  max-width: 720px;
  margin: 1rem auto 2rem auto;
  text-align: left;
  color: #fff;
}
.contact h2 {
  margin: 0 0 0.5rem 0;
}
.contact-note {
  color: #dcdcdc;
  font-size: 0.95rem;
  margin: 0 0 0.6rem 0;
  font-style: italic;
}
.contact form {
  display: grid;
  gap: 0.6rem;
}
.contact label {
  display: block;
  font-size: 0.95rem;
}
.contact input[type="text"],
.contact input[type="email"],
.contact textarea {
  width: 100%;
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  box-sizing: border-box;
}
.contact button[type="submit"] {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  background: linear-gradient(135deg, #37d67a, #1db954);
  color: #042;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}
.contact button[disabled] {
  opacity: 0.7;
  cursor: default;
}
.contact #cf-status {
  margin: 0.5rem 0 0 0;
  font-size: 0.95rem;
}
