/* Hey HRMS — Public marketing site (home, policies, contact) */

.hrms-public-site {
  margin: 0;
  min-height: 100vh;
  font-family: var(--hrms-font);
  color: #334155;
  background: #f8fafc;
  scroll-behavior: smooth;
}

/* ---------- Nav ---------- */
.hrms-public-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.hrms-public-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.hrms-public-nav__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.hrms-public-nav__brand img {
  width: auto;
  height: 80px;
  max-width: 180px;
  border-radius: 0;
  object-fit: contain;
}

@media (min-width: 768px) {
  .hrms-public-nav__brand img {
    height: 120px;
    max-width: 200px;
  }
}

.hrms-public-nav__links {
  display: none;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hrms-public-nav__links a {
  display: block;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.hrms-public-nav__links a:hover {
  background: var(--hrms-primary-light);
  color: var(--hrms-primary-dark);
}

.hrms-public-nav__links a.is-active {
  background: var(--hrms-primary-light);
  color: var(--hrms-primary);
}

.hrms-public-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hrms-public-nav__btn {
  min-width: 5.75rem;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.55rem 1.15rem;
  border-radius: 8px;
}

.hrms-public-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #475569;
}

@media (min-width: 992px) {
  .hrms-public-nav__links {
    display: flex;
    gap: 0.5rem;
  }

  .hrms-public-nav__links a {
    font-size: 1.125rem;
    padding: 0.65rem 1.15rem;
  }

  .hrms-public-nav__toggle {
    display: none;
  }
}

.hrms-public-nav__mobile {
  display: none;
  padding: 0.5rem 0 1rem;
  border-top: 1px solid #e2e8f0;
}

.hrms-public-nav__mobile.is-open {
  display: block;
}

.hrms-public-nav__mobile a {
  display: block;
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
}

.hrms-public-nav__mobile a:hover,
.hrms-public-nav__mobile a.is-active {
  background: var(--hrms-primary-light);
  color: var(--hrms-primary);
}

/* ---------- Hero ---------- */
.hrms-public-hero {
  position: relative;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, var(--hrms-primary-light) 45%, #f8fafc 100%);
}

.hrms-public-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 0%, rgba(0, 74, 173, 0.12), transparent 60%);
  pointer-events: none;
}

.hrms-public-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hrms-public-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.hrms-public-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hrms-primary-dark);
  background: var(--hrms-primary-light);
  border-radius: 999px;
  border: 1px solid rgba(0, 74, 173, 0.2);
}

.hrms-public-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem) !important;
  font-weight: 800 !important;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 1rem;
}

.hrms-public-hero__lead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: #64748b;
  max-width: 32rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hrms-public-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hrms-public-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.hrms-public-hero__stat strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--hrms-primary);
}

.hrms-public-hero__stat span {
  font-size: 0.8rem;
  color: #64748b;
}

.hrms-public-hero__visual {
  border-radius: var(--hrms-radius);
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: var(--hrms-shadow-md);
  padding: 1.25rem;
}

.hrms-public-hero__preview-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hrms-public-preview-card {
  padding: 0.85rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.hrms-public-preview-card i {
  font-size: 1.25rem;
  color: var(--hrms-primary);
  margin-bottom: 0.35rem;
}

.hrms-public-preview-card strong {
  display: block;
  font-size: 0.8rem;
  color: #0f172a;
}

.hrms-public-preview-card span {
  font-size: 0.7rem;
  color: #64748b;
}

/* ---------- Sections ---------- */
.hrms-public-section {
  padding: 3.5rem 0;
}

.hrms-public-section--alt {
  background: #fff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.hrms-public-section__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.hrms-public-section__head h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem) !important;
  font-weight: 800 !important;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.hrms-public-section__head p {
  color: #64748b;
  margin: 0;
  font-size: 1rem;
}

/* Feature cards */
.hrms-public-feature {
  height: 100%;
  padding: 1.25rem;
  border-radius: var(--hrms-radius);
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.hrms-public-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--hrms-shadow);
  border-color: rgba(72, 127, 255, 0.25);
}

.hrms-public-feature__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--hrms-primary-light);
  color: var(--hrms-primary);
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.hrms-public-feature h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.hrms-public-feature p {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
  line-height: 1.55;
}

/* Features grid — crisp 12-module layout */
#features.hrms-public-section {
  padding: 3rem 0;
}

#features .hrms-public-section__head--features {
  margin-bottom: 1.75rem;
}

#features .hrms-public-section__head h2 {
  font-size: clamp(1.75rem, 4.2vw, 2.5rem) !important;
  margin-bottom: 0.35rem;
}

#features .hrms-public-section__head p {
  font-size: 0.9375rem;
  color: #64748b;
}

.hrms-public-features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .hrms-public-features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.875rem;
  }
}

