/* iHRM Website v5 — corporate enterprise design system */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

body.ihrm-website {
  --ihrm-primary: #050a12;
  --ihrm-primary-mid: #0b1524;
  --ihrm-primary-light: #152238;
  --ihrm-primary-soft: #1e3050;
  --ihrm-accent: #1e6fd9;
  --ihrm-accent-hover: #1558b0;
  --ihrm-accent-soft: rgba(30, 111, 217, 0.11);
  --ihrm-accent-light: #4d9cf7;
  --ihrm-accent-muted: #7eb8fa;
  --ihrm-teal: #0a6b6e;
  --ihrm-teal-soft: rgba(10, 107, 110, 0.1);
  --ihrm-teal-light: #128a8f;
  --ihrm-surface: #f4f6f9;
  --ihrm-surface-alt: #e8ecf2;
  --ihrm-surface-blue: #eef3f8;
  --ihrm-surface-warm: #f8f9fb;
  --ihrm-surface-elevated: #ffffff;
  --ihrm-border: rgba(5, 10, 18, 0.08);
  --ihrm-border-strong: rgba(5, 10, 18, 0.14);
  --ihrm-text: #0f1724;
  --ihrm-text-muted: #5a6578;
  --ihrm-hero-muted: rgba(255, 255, 255, 0.86);
  --ihrm-radius: 0.5rem;
  --ihrm-radius-lg: 0.875rem;
  --ihrm-radius-xl: 1.125rem;
  --ihrm-shadow: 0 1px 2px rgba(5, 10, 18, 0.04), 0 4px 12px rgba(5, 10, 18, 0.04);
  --ihrm-shadow-md: 0 8px 28px rgba(5, 10, 18, 0.09);
  --ihrm-shadow-lg: 0 24px 56px rgba(5, 10, 18, 0.14);
  --ihrm-transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --ihrm-glass: rgba(255, 255, 255, 0.07);
  --ihrm-glass-border: rgba(255, 255, 255, 0.14);
  font-family: 'Source Sans 3', system-ui, sans-serif;
  background: var(--ihrm-surface);
  letter-spacing: -0.01em;
}

/* ── Navbar ─────────────────────────────────────────────────── */
body.ihrm-website .ihrm-navbar {
  background: rgba(5, 10, 18, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--ihrm-transition), box-shadow var(--ihrm-transition), border-color var(--ihrm-transition);
}

body.ihrm-website .ihrm-navbar.is-scrolled {
  background: rgba(5, 10, 18, 0.97);
  border-bottom-color: rgba(30, 111, 217, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

body.ihrm-website .ihrm-navbar .nav-link {
  position: relative;
  font-weight: 500;
  letter-spacing: 0.01em;
}

body.ihrm-website .ihrm-navbar .nav-link:not(.nav-cta):not(.dropdown-toggle)::after {
  content: '';
  position: absolute;
  bottom: 0.2rem;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: linear-gradient(90deg, var(--ihrm-accent), var(--ihrm-accent-light));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--ihrm-transition);
  border-radius: 2px;
}

body.ihrm-website .ihrm-navbar .nav-link:not(.nav-cta):not(.dropdown-toggle):hover::after,
body.ihrm-website .ihrm-navbar .nav-link:not(.nav-cta):not(.dropdown-toggle).active::after {
  transform: scaleX(1);
}

/* Override legacy active underline from ihrm-marketing */
body.ihrm-website .ihrm-navbar .nav-link.active::after {
  bottom: 0.2rem;
  left: 0.85rem;
  right: 0.85rem;
  width: auto;
  height: 2px;
  background: linear-gradient(90deg, var(--ihrm-accent), var(--ihrm-accent-light));
}

body.ihrm-website .ihrm-navbar .nav-cta {
  background: linear-gradient(135deg, var(--ihrm-accent), var(--ihrm-accent-hover));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(30, 111, 217, 0.28);
  font-weight: 600;
  letter-spacing: 0.02em;
}

body.ihrm-website .ihrm-navbar .nav-cta:hover {
  background: linear-gradient(135deg, var(--ihrm-accent-light), var(--ihrm-accent));
  box-shadow: 0 6px 22px rgba(30, 111, 217, 0.38);
  transform: translateY(-1px);
}

body.ihrm-website .ihrm-flag-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 1099;
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  background: linear-gradient(
    to right,
    #002B7F 0%,
    #002B7F 33.333%,
    #FCD116 33.333%,
    #FCD116 66.666%,
    #CE1126 66.666%,
    #CE1126 100%
  );
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

body.ihrm-website .ihrm-flag-bar.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.ihrm-website .scroll-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease, width 0.08s linear;
  z-index: 1100;
}

