/* ═══════════════════════════════════════════════
   HRMS PAGE — ENTERPRISE PREMIUM STYLES
   ═══════════════════════════════════════════════ */

/* ── HRMS HERO ── */
.hrms-hero {
  background: linear-gradient(160deg, #0a0a14 0%, #12082a 55%, #0a1420 100%);
  padding: 80px 0 0;
  overflow: hidden;
  position: relative;
}

.hrms-hero::before {
  content: '';
  position: absolute; top: -150px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(114,9,183,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hrms-hero::after {
  content: '';
  position: absolute; bottom: 0; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(155,28,44,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hrms-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 0;
  position: relative; z-index: 1;
}

.hrms-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
  font-size: 0.82rem; color: rgba(255,255,255,.5);
}

.hrms-hero h1 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -.03em; color: #fff;
  margin-bottom: 20px;
}

.hrms-gradient-text {
  background: linear-gradient(135deg, #c084fc 0%, #9b1c2c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hrms-hero p {
  font-size: 1.05rem; color: rgba(255,255,255,.55);
  line-height: 1.75; margin-bottom: 36px; max-width: 480px;
}

.hrms-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hrms-social-proof {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,.35); font-size: 0.82rem;
}

.hrms-hero-visual { position: relative; }

.hrms-hero-screenshot {
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  box-shadow: 0 -8px 60px rgba(114,9,183,.25), 0 0 0 1px rgba(255,255,255,.07);
}

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

/* ── MODULE COUNT BADGE ── */
.module-count-row {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.module-count-item { text-align: center; }
.module-count-num {
  font-size: 2rem; font-weight: 900; color: #fff;
  line-height: 1; letter-spacing: -.03em;
}
.module-count-label {
  font-size: 0.75rem; color: rgba(255,255,255,.4);
  margin-top: 4px;
}

/* ── MODULES GRID ── */
.modules-section { background: var(--surface); }

.modules-category { margin-bottom: 56px; }
.modules-category:last-child { margin-bottom: 0; }

.category-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--brand);
  margin-bottom: 20px;
}
.category-label::after {
  content: ''; flex: 1; height: 1px;
  background: var(--border); min-width: 40px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.module-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  position: relative; overflow: hidden;
}
.module-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--gradient-end));
  opacity: 0; transition: opacity .2s;
}
.module-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: transparent; }
.module-card:hover::before { opacity: 1; }

.module-icon {
  width: 44px; height: 44px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 14px;
}
.module-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.module-card p { font-size: 0.83rem; color: var(--text-2); line-height: 1.6; }

/* ── HRMS FEATURE ROWS ── */
.hrms-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.hrms-feature-row:last-child { border-bottom: none; }
.hrms-feature-row.reverse { direction: rtl; }
.hrms-feature-row.reverse > * { direction: ltr; }

.hrms-feature-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--brand); background: var(--brand-light);
  padding: 4px 12px; border-radius: 99px; margin-bottom: 16px;
}

.hrms-feature-text h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800; line-height: 1.2; margin-bottom: 16px;
}
.hrms-feature-text p { color: var(--text-2); line-height: 1.75; margin-bottom: 20px; }

.hrms-feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.hrms-feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--text-2);
}
.hrms-feature-list li::before {
  content: '✓';
  color: var(--brand); font-weight: 700; flex-shrink: 0; margin-top: 1px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hrms-hero-inner { grid-template-columns: 1fr; }
  .hrms-hero-visual { display: none; }
  .hrms-feature-row, .hrms-feature-row.reverse { grid-template-columns: 1fr; direction: ltr; }
}