@media (min-width: 992px) {
  .hrms-public-features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

#features .hrms-public-feature {
  padding: 1.1rem 1.15rem 1.2rem;
  position: relative;
}

#features .hrms-public-feature h3 {
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
  letter-spacing: -0.015em;
}

@media (min-width: 992px) {
  #features .hrms-public-feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }
}

#features .hrms-public-feature p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #475569;
}

@media (min-width: 992px) {
  #features .hrms-public-feature p {
    font-size: 1.0625rem;
    line-height: 1.6;
  }
}

.hrms-public-feature--highlight {
  border: 2px solid #febb10;
  background: linear-gradient(145deg, #fffbeb 0%, #ffffff 60%);
  box-shadow: 0 4px 14px rgba(254, 187, 16, 0.18);
}

.hrms-public-feature--highlight:hover {
  border-color: var(--hrms-primary, #487fff);
  box-shadow: 0 8px 22px rgba(0, 74, 173, 0.12);
}

.hrms-public-feature--highlight p {
  color: #334155;
}

.hrms-public-feature__badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: var(--hrms-primary, #487fff);
  color: #fff;
  line-height: 1.2;
}

#features .hrms-public-feature:has(.hrms-public-feature__badge) h3 {
  padding-right: 5.75rem;
}

/* Pricing */
.hrms-public-billing-toggle {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 4px;
}

.hrms-public-billing-toggle button {
  border: none;
  background: transparent;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
}

.hrms-public-billing-toggle button.is-active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.hrms-public-pricing-card {
  height: 100%;
  padding: 1.5rem;
  border-radius: var(--hrms-radius);
  border: 1px solid #e2e8f0;
  background: #fff;
  text-align: center;
}

.hrms-public-pricing-card.is-featured {
  border-color: var(--hrms-primary);
  box-shadow: 0 0 0 1px var(--hrms-primary), var(--hrms-shadow);
  position: relative;
}

.hrms-public-referral-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--hrms-radius);
  border: 1px solid rgba(0, 74, 173, 0.28);
  background: linear-gradient(135deg, #e6eef8 0%, var(--hrms-accent-light) 100%);
  box-shadow: 0 4px 14px rgba(0, 74, 173, 0.08);
}

.hrms-public-referral-banner__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
  color: var(--hrms-primary);
  font-size: 1.25rem;
}

.hrms-public-referral-banner__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.9rem;
  color: #475569;
}

.hrms-public-referral-banner__body strong {
  color: var(--hrms-primary-dark);
  font-weight: 700;
}

.hrms-public-referral-banner__body code {
  font-weight: 700;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.75);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.hrms-public-pricing-card__referral {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #166534;
  background: #dcfce7;
}

.hrms-public-pricing-card.has-referral.is-featured {
  border-color: #22c55e;
  box-shadow: 0 0 0 1px #22c55e, var(--hrms-shadow);
}

.hrms-public-pricing-card__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.2rem 0.65rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hrms-primary);
  background: var(--hrms-accent);
  border-radius: 999px;
}

.hrms-public-pricing-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hrms-public-pricing-card .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--hrms-primary);
  margin-bottom: 0.15rem;
}

.hrms-public-pricing-card__billing-note {
  font-size: 0.75rem;
  font-weight: 400;
  color: #94a3b8;
  margin: 0 0 1rem;
}

.hrms-public-pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  text-align: left;
  font-size: 0.875rem;
  color: #475569;
}

.hrms-public-pricing-card ul li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.hrms-public-pricing-card ul li::before {
  content: '\eb7b';
  font-family: remixicon !important;
  position: absolute;
  left: 0;
  color: #22c55e;
  font-size: 0.9rem;
}

/* FAQ */
.hrms-public-faq .accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--hrms-radius) !important;
  margin-bottom: 0.65rem;
  overflow: hidden;
  background: #fff;
}

.hrms-public-faq .accordion-button {
  font-weight: 600;
  font-size: 0.95rem;
  color: #0f172a;
  background: #fff;
  box-shadow: none !important;
}

.hrms-public-faq .accordion-button:not(.collapsed) {
  background: var(--hrms-primary-light);
  color: var(--hrms-primary-dark);
}

/* CTA band */
.hrms-public-cta-band {
  padding: 2.5rem;
  border-radius: calc(var(--hrms-radius) + 4px);
  background: linear-gradient(135deg, var(--hrms-primary) 0%, var(--hrms-primary-dark) 100%);
  color: #fff;
  text-align: center;
}

.hrms-public-cta-band h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem) !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin-bottom: 0.5rem;
}

.hrms-public-cta-band p {
  opacity: 0.9;
  margin-bottom: 1.25rem;
}

.hrms-public-cta-band .btn-light {
  font-weight: 700;
  padding: 0.65rem 1.5rem;
}