body.ihrm-website .scroll-progress.is-active {
  opacity: 1;
}

/* ── Logo wordmark ─────────────────────────────────────────── */
body.ihrm-website .ihrm-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none !important;
  color: #fff !important;
  padding: 0;
  line-height: 1;
}

body.ihrm-website .ihrm-logo-mark {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--ihrm-accent-light) 0%, var(--ihrm-accent) 55%, var(--ihrm-accent-hover) 100%);
  border-radius: 0.5rem;
  box-shadow:
    0 4px 14px rgba(30, 111, 217, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform var(--ihrm-transition), box-shadow var(--ihrm-transition);
}

body.ihrm-website .ihrm-logo:hover .ihrm-logo-mark {
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 6px 18px rgba(30, 111, 217, 0.5);
}

body.ihrm-website .ihrm-logo-i {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--ihrm-primary);
  line-height: 1;
  margin-top: -2px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}

body.ihrm-website .ihrm-logo-word {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.88) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

body.ihrm-website .ihrm-logo--footer .ihrm-logo-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.4rem;
}

body.ihrm-website .ihrm-logo--footer .ihrm-logo-i {
  font-size: 1.25rem;
}

body.ihrm-website .ihrm-logo--footer .ihrm-logo-word {
  font-size: 1.4rem;
}

body.ihrm-website .ihrm-navbar .navbar-brand::after {
  display: none !important;
  content: none !important;
}

/* ── Hero ─────────────────────────────────────────────────── */
body.ihrm-website #hero,
body.ihrm-website .hero-section {
  background: var(--ihrm-primary);
  position: relative;
  overflow: hidden;
}

body.ihrm-website .hero-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

body.ihrm-website .hero-mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: ihrmOrbFloat 18s ease-in-out infinite;
}

body.ihrm-website .hero-mesh-orb--blue {
  width: min(480px, 70vw);
  height: min(480px, 70vw);
  background: radial-gradient(circle, rgba(30, 111, 217, 0.35), transparent 70%);
  top: -18%;
  right: 0;
}

body.ihrm-website .hero-mesh-orb--teal {
  width: min(360px, 55vw);
  height: min(360px, 55vw);
  background: radial-gradient(circle, rgba(10, 107, 110, 0.28), transparent 70%);
  bottom: -12%;
  left: 0;
  animation-delay: -6s;
}

body.ihrm-website .hero-mesh-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 85%);
}

@keyframes ihrmOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-12px, 16px) scale(1.05); }
}

body.ihrm-website .hero-badge {
  background: var(--ihrm-glass);
  border: 1px solid var(--ihrm-glass-border);
  backdrop-filter: blur(12px);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
}

body.ihrm-website .hero-badge-dot {
  background: var(--ihrm-accent-light);
  box-shadow: 0 0 10px rgba(226, 198, 90, 0.7);
}

body.ihrm-website .hero-title {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #fff;
  -webkit-text-fill-color: #fff;
  background: none;
}

body.ihrm-website .page-hero .hero-title {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
}

body.ihrm-website .hero-subtitle {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--ihrm-hero-muted);
  max-width: 640px;
}

body.ihrm-website .hero-summary-card {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: none;
  border-radius: var(--ihrm-radius-xl);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(30, 111, 217, 0.08);
  position: relative;
  overflow: hidden;
  color: var(--ihrm-text);
  padding: 1.75rem 1.85rem;
}

body.ihrm-website .hero-summary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ihrm-teal), var(--ihrm-accent), var(--ihrm-accent-light));
}

body.ihrm-website .hero-summary-card h3 {
  color: var(--ihrm-primary) !important;
  font-weight: 700;
  font-size: 1.1rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem !important;
  border-bottom: 2px solid var(--ihrm-accent);
  -webkit-text-fill-color: var(--ihrm-primary);
}

