/* iHRM Marketing v4 — enterprise navy, blue & slate nuances */
@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');

:root {
  --ihrm-primary: #0a0f18;
  --ihrm-primary-mid: #121c2e;
  --ihrm-primary-light: #1a2840;
  --ihrm-primary-soft: #243552;
  --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: #0d7377;
  --ihrm-teal-soft: rgba(13, 115, 119, 0.1);
  --ihrm-teal-light: #14919b;
  --ihrm-slate: #64748b;
  --ihrm-slate-soft: #94a3b8;
  --ihrm-success: #047857;
  --ihrm-success-soft: rgba(4, 120, 87, 0.1);
  --ihrm-surface: #f5f4f0;
  --ihrm-surface-alt: #ebe8e1;
  --ihrm-surface-blue: #eef2f7;
  --ihrm-surface-warm: #faf8f4;
  --ihrm-surface-elevated: #ffffff;
  --ihrm-border: rgba(10, 15, 24, 0.1);
  --ihrm-border-strong: rgba(10, 15, 24, 0.16);
  --ihrm-text: #141b26;
  --ihrm-text-muted: #5a6573;
  --ihrm-hero-muted: rgba(255, 255, 255, 0.84);
  --ihrm-radius: 0.375rem;
  --ihrm-radius-lg: 0.75rem;
  --ihrm-radius-xl: 1rem;
  --ihrm-shadow: 0 1px 3px rgba(10, 15, 24, 0.06);
  --ihrm-shadow-md: 0 6px 20px rgba(10, 15, 24, 0.08);
  --ihrm-shadow-lg: 0 16px 40px rgba(10, 15, 24, 0.12);
  --ihrm-transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  background: var(--ihrm-surface);
  color: var(--ihrm-text);
  margin: 0;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

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

body.ihrm-website main {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body.ihrm-website main,
body.ihrm-website section,
body.ihrm-website .container {
  max-width: 100%;
}

body.ihrm-website .row > [class*="col-"] {
  min-width: 0;
}

body.ihrm-website pre,
body.ihrm-website table:not(.comparison-table) {
  max-width: 100%;
}

body.ihrm-website img,
body.ihrm-website video,
body.ihrm-website svg,
body.ihrm-website iframe {
  max-width: 100%;
  height: auto;
}

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

a { text-decoration: none; color: var(--ihrm-accent); }
a:hover { color: var(--ihrm-primary-light); }

/* Navbar */
.ihrm-navbar {
  background: rgba(10, 15, 24, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  box-shadow: none;
}

.ihrm-navbar .navbar-brand {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: -0.02em;
  position: relative;
}

.ihrm-navbar .navbar-brand::after {
  content: none;
  display: none;
}

.ihrm-navbar .navbar-brand .ihrm-brand-i {
  font-style: normal;
  font-weight: 700;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: #fff9e6 !important;
  color: #fff9e6 !important;
  opacity: 1 !important;
  margin-right: 0;
  text-shadow: 0 0 12px rgba(255, 220, 120, 0.65), 0 1px 0 rgba(0, 0, 0, 0.2);
}

.ihrm-navbar .navbar-brand .ihrm-brand-rest {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-weight: 700;
}

.ihrm-navbar .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem !important;
  transition: color var(--ihrm-transition);
}

.ihrm-navbar .nav-link:hover { color: #fff !important; }

.ihrm-navbar .nav-cta {
  background: var(--ihrm-accent);
  color: #fff !important;
  border-radius: var(--ihrm-radius);
  padding: 0.45rem 1rem !important;
  margin-left: 0.5rem;
}

.ihrm-navbar .nav-cta:hover {
  background: var(--ihrm-accent-hover);
  color: #fff !important;
}

.ihrm-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
}

.ihrm-navbar .navbar-toggler-icon {
  filter: invert(1);
}

/* Platform access dropdown */
.ihrm-navbar .ihrm-platform-toggle::after {
  margin-left: 0.35rem;
  vertical-align: 0.15em;
}

.ihrm-navbar .ihrm-platform-dropdown {
  min-width: 15.5rem;
  padding: 0.65rem;
  margin-top: 0.65rem;
  border: 1px solid rgba(30, 111, 217, 0.22);
  border-radius: var(--ihrm-radius-lg);
  background: var(--ihrm-surface-elevated);
  box-shadow: 0 12px 32px rgba(10, 15, 24, 0.18), 0 0 0 1px rgba(10, 15, 24, 0.04);
}

.ihrm-navbar .ihrm-platform-dropdown .dropdown-header {
  padding: 0.35rem 0.65rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ihrm-text-muted);
}

.ihrm-navbar .ihrm-platform-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.65rem;
  border-radius: var(--ihrm-radius);
  color: var(--ihrm-text);
  transition: background var(--ihrm-transition), transform var(--ihrm-transition);
}

.ihrm-navbar .ihrm-platform-dropdown .dropdown-item:hover,
.ihrm-navbar .ihrm-platform-dropdown .dropdown-item:focus {
  background: var(--ihrm-surface-blue);
  color: var(--ihrm-primary);
}

@media (hover: hover) {
  .ihrm-navbar .ihrm-platform-dropdown .dropdown-item:hover,
  .ihrm-navbar .ihrm-platform-dropdown .dropdown-item:focus {
    transform: none;
  }
}

.ihrm-navbar .ihrm-dropdown-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ihrm-radius);
  font-size: 0.95rem;
}

.ihrm-navbar .ihrm-dropdown-icon--register {
  background: rgba(4, 120, 87, 0.12);
  color: var(--ihrm-success);
}

.ihrm-navbar .ihrm-dropdown-icon--login {
  background: var(--ihrm-accent-soft);
  color: var(--ihrm-accent-hover);
}

.ihrm-navbar .ihrm-dropdown-label {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.25;
}

