/* web/styles.css — ReviewBuzz lead magnet form */

:root {
  --orange: #f56b1f;
  --orange-dim: #d85a14;
  --dark: #1a1a1a;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --bg: #f4f4f4;
  --card: #ffffff;
  --border: #e3e3e3;
  --error: #c0392b;
  --error-bg: #fdecea;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

main { display: block; }

/* Hero */
.hero {
  background: var(--dark);
  color: #fff;
  padding: 64px 24px 80px;
  text-align: center;
}
.hero-inner { max-width: 720px; margin: 0 auto; }
.hero-tag {
  display: inline-block;
  background: rgba(245, 107, 31, 0.12);
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 700;
}
.hero-sub {
  font-size: 18px;
  color: #d4d4d4;
  margin: 0;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* Form section */
.form-section { padding: 0 24px; margin-top: -40px; }
.form-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--card);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.field .required-mark {
  color: var(--orange);
  font-weight: 700;
  margin-left: 2px;
}
.field .optional-tag {
  color: var(--muted);
  font-weight: 400;
  font-style: italic;
  font-size: 13px;
}
.field input {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: none;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s ease;
}
.field input:focus { border-color: var(--orange); }
.field.captcha { display: flex; justify-content: center; }

/* Submit */
button[type="submit"] {
  display: block;
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--orange);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, transform 0.05s ease;
}
button[type="submit"]:hover:not(:disabled) { background: var(--orange-dim); }
button[type="submit"]:active:not(:disabled) { transform: translateY(1px); }
button[type="submit"]:disabled { background: #c2c2c2; cursor: not-allowed; }

/* Microcopy */
.microcopy {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* Error */
.form-error {
  background: var(--error-bg);
  color: var(--error);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 16px;
}

/* Success state */
.success { text-align: center; padding: 24px 0; }
.success h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  margin: 0 0 12px;
  color: var(--orange);
}
.success p { color: var(--muted); margin: 0; }

/* Secondary CTA */
.secondary-cta {
  margin: 32px 0 0;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.secondary-cta a { color: var(--orange); text-decoration: none; }
.secondary-cta a:hover { text-decoration: underline; }

/* Footer */
footer {
  text-align: center;
  padding: 64px 24px;
  background: var(--dark);
  color: #888;
  margin-top: 80px;
}
footer img { display: inline-block; margin-bottom: 12px; }
footer .tagline { margin: 0 0 6px; font-size: 14px; }
footer .copyright { margin: 0; font-size: 12px; color: #666; }

/* Mobile */
@media (max-width: 540px) {
  .hero { padding: 48px 20px 64px; }
  .hero h1 { font-size: 32px; }
  .form-card { padding: 28px 20px; }
}