body.ihrm-website .hero-summary-card .platform-list li {
  color: var(--ihrm-text) !important;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

body.ihrm-website .hero-summary-card .platform-list li i {
  color: var(--ihrm-success) !important;
  font-size: 0.9rem;
}

body.ihrm-website .hero-summary-footer {
  border-top: 1px solid var(--ihrm-border);
  color: var(--ihrm-text-muted);
  font-weight: 600;
}

body.ihrm-website .hero-summary-footer span {
  color: var(--ihrm-text-muted);
}

body.ihrm-website .hero-summary-footer span i {
  color: var(--ihrm-accent) !important;
}

body.ihrm-website .hero-point-card,
body.ihrm-website .hero-stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  border-radius: var(--ihrm-radius-lg);
  transition: transform var(--ihrm-transition), border-color var(--ihrm-transition), box-shadow var(--ihrm-transition);
}

body.ihrm-website .hero-point-card strong {
  color: #fff;
}

body.ihrm-website .hero-point-card span {
  color: rgba(255, 255, 255, 0.82);
}

body.ihrm-website .hero-point-card i {
  color: var(--ihrm-accent-light);
}

body.ihrm-website .hero-stat-card:hover,
body.ihrm-website .hero-point-card:hover {
  border-color: rgba(77, 156, 247, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.12);
}

body.ihrm-website .hero-stat-card strong {
  color: var(--ihrm-accent-light);
  font-size: 1.75rem;
  font-weight: 700;
}

body.ihrm-website .hero-stat-card span {
  color: rgba(255, 255, 255, 0.78);
}

body.ihrm-website #hero .btn-light,
body.ihrm-website .hero-section .btn-light {
  background: linear-gradient(135deg, var(--ihrm-accent), var(--ihrm-accent-hover));
  border: none;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(30, 111, 217, 0.32);
}

body.ihrm-website #hero .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

body.ihrm-website #hero .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--ihrm-accent-light);
  color: #fff;
}

/* ── Sections ───────────────────────────────────────────────── */
body.ihrm-website .content-section {
  padding: 5rem 0;
}

body.ihrm-website .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ihrm-accent-hover);
  background: linear-gradient(135deg, var(--ihrm-accent-soft), rgba(10, 107, 110, 0.06));
  border: 1px solid rgba(30, 111, 217, 0.22);
  padding: 0.45rem 1.1rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

body.ihrm-website .section-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ihrm-accent);
  box-shadow: 0 0 8px rgba(30, 111, 217, 0.5);
  flex-shrink: 0;
}

body.ihrm-website .section-title {
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ihrm-primary);
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
}

body.ihrm-website .section-subtitle {
  color: var(--ihrm-text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

body.ihrm-website .bg-section-warm {
  background: linear-gradient(180deg, var(--ihrm-surface-warm) 0%, var(--ihrm-surface) 100%);
}

body.ihrm-website .bg-section-alt,
body.ihrm-website .bg-section {
  background: var(--ihrm-surface-blue);
}

/* ── Cards ──────────────────────────────────────────────────── */
body.ihrm-website .feature-card,
body.ihrm-website .card.feature-card {
  background: var(--ihrm-surface-elevated);
  border: 1px solid var(--ihrm-border);
  border-radius: var(--ihrm-radius-lg);
  box-shadow: var(--ihrm-shadow);
  transition: transform var(--ihrm-transition), box-shadow var(--ihrm-transition), border-color var(--ihrm-transition);
  position: relative;
  overflow: hidden;
}

body.ihrm-website .feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ihrm-teal), var(--ihrm-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

body.ihrm-website .feature-card:hover::before,
body.ihrm-website .feature-card.is-expanded::before {
  transform: scaleX(1);
}

body.ihrm-website .feature-card:hover,
body.ihrm-website .feature-card.is-expanded {
  transform: translateY(-5px);
  box-shadow: var(--ihrm-shadow-md);
  border-color: rgba(30, 111, 217, 0.25);
}

body.ihrm-website .feature-card .feature-icon {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ihrm-accent-soft), rgba(10, 107, 110, 0.08));
  border-radius: var(--ihrm-radius);
  color: var(--ihrm-accent-hover);
  font-size: 1.35rem;
  margin-bottom: 1rem;
  transition: transform var(--ihrm-transition), background var(--ihrm-transition);
}

