/* iProply Become an Agent - premium homepage-aligned UI */

body {
  font-family: var(--font-heading);
}

.agent-hero {
  position: relative;
  z-index: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  margin-top: calc(-1 * var(--nav-height));
  padding: calc(var(--nav-height) + 58px) 0 56px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.agent-hero::before,
.agent-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.agent-hero::before {
  width: min(58vw, 760px);
  height: min(58vw, 760px);
  right: -13vw;
  top: 7%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.2), rgba(250, 204, 21, 0.08) 34%, transparent 66%);
  filter: blur(8px);
}

.agent-hero::after {
  inset: auto -8% -18% -8%;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.78));
}

.agent-hero__bg,
.agent-hero__bg img,
.agent-hero__overlay {
  position: absolute;
  inset: 0;
}

.agent-hero__bg {
  z-index: 0;
}

.agent-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.06);
  transform: scale(1.02);
}

.agent-hero__overlay {
  background:
    radial-gradient(850px 520px at 78% 28%, rgba(250, 204, 21, 0.16), transparent 62%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.94) 0%, rgba(4, 20, 39, 0.82) 45%, rgba(2, 6, 23, 0.56) 100%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.42) 0%, rgba(2, 6, 23, 0.22) 46%, rgba(2, 6, 23, 0.9) 100%);
  z-index: 1;
}

.agent-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
  gap: 2rem 4rem;
  align-items: center;
  width: 100%;
}

.agent-hero__copy {
  max-width: 800px;
}

.agent-eyebrow,
.agent-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  color: #ffc107;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}

.agent-eyebrow::before,
.agent-label::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: #ffc107;
}

.agent-label {
  color: var(--primary);
}

.agent-label::before {
  background: var(--primary);
}

.agent-label--gold {
  color: #ffc107;
}

.agent-label--gold::before {
  background: #ffc107;
}

.agent-hero h1 {
  max-width: 820px;
  margin: 0 0 1.15rem;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 5.25rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
  text-shadow: 0 18px 54px rgba(2, 6, 23, 0.44);
}

.agent-hero h1 em,
.agent-hero__gold {
  color: #ffc107;
  font-style: normal;
}

.agent-hero__copy > p:not(.agent-eyebrow) {
  max-width: 700px;
  margin: 0 0 2.2rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.13rem;
  line-height: 1.72;
}

.agent-hero__actions,
.agent-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.agent-hero__actions .btn {
  min-height: 58px;
  padding: 1rem 1.65rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-hero__actions .btn-primary {
  background: linear-gradient(135deg, var(--gold-200), var(--gold-50));
  color: var(--navy-900);
  box-shadow: 0 18px 38px rgba(234, 179, 8, 0.3);
}

.agent-hero__actions .btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-100));
  color: var(--navy-900);
  box-shadow: 0 22px 46px rgba(234, 179, 8, 0.38);
}

.agent-btn-glass {
  border-color: rgba(255, 255, 255, 0.55) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

.agent-btn-glass:hover {
  border-color: #fff !important;
  background: #fff !important;
  color: var(--navy-900) !important;
}

.agent-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.68rem;
  margin-top: 1.35rem;
}

.agent-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  min-height: 38px;
  padding: 0.55rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.18);
}

.agent-trust-pill i {
  color: #ffc107;
}

.agent-hero-card {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding: 1.08rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08)),
    rgba(4, 20, 39, 0.42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 34px 90px rgba(2, 6, 23, 0.44);
  overflow: hidden;
}

.agent-hero-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 27px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.agent-hero-card__glow {
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.28), transparent 66%);
  animation: agentGlowPulse 5.8s ease-in-out infinite;
}

.agent-hero-card__top,
.agent-lead-alert,
.agent-lead-form,
.agent-card-metrics,
.agent-growth-preview {
  position: relative;
  z-index: 1;
}

.agent-hero-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.55rem 0.35rem;
}

