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

html,
body {
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  overflow-y: auto;
}

/* Header styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  max-height: 70px;
  transition: transform 0.3s;
}

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

nav {
  width: auto;
  overflow-x: auto;
}

nav ul {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
}

nav li {
  margin-left: 20px;
  margin-bottom: 10px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s;
  position: relative;
  white-space: nowrap;
}

nav a:hover,
nav a.active {
  color: #e74c3c;
}

nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 3px;
  background-color: #e74c3c;
}

/* Download section */
.download-section {
  background-color: #ffcccb;
  padding: 20px;
  text-align: center;
  margin: 40px 0;
  border-radius: 5px;
}

.download-section h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #333;
  text-transform: uppercase;
}

/* Hero section */
.hero {
  text-align: center;
  padding: 60px 0;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #333;
}

.tagline {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #666;
}

.app-buttons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

.app-button {
  display: inline-block;
}

.app-button img {
  height: 60px;
  transition: transform 0.3s;
}

.store-button {
  width: 200px;
  height: auto;
  transition: transform 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.store-button:hover {
  transform: scale(1.05);
}

/* Content sections */
section {
  margin-bottom: 60px;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
}

p {
  margin-bottom: 20px;
}

/* FAQ styling */
.faq-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.faq-item h3 {
  margin-bottom: 15px;
  color: #e74c3c;
}

/* How it works styling */
.how-it-works {
  max-width: 800px;
  margin: 0 auto;
}

.step {
  margin-bottom: 40px;
  position: relative;
}

.step h3 {
  color: #e74c3c;
  margin-bottom: 15px;
}

/* Policy pages */
.policy-content {
  max-width: 900px;
  margin: 0 auto;
}

.policy-content h2 {
  margin-top: 40px;
  margin-bottom: 15px;
}

.policy-content h3 {
  margin-top: 30px;
  margin-bottom: 10px;
}

.policy-content ul,
.policy-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 0;
  margin-top: 60px;
  border-top: 1px solid #eee;
}

.footer-links {
  margin-bottom: 15px;
}

.footer-links a {
  margin: 0 10px;
  color: #666;
  text-decoration: none;
}

.footer-links a:hover {
  color: #e74c3c;
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

button {
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #c0392b;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
  }

  .logo-container {
    margin-bottom: 15px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
  }

  nav ul {
    margin-top: 15px;
    justify-content: center;
    padding-bottom: 5px;
  }

  nav li {
    margin: 5px 10px;
  }

  nav::-webkit-scrollbar {
    height: 4px;
  }

  nav::-webkit-scrollbar-thumb {
    background-color: #e74c3c;
    border-radius: 4px;
  }

  .app-buttons {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .download-section h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  body {
    padding: 0 10px;
  }

  header {
    margin-bottom: 20px;
  }

  .logo {
    max-height: 60px;
  }

  .hero {
    padding: 30px 0;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .store-button {
    width: 180px;
  }
}
