:root {
  --green-600: #0b6b4b;
  --green-700: #17966d;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --white: #ffffff;
  --container: 1160px;
  --radius-xl: 16px;
  --orange-600: #FFAE00;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--slate-900);
  background: #fff;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 10px;
}

.topbar {
  border-bottom: 2px solid #e5e7eb;
  background: var(--white);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
@media (max-width: 720px) {
  .topbar .container {
    height: auto;
    padding: 12px 20px;
    gap: 12px;
  }
}

#wizard-form {
  /* selected card look */
  /* disabled Next button look (Tailwind can't style :disabled variations you inject later) */
}
#wizard-form .tab {
  display: none;
}
#wizard-form .tab.active {
  display: block;
}
#wizard-form .tab-input input[type=radio]:checked {
  background: #57a58e;
}
#wizard-form .tab-input input[type=radio]:focus-visible + .fake {
  outline: 2px dashed #16a34a;
}
#wizard-form .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    #0055A4 0%,
    #0055A4 33.33%,
    #FFFFFF 33.33%,
    #FFFFFF 66.66%,
    #EF4135 66.66%,
    #EF4135 100%
  );
}
@media screen and (max-width: 768px) {
  .brand-mark {
    width: 20px;
    height: 20px;
  }
}
.brand-name {
  font-weight: 800;
  font-size: 24px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
@media (max-width: 720px) {
  .actions {
    width: 100%;
    justify-content: flex-end;
  }
}
@media (max-width: 768px) {
  .actions {
    gap: 6px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s ease;
}
.btn-primary {
  background: var(--green-600);
  color: var(--white);
}
.btn-primary:hover {
  background: #084f38;
}
.btn-secondary {
  background: var(--orange-600);
  color: #000000;
}
.btn-secondary:hover {
  background: #e09900;
}
.btn-outline {
  border: 3px solid var(--green-600);
  color: var(--green-600);
  background: transparent;
}
.btn-outline:hover {
  background: #f0fdf4;
}
.btn-outline:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 52vh;
  overflow: clip;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%), radial-gradient(60% 80% at 20% 10%, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 70%), url("../assets/hero-placeholder.webp");
}
.hero .tab-error {
  min-height: 25px;
}
.hero .icon-label {
  cursor: pointer;
}
.hero .icon-label:hover {
  background: #57a58e;
}
.hero .icon-label:active {
  background: #57a58e;
}
.hero-image {
  width: 100%;
  height: auto;
  display: block;
}
.hero .hero__content h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  color: #ffffff;
  line-height: 120%;
}
@media (max-width: 768px) {
  .hero .hero__content h1 {
    font-size: 26px;
    line-height: 130%;
  }
}
.hero .hero__content p {
  color: #ffffff;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 24px;
  text-align: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%), radial-gradient(60% 80% at 20% 10%, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 70%);
  color: var(--white);
}
.hero-overlay p {
  margin: 0 0 16px;
  font-size: clamp(16px, 2.2vw, 20px);
  color: #eff6ff;
}

.title-overlay {
  background: rgba(255, 174, 0, 0.1803921569);
  padding: 5px;
  border-radius: 10px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

.hero__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(2, 6, 23, 0.12);
}

.wizard {
  padding: 32px 0 48px;
  background: #fafafa;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}
.wizard .bar-steps {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}
.wizard .bar-steps .step {
  height: 6px;
  background: #E5E7EB;
  border-radius: 4px;
  flex: 1 1 0%;
}
.wizard .bar-steps .step.active {
  background: linear-gradient(90deg, #0B6B4B 0%, #22C55E 100%);
}
.wizard #wizard-form {
  /* selected card look */
}
.wizard #wizard-form .tab {
  display: none;
}
.wizard #wizard-form .tab.active {
  display: block;
}
.wizard #wizard-form .tab-input:has(input[type=radio]:checked) {
  background: #57a58e;
}
.wizard #wizard-form .tab-input input[type=radio]:focus-visible + .fake {
  outline: 2px dashed #16a34a;
}
.wizard #wizard-form .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.wizard__steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.wizard__step {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  border-radius: 10px;
  background: #fff;
  color: var(--slate-600);
  font-weight: 600;
}
.wizard__step span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e2e8f0;
  color: var(--slate-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}
.wizard__step.is-active {
  outline: 2px solid var(--green-600);
  color: var(--slate-900);
}
.wizard__step.is-active span {
  background: var(--green-600);
  color: #fff;
}
.wizard__panels {
  position: relative;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.wizard__panel {
  display: none;
}
.wizard__panel.is-active {
  display: block;
}
.wizard__panel img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.wizard__actions {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
}

.content {
  padding: 48px 0 64px;
}
.content h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.faq-list {
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--slate-700);
  display: grid;
  gap: 10px;
}

.footer {
  border-top: 1px solid #e5e7eb;
  padding: 24px 0;
  color: var(--slate-700);
}
.footer p {
  margin: 0;
}

/* Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  overflow-y: auto;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 16px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 2px solid #e5e7eb;
}

.modal-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: var(--slate-900);
}

.modal-close {
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  color: var(--slate-600);
  transition: color 0.2s;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--slate-900);
}

.modal-body {
  padding: 32px;
  color: var(--slate-700);
  line-height: 1.6;
}

.modal-body h3 {
  margin: 24px 0 12px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-900);
}

.modal-body p {
  margin: 12px 0;
}

.modal-body a {
  color: var(--green-600);
  text-decoration: none;
}

.modal-body a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .modal-content {
    max-width: 95%;
    max-height: 95vh;
  }
  
  .modal-header {
    padding: 20px;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .modal-title {
    font-size: 20px;
  }
}