.agent-hero-card__top span,
.agent-card-metrics span,
.agent-growth-preview__head span,
.agent-lead-form label span {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.agent-hero-card__top strong {
  display: block;
  margin-top: 0.22rem;
  color: #fff;
  font-size: 1.14rem;
  line-height: 1.2;
}

.agent-hero-card__status {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.44rem 0.7rem;
  border: 1px solid rgba(72, 187, 120, 0.3);
  border-radius: 999px;
  background: rgba(72, 187, 120, 0.12);
  color: #9ae6b4;
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.agent-hero-card__status i {
  font-size: 0.48rem;
}

.agent-lead-alert {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 0.82rem;
  align-items: center;
  padding: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(4, 20, 39, 0.5);
  box-shadow: 0 18px 46px rgba(2, 6, 23, 0.22);
  animation: agentMicroFloat 6.2s ease-in-out infinite;
}

.agent-lead-alert__icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.28), rgba(202, 138, 4, 0.18));
  color: #ffc107;
}

.agent-lead-alert strong,
.agent-lead-alert span {
  display: block;
}

.agent-lead-alert strong {
  color: #fff;
  font-size: 0.93rem;
  line-height: 1.24;
}

.agent-lead-alert span,
.agent-lead-alert small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
}

.agent-lead-alert small {
  font-weight: 800;
  white-space: nowrap;
}

.agent-lead-form {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
}

.agent-lead-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.agent-lead-form label {
  min-width: 0;
}

.agent-lead-form label span {
  margin-bottom: 0.38rem;
  color: rgba(255, 255, 255, 0.66);
}

.agent-lead-form input {
  width: 100%;
  min-height: 46px;
  padding: 0.75rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  outline: none;
  background: rgba(2, 6, 23, 0.28);
  color: #fff;
  font: 700 0.9rem/1.2 var(--font-heading);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.agent-lead-form input::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.agent-lead-form input:focus {
  border-color: rgba(250, 204, 21, 0.7);
  background: rgba(2, 6, 23, 0.38);
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.12);
}

.agent-lead-form__button {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.85rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-200), var(--gold-50));
  color: var(--navy-900);
  cursor: pointer;
  font: 900 0.78rem/1 var(--font-heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 16px 32px rgba(234, 179, 8, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.agent-lead-form__button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-100));
  box-shadow: 0 20px 38px rgba(234, 179, 8, 0.34);
}

.agent-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.agent-card-metrics div,
.agent-growth-preview {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(4, 20, 39, 0.44);
}

.agent-card-metrics div {
  padding: 0.82rem;
}

.agent-card-metrics strong {
  display: block;
  margin-top: 0.38rem;
  color: #ffc107;
  font-size: 1.35rem;
  line-height: 1;
}

.agent-growth-preview {
  padding: 0.95rem;
}

.agent-growth-preview__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.agent-growth-preview__head strong {
  color: #9ae6b4;
  font-size: 0.95rem;
}

.agent-growth-bars {
  display: flex;
  align-items: end;
  gap: 0.55rem;
  height: 88px;
  margin-top: 0.85rem;
}

.agent-growth-bars span {
  flex: 1;
  min-width: 0;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #ffc107, rgba(255, 193, 7, 0.18));
  box-shadow: 0 0 18px rgba(255, 193, 7, 0.15);
}

.agent-hero-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  width: 100%;
  margin-top: 0.2rem;
}

.agent-stat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.92rem;
  min-height: 106px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.26);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.agent-stat::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -58px;
  top: -58px;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.12);
  pointer-events: none;
}

.agent-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 193, 7, 0.46);
  box-shadow: 0 30px 68px rgba(2, 6, 23, 0.34);
}

.agent-stat__icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffc107;
  font-size: 1.65rem;
}

.agent-stat__num {
  color: #ffc107;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.agent-stat__label {
  margin-top: 0.52rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@keyframes agentMicroFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.agent-section {
  padding: 5.5rem 0;
  background: #fff;
}

.agent-section--warm {
  background: var(--cream);
}

.agent-section-head {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.agent-section-head--center {
  margin-inline: auto;
  text-align: center;
}

.agent-section-head--center .agent-label {
  justify-content: center;
}

.agent-section-head h2,
.agent-split__content h2,
.agent-dashboard-copy h2,
.agent-faq-copy h2,
.agent-final-cta h2 {
  margin: 0 0 0.85rem;
  color: var(--navy-900);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.3vw, 3rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

.agent-section-head p,
.agent-muted,
.agent-dashboard-copy p,
.agent-faq-copy p,
.agent-final-cta p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.72;
}

.agent-section-head--center p {
  max-width: 650px;
  margin-inline: auto;
}

.agent-card-grid {
  display: grid;
  gap: 1.35rem;
}

.agent-card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.agent-feature-card,
.agent-step-card,
.agent-testimonial,
.agent-plan,
.agent-addon-card,
.agent-faq-item {
  border: 1px solid rgba(15, 39, 71, 0.1);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(4, 20, 39, 0.06);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.agent-feature-card:hover,
.agent-step-card:hover,
.agent-testimonial:hover,
.agent-plan:hover,
.agent-addon-card:hover {
  transform: translateY(-4px);
  border-color: rgba(234, 179, 8, 0.36);
  box-shadow: 0 22px 42px rgba(4, 20, 39, 0.12);
}

.agent-feature-card {
  padding: 1.55rem;
}

.agent-feature-card__icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #ffc107;
  font-size: 1.15rem;
}

.agent-feature-card h3,
.agent-step-card h3,
.agent-plan h3 {
  margin: 0 0 0.55rem;
  color: var(--navy-900);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.25;
}

.agent-feature-card p,
.agent-step-card p,
.agent-testimonial p,
.agent-plan p,
.agent-addon-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.68;
}

.agent-split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 4.5rem;
  align-items: center;
}

