/* =========================================
   Main Visibility Control
   Desktop = flex by default
   Mobile section always hidden by default
========================================= */

.coming-soon-desktop {
  display: flex;
}

.coming-soon-mobile {
  display: none;
}

/* Hide main site header/footer on coming soon page */
.page-template-template-comingsoon .site-header,
.page-template-template-comingsoon .site-footer {
  display: none !important;
}


/* =========================================
   Desktop / Tablet Base Section
========================================= */

.coming-soon-section {
  width: 100%;
  min-height: 100vh;
  background: #f8f7f3;
  position: relative;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  padding: 70px 20px;
  box-sizing: border-box;
}


/* =========================================
   Gradient Lines
========================================= */

.gradient-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 16px;
  z-index: 1;
  pointer-events: none;
}

.gradient-line-top {
  top: 0;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #d9c5a3 35%,
    #d9c5a3 50%,
    #d9c5a3 70%,
    #ffffff 100%
  );
}

.gradient-line-bottom {
  bottom: 0;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #d9c5a3 35%,
    #d9c5a3 50%,
    #d9c5a3 70%,
    #ffffff 100%
  );
}


/* =========================================
   Desktop Images
========================================= */

.brain-image-wrap {
  position: absolute;
  left: 0;
  top: 20%;
  width: 380px;
  height: auto;
  z-index: 2;
  transform: translateX(-35%);
  pointer-events: none;
}

.brain-image-wrap img,
.brain-image {
  width: 100%;
  height: auto;
  display: block;
}

.chair-image-wrap {
  position: absolute;
  right: -4%;
  top: 8%;
  width: 370px;
  height: auto;
  z-index: 2;
  transform: translateX(12%);
  pointer-events: none;
}

.chair-image-wrap img,
.chair-image {
  width: 100%;
  height: auto;
  display: block;
}


/* =========================================
   Desktop Content
========================================= */

