/* FOTW Lead Magnet — Brand Tokens */

:root {
  --color-accent: #8C52FF;
  --color-accent-hover: #7a3ef0;
  --color-text: #1a1a1a;
  --color-text-muted: #666;
  --color-text-light: #999;
  --color-border: #e0e0e0;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f7f7;
  --color-dark-bg: #1a1a1a;
  --font-body: 'Roboto', sans-serif;
  --max-width: 600px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px;
}

/* Header logo */
.header-logo {
  display: block;
  height: 40px;
  width: auto;
  margin: 0 auto 30px auto;
}

/* Cover image */
.cover-image {
  width: 75%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  margin: 0 auto 24px;
  display: block;
}

/* Typography */
h1 {
  font-size: 32px;
  line-height: 1.3;
  font-weight: bold;
  margin: 0 0 16px 0;
  text-align: center;
}

.subheadline {
  font-size: 18px;
  color: var(--color-text-muted);
  margin: 0 0 30px 0;
  line-height: 1.6;
  text-align: center;
}

/* Email form */
.email-form {
  margin: 30px 0;
}

.email-form input[type="email"] {
  display: block;
  width: 100%;
  padding: 14px 16px;
  font-size: 17px;
  font-family: var(--font-body);
  border: 2px solid var(--color-border);
  border-radius: 4px;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.2s;
}

.email-form input[type="email"]:focus {
  border-color: var(--color-accent);
}

.email-form input[type="email"]::placeholder {
  color: var(--color-text-light);
}

.btn-cta {
  display: block;
  width: 100%;
  padding: 16px 32px;
  background-color: var(--color-accent);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  font-weight: bold;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background-color 0.2s;
  text-align: center;
  text-decoration: none;
}

.btn-cta:hover {
  background-color: var(--color-accent-hover);
}

.btn-cta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Form error message */
.form-error {
  color: #c0392b;
  font-size: 14px;
  margin-top: 8px;
  display: none;
}

.form-error.visible {
  display: block;
}

/* Privacy note */
.privacy-note {
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 12px;
  text-align: center;
}

/* Interstitial page */
.interstitial {
  text-align: center;
}

.interstitial h1 {
  font-size: 28px;
  color: var(--color-accent);
}

.interstitial .check-email {
  font-size: 18px;
  margin-bottom: 40px;
  color: var(--color-text-muted);
}

.pitch-box {
  text-align: left;
  background-color: var(--color-bg-alt);
  border-left: 4px solid var(--color-accent);
  padding: 25px;
  margin: 30px 0;
  font-size: 17px;
}

.pitch-box p {
  margin: 0 0 15px 0;
}

.pitch-box p:last-child {
  margin-bottom: 0;
}

.countdown {
  font-size: 14px;
  color: var(--color-text-light);
  margin-top: 20px;
}

/* Pitch layout — GIF left, text right */
.pitch-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  text-align: left;
  margin-top: 16px;
}

.pitch-gif {
  flex-shrink: 0;
  width: 200px;
}

.pitch-gif img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.pitch-content {
  flex: 1;
}

.pitch-content p {
  margin: 0 0 14px 0;
  font-size: 16px;
  line-height: 1.6;
}

.pitch-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

.pitch-content a.btn-cta {
  color: #ffffff;
  text-decoration: none;
  margin-top: 8px;
}

/* Honeypot — visually hidden but accessible to bots */
.ohnohoney {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 640px) {
  .container {
    padding: 24px 16px;
  }

  h1 {
    font-size: 26px;
  }

  .subheadline {
    font-size: 16px;
  }

  .pitch-layout {
    flex-direction: column;
  }

  .pitch-gif {
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
  }
}