/* ---------- Legal / contact pages ---------- */
.hrms-public-page-hero {
  padding: 2.5rem 0 1.5rem;
  background: linear-gradient(180deg, var(--hrms-primary-light) 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
}

.hrms-public-page-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
  font-weight: 800 !important;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.hrms-public-page-hero p {
  color: #64748b;
  margin: 0;
  font-size: 0.95rem;
}

.hrms-public-legal {
  padding: 2.5rem 0 4rem;
}

.hrms-public-legal__card {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem;
  border-radius: var(--hrms-radius);
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.hrms-public-legal__card h2 {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #0f172a;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.hrms-public-legal__card h2:first-child {
  margin-top: 0;
}

.hrms-public-legal__card p,
.hrms-public-legal__card li {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #475569;
}

.hrms-public-legal__card ul {
  padding-left: 1.25rem;
}

.hrms-public-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 992px) {
  .hrms-public-contact-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.hrms-public-contact-info {
  display: grid;
  gap: 0.75rem;
}

.hrms-public-contact-info__item {
  display: flex;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: var(--hrms-radius);
  border: 1px solid #e2e8f0;
  background: #fff;
}

.hrms-public-contact-info__item i {
  font-size: 1.25rem;
  color: var(--hrms-primary);
  flex-shrink: 0;
}

.hrms-public-contact-form {
  padding: 1.5rem;
  border-radius: var(--hrms-radius);
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.hrms-public-contact-form .form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
}

/* ---------- Footer ---------- */
.hrms-public-footer {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: #cbd5e1;
  padding: 3.5rem 0 1.75rem;
  margin-top: auto;
  border-top: 3px solid var(--hrms-accent);
}

.hrms-public-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hrms-public-footer__grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.hrms-public-footer__logo-link {
  display: inline-block;
  line-height: 0;
  margin-bottom: 1rem;
  text-decoration: none;
  padding: 0.65rem 1rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.hrms-public-footer__brand img {
  width: auto;
  height: 72px;
  max-width: 220px;
  border-radius: 0;
  object-fit: contain;
  display: block;
  filter: none;
}

@media (min-width: 768px) {
  .hrms-public-footer__brand img {
    height: 100px;
    max-width: 260px;
  }
}

.hrms-public-footer__tagline {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #e2e8f0;
  max-width: 22rem;
}

.hrms-public-footer h6 {
  color: var(--hrms-accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.hrms-public-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hrms-public-footer ul a {
  display: block;
  padding: 0.3rem 0;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s;
}

.hrms-public-footer ul a:hover {
  color: #fff;
}

.hrms-public-footer__bottom {
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #64748b;
}

.hrms-public-site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.hrms-public-site main {
  flex: 1;
}

/* ---------- Hero lead form ---------- */
.hrms-public-hero--with-lead {
  padding: 3rem 0 4.5rem;
}

.hrms-public-hero--with-lead h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem) !important;
}

.hrms-public-hero__form-wrap {
  min-width: 0;
}

.hrms-hero-lead {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: calc(var(--hrms-radius) + 4px);
  box-shadow: var(--hrms-shadow-md);
  padding: clamp(1.5rem, 3vw, 2rem);
}

.hrms-hero-lead__title {
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
  font-weight: 800 !important;
  color: #0f172a;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.hrms-hero-lead__subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: #64748b;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.hrms-hero-lead__form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hrms-hero-lead__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 576px) {
  .hrms-hero-lead__row {
    grid-template-columns: 1fr 1fr;
  }
}

.hrms-hero-lead__field label {
  display: block;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.hrms-hero-lead__field input,
.hrms-hero-lead__field select {
  width: 100%;
  height: 52px;
  padding: 0 1rem;
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  color: #0f172a;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.hrms-hero-lead__field input:focus,
.hrms-hero-lead__field select:focus {
  outline: none;
  border-color: var(--hrms-primary);
  box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.12);
  background: #fff;
}

.hrms-hero-lead__field .iti {
  width: 100%;
  display: block;
}

.hrms-hero-lead__field .iti__flag-container,
.hrms-hero-lead__field .iti--separate-dial-code .iti__selected-flag {
  height: 100%;
  border-radius: 10px 0 0 10px;
}

.hrms-hero-lead__field .iti__tel-input,
.hrms-hero-lead__field .iti input[type="tel"] {
  width: 100%;
  height: 52px;
  padding-right: 1rem !important;
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
}

.hrms-hero-lead__field .iti--separate-dial-code .iti__tel-input,
.hrms-hero-lead__field .iti--separate-dial-code input[type="tel"] {
  padding-left: 6.25rem !important;
}

.hrms-hero-lead__field .iti__tel-input:focus,
.hrms-hero-lead__field .iti input[type="tel"]:focus {
  border-color: var(--hrms-primary);
  box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.12);
  background: #fff;
}

.hrms-hero-lead__submit {
  height: 54px !important;
  font-size: clamp(1.05rem, 1.5vw, 1.125rem) !important;
  font-weight: 700 !important;
  margin-top: 0.25rem;
}

.hrms-hero-lead__error {
  display: block;
  font-size: 0.85rem;
  color: #dc2626;
  margin-top: 0.25rem;
}

.hrms-hero-lead__success,
.hrms-hero-lead__thanks,
.hrms-public-contact-thanks {
  font-size: 1.05rem;
  padding: 1.25rem;
  border-radius: var(--hrms-radius);
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* ---------- Testimonials ---------- */
.hrms-testimonials-grid {
  display: none;
}

@media (min-width: 992px) {
  .hrms-testimonials-grid {
    display: block;
  }

  .hrms-testimonials-carousel {
    display: none !important;
  }
}

.hrms-testimonials-carousel {
  position: relative;
  padding: 0 2.75rem 2.5rem;
}

.hrms-testimonials-carousel .carousel-inner {
  overflow: visible;
}

.hrms-testimonials-carousel__indicators {
  position: static;
  margin: 1.75rem 0 0;
  gap: 0.5rem;
}

.hrms-testimonials-carousel__indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #cbd5e1;
  opacity: 1;
  margin: 0;
  transition: background 0.2s, transform 0.2s;
}

.hrms-testimonials-carousel__indicators .active {
  background: var(--hrms-primary);
  transform: scale(1.15);
}

.hrms-testimonials-carousel__control {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(calc(-50% - 1.25rem));
  opacity: 1;
}

.hrms-testimonials-carousel__control-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: var(--hrms-primary);
  font-size: 1.35rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.hrms-testimonials-carousel__control:hover .hrms-testimonials-carousel__control-icon,
.hrms-testimonials-carousel__control:focus .hrms-testimonials-carousel__control-icon {
  background: var(--hrms-primary);
  border-color: var(--hrms-primary);
  color: #fff;
}

@media (max-width: 575.98px) {
  .hrms-testimonials-carousel {
    padding: 0 0 2.25rem;
  }

  .hrms-testimonials-carousel__control {
    display: none;
  }
}

.hrms-public-testimonial {
  height: 100%;
  padding: 1.5rem;
  border-radius: var(--hrms-radius);
  border: 1px solid #e2e8f0;
  border-top: 3px solid var(--hrms-accent);
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.hrms-public-testimonial:hover {
  box-shadow: var(--hrms-shadow-md);
  border-color: color-mix(in srgb, var(--hrms-primary) 25%, #e2e8f0);
}

.hrms-public-testimonial__stars {
  color: var(--hrms-accent);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.hrms-public-testimonial__quote {
  font-size: 1rem;
  line-height: 1.65;
  color: #334155;
  margin: 0 0 1.25rem;
  font-style: normal;
}

.hrms-public-testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.hrms-public-testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--hrms-primary-light);
  background: #f1f5f9;
  flex-shrink: 0;
  display: block;
}

.hrms-public-testimonial__author strong {
  display: block;
  font-size: 0.95rem;
  color: #0f172a;
}

.hrms-public-testimonial__author span {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.1rem;
}

.hrms-public-section--pricing {
  padding-top: 2rem;
}

/* ---------- Why choose Hey HRMS (interactive) ---------- */
.hrms-why-choose {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
  background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 42%, var(--hrms-primary, #487fff) 100%);
  color: #e2e8f0;
  --why-active-accent: #febb10;
}

.hrms-why-choose__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hrms-why-choose__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  animation: hrmsWhyOrb 14s ease-in-out infinite;
}

.hrms-why-choose__orb--1 {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -60px;
  background: rgba(254, 187, 16, 0.35);
}

.hrms-why-choose__orb--2 {
  width: 280px;
  height: 280px;
  bottom: -100px;
  left: -40px;
  background: rgba(255, 255, 255, 0.12);
  animation-delay: -4s;
}

.hrms-why-choose__orb--3 {
  width: 200px;
  height: 200px;
  top: 40%;
  left: 45%;
  background: rgba(72, 127, 255, 0.25);
  animation-delay: -8s;
}

@keyframes hrmsWhyOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -16px) scale(1.08); }
}

.hrms-why-choose__head h2 {
  color: #fff !important;
}

.hrms-why-choose__head p {
  color: rgba(226, 232, 240, 0.85);
}

.hrms-why-choose__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f172a;
  background: var(--hrms-accent);
  border-radius: 999px;
}

