/* public/css/newsletter.css — shared styles for newsletter pages */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  background: #0f0e17;
  color: #e8e0f0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.card {
  background: #1a1828;
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.card-wide { max-width: 680px; text-align: left; }

.owl { font-size: 3rem; margin-bottom: 12px; }

h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #f0eaff;
  margin: 0 0 12px;
}

h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #c9b8e8;
  margin: 28px 0 8px;
}

h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #b0a0cc;
  margin: 20px 0 6px;
}

p {
  color: #b8b0cc;
  line-height: 1.7;
  margin: 0 0 16px;
}

.tagline {
  font-size: 1.05rem;
  color: #a898c0;
  margin-bottom: 32px;
}

ul {
  color: #b8b0cc;
  line-height: 1.8;
  padding-left: 20px;
  text-align: left;
}

a { color: #9b7fd4; }

/* Form */
.field { margin-bottom: 16px; text-align: left; }

input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #3a3050;
  background: #0f0e17;
  color: #f0eaff;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.15s;
}

input[type="email"]:focus { border-color: #7A5FAF; }

.consent-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.875rem;
  color: #a898c0;
  cursor: pointer;
  line-height: 1.5;
}

.consent-label input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #7A5FAF;
}

.form-error {
  display: none;
  background: #3a1a1a;
  border: 1px solid #7a3030;
  border-radius: 6px;
  color: #f08080;
  font-size: 0.875rem;
  padding: 10px 14px;
  margin-bottom: 12px;
  text-align: left;
}
.form-error:not(:empty) { display: block; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: opacity 0.15s;
}

.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn:not(:disabled):hover { opacity: 0.85; }

.btn-primary {
  background: #7A5FAF;
  color: #fff;
  width: 100%;
  justify-content: center;
}

.btn-ghost {
  background: transparent;
  color: #9b7fd4;
  border: 1px solid #3a3050;
}

/* Success state */
.success-icon { font-size: 2.5rem; margin-bottom: 12px; }

/* Back link */
.back-link { margin-top: 24px; font-size: 0.875rem; }

/* Updated date (privacy page) */
.updated { color: #6a6080; font-size: 0.875rem; margin-top: -8px; }

@media (max-width: 480px) {
  .card { padding: 32px 20px; }
}

.privacy-back {
  margin-top: 32px;
}
