/* ============================================
   sourcebetterpromos.love - Global Stylesheet
   Brand: #FAFAF8 bg / #1A1A1A text / #CC3333 price
   Fonts: Inter (headings), Source Serif 4 (body),
          JetBrains Mono (prices)
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Source+Serif+4:opsz@8..60&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1A1A1A;
  background-color: #FAFAF8;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* --- Container --- */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #1A1A1A;
}

.price {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-weight: 500;
  color: #CC3333;
}

.price-num {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-weight: 500;
  color: #CC3333;
}

.accent-red {
  color: #CC3333;
}

.text-muted {
  color: #888;
  font-size: 0.9em;
}

.text-small {
  font-size: 0.85em;
}

.text-tiny {
  font-size: 0.75em;
}

/* --- Sections --- */
.section {
  padding: 80px 0;
  border-bottom: 1px solid #E8E8E4;
}

.section:last-of-type {
  border-bottom: none;
}

.section-title {
  font-size: 1.6em;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #D8D4CC;
  margin: 16px auto 0;
  border-radius: 1px;
}

/* --- Divider Strip --- */
.divider-strip {
  padding: 28px 0;
  text-align: center;
  background: #F3F2EE;
  border-top: 1px solid #E8E8E4;
  border-bottom: 1px solid #E8E8E4;
}

.divider-strip p {
  font-family: 'Inter', sans-serif;
  font-size: 0.85em;
  color: #888;
  letter-spacing: 0.03em;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1em;
  padding: 14px 32px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-align: center;
  min-height: 48px;
  line-height: 1.2;
}

.btn-primary {
  background-color: #1A1A1A;
  color: #FAFAF8;
}

.btn-primary:hover {
  background-color: #333;
}

.btn-secondary {
  background-color: transparent;
  color: #1A1A1A;
  border: 1px solid #1A1A1A;
}

.btn-secondary:hover {
  background-color: #1A1A1A;
  color: #FAFAF8;
}

/* --- Hero --- */
.hero-section {
  padding: 60px 0 40px;
  border-bottom: 1px solid #E8E8E4;
}