.hrms-why-choose__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 992px) {
  .hrms-why-choose__layout {
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 1.75rem;
  }
}

.hrms-why-choose__tabs {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hrms-why-choose__tab {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s, background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.hrms-why-choose__tab:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.hrms-why-choose__tab.is-active {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--why-accent, var(--why-active-accent));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateX(6px);
}

.hrms-why-choose__tab-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--why-accent, var(--hrms-accent));
  font-size: 1.35rem;
  transition: background 0.25s, color 0.25s;
}

.hrms-why-choose__tab.is-active .hrms-why-choose__tab-icon {
  background: var(--why-accent, var(--hrms-accent));
  color: #0f172a;
}

.hrms-why-choose__tab-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hrms-why-choose__tab-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.hrms-why-choose__tab-tag {
  font-size: 0.78rem;
  color: rgba(226, 232, 240, 0.72);
  line-height: 1.35;
}

.hrms-why-choose__tab-arrow {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s;
  color: var(--why-accent, var(--hrms-accent));
  font-size: 1.25rem;
}

.hrms-why-choose__tab.is-active .hrms-why-choose__tab-arrow {
  opacity: 1;
  transform: translateX(0);
}

.hrms-why-choose__showcase {
  position: relative;
  display: grid;
  grid-template: 1fr / 1fr;
  min-height: 380px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.hrms-why-choose__panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
  padding: 1.5rem;
  pointer-events: none;
}

