#discovering-purpose {
  --primary-blue: #003366;
  --primary-orange: #f89d1c;
  --primary-pink: #d81b60;
  --primary-cyan: #00aeef;
  --bg-color: #f5f8fa;
  --input-bg: #fff9f2;
  --error-color: #ff4d4d;
  --footer-height: 50px;

  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: var(--bg-color);
  overflow-x: hidden;
  padding-top: 30px;
  box-sizing: border-box;

  .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0 20px 20px 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .question-cards-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    width: 100%;
    max-width: 1100px;
  }

  .question-card {
    background-color: #fff;
    border: 2px solid var(--primary-orange);
    border-radius: 15px;
    padding: 20px 10px;
    width: 30%;
    min-width: 280px;
    height: 420px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
  }

  .question-card::before {
    content: "?";
    position: absolute;
    top: -10px;
    right: 5px;
    font-size: 110px;
    font-weight: 500;
    color: #f89d1c;
    opacity: 0.15;

    z-index: 0;
    pointer-events: none;
  }

  .question-text {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    z-index: 2;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
    padding: 0 10px;
  }

  .answer-area {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
  }

  .answer-area textarea {
    background-color: var(--input-bg);
    border-radius: 12px;
    padding: 15px;
    height: 100%;
    color: #555;
    font-size: 16px;
    resize: none;
    border: none;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: box-shadow 0.3s ease;

    &::placeholder {
      color: #bca08c;
    }
  }

  .char-counter {
    font-size: 12px;
    color: #888;
    text-align: right;
    margin-top: 5px;
    display: none;

    &.is-focused {
      display: block;
    }
  }

  .error-banner {
    display: none;
    background-color: #ffe6e6;
    color: var(--error-color);
    border: 1px solid var(--error-color);
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
  }

  .continue-button {
    background-color: #d35400;
    color: white;
    padding: 14px 50px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 4px 0px #a04000;

    &:hover {
      background-color: #b04600;
    }

    &:active {
      transform: translateY(2px);
      box-shadow: 0 2px 0px #a04000;
    }
  }

  @media (max-width: 950px) {
    height: auto;
    padding-top: 30px;

    .question-cards-wrapper {
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }

    .question-card {
      width: 90%;
      max-width: 450px;
      height: 380px;
    }
  }

  .instruction-text {
    font-weight: 500;
    color: #003366;
    margin-bottom: 20px;
    font-size: 22px;
  }
}