.hero-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-image {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(145deg, #E8E4DC 0%, #D8D4CC 100%);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B0ADA5;
  font-family: 'Inter', sans-serif;
  font-size: 0.8em;
  letter-spacing: 0.03em;
  position: relative;
}

.hero-image::before {
  content: "◆";
  position: absolute;
  font-size: 40px;
  opacity: 0.15;
  color: #1A1A1A;
  top: 20%;
  left: 15%;
}

.hero-image::after {
  content: "◇";
  position: absolute;
  font-size: 60px;
  opacity: 0.1;
  color: #1A1A1A;
  bottom: 15%;
  right: 20%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content h1 {
  font-size: 1.8em;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.hero-content h1 .line-break {
  display: block;
  margin-bottom: 4px;
}

.hero-subtitle {
  font-size: 1.05em;
  color: #555;
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.hero-cta {
  margin-bottom: 32px;
}

.hero-divider {
  border: none;
  border-top: 1px solid #D8D8D4;
  margin: 24px 0;
}

.hero-identity {
  font-size: 0.9em;
  color: #888;
  line-height: 1.5;
}

/* --- Your Tuesday (Screen 2) --- */
.comparison-section {
  padding: 80px 0;
  border-bottom: 1px solid #E8E8E4;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.comparison-col h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #999;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid #E8E8E4;
}

.timeline-item {
  margin-bottom: 20px;
  line-height: 1.5;
}

.timeline-time {
  font-family: 'Inter', sans-serif;
  font-size: 0.8em;
  color: #999;
  margin-bottom: 2px;
}

.timeline-desc {
  font-size: 0.95em;
  color: #1A1A1A;
}

.timeline-desc.good {
  color: #2A7A3E;
}

.comparison-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  padding: 20px;
  background: #F0F0EC;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9em;
}

.comparison-summary .left {
  color: #999;
}

.comparison-summary .right {
  color: #2A7A3E;
  font-weight: 600;
}

/* --- Trust (Screen 3) --- */
.trust-section {
  padding: 80px 0;
  border-bottom: 1px solid #E8E8E4;
}

.trust-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.trust-media-item {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #F0ECE6 0%, #E8E4DC 100%);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C0BDB5;
  font-family: 'Inter', sans-serif;
  font-size: 0.8em;
  position: relative;
}

.trust-media-item:first-child::before {
  content: "🏭";
  position: absolute;
  font-size: 32px;
  opacity: 0.2;
}

.trust-media-item:last-child::before {
  content: "📦";
  position: absolute;
  font-size: 32px;
  opacity: 0.2;
}

.trust-media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-description {
  margin-bottom: 32px;
  line-height: 1.7;
}

.trust-description p {
  margin-bottom: 8px;
}

.case-card {
  background: #F0EFEA;
  border-radius: 10px;
  padding: 28px 24px;
  margin-bottom: 32px;
  line-height: 1.7;
  border: 1px solid #E5E4DE;
}

.disclosure-area {
  background: #EFEEEA;
  border-radius: 10px;
  padding: 28px 24px;
  margin-bottom: 24px;
  border: 1px solid #E5E4DE;
}

.disclosure-area h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #999;
  margin-bottom: 12px;
}

.disclosure-list {
  list-style: none;
  margin-bottom: 20px;
}

.disclosure-list li {
  font-size: 0.95em;
  margin-bottom: 6px;
  padding-left: 20px;
  position: relative;
}

.disclosure-list li::before {
  position: absolute;
  left: 0;
}

.disclosure-list.x-list li::before {
  content: "✗";
  color: #CC3333;
}

.disclosure-list.check-list li::before {
  content: "→";
  color: #2A7A3E;
}

.sample-cta {
  margin-top: 20px;
}

/* --- Products (Screen 4) --- */
.products-section {
  padding: 80px 0;
  border-bottom: 1px solid #E8E8E4;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
  padding: 32px 24px;
  background: #F5F5F2;
  border-radius: 10px;
}

@media (max-width: 640px) {
  .products-grid {
    padding: 20px 16px;
    gap: 16px;
  }
}

.product-card {
  border: 1px solid #E8E8E4;
  border-radius: 8px;
  overflow: hidden;
  background: #FAFAF8;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26,26,26,0.06);
}

.product-card-image {
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #F2EFEA 0%, #E8E4DC 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C5C2BA;
  font-family: 'Inter', sans-serif;
  font-size: 0.75em;
  position: relative;
  letter-spacing: 0.02em;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-body {
  padding: 16px;
}

.product-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.9em;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.product-card-pricing {
  font-size: 0.9em;
  line-height: 1.8;
}

.product-card-pricing .label {
  color: #888;
}

.product-card-pricing .value {
  font-weight: 600;
}

.product-note {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 32px;
  text-align: center;
}

.samples-policy {
  background: #F0EFEA;
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid #E5E4DE;
}

.samples-policy h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.samples-policy p {
  font-size: 0.95em;
  margin-bottom: 8px;
  line-height: 1.6;
}

/* --- CTA (Screen 5) --- */
.cta-section {
  padding: 80px 0;
}

.form-step {
  max-width: 480px;
  margin: 0 auto 32px;
  padding: 32px 24px;
  background: #F8F8F5;
  border: 1px solid #E8E8E4;
  border-radius: 10px;
}

.form-step.hidden {
  display: none;
}

.form-step label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.9em;
  font-weight: 600;
  margin-bottom: 12px;
}

.form-step textarea,
.form-step input[type="email"] {
  width: 100%;
  padding: 14px;
  border: 1px solid #D8D8D4;
  border-radius: 6px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1em;
  background: #FAFAF8;
  color: #1A1A1A;
  transition: border-color 0.2s;
}

.form-step textarea {
  min-height: 80px;
  resize: vertical;
}

.form-step textarea:focus,
.form-step input[type="email"]:focus {
  outline: none;
  border-color: #1A1A1A;
}

.form-step .btn {
  margin-top: 16px;
  width: 100%;
}

.form-step-2 .btn {
  margin-top: 16px;
}

.cta-what-next {
  max-width: 480px;
  margin: 0 auto 40px;
  text-align: center;
  padding: 28px 24px;
  background: #F0EFEA;
  border-radius: 10px;
  border: 1px solid #E5E4DE;
}

.cta-what-next h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1A1A1A;
  margin-bottom: 12px;
}

.cta-what-next ul {
  list-style: none;
  text-align: left;
  margin-bottom: 12px;
}

.cta-what-next ul li {
  font-size: 0.9em;
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.cta-what-next ul li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: #CC3333;
}

.cta-what-next p {
  font-size: 0.85em;
  color: #888;
}

.cta-email-alt {
  text-align: center;
  margin-bottom: 24px;
}

.cta-email-alt a {
  font-family: 'JetBrains Mono', monospace;
  color: #1A1A1A;
  font-size: 1em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-footer-note {
  text-align: center;
  font-size: 0.8em;
  color: #999;
  margin-bottom: 24px;
}

.upload-area {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 24px;
  border: 1px dashed #D8D8D4;
  border-radius: 8px;
}

.upload-area p {
  font-family: 'Inter', sans-serif;
  font-size: 0.85em;
  font-weight: 600;
  margin-bottom: 12px;
}

.upload-area input[type="file"] {
  display: block;
  margin: 0 auto 12px;
  font-size: 0.85em;
}

/* --- Footer --- */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid #E8E8E4;
  text-align: center;
}

.footer-links {
  font-family: 'Inter', sans-serif;
  font-size: 0.8em;
  color: #999;
  margin-bottom: 16px;
}

.footer-links a {
  margin: 0 8px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-links a:hover {
  color: #1A1A1A;
}

.footer-email {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em;
  color: #1A1A1A;
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 0.7em;
  color: #999;
}

/* --- Hidden Pages --- */
.hidden-page {
  padding: 80px 0;
  min-height: 100vh;
}

.hidden-page h1 {
  font-size: 1.6em;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.page-back-link {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8em;
  color: #999;
  margin-bottom: 24px;
}

.page-back-link:hover {
  color: #1A1A1A;
}

/* Factory page */
.factory-section {
  margin-bottom: 48px;
}

.factory-section h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #E8E8E4;
}

.factory-location {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 20px;
}

.factory-photo {
  aspect-ratio: 16/9;
  background: linear-gradient(145deg, #EDE9E3 0%, #E0DCD4 100%);
  border-radius: 6px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C0BDB5;
  font-family: 'Inter', sans-serif;
  font-size: 0.8em;
  overflow: hidden;
  position: relative;
}

.factory-photo::before {
  content: "📷";
  font-size: 28px;
  opacity: 0.25;
}

.factory-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.factory-photo-caption {
  font-size: 0.85em;
  color: #888;
  margin-bottom: 20px;
}

.factory-info {
  margin-bottom: 20px;
  line-height: 1.7;
}

.factory-visit {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  padding: 16px;
  background: #F5F5F0;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 24px;
}

/* FAQ page */
.faq-item {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #E8E8E4;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-family: 'Inter', sans-serif;
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1A1A1A;
}

.faq-answer {
  font-size: 0.95em;
  line-height: 1.7;
  color: #444;
}

/* Privacy page */
.privacy-simple {
  font-size: 1em;
  line-height: 1.8;
}

.privacy-simple p {
  margin-bottom: 16px;
}

.privacy-simple strong {
  font-family: 'Inter', sans-serif;
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 48px 0;
  }

  .hero-section {
    padding: 40px 0 24px;
  }

  .hero-content h1 {
    font-size: 1.4em;
  }

  .hero-subtitle {
    font-size: 0.95em;
  }

  .container {
    padding: 0 20px;
  }

  .container-wide {
    padding: 0 20px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .comparison-summary {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .trust-media {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.3em;
    margin-bottom: 24px;
  }

  .product-card-pricing {
    font-size: 0.85em;
  }

  .form-step {
    padding: 0;
  }

  .disclosure-area {
    padding: 16px;
  }

  .case-card {
    padding: 16px;
  }

  .hidden-page {
    padding: 48px 0;
  }

  .hidden-page h1 {
    font-size: 1.3em;
    margin-bottom: 24px;
  }

  .hero-divider {
    margin: 16px 0;
  }
}

@media (max-width: 380px) {
  .hero-content h1 {
    font-size: 1.2em;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9em;
  }
}

/* --- Loading / Transition States --- */
.form-step {
  transition: opacity 0.3s ease;
}

.form-step.hidden {
  display: none;
}

/* --- Success Message --- */
.success-message {
  text-align: center;
  padding: 40px 20px;
}

.success-message h3 {
  font-size: 1.3em;
  margin-bottom: 12px;
}

.success-message p {
  color: #888;
}