.ihrm-navbar .ihrm-dropdown-label strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ihrm-primary);
}

.ihrm-navbar .ihrm-dropdown-label small {
  font-size: 0.78rem;
  color: var(--ihrm-text-muted);
  font-weight: 400;
}

.ihrm-navbar .ihrm-platform-dropdown .dropdown-item:hover .ihrm-dropdown-label strong {
  color: var(--ihrm-primary);
}

/* Hero */
#hero {
  background: var(--ihrm-primary);
  color: #fff;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 6.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 92% 8%, rgba(30, 111, 217, 0.14), transparent 50%),
    radial-gradient(ellipse 40% 35% at 8% 85%, rgba(13, 115, 119, 0.08), transparent 45%),
    linear-gradient(165deg, var(--ihrm-primary-mid) 0%, var(--ihrm-primary) 45%, #080c14 100%);
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 80%);
}

#hero .container { position: relative; z-index: 1; }

body.ihrm-website #hero h1,
body.ihrm-website #hero .hero-title {
  font-size: clamp(1.45rem, 4.2vw + 0.35rem, 2.85rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  line-height: 1.18;
  text-wrap: balance;
}

#hero .lead {
  font-size: 1.15rem;
  color: var(--ihrm-hero-muted);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

#hero .btn-hero {
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--ihrm-radius);
  font-size: 1rem;
  transition: var(--ihrm-transition);
}

#hero .btn-light {
  background: var(--ihrm-accent);
  color: #fff;
  border: none;
  font-weight: 600;
}

#hero .btn-light:hover {
  background: var(--ihrm-accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(30, 111, 217, 0.35);
}

#hero .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

#hero .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  transform: translateY(-1px);
}

/* Sections */
section { padding: 4.5rem 0; }

section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--ihrm-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

section .section-lead {
  color: var(--ihrm-text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.bg-section { background: var(--ihrm-surface); }

/* Feature cards */
.feature-card {
  border: 1px solid var(--ihrm-border);
  border-radius: var(--ihrm-radius-lg);
  background: var(--ihrm-surface-elevated);
  box-shadow: var(--ihrm-shadow);
  transition: transform var(--ihrm-transition), box-shadow var(--ihrm-transition);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ihrm-shadow-lg);
}

.feature-card .card-body { padding: 1.75rem; text-align: center; }

.feature-card .feature-icon {
  font-size: 1.65rem;
  color: var(--ihrm-accent);
  margin-bottom: 1rem;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ihrm-accent-soft);
  border-radius: var(--ihrm-radius);
}

.feature-icon {
  font-size: 2.25rem;
  color: var(--ihrm-accent);
  margin-bottom: 1rem;
}

.feature-card h4 {
  font-weight: 600;
  color: var(--ihrm-primary);
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--ihrm-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* Benefits */
#beneficii ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#beneficii li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ihrm-text);
}

#beneficii li i {
  color: var(--ihrm-success);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Contact */
#contact .form-control {
  border-radius: var(--ihrm-radius);
  border: 1px solid var(--ihrm-border);
  padding: 0.65rem 0.9rem;
}

#contact .form-control:focus {
  border-color: var(--ihrm-accent);
  box-shadow: 0 0 0 3px var(--ihrm-accent-soft);
}

#contact .btn-primary {
  background: var(--ihrm-primary);
  border: none;
  font-weight: 600;
  padding: 0.7rem 1.75rem;
  border-radius: var(--ihrm-radius);
}

#contact .btn-primary:hover { background: var(--ihrm-primary-light); }

/* Footer */
footer {
  background: var(--ihrm-primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 2rem 0 1.5rem;
  text-align: center;
}

.ihrm-ecosystem-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
}

.ihrm-ecosystem-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  transition: color var(--ihrm-transition);
}

.ihrm-ecosystem-link:hover { color: var(--ihrm-accent-light); }

footer .copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* About icon */
.about-icon {
  font-size: 3.5rem;
  color: var(--ihrm-accent);
  margin-bottom: 1rem;
}

.hero-version-badge,
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ihrm-accent-light);
  flex-shrink: 0;
}

.platform-subtitle {
  color: var(--ihrm-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.platform-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.platform-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ihrm-text);
}

.platform-list li i {
  color: var(--ihrm-accent);
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1rem;
}

.role-card .role-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.role-card .role-card-header .feature-icon {
  margin-bottom: 0;
  font-size: 1.5rem;
}

.role-card h4 {
  margin: 0;
  color: var(--ihrm-primary);
}

.module-card h4 {
  color: var(--ihrm-primary);
  margin-bottom: 1rem;
}

/* Hero summary card — solid surface for readability */
.hero-summary-card {
  background: var(--ihrm-surface-elevated);
  border: 1px solid var(--ihrm-border);
  border-radius: var(--ihrm-radius-lg);
  padding: 1.75rem 1.85rem;
  color: var(--ihrm-text);
  text-align: left;
  box-shadow: var(--ihrm-shadow-lg);
}

.hero-summary-card h3 {
  color: var(--ihrm-primary);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem !important;
  border-bottom: 2px solid var(--ihrm-accent);
}

.hero-summary-card .platform-list li {
  color: var(--ihrm-text);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.hero-summary-card .platform-list li i {
  color: var(--ihrm-success);
}

.hero-summary-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding-top: 1rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--ihrm-border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ihrm-text-muted);
}

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

.hero-tech-note {
  font-size: 0.82rem;
  color: var(--ihrm-hero-muted);
  border-left: 2px solid rgba(30, 111, 217, 0.45);
  padding-left: 0.75rem;
}

/* Module cards */
.ihrm-module-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ihrm-primary);
  color: #fff;
  border-radius: 10px;
  font-size: 1.15rem;
}

