:root {
  --gro-green: #04724d;
  --gro-black: #1d201f;
  --gro-white: #ffffff;
  --gro-grey: #efefef;

  --gro-green-dark: #03593c;
  --gro-green-soft: rgba(4, 114, 77, 0.08);
  --gro-green-glow: rgba(4, 114, 77, 0.18);

  --text-dark: #1d201f;
  --text-body: rgba(29, 32, 31, 0.72);
  --text-muted: rgba(29, 32, 31, 0.48);

  --font-headline: "Gotham Bold", Arial, sans-serif;
  --font-body: "Open Sans", Arial, sans-serif;
}

#magnetic-leads-form,
#magnetic-leads-form * {
  box-sizing: border-box;
}

#magnetic-leads-form {
  width: 100%;
  font-family: var(--font-body);
  color: var(--text-dark);
  overflow: visible !important;
}

.mag-form-shell {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  overflow: visible !important;
}

.mag-form-card {
  position: relative;
  border-radius: 0;
  overflow: visible !important;
}

.mag-form-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 0;
  background: linear-gradient(
    135deg,
    rgba(4, 114, 77, 0.75),
    rgba(255, 255, 255, 0.65),
    rgba(4, 114, 77, 0.32),
    rgba(255, 255, 255, 0.85),
    rgba(4, 114, 77, 0.75)
  );
  background-size: 300% 300%;
  animation: magBorderShimmer 9s ease infinite;
  z-index: 0;
}

.mag-form-card::after {
  content: "";
  position: absolute;
  inset: -42px;
  border-radius: 0;
  background: radial-gradient(
    circle,
    rgba(4, 114, 77, 0.16),
    rgba(4, 114, 77, 0.07),
    transparent 72%
  );
  filter: blur(38px);
  opacity: 0.8;
  z-index: 0;
  animation: magCardPulse 4.5s ease-in-out infinite;
}

@keyframes magBorderShimmer {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

@keyframes magCardPulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(0.99);
  }

  50% {
    opacity: 0.85;
    transform: scale(1.02);
  }
}

.mag-form-inner {
  position: relative;
  z-index: 2;
  border-radius: 0;
  padding: 42px 38px;
  background: linear-gradient(180deg, var(--gro-white), var(--gro-grey));
  box-shadow:
    0 30px 80px rgba(29, 32, 31, 0.18),
    0 10px 30px rgba(29, 32, 31, 0.08);
  overflow: hidden;
}

.mag-form-title {
  margin: 0 0 6px;
  color: var(--gro-green);
  text-align: center;
  font-family: var(--font-headline);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mag-form-sub {
  margin: 0 0 24px;
  color: var(--text-body);
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
}

.mag-progress {
  margin-bottom: 28px;
}

.mag-progress-bar {
  width: 100%;
  height: 5px;
  background: rgba(29, 32, 31, 0.1);
  border-radius: 0;
  overflow: hidden;
}

.mag-progress-fill {
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, var(--gro-green), var(--gro-green-dark));
  border-radius: 0;
  box-shadow: 0 0 10px rgba(4, 114, 77, 0.16);
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.mag-progress-label {
  margin-top: 8px;
  color: var(--text-muted);
  text-align: right;
  font-family: var(--font-body);
  font-size: 12px;
}

.mag-step {
  display: none;
}

.mag-step.active {
  display: block;
  animation: magStepFadeIn 0.35s ease;
}

@keyframes magStepFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mag-question {
  margin-bottom: 8px;
  color: var(--gro-black);
  font-family: var(--font-headline);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 700;
}

.mag-subtext {
  margin-bottom: 24px;
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

.mag-options {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.mag-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 15px 16px;
  border: 1px solid rgba(29, 32, 31, 0.12);
  border-radius: 0;
  background: var(--gro-white);
  color: var(--gro-black);
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.22s ease;
  user-select: none;
}

.mag-option:hover {
  border-color: rgba(4, 114, 77, 0.42);
  background: var(--gro-white);
  box-shadow: 0 8px 24px rgba(4, 114, 77, 0.08);
  transform: translateY(-1px);
}

.mag-option.selected {
  border-color: var(--gro-green);
  background: var(--gro-green-soft);
  box-shadow: 0 10px 30px rgba(4, 114, 77, 0.09);
}

.mag-radio {
  width: 18px;
  height: 18px;
  display: inline-flex;
  flex: 0 0 18px;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(29, 32, 31, 0.25);
  border-radius: 999px;
  transition: all 0.22s ease;
}

.mag-radio::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gro-white);
  opacity: 0;
  transform: scale(0);
  transition: all 0.22s ease;
}