.hrms-why-choose__panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.hrms-why-choose__panel-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  height: 100%;
  align-items: center;
}

@media (min-width: 768px) {
  .hrms-why-choose__panel-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.hrms-why-choose__stat-badge {
  display: inline-flex;
  flex-direction: column;
  padding: 0.5rem 0.85rem;
  margin-bottom: 0.85rem;
  border-radius: 12px;
  background: rgba(254, 187, 16, 0.15);
  border: 1px solid rgba(254, 187, 16, 0.35);
}

.hrms-why-choose__stat-badge strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--hrms-accent);
  line-height: 1.1;
}

.hrms-why-choose__stat-badge span {
  font-size: 0.72rem;
  color: rgba(226, 232, 240, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hrms-why-choose__copy h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.65rem;
}

.hrms-why-choose__copy > p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.88);
  margin-bottom: 1rem;
}

.hrms-why-choose__checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hrms-why-choose__checks li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #f8fafc;
}

.hrms-why-choose__checks i {
  color: var(--hrms-accent);
  font-size: 1.1rem;
}

.hrms-why-choose__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.hrms-why-choose__progress {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 2;
}

.hrms-why-choose__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
}

.hrms-why-choose__dot.is-active {
  width: 28px;
  background: var(--hrms-accent);
}

/* Mock visuals */
.hrms-why-mock {
  width: 100%;
  max-width: 280px;
  padding: 1.25rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  color: #334155;
}

.hrms-why-mock__bar {
  display: flex;
  gap: 5px;
  margin-bottom: 1rem;
}

.hrms-why-mock__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}

