/*
Theme Name: 12 Triggers Sales
Theme URI:
Author: 12 Triggers
Description: Minimal direct-response sales letter and opt-in theme
Version: 3.0
License: GNU General Public License v2 or later
Text Domain: 12triggers
*/

/* ══════════════════════════════
   RESET & BASE
══════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #111111;
  color: #f0f0f0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.75;
}

a { color: #e02020; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ══════════════════════════════
   SALES PAGE WRAPPER
══════════════════════════════ */
.sales-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.sales-page .entry-title { display: none; }
.sales-page .wp-block-html,
.sales-page figure { margin: 0 0 48px; }

/* ══════════════════════════════
   OPT-IN PAGE WRAPPER
══════════════════════════════ */
.optin-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.optin-page .entry-title { display: none; }
.optin-page .wp-block-html { margin: 0 0 24px; }

/* ══════════════════════════════
   SALES PAGE — SECTION BASE
══════════════════════════════ */
.s-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #2a2a2a;
}
.s-section:last-child { border-bottom: none; }

/* ── Headline ── */
.s-headline-wrap {
  text-align: center;
  background: #1a1a1a;
  border-top: 5px solid #cc0000;
  border-radius: 4px;
  padding: 40px 32px;
  margin-bottom: 48px;
}
.s-headline {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(26px, 5vw, 46px);
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 16px;
}
.s-headline em { color: #e02020; font-style: normal; }
.s-subheadline {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(17px, 2.5vw, 24px);
  color: #cccccc;
  font-weight: normal;
  margin: 0;
}

/* ── Body copy ── */
.s-body p, .s-body { color: #dddddd; margin-bottom: 20px; }
.s-body p:last-child { margin-bottom: 0; }

/* ── Section heading ── */
.s-heading {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(18px, 3vw, 28px);
  color: #e02020;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

/* ── Intro box ── */
.s-intro-box {
  background: #1a1a1a;
  border-left: 5px solid #cc0000;
  padding: 24px 28px;
  border-radius: 0 4px 4px 0;
  color: #dddddd;
}
.s-intro-box p { margin-bottom: 12px; }
.s-intro-box p:last-child { margin-bottom: 0; }

/* ── Product box ── */
.s-product-box {
  background: #1a0000;
  border: 2px solid #cc0000;
  border-radius: 6px;
  padding: 32px;
}
.s-product-box h3 {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(20px, 3.5vw, 30px);
  color: #e02020;
  margin-bottom: 20px;
}
.s-product-box ul { list-style: none; padding: 0; }
.s-product-box ul li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid #330000;
  color: #dddddd;
}
.s-product-box ul li:last-child { border-bottom: none; }
.s-product-box ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #e02020;
  font-weight: bold;
}

/* ── Testimonials ── */
.s-testimonial {
  background: #1a1a1a;
  border-left: 4px solid #cc0000;
  padding: 24px;
  border-radius: 0 4px 4px 0;
  margin-bottom: 20px;
}
.s-testimonial blockquote {
  font-style: italic;
  color: #dddddd;
  margin-bottom: 12px;
  font-size: 17px;
}
.s-testimonial cite {
  font-size: 14px;
  color: #999999;
  font-style: normal;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Price box ── */
.s-price-box {
  background: #0d0d0d;
  border: 2px solid #cc0000;
  border-radius: 6px;
  text-align: center;
  padding: 40px 32px;
}
.s-price-old { font-size: 22px; color: #888888; text-decoration: line-through; margin-bottom: 8px; }
.s-price-new {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(48px, 8vw, 72px);
  color: #e02020;
  line-height: 1;
  margin-bottom: 8px;
}
.s-price-note { color: #aaaaaa; font-size: 15px; margin-bottom: 28px; }

/* ── CTA Button ── */
.s-cta-wrap { text-align: center; margin: 32px 0; }
.s-btn {
  display: inline-block;
  background: #cc0000;
  color: #ffffff !important;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(16px, 2.5vw, 21px);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 20px 48px;
  border-radius: 4px;
  text-decoration: none !important;
  transition: background 0.15s;
  box-shadow: 0 4px 20px rgba(200,0,0,0.4);
  cursor: pointer;
}
.s-btn:hover { background: #aa0000; }
.s-btn small {
  display: block;
  font-size: 13px;
  font-family: Arial, sans-serif;
  font-weight: normal;
  letter-spacing: 0;
  text-transform: none;
  margin-top: 6px;
  opacity: 0.85;
}

/* ── Guarantee ── */
.s-guarantee {
  background: #111111;
  border: 2px dashed #555555;
  border-radius: 6px;
  padding: 36px 32px;
  text-align: center;
}
.s-guarantee-icon { font-size: 52px; margin-bottom: 12px; }
.s-guarantee h3 {
  font-family: 'Arial Black', Arial, sans-serif;
  color: #e02020;
  font-size: 22px;
  margin-bottom: 12px;
}
.s-guarantee p { color: #cccccc; margin-bottom: 10px; }

/* ── Bonus box ── */
.s-bonus {
  background: #0a1a0a;
  border: 2px solid #2a6a2a;
  border-radius: 6px;
  padding: 24px 28px;
  margin-bottom: 16px;
}
.s-bonus h4 {
  font-family: 'Arial Black', Arial, sans-serif;
  color: #66dd66;
  font-size: 18px;
  margin-bottom: 8px;
}
.s-bonus p { color: #ccddcc; margin: 0; }

/* ── Sign off ── */
.s-signoff { color: #dddddd; }
.s-signoff .s-name {
  font-family: 'Brush Script MT', cursive;
  font-size: 38px;
  margin: 8px 0 4px;
}
.s-signoff .s-title { color: #aaaaaa; font-size: 15px; }

/* ── PS note ── */
.s-ps {
  background: #1a1a1a;
  border-left: 4px solid #555;
  padding: 20px 24px;
  color: #cccccc;
  margin-top: 16px;
  font-size: 16px;
}
.s-ps strong { color: #ffffff; }

/* ══════════════════════════════
   OPT-IN PAGE COMPONENTS
══════════════════════════════ */

/* ── Opt-in headline ── */
.o-headline-wrap {
  text-align: center;
  background: #1a1a1a;
  border-top: 5px solid #cc0000;
  border-radius: 4px;
  padding: 40px 32px;
  margin-bottom: 24px;
}
.o-headline {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(26px, 5vw, 46px);
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 0;
}
.o-headline em { color: #e02020; font-style: normal; }

/* ── Opt-in subheadline ── */
.o-subheadline-wrap {
  text-align: center;
  background: #1a1a1a;
  border-radius: 4px;
  padding: 20px 32px;
  margin-bottom: 24px;
}
.o-subheadline {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(17px, 2.5vw, 24px);
  color: #cccccc;
  margin: 0;
}

/* ── Two-column row ── */
.o-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
  align-items: start;
}
@media (max-width: 640px) {
  .o-two-col { grid-template-columns: 1fr; }
}

/* ── Bullets column ── */
.o-bullets-col {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 32px 28px;
}
.o-bullets-col h3 {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(17px, 2.5vw, 22px);
  color: #e02020;
  text-decoration: underline;
  margin-bottom: 20px;
  line-height: 1.3;
}
.o-bullets-col ul { list-style: none; padding: 0; }
.o-bullets-col ul li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: #dddddd;
  border-bottom: 1px solid #2a2a2a;
}
.o-bullets-col ul li:last-child { border-bottom: none; }
.o-bullets-col ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #cc0000;
}

/* ── Opt-in form column ── */
.o-form-col {
  background: #1a1a1a;
  border: 2px solid #cc0000;
  border-radius: 4px;
  padding: 28px 24px;
  text-align: center;
}

/* Image placeholder */
.o-image-placeholder {
  background: #2a2a2a;
  border: 2px dashed #444;
  border-radius: 4px;
  padding: 32px 16px;
  margin-bottom: 20px;
  color: #777;
  font-family: Arial, sans-serif;
  font-size: 14px;
}
.o-image-placeholder p { margin: 0; }

/* Form fields */
.o-form { width: 100%; }
.o-form input[type="text"],
.o-form input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 12px;
  background: #0d0d0d;
  border: 1px solid #444;
  border-radius: 4px;
  color: #ffffff;
  font-size: 16px;
  font-family: Arial, sans-serif;
  outline: none;
  transition: border-color 0.15s;
}
.o-form input[type="text"]:focus,
.o-form input[type="email"]:focus { border-color: #cc0000; }
.o-form input::placeholder { color: #666; }

.o-form button,
.o-form input[type="submit"] {
  width: 100%;
  background: #cc0000;
  color: #ffffff;
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: clamp(15px, 2vw, 18px);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 18px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
  box-shadow: 0 4px 16px rgba(200,0,0,0.4);
}
.o-form button:hover,
.o-form input[type="submit"]:hover { background: #aa0000; }

.o-spam {
  font-size: 12px;
  color: #666666;
  font-family: Arial, sans-serif;
  margin-top: 10px;
  text-align: center;
}

/* ── Opt-in testimonial ── */
.o-testimonial-wrap {
  background: #1a1a1a;
  border-left: 4px solid #cc0000;
  border-radius: 0 4px 4px 0;
  padding: 28px 32px;
  text-align: center;
}
.o-testimonial-wrap blockquote {
  font-style: italic;
  color: #dddddd;
  font-size: clamp(17px, 2.5vw, 22px);
  margin-bottom: 12px;
}
.o-testimonial-wrap cite {
  font-size: 14px;
  color: #999999;
  font-style: normal;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ══════════════════════════════
   SHARED FOOTER
══════════════════════════════ */
.sales-footer {
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid #222222;
  color: #555555;
  font-size: 13px;
  font-family: Arial, sans-serif;
}
.sales-footer a { color: #777777; }