.mag-option.selected .mag-radio {
  border-color: var(--gro-green);
  background: var(--gro-green);
  box-shadow: 0 0 8px rgba(4, 114, 77, 0.18);
}

.mag-option.selected .mag-radio::after {
  opacity: 1;
  transform: scale(1);
}

.mag-select,
.mag-input {
  width: 100%;
  min-height: 56px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(29, 32, 31, 0.12);
  border-radius: 0;
  background: var(--gro-white);
  color: var(--gro-black);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
  outline: none;
  transition: all 0.25s ease;
}

.mag-select {
  cursor: pointer;
}

.mag-select option {
  color: var(--gro-black);
  background: var(--gro-white);
}

.mag-input::placeholder {
  color: rgba(29, 32, 31, 0.42);
}

.mag-select:focus,
.mag-input:focus {
  border-color: rgba(4, 114, 77, 0.65);
  background: var(--gro-white);
  box-shadow: 0 0 0 4px rgba(4, 114, 77, 0.08);
}

.mag-submit {
  width: 100%;
  min-height: 58px;
  position: relative;
  z-index: 1;
  margin-top: 4px;
  padding: 16px 22px;
  border: none;
  border-radius: 0;
  background: linear-gradient(135deg, var(--gro-green), var(--gro-green-dark));
  color: var(--gro-white);
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(4, 114, 77, 0.18);
  transition: all 0.25s ease;
}

.mag-submit::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 0;
  background: rgba(4, 114, 77, 0.32);
  filter: blur(16px);
  opacity: 0.18;
  z-index: -1;
  animation: magButtonPulse 2.8s ease-in-out infinite;
}

@keyframes magButtonPulse {
  0%, 100% {
    opacity: 0.12;
    transform: scale(1);
  }

  50% {
    opacity: 0.26;
    transform: scale(1.025);
  }
}

.mag-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(4, 114, 77, 0.24);
  filter: brightness(1.02);
}

.mag-submit:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.mag-back {
  margin: 0 0 18px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.mag-back:hover {
  color: var(--gro-black);
}

.mag-privacy {
  margin: 14px 0 0;
  color: var(--text-muted);
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.45;
}

.mag-privacy a,
.mag-privacy a:link,
.mag-privacy a:visited,
.mag-privacy a:hover,
.mag-privacy a:active,
.mag-privacy a:focus,
.mag-trust a,
.mag-trust a:link,
.mag-trust a:visited,
.mag-trust a:hover,
.mag-trust a:active,
.mag-trust a:focus {
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  text-decoration: none !important;
}

.mag-privacy a:hover,
.mag-trust a:hover {
  opacity: 0.85;
}

.mag-trust {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}

.mag-trust span {
  flex: 1;
}

@media (max-width: 600px) {
  .mag-form-shell {
    max-width: 100%;
    padding: 16px;
  }

  .mag-form-card::after {
    inset: -18px;
    filter: blur(22px);
  }

  .mag-form-inner {
    padding: 30px 22px;
  }

  .mag-form-title {
    font-size: 14px;
    letter-spacing: 0.09em;
  }

  .mag-question {
    font-size: 20px;
  }

  .mag-trust {
    flex-direction: column;
    gap: 6px;
  }
}