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

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

body {
  font-family: 'Raleway', Helvetica, sans-serif;
  background: #fff;
  color: #000;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

/* Ticker */
.ticker {
  background: #9F281A;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  overflow: hidden;
  height: 40px;
  position: relative;
}

.ticker-item {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(100%);
  animation: ticker-cycle 12.3s infinite;
  padding: 0 20px;
}

.ticker-item:nth-child(2) { animation-delay: 4.1s; }
.ticker-item:nth-child(3) { animation-delay: 8.2s; }

@keyframes ticker-cycle {
  0%   { opacity: 0; transform: translateY(100%); }
  5%   { opacity: 1; transform: translateY(0); }
  28%  { opacity: 1; transform: translateY(0); }
  33%  { opacity: 0; transform: translateY(-100%); }
  100% { opacity: 0; transform: translateY(-100%); }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}

.hero img {
  width: 100%;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 20px 24px;
  background: linear-gradient(transparent 0%, rgba(0,0,0,0.65) 30%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-overlay h1 {
  font-weight: 900;
  font-size: clamp(24px, 5vw, 42px);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero-overlay .hero-sub {
  font-size: clamp(14px, 2.5vw, 18px);
  font-weight: 700;
  margin-bottom: 6px;
}

/* Author */
.author {
  font-weight: 900;
  font-size: 13px;
  text-transform: lowercase;
  color: rgba(255,255,255,0.7);
  padding: 4px 0 12px;
  letter-spacing: 1px;
}

/* Hero form overrides */
.hero-form {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-form .form-heading {
  display: none;
}

/* Sections */
.section {
  padding: 40px 0;
}

.section h2 {
  font-weight: 900;
  font-size: clamp(20px, 4vw, 36px);
  text-transform: uppercase;
  color: #9F281A;
  margin-bottom: 12px;
}

.section p {
  font-size: clamp(14px, 2.5vw, 20px);
  font-weight: 700;
  margin-bottom: 16px;
}

/* Book 3D */
.book-3d {
  max-width: 300px;
  margin: 20px auto;
}

/* Preview Grid */
.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 600px;
  margin: 20px auto;
}

.preview-grid img {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Brevo Form */
.signup-form {
  max-width: 380px;
  margin: 0 auto;
  padding: 24px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.signup-form .form-heading {
  font-weight: 900;
  font-size: 18px;
  text-transform: uppercase;
  color: #9F281A;
  margin-bottom: 16px;
  line-height: 1.3;
}

.signup-form input[type="email"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #C0CCD9;
  border-radius: 8px;
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 12px;
  outline: none;
}

.signup-form input[type="email"]:focus {
  border-color: #9F281A;
}

.signup-form .captcha-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.signup-form button {
  width: 100%;
  padding: 14px 28px;
  background: #9F281A;
  color: #fff;
  border: none;
  border-radius: 9999px;
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 16px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.signup-form button:hover {
  background: #7d1f14;
}

.form-message {
  display: none;
  padding: 10px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 12px;
}

.form-message.error {
  background: #ffeded;
  color: #661d1d;
  border: 1px solid #ff4949;
}

.form-message.success {
  background: #e7faf0;
  color: #085229;
  border: 1px solid #13ce66;
}

/* Book in hands */
.book-hands {
  max-width: 200px;
  margin: 20px auto;
  border-radius: 12px;
}

/* Confirmation pages */
.confirm-page {
  padding: 60px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.confirm-page h1 {
  font-weight: 900;
  font-size: clamp(22px, 4vw, 36px);
  text-transform: uppercase;
  color: #9F281A;
  margin-bottom: 8px;
}

.confirm-page .subtitle {
  font-weight: 900;
  font-size: 13px;
  text-transform: lowercase;
  color: #666;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.confirm-page .tagline {
  font-weight: 900;
  font-size: clamp(16px, 3vw, 24px);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.confirm-page .bonus {
  font-weight: 700;
  font-size: clamp(14px, 2.5vw, 18px);
  color: #9F281A;
  margin-bottom: 24px;
}

.confirm-page img.screenshot {
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin: 12px 0;
}

.confirm-page img.book-img {
  max-width: 250px;
  margin: 20px 0;
}

/* Responsive */
@media (max-width: 600px) {
  .preview-grid {
    grid-template-columns: 1fr;
  }
  .signup-form {
    margin: 0 10px;
  }
}