.hrms-why-mock__bar span:first-child { background: #f87171; }
.hrms-why-mock__bar span:nth-child(2) { background: #fbbf24; }
.hrms-why-mock__bar span:nth-child(3) { background: #4ade80; }

.hrms-why-mock__steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hrms-why-mock__step {
  flex: 1;
  text-align: center;
  padding: 0.65rem 0.25rem;
  border-radius: 10px;
  border: 1px dashed #cbd5e1;
  font-size: 0.65rem;
  color: #64748b;
}

.hrms-why-mock__step i,
.hrms-why-mock__step span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0 auto 0.35rem;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

.hrms-why-mock__step.is-done {
  border-style: solid;
  border-color: #86efac;
  background: #f0fdf4;
  color: #166534;
}

.hrms-why-mock__step.is-done i {
  background: #22c55e;
  color: #fff;
}

.hrms-why-mock__step.is-current {
  border-color: var(--hrms-primary);
  background: var(--hrms-primary-light);
  color: var(--hrms-primary-dark);
}

.hrms-why-mock__step.is-current span {
  background: var(--hrms-primary);
  color: #fff;
}

.hrms-why-mock__card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--hrms-primary-light), #fff);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--hrms-primary-dark);
}

.hrms-why-mock__card i {
  font-size: 1.25rem;
  color: var(--hrms-primary);
}

.hrms-why-mock--design .hrms-why-mock__palette {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hrms-why-mock--design .hrms-why-mock__palette span {
  flex: 1;
  height: 36px;
  border-radius: 8px;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.hrms-why-mock__screens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.hrms-why-mock__screen {
  padding: 1rem 0.5rem;
  border-radius: 12px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.hrms-why-mock__screen i {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.hrms-why-mock__screen--hr {
  background: linear-gradient(145deg, #e6eef8, #fff);
  color: var(--hrms-primary);
  border: 1px solid rgba(0, 74, 173, 0.2);
}

.hrms-why-mock__screen--emp {
  background: linear-gradient(145deg, #fef9e7, #fff);
  color: #b45309;
  border: 1px solid rgba(254, 187, 16, 0.35);
}

.hrms-why-mock__chart {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  height: 120px;
  margin-bottom: 0.85rem;
  padding: 0 0.25rem;
}

.hrms-why-mock__chart span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--hrms-accent) 0%, var(--hrms-primary) 100%);
  transform-origin: bottom;
  animation: hrmsWhyBar 1.2s ease-out backwards;
}

.hrms-why-mock__chart span:nth-child(1) { animation-delay: 0.05s; }
.hrms-why-mock__chart span:nth-child(2) { animation-delay: 0.12s; }
.hrms-why-mock__chart span:nth-child(3) { animation-delay: 0.19s; }
.hrms-why-mock__chart span:nth-child(4) { animation-delay: 0.26s; }
.hrms-why-mock__chart span:nth-child(5) { animation-delay: 0.33s; }
.hrms-why-mock__chart span:nth-child(6) { animation-delay: 0.4s; }

@keyframes hrmsWhyBar {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.hrms-why-choose__panel.is-active .hrms-why-mock__chart span {
  animation: hrmsWhyBar 1s ease-out backwards;
}

.hrms-why-mock__growth-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--hrms-primary);
}

.hrms-why-mock__growth-label i {
  color: #22c55e;
}

.hrms-why-mock--hearts {
  position: relative;
}

.hrms-why-mock__phone {
  position: relative;
  padding: 1.5rem 1rem 1rem;
  border-radius: 24px;
  border: 3px solid #0f172a;
  background: #f8fafc;
}

.hrms-why-mock__phone-notch {
  width: 40%;
  height: 5px;
  margin: 0 auto 0.85rem;
  border-radius: 999px;
  background: #cbd5e1;
}

.hrms-why-mock__phone ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hrms-why-mock__phone li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-size: 0.78rem;
  font-weight: 600;
}

.hrms-why-mock__phone li i {
  color: var(--hrms-primary);
}

.hrms-why-mock__phone .pill {
  margin-left: auto;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  font-size: 0.6rem;
  background: var(--hrms-accent);
  color: #0f172a;
}

.hrms-why-mock__float-hearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hrms-why-mock__float-hearts i {
  position: absolute;
  color: #f472b6;
  font-size: 1.1rem;
  opacity: 0;
  animation: hrmsWhyHeart 2.5s ease-in-out infinite;
}

.hrms-why-mock__float-hearts i:nth-child(1) { top: 8%; right: 0; animation-delay: 0s; }
.hrms-why-mock__float-hearts i:nth-child(2) { top: 45%; right: -8%; animation-delay: 0.8s; font-size: 0.85rem; }
.hrms-why-mock__float-hearts i:nth-child(3) { bottom: 15%; right: 5%; animation-delay: 1.6s; font-size: 1.35rem; }

@keyframes hrmsWhyHeart {
  0%, 100% { opacity: 0; transform: translateY(8px) scale(0.8); }
  30%, 70% { opacity: 1; transform: translateY(-6px) scale(1); }
}

.hrms-why-choose__panel.is-active .hrms-why-mock__float-hearts i {
  animation-play-state: running;
}

@media (prefers-reduced-motion: reduce) {
  .hrms-why-choose__orb,
  .hrms-why-mock__chart span,
  .hrms-why-mock__float-hearts i {
    animation: none !important;
  }

  .hrms-why-choose__panel {
    transition: opacity 0.2s;
    transform: none;
  }
}

@media (max-width: 991.98px) {
  .hrms-why-choose__tabs {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
  }

  .hrms-why-choose__tab {
    flex: 0 0 min(78vw, 280px);
    scroll-snap-align: start;
  }

  .hrms-why-choose__tab:hover,
  .hrms-why-choose__tab.is-active {
    transform: none;
  }

  .hrms-why-choose__showcase {
    min-height: 520px;
  }
}

/* ---------- Gems showcase (3D) ---------- */
.hrms-gems-showcase {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f0f6ff 45%, #fffbeb 100%);
}

.hrms-gems-showcase__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hrms-gems-showcase__spark {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
}

.hrms-gems-showcase__spark--1 {
  width: 280px;
  height: 280px;
  top: 10%;
  left: -5%;
  background: rgba(34, 197, 94, 0.25);
}

.hrms-gems-showcase__spark--2 {
  width: 240px;
  height: 240px;
  top: 20%;
  right: -3%;
  background: rgba(254, 187, 16, 0.3);
}

.hrms-gems-showcase__spark--3 {
  width: 200px;
  height: 200px;
  bottom: 5%;
  left: 40%;
  background: rgba(0, 74, 173, 0.12);
}

.hrms-gems-showcase__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--hrms-primary-dark);
  background: linear-gradient(135deg, #e6eef8, #fef9e7);
  border: 1px solid rgba(0, 74, 173, 0.15);
  border-radius: 999px;
}

.hrms-gems-showcase__unique {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  max-width: 52rem;
  margin: 0 auto 2.5rem;
}

@media (min-width: 768px) {
  .hrms-gems-showcase__unique {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hrms-gems-showcase__unique-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #e2e8f0;
  font-size: 0.82rem;
  color: #475569;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.hrms-gems-showcase__unique-item i {
  font-size: 1.25rem;
  color: var(--hrms-primary);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.hrms-gems-showcase__unique-item strong {
  color: #0f172a;
}

.hrms-gems-showcase__stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
  max-width: 36rem;
  margin: 0 auto 2rem;
  padding: 2.5rem 1rem 1.25rem;
  perspective: 1200px;
  min-height: 300px;
}

@media (min-width: 768px) {
  .hrms-gems-showcase__stage {
    grid-template-columns: repeat(4, 1fr);
    max-width: 54rem;
    gap: 1.75rem;
    min-height: 260px;
  }
}

.hrms-gems-showcase__orbit {
  position: absolute;
  inset: 18% 8% 8%;
  border: 1px dashed rgba(0, 74, 173, 0.1);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
}

.hrms-gem-3d {
  position: relative;
  border: none;
  background: transparent;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 1;
  transition: transform 0.35s ease, z-index 0s;
}

.hrms-gem-3d__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.2s ease;
}

.hrms-gem-3d__stone {
  position: relative;
  width: 96px;
  height: 110px;
  transform-style: preserve-3d;
  transform: rotateX(6deg) rotateY(-10deg);
  transition: transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1), filter 0.35s ease;
  filter: drop-shadow(0 16px 24px rgba(15, 23, 42, 0.22));
}

