/* --- General & Dark Theme Setup --- */
:root {
  --background-dark: #121212;
  --text-primary: #F7FAFC;
  --text-secondary: #A0AEC0;
  --accent-yellow: #fee161;
  --card-background: #1A202C;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  background-color: var(--background-dark);
  color: var(--text-primary);
  line-height: 1.6;
}

/* --- Reusable Container for Privacy & Terms --- */
.container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: var(--card-background);
  border-radius: 8px;
}

.container h1, .container h2 {
  color: var(--text-primary);
  border-bottom: 1px solid #2D3748;
  padding-bottom: 0.5rem;
}

.container a {
  color: var(--accent-yellow);
}

hr {
  border-color: #2D3748;
}


/* --- Homepage Specific Styles --- */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem;
  min-height: 80vh;
}

.hero .logo {
  max-height: 150px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin: 0 0 1rem 0;
  color: var(--text-primary);
  font-weight: 800;
  max-width: 800px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 0 2rem 0;
}

.download-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.download-badges a img {
  height: 58px;
  transition: transform 0.2s ease-in-out;
}

.download-badges a:hover img {
    transform: scale(1.05);
}

.page-section {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.page-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: left;
}

.feature-card {
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: 8px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-top: 0;
    color: var(--accent-yellow);
}

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

.footer {
  text-align: center;
  padding: 2rem;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-top: 1px solid #2D3748;
}

.footer a {
  color: var(--accent-yellow);
  text-decoration: none;
  margin: 0 10px;
}

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


/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
    padding: 4rem 1rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .logo {
    max-height: 120px;
  }

  .download-badges {
    flex-direction: column;
    align-items: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .page-section h2 {
    font-size: 2rem;
  }
}
