/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header Section */
header {
  text-align: center;
  background: linear-gradient(135deg, #fce4ec 0%, #f8f8f8 100%);
  padding: 80px 20px;
  margin-bottom: 40px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

h1 {
  font-size: 42px;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
  line-height: 1.2;
}

.subheadline {
  font-size: 20px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Process Flow Section */
.process-flow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 40px;
  margin-bottom: 60px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.step {
  text-align: center;
  width: 30%;
}

.circle {
  width: 60px;
  height: 60px;
  background-color: #f2f2f2;
  border: 2px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 18px;
  font-weight: 700;
  color: #222;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
}

.step p {
  font-size: 14px;
  color: #666;
}

.arrow {
  font-size: 24px;
  color: #ddd;
}

/* Form Section */
.signup {
  max-width: 500px;
  margin: 0 auto 60px;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

#temp-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#temp-form input {
  width: 80%;
  max-width: 400px;
  padding: 15px;
  margin-bottom: 15px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

#temp-form button {
  background-color: #e91e63;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#temp-form button:hover {
  background-color: #d81b60;
}

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

/* Preview Section */
.preview {
  text-align: center;
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 40px;
  margin-bottom: 60px;
}

.preview h2 {
  font-size: 24px;
  margin-bottom: 30px;
  color: #222;
  font-weight: 600;
}

/* New styles for the newsletter template preview */
.newsletter-template-container {
  max-width: 600px;
  margin: 0 auto 20px;
}

.newsletter-template {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Center ConvertKit form */
#convertkit-form {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}


/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
  h1 {
    font-size: 32px;
  }
  
  .subheadline {
    font-size: 18px;
  }
  
  .process-flow {
    flex-direction: column;
    padding: 30px 20px;
  }
  
  .step {
    width: 100%;
    margin-bottom: 30px;
  }
  
  .arrow {
    transform: rotate(90deg);
    margin: 10px 0;
  }
  
  .signup {
    padding: 30px 20px;
  }
  
  .preview {
    padding: 30px 20px;
  }
  
  .newsletter-template-container {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 28px;
  }
  
  header {
    padding: 40px 15px;
  }
  
  .newsletter-template {
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 768px) {
    /* Adjust form width for smaller screens */
    #convertkit-form {
        max-width: 90% !important;
        padding: 20px !important;
    }

    /* Ensure input fields are full-width */
    #convertkit-form .formkit-input {
        width: 100% !important;
        padding: 12px !important;
    }

    /* Center the form and make it compact */
    #convertkit-form .formkit-column {
        text-align: center !important;
        padding: 15px !important;
    }

    /* Adjust the subscribe button for mobile */
    #convertkit-form .formkit-submit {
        width: 100% !important;
        font-size: 16px !important;
        padding: 12px !important;
    }
}

@media screen and (max-width: 480px) {
    /* Further compact form layout for small screens */
    #convertkit-form {
        padding: 15px !important;
    }

    /* Reduce font sizes slightly for better fit */
    #convertkit-form h2 {
        font-size: 20px !important;
    }

    #convertkit-form .formkit-submit {
        font-size: 14px !important;
    }
}

