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

/* Layout and Typography */
body {
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  background: #f9fafe;
  color: #222;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header & Navigation */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 0.5rem 0;
}

nav {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  color: #409cff;
  text-decoration: none;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: color 0.2s;
}

nav ul a:hover {
  color: #409cff;
}

/* Main Section */
main {
  max-width: 820px;
  width: 100%;
  margin: 2.5rem auto 0 auto;
  flex: 1 0 auto;
  padding: 0 1rem 2rem 1rem;
}

.intro {
  background: #fff;
  border-radius: 1.3rem;
  padding: 2rem 2rem 1.2rem 2rem;
  box-shadow: 0 4px 20px rgba(64,156,255,0.06);
  text-align: center;
  margin-bottom: 2.5rem;
}

.intro h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.intro p {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 1.5rem;
}

.download-btn .appstore-badge {
  width: 180px;
  height: auto;
  display: inline-block;
}

.contact {
  background: #fff;
  border-radius: 1.3rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(64,156,255,0.06);
  max-width: 430px;
  margin: 0 auto;
  text-align: center;
}

.contact h2 {
  margin-bottom: 1rem;
  font-weight: 600;
  color: #222;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

form input, form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #e0e7ef;
  border-radius: 0.7rem;
  font-size: 1rem;
  outline: none;
  transition: border 0.2s;
  resize: none;
  background: #f5f8fc;
}

form input:focus, form textarea:focus {
  border: 1.5px solid #409cff;
}

form button {
  padding: 0.85rem;
  border: none;
  border-radius: 0.7rem;
  background: #409cff;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(64,156,255,0.07);
  transition: background 0.2s, transform 0.12s;
}

form button:hover {
  background: #267cd8;
  transform: translateY(-1px) scale(1.03);
}

.thankyou-message {
  color: #28b96b;
  font-weight: 600;
  margin-top: 0.8rem;
  font-size: 1.08rem;
}

/* Policy Pages */
.policy {
  background: #fff;
  border-radius: 1.3rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(64,156,255,0.06);
  max-width: 680px;
  margin: 0 auto;
  color: #333;
}

.policy h1 {
  font-size: 1.55rem;
  margin-bottom: 1rem;
  color: #409cff;
}

/* Footer */
footer {
  background: #fff;
  border-top: 1px solid #e0e7ef;
  text-align: center;
  padding: 1.2rem 0 1.4rem 0;
  font-size: 0.99rem;
  color: #666;
}

footer a {
  color: #409cff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  main {
    margin-top: 1.3rem;
    padding: 0 0.4rem 2rem 0.4rem;
  }
  .intro,
  .contact,
  .policy {
    padding: 1.1rem 0.7rem;
    border-radius: 0.95rem;
  }
  nav {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
}

/* ---- Policy Text Enhancements ---- */
.policy p {
  margin-bottom: 1.15em;
  line-height: 1.7;
}

.policy ul, .policy ol {
  margin: 1em 0 1.5em 2em;
  padding-left: 1.2em;
}

.policy li {
  margin-bottom: 0.5em;
  line-height: 1.6;
}

.policy h2 {
  color: #267cd8;
  font-size: 1.18rem;
  margin-top: 2em;
  margin-bottom: 0.7em;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-left: 3px solid #409cff10;
  padding-left: 0.5em;
}

.policy a {
  color: #409cff;
  text-decoration: underline dotted;
  transition: color 0.2s;
  word-break: break-all;
}

.policy a:hover {
  color: #267cd8;
  text-decoration: underline;
}

.policy h1 {
  font-size: 2rem;
  color: #267cd8;
  margin-bottom: 2rem;
  font-weight: 700;
}

@media (max-width: 600px) {
  .policy h1 {
    font-size: 1.33rem;
    margin-bottom: 1.3rem;
  }
  .policy h2 {
    font-size: 1.06rem;
    margin-top: 1.2em;
  }
}