body.ihrm-website .feature-card:hover .feature-icon {
  transform: scale(1.06);
  background: linear-gradient(135deg, rgba(30, 111, 217, 0.2), rgba(10, 107, 110, 0.12));
}

body.ihrm-website .ihrm-cap-card .cap-detail {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
  font-size: 0.88rem;
  color: var(--ihrm-text-muted);
  line-height: 1.6;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.3s ease, padding-top 0.3s ease;
}

body.ihrm-website .ihrm-cap-card:hover .cap-detail,
body.ihrm-website .ihrm-cap-card.is-expanded .cap-detail {
  max-height: 120px;
  opacity: 1;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ihrm-border);
}

body.ihrm-website .ihrm-cap-card .cap-expand-hint {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ihrm-accent);
  opacity: 0;
  transition: opacity var(--ihrm-transition);
}

body.ihrm-website .ihrm-cap-card:hover .cap-expand-hint,
body.ihrm-website .ihrm-cap-card.is-expanded .cap-expand-hint {
  opacity: 1;
}

/* Value pillars */
body.ihrm-website .value-pillar-card {
  border-radius: var(--ihrm-radius-lg);
  box-shadow: var(--ihrm-shadow);
  transition: box-shadow var(--ihrm-transition), border-color var(--ihrm-transition);
}

body.ihrm-website .value-pillar-card.is-open {
  box-shadow: var(--ihrm-shadow-md);
  border-color: rgba(30, 111, 217, 0.35);
}