.hrms-gem-3d__shadow {
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 72%;
  height: 16px;
  margin-left: -36%;
  background: radial-gradient(ellipse, rgba(15, 23, 42, 0.28) 0%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.hrms-gem-crystal {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.hrms-gem-crystal__body {
  transform-origin: 100px 115px;
}

.hrms-gem-3d__sparkle {
  position: absolute;
  top: 12%;
  left: 24%;
  width: 32%;
  height: 18%;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
  clip-path: polygon(50% 0%, 100% 40%, 55% 100%, 0% 45%);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  animation: gemSparkle 3.5s ease-in-out infinite;
}

.hrms-gem-3d__sparkle--2 {
  top: 38%;
  left: 56%;
  width: 18%;
  height: 12%;
  animation-delay: 1.4s;
}

@keyframes gemSparkle {
  0%, 68%, 100% { opacity: 0; transform: scale(0.9); }
  74%, 86% { opacity: 1; transform: scale(1.05); }
}

.hrms-gem-3d--green .hrms-gem-3d__stone {
  filter: drop-shadow(0 16px 24px rgba(16, 185, 129, 0.28)) drop-shadow(0 4px 10px rgba(15, 23, 42, 0.15));
}

.hrms-gem-3d--yellow .hrms-gem-3d__stone {
  filter: drop-shadow(0 16px 24px rgba(251, 191, 36, 0.32)) drop-shadow(0 4px 10px rgba(15, 23, 42, 0.15));
}

.hrms-gem-3d--silver .hrms-gem-3d__stone {
  filter: drop-shadow(0 16px 24px rgba(148, 163, 184, 0.35)) drop-shadow(0 4px 10px rgba(15, 23, 42, 0.15));
}

.hrms-gem-3d--black .hrms-gem-3d__stone {
  filter: drop-shadow(0 16px 24px rgba(51, 65, 85, 0.4)) drop-shadow(0 4px 10px rgba(15, 23, 42, 0.2));
}

.hrms-gem-3d__label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.25s;
}

.hrms-gem-3d.is-active .hrms-gem-3d__stone,
.hrms-gem-3d:hover .hrms-gem-3d__stone,
.hrms-gem-3d:focus-visible .hrms-gem-3d__stone {
  transform: rotateX(4deg) rotateY(-14deg) scale(1.16) translateY(-10px);
  animation: gemFloat 3.2s ease-in-out infinite;
}

.hrms-gem-3d.is-active .hrms-gem-crystal__body,
.hrms-gem-3d:hover .hrms-gem-crystal__body,
.hrms-gem-3d:focus-visible .hrms-gem-crystal__body {
  animation: gemTurn 7s ease-in-out infinite;
}

.hrms-gem-3d.is-active .hrms-gem-3d__sparkle,
.hrms-gem-3d:hover .hrms-gem-3d__sparkle {
  animation-duration: 2.8s;
}

.hrms-gem-3d.is-active .hrms-gem-3d__label {
  color: var(--hrms-primary-dark);
}

.hrms-gem-3d.is-active {
  transform: scale(1.02);
  z-index: 2;
}

@keyframes gemFloat {
  0%, 100% { transform: rotateX(4deg) rotateY(-14deg) scale(1.16) translateY(-10px); }
  50% { transform: rotateX(4deg) rotateY(-14deg) scale(1.16) translateY(-18px); }
}

@keyframes gemTurn {
  0%, 100% { transform: rotateY(0deg) scale(1); }
  50% { transform: rotateY(10deg) scale(1.02); }
}

.hrms-gems-showcase__details {
  position: relative;
  display: grid;
  grid-template: 1fr / 1fr;
  max-width: 40rem;
  margin: 0 auto 2rem;
  min-height: 220px;
}

.hrms-gems-showcase__panel {
  grid-area: 1 / 1;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
  padding: 0 0.5rem;
  pointer-events: none;
}

.hrms-gems-showcase__panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.hrms-gems-showcase__panel-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  margin-bottom: 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hrms-primary-dark);
  background: var(--hrms-primary-light);
  border-radius: 999px;
}

