@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700);

/* ---------- Reset ---------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

/* ---------- Base ---------- */
body {
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  text-align: center;
  color: #33475b;
  background: linear-gradient(160deg, #eef3f8 0%, #dde6ee 55%, #cfdce8 100%);
  min-height: 100vh;
}

header {
  margin-bottom: 2em;
}

h1 {
  font-size: 2.1em;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #16283a;
  margin: 2em 0 0.4em;
}

h1 strong {
  color: #4bbe00;
}

header > p {
  color: #6b7f93;
  font-size: 0.95em;
  margin-bottom: 1.6em;
}

strong {
  font-weight: 700;
}

p {
  line-height: 1.5em;
}

article header {
  margin: 0;
}

.full-height {
  height: 26em;
  align-items: center;
}

.flexy-item {
  display: flex;
  flex-direction: row;
  justify-content: center;
  position: relative;
}

.flexy-column {
  flex-direction: column;
}
.flexy-column.reverse {
  flex-direction: column-reverse;
}

.flexy-item_child {
  flex: 1 0 100%;
}

/* ---------- Form card ---------- */
.pure-steps {
  display: inline-block;
  width: 22em;
  max-width: calc(100vw - 3em);
  color: #fff;
  margin-bottom: 2em;
  text-align: left;
}
.pure-steps strong {
  color: #B2FF41;
  font-weight: 600;
}
.pure-steps .pure-steps_group {
  position: relative;
  min-height: 28em;
  border-radius: 1em;
  overflow: hidden;
  box-shadow:
    0 1.4em 3.4em -1em rgba(18, 44, 66, 0.45),
    0 0.5em 1.2em -0.4em rgba(18, 44, 66, 0.25);
  background-image: linear-gradient(-120deg, #26e289 0%, #1a5fa2 100%, #143d68 200%);
  background-position: 0 0;
  background-size: 300%;
  will-change: background, box-shadow;
  transition: all 0.3s ease-out;
}
.pure-steps .pure-steps_group .pure-steps_group-step {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  transform: translate(100%);
  opacity: 0;
  will-change: transform, opacity;
  transition: all 0.6s ease-in-out;
  text-align: left;
}
.pure-steps .pure-steps_group .pure-steps_group-step:last-child {
  text-align: center;
}

/* Step heading */
.pure-steps .pure-steps_group .pure-steps_group-step .pure-steps_group-step_legend {
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 1.5em 1.34em 0.8em;
  line-height: 1.1em;
  position: relative;
}
.pure-steps .pure-steps_group .pure-steps_group-step .pure-steps_group-step_legend:after {
  content: "";
  display: block;
  width: 2.2em;
  height: 0.14em;
  margin-top: 0.45em;
  border-radius: 1em;
  background: #B2FF41;
}

/* Step body text */
.pure-steps .pure-steps_group .pure-steps_group-step .pure-steps_group-step_item {
  padding: 0 2em 1.2em;
  font-size: 0.92em;
  color: rgba(255, 255, 255, 0.85);
}
.pure-steps .pure-steps_group .pure-steps_group-step .pure-steps_group-step_item label {
  font-size: .78em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  opacity: .6;
  margin-top: 0.4em;
  transition: opacity 0.25s ease, color 0.25s ease;
}

/* Text inputs — floating underline style */
.pure-steps .pure-steps_group .pure-steps_group-step .pure-steps_group-step_item input {
  font-size: 1em;
  box-sizing: border-box;
  width: 100%;
  border: 0;
  padding: 0.35em 0 0.45em;
  line-height: 1.6em;
  background-color: transparent;
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.45) 1px),
                    linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, #b2ff41 1px);
  background-size: 100% 1px, 0% 1px;
  background-position: bottom left, bottom left;
  background-repeat: no-repeat;
  outline: none;
  will-change: background;
  transition: background 0.3s ease-in-out;
  color: #fff;
  caret-color: #B2FF41;
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
}
.pure-steps .pure-steps_group .pure-steps_group-step .pure-steps_group-step_item input:focus {
  color: #fff;
  background-size: 0% 1px, 100% 1px;
}
.pure-steps .pure-steps_group .pure-steps_group-step .pure-steps_group-step_item input:focus + label {
  opacity: 1;
  color: #B2FF41;
}
.pure-steps .pure-steps_group .pure-steps_group-step .pure-steps_group-step_item input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Select dropdown ---------- */
.pure-steps_group-step > label,
.pure-steps .pure-steps_group-step label[for="issue-type"] {
  display: block;
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  padding: 0 2.55em;
  margin-bottom: 0.5em;
}

