/* loseweightamputate.com - Satirical corporate landing page styles */
/* Design: Full-page background image with dark semi-transparent text panels */

/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  background-color: #0d1117; /* fallback while image loads */
  color: #e6edf3;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Fixed background image using pseudo-element — reliable across all browsers including iOS Safari */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-image: url('../images/flyer.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Three-column layout: left panel | empty center | right panel */
.layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  min-height: 100vh;
}

/* Semi-transparent dark panel base */
.panel {
  background: rgba(13, 17, 23, 0.85);
  padding: 2rem 1.5rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Left column: marketing text */
.panel-left {
  border-right: 1px solid rgba(46, 160, 67, 0.25);
}

/* Center column: CTA at bottom, background shows through above */
.panel-center {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 1.5rem;
}

/* Center column CTA box */
.center-cta {
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 2px solid #2ea94e;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
}

.center-cta h2 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #2ea94e;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.center-cta p {
  font-size: 1.1rem;
  color: #58a6ff;
  font-style: italic;
  margin-bottom: 1rem;
}

.center-cta .cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #2ea94e 0%, #238636 100%);
  color: #fff;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 12px rgba(46, 169, 73, 0.3);
}

.center-cta .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 169, 73, 0.5);
}

.center-cta .cta-button:active {
  transform: translateY(0);
}

.center-cta .cta-fine-print {
  font-size: 0.72rem;
  color: #484f58;
  margin-top: 0.8rem;
  font-style: italic;
}

/* Right column: testimonials */
.panel-right {
  border-left: 1px solid rgba(56, 139, 253, 0.25);
}

/* Tagline */
.tagline {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #2ea94e;
  line-height: 1.15;
  margin-bottom: 0.8rem;
  letter-spacing: -0.5px;
}

.subtext {
  font-size: 1.05rem;
  color: #b1bac4;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Highlight colors */
.highlight-blue {
  color: #58a6ff;
  font-weight: 600;
}

.highlight-green {
  color: #2ea94e;
  font-weight: 600;
}

/* Section */
.section {
  margin-bottom: 2rem;
}

.section-header {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #58a6ff;
  margin-bottom: 1rem;
  letter-spacing: -0.3px;
}

/* Feature list */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.feature-list .icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-list strong {
  color: #e6edf3;
  display: block;
  font-size: 1rem;
  margin-bottom: 2px;
}

.feature-list p {
  color: #8b949e;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Stats box */
.stats-box {
  background: linear-gradient(135deg, rgba(46, 169, 73, 0.12) 0%, rgba(56, 139, 253, 0.12) 100%);
  border: 1px solid rgba(46, 169, 73, 0.3);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-around;
  gap: 1rem;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #2ea94e;
  line-height: 1.1;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: #8b949e;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Disclaimer */
.disclaimer {
  font-size: 0.85rem;
  color: #6e7681;
  font-style: italic;
  border-top: 1px solid rgba(110, 118, 129, 0.2);
  padding-top: 1rem;
}

/* Testimonials */
.testimonials-header {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #58a6ff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.3px;
}

.testimonial {
  background: rgba(22, 27, 34, 0.6);
  border: 1px solid rgba(56, 139, 253, 0.2);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s ease;
}

.testimonial:hover {
  border-color: rgba(56, 139, 253, 0.5);
}

.stars {
  color: #2ea94e;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #c9d1d9;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.testimonial-text strong {
  color: #2ea94e;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  color: #58a6ff;
  font-size: 0.9rem;
}

.author-title {
  font-size: 0.78rem;
  color: #6e7681;
  font-style: italic;
}

/* Testimonial scroll container — shows ~4 testimonials at a time */
.testimonials-scroll {
  max-height: 28em;
  overflow: hidden;
  position: relative;
  margin-bottom: 1rem;
}

.testimonials-inner {
  will-change: transform;
}

/* CTA box (right column) */
.cta-box {
  background: linear-gradient(135deg, rgba(46, 169, 73, 0.15) 0%, rgba(56, 139, 253, 0.15) 100%);
  border: 2px solid #2ea94e;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  text-align: center;
}

.cta-box h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #2ea94e;
  margin-bottom: 0.5rem;
}

.cta-box p {
  color: #b1bac4;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #2ea94e 0%, #238636 100%);
  color: #fff;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 12px rgba(46, 169, 73, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 169, 73, 0.5);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-fine-print {
  font-size: 0.72rem;
  color: #484f58;
  margin-top: 0.8rem;
  font-style: italic;
}

/* Footer */
footer {
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  text-align: center;
  padding: 1rem 2rem;
  color: #484f58;
  font-size: 0.8rem;
  border-top: 1px solid rgba(110, 118, 129, 0.15);
}

footer em {
  color: #6e7681;
}

/* ========================================
   Responsive breakpoints
   ======================================== */

/* Tablets and smaller desktops */
@media (max-width: 1200px) {
  .layout {
    grid-template-columns: 1fr 1fr;
  }

  /* Hide center column on tablet — stack left and right */
  .panel-center {
    display: none;
  }

  .tagline {
    font-size: 1.8rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .panel-center {
    display: none;
  }

  .panel {
    padding: 1.5rem 1rem;
  }

  .tagline {
    font-size: 1.5rem;
  }

  .stats-box {
    flex-direction: column;
    gap: 0.8rem;
  }

  .section-header {
    font-size: 1.1rem;
  }

  .testimonials-header {
    font-size: 1.2rem;
  }

  .testimonials-scroll {
    max-height: 22em;
  }

  .cta-button {
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .panel {
    padding: 1rem 0.75rem;
  }

  .tagline {
    font-size: 1.3rem;
  }

  .feature-list li {
    gap: 0.5rem;
  }

  .testimonial {
    padding: 0.8rem 1rem;
  }

  .testimonials-scroll {
    max-height: 18em;
  }

  .stat-number {
    font-size: 1.5rem;
  }
}