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

/* Main Styles - Base for Mobile First + Desktop Support */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Muli', sans-serif;
  line-height: 1.6;
  color: #333;
  font-size: 16px;
  background-image: url('/src/assets/images/background.webp');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  color: #000;
  margin-bottom: 20px;
  line-height: 1.3;
  text-align: center;
}

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn {
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: bold;
  text-transform: uppercase;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  width: 100%;
  font-size: 16px;
  max-width: 512px;
}

.btn a {
  color: currentColor;
  text-decoration: inherit;
}

.btn--solid {
  background-color: #dab419;
  color: #fff;
}

.btn--solid:hover {
  background-color: #c8a00e;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.section {
  padding: 40px 0;
}

section:last-of-type {
  padding-bottom: 86px;
}

.solid {
  background-color: rgba(249, 249, 249, 0.92);
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.text-center {
  text-align: center;
}

.desktop-only {
  display: none;
}

/* Header Styling */
.header {
  background-color: transparent;
  padding: 15px 0;
  width: 100%;
}

.header__container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo__image {
  max-width: 300px;
  height: auto;
}

/* Desktop logo size */
@media (min-width: 768px) {
  .logo__image {
    max-width: 300px;
  }

  .header {
    padding: 25px 0;
  }
}

/* Hero Section */
.hero {
  padding: 0;
  position: relative;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero__title {
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 15px;
}

.hero__title2 {
  font-style: italic;
}

/* Desktop improvements */
@media (min-width: 768px) {
  .hero {
    padding: 40px 0 60px;
  }

  .hero__title {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .desktop-only {
    display: block;
  }

  .mobile-only {
    display: none;
  }

  .section {
    padding: 60px 0;
  }
}

.hero__tagline {
  font-style: italic;
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 20px;
  color: #555;
}

@media (max-width: 768px) {
  .hero__tagline {
    font-size: 12px;
    margin-bottom: 8px;
  }
}

/* Limited-Time Banner */
.limited-offer-banner {
  background-color: #ff65be;
  color: white;
  text-align: center;
  padding: 12px 15px;
  border-radius: 5px;
  margin: 0 auto 40px;
  max-width: 600px;
  font-weight: bold;
  animation: pulse 2s infinite;
  box-shadow: 0 4px 10px rgba(255, 101, 190, 0.3);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }

  100% {
    transform: scale(1);
  }
}

/* Email Capture Form */
.email-capture-container {
  background-color: white;
  border-radius: 10px;
  padding: 24px 16px 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  max-width: 520px;
  margin: 0 auto 30px;
  position: relative;
  border: 2px solid #f0f0f0;
}

.email-capture-container:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background-color: #dab419;
  border-radius: 8px 8px 0 0;
}

.email-form h3 {
  font-size: 20px;
  margin-bottom: 15px;
  text-align: center;
  color: #000;
}

.form-subheading {
  font-size: 15px;
  margin-bottom: 20px;
  text-align: center;
  color: #444;
}

.form-group {
  margin-bottom: 15px;
  position: relative;
}

.form-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
}

.form-control {
  border-radius: 30px;
  padding: 12px 15px 12px 40px;
  height: 48px;
  width: 100%;
  border: 1px solid #ddd;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #dab419;
  box-shadow: 0 0 0 3px rgba(218, 180, 25, 0.2);
  outline: none;
}

.form-btn:hover {
  background-color: #c8a00e !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(218, 180, 25, 0.4);
}

.privacy-note {
  font-size: 13px;
  text-align: center;
  margin-top: 15px;
  color: #888;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.trust-badge {
  display: flex;
  align-items: center;
  background-color: rgba(248, 248, 248, 0.9);
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 14px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
  line-height: 1.2;
}

.trust-badge__icon {
  margin-right: 10px;
  color: #dab419;
  font-size: 16px;
}

@media (max-width: 768px) {
  .trust-badges {
    gap: 15px;
  }
}

@media (max-width: 500px) {
  .trust-badges {
    gap: 8px;
  }

  .trust-badge {
    padding: 6px 10px;
  }

  .trust-badge * {
    font-size: 12px;
  }

  .trust-badge__icon {
    margin-right: 4px;
  }
}

/* Content Section Styles */
.jx-knightlab {
  display: none !important;
}

