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

:root {
  --primary-color: #2563eb; /* Modern blue */
  --accent-color: #f59e0b; /* Warm amber */
  --text-color: #1f2937; /* Dark gray */
  --light-text-color: #6b7280; /* Medium gray */
  --bg-color: #f8fafc; /* Very light blue-gray */
  --container-bg: #ffffff;
  --border-color: #e5e7eb;
  --highlight-bg: #fef3c7; /* Subtle yellow highlight */
  --shadow-color: rgba(0, 0, 0, 0.04);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 2rem 1rem;
}

main {
  background-color: var(--container-bg);
  padding: 3rem;
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 4px 6px -1px var(--shadow-color),
    0 2px 4px -1px var(--shadow-color);
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

/* Header & Logo */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.logo {
  width: 140px;
  height: auto;
}

/* Launching Soon Banner */
.launching-soon {
  text-align: center;
  color: var(--primary-color);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 2.5rem 0;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: 12px;
  border: 1px solid #bfdbfe;
}

/* Typography */
h4 {
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem 0;
  line-height: 1.3;
}

h5 {
  color: var(--text-color);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  line-height: 1.4;
}

p {
  margin-bottom: 1.25rem;
  color: var(--light-text-color);
  font-size: 1rem;
  line-height: 1.7;
}

p strong {
  color: var(--text-color);
  font-weight: 600;
}

mark {
  background-color: var(--highlight-bg);
  padding: 0.125rem 0.375rem;
  border-radius: 6px;
  font-weight: 500;
  color: #92400e;
  box-decoration-break: clone;
}

/* Form Styling */
.form-container {
  margin: 2.5rem 0;
  padding: 1rem 0;
  background: none;
  border: none;
  border-radius: 12px;
  text-align: center;
}

/* Enhanced form element styling */
.form-container input[type="email"] {
  padding: 0.875rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  width: 100%;
  max-width: 320px;
  margin-bottom: 1rem;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-color: white;
}

.form-container input[type="email"]:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-container button {
  padding: 0.875rem 2rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  margin-left: 0.5rem;
}

.form-container button:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.unsubscribe-note {
  font-size: 0.875rem;
  color: #9ca3af;
  text-align: center;
  margin-top: 1.5rem;
  font-style: italic;
}

/* Horizontal Rule */
hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 3rem 0;
  opacity: 0.6;
}

/* Footer */
footer {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.875rem;
  color: var(--light-text-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-content p {
  margin: 0;
  font-weight: 500;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

footer a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Privacy Page Specific Styles */
.back-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 2rem;
  padding: 0.5rem 0;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}

.back-link:hover {
  color: #1d4ed8;
  border-bottom-color: #1d4ed8;
}

.privacy-content {
  margin-bottom: 2rem;
}

.privacy-section {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.privacy-section:last-of-type {
  border-bottom: none;
  margin-bottom: 1rem;
}

.privacy-section ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.privacy-section li {
  margin-bottom: 0.75rem;
  color: var(--light-text-color);
  line-height: 1.7;
}

.privacy-section li strong {
  color: var(--text-color);
  font-weight: 600;
}

.privacy-section a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.privacy-section a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.last-updated {
  font-size: 0.875rem;
  color: var(--light-text-color);
  font-style: italic;
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 1rem;
  }

  main {
    padding: 2rem;
  }

  h4 {
    font-size: 1.375rem;
  }

  h5 {
    font-size: 1.125rem;
  }

  .launching-soon {
    font-size: 1rem;
    padding: 0.625rem 1.25rem;
  }

  .form-container {
    padding: 1.5rem;
  }

  .form-container input[type="email"] {
    max-width: 100%;
    margin-bottom: 1rem;
  }

  .form-container button {
    margin-left: 0;
    width: 100%;
    max-width: 200px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  main {
    padding: 1.5rem;
    border-radius: 12px;
    margin: 0.5rem;
  }

  .logo {
    width: 120px;
  }

  h4 {
    font-size: 1.25rem;
  }

  h5 {
    font-size: 1.125rem;
  }

  .launching-soon {
    font-size: 0.875rem;
  }

  .form-container {
    padding: 1.25rem;
  }
}