.agent-image-stack {
  position: relative;
  min-width: 0;
}

.agent-image-stack__main {
  width: 100%;
  height: 560px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 24px 50px rgba(4, 20, 39, 0.16);
}

.agent-image-stack::before {
  content: "";
  position: absolute;
  inset: 1.35rem 1.35rem -1.35rem -1.35rem;
  z-index: -1;
  border: 2px solid rgba(234, 179, 8, 0.24);
  border-radius: 22px;
}

.agent-floating-note {
  position: absolute;
  right: -1rem;
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 280px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 14px;
  background: rgba(4, 20, 39, 0.82);
  color: #fff;
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.22);
  backdrop-filter: blur(14px);
}

.agent-floating-note i {
  color: #ffc107;
  font-size: 1.3rem;
}

.agent-floating-note span {
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

.agent-check-list {
  display: grid;
  gap: 0.78rem;
  margin: 1.45rem 0 2rem;
  padding: 0;
  list-style: none;
}

.agent-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.55;
}

.agent-check-list i,
.agent-plan li i {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: rgba(72, 187, 120, 0.14);
  color: var(--success);
  font-size: 0.72rem;
}

.agent-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.agent-step-card {
  position: relative;
  padding: 2rem;
  overflow: hidden;
}

.agent-step-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(234, 179, 8, 0.08);
}

.agent-step-card__num {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #ffc107;
  font-size: 1.3rem;
  font-weight: 900;
}

.agent-dashboard-section {
  padding: 5.5rem 0;
  background:
    radial-gradient(800px 460px at 88% 22%, rgba(234, 179, 8, 0.14), transparent 58%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  overflow: hidden;
}

.agent-dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 3.5rem;
  align-items: center;
}

.agent-dashboard-copy h2,
.agent-final-cta h2 {
  color: #fff;
}

.agent-dashboard-copy p,
.agent-final-cta p {
  color: rgba(255, 255, 255, 0.75);
}

.agent-dashboard-mock {
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.36);
}

.agent-dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.85rem 1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-dashboard-top i {
  margin-left: 0.35rem;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.48rem;
}

.agent-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.agent-metric,
.agent-chart-card,
.agent-conversion-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(4, 20, 39, 0.58);
}

.agent-metric {
  padding: 1rem;
}

.agent-metric span,
.agent-chart-head span,
.agent-conversion-card span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-metric strong,
.agent-chart-head strong,
.agent-conversion-card strong {
  display: block;
  margin-top: 0.45rem;
  color: #ffc107;
  font-size: 1.85rem;
  line-height: 1;
}

.agent-metric small {
  display: block;
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
}

.agent-chart-card {
  margin-top: 0.75rem;
  padding: 1.15rem;
}

.agent-chart-head,
.agent-conversion-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.agent-bars {
  display: flex;
  align-items: end;
  gap: 0.65rem;
  height: 150px;
  margin-top: 1.2rem;
}

.agent-bars span {
  flex: 1;
  min-width: 0;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #ffc107, rgba(255, 193, 7, 0.24));
}

.agent-conversion-card {
  margin-top: 0.75rem;
  padding: 1.1rem;
}

.agent-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: conic-gradient(#ffc107 0 74%, rgba(255, 255, 255, 0.12) 74% 100%);
  position: relative;
}

.agent-ring::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--navy-900);
}