.ihrm-module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.ihrm-module-tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ihrm-primary);
  background: var(--ihrm-surface, #f8fafc);
  border: 1px solid var(--ihrm-border);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

/* Pipeline flow */
.ihrm-pipeline-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
}

.ihrm-pipeline-step {
  flex: 1 1 140px;
  max-width: 180px;
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: var(--ihrm-surface-elevated, #fff);
  border: 1px solid var(--ihrm-border);
  border-radius: var(--ihrm-radius-lg, 12px);
  box-shadow: var(--ihrm-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ihrm-pipeline-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--ihrm-shadow-lg);
}

.ihrm-pipeline-number {
  width: 32px;
  height: 32px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ihrm-accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 600;
}

.ihrm-pipeline-step strong {
  display: block;
  font-size: 0.9rem;
  color: var(--ihrm-primary);
  margin-bottom: 0.25rem;
}

.ihrm-pipeline-step span {
  font-size: 0.78rem;
  color: var(--ihrm-text-muted);
  line-height: 1.4;
}

.ihrm-pipeline-arrow {
  display: flex;
  align-items: center;
  color: var(--ihrm-text-muted);
  opacity: 0.5;
  padding-top: 1.75rem;
}

@media (max-width: 767px) {
  .ihrm-pipeline-arrow { display: none; }
  .ihrm-pipeline-step { max-width: none; flex: 1 1 100%; }
}

.api-table {
  background: var(--ihrm-surface-elevated);
  border-radius: var(--ihrm-radius-lg);
  overflow: hidden;
  box-shadow: var(--ihrm-shadow);
}

.api-table thead th {
  background: var(--ihrm-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  padding: 0.85rem 1rem;
}

.api-table tbody td {
  padding: 0.85rem 1rem;
  vertical-align: middle;
  border-color: var(--ihrm-border);
  font-size: 0.9rem;
}

.api-method {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  letter-spacing: 0.03em;
}

.api-method-get { background: rgba(30, 111, 217, 0.14); color: #92400e; }
.api-method-post { background: #dcfce7; color: #166534; }

#platform code,
#api code {
  font-size: 0.85em;
  color: var(--ihrm-primary-light);
}

/* ── Interactive & motion ───────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  z-index: 1100;
  transition: width 0.08s linear, opacity 0.25s ease;
  opacity: 0;
  background: linear-gradient(
    to right,
    #002B7F 0%,
    #002B7F 33.333%,
    #FCD116 33.333%,
    #FCD116 66.666%,
    #CE1126 66.666%,
    #CE1126 100%
  );
}

.ihrm-navbar.is-scrolled {
  box-shadow: var(--ihrm-shadow-lg);
  padding: 0.55rem 0;
}

.ihrm-navbar .nav-link.active {
  color: #fff !important;
  position: relative;
}

.ihrm-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0.15rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--ihrm-accent-light);
  border-radius: 2px;
}

/* Hero — no floating orbs */
.hero-orbs { display: none; }

.hero-title-animate {
  animation: fadeUp 0.8s ease both;
}

.hero-cta-animate {
  animation: fadeUp 0.8s ease 0.15s both;
}

.hero-stats-row {
  animation: fadeUp 0.8s ease 0.3s both;
  padding-top: 2rem;
  margin-top: 2.5rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.ihrm-pulse-badge { animation: none; }

.hero-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ihrm-radius-lg);
  padding: 1.15rem 1rem;
  transition: border-color var(--ihrm-transition), background var(--ihrm-transition);
}

.hero-stat-card:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(30, 111, 217, 0.45);
}

.hero-stat-card strong {
  display: block;
  font-size: 1.85rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.hero-stat-card span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* Reveal on scroll */
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease var(--reveal-delay, 0s), transform 0.65s ease var(--reveal-delay, 0s);
}

.reveal-item.is-visible,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cards interactive */
.feature-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ihrm-shadow-lg);
  border-color: rgba(30, 111, 217, 0.28);
}

.btn-interactive {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-interactive:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.ihrm-cap-card .cap-hover-hint {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--ihrm-accent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
}

.ihrm-cap-card:hover .cap-hover-hint {
  opacity: 1;
  transform: translateY(0);
}

.cap-icon-wrap {
  display: inline-flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ihrm-accent-soft);
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.ihrm-cap-card:hover .cap-icon-wrap {
  transform: none;
  background: rgba(30, 111, 217, 0.16);
}

/* Role tabs */
.ihrm-role-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.ihrm-role-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--ihrm-border);
  background: var(--ihrm-surface-elevated);
  color: var(--ihrm-text);
  padding: 0.55rem 1rem;
  border-radius: 2rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ihrm-role-tab:hover {
  border-color: var(--ihrm-accent);
  color: var(--ihrm-accent);
  transform: translateY(-2px);
}

.ihrm-role-tab.active {
  background: var(--ihrm-primary);
  border-color: var(--ihrm-primary);
  color: #fff;
  box-shadow: var(--ihrm-shadow-md);
}

.ihrm-role-panels {
  position: relative;
  min-height: 200px;
}

.ihrm-role-panel {
  display: none;
  animation: panelIn 0.35s ease;
}

.ihrm-role-panel.active {
  display: block;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.role-panel-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.role-panel-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--ihrm-radius-lg);
  background: var(--ihrm-accent-soft);
  color: var(--ihrm-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.role-panel-card h3 {
  margin: 0;
  color: var(--ihrm-primary);
  font-size: 1.35rem;
}

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

.ihrm-accordion .accordion-button {
  font-weight: 600;
  color: var(--ihrm-primary);
  background: var(--ihrm-surface-elevated);
}

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

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

/* API table interactive */
.api-row {
  transition: background 0.2s ease;
}

.api-row:hover {
  background: var(--ihrm-accent-soft);
}

.api-copy-btn {
  transition: all 0.2s ease;
}

.api-copy-btn.copied {
  background: var(--ihrm-success) !important;
  border-color: var(--ihrm-success) !important;
  color: #fff !important;
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ihrm-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background 0.2s;
  box-shadow: var(--ihrm-shadow-lg);
  text-decoration: none;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--ihrm-accent-hover);
  color: #fff;
}

