/* Styles specific to the landing page */

.container {
  padding: 20px;
}

header {
  text-align: center;
  padding: 60px 20px 40px;
  color: white;
}

.logo {
  width: 128px;
  height: 128px;
  margin: 0 auto 20px;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

h1,
.site-title {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tagline {
  font-size: 1.5rem;
  margin-bottom: 30px;
  opacity: 1;
  color: rgba(255, 255, 255, 0.98); /* Better contrast while maintaining soft look */
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  padding: 15px 35px;
  font-size: 1.1rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn-primary {
  background: white;
  color: #4c5fd8; /* Darker purple for WCAG AA contrast (4.8:1) */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: #3d4fc4; /* Even darker on hover */
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.15); /* Slight background for better contrast */
  color: white;
  border: 2px solid white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* Subtle shadow for readability */
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  text-decoration: none;
}

.content {
  background: white;
  border-radius: 20px;
  padding: 60px 40px;
  margin-top: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.feature {
  padding: 30px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 15px;
  transition: transform 0.3s ease;
}

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

.feature-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.feature h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #4c5fd8; /* Darker for better contrast on gradient background */
}

.feature p {
  color: #555;
  line-height: 1.6;
}

.how-it-works {
  margin: 60px 0;
}

.how-it-works h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #4c5fd8; /* Darker for WCAG AA contrast on white */
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.step {
  text-align: center;
  padding: 20px;
  flex: 0 1 250px;
  max-width: 300px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 15px;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}

.step p {
  color: #666;
}

.privacy {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 15px;
  margin: 40px 0;
}

.privacy h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #4c5fd8; /* Darker for better contrast */
  text-align: center;
}

.privacy ul {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
}

.privacy li {
  padding: 15px 0 15px 40px;
  position: relative;
  color: #555;
}

.privacy li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4c5fd8; /* Darker for better contrast */
  font-weight: bold;
  font-size: 1.5rem;
}

footer {
  text-align: center;
  padding: 40px 20px;
  color: white;
}

footer nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

footer span {
  color: rgba(255, 255, 255, 0.7);
}

footer a {
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition: border-color 0.3s ease;
}

footer a:hover {
  border-bottom-color: white;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1.2rem;
  }

  .content {
    padding: 40px 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }
}
