* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: radial-gradient(circle at top left, rgba(245, 194, 66, 0.14), transparent 22%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #021323 0%, #043852 48%, #0f5a81 100%);
  color: #f7fafc;
  min-height: 100vh;
}

.hero {
  min-height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 18px;
  position: relative;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 60% 15%, rgba(245, 194, 66, 0.12), transparent 14%),
    radial-gradient(circle at 25% 80%, rgba(255, 255, 255, 0.05), transparent 22%);
  pointer-events: none;
}

.logo-container {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 12px 16px;
}

.logo-container img {
  max-height: 100px;
  width: auto;
  display: block;
}

.overlay {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  width: min(100%, 780px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  padding: 32px;
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.18);
  animation: fadeInUp 0.8s ease both;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.02;
  margin-bottom: 18px;
  letter-spacing: -0.04em;
}

p {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 22px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(247, 250, 252, 0.84);
}

button {
  background: linear-gradient(135deg, #f6c94e 0%, #ffd76a 100%);
  color: #08131c;
  border: none;
  padding: 16px 42px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 18px 36px rgba(245, 194, 66, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(245, 194, 66, 0.28);
}

button:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(245, 194, 66, 0.22);
}

@media (max-width: 768px) {
  .card {
    padding: 32px;
  }

  h1 {
    font-size: 2.6rem;
  }

  .logo-container {
    top: 16px;
    left: 16px;
    padding: 10px 14px;
  }
}

.hidden {
  display: none;
}

.progress {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  margin-bottom: 28px;
  overflow: hidden;
}

#progressBar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f5c242, #ffd262);
  transition: width 0.4s ease;
}

#answers {
  display: grid;
  gap: 14px;
  margin: 22px 0 16px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#questionTitle {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.fade-out {
  opacity: 0.2;
  transform: translateY(10px);
}

.answer {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #f7fafc;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.answer:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.answer.selected {
  background: rgba(245, 194, 66, 0.18);
  border-color: rgba(245, 194, 66, 0.4);
}

.navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  gap: 10px;
}

.navigation button {
  min-width: 140px;
}

h2 {
  margin-top: 12px;
  font-size: 1.8rem;
}

#resultContainer {
  margin-top: 18px;
}

#resultContainer h2 {
  margin-bottom: 14px;
}

#resultContainer .result-instruction {
  margin-bottom: 24px;
  color: rgba(247, 250, 252, 0.82);
  font-size: 1rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

#resultContainer .answer {
  text-align: left;
  width: 100%;
  display: block;
  box-sizing: border-box;
}

#resultContainer .answer h3 {
  margin-bottom: 10px;
}

#resultContainer .answer p {
  color: rgba(247, 250, 252, 0.85);
  margin-bottom: 8px;
}

a.answer {
  text-decoration: none;
  display: block;
  width: 100%;
}

.result-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.result-actions button,
button.secondary-button {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f7fafc;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  min-width: 180px;
}

.result-actions button:hover,
button.secondary-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
}

.contact-card {
  width: min(100%, 780px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  padding: 34px;
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  margin: 0 auto;
  text-align: center;
}

.contact-card h1,
.contact-card h2 {
  color: #f7fafc;
  margin-bottom: 18px;
}

.contact-card p {
  color: rgba(247, 250, 252, 0.88);
  margin-bottom: 20px;
  max-width: 760px;
}

.contact-card label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: #f7fafc;
}

.contact-card input,
.contact-card textarea,
.contact-card select {
  width: 100%;
  padding: 16px 18px;
  margin-bottom: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.22);
  color: #f7fafc;
  font-size: 1rem;
}

.contact-card textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-card button {
  min-width: auto;
  width: 100%;
}

.contact-card .summary {
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px;
  border-radius: 18px;
  margin-bottom: 24px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