.ihrm-fade-in {
  animation: fadeUp 0.4s ease;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item, .ihrm-pulse-badge { animation: none !important; transition: none !important; }
  .reveal-item { opacity: 1; transform: none; }
}

@media (max-width: 768px) {
  section { padding: 3rem 0; }
  body.ihrm-website #hero,
  body.ihrm-website .hero-section {
    min-height: auto;
  }
  .ihrm-role-tabs { gap: 0.35rem; }
  .ihrm-role-tab { font-size: 0.8rem; padding: 0.45rem 0.75rem; }
}

/* Bootstrap buttons — amber palette */
body.ihrm-website .btn-primary {
  background: var(--ihrm-accent);
  border-color: var(--ihrm-accent);
  color: #fff;
}

body.ihrm-website .btn-primary:hover {
  background: var(--ihrm-accent-hover);
  border-color: var(--ihrm-accent-hover);
  color: #fff;
}

body.ihrm-website .btn-outline-primary {
  color: var(--ihrm-accent-hover);
  border-color: var(--ihrm-accent);
}

body.ihrm-website .btn-outline-primary:hover {
  background: var(--ihrm-accent-soft);
  border-color: var(--ihrm-accent-hover);
  color: var(--ihrm-accent-hover);
}

/* Business context sections */
.ihrm-about-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ihrm-about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--ihrm-border);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ihrm-text);
}

.ihrm-about-list li:last-child { border-bottom: none; }

.ihrm-about-list li i {
  color: var(--ihrm-success);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.ihrm-ecosystem-note {
  background: var(--ihrm-surface-elevated);
  border: 1px solid var(--ihrm-border);
  border-left: 3px solid var(--ihrm-accent);
  border-radius: var(--ihrm-radius-lg);
  padding: 1.15rem 1.25rem;
  font-size: 0.92rem;
  color: var(--ihrm-text-muted);
  line-height: 1.65;
}

.ihrm-ecosystem-note strong { color: var(--ihrm-text); }

.industry-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.industry-card p {
  font-size: 0.88rem;
  color: var(--ihrm-text-muted);
  line-height: 1.55;
}

.use-case-card h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--ihrm-primary);
}

.use-case-meta { margin-bottom: 0.5rem; }

.use-case-industry {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ihrm-accent-hover);
  background: var(--ihrm-accent-soft);
  padding: 0.2rem 0.55rem;
  border-radius: 2rem;
}

.use-case-dl dt {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ihrm-text-muted);
  margin-bottom: 0.25rem;
}

.use-case-dl dd {
  font-size: 0.92rem;
  color: var(--ihrm-text);
  line-height: 1.55;
  margin-bottom: 0.85rem;
  margin-left: 0;
}

.use-case-dl dd:last-child { margin-bottom: 0; }

/* Trust strip */
.trust-strip {
  background: var(--ihrm-surface-elevated);
  border-bottom: 1px solid var(--ihrm-border);
  padding: 0.85rem 0;
}

.trust-strip-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ihrm-text-muted);
  text-align: center;
}

.trust-strip-item i {
  color: var(--ihrm-teal);
  font-size: 0.95rem;
}

/* Hero mini cards */
.hero-point-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--ihrm-radius-lg);
  padding: 1rem 1.1rem;
  height: 100%;
  transition: border-color var(--ihrm-transition), background var(--ihrm-transition);
}

.hero-point-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(30, 111, 217, 0.35);
}

.hero-point-card i {
  color: var(--ihrm-accent-light);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: block;
}

.hero-point-card strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 0.25rem;
}

.hero-point-card span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

/* Value pillars — expandable */
.value-pillar-card {
  border: 1px solid var(--ihrm-border);
  border-radius: var(--ihrm-radius-lg);
  background: var(--ihrm-surface-elevated);
  overflow: hidden;
  transition: box-shadow var(--ihrm-transition), border-color var(--ihrm-transition);
}

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

.value-pillar-toggle {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.value-pillar-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ihrm-primary-light), var(--ihrm-primary-mid));
  color: var(--ihrm-accent-light);
  border-radius: var(--ihrm-radius);
  font-size: 1.1rem;
}

.value-pillar-toggle h4 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--ihrm-primary);
  font-weight: 700;
}

.value-pillar-toggle .pillar-summary {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ihrm-text-muted);
  line-height: 1.55;
}

.value-pillar-chevron {
  margin-left: auto;
  color: var(--ihrm-accent);
  transition: transform 0.25s ease;
  padding-top: 0.25rem;
}

.value-pillar-card.is-open .value-pillar-chevron {
  transform: rotate(180deg);
}

.value-pillar-detail {
  margin: 0 1.5rem 1.35rem;
  padding: 0;
  border-top: 1px solid var(--ihrm-border);
}

.value-pillar-detail-inner {
  padding: 1rem 0 0 3.25rem;
  font-size: 0.92rem;
  color: var(--ihrm-text-muted);
  line-height: 1.65;
}

.value-pillar-card.is-open .value-pillar-detail-inner {
  animation: fadeUp 0.3s ease;
}

/* Scope comparison */
.scope-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

body.ihrm-website .solutions-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

@media (max-width: 767px) {
  .scope-grid { grid-template-columns: 1fr; }
}

.scope-card {
  border-radius: var(--ihrm-radius-lg);
  padding: 1.75rem;
  height: 100%;
}

.scope-card-includes {
  background: var(--ihrm-success-soft);
  border: 1px solid rgba(4, 120, 87, 0.2);
}

