/* Shared styles for employer AI feature marketing pages */

.employer-page,
.employer-page * {
  font-family: inherit;
}

.employer-page .fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.employer-page .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.employer-page .eaf-cta-hero-btn,
.employer-page .eaf-cta-bottom-btn,
.employer-page .eaf-cta-secondary-btn {
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

.cta-btn a {
  padding: 10px 36px;
  color: #fff !important;
}

.font-inherit {
  font-size: inherit;
}

/* Left-aligned section heading (matches React Section) */
.employer-page .eaf-section-head {
  max-width: 48rem;
  margin-bottom: 4rem;
  text-align: left;
}

.employer-page .eaf-section-head h2 {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #040d1a;
  line-height: 1.2;
}

.employer-page .eaf-section-head p {
  margin: 1rem 0 0;
  font-size: 1.125rem;
  line-height: 1.625;
  color: #4b5563;
}

/* Centered showcase heading */
.employer-page .eaf-showcase-head {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
  text-align: center;
}

.employer-page .eaf-showcase-head .eaf-kicker {
  margin-bottom: 0.75rem;
}

.employer-page .eaf-showcase-head h2 {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #040d1a;
  line-height: 1.2;
}

.employer-page .eaf-showcase-head p {
  margin: 1.25rem 0 0;
  font-size: 1.125rem;
  line-height: 1.625;
  color: #4b5563;
}

.employer-page .eaf-kicker {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.1);
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2563eb;
}

/* Grids */
.employer-page .eaf-grid-2,
.employer-page .eaf-grid-3,
.employer-page .eaf-grid-4,
.employer-page .eaf-grid-agents {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .employer-page .eaf-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .employer-page .eaf-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .employer-page .eaf-grid-4,
  .employer-page .eaf-grid-agents {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .employer-page .eaf-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .employer-page .eaf-grid-4,
  .employer-page .eaf-grid-agents {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Feature / hub / capability cards */
.employer-page .eaf-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(4, 13, 26, 0.04);
}

.employer-page .eaf-card-lg {
  padding: 2rem;
  border-radius: 1rem;
}

.employer-page .eaf-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  flex-shrink: 0;
}

.employer-page .eaf-card-icon-lg {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: #f9fafb;
  border: 1px solid #f3f4f6;
}

.employer-page .eaf-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.employer-page .eaf-card-icon-lg svg {
  width: 1.75rem;
  height: 1.75rem;
}

.employer-page .eaf-card h3 {
  margin: 1rem 0 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #040d1a;
}

.employer-page .eaf-card-lg h3 {
  margin-top: 1.5rem;
  font-size: 1.25rem;
}

.employer-page .eaf-card p {
  margin: 0.5rem 0 0;
  flex: 1 1 auto;
  font-size: 0.875rem;
  line-height: 1.625;
  color: #4b5563;
}

.employer-page .eaf-card-lg p {
  margin-top: 0.75rem;
  font-size: 1rem;
}

.employer-page .eaf-card-link {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2563eb !important;
  text-decoration: none;
}

.employer-page .eaf-card-link:hover {
  text-decoration: underline;
}

/* Proof bar */
.employer-page .eaf-proof-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.employer-page .eaf-proof-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.employer-page .eaf-proof-check svg {
  width: 1rem;
  height: 1rem;
}

.employer-page .eaf-proof-item h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #040d1a;
}

.employer-page .eaf-proof-item p {
  margin: 0.375rem 0 0;
  font-size: 0.875rem;
  line-height: 1.625;
  color: #4b5563;
}

/* Scale / reach stats section */
.employer-page .eaf-scale-section {
  background: #f9fafb;
}

.employer-page .eaf-scale-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.employer-page .eaf-card-stat {
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.employer-page .eaf-card-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 1rem 1rem 0 0;
  background: #bfdbfe;
}

.employer-page .eaf-card-stat:hover {
  box-shadow: 0 4px 12px rgba(4, 13, 26, 0.08);
  border-color: rgba(37, 99, 235, 0.2);
}

.employer-page .eaf-card-icon-accent {
  background: rgba(37, 99, 235, 0.1);
}

.employer-page .eaf-stat-number {
  margin-top: 1rem;
  font-size: 2.75rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #2563eb;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
  .employer-page .eaf-stat-number {
    font-size: 3.25rem;
  }
}

.employer-page .eaf-stat-label {
  margin: 0.5rem 0 0;
  font-weight: 600;
  color: #040d1a;
}