.pure-steps select {
  display: block;
  box-sizing: border-box;
  width: calc(100% - 4em);
  margin: 0 2em;
  padding: 0.7em 2.2em 0.7em 0.9em;
  font-family: "Open Sans", sans-serif;
  font-size: 0.95em;
  font-weight: 400;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.6em;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23B2FF41' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9em center;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.pure-steps select:hover {
  background-color: rgba(255, 255, 255, 0.18);
}
.pure-steps select:focus {
  border-color: #B2FF41;
  background-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 3px rgba(178, 255, 65, 0.25);
}
.pure-steps select option {
  color: #16283a;
  background: #fff;
}

/* ---------- Step navigation (triggers) ---------- */
.pure-steps .pure-steps_radio {
  display: none;
}
.pure-steps .pure-steps_group-triggers {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4.2em;
  border-radius: 0 0 1em 1em;
  background-color: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(2px);
  will-change: opacity;
  transition: opacity 0.3s ease-in-out;
}
.pure-steps .pure-steps_group-triggers:before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  width: 0%;
  height: 0.18em;
  border-radius: 0 1em 1em 0;
  background: linear-gradient(90deg, #B2FF41, #7de000);
  will-change: width;
  transition: width 0.6s ease-in-out;
}
.pure-steps .pure-steps_group-triggers .pure-steps_group-triggers_item {
  display: none;
}
.pure-steps .pure-steps_group-triggers .pure-steps_group-triggers_item label {
  display: block;
  margin: 0.85em 1.4em 0;
  padding: 0.75em 1em;
  color: #B2FF41;
  font-weight: 700;
  font-size: 0.9em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  border: 1.5px solid rgba(178, 255, 65, 0.55);
  border-radius: 2em;
  cursor: pointer;
  transition: all 0.25s ease;
}
.pure-steps .pure-steps_group-triggers .pure-steps_group-triggers_item label:hover {
  background: rgba(178, 255, 65, 0.15);
  border-color: #B2FF41;
}
.pure-steps .pure-steps_group-triggers .pure-steps_group-triggers_item label:active {
  transform: scale(0.98);
}

/* Validate submit button */
.pure-steps .pure-steps_group-triggers .btn {
  display: block;
  width: calc(100% - 2.8em);
  margin: 0.85em 1.4em 0;
  padding: 0.8em 1em;
  font-family: "Open Sans", sans-serif;
  font-size: 0.9em;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #122c42;
  background: linear-gradient(90deg, #B2FF41, #7de000);
  border: 0;
  border-radius: 2em;
  cursor: pointer;
  box-shadow: 0 0.5em 1.2em -0.4em rgba(178, 255, 65, 0.55);
  transition: all 0.25s ease;
}
.pure-steps .pure-steps_group-triggers .btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 0.6em 1.5em -0.4em rgba(178, 255, 65, 0.75);
  transform: translateY(-1px);
}
.pure-steps .pure-steps_group-triggers .btn:active {
  transform: scale(0.98);
}

/* ---------- Disclaimer below the form ---------- */
.pure-steps > label[for="step-0"] {
  display: block;
  max-width: 30em;
  margin: 0 auto;
  font-size: 0.8em;
  line-height: 1.5em;
  color: #7a8ea1;
  cursor: pointer;
}