.coming-soon-overlay {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.coming-soon-content {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  color: #354230;
}

.coming-soon-top-content,
.coming-soon-consultation-content,
.coming-soon-form-content {
  width: 100%;
}

.eyebrow {
  font-family: 'The Seasons';
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 18px;
  color: #354230;
}

.main-title {
  font-family: 'The Seasons';
  font-size: 170px;
  font-weight: 600;
  font-style: normal;
  line-height: 0.82;
  letter-spacing: -4px;
  margin: 0 0 32px;
  color: #354230;
}

.intro-text {
  max-width: 470px;
  margin: 0 auto 36px;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  line-height: 1.25;
  color: #354230;
}

.consultation-title {
  font-family: 'The Seasons';
  font-size: 60px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -1px;
  margin: 0 0 18px;
  color: #354230;
}

.register-text {
  font-family: 'Playfair Display', serif;
  max-width: 460px;
  margin: 0 auto 34px;
  font-size: 18px;
  line-height: 1.25;
  color: #354230;
}

.register-text strong {
  font-weight: 700;
}


/* =========================================
   Desktop Form
========================================= */

.early-access-form {
  max-width: 470px;
  margin: 0 auto;
}

.early-access-form input,
.early-access-form select {
  width: 100%;
  height: 36px;
  border: 2px solid #354230;
  border-radius: 30px;
  background: transparent;
  padding: 0 18px;
  font-family: 'The Seasons';
  font-size: 12px;
  color: #354230;
  outline: none;
  box-sizing: border-box;
}

.early-access-form input::placeholder {
  color: #9a9a9a;
}

.early-access-form > input {
  margin-bottom: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto 0.65fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}

.interest-label {
  font-family: 'The Seasons';
  font-size: 12px;
  color: #9a9a9a;
  white-space: nowrap;
}

.early-access-form select {
  appearance: auto;
  cursor: pointer;
  padding-right: 12px;
}

.early-access-form button {
  border: 1px solid #354230;
  background: #354230;
  color: #ffffff;
  font-family: 'The Seasons';
  font-weight: 600;
  font-size: 13px;
  padding: 14px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.early-access-form button:hover {
  background: #d9c5a3;
  color: #354230;
  border: 2px solid #354230;
}


/* =========================================
   Desktop: 1025px and above
========================================= */

@media only screen and (min-width: 1025px) {

  .coming-soon-desktop {
    display: flex !important;
  }

  .coming-soon-mobile {
    display: none !important;
  }

  .brain-image-wrap,
  .chair-image-wrap {
    display: block !important;
  }
}


/* =========================================
   Tablet: 768px to 1024px
   Brain and chair show, desktop layout
========================================= */

@media only screen and (min-width: 768px) and (max-width: 1024px) {

  .coming-soon-desktop {
    display: flex !important;
    min-height: 100vh !important;
    overflow: hidden !important;
  }

  .coming-soon-mobile {
    display: none !important;
  }

  .coming-soon-section {
    min-height: 100vh;
    padding: 80px 24px;
  }

  .main-title {
    font-size: 150px;
  }

  .consultation-title {
    font-size: 56px;
  }

  .intro-text {
    font-size: 16px;
  }

  .register-text {
    font-size: 17px;
  }

  .brain-image-wrap {
    display: block !important;
    position: absolute !important;
    width: 300px !important;
    height: auto !important;
    top: 34% !important;
    left: 0 !important;
    right: auto !important;
    transform: translateX(-45%) !important;
    z-index: 2 !important;
  }

  .chair-image-wrap {
    display: block !important;
    position: absolute !important;
    width: 300px !important;
    height: auto !important;
    top: 16% !important;
    right: 0 !important;
    left: auto !important;
    transform: translateX(25%) !important;
    z-index: 2 !important;
  }

  .brain-image,
  .chair-image {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
}


/* =========================================
   Mobile: 767px and below
   Switch to mobile section, hide desktop
========================================= */

@media only screen and (max-width: 767px) {

  /* Hide desktop section completely */
  .coming-soon-desktop {
    display: none !important;
  }

  /* Show mobile section */
  .coming-soon-mobile {
    display: flex !important;
    width: 100% !important;
    min-height: 100vh;
    background: #f8f7f3;
    position: relative;
    overflow: hidden;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 18px 70px;
    box-sizing: border-box;
  }

  /* Hide brain and chair images */
  .brain-image-wrap,
  .chair-image-wrap {
    display: none !important;
  }

  /* Mobile gradient lines */
  .mobile-gradient-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 16px;
    z-index: 1;
    pointer-events: none;
  }

  .mobile-gradient-line-top {
    top: 0;
    background: linear-gradient(
      90deg,
      #ffffff 0%,
      #d9c5a3 35%,
      #d9c5a3 70%,
      #ffffff 100%
    );
  }

  .mobile-gradient-line-bottom {
    bottom: 0;
    background: linear-gradient(
      90deg,
      #ffffff 0%,
      #d9c5a3 35%,
      #d9c5a3 70%,
      #ffffff 100%
    );
  }

  /* Mobile content wrapper */
  .coming-soon-mobile-content {
    width: 100% !important;
    max-width: 560px !important;
    margin: 0 auto;
    text-align: center;
    color: #354230;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
  }

  .coming-soon-mobile-top,
  .coming-soon-mobile-consultation,
  .coming-soon-mobile-form-wrap {
    width: 100%;
  }

  .mobile-eyebrow {
    font-family: 'The Seasons';
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 20px;
    color: #354230;
  }

  .mobile-main-title {
    font-family: 'The Seasons';
    font-size: 86px;
    font-weight: 600;
    line-height: 0.82;
    letter-spacing: -3px;
    margin: 0 0 36px;
    color: #354230;
  }

  .mobile-intro-text {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 42px;
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    line-height: 1.35;
    color: #354230;
  }

  .mobile-consultation-title {
    font-family: 'The Seasons';
    font-size: 44px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -1px;
    margin: 0 0 24px;
    color: #354230;
  }

  .mobile-register-text {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 34px;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    line-height: 1.25;
    color: #354230;
  }

  .mobile-register-text strong {
    font-weight: 700;
  }

  .mobile-early-access-form {
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .mobile-early-access-form input,
  .mobile-early-access-form select {
    width: 100% !important;
    height: 46px;
    border: 2px solid #354230;
    border-radius: 30px;
    background: transparent;
    padding: 0 20px;
    margin-bottom: 12px;
    font-family: 'The Seasons';
    font-size: 16px;
    color: #354230;
    outline: none;
    box-sizing: border-box;
  }

  .mobile-early-access-form input::placeholder {
    color: #9a9a9a;
  }

  .mobile-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    margin-bottom: 12px;
  }

  .mobile-form-row input,
  .mobile-form-row select {
    margin-bottom: 0;
  }

  .mobile-early-access-form select {
    appearance: auto;
    cursor: pointer;
  }

  .mobile-early-access-form button {
    margin-top: 18px;
    border: 1px solid #354230;
    background: #354230;
    color: #ffffff;
    font-family: 'The Seasons';
    font-weight: 600;
    font-size: 16px;
    padding: 15px 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
    width: 100%;
  }

  .mobile-early-access-form button:hover {
    background: #ffffff;
    color: #354230;
  }
}


/* =========================================
   Small Mobile: 480px and below
========================================= */

@media only screen and (max-width: 480px) {

  .coming-soon-mobile {
    padding: 60px 15px 50px; /* Reduced top/bottom padding */
    align-items: center; /* Center vertically on small screens */
  }

  .coming-soon-mobile-content {
    max-width: 100% !important;
  }

  .mobile-eyebrow {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .mobile-main-title {
    font-size: 60px; /* Slightly smaller for 480px */
    line-height: 0.88;
    margin-bottom: 24px;
  }

  .mobile-intro-text {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 30px;
  
  }

  .mobile-consultation-title {
    font-size: 32px;
    margin-bottom: 18px;
  }

  .mobile-register-text {
    font-size: 15px;
    line-height: 1.3;
    margin-bottom: 28px;
  
  }

  .mobile-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mobile-form-row input,
  .mobile-form-row select {
    margin-bottom: 10px;
  }

  .mobile-early-access-form button {
    font-size: 14px;
    padding: 12px 20px;
    margin-top: 10px;
  }
}


/* =========================================
   Very Small Mobile: 380px and below
========================================= */

@media only screen and (max-width: 380px) {

  .coming-soon-mobile {
    padding: 70px 20px 60px;
  }

  .mobile-main-title {
    font-size: 58px;
  }

  .mobile-consultation-title {
    font-size: 32px;
  }

  .mobile-eyebrow {
    font-size: 16px;
  }

  .mobile-intro-text,
  .mobile-register-text {
    font-size: 14px;
  }
}