.agent-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.agent-testimonial {
  padding: 1.65rem;
}

.agent-stars {
  display: flex;
  gap: 0.22rem;
  margin-bottom: 1rem;
  color: #ffc107;
  font-size: 0.82rem;
}

.agent-testimonial p {
  color: var(--navy-800);
  font-style: italic;
}

.agent-testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.agent-testimonial__author img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.agent-testimonial__author strong,
.agent-testimonial__author span {
  display: block;
}

.agent-testimonial__author strong {
  color: var(--navy-900);
  font-size: 0.92rem;
}

.agent-testimonial__author span {
  margin-top: 0.15rem;
  color: var(--text-secondary);
  font-size: 0.78rem;
}

/* Agent pricing content */
.agent-section--pricing {
  background:
    radial-gradient(700px 420px at 12% 8%, rgba(234, 179, 8, 0.1), transparent 60%),
    linear-gradient(180deg, #fff, #faf8f5);
}

.agent-pricing-radius {
  scroll-margin-top: calc(var(--nav-height) + 1rem);
  padding-bottom: 0;
}

.agent-pricing-radius .pricing-formula-banner {
  margin-bottom: 2rem;
}

.agent-pricing-calculator-app {
  background: #f4f6f8;
  padding: 3rem 0 2rem;
}

.agent-pricing-plans {
  padding-top: 3rem;
  padding-bottom: 4rem;
  background: #fff;
}

.agent-pricing-showcase {
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}

.agent-pricing-formula {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.4rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(15, 39, 71, 0.1);
  border-radius: 20px;
  background:
    radial-gradient(440px 220px at 85% 0%, rgba(234, 179, 8, 0.17), transparent 70%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  box-shadow: 0 24px 54px rgba(4, 20, 39, 0.14);
  overflow: hidden;
}

.agent-pricing-formula span,
.agent-pricing-formula strong,
.agent-pricing-formula p {
  display: block;
}

.agent-pricing-formula span {
  color: #ffc107;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.agent-pricing-formula strong {
  margin-top: 0.4rem;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.agent-pricing-formula p {
  max-width: 680px;
  margin: 0.7rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.agent-pricing-formula .btn {
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-200), var(--gold-50));
  color: var(--navy-900);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  align-items: stretch;
}

.agent-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  overflow: hidden;
}

.agent-plan::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -92px;
  top: -92px;
  border-radius: 50%;
  background: rgba(234, 179, 8, 0.08);
  pointer-events: none;
}

.agent-plan__icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #ffc107;
  font-size: 1.24rem;
}

.agent-plan__range {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 0.85rem;
  padding: 0.34rem 0.75rem;
  border-radius: 999px;
  background: rgba(234, 179, 8, 0.1);
  color: var(--gold-50);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-plan--popular {
  border-color: rgba(234, 179, 8, 0.58);
  box-shadow: 0 24px 48px rgba(4, 20, 39, 0.13);
}

.agent-plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-100), var(--gold-200));
  color: var(--navy-900);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.agent-plan__price {
  display: flex;
  align-items: end;
  gap: 0.35rem;
  margin: 1.2rem 0;
}

.agent-plan__price strong {
  color: var(--primary);
  font-size: 3rem;
  line-height: 0.95;
}

.agent-plan__price span {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.agent-plan ul {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.agent-plan li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.45;
}

.agent-plan__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1rem;
  border: 2px solid var(--primary);
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 220ms ease;
}

.agent-plan__button:hover {
  background: var(--primary);
  color: #fff;
}

.agent-plan__button--gold {
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-100), var(--gold-200));
  color: var(--navy-900);
  box-shadow: 0 14px 28px rgba(234, 179, 8, 0.22);
}

.agent-plan__button--gold:hover {
  background: linear-gradient(135deg, var(--gold-200), var(--gold-300));
  color: var(--navy-900);
}

.agent-addons {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 2rem;
  margin-top: 1.6rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(15, 39, 71, 0.08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(4, 20, 39, 0.07);
}

.agent-addons__head .agent-label {
  margin-bottom: 0.8rem;
}

.agent-addons__head h3 {
  margin: 0 0 0.7rem;
  color: var(--navy-900);
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.08;
}

.agent-addons__head p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.68;
}

.agent-addons__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.agent-addon-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem;
}

.agent-addon-card__icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(234, 179, 8, 0.1);
  color: var(--gold-50);
  font-size: 1.15rem;
}