.scope-card-excludes {
  background: var(--ihrm-surface-blue);
  border: 1px solid rgba(100, 116, 139, 0.15);
}

.scope-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.scope-card-includes h4 { color: var(--ihrm-success); }
.scope-card-excludes h4 { color: var(--ihrm-slate); }

.scope-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.scope-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 0.65rem;
  color: var(--ihrm-text);
}

.scope-list li i { margin-top: 0.2rem; flex-shrink: 0; }
.scope-card-includes .scope-list li i { color: var(--ihrm-success); }
.scope-card-excludes .scope-list li i { color: var(--ihrm-slate-soft); }

.scope-note {
  background: linear-gradient(135deg, var(--ihrm-primary-mid), var(--ihrm-primary-light));
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--ihrm-radius-lg);
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-top: 1.5rem;
  border-left: 3px solid var(--ihrm-accent);
}

/* Apply flow steps */
.apply-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.apply-flow-step {
  flex: 1 1 200px;
  max-width: 280px;
  text-align: center;
  padding: 1.5rem 1.25rem;
  background: var(--ihrm-surface-elevated);
  border: 1px solid var(--ihrm-border);
  border-radius: var(--ihrm-radius-lg);
  transition: transform var(--ihrm-transition), box-shadow var(--ihrm-transition);
}

.apply-flow-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--ihrm-shadow-md);
  border-color: rgba(30, 111, 217, 0.25);
}

.apply-flow-step i {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ihrm-accent-soft);
  color: var(--ihrm-accent-hover);
  border-radius: 50%;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.apply-flow-step strong {
  display: block;
  color: var(--ihrm-primary);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.apply-flow-step span {
  font-size: 0.85rem;
  color: var(--ihrm-text-muted);
  line-height: 1.5;
}

/* Jobs CTA block */
.jobs-cta-block {
  background: linear-gradient(135deg, var(--ihrm-primary-mid) 0%, var(--ihrm-primary) 100%);
  border-radius: var(--ihrm-radius-xl);
  padding: 2.5rem 2rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.jobs-cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 20%, rgba(30, 111, 217, 0.15), transparent 50%);
  pointer-events: none;
}

.jobs-cta-block .section-title { color: #fff; }
.jobs-cta-block .section-subtitle { color: rgba(255, 255, 255, 0.82); }

/* Capability cards with detail */
.ihrm-cap-card .cap-detail {
  font-size: 0.85rem;
  color: var(--ihrm-teal);
  margin-top: 0.5rem;
  line-height: 1.5;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.25s, max-height 0.35s ease;
}

.ihrm-cap-card:hover .cap-detail {
  opacity: 1;
  max-height: 4rem;
}

/* Process step detail */
.process-flow-detail {
  font-size: 0.82rem;
  color: var(--ihrm-teal);
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--ihrm-border);
  line-height: 1.5;
  text-align: left;
}

/* Nav external link */
.nav-link-external::after {
  content: '\f08e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.65rem;
  margin-left: 0.35rem;
  opacity: 0.65;
}

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

.section-header .section-subtitle {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--ihrm-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── Inner page hero ───────────────────────────────────────── */
.page-hero {
  padding: 7rem 0 3.5rem !important;
  min-height: auto !important;
}

.page-hero-centered .hero-subtitle {
  max-width: 680px;
}

.hero-point-card--light {
  background: var(--ihrm-surface-elevated);
  border-color: var(--ihrm-border);
}

.hero-point-card--light strong { color: var(--ihrm-primary); }
.hero-point-card--light span { color: var(--ihrm-text-muted); }

/* ── Legal documents ───────────────────────────────────────── */
.legal-document {
  max-width: 820px;
  margin: 0 auto;
}

.legal-preamble {
  background: var(--ihrm-accent-soft);
  border-left: 3px solid var(--ihrm-accent);
  border-radius: var(--ihrm-radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: var(--ihrm-text);
}

.legal-section {
  background: var(--ihrm-surface-elevated);
  border: 1px solid var(--ihrm-border);
  border-radius: var(--ihrm-radius-lg);
  padding: 1.75rem;
  margin-bottom: 1rem;
  box-shadow: var(--ihrm-shadow);
}

.legal-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ihrm-primary);
  margin-bottom: 1rem;
}

.legal-section p,
.legal-section li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ihrm-text-muted);
}

.legal-section ul {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.legal-section li { margin-bottom: 0.5rem; }

.legal-contact-box {
  background: var(--ihrm-surface-blue);
  border-radius: var(--ihrm-radius);
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
}

.legal-contact-box a { color: var(--ihrm-accent-hover); }

/* ── Solutions tabs (corporate override) ─────────────────── */
body.ihrm-website .ihrm-solution-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--ihrm-border);
  border-radius: 2rem;
  background: var(--ihrm-surface-elevated);
  color: var(--ihrm-text);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--ihrm-transition);
}

body.ihrm-website .ihrm-solution-tab:hover {
  border-color: var(--ihrm-accent);
  color: var(--ihrm-accent-hover);
}

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

.solution-tab-intro {
  color: var(--ihrm-text-muted);
  font-size: 1rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

body.ihrm-website .ihrm-solution-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

body.ihrm-website .solution-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 991px) {
  body.ihrm-website .solution-cards {
    grid-template-columns: 1fr;
  }
}

body.ihrm-website .solution-card {
  background: var(--ihrm-surface-elevated);
  border: 1px solid var(--ihrm-border);
  border-radius: var(--ihrm-radius-lg);
  padding: 1.75rem;
  box-shadow: var(--ihrm-shadow);
  transition: transform var(--ihrm-transition), box-shadow var(--ihrm-transition), border-color var(--ihrm-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

body.ihrm-website .solution-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ihrm-primary);
  margin-bottom: 1rem;
}