body.ihrm-website .value-pillar-icon {
  background: linear-gradient(135deg, var(--ihrm-primary-light), var(--ihrm-primary-mid));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Trust strip */
body.ihrm-website .trust-strip {
  background: var(--ihrm-primary-mid);
  border-top: 1px solid rgba(30, 111, 217, 0.2);
  border-bottom: 1px solid rgba(30, 111, 217, 0.2);
}

body.ihrm-website .trust-strip-item {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

body.ihrm-website .trust-strip-item i {
  color: var(--ihrm-accent-light);
}

/* Solution tabs */
body.ihrm-website .ihrm-solution-tab {
  border-radius: 2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

body.ihrm-website .ihrm-solution-tab.active {
  background: linear-gradient(135deg, var(--ihrm-primary-light), var(--ihrm-primary));
  box-shadow: var(--ihrm-shadow-md);
}

body.ihrm-website .solution-card.solution-card-featured {
  background: linear-gradient(155deg, var(--ihrm-primary-mid) 0%, var(--ihrm-primary) 100%);
  box-shadow: var(--ihrm-shadow-lg);
}

/* Process flow */
body.ihrm-website .process-flow-number {
  background: linear-gradient(135deg, var(--ihrm-accent), var(--ihrm-accent-hover));
  box-shadow: 0 6px 18px rgba(30, 111, 217, 0.35);
}

/* CTA */
body.ihrm-website .cta-banner {
  background: linear-gradient(135deg, var(--ihrm-primary-mid) 0%, var(--ihrm-primary) 55%, #030508 100%);
  border-top: 3px solid var(--ihrm-accent);
  position: relative;
  overflow: hidden;
}

body.ihrm-website .cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 90% 20%, rgba(30, 111, 217, 0.12), transparent 50%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(10, 107, 110, 0.1), transparent 45%);
  pointer-events: none;
}

body.ihrm-website .cta-banner .container {
  position: relative;
  z-index: 1;
}

body.ihrm-website .cta-banner .btn-light {
  background: linear-gradient(135deg, var(--ihrm-accent), var(--ihrm-accent-hover));
  border: none;
  color: #fff;
  font-weight: 600;
}

body.ihrm-website .jobs-cta-block {
  background: linear-gradient(145deg, var(--ihrm-primary-light), var(--ihrm-primary));
  border-radius: var(--ihrm-radius-xl);
  border: 1px solid rgba(30, 111, 217, 0.25);
  position: relative;
  overflow: hidden;
}

/* Footer */
body.ihrm-website .ihrm-site-footer {
  background: linear-gradient(180deg, var(--ihrm-primary) 0%, #030508 100%);
  border-top: 3px solid var(--ihrm-accent);
}

body.ihrm-website .footer-bottom-bar {
  background: rgba(0, 0, 0, 0.25);
}

/* FAQ accordion */
body.ihrm-website .accordion-item {
  border: 1px solid var(--ihrm-border);
  border-radius: var(--ihrm-radius-lg) !important;
  margin-bottom: 0.65rem;
  overflow: hidden;
  box-shadow: var(--ihrm-shadow);
}

body.ihrm-website .accordion-button {
  font-weight: 600;
  color: var(--ihrm-primary);
  background: var(--ihrm-surface-elevated);
  padding: 1.1rem 1.35rem;
}

body.ihrm-website .accordion-button:not(.collapsed) {
  background: var(--ihrm-accent-soft);
  color: var(--ihrm-primary);
  box-shadow: none;
}

body.ihrm-website .accordion-button:focus {
  box-shadow: 0 0 0 3px var(--ihrm-accent-soft);
  border-color: var(--ihrm-accent);
}

/* Buttons global */
body.ihrm-website .btn-primary {
  background: linear-gradient(135deg, var(--ihrm-accent), var(--ihrm-accent-hover));
  border: none;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(30, 111, 217, 0.25);
}

body.ihrm-website .btn-primary:hover {
  background: linear-gradient(135deg, var(--ihrm-accent-light), var(--ihrm-accent));
  box-shadow: 0 6px 20px rgba(30, 111, 217, 0.35);
}

body.ihrm-website .btn-outline-primary {
  border-width: 1.5px;
  font-weight: 600;
}

body.ihrm-website .scroll-top {
  background: linear-gradient(135deg, var(--ihrm-accent), var(--ihrm-accent-hover));
  border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Comparison table */
body.ihrm-website .comparison-table thead th {
  background: var(--ihrm-primary);
  font-weight: 600;
  letter-spacing: 0.03em;
}

body.ihrm-website .comparison-table tbody tr:hover {
  background: var(--ihrm-accent-soft);
}

/* Contact */
body.ihrm-website .contact-info-card,
body.ihrm-website .contact-form-card {
  border-radius: var(--ihrm-radius-xl);
  box-shadow: var(--ihrm-shadow-md);
}

body.ihrm-website .contact-info-icon {
  background: linear-gradient(135deg, var(--ihrm-accent-soft), rgba(10, 107, 110, 0.08));
  color: var(--ihrm-accent-hover);
}

/* Role tabs */
body.ihrm-website .ihrm-role-tab.active {
  background: linear-gradient(135deg, var(--ihrm-primary-light), var(--ihrm-primary));
  box-shadow: var(--ihrm-shadow-md);
}

/* Legal */
body.ihrm-website .legal-section {
  border-radius: var(--ihrm-radius-lg);
  border-left: 3px solid var(--ihrm-accent);
}

@media (prefers-reduced-motion: reduce) {
  body.ihrm-website .hero-mesh-orb { animation: none; }
}

/* ── Overflow lock — no horizontal scroll ──────────────────── */
html {
  overflow-x: hidden !important;
  width: 100%;
}

body.ihrm-website {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
  position: relative;
}

body.ihrm-website main,
body.ihrm-website .content-section,
body.ihrm-website .process-section,
body.ihrm-website .trust-strip,
body.ihrm-website .cta-banner,
body.ihrm-website .ihrm-site-footer,
body.ihrm-website .cookie-consent {
  max-width: 100%;
  overflow-x: clip;
}

body.ihrm-website .ihrm-solution-tabs,
body.ihrm-website .ihrm-role-tabs {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100%;
}

body.ihrm-website .comparison-table-wrap {
  overflow-x: auto;
  max-width: 100%;
}

body.ihrm-website .row {
  --bs-gutter-x: 1.25rem;
  max-width: 100%;
}

@media (min-width: 1200px) and (max-width: 1399px) {
  body.ihrm-website .ihrm-navbar .nav-link {
    padding: 0.45rem 0.55rem !important;
    font-size: 0.82rem;
  }

  body.ihrm-website .ihrm-navbar .nav-cta {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.82rem;
    margin-left: 0.25rem;
  }

  body.ihrm-website .ihrm-navbar .navbar-brand {
    font-size: 1.25rem;
  }

  body.ihrm-website .ihrm-logo-mark {
    width: 2rem;
    height: 2rem;
  }
}

@media (max-width: 1199px) {
  body.ihrm-website .ihrm-navbar .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0.75rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-height: calc(100dvh - 4.25rem);
    overflow-y: auto;
    overflow-x: hidden;
  }

  body.ihrm-website .ihrm-navbar .navbar-nav {
    gap: 0.15rem;
    width: 100%;
  }

  body.ihrm-website .ihrm-navbar .nav-link {
    padding: 0.65rem 0.5rem !important;
    width: 100%;
  }

  body.ihrm-website .ihrm-navbar .nav-cta {
    margin: 0.5rem 0 0;
    text-align: center;
    display: block;
    width: 100%;
  }

  body.ihrm-website .ihrm-navbar .nav-item.dropdown {
    width: 100%;
  }

  body.ihrm-website .ihrm-navbar .ihrm-platform-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  body.ihrm-website .ihrm-navbar .ihrm-platform-dropdown {
    position: static !important;
    transform: none !important;
    width: 100%;
    min-width: 0;
    margin-top: 0.35rem;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
  }

  /* Reset legacy corporate.css sidebar nav on mobile */
  body.ihrm-website .ihrm-navbar .navbar-collapse {
    position: static !important;
    top: auto !important;
    right: auto !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.ihrm-website .ihrm-navbar .navbar-collapse.show,
  body.ihrm-website .ihrm-navbar .navbar-collapse.collapsing {
    transform: none !important;
  }
}

/* ── Mobile (< 768px) ─────────────────────────────────────── */
@media (max-width: 767px) {
  body.ihrm-website {
    padding-top: 60px;
  }

  body.ihrm-website .ihrm-navbar {
    padding: 0.55rem 0;
  }

  body.ihrm-website .ihrm-navbar .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  body.ihrm-website .ihrm-navbar .navbar-toggler {
    padding: 0.45rem 0.65rem;
    border-color: rgba(255, 255, 255, 0.45);
    border-radius: var(--ihrm-radius);
  }

  body.ihrm-website .ihrm-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(30, 111, 217, 0.35);
  }

  body.ihrm-website .ihrm-logo-word {
    font-size: 1.25rem;
    letter-spacing: 0.1em;
  }

  body.ihrm-website .ihrm-logo-mark {
    width: 2rem;
    height: 2rem;
  }

  body.ihrm-website .ihrm-logo-i {
    font-size: 1.25rem;
  }

  body.ihrm-website .hero-section,
  body.ihrm-website #hero {
    padding: 2rem 0 2.75rem !important;
  }

  body.ihrm-website #hero .container,
  body.ihrm-website .hero-section .container {
    padding-left: 1.35rem;
    padding-right: 1.35rem;
  }

  body.ihrm-website #hero .row.g-5,
  body.ihrm-website .hero-section .row.g-5 {
    --bs-gutter-y: 1.25rem;
  }

  body.ihrm-website .hero-badge {
    font-size: 0.68rem;
    padding: 0.4rem 0.85rem;
    margin-bottom: 1.15rem;
    max-width: 100%;
    justify-content: center;
    text-align: center;
    line-height: 1.45;
    letter-spacing: 0.02em;
    text-transform: none;
    white-space: normal;
    word-break: break-word;
  }

  body.ihrm-website #hero h1,
  body.ihrm-website #hero .hero-title {
    font-size: clamp(1.35rem, 6.2vw, 1.75rem) !important;
    line-height: 1.22 !important;
    margin-bottom: 0.9rem !important;
    letter-spacing: -0.02em !important;
    padding-left: 0.15rem;
    padding-right: 0.15rem;
  }

  body.ihrm-website .hero-subtitle {
    font-size: 0.92rem !important;
    line-height: 1.62 !important;
    margin-bottom: 1.35rem !important;
    max-width: 100%;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    text-wrap: pretty;
  }

  body.ihrm-website .hero-cta-group {
    gap: 0.65rem !important;
  }

  body.ihrm-website .hero-cta-group .btn-hero {
    padding: 0.7rem 1rem !important;
    font-size: 0.92rem;
  }

  body.ihrm-website .hero-summary-card {
    padding: 1.25rem 1.15rem;
    margin-top: 0.5rem;
  }

  body.ihrm-website .hero-summary-card h3 {
    font-size: 1rem;
  }

  body.ihrm-website .hero-summary-card .platform-list li {
    font-size: 0.88rem;
    margin-bottom: 0.6rem;
  }

  body.ihrm-website .hero-summary-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.78rem;
  }

  body.ihrm-website .hero-stats-row {
    margin-top: 1.5rem !important;
    padding-top: 1.25rem !important;
  }

  body.ihrm-website .hero-point-card {
    padding: 1rem 0.85rem;
    text-align: center;
  }

  body.ihrm-website .hero-point-card i {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
  }

  body.ihrm-website .hero-stat-card {
    padding: 0.85rem 0.65rem;
  }

  body.ihrm-website .hero-stat-card strong {
    font-size: 1.35rem !important;
  }

  body.ihrm-website .hero-stat-card span {
    font-size: 0.65rem;
    letter-spacing: 0.04em;
  }

  body.ihrm-website .content-section,
  body.ihrm-website .process-section {
    padding: 2.5rem 0 !important;
  }

  body.ihrm-website .section-header {
    margin-bottom: 1.75rem !important;
  }

  body.ihrm-website .section-title {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem) !important;
    line-height: 1.25;
  }

  body.ihrm-website .section-subtitle {
    font-size: 0.92rem !important;
    line-height: 1.6;
  }

  body.ihrm-website .section-badge {
    font-size: 0.62rem;
    padding: 0.35rem 0.85rem;
  }

  body.ihrm-website .feature-card .card-body,
  body.ihrm-website .card.feature-card .card-body {
    padding: 1.15rem;
  }

  body.ihrm-website .value-pillar-toggle {
    padding: 1rem 1rem;
    gap: 0.75rem;
  }

  body.ihrm-website .value-pillar-toggle h4 {
    font-size: 0.95rem;
  }

  body.ihrm-website .value-pillar-toggle .pillar-summary {
    font-size: 0.85rem;
  }

  body.ihrm-website .value-pillar-detail {
    margin: 0 1rem 1rem;
  }

  body.ihrm-website .value-pillar-detail-inner {
    padding-left: 0;
    font-size: 0.88rem;
  }

  body.ihrm-website .scope-card {
    padding: 1.15rem;
  }

  body.ihrm-website .trust-strip {
    padding: 1rem 0;
  }

  body.ihrm-website .trust-strip-item {
    padding: 0.65rem 0.5rem;
    font-size: 0.75rem;
  }

  body.ihrm-website .trust-strip-item i {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  body.ihrm-website .page-hero {
    padding: 4.5rem 0 2rem !important;
  }

  body.ihrm-website .page-hero .hero-title {
    font-size: clamp(1.45rem, 6vw, 1.85rem) !important;
  }

  body.ihrm-website .ihrm-site-footer .container {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  body.ihrm-website .footer-bottom-bar .d-flex {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  body.ihrm-website .footer-bottom-bar .legal-links {
    justify-content: center;
  }

  body.ihrm-website .cookie-consent {
    padding: 0.85rem 0;
  }

  body.ihrm-website .cookie-consent .cookie-text {
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
  }

  body.ihrm-website .cookie-consent .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }

  body.ihrm-website .cookie-consent .cookie-btn {
    width: 100%;
    padding: 0.65rem 1rem;
  }

  body.ihrm-website .scroll-top {
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    width: 42px;
    height: 42px;
  }

  body.ihrm-website.cookie-visible .scroll-top {
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }

  body.ihrm-website .reveal,
  body.ihrm-website .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }

  body.ihrm-website .solutions-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  body.ihrm-website .solution-card {
    padding: 1.25rem;
  }

  body.ihrm-website .process-flow-card .card-body {
    padding: 1.15rem;
  }

  body.ihrm-website .cta-banner {
    padding: 2.5rem 0 !important;
    text-align: center;
  }

  body.ihrm-website .cta-banner h2 {
    font-size: 1.35rem;
  }

  body.ihrm-website .ihrm-navbar .nav-link:not(.nav-cta):not(.dropdown-toggle)::after {
    display: none;
  }

  body.ihrm-website .ihrm-navbar .nav-link.active::after {
    display: none;
  }
}

@media (max-width: 380px) {
  body.ihrm-website .hero-stat-card span {
    font-size: 0.58rem;
  }

  body.ihrm-website .ihrm-logo-word {
    font-size: 1.1rem;
  }
}