.hrms-gems-showcase__panel h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.65rem;
}

.hrms-gems-showcase__panel p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #64748b;
  margin-bottom: 1rem;
}

.hrms-gems-showcase__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  text-align: left;
}

.hrms-gems-showcase__points li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: #334155;
}

.hrms-gems-showcase__points i {
  color: var(--hrms-accent);
  font-size: 1.1rem;
}

.hrms-gems-showcase__cta {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
}

.hrms-gems-showcase__cta p {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .hrms-gem-3d.is-active .hrms-gem-3d__stone,
  .hrms-gem-3d:hover .hrms-gem-3d__stone {
    animation: none;
  }

  .hrms-gem-3d.is-active .hrms-gem-crystal__body,
  .hrms-gem-3d:hover .hrms-gem-crystal__body {
    animation: none;
  }

  .hrms-gem-3d__sparkle {
    animation: none;
    opacity: 0.4;
  }
}

@media (min-width: 768px) {
  .hrms-gem-3d__stone {
    width: 112px;
    height: 128px;
  }
}

@media (max-width: 767.98px) {
  .hrms-gem-3d__stone {
    width: 84px;
    height: 96px;
  }
}
.hrms-public-site main {
  flex: 1;
}

/* ---------- Knowledge Base & Forum ---------- */
.hrms-kb-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: #fff;
  padding: 3rem 0 2.5rem;
}

.hrms-kb-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.hrms-kb-hero p {
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.hrms-kb-audience {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hrms-kb-audience-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.hrms-kb-audience-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.hrms-kb-audience-btn.is-active {
  background: #fff;
  border-color: #fff;
  color: #0f172a;
}

.hrms-kb-audience-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.8rem;
  font-weight: 600;
}

.hrms-kb-search {
  position: relative;
  max-width: 520px;
}

.hrms-kb-search i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
}

.hrms-kb-search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hrms-kb-body {
  padding: 2.5rem 0 4rem;
}

.hrms-kb-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .hrms-kb-layout {
    grid-template-columns: 1fr;
  }
}

.hrms-kb-sidebar h6 {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.hrms-kb-categories {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.hrms-kb-cat-btn {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 0.45rem 0.75rem;
  border-radius: 0.5rem;
  color: #475569;
  font-size: 0.9rem;
  cursor: pointer;
}

.hrms-kb-cat-btn:hover,
.hrms-kb-cat-btn.is-active {
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 600;
}

.hrms-kb-lock {
  color: #94a3b8;
  margin-left: 0.25rem;
}

.hrms-kb-login-prompt {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1rem;
}

.hrms-kb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.hrms-kb-card {
  display: block;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.hrms-kb-card:hover {
  border-color: #38bdf8;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  color: inherit;
}

.hrms-kb-card__cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0369a1;
  background: #e0f2fe;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.hrms-kb-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.hrms-kb-card p {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.hrms-kb-card__steps {
  font-size: 0.75rem;
  color: #94a3b8;
}

.hrms-kb-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #94a3b8;
}

.hrms-kb-empty i {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

.hrms-kb-article-hero {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 2rem 0;
}

.hrms-kb-breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: #64748b;
}

.hrms-kb-breadcrumb a {
  color: #0369a1;
  text-decoration: none;
}

.hrms-kb-article-hero h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
}

.hrms-kb-article-body {
  padding: 2.5rem 0 4rem;
}

.hrms-kb-content {
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hrms-kb-steps {
  padding-left: 1.25rem;
}

.hrms-kb-steps li {
  margin-bottom: 1.5rem;
}

.hrms-kb-steps strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #0f172a;
}

.hrms-kb-related {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.hrms-kb-related h6 {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hrms-kb-related__item {
  margin-bottom: 0.75rem;
}

.hrms-kb-related__item a {
  display: block;
  font-weight: 600;
  color: #0369a1;
  text-decoration: none;
}

.hrms-forum-post {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.hrms-forum-post h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.hrms-forum-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.hrms-forum-post__body {
  color: #475569;
  line-height: 1.6;
  white-space: pre-wrap;
}

.hrms-forum-submit {
  position: sticky;
  top: 5rem;
}