body.ihrm-website .solution-card .features-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}

body.ihrm-website .solution-card .feature {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem;
  background: var(--ihrm-surface-blue);
  border: 1px solid var(--ihrm-border);
  border-radius: var(--ihrm-radius);
  transition: background var(--ihrm-transition), border-color var(--ihrm-transition);
}

body.ihrm-website .solution-card .feature:hover {
  background: var(--ihrm-accent-soft);
  border-color: rgba(30, 111, 217, 0.2);
}

body.ihrm-website .solution-card .feature i {
  color: var(--ihrm-accent);
  font-size: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

body.ihrm-website .solution-card .feature h4 {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ihrm-primary);
}

body.ihrm-website .solution-card .feature p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ihrm-text-muted);
}

body.ihrm-website .solution-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ihrm-accent-soft);
  color: var(--ihrm-accent-hover);
  border-radius: var(--ihrm-radius);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

body.ihrm-website .solution-card.solution-card-featured {
  background: linear-gradient(145deg, var(--ihrm-primary-mid), var(--ihrm-primary));
  border-color: rgba(30, 111, 217, 0.4);
  color: #fff;
  box-shadow: var(--ihrm-shadow-lg);
}

body.ihrm-website .solution-card.solution-card-featured:hover {
  border-color: rgba(212, 160, 23, 0.55);
  box-shadow: 0 20px 44px rgba(10, 15, 24, 0.22);
}

body.ihrm-website .solution-card.solution-card-featured h3 {
  color: #fff;
}

body.ihrm-website .solution-card.solution-card-featured .solution-icon {
  background: rgba(30, 111, 217, 0.28);
  color: var(--ihrm-accent-muted);
}

body.ihrm-website .solution-card.solution-card-featured .feature {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

body.ihrm-website .solution-card.solution-card-featured .feature:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

body.ihrm-website .solution-card.solution-card-featured .feature h4 {
  color: #fff;
}

body.ihrm-website .solution-card.solution-card-featured .feature p {
  color: rgba(255, 255, 255, 0.84);
}

body.ihrm-website .solution-card.solution-card-featured .feature i {
  color: var(--ihrm-accent-light);
}

body.ihrm-website .solution-tab-content {
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Case studies ──────────────────────────────────────────── */
.case-study-card { text-align: left; }

.case-study-number {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ihrm-slate-soft);
  letter-spacing: 0.05em;
}

.case-result {
  color: var(--ihrm-teal) !important;
  font-weight: 500;
}

.case-testimonial {
  background: var(--ihrm-surface-elevated);
  border: 1px solid var(--ihrm-border);
  border-left: 3px solid var(--ihrm-accent);
  border-radius: var(--ihrm-radius-lg);
  padding: 2rem;
  margin: 0;
  position: relative;
}

.case-testimonial-icon {
  color: var(--ihrm-accent-soft);
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.case-testimonial p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ihrm-text);
  margin-bottom: 1.25rem;
}

.case-testimonial footer strong {
  display: block;
  color: var(--ihrm-primary);
  font-size: 0.95rem;
}

.case-testimonial footer span {
  font-size: 0.85rem;
  color: var(--ihrm-text-muted);
}

/* ── Contact page ──────────────────────────────────────────── */
body.ihrm-website .contact-info-card,
body.ihrm-website .contact-form-card {
  background: var(--ihrm-surface-elevated);
  border: 1px solid var(--ihrm-border);
  border-radius: var(--ihrm-radius-lg);
  padding: 2rem;
  box-shadow: var(--ihrm-shadow);
}

body.ihrm-website .contact-info-item h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ihrm-text-muted);
  margin-bottom: 0.2rem;
}

body.ihrm-website .contact-info-item p,
body.ihrm-website .contact-info-item a {
  color: var(--ihrm-text);
  text-decoration: none;
}

body.ihrm-website .contact-info-item a:hover { color: var(--ihrm-accent-hover); }

body.ihrm-website .contact-info-icon {
  background: var(--ihrm-accent-soft);
  color: var(--ihrm-accent-hover);
}

body.ihrm-website .contact-info-item.compact {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--ihrm-border);
}

/* ── Company profile ───────────────────────────────────────── */
.company-meta-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ihrm-text-muted);
}

.company-meta-bar a { color: var(--ihrm-accent-hover); text-decoration: none; }
.company-meta-bar i { color: var(--ihrm-teal); margin-right: 0.35rem; }

.company-meta-link {
  background: var(--ihrm-accent-soft);
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  font-size: 0.82rem !important;
}

body.ihrm-website .content-card {
  background: var(--ihrm-surface-elevated);
  border: 1px solid var(--ihrm-border);
  border-radius: var(--ihrm-radius-lg);
  padding: 1.75rem;
  box-shadow: var(--ihrm-shadow);
}

body.ihrm-website .content-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ihrm-primary);
}

body.ihrm-website .job-item {
  border-bottom: 1px solid var(--ihrm-border);
  padding: 1.25rem 0;
}

body.ihrm-website .job-item:last-child { border-bottom: none; }

body.ihrm-website .job-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ihrm-primary);
  margin-bottom: 0.5rem;
}

body.ihrm-website .job-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

body.ihrm-website .job-date {
  font-size: 0.82rem;
  color: var(--ihrm-text-muted);
}

body.ihrm-website .job-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

body.ihrm-website .guest-apply-form input {
  min-width: 180px;
}

/* ── Auth pages ─────────────────────────────────────────────── */
body.page-auth {
  background: var(--ihrm-surface);
}

