@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-color: #f8fafc;
  --bg-white: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --brand-navy: #1b2838; /* Matched from the dark sections in the app */
  --brand-navy-light: #2a3f5a;
  --accent-blue: #2563eb;
  --border-color: #e2e8f0;
  --alert-red-bg: #fee2e2;
  --alert-red-text: #b91c1c;
  --success-green-bg: #d1fae5;
  --success-green-text: #047857;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header & Nav */
.site-header {
  background: var(--brand-navy);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__brand span {
  color: #cbd5e1;
  font-weight: 400;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav__links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: #ffffff;
}

/* Main Content */
.container {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 2rem;
  flex: 1;
}

/* Home Page specific */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 4rem;
  gap: 2rem;
}

.hero-img {
  max-width: 200px;
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  background-color: var(--bg-white);
  padding: 0.5rem;
}

.hero-text h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-navy);
  color: #ffffff;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px; /* Rounded corners matching the app's buttons */
  text-decoration: none;
  transition: background-color 0.2s ease;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 320px;
}

.download-btn:hover {
  background: var(--brand-navy-light);
}

/* Text Pages (Privacy, Terms, Contact) */
.page-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  text-align: center;
}

.content-box {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.content-box p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.content-box b, .content-box strong {
  color: var(--text-primary);
  font-weight: 600;
  display: inline-block;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.content-box ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.content-box li {
  margin-bottom: 0.5rem;
}

.content-box a {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 500;
}

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

/* Contact Info Box */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  background: var(--bg-color);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text-primary);
}

.contact-item strong {
  margin: 0;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 1.5rem;
  background: var(--brand-navy);
  color: #94a3b8;
  margin-top: auto;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .nav__links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-text h1 {
    font-size: 1.875rem;
  }
  .content-box {
    padding: 1.5rem;
  }
}
