@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap");

.iaqf-page,
.iaqf-page * {
  box-sizing: border-box;
}

.iaqf-page {
  --iaqf-primary: #1dd1a1;
  --iaqf-secondary: #111827;
  --iaqf-muted: #f1f5f9;
  --iaqf-border: #e2e8f0;
  --iaqf-text-muted: #64748b;
  min-height: 100vh;
  background: rgba(241, 245, 249, 0.55);
  color: var(--iaqf-secondary);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.iaqf-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
  background: #ffffff;
  border-bottom: 1px solid var(--iaqf-border);
}

.iaqf-logo {
  display: block;
  width: auto;
  height: 32px;
}

.iaqf-secure-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--iaqf-text-muted);
  font-size: 14px;
  font-weight: 700;
}

.iaqf-main {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px 64px;
}

.iaqf-card {
  position: relative;
  width: 100%;
  max-width: 672px;
  min-height: 520px;
  padding: 32px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

.iaqf-card-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  pointer-events: none;
  background: rgba(29, 209, 161, 0.08);
  border-radius: 999px;
  filter: blur(32px);
}

.iaqf-render-target {
  position: relative;
  z-index: 1;
}

.iaqf-progress {
  margin-bottom: 32px;
}

.iaqf-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--iaqf-text-muted);
  font-size: 14px;
  font-weight: 700;
}

.iaqf-progress-track {
  width: 100%;
  height: 8px;
  overflow: hidden;
  background: var(--iaqf-muted);
  border-radius: 999px;
}

.iaqf-progress-fill {
  height: 100%;
  width: 0;
  background: var(--iaqf-primary);
  border-radius: inherit;
  transition: width 240ms ease;
}

.iaqf-title {
  margin: 0 0 8px;
  color: var(--iaqf-secondary);
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: 0;
}

.iaqf-description {
  margin: 0 0 32px;
  color: var(--iaqf-text-muted);
  font-size: 16px;
  line-height: 1.65;
}

.iaqf-field-area {
  margin-bottom: 40px;
}

.iaqf-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.iaqf-choice-stack {
  display: grid;
  gap: 12px;
}

.iaqf-choice-button,
.iaqf-number-button,
.iaqf-year-button {
  appearance: none;
  cursor: pointer;
  font-family: inherit;
}

.iaqf-choice-button {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px;
  color: rgba(17, 24, 39, 0.84);
  text-align: left;
  background: #ffffff;
  border: 2px solid var(--iaqf-border);
  border-radius: 14px;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.iaqf-choice-button:hover,
.iaqf-choice-button.is-selected {
  background: rgba(29, 209, 161, 0.06);
  border-color: var(--iaqf-primary);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.iaqf-choice-radio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border: 2px solid #94a3b8;
  border-radius: 999px;
}

.iaqf-choice-button.is-selected .iaqf-choice-radio {
  border-color: var(--iaqf-primary);
}

.iaqf-choice-button.is-selected .iaqf-choice-radio::after {
  display: block;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--iaqf-primary);
  border-radius: inherit;
}

.iaqf-choice-icon {
  font-size: 22px;
  line-height: 1;
}

.iaqf-choice-label {
  font-size: 18px;
  font-weight: 800;
}

.iaqf-label {
  display: block;
  margin-bottom: 8px;
  color: var(--iaqf-secondary);
  font-size: 14px;
  font-weight: 800;
}

.iaqf-input,
.iaqf-select {
  display: block;
  width: 100%;
  height: 56px;
  padding: 0 16px;
  color: var(--iaqf-secondary);
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid var(--iaqf-border);
  border-radius: 10px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.iaqf-input:focus,
.iaqf-select:focus {
  border-color: var(--iaqf-primary);
  box-shadow: 0 0 0 3px rgba(29, 209, 161, 0.18);
}

.iaqf-short-input {
  max-width: 260px;
  letter-spacing: 0.08em;
}

.iaqf-number-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.iaqf-number-button,
.iaqf-year-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  color: var(--iaqf-secondary);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  background: #ffffff;
  border: 2px solid var(--iaqf-border);
  border-radius: 14px;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.iaqf-number-button:hover,
.iaqf-number-button.is-selected,
.iaqf-year-button:hover,
.iaqf-year-button.is-selected {
  color: var(--iaqf-secondary);
  background: rgba(29, 209, 161, 0.1);
  border-color: var(--iaqf-primary);
}

.iaqf-year-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  max-height: 240px;
  padding-right: 4px;
  overflow-y: auto;
}

.iaqf-year-button {
  min-height: 46px;
  font-size: 15px;
}

.iaqf-success .iaqf-button {
  margin-top: 22px;
  text-decoration: none;
}

.iaqf-consent {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid var(--iaqf-border);
  border-radius: 14px;
}

.iaqf-input + .iaqf-consent {
  margin-top: 18px;
}

.iaqf-consent input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--iaqf-primary);
}

.iaqf-consent span {
  color: var(--iaqf-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.iaqf-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--iaqf-border);
}

.iaqf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  cursor: pointer;
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: opacity 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.iaqf-button:active {
  transform: scale(0.98);
}

.iaqf-button-primary {
  margin-left: auto;
  color: #111827;
  background: var(--iaqf-primary);
  border: 1px solid var(--iaqf-primary);
}

.iaqf-button-primary:hover {
  background: #18bd91;
}

.iaqf-button-secondary {
  color: var(--iaqf-secondary);
  background: #ffffff;
  border: 1px solid var(--iaqf-border);
}

.iaqf-button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

.iaqf-secure-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  color: var(--iaqf-text-muted);
  font-size: 12px;
  font-weight: 700;
}

.iaqf-alert {
  padding: 12px 14px;
  margin-bottom: 20px;
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}

.iaqf-success {
  max-width: 520px;
  padding: 48px 0;
  margin: 0 auto;
  text-align: center;
}

.iaqf-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  color: var(--iaqf-secondary);
  background: rgba(29, 209, 161, 0.18);
  border-radius: 999px;
  font-size: 40px;
}

.iaqf-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

@media (max-width: 640px) {
  .iaqf-header {
    min-height: 60px;
  }

  .iaqf-logo {
    height: 28px;
  }

  .iaqf-main {
    padding: 20px 12px 44px;
  }

  .iaqf-card {
    min-height: 500px;
    padding: 22px;
    border-radius: 20px;
  }

  .iaqf-choice-grid,
  .iaqf-number-grid {
    grid-template-columns: 1fr;
  }

  .iaqf-year-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .iaqf-year-button {
    min-height: 70px;
    font-size: 19px;
    line-height: 1;
  }

  .iaqf-actions {
    flex-direction: column;
  }

  .iaqf-button,
  .iaqf-button-primary,
  .iaqf-button-secondary {
    width: 100%;
    margin-left: 0;
  }
}