body.page-auth .auth-branding {
  background: linear-gradient(165deg, var(--ihrm-primary-mid) 0%, var(--ihrm-primary) 50%, #080c14 100%);
}

body.page-auth .auth-benefit-icon {
  background: rgba(30, 111, 217, 0.2);
}

body.page-auth .auth-benefit-item:hover .auth-benefit-icon {
  background: var(--ihrm-accent);
  color: #fff;
}

body.page-auth .auth-submit-btn {
  background: var(--ihrm-accent);
}

body.page-auth .auth-submit-btn:hover {
  background: var(--ihrm-accent-hover);
}

@media (max-width: 991px) {
  .page-hero { padding-top: 6.5rem !important; }
}

/* ── Inner pages — shared polish ───────────────────────────── */
body.ihrm-website .trust-strip + .content-section,
body.ihrm-website .trust-strip + section.content-section {
  padding-top: 3.5rem;
}

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

body.ihrm-website .feature-card .feature-icon {
  font-size: 1.5rem;
  color: var(--ihrm-accent);
  margin-bottom: 0.85rem;
  display: block;
}

body.ihrm-website .feature-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ihrm-primary);
  margin-bottom: 0.5rem;
}

body.ihrm-website .use-case-card {
  border-left: 3px solid var(--ihrm-accent);
}

body.ihrm-website .use-case-card:hover {
  border-left-color: var(--ihrm-teal);
}

body.ihrm-website .jobs-section .form-control,
body.ihrm-website .contact-form-card .form-control {
  border: 1px solid var(--ihrm-border);
  border-radius: var(--ihrm-radius);
  padding: 0.65rem 0.85rem;
}

body.ihrm-website .jobs-section .form-control:focus,
body.ihrm-website .contact-form-card .form-control:focus {
  border-color: var(--ihrm-accent);
  box-shadow: 0 0 0 3px var(--ihrm-accent-soft);
}

body.ihrm-website .page-cta-block {
  background: linear-gradient(135deg, var(--ihrm-primary-mid), var(--ihrm-primary));
  border-radius: var(--ihrm-radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  color: #fff;
  border-top: 3px solid var(--ihrm-accent);
  box-shadow: var(--ihrm-shadow-lg);
}

body.ihrm-website .page-cta-block .section-title {
  color: #fff;
}

body.ihrm-website .page-cta-block .section-lead {
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

/* ── Comparison table ──────────────────────────────────────── */
.comparison-table-wrap {
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--ihrm-radius-lg);
  box-shadow: var(--ihrm-shadow-md);
  border: 1px solid var(--ihrm-border);
}

.comparison-table {
  width: 100%;
  margin: 0;
  background: var(--ihrm-surface-elevated);
  border-collapse: collapse;
  font-size: 0.92rem;
}

.comparison-table thead th {
  background: var(--ihrm-primary-mid);
  color: #fff;
  padding: 1rem;
  font-weight: 600;
  border: none;
}

.comparison-table tbody td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--ihrm-border);
  vertical-align: top;
  line-height: 1.55;
}

.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover { background: var(--ihrm-accent-soft); }

.comparison-manual { color: var(--ihrm-slate); }
.comparison-ihrm { color: var(--ihrm-text); font-weight: 500; }

/* Feature grid compact */
.feature-grid-item {
  background: var(--ihrm-surface-elevated);
  border: 1px solid var(--ihrm-border);
  border-radius: var(--ihrm-radius-lg);
  padding: 1.15rem;
  height: 100%;
  transition: border-color var(--ihrm-transition), box-shadow var(--ihrm-transition);
}

.feature-grid-item:hover {
  border-color: rgba(30, 111, 217, 0.3);
  box-shadow: var(--ihrm-shadow-md);
}

.feature-grid-item i {
  color: var(--ihrm-accent);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: block;
}

.feature-grid-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--ihrm-primary);
  margin-bottom: 0.3rem;
}

.feature-grid-item span {
  font-size: 0.82rem;
  color: var(--ihrm-text-muted);
  line-height: 1.45;
}

/* Journey timeline */
.journey-timeline {
  max-width: 820px;
  margin: 0 auto;
}

.journey-step {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--ihrm-border);
}

.journey-step:last-child { border-bottom: none; }

.journey-step-number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ihrm-accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.95rem;
}

.journey-step-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ihrm-primary);
  margin-bottom: 0.35rem;
}

.journey-step-body p {
  font-size: 0.92rem;
  color: var(--ihrm-text-muted);
  line-height: 1.6;
}

/* Implementation phases */
.implementation-week {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ihrm-accent-hover);
  background: var(--ihrm-accent-soft);
  padding: 0.2rem 0.6rem;
  border-radius: 2rem;
}

.implementation-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.implementation-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--ihrm-text-muted);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.implementation-list li i {
  color: var(--ihrm-success);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Glossary */
.glossary-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--ihrm-border);
}

.glossary-item:last-child { border-bottom: none; }

.glossary-item dt {
  font-weight: 700;
  color: var(--ihrm-primary);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.glossary-item dd {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ihrm-text-muted);
  line-height: 1.6;
}

/* Tech stack */
.tech-stack-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--ihrm-surface-elevated);
  border: 1px solid var(--ihrm-border);
  border-radius: var(--ihrm-radius-lg);
  padding: 1.25rem;
  height: 100%;
}