.agent-addon-card h4 {
  margin: 0 0 0.28rem;
  color: var(--navy-900);
  font-size: 1rem;
  font-weight: 900;
}

.agent-addon-card strong {
  display: block;
  margin-bottom: 0.42rem;
  color: var(--primary);
  font-size: 0.88rem;
}

.agent-pricing-note {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.15rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(15, 39, 71, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-secondary);
}

.agent-pricing-note i {
  color: var(--gold-50);
  font-size: 1.2rem;
}

.agent-pricing-note p {
  flex: 1;
  margin: 0;
  line-height: 1.55;
}

.agent-pricing-note a {
  color: var(--primary);
  font-weight: 900;
  white-space: nowrap;
}

.agent-faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  gap: 3rem;
  align-items: start;
}

.agent-faq-list {
  display: grid;
  gap: 0.8rem;
}

.agent-faq-item {
  overflow: hidden;
}

.agent-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 1rem 1.25rem;
  color: var(--navy-900);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.agent-faq-item summary::-webkit-details-marker {
  display: none;
}

.agent-faq-item summary i {
  color: var(--gold-50);
  font-size: 0.85rem;
  transition: transform 180ms ease;
}

.agent-faq-item[open] summary i {
  transform: rotate(180deg);
}

.agent-faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.agent-section--cta {
  padding-top: 0;
}

.agent-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 2rem;
  align-items: center;
  min-height: 330px;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 24px;
  background:
    radial-gradient(500px 280px at 92% 20%, rgba(255, 193, 7, 0.18), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(4, 20, 39, 0.18);
}

.agent-final-cta p {
  max-width: 680px;
  margin-bottom: 1.8rem;
}

.agent-line-home {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  margin-left: auto;
  border: 2px solid rgba(255, 193, 7, 0.55);
  border-radius: 50%;
  color: #ffc107;
  font-size: 4.8rem;
}

.reveal-ba {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal-ba.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-ba-d1 {
  transition-delay: 90ms;
}

.reveal-ba-d2 {
  transition-delay: 180ms;
}

.reveal-ba-d3 {
  transition-delay: 270ms;
}

@media (max-width: 1180px) {
  .agent-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
    gap: 2rem;
  }

  .agent-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agent-card-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agent-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .agent-hero {
    min-height: auto;
    padding: 112px 0 54px;
  }

  .agent-pricing-formula,
  .agent-pricing-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .agent-pricing-formula .btn {
    width: 100%;
  }

  .agent-hero__inner,
  .agent-split,
  .agent-addons,
  .agent-dashboard-layout,
  .agent-faq-layout {
    grid-template-columns: 1fr;
  }

  .agent-hero-card {
    max-width: 680px;
  }

  .agent-image-stack__main {
    height: min(62vw, 460px);
    min-height: 300px;
  }

  .agent-testimonial-grid,
  .agent-pricing-grid,
  .agent-steps {
    grid-template-columns: 1fr;
  }

  .agent-final-cta {
    grid-template-columns: 1fr;
  }

  .agent-line-home {
    margin: 0;
  }
}