/* Agent bullets inside cards */
.employer-page .eaf-agent-bullets {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  flex: 1 1 auto;
}

.employer-page .eaf-agent-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: #4b5563;
}

.employer-page .eaf-agent-bullets li:last-child {
  margin-bottom: 0;
}

.employer-page .eaf-agent-bullets li::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  margin-top: 0.5rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.6);
}

/* Steps */
.employer-page .eaf-steps {
  display: grid;
  gap: 2rem;
  position: relative;
}

@media (min-width: 640px) {
  .employer-page .eaf-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .employer-page .eaf-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .employer-page .eaf-steps::before {
    content: "";
    position: absolute;
    top: 1.5rem;
    left: 3rem;
    right: 3rem;
    height: 2px;
    background: #f3f4f6;
  }
}

.employer-page .eaf-step {
  position: relative;
}

.employer-page .eaf-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: #0b1c2d;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  box-shadow: 0 10px 15px rgba(4, 13, 26, 0.15);
  ring: 4px solid #fff;
  position: relative;
  z-index: 1;
  border: 4px solid #fff;
}

.employer-page .eaf-step h3 {
  margin: 1.5rem 0 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #040d1a;
}

.employer-page .eaf-step p {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  line-height: 1.625;
  color: #4b5563;
}

/* FAQ accordion. Unlayered and specific so header-footer h3 sizes do not override it. */
.employer-page .eaf-ros-faq {
  padding: 8rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid #f3f4f6;
}

.employer-page .eaf-ros-faq .eaf-ros-faq-inner {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.employer-page .eaf-ros-faq .eaf-ros-faq-head {
  margin-bottom: 4rem;
  text-align: center;
}

.employer-page .eaf-ros-faq .eaf-ros-faq-head h2 {
  margin: 0 0 1rem;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #0b1c2d;
  text-align: center;
}

.employer-page .eaf-ros-faq .eaf-ros-faq-head p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #6b7280;
}

.employer-page .eaf-ros-faq .eaf-ros-faq-card {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  padding: 0.5rem;
}

.employer-page .eaf-ros-faq .accordion-item {
  padding-left: 1rem;
  padding-right: 1rem;
}

.employer-page .eaf-ros-faq .accordion-item:not(:last-child) {
  border-bottom: 1px solid #f3f4f6;
}

.employer-page .eaf-ros-faq .accordion-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  cursor: pointer;
  text-align: left;
  color: #0b1c2d;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.employer-page .eaf-ros-faq .accordion-item button:hover h3 {
  color: #2563eb;
}

.employer-page .eaf-ros-faq .accordion-item h3 {
  margin: 0;
  flex: 1;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: normal;
  color: #0b1c2d;
  text-align: left;
}

.employer-page .accordion-content { display: none; }

.employer-page .eaf-ros-faq .accordion-content {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.625;
  padding-bottom: 1.5rem;
}

.employer-page .accordion-item.open .accordion-content { display: block; }
.employer-page .accordion-item.open .accordion-icon { transform: rotate(180deg); }

.employer-page .eaf-ros-faq .accordion-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: #9ca3af;
  transition: transform 0.3s ease;
}

html[dir="rtl"] .employer-page .eaf-ros-faq .accordion-item button,
html[dir="rtl"] .employer-page .eaf-ros-faq .accordion-item h3,
body.rtl .employer-page .eaf-ros-faq .accordion-item button,
body.rtl .employer-page .eaf-ros-faq .accordion-item h3 {
  text-align: right;
}

/* Media / two-column row */
.employer-page .eaf-media-row {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .employer-page .eaf-media-row {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }

  .employer-page .eaf-media-row > * {
    flex: 1 1 0;
    min-width: 0;
  }

  .employer-page .eaf-media-row.eaf-media-image-left {
    flex-direction: row-reverse;
  }
}

.employer-page .eaf-media-copy .eaf-kicker {
  margin-bottom: 0;
}

.employer-page .eaf-media-copy h2 {
  margin: 1.25rem 0 0;
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #040d1a;
  line-height: 1.15;
}

.employer-page .eaf-media-copy > p {
  margin: 1.25rem 0 0;
  font-size: 1.125rem;
  line-height: 1.625;
  color: #4b5563;
}

.employer-page .eaf-check-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.employer-page .eaf-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.625;
  color: #374151;
  font-weight: 500;
}

.employer-page .eaf-check-list li:last-child {
  margin-bottom: 0;
}