.tech-stack-item i {
  font-size: 1.5rem;
  color: var(--ihrm-accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.tech-stack-item strong {
  display: block;
  color: var(--ihrm-primary);
  margin-bottom: 0.35rem;
}

.tech-stack-item p {
  font-size: 0.88rem;
  color: var(--ihrm-text-muted);
  line-height: 1.55;
}

.pipeline-step-detail {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--ihrm-teal);
  line-height: 1.45;
}

.webhook-item code {
  font-size: 0.85em;
  background: var(--ihrm-accent-soft);
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
}

.integration-flow-list {
  padding-left: 1.25rem;
  font-size: 0.92rem;
  color: var(--ihrm-text-muted);
  line-height: 1.65;
}

.integration-flow-list li { margin-bottom: 0.35rem; }

/* ── Responsive & overflow safety ──────────────────────────── */
body.ihrm-website {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

body.ihrm-website p,
body.ihrm-website li,
body.ihrm-website td,
body.ihrm-website th,
body.ihrm-website dd,
body.ihrm-website .dropdown-item,
body.ihrm-website .nav-link {
  overflow-wrap: anywhere;
}

body.ihrm-website .container,
body.ihrm-website .container-fluid {
  max-width: 100%;
  padding-left: clamp(0.85rem, 3vw, 1rem);
  padding-right: clamp(0.85rem, 3vw, 1rem);
}

@media (max-width: 767px) {
  body.ihrm-website .container,
  body.ihrm-website .container-fluid {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

body.ihrm-website .hero-title,
body.ihrm-website .section-title,
body.ihrm-website h1,
body.ihrm-website h2 {
  overflow-wrap: break-word;
  hyphens: auto;
}

body.ihrm-website .btn-hero,
body.ihrm-website .hero-cta-group .btn {
  white-space: normal;
  text-align: center;
}

body.ihrm-website .comparison-table-wrap,
body.ihrm-website .api-table-wrap,
body.ihrm-website .table-responsive {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.ihrm-website [class*="col-"],
body.ihrm-website .card,
body.ihrm-website .feature-card,
body.ihrm-website .solution-card,
body.ihrm-website .value-pillar-card {
  max-width: 100%;
}

@media (max-width: 1199px) {
  body.ihrm-website .solution-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  body.ihrm-website {
    padding-top: 64px;
  }

  body.ihrm-website .content-section {
    padding: 3rem 0;
  }

  .page-hero {
    padding: 5.5rem 0 2.5rem !important;
  }

  body.ihrm-website .hero-section,
  body.ihrm-website #hero {
    padding: 5rem 0 3rem;
  }

  body.ihrm-website #hero h1,
  body.ihrm-website #hero .hero-title,
  body.ihrm-website .hero-title {
    font-size: clamp(1.5rem, 5vw, 2.15rem) !important;
    line-height: 1.2;
  }

  body.ihrm-website .hero-subtitle,
  body.ihrm-website .section-subtitle {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .ihrm-navbar {
    padding: 0.65rem 0;
  }

  .ihrm-navbar .navbar-brand {
    font-size: 1.35rem;
  }

  .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;
  }

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

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

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

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

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

  .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);
  }

  .ihrm-navbar .ihrm-platform-dropdown .dropdown-header {
    color: rgba(255, 255, 255, 0.55);
  }

  .ihrm-navbar .ihrm-platform-dropdown .dropdown-item {
    background: transparent;
  }

  .ihrm-navbar .ihrm-platform-dropdown .dropdown-item:hover,
  .ihrm-navbar .ihrm-platform-dropdown .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.08);
  }

  .ihrm-navbar .ihrm-platform-dropdown .ihrm-dropdown-label strong {
    color: #fff;
  }

  .ihrm-navbar .ihrm-platform-dropdown .ihrm-dropdown-label small {
    color: rgba(255, 255, 255, 0.65);
  }

  body.ihrm-website .ihrm-solution-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    scrollbar-width: none;
  }

  body.ihrm-website .ihrm-solution-tabs::-webkit-scrollbar {
    display: none;
  }

  body.ihrm-website .ihrm-solution-tab {
    flex-shrink: 0;
  }

  body.ihrm-website .ihrm-role-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
  }

  body.ihrm-website .ihrm-role-tabs::-webkit-scrollbar {
    display: none;
  }

  body.ihrm-website .ihrm-role-tab {
    flex-shrink: 0;
  }

  body.ihrm-website .solution-cards {
    grid-template-columns: 1fr;
  }

  .scope-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip-item {
    font-size: 0.82rem;
    text-align: center;
  }

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

  body.ihrm-website .cookie-consent .cookie-btn {
    width: 100%;
  }

  .scroll-top {
    right: 1rem;
    bottom: 1rem;
    width: 40px;
    height: 40px;
  }

  body.ihrm-website .page-cta-block {
    padding: 2rem 1.25rem;
    border-radius: var(--ihrm-radius-lg);
  }

  body.ihrm-website .cta-banner {
    padding: 3rem 0;
  }

  body.ihrm-website .cta-banner .d-flex {
    flex-direction: column;
    align-items: stretch !important;
  }

  body.ihrm-website .cta-banner .btn {
    width: 100%;
  }

  body.ihrm-website .hero-cta-group {
    flex-direction: column;
    align-items: stretch !important;
  }

  body.ihrm-website .hero-cta-group .btn {
    width: 100%;
  }

  body.ihrm-website .guest-apply-form {
    flex-direction: column;
    align-items: stretch !important;
  }

  body.ihrm-website .guest-apply-form input {
    min-width: 0;
    width: 100%;
  }

  body.ihrm-website .job-actions {
    flex-direction: column;
    align-items: flex-start !important;
  }

  body.ihrm-website .job-action-buttons {
    width: 100%;
  }

  body.ihrm-website .job-action-buttons .btn {
    flex: 1 1 auto;
  }

  body.ihrm-website .company-meta-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }
}

@media (max-width: 575px) {
  body.ihrm-website .hero-stat-card strong {
    font-size: 1.35rem;
  }

  body.ihrm-website .footer-brand-title {
    font-size: 1.45rem;
  }

  body.ihrm-website .legal-document,
  body.ihrm-website .legal-section {
    padding: 1.25rem;
  }

  body.ihrm-website .contact-info-card,
  body.ihrm-website .contact-form-card {
    padding: 1.35rem;
  }

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

  body.ihrm-website .comparison-table {
    min-width: 520px;
  }
}
