/* -------------------------------
   Global Styles
---------------------------------- */

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background: #fafafa;
  color: #111827;
  line-height: 1.7;
}

/* -------------------------------
   Header
---------------------------------- */

header {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: #2563eb;
  text-decoration: none; /* ensures no underline */
}
.logo:hover {
  opacity: 0.85;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
}
@media (max-width: 640px) {
  .logo img { height: 32px; }
}

.tagline {
  font-size: 0.95rem;
  color: #6b7280;
}

/* -------------------------------
   Layout Containers
---------------------------------- */

.section,
.content {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px;
}

.content h1,
.section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 1.5rem;
  text-align: center;
}

.content h2,
.section h2 {
  font-size: 1.75rem;
  color: #1e3a8a;
  margin: 2.5rem 0 1rem;
  text-align: center;
}

.content p,
.section p {
  font-size: 1.05rem;
  color: #374151;
  margin-bottom: 1rem;
}

/* -------------------------------
   Hero Section
---------------------------------- */

.hero {
  text-align: center;
  padding: 100px 20px 80px;
  background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1e3a8a;
}

.hero p {
  font-size: 1.1rem;
  color: #4b5563;
  max-width: 640px;
  margin: 0 auto 30px;
}

/* -------------------------------
   Buttons
---------------------------------- */

.btn {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease-in-out;
  margin: 8px;
}

.btn:hover {
  background: #1d4ed8;
}

.btn.image-btn {
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.btn.image-btn:hover {
  background: transparent;
  opacity: 0.9;
}

/* -------------------------------
   Stats Grid
---------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  text-align: center;
  padding: 60px 40px;
  background: #f9fafb;
}

.stats div h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: #111827;
}

.stats div p {
  color: #6b7280;
  font-size: 0.95rem;
}

/* -------------------------------
   Content Formatting (for long text pages)
---------------------------------- */

.content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.content li {
  margin-bottom: 0.5rem;
  color: #374151;
}

.content h3 {
  font-size: 1.25rem;
  color: #1e3a8a;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.highlight {
  background: #eff6ff;
  padding: 1rem;
  border-radius: 8px;
}

/* -------------------------------
   Screenshots and Media
---------------------------------- */

.screenshot {
  max-width: 100%;
  border-radius: 8px;
  margin: 2rem auto;
  display: block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* -------------------------------
   Footer
---------------------------------- */

footer {
  background: #111827;
  color: #9ca3af;
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9rem;
  margin-top: 60px;
}

footer a {
  color: #60a5fa;
  text-decoration: none;
}

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

footer p {
  margin: 8px 0;
}

/* -------------------------------
   Responsive Adjustments
---------------------------------- */

@media (max-width: 640px) {
  header {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    padding: 16px 20px;
  }

  .hero {
    padding: 80px 20px 60px;
  }

  .section,
  .content {
    padding: 60px 20px;
  }

  .content h1 {
    font-size: 2.1rem;
  }

  .content h2 {
    font-size: 1.4rem;
  }

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

  .btn {
    padding: 12px 22px;
  }
}

/* Left-align headings for the Privacy page only */
.privacy h1,
.privacy h2,
.privacy h3 {
  text-align: left;
}