/* ---------- Step state logic (unchanged) ---------- */
.pure-steps .pure-steps_radio:nth-child(1):checked ~ .pure-steps_group {
  background-position: 25% 0;
}
.pure-steps .pure-steps_radio:nth-child(1):checked ~ .pure-steps_group .pure-steps_group-triggers:before {
  width: 33.333%;
}
.pure-steps .pure-steps_radio:nth-child(1):checked ~ .pure-steps_group .pure-steps_group-triggers .pure-steps_group-triggers_item:nth-child(2) {
  display: block;
}
.pure-steps .pure-steps_radio:nth-child(1):checked ~ .pure-steps_group .pure-steps_group-step:nth-child(1) {
  opacity: 1;
  transform: translate(0);
}
.pure-steps .pure-steps_radio:nth-child(2):checked ~ .pure-steps_group {
  background-position: 50% 0;
}
.pure-steps .pure-steps_radio:nth-child(2):checked ~ .pure-steps_group .pure-steps_group-triggers:before {
  width: 66.666%;
}
.pure-steps .pure-steps_radio:nth-child(2):checked ~ .pure-steps_group .pure-steps_group-triggers .pure-steps_group-triggers_item:nth-child(3) {
  display: block;
}
.pure-steps .pure-steps_radio:nth-child(2):checked ~ .pure-steps_group .pure-steps_group-step:nth-child(2) {
  opacity: 1;
  transform: translate(0);
}
.pure-steps .pure-steps_radio:nth-child(3):checked ~ .pure-steps_group {
  background-position: 75% 0;
}
.pure-steps .pure-steps_radio:nth-child(3):checked ~ .pure-steps_group .pure-steps_group-triggers {
  opacity: 0;
  transition-delay: 0.6s;
}
.pure-steps .pure-steps_radio:nth-child(3):checked ~ .pure-steps_group .pure-steps_group-step {
  align-items: center;
  height: 100%;
}
.pure-steps .pure-steps_radio:nth-child(3):checked ~ .pure-steps_group .pure-steps_group-step .pure-steps_preload {
  display: block;
  height: .1em;
  width: 100%;
  box-sizing: border-box;
  margin: 0 2em;
  background-image: linear-gradient(0deg, rgba(255, 59, 153, 0.4) 0%, rgba(255, 157, 0, 0.4) 50%, rgba(178, 255, 65, 0.4) 100%);
  background-size: 0 10em;
  background-position: top center;
  background-repeat: no-repeat;
  will-change: background-image;
  transition: background-image 3s linear;
  -webkit-animation: preloadLine 3s ease-out forwards;
          animation: preloadLine 3s ease-out forwards;
}
.pure-steps .pure-steps_radio:nth-child(3):checked ~ .pure-steps_group .pure-steps_group-step .pure-steps_preload svg {
  font-size: 1.2em;
  width: auto;
  height: 1em;
  padding: 1em;
  border-radius: 2em;
  background-color: #5BD670;
  fill: white;
  margin-top: -1.5em;
  transform: scale(0);
  -webkit-animation: preloadTic .8s linear forwards;
          animation: preloadTic .8s linear forwards;
  -webkit-animation-delay: 3s;
          animation-delay: 3s;
}
.pure-steps .pure-steps_radio:nth-child(3):checked ~ .pure-steps_group .pure-steps_group-triggers:before {
  width: 99.999%;
}
.pure-steps .pure-steps_radio:nth-child(3):checked ~ .pure-steps_group .pure-steps_group-triggers .pure-steps_group-triggers_item:nth-child(4) {
  display: block;
}
.pure-steps .pure-steps_radio:nth-child(3):checked ~ .pure-steps_group .pure-steps_group-step:nth-child(3) {
  opacity: 1;
  transform: translate(0);
}

/* ---------- Keyframes ---------- */
@-webkit-keyframes preloadLine {
  0% {
    background-position: bottom center;
    background-size: 0 10em;
  }
  100% {
    background-position: top center;
    background-size: 100% 10em;
  }
}

@keyframes preloadLine {
  0% {
    background-position: bottom center;
    background-size: 0 10em;
  }
  100% {
    background-position: top center;
    background-size: 100% 10em;
  }
}
@-webkit-keyframes preloadTic {
  0% {
    transform: scale(0);
  }
  20% {
    transform: scale(0.2);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  50% {
    transform: scale(1.3);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  65% {
    transform: scale(0.9);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  80%,
    100% {
    transform: scale(1);
  }
}
@keyframes preloadTic {
  0% {
    transform: scale(0);
  }
  20% {
    transform: scale(0.2);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  50% {
    transform: scale(1.3);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  65% {
    transform: scale(0.9);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  80%,
    100% {
    transform: scale(1);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  h1 {
    font-size: 1.6em;
    margin-top: 2.5em;
  }
  .pure-steps .pure-steps_group {
    min-height: 30em;
  }
}
