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

body {
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  color: #264653;
  background: radial-gradient(
      circle at top right,
      rgba(255, 209, 102, 0.35),
      transparent 28%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(46, 196, 182, 0.22),
      transparent 30%
    ),
    linear-gradient(135deg, #fff8ef 0%, #f3fff9 50%, #eefaff 100%);
}

.container {
  width: 90%;
  max-width: 760px;
  margin: 0 auto;
  padding: 55px 0 25px;
}

.intro {
  text-align: center;
  margin-bottom: 32px;
}

.small-heading {
  display: inline-block;
  margin-bottom: 16px;
  padding: 9px 18px;
  border-radius: 999px;
  color: #0f8f82;
  background: #dffaf4;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

h1 {
  max-width: 650px;
  margin: 0 auto 18px;
  color: #264653;
  font-size: 50px;
  line-height: 1.12;
  font-weight: 800;
}

h1 span {
  color: #ff7f50;
}

.description {
  max-width: 560px;
  margin: 0 auto;
  color: #667982;
  font-size: 17px;
  line-height: 1.7;
}

.planner-card {
  padding: 32px;
  border: 1px solid rgba(20, 184, 166, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px rgba(38, 70, 83, 0.1);
}

.form-group {
  margin-bottom: 22px;
}

.form-row {
  display: flex;
  gap: 18px;
}

.form-row .form-group {
  flex: 1;
}

label {
  display: block;
  margin-bottom: 9px;
  color: #264653;
  font-size: 15px;
  font-weight: 700;
}

label span {
  margin-left: 5px;
  color: #8b9aa0;
  font-size: 12px;
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  border: 2px solid #dff1ed;
  border-radius: 14px;
  background: #fbfffe;
  color: #264653;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.25s ease;
}

input,
select {
  height: 52px;
  padding: 0 15px;
}

textarea {
  min-height: 115px;
  padding: 15px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #9aa8ad;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #bce7de;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #14b8a6;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.13);
}

button {
  width: 100%;
  margin-top: 2px;
  padding: 16px 20px;
  border: none;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(90deg, #14b8a6 0%, #2ec4b6 45%, #ff9f68 100%);
  box-shadow: 0 12px 28px rgba(20, 184, 166, 0.22);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(20, 184, 166, 0.3);
}

button:active {
  transform: translateY(0);
}

.result-sections {
  margin-top: 30px;
}

#result {
  display: none;
  padding: 30px;
  border: 1px solid rgba(255, 127, 80, 0.16);
  border-left: 6px solid #ff8a5b;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 50px rgba(38, 70, 83, 0.09);
  color: #3f5962;
  font-size: 16px;
  line-height: 1.85;
}

#result strong {
  color: #264653;
}

#result h2,
#result h3 {
  margin: 18px 0 8px;
  color: #0f8f82;
}

#result ul,
#result ol {
  padding-left: 22px;
}

footer {
  max-width: 760px;
  margin: 25px auto 40px;
  padding: 0 20px;
  text-align: center;
  color: #71848c;
  font-size: 13px;
  line-height: 1.7;
}

footer a {
  color: #0f9f90;
  font-weight: 600;
  text-decoration: none;
}

footer a:hover {
  color: #ff7f50;
  text-decoration: underline;
}

@media (max-width: 700px) {
  .container {
    width: 92%;
    padding-top: 32px;
  }

  h1 {
    font-size: 38px;
  }

  .description {
    font-size: 16px;
  }

  .planner-card {
    padding: 24px;
    border-radius: 22px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  #result {
    padding: 24px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 32px;
  }

  .small-heading {
    font-size: 11px;
  }

  .planner-card {
    padding: 20px;
  }

  input,
  select,
  textarea {
    font-size: 14px;
  }

  button {
    font-size: 15px;
  }
}