@media (max-width: 640px) {
  .agent-hero {
    padding: 96px 0 44px;
  }

  .agent-hero h1 {
    font-size: clamp(2.1rem, 11vw, 3rem);
  }

  .agent-hero__copy > p:not(.agent-eyebrow),
  .agent-section-head p,
  .agent-muted,
  .agent-dashboard-copy p,
  .agent-faq-copy p,
  .agent-final-cta p {
    font-size: 0.96rem;
  }

  .agent-hero__actions .btn,
  .agent-final-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .agent-trust-row {
    gap: 0.55rem;
  }

  .agent-trust-pill {
    width: 100%;
    justify-content: center;
  }

  .agent-hero-card {
    padding: 0.82rem;
    border-radius: 18px;
  }

  .agent-hero-card::before {
    border-radius: 17px;
  }

  .agent-hero-card__top,
  .agent-lead-alert {
    align-items: flex-start;
  }

  .agent-hero-card__top {
    flex-direction: column;
    gap: 0.75rem;
  }

  .agent-lead-alert {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .agent-lead-alert__icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .agent-lead-alert small {
    grid-column: 2;
  }

  .agent-lead-form__grid {
    grid-template-columns: 1fr;
  }

  .agent-card-metrics {
    gap: 0.5rem;
  }

  .agent-card-metrics div {
    padding: 0.7rem;
  }

  .agent-card-metrics strong {
    font-size: 1.12rem;
  }

  .agent-growth-bars {
    height: 70px;
  }

  .agent-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .agent-card-grid--four,
  .agent-addons__grid,
  .agent-metric-grid {
    grid-template-columns: 1fr;
  }

  .agent-addon-card {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .agent-addon-card__icon {
    width: 46px;
    height: 46px;
  }

  .agent-section,
  .agent-dashboard-section {
    padding: 3.4rem 0;
  }

  .agent-stat {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.85rem;
  }

  .agent-stat__icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    font-size: 1.18rem;
  }

  .agent-stat__num {
    font-size: 1.34rem;
    white-space: normal;
  }

  .agent-stat__label {
    margin-top: 0.42rem;
    font-size: 0.62rem;
    white-space: normal;
  }

  .agent-floating-note,
  .agent-image-stack::before,
  .agent-line-home {
    display: none;
  }

  .agent-dashboard-mock,
  .agent-hero-card,
  .agent-feature-card,
  .agent-step-card,
  .agent-testimonial,
  .agent-plan,
  .agent-final-cta {
    border-radius: 14px;
  }

  .agent-final-cta {
    min-height: auto;
  }
}

@media (max-width: 420px) {
  .agent-hero-stats,
  .agent-card-metrics {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .agent-hero-card__glow,
  .agent-lead-alert {
    animation: none;
  }
}

/* Onboarding, Checklist & Disclaimer Upgrades */
.agent-apply-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3.5rem;
  margin-top: 5rem;
  align-items: start;
}

.agent-apply-requirements h3 {
  margin: 0 0 0.5rem;
  color: var(--navy-900);
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
}

.agent-muted-text {
  margin: 0 0 2rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

.agent-requirements-list {
  display: grid;
  gap: 1.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.agent-requirements-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1.15rem;
  align-items: center;
  padding: 1.15rem;
  border: 1px solid rgba(15, 39, 71, 0.08);
  border-radius: 14px;
  background: #fff;
  transition: all 220ms ease;
  box-shadow: 0 4px 12px rgba(4, 20, 39, 0.03);
}

.agent-requirements-list li:hover {
  transform: translateX(4px);
  border-color: rgba(234, 179, 8, 0.3);
  box-shadow: 0 8px 20px rgba(4, 20, 39, 0.06);
}

.agent-req-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(234, 179, 8, 0.09);
  color: #d97706;
  font-size: 1.25rem;
  transition: all 220ms ease;
}

.agent-requirements-list li:hover .agent-req-icon {
  background: var(--navy-900);
  color: #ffc107;
}

.agent-requirements-list li strong {
  display: block;
  color: var(--navy-900);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.agent-requirements-list li span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.agent-apply-cta-box {
  position: sticky;
  top: 100px;
}

.agent-apply-cta-card {
  position: relative;
  padding: 2.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #fff;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.agent-apply-cta-card__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(300px at 80% 20%, rgba(255, 193, 7, 0.15), transparent 70%);
  z-index: 1;
}

.agent-apply-cta-card__content {
  position: relative;
  z-index: 2;
}

.agent-apply-cta-card h3 {
  margin: 0 0 0.85rem;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
}

.agent-apply-cta-card p {
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.98rem;
  line-height: 1.65;
}

.agent-apply-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.agent-apply-actions .btn {
  width: 100%;
  justify-content: center;
}

.agent-disclaimer-box {
  margin-top: 4.5rem;
  padding: 1.85rem;
  border-radius: 16px;
  background: rgba(15, 39, 71, 0.03);
  border: 1px dashed rgba(15, 39, 71, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.agent-disclaimer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--navy-900);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-disclaimer-badge i {
  color: #ffc107;
  font-size: 1rem;
}

.agent-disclaimer-box p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .agent-apply-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 4rem;
  }

  .agent-apply-cta-box {
    position: static;
  }

  .agent-apply-actions {
    flex-direction: row;
  }

  .agent-apply-actions .btn {
    flex: 1;
  }
}

@media (max-width: 640px) {
  .agent-apply-actions {
    flex-direction: column;
  }
  
  .agent-apply-grid {
    margin-top: 3rem;
  }
  
  .agent-disclaimer-box {
    margin-top: 3rem;
    padding: 1.35rem;
  }
}
