:root {
  --primary-color: #2b5797;
  --text-color: #333333;
  --background-light: #ffffff;
  --spacing-unit: 2rem;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--background-light);
  color: var(--text-color);
  line-height: 1.6;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-unit);
  padding-bottom: calc(var(--spacing-unit) * 2);
  text-align: center;
}

.logo {
  margin: var(--spacing-unit) 0;
}

.logo img {
  width: 120px;
  height: auto;
}

h1 {
  font-size: 3.5rem;
  margin: var(--spacing-unit) 0;
  font-weight: 700;
}

.tagline {
  font-size: 1.5rem;
  margin-bottom: calc(var(--spacing-unit) * 2);
  color: var(--text-color);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-unit);
  margin-top: var(--spacing-unit) * 2;
}

.feature {
  background: rgba(43, 87, 151, 0.05);
  padding: var(--spacing-unit);
  border-radius: 12px;
  transition: transform 0.2s ease;
}

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

.feature h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature p {
  color: var(--text-color);
}

.privacy-policy {
  text-align: left;
}

.privacy-policy h1 {
  text-align: center;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(43, 87, 151, 0.05);
  padding: var(--spacing-unit);
  border-radius: 12px;
}

.policy-content section {
  margin-bottom: var(--spacing-unit);
}

.policy-content h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.policy-content p {
  color: var(--text-color);
  margin-bottom: 1rem;
}

.policy-content a {
  color: var(--primary-color);
  text-decoration: none;
}

.policy-content a:hover {
  text-decoration: underline;
}

.back-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.back-link:hover {
  background-color: rgba(43, 87, 151, 0.05);
  text-decoration: none;
}

.app-store-button {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: calc(var(--spacing-unit) * 1.5);
}

.app-store-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-radius: 12px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  width: 280px;
  height: 100px;
}

.app-store-button a:hover {
  opacity: 0.85;
  transform: scale(1.05);
  background: rgba(43, 87, 151, 0.05);
}

.app-store-button img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 60px;
  object-fit: contain;
}

/* Google Play badge specific styling */
.app-store-button img[alt="Get it on Google Play"] {
  height: 60px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  .tagline {
    font-size: 1.2rem;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .app-store-button {
    flex-direction: column;
  }
  
  .app-store-button img {
    height: 60px;
  }
  
  .app-store-button img[alt="Get it on Google Play"] {
    height: 60px;
  }
  
  .app-store-button a {
    width: 240px;
    height: 85px;
    padding: 1.25rem;
  }
  
  .app-store-button img {
    max-width: 90%;
    max-height: 90%;
  }
}

footer {
  margin-top: var(--spacing-unit);
  padding: var(--spacing-unit);
  text-align: center;
  border-top: 1px solid rgba(43, 87, 151, 0.1);
}