.juxtapose {
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border-radius: 10px;
  overflow: hidden;
  max-width: min(600px, 100%);
  margin-bottom: 40px;
}

.benefits {
  padding: 50px 0;
  position: relative;
  z-index: 1;
}

.benefits__heading {
  text-align: center;
  margin-bottom: 35px;
  font-size: 28px;
}

.benefits__list {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.benefits__item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 17px;
}

.benefits__icon {
  color: #dab419;
  font-size: 22px;
  margin-right: 15px;
  min-width: 22px;
}

.testimonial {
  max-width: 650px;
  margin: 50px auto;
  background-color: white;
  border-radius: 10px;
  padding: 24px 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  border-left: 4px solid #dab419;
}

.testimonial:not(:last-child) {
  margin-bottom: 0;
}

.testimonial__content {
  position: relative;
  padding-left: 30px;
}

.testimonial__quote {
  position: absolute;
  top: -10px;
  left: -5px;
  font-size: 40px;
  color: #dab419;
  opacity: 0.3;
  font-family: Georgia, serif;
}

.testimonial__text {
  font-style: italic;
  margin-bottom: 0 !important;
  font-size: 17px;
  line-height: 1.7;
}

.testimonial__author {
  font-weight: bold;
  text-align: right;
  color: #444;
  font-size: 16px;
  margin-bottom: 0 !important;
}

.testimonial .image-container {
  margin: 16px auto 0;
}

.final-cta {
  background-color: rgba(255, 255, 255, 0.92);
  padding: 50px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.final-cta__content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.final-cta__text {
  font-size: 19px;
  margin-bottom: 30px;
  font-weight: 500;
  line-height: 1.6;
}

.social-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
}

.social-proof__icon {
  color: #dab419;
  font-size: 22px;
  margin-bottom: 10px;
}

.social-proof__text {
  font-size: 16px;
}

.social-proof__number {
  font-weight: bold;
}

/* Exit Intent Modal */
.exit-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1001;
  align-items: center;
  justify-content: center;
}

.exit-modal__content {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.exit-modal__close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}

.exit-modal__title {
  margin-bottom: 20px;
  font-size: 22px;
  text-align: center;
}

.exit-modal__text {
  margin-bottom: 25px;
  text-align: center;
  font-size: 16px;
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: 20px;
  z-index: 999;
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition: opacity .5s, transform .5s;
}

.floating-cta.visible {
  opacity: 1;
  transform: initial;
  pointer-events: initial;
}

.floating-cta .btn {
  box-shadow: 0 5px 15px rgba(218, 180, 25, 0.4);
  width: 100%;
  max-width: 100%;
}

/* About Me Section */
.about-me {
  background-color: rgba(255, 255, 255, 0.92);
  padding: 50px 0;
  position: relative;
  z-index: 1;
}

.about-me__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-me__image-container {
  margin-bottom: 30px;
  text-align: center;
}

.about-me__image {
  max-width: min(100%, 400px);
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.about-me__text {
  text-align: center;
}

.about-me__text h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.about-me__text p {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.4;
  font-family: Caveat;
}

.about-me button {
  margin-top: 20px;
}

/* Button Shine Animation */
.btn--shine {
  position: relative;
  overflow: hidden;
}

.btn--shine:after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(30deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(30deg);
  }

  20%,
  100% {
    transform: translateX(100%) rotate(30deg);
  }
}

/* Additional spacing improvements for desktop */
@media (min-width: 768px) {
  .benefits__item {
    margin-bottom: 25px;
  }

  .final-cta {
    padding: 70px 0;
  }

  .guide-image-container {
    margin: 0 auto;
  }

  .testimonial {
    margin: 40px auto;
    padding: 30px 40px;
  }

  .email-capture-container {
    padding: 40px;
  }

  .floating-cta {
    max-width: max-content;
    right: 30px;
    left: auto;
  }

  .about-me__content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }

  .about-me__image-container {
    margin-bottom: 0;
    flex: 0 0 40%;
  }

  .about-me__text {
    flex: 0 0 55%;
    text-align: left;
  }

  .about-me__text p {
    font-size: 24px;
  }

  .limited-offer-banner {
    margin-bottom: 60px;
  }
}

/* Form Submission Status */
.form-status {
  display: none;
  text-align: center;
  padding: 10px;
  margin-top: 15px;
  border-radius: 5px;
}

.form-status.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}