.employer-page .eaf-check-list .eaf-proof-check {
  margin-top: 0.25rem;
}

/* Demo search under hero */
.employer-page .eaf-demo-wrap {
  max-width: 48rem;
  margin: 3rem auto 0;
}

.employer-page .eaf-demo-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 0.5rem;
  backdrop-filter: blur(8px);
}

@media (min-width: 640px) {
  .employer-page .eaf-demo-box {
    padding: 0.75rem;
  }
}

.employer-page .eaf-demo-inner {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.375rem;
}

.employer-page .eaf-demo-input {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent;
  color: #94a3b8;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  line-height: 1.625;
  min-height: 3rem;
}

@media (min-width: 640px) {
  .employer-page .eaf-demo-input {
    font-size: 1.125rem;
  }
}

.employer-page .eaf-demo-send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  background: #2563eb;
  color: #fff !important;
  text-decoration: none;
}

.employer-page .eaf-demo-send:hover {
  background: #1d4ed8;
}

.employer-page .eaf-demo-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 0 0.5rem;
}

@media (min-width: 640px) {
  .employer-page .eaf-demo-meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.employer-page .eaf-demo-meta p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #94a3b8;
}

.employer-page .eaf-demo-explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: #fff;
  color: #0b1c2d !important;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  text-decoration: none;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.employer-page .eaf-demo-explore:hover {
  background: #f1f5f9;
}

/* Mock product cards */
.employer-page .eaf-mock-card {
  background: #fff;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(4, 13, 26, 0.08);
  padding: 1.5rem;
  overflow: hidden;
}

.employer-page .eaf-mock-frame {
  border-radius: 1rem;
  border: 1px solid rgba(229, 231, 235, 0.9);
  background: #fff;
  box-shadow: 0 20px 40px rgba(4, 13, 26, 0.08);
  overflow: hidden;
}

.employer-page .eaf-mock-chrome {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  border-bottom: 1px solid #f3f4f6;
  background: rgba(249, 250, 251, 0.8);
  padding: 0.75rem 1rem;
}

.employer-page .eaf-mock-chrome span {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  background: #d1d5db;
}

.employer-page .eaf-mock-body {
  padding: 1.5rem;
}

.employer-page .eaf-mock-frame .eaf-shot,
.employer-page .eaf-mock-frame picture {
  display: block;
  width: 100%;
  height: auto;
}

.employer-page .eaf-mock-frame .eaf-shot {
  vertical-align: top;
}

.employer-page .eaf-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.employer-page .eaf-bullet-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.625rem;
  color: #4b5563;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.employer-page .eaf-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: #2563eb;
}

html[dir="rtl"] .employer-page .eaf-bullet-list li,
body.rtl .employer-page .eaf-bullet-list li {
  padding-left: 0;
  padding-right: 1.25rem;
}

html[dir="rtl"] .employer-page .eaf-bullet-list li::before,
body.rtl .employer-page .eaf-bullet-list li::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .employer-page .eaf-section-head,
body.rtl .employer-page .eaf-section-head,
html[dir="rtl"] .employer-page .eaf-media-copy,
body.rtl .employer-page .eaf-media-copy {
  text-align: right;
}

.md\:text-6xl {
  font-size: 3rem !important;
}

@media screen and (max-width: 576px) {
  .md\:text-6xl {
    font-size: 2rem !important;
  }

  .employer-page main > section {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .employer-page main > section.pt-16,
  .employer-page main > section.pt-24 {
    padding-top: 3.5rem !important;
    padding-bottom: 2.25rem !important;
  }

  .employer-page main > section.py-20 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .employer-page .eaf-section-head,
  .employer-page .eaf-showcase-head {
    margin-bottom: 2.5rem;
  }

  .employer-page .eaf-section-head h2,
  .employer-page .eaf-showcase-head h2,
  .employer-page .eaf-media-copy h2 {
    font-size: 1.5rem !important;
  }

  .employer-page .eaf-cta-hero-btn,
  .employer-page .eaf-cta-bottom-btn,
  .employer-page .eaf-cta-secondary-btn {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    font-size: 0.9375rem !important;
  }

  .employer-page .eaf-cta-bottom-title {
    font-size: 1.375rem !important;
    line-height: 1.3;
    margin-bottom: 1.25rem !important;
  }
}

@media screen and (min-width: 576px) and (max-width: 768px) and (orientation: portrait) {
  .md\:text-6xl {
    font-size: 2.5rem !important;
  }
}
