/* assets/css/pages/products.css - Scoped Redesign & Code Visuals for Our Products Page */

/* ==================== 1. Container & Global Spacing ==================== */
body.page-products main .container {
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 32px;
  box-sizing: border-box;
  width: 100%;
}

.page-products .section {
  padding-block: 88px;
  box-sizing: border-box;
  position: relative;
}

/* Alternating Section Backgrounds with 1px Accent Divider */
body.page-products main > section.page-hero,
.page-products .page-hero {
  display: block !important;
  background: #080912;
  padding-top: 156px !important;
  padding-bottom: 72px !important;
  position: relative;
  overflow: hidden;
  width: 100% !important;
}

.page-products #problem {
  background: #0E0F1F;
  border-top: 1px solid rgba(101, 82, 217, 0.15);
}

.page-products #solution {
  background: #080912;
  border-top: 1px solid rgba(101, 82, 217, 0.15);
}

.page-products #features {
  background: #0E0F1F;
  border-top: 1px solid rgba(101, 82, 217, 0.15);
}

.page-products #benefits {
  background: #080912;
  border-top: 1px solid rgba(101, 82, 217, 0.15);
}

.page-products #gallery {
  background: #0E0F1F;
  border-top: 1px solid rgba(101, 82, 217, 0.15);
}

.page-products .cta-band {
  background: #080912;
  border-top: 1px solid rgba(101, 82, 217, 0.15);
  margin-bottom: 0;
}

/* ==================== 2. Section Header Block Everywhere ==================== */
.page-products .section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px auto;
}

.page-products .section-header .eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--lavender, #B3A8FF);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-products .section-header h2 {
  margin: 0 0 16px 0;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.25;
  text-wrap: balance;
  color: #FFFFFF;
  font-weight: 700;
}

.page-products .section-header .section-lead {
  font-size: 16px;
  line-height: 1.65;
  color: #C5C7DE;
  max-width: 640px;
  margin-inline: auto;
  text-wrap: balance;
}

/* ==================== 3. Section 1 – Hero (Split Layout & Alignment) ==================== */
.page-products .hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.page-products .ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 900;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
  font-family: var(--font-display, sans-serif);
  max-width: 90%;
  text-align: center;
}

.page-products .hero-content {
  position: relative;
  z-index: 1;
}

.page-products .hero-content .chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(101, 82, 217, 0.12);
  border: 1px solid rgba(179, 168, 255, 0.3);
  color: #B3A8FF;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.page-products .hero-content h1 {
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px 0;
  text-wrap: balance;
  color: #FFFFFF;
}

.page-products .hero-content h1 em {
  font-style: italic;
  font-weight: 700;
  color: #FFFFFF;
}

.page-products .hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: #C5C7DE;
  max-width: 520px;
  margin: 0;
}

.page-products .hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.page-products .chip-item {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(179, 168, 255, 0.06);
  border: 1px solid rgba(179, 168, 255, 0.18);
  color: #ECECF6;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.page-products .hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.page-products .hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Hero Dashboard Mockup (16:10, Container Query Scaling, Grid Fitted) */
.page-products .hero-dashboard-mockup {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  background: #0A0B18;
  border: 1px solid rgba(101, 82, 217, 0.25);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(101, 82, 217, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  container-type: inline-size;
  transform: perspective(1200px) rotateY(-6deg);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}

.page-products .hero-dashboard-mockup:hover {
  transform: perspective(1200px) rotateY(0);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.7), 0 0 60px rgba(123, 104, 238, 0.3);
}

.page-products .hero-dashboard-mockup .mockup-screen {
  flex: 1;
  display: grid;
  grid-template-columns: 24cqw 1fr;
  height: calc(100% - 32px);
  overflow: hidden;
  background: #080914;
}

.page-products .hero-dash-main {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 2cqw;
  padding: 2.2cqw 2.8cqw;
  height: 100%;
  box-sizing: border-box;
  min-height: 0;
  overflow: hidden;
  background: #070814;
}

.page-products .hero-dash-main > * {
  min-height: 0;
}

.page-products .hero-dash-main .m-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-products .hero-dash-main .m-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.6cqw 1.8cqw;
  border-radius: 9999px;
  font-size: clamp(10px, 1.8cqw, 12px);
  color: #7A7B9B;
  border: 1px solid rgba(255, 255, 255, 0.06);
  width: 65%;
}

.page-products .hero-dash-main .m-avatar {
  width: clamp(20px, 3.6cqw, 26px);
  height: clamp(20px, 3.6cqw, 26px);
  border-radius: 50%;
  background: #6552D9;
  color: #FFFFFF;
  font-size: clamp(8px, 1.6cqw, 11px);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-products .hero-dash-main .m-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5cqw;
  min-height: 0;
}

.page-products .hero-dash-main .m-kpi {
  background: #0E0F22;
  border: 1px solid rgba(101, 82, 217, 0.15);
  border-radius: 8px;
  padding: 1.2cqw 1.6cqw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-products .hero-dash-main .m-kpi-lbl {
  font-size: clamp(9px, 1.6cqw, 11px);
  color: #8E90B0;
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.page-products .hero-dash-main .m-kpi-val {
  font-size: clamp(14px, 3.2cqw, 22px);
  font-weight: 700;
  color: #FFFFFF;
  margin: 0.4cqw 0;
  font-family: 'Space Grotesk', var(--font-display, sans-serif);
  line-height: 1;
}

.page-products .hero-dash-main .m-trend {
  font-size: clamp(8px, 1.4cqw, 10px);
  font-weight: 600;
  white-space: nowrap;
}

.page-products .hero-dash-main .m-charts {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2cqw;
  min-height: 0;
  height: 100%;
}

.page-products .hero-dash-main .m-chart-card {
  background: #0E0F22;
  border: 1px solid rgba(101, 82, 217, 0.15);
  border-radius: 8px;
  padding: 1.4cqw 1.8cqw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
}

.page-products .hero-dash-main .m-chart-title {
  font-size: clamp(9px, 1.6cqw, 11px);
  font-weight: 600;
  color: #C5C7DE;
  margin-bottom: 0.8cqw;
}

.page-products .hero-dash-main .m-bars {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex: 1;
  max-height: 65px;
  min-height: 35px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-products .hero-dash-main .m-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  height: 100%;
  justify-content: flex-end;
}

.page-products .hero-dash-main .m-bar-col span {
  font-size: clamp(7px, 1.2cqw, 9px);
  color: #6E7090;
}

.page-products .hero-dash-main .m-bar {
  width: clamp(6px, 1.2cqw, 10px);
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #7B68EE, #3B2D85);
}

.page-products .hero-dash-main .m-bar.is-top {
  background: linear-gradient(180deg, #B3A8FF, #6552D9);
}

.page-products .hero-dash-main .m-donut-wrap {
  position: relative;
  width: clamp(42px, 8cqw, 56px);
  height: clamp(42px, 8cqw, 56px);
  margin: auto;
}

.page-products .hero-dash-main .m-donut-text {
  font-size: clamp(10px, 2cqw, 13px);
  font-weight: 700;
  color: #FFFFFF;
}

.page-products .hero-dash-main .m-footer {
  text-align: right;
  font-size: clamp(8px, 1.4cqw, 10px);
  color: #6E7090;
  padding-top: 2px;
}

/* ==================== 4. Section 2 – The Problem ==================== */
.page-products .problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.page-products .problem-media {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-products .problem-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

.page-products .problem-item {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 22px 20px;
  border-radius: 14px;
  background: rgba(14, 15, 31, 0.6);
  border: 1px solid rgba(101, 82, 217, 0.15);
  border-left: 3px solid #7B68EE;
  transition: background 0.25s ease, border-color 0.25s ease;
  flex: 1;
}

.page-products .problem-item:hover {
  background: rgba(20, 21, 45, 0.85);
  border-color: rgba(179, 168, 255, 0.3);
  border-left-color: #B3A8FF;
}

.page-products .problem-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: rgba(101, 82, 217, 0.15);
  border: 1px solid rgba(179, 168, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B3A8FF;
  flex-shrink: 0;
}

.page-products .problem-text h3 {
  font-size: 16.5px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 6px 0;
}

.page-products .problem-text p {
  font-size: 14px;
  line-height: 1.55;
  color: #C5C7DE;
  margin: 0;
}

/* ==================== 5. Section 3 – The Solution (Bento) ==================== */
.page-products .solution-bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.page-products .solution-media-panel {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-products .solution-tiles {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}

.page-products .solution-tile {
  padding: 24px 28px;
  border-radius: 16px;
  background: rgba(14, 15, 31, 0.7);
  border: 1px solid rgba(101, 82, 217, 0.18);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-products .solution-tile:hover {
  background: linear-gradient(135deg, rgba(101, 82, 217, 0.2), rgba(20, 16, 42, 0.5));
  border-color: rgba(179, 168, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.page-products .solution-tile--featured {
  background: linear-gradient(135deg, rgba(101, 82, 217, 0.3), rgba(20, 16, 42, 0.7));
  border: 1px solid rgba(179, 168, 255, 0.4);
  box-shadow: 0 8px 32px rgba(101, 82, 217, 0.15);
}

.page-products .solution-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #B3A8FF;
  margin-bottom: 8px;
}

.page-products .solution-tile h3 {
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 8px 0;
}

.page-products .solution-tile p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #C5C7DE;
  margin: 0;
}

/* ==================== 6. Section 4 – Features (Zig-Zag Bento Grid) ==================== */
.page-products .features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.page-products .feature-card {
  position: relative;
  padding: 32px;
  border-radius: 18px;
  background: #080915;
  border: 1px solid rgba(101, 82, 217, 0.2);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-products .feature-card:hover {
  border-color: rgba(179, 168, 255, 0.5);
  box-shadow: 0 0 25px rgba(101, 82, 217, 0.25);
  background: #0C0D20;
}

.page-products .feature-card--span2 {
  grid-column: span 2;
  background: linear-gradient(145deg, #0C0D22, #080915);
}

.page-products .feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(101, 82, 217, 0.12);
  border: 1px solid rgba(179, 168, 255, 0.25);
  color: #B3A8FF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.page-products .feature-pill {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  color: #B3A8FF;
  letter-spacing: 0.1em;
  background: rgba(101, 82, 217, 0.2);
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.page-products .feature-card h3 {
  font-size: 19px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 10px 0;
}

.page-products .feature-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #C5C7DE;
  margin: 0;
}

/* ==================== 7. Section 5 – Benefits & ROI ==================== */
.page-products .benefits-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.page-products .stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.page-products .stat-card {
  padding: 28px 24px;
  border-radius: 18px;
  background: #0E0F1F;
  border: 1px solid rgba(101, 82, 217, 0.2);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
}

.page-products .stat-card:hover {
  border-color: rgba(179, 168, 255, 0.4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-products .stat-num {
  font-size: 40px;
  font-weight: 700;
  color: #B3A8FF;
  line-height: 1;
  display: block;
  margin-bottom: 10px;
  font-family: 'Space Grotesk', var(--font-display, sans-serif);
}

.page-products .stat-title {
  font-size: 17px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 6px 0;
}

.page-products .stat-sub {
  font-size: 13px;
  color: #A5A7C5;
  line-height: 1.45;
  margin: 0;
}

.page-products .chart-card {
  padding: 32px;
  border-radius: 20px;
  background: #0E0F1F;
  border: 1px solid rgba(101, 82, 217, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.page-products .chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.page-products .chart-title {
  font-size: 19px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0 0 8px 0;
}

.page-products .chart-legend {
  display: flex;
  gap: 20px;
  font-size: 13.5px;
  color: #C5C7DE;
}

.page-products .legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-products .legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.page-products .dot-leads { background: #B3A8FF; box-shadow: 0 0 8px #B3A8FF; }
.page-products .dot-followups { background: #6552D9; box-shadow: 0 0 8px #6552D9; }
.page-products .dot-visits { background: #7561EA; box-shadow: 0 0 8px #7561EA; }

.page-products .chart-wrapper {
  width: 100%;
  flex: 1;
  min-height: 180px;
  overflow: hidden;
  position: relative;
}

.page-products .activity-chart {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: block;
}

/* Chart stroke draw animation */
.page-products .chart-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-products .chart-card.is-animated .chart-line {
  stroke-dashoffset: 0;
}

.page-products .line-leads { transition-delay: 0.1s; }
.page-products .line-followups { transition-delay: 0.3s; }
.page-products .line-visits { transition-delay: 0.5s; }

.page-products .chart-note {
  font-size: 12px;
  color: #A5A7C5;
  margin: 16px 0 0 0;
  text-align: right;
}

/* ==================== 8. Section 6 – Product Gallery (Tabbed Showcase) ==================== */
.page-products .gallery-tabs-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.page-products .gallery-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.page-products .gallery-tab-btn {
  appearance: none;
  background: rgba(14, 15, 31, 0.7);
  border: 1px solid rgba(101, 82, 217, 0.25);
  color: #C5C7DE;
  padding: 10px 24px;
  border-radius: 9999px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.page-products .gallery-tab-btn:hover {
  background: rgba(101, 82, 217, 0.2);
  border-color: rgba(179, 168, 255, 0.4);
  color: #FFFFFF;
}

.page-products .gallery-tab-btn.is-active {
  background: linear-gradient(135deg, rgba(101, 82, 217, 0.4), rgba(30, 22, 60, 0.8));
  border-color: #B3A8FF;
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(101, 82, 217, 0.35);
}

.page-products .gallery-tab-btn:focus-visible {
  outline: 2px solid #B3A8FF;
  outline-offset: 2px;
}

.page-products .gallery-tab-panel {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.page-products .gallery-tab-panel[hidden] {
  display: none;
}

.page-products .gallery-tab-panel.is-active {
  opacity: 1;
  transform: translateY(0);
}

.page-products .gallery-showcase {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
  background: #080915;
  border: 1px solid rgba(101, 82, 217, 0.2);
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.page-products .gallery-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: #B3A8FF;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.page-products .gallery-title {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 14px 0;
}

.page-products .gallery-desc {
  font-size: 16px;
  line-height: 1.65;
  color: #C5C7DE;
  margin: 0;
}

/* ==================== 9. Section 7 – CTA Band ==================== */
.page-products .cta-card {
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 48px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(20, 21, 38, 0.95), rgba(11, 12, 26, 0.98));
  border: 1px solid rgba(101, 82, 217, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(101, 82, 217, 0.15);
  box-sizing: border-box;
}

.page-products .cta-card h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.25;
  margin: 0 0 16px 0;
  color: #FFFFFF;
  text-wrap: balance;
  font-weight: 700;
}

.page-products .cta-lead {
  font-size: 16.5px;
  line-height: 1.6;
  color: #C5C7DE;
  max-width: 540px;
  margin: 0 auto 28px auto;
  text-wrap: balance;
}

.page-products .cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==================== 10. CODE VISUALS STYLING ==================== */

/* Shared Browser Frame */
.page-products .mockup-browser {
  width: 100%;
  aspect-ratio: 16/10;
  background: #0A0B18;
  border: 1px solid rgba(101, 82, 217, 0.25);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(101, 82, 217, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: inherit;
  font-size: 11px;
  box-sizing: border-box;
}

/* Hero Frame specific tilt */
.page-products .hero-visual .mockup-browser {
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}

.page-products .hero-visual .mockup-browser:hover {
  transform: perspective(1200px) rotateY(0) rotateX(0);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.7), 0 0 60px rgba(123, 104, 238, 0.3);
}

.page-products .mockup-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: #070812;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.page-products .m-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.page-products .m-dot--red { background: #FF5F56; }
.page-products .m-dot--yellow { background: #FFBD2E; }
.page-products .m-dot--green { background: #27C93F; }

.page-products .m-url {
  margin-left: 10px;
  font-size: 10.5px;
  color: #7A7B9B;
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 10px;
  border-radius: 5px;
  font-family: monospace;
}

.page-products .mockup-screen {
  flex: 1;
  display: grid;
  grid-template-columns: 120px 1fr;
  overflow: hidden;
  background: #080914;
}

/* Sidebar */
.page-products .m-sidebar {
  background: #0B0C1C;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-products .m-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-products .m-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7B68EE;
  box-shadow: 0 0 8px #7B68EE;
}

.page-products .m-brand-text {
  font-weight: 700;
  font-size: 10px;
  color: #FFFFFF;
  letter-spacing: 0.04em;
}

.page-products .m-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-products .m-nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 6px;
  color: #8F91B0;
  font-size: 10px;
  cursor: pointer;
}

.page-products .m-nav-item.is-active {
  background: rgba(101, 82, 217, 0.2);
  color: #B3A8FF;
  font-weight: 600;
}

/* Content Area */
.page-products .m-content {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  background: #070814;
}

.page-products .m-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-products .m-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 9.5px;
  color: #7A7B9B;
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: 60%;
}

.page-products .m-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6552D9;
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* KPI Cards */
.page-products .m-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.page-products .m-kpi {
  background: #0E0F22;
  border: 1px solid rgba(101, 82, 217, 0.15);
  border-radius: 7px;
  padding: 5px 8px;
}

.page-products .m-kpi-lbl {
  font-size: 8px;
  color: #8E90B0;
  display: block;
}

.page-products .m-kpi-val {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 1px 0;
  font-family: 'Space Grotesk', var(--font-display, sans-serif);
}

.page-products .m-trend {
  font-size: 8px;
  font-weight: 600;
}

.page-products .m-trend--up { color: #27C93F; }
.page-products .m-trend--amber { color: #FFBD2E; }

/* Charts Row */
.page-products .m-charts {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 6px;
}

.page-products .m-chart-card {
  background: #0E0F22;
  border: 1px solid rgba(101, 82, 217, 0.15);
  border-radius: 7px;
  padding: 6px 8px;
}

.page-products .m-chart-title {
  font-size: 8.5px;
  font-weight: 600;
  color: #C5C7DE;
  margin-bottom: 6px;
}

.page-products .m-bars {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 36px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-products .m-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  height: 100%;
  justify-content: flex-end;
}

.page-products .m-bar-col span {
  font-size: 6.5px;
  color: #6E7090;
}

.page-products .m-bar {
  width: 8px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, #7B68EE, #3B2D85);
}

.page-products .m-bar.is-top {
  background: linear-gradient(180deg, #B3A8FF, #6552D9);
}

/* Donut */
.page-products .m-donut-card {
  display: flex;
  flex-direction: column;
}

.page-products .m-donut-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  margin: 0 auto;
}

.page-products .m-donut {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.page-products .m-donut-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
  font-weight: 700;
  color: #FFFFFF;
}

/* Mini Table */
.page-products .m-table {
  background: #0E0F22;
  border: 1px solid rgba(101, 82, 217, 0.15);
  border-radius: 7px;
  padding: 4px 8px;
  font-size: 9px;
}

.page-products .m-table-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 3px 0;
  color: #7A7B9B;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 8px;
}

.page-products .m-table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 3px 0;
  align-items: center;
  color: #ECECF6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.page-products .m-badge {
  font-size: 7.5px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
}

.page-products .m-badge--new { background: rgba(179, 168, 255, 0.15); color: #B3A8FF; }
.page-products .m-badge--followup { background: rgba(255, 189, 46, 0.15); color: #FFBD2E; }
.page-products .m-badge--visit { background: rgba(123, 104, 238, 0.2); color: #9D8CFF; }
.page-products .m-badge--closed { background: rgba(39, 201, 63, 0.15); color: #27C93F; }

.page-products .m-footer {
  text-align: right;
  font-size: 7.5px;
  color: #6E7090;
  margin-top: auto;
}

/* ==================== VISUAL 2: THE PROBLEM (4/3) ==================== */
.page-products .mockup-problem {
  width: 100%;
  aspect-ratio: 4/3;
  background: radial-gradient(circle at center, #111226 0%, #070812 100%);
  border: 1px solid rgba(101, 82, 217, 0.25);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

.page-products .problem-canvas {
  width: 100%;
  height: 100%;
  position: relative;
}

.page-products .problem-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.page-products .problem-center-inbox {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1.5px dashed rgba(179, 168, 255, 0.35);
  border-radius: 14px;
  padding: 16px 22px;
  text-align: center;
  color: #8E90B0;
  font-size: 11px;
  z-index: 1;
  background: rgba(14, 15, 31, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.page-products .problem-card {
  position: absolute;
  background: #0E0F24;
  border: 1px solid rgba(101, 82, 217, 0.25);
  border-radius: 10px;
  padding: 9px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  font-size: 10px;
  z-index: 2;
  min-width: 130px;
}

.page-products .problem-card--1 { top: 12%; left: 6%; transform: rotate(-3deg); }
.page-products .problem-card--2 { top: 10%; right: 6%; transform: rotate(2.5deg); }
.page-products .problem-card--3 { bottom: 14%; left: 6%; transform: rotate(-2deg); }
.page-products .problem-card--4 { bottom: 12%; right: 6%; transform: rotate(3.5deg); }

.page-products .p-card-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.page-products .p-card-title {
  font-weight: 600;
  color: #FFFFFF;
}

.page-products .p-card-text {
  font-size: 9px;
  color: #8E90B0;
}

.page-products .p-count-red {
  background: rgba(255, 95, 86, 0.15);
  color: #FF5F56;
  font-size: 7.5px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: auto;
}

.page-products .problem-alert {
  position: absolute;
  border-radius: 9999px;
  padding: 4px 10px;
  font-size: 9.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 3;
}

.page-products .alert-amber {
  top: 52%;
  left: 4%;
  background: rgba(255, 189, 46, 0.15);
  border: 1px solid #FFBD2E;
  color: #FFBD2E;
}

.page-products .alert-red {
  top: 50%;
  right: 4%;
  background: rgba(255, 95, 86, 0.15);
  border: 1px solid #FF5F56;
  color: #FF5F56;
}

.page-products .alert-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* ==================== VISUAL 3: THE SOLUTION DIAGRAM ==================== */
.page-products .mockup-solution {
  width: 100%;
  aspect-ratio: 16/10;
  background: #080915;
  border: 1px solid rgba(101, 82, 217, 0.25);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  padding: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

.page-products .solution-diagram-canvas {
  display: grid;
  grid-template-columns: 110px 1fr 140px;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.page-products .diag-col {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.page-products .diag-sources {
  gap: 8px;
}

.page-products .diag-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(14, 15, 31, 0.9);
  border: 1px solid rgba(101, 82, 217, 0.25);
  color: #C5C7DE;
  font-size: 10.5px;
  font-weight: 500;
}

.page-products .diag-flow-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.page-products .flow-track {
  stroke: rgba(101, 82, 217, 0.2);
  stroke-width: 2;
  fill: none;
}

.page-products .flow-pulse {
  stroke: #B3A8FF;
  stroke-width: 2.5;
  stroke-dasharray: 8 200;
  fill: none;
  animation: flowDash 3s linear infinite;
}

.page-products .flow-pulse--1 { animation-delay: 0s; }
.page-products .flow-pulse--2 { animation-delay: 0.3s; }
.page-products .flow-pulse--3 { animation-delay: 0.6s; }
.page-products .flow-pulse--4 { animation-delay: 0.9s; }
.page-products .flow-pulse--5 { animation-delay: 1.2s; }
.page-products .flow-pulse--out { animation-delay: 1.8s; }

@keyframes flowDash {
  0% { stroke-dashoffset: 208; }
  100% { stroke-dashoffset: 0; }
}

.page-products .diag-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.page-products .diag-hub-core {
  background: linear-gradient(145deg, #161836, #0D0E22);
  border: 1.5px solid #7B68EE;
  border-radius: 14px;
  padding: 12px 16px;
  text-align: center;
  box-shadow: 0 0 30px rgba(101, 82, 217, 0.4);
}

.page-products .diag-hub-icon {
  color: #B3A8FF;
  margin-bottom: 4px;
}

.page-products .diag-hub-title {
  font-weight: 700;
  font-size: 11px;
  color: #FFFFFF;
}

.page-products .diag-hub-sub {
  font-size: 8px;
  color: #8E90B0;
}

.page-products .diag-check-card {
  background: rgba(14, 15, 31, 0.9);
  border: 1px solid rgba(101, 82, 217, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 10px;
  color: #ECECF6;
}

.page-products .diag-check-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-products .diag-check-icon {
  color: #27C93F;
  font-weight: 700;
}

/* ==================== VISUALS 4, 5, 6: GALLERY SCREENS ==================== */
.page-products .gallery-mockup {
  aspect-ratio: 16/10;
  width: 100%;
  height: auto;
  transform: none !important;
}

.page-products .gallery-screen {
  grid-template-columns: 36px 1fr;
}

.page-products .m-sidebar--mini {
  padding: 10px 4px;
  align-items: center;
}

.page-products .m-nav-mini {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.page-products .m-nav-icon {
  color: #6E7090;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 4px;
}

.page-products .m-nav-icon.is-active {
  color: #B3A8FF;
  background: rgba(101, 82, 217, 0.25);
}

.page-products .g-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.page-products .g-title {
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
}

.page-products .g-badge-count {
  font-size: 8px;
  color: #8E90B0;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 9999px;
}

.page-products .g-filter-tabs {
  display: flex;
  gap: 4px;
}

.page-products .g-tab {
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  color: #8E90B0;
  background: rgba(255, 255, 255, 0.03);
}

.page-products .g-tab.is-active {
  color: #B3A8FF;
  background: rgba(101, 82, 217, 0.25);
  font-weight: 600;
}

.page-products .g-full-table {
  background: #0E0F22;
  border: 1px solid rgba(101, 82, 217, 0.15);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 9px;
  display: flex;
  flex-direction: column;
}

.page-products .g-row {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 1fr 1fr 0.4fr;
  align-items: center;
  padding: 3.5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: #C5C7DE;
}

.page-products .g-row--head {
  color: #7A7B9B;
  font-size: 8px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-products .g-avatar {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #6552D9;
  color: #FFFFFF;
  font-size: 7.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-products .m-mono {
  font-family: monospace;
  font-size: 8.5px;
}

/* Gallery Screen 2: Reminders */
.page-products .g-reminders-list {
  background: #0E0F22;
  border: 1px solid rgba(101, 82, 217, 0.15);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 9px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.page-products .g-group-title {
  font-size: 8px;
  font-weight: 700;
  margin-top: 4px;
}

.page-products .g-group--red { color: #FF5F56; }
.page-products .g-group--amber { color: #FFBD2E; }
.page-products .g-group--lavender { color: #B3A8FF; }

.page-products .g-rem-row {
  display: grid;
  grid-template-columns: 12px 1fr 1.6fr 1fr 16px;
  align-items: center;
  padding: 2.5px 0;
  color: #ECECF6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.page-products .g-rem--overdue {
  color: #FFB3AF;
}

.page-products .g-bell { color: #FF5F56; font-size: 12px; }
.page-products .g-bell.is-amber { color: #FFBD2E; }
.page-products .g-bell.is-lavender { color: #B3A8FF; }

.page-products .g-check-circle {
  width: 11px;
  height: 11px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: inline-block;
}

/* Gallery Screen 3: Kanban */
.page-products .g-kanban {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  height: 100%;
}

.page-products .g-k-col {
  background: #0B0C1C;
  border-radius: 6px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-products .g-k-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-products .g-k-title {
  font-size: 8.5px;
  font-weight: 700;
  color: #C5C7DE;
}

.page-products .g-k-count {
  font-size: 7.5px;
  color: #8E90B0;
  background: rgba(255, 255, 255, 0.05);
  padding: 1px 5px;
  border-radius: 9999px;
}

.page-products .g-k-card {
  background: #14162E;
  border: 1px solid rgba(101, 82, 217, 0.2);
  border-radius: 5px;
  padding: 5px;
  font-size: 8px;
}

.page-products .g-k-card-title {
  font-weight: 600;
  color: #FFFFFF;
}

.page-products .g-k-card-sub {
  font-size: 7px;
  color: #8E90B0;
  margin: 2px 0 4px;
}

.page-products .g-k-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-products .g-k-badge {
  font-size: 6.5px;
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(179, 168, 255, 0.15);
  color: #B3A8FF;
}

.page-products .g-k-badge.is-amber {
  background: rgba(255, 189, 46, 0.15);
  color: #FFBD2E;
}

.page-products .g-k-badge.is-lavender {
  background: rgba(123, 104, 238, 0.2);
  color: #B3A8FF;
}

.page-products .g-k-badge.is-green {
  background: rgba(39, 201, 63, 0.15);
  color: #27C93F;
}

/* ==================== 11. Motion & Entrance Effects ==================== */
html.js .page-products .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

html.js .page-products .reveal.is-animated {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== 12. Responsive Breakpoints ==================== */
@media (max-width: 1024px) {
  .page-products .problem-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .page-products .solution-bento {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-products .features-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .feature-card--span2 {
    grid-column: span 1;
  }

  .page-products .gallery-showcase {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px;
  }
}

/* Mobile & Tablet below 900px */
@media (max-width: 900px) {
  .page-products .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .page-products .hero-content h1 {
    font-size: clamp(1.85rem, 6vw, 2.25rem);
  }

  .page-products .hero-dashboard-mockup {
    transform: none !important;
  }

  .page-products .hero-dashboard-mockup .mockup-screen {
    grid-template-columns: 90px 1fr;
  }

  .page-products .hero-actions {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  body.page-products main .container {
    padding: 0 20px;
  }

  .page-products .section {
    padding-block: 56px;
  }

  body.page-products main > section.page-hero,
  .page-products .page-hero {
    padding-top: 156px !important;
    padding-bottom: 56px !important;
  }

  .page-products .section-header {
    margin-bottom: 36px;
  }

  .page-products .features-bento {
    grid-template-columns: 1fr;
  }

  .page-products .feature-card--span2 {
    grid-column: span 1;
  }

  .page-products .stats-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-products .cta-card {
    padding: 40px 20px;
  }
}

/* ==================== 13. Accessibility: Reduced Motion ==================== */
@media (prefers-reduced-motion: reduce) {
  html.js .page-products .reveal,
  .page-products .chart-line,
  .page-products .hero-dashboard-mockup,
  .page-products .gallery-tab-panel,
  .page-products .flow-pulse {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    stroke-dashoffset: 0 !important;
  }
}


/* ==================== 14. AI Samrat HRMS Product Section ==================== */



/* HRMS Main Section */
.page-products #hrms {
  background: #090A15;
  border-top: 1px solid rgba(101, 82, 217, 0.2);
  position: relative;
  overflow: hidden;
  padding-block: 96px;
}

.page-products #hrms::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(101, 82, 217, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-products #hrms::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 213, 115, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* HRMS Highlights Bar */
.hrms-highlights-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}

.hrms-hl-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(22, 24, 46, 0.7);
  border: 1px solid rgba(101, 82, 217, 0.2);
  color: #C5C7DE;
  font-size: 13.5px;
  font-weight: 500;
}

.hrms-hl-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7B68EE;
  box-shadow: 0 0 8px #7B68EE;
}

.hrms-hl-dot--green {
  background: #2ed573;
  box-shadow: 0 0 8px #2ed573;
}

/* HRMS Showcase Box (Mac/Browser Frame) */
.hrms-showcase-box {
  background: #111326;
  border: 1px solid rgba(101, 82, 217, 0.28);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 32px rgba(101, 82, 217, 0.15);
  margin-bottom: 64px;
}

.hrms-browser-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(17, 19, 38, 0.95);
  border-bottom: 1px solid rgba(101, 82, 217, 0.2);
  gap: 16px;
  flex-wrap: wrap;
}

.hrms-browser-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hrms-window-dots {
  display: flex;
  gap: 6px;
}

.hrms-wdot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hrms-wdot--red { background: #FF5F56; }
.hrms-wdot--yellow { background: #FFBD2E; }
.hrms-wdot--green { background: #27C93F; }

.hrms-browser-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  color: #8C8FA8;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hrms-tabs-nav {
  display: flex;
  gap: 8px;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid rgba(101, 82, 217, 0.2);
}

.hrms-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: #8C8FA8;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hrms-tab-btn:hover {
  color: #FFFFFF;
}

.hrms-tab-btn.is-active {
  background: #6552D9;
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(101, 82, 217, 0.45);
}

.hrms-tab-panels {
  position: relative;
}

.hrms-tab-panel {
  display: none;
}

.hrms-tab-panel.is-active {
  display: block;
}

.hrms-screenshot-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0B0D1B;
}

.hrms-screenshot-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0B0D1B;
}

.hrms-screenshot-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid rgba(101, 82, 217, 0.2);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hrms-panel-footer {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0E1022;
  flex-wrap: wrap;
  gap: 16px;
}

.hrms-caption-title {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hrms-caption-sub {
  font-size: 13px;
  color: #8C8FA8;
  line-height: 1.5;
  margin-top: 2px;
}

.hrms-caption-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hrms-cap-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(101, 82, 217, 0.2);
  border: 1px solid rgba(101, 82, 217, 0.3);
  color: #B3A8FF;
}

/* Role-Based Portals 4-Column Grid */
.hrms-roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.hrms-role-card {
  background: rgba(22, 24, 46, 0.6);
  border: 1px solid rgba(101, 82, 217, 0.18);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.hrms-role-card:hover {
  transform: translateY(-4px);
  border-color: rgba(179, 168, 255, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(101, 82, 217, 0.2);
  background: rgba(26, 29, 56, 0.75);
}

.hrms-role-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(101, 82, 217, 0.2);
  border: 1px solid rgba(101, 82, 217, 0.3);
  color: #B3A8FF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.hrms-role-title {
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 6px 0;
}

.hrms-role-tag {
  font-size: 11px;
  font-weight: 700;
  color: #7B68EE;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.hrms-role-desc {
  font-size: 13.5px;
  color: #C5C7DE;
  line-height: 1.55;
  margin: 0 0 16px 0;
}

.hrms-role-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12.5px;
  color: #8C8FA8;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hrms-role-bullets li {
  position: relative;
  padding-left: 14px;
}

.hrms-role-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #7B68EE;
}

/* Bento 6-feature grid */
.hrms-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.hrms-feat-card {
  background: rgba(17, 19, 38, 0.7);
  border: 1px solid rgba(101, 82, 217, 0.18);
  border-radius: 18px;
  padding: 32px 28px;
  transition: all 0.3s ease;
}

.hrms-feat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(179, 168, 255, 0.4);
  background: rgba(22, 24, 46, 0.85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hrms-feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(101, 82, 217, 0.3), rgba(123, 104, 238, 0.15));
  border: 1px solid rgba(101, 82, 217, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B3A8FF;
  margin-bottom: 20px;
}

.hrms-feat-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 10px 0;
}

.hrms-feat-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #C5C7DE;
  margin: 0;
}

/* HRMS Bottom Action Card */
.hrms-action-card {
  background: linear-gradient(135deg, rgba(101, 82, 217, 0.22) 0%, rgba(22, 24, 46, 0.85) 100%);
  border: 1px solid rgba(101, 82, 217, 0.35);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.hrms-action-text h3 {
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 8px 0;
}

.hrms-action-text p {
  font-size: 15px;
  color: #C5C7DE;
  margin: 0;
  max-width: 620px;
  line-height: 1.55;
}

.hrms-action-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .hrms-roles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hrms-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hrms-action-card {
    flex-direction: column;
    text-align: center;
  }
  .hrms-action-btns {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hrms-roles-grid {
    grid-template-columns: 1fr;
  }
  .hrms-features-grid {
    grid-template-columns: 1fr;
  }
  .hrms-browser-topbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .hrms-tabs-nav {
    width: 100%;
    flex-direction: column;
  }
  .hrms-tab-btn {
    width: 100%;
    justify-content: center;
  }
  .hrms-action-card {
    padding: 24px 18px;
  }
}

/* Mobile Polish for HRMS Component */
@media (max-width: 640px) {
  .page-products .section-header .eyebrow {
    font-size: 11.5px;
    letter-spacing: 0.1em;
  }
  .hrms-browser-topbar {
    padding: 12px 14px;
    gap: 12px;
  }
  .hrms-browser-left {
    justify-content: space-between;
    width: 100%;
  }
  .hrms-browser-url {
    font-size: 11px;
    padding: 3px 10px;
  }
  .hrms-tabs-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 6px;
    padding: 4px;
  }
  .hrms-tab-btn {
    width: 100%;
    justify-content: center;
    font-size: 12px;
    padding: 8px 10px;
  }
  .hrms-panel-footer {
    padding: 16px;
    gap: 12px;
  }
  .hrms-caption-title {
    font-size: 14px;
  }
  .hrms-caption-sub {
    font-size: 12px;
  }
  .hrms-hl-pill {
    font-size: 12px;
    padding: 6px 12px;
  }
}


/* ==================== 15. HRMS 3D Block Structure & Effects ==================== */

/* 3D Hero Block Container */
.hrms-3d-hero-block {
  position: relative;
  border-radius: 28px;
  background: radial-gradient(ellipse 90% 60% at 50% -20%, rgba(38, 42, 86, 0.75) 0%, rgba(14, 16, 34, 0.92) 75%, rgba(10, 11, 24, 0.98) 100%);
  border: 1px solid rgba(123, 104, 238, 0.32);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 50px rgba(101, 82, 217, 0.18);
  padding: 56px 48px 48px 48px;
  margin: 0 auto 56px auto;
  text-align: center;
  overflow: hidden;
  max-width: 1100px;
  box-sizing: border-box;
}

/* Ambient 3D Glow and Mesh */
.hrms-3d-bg-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 250px;
  background: radial-gradient(ellipse, rgba(123, 104, 238, 0.35) 0%, rgba(46, 213, 115, 0.12) 50%, transparent 75%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.hrms-3d-mesh {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(123, 104, 238, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 104, 238, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* 3D Eyebrow Container & Pill */
.hrms-3d-eyebrow-container {
  display: inline-block;
  position: relative;
  margin-bottom: 22px;
  z-index: 1;
}

.hrms-badge-glow-3d {
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7B68EE, #38BDF8, #2ED573, #A855F7, #7B68EE);
  background-size: 300% 100%;
  animation: hrmsShimmer 5s linear infinite;
  filter: blur(7px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

@keyframes hrmsShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hrms-3d-eyebrow-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(16, 18, 38, 0.94);
  border: 1px solid rgba(179, 168, 255, 0.45);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  user-select: none;
}

.hrms-3d-eyebrow-pill:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(216, 180, 254, 0.7);
  box-shadow: 0 10px 32px rgba(123, 104, 238, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Pulsing Beacon */
.hrms-beacon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 9px;
  height: 9px;
  flex-shrink: 0;
}

.hrms-beacon-pulse {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(46, 213, 115, 0.55);
  animation: hrmsBeaconPulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hrms-beacon-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ED573;
  box-shadow: 0 0 10px #2ED573;
}

@keyframes hrmsBeaconPulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hrms-sparkle-icon {
  display: flex;
  align-items: center;
  color: #B3A8FF;
  filter: drop-shadow(0 0 6px rgba(179, 168, 255, 0.8));
  flex-shrink: 0;
}

.hrms-eyebrow-text {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  text-transform: uppercase;
}

.hrms-eyebrow-bullet {
  color: #7B68EE;
  font-size: 14px;
  line-height: 1;
}

.hrms-eyebrow-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #2ED573;
  text-transform: uppercase;
  background: rgba(46, 213, 115, 0.15);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(46, 213, 115, 0.35);
}

/* 3D Title */
.hrms-3d-title {
  position: relative;
  z-index: 1;
  font-size: clamp(34px, 5.2vw, 56px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin: 0 0 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hrms-title-brand {
  color: #FFFFFF;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 35px rgba(123, 104, 238, 0.25);
}

/* 3D Chip for HRMS */
.hrms-3d-chip {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 4px 18px 6px 18px;
  border-radius: 14px;
  background: linear-gradient(145deg, #1A1C38 0%, #111326 100%);
  border: 1px solid rgba(168, 85, 247, 0.5);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.45),
    0 0 25px rgba(123, 104, 238, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -2px 0 rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hrms-3d-chip:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 
    0 12px 32px rgba(0, 0, 0, 0.55),
    0 0 35px rgba(168, 85, 247, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hrms-chip-glow {
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(46, 213, 115, 0.3));
  filter: blur(4px);
  z-index: 0;
  opacity: 0.6;
}

.hrms-chip-text {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #C084FC 0%, #7B68EE 50%, #2ED573 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  letter-spacing: 0.04em;
  font-style: italic;
  filter: drop-shadow(0 2px 8px rgba(123, 104, 238, 0.4));
}

/* 3D Lead Text */
.hrms-3d-lead {
  position: relative;
  z-index: 1;
  font-size: 16.5px;
  line-height: 1.68;
  color: #C5C7DE;
  max-width: 820px;
  margin: 0 auto 36px auto;
  text-wrap: balance;
}

/* 3D Feature Blocks */
.hrms-3d-feature-blocks {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 0 auto;
}

.hrms-3d-fblock {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(22, 25, 52, 0.7);
  border: 1px solid rgba(123, 104, 238, 0.22);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #E2E4F3;
  font-size: 13.5px;
  font-weight: 600;
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  user-select: none;
}

.hrms-3d-fblock:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(28, 32, 66, 0.9);
  border-color: rgba(179, 168, 255, 0.45);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), 0 0 20px rgba(123, 104, 238, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.hrms-3d-fblock.is-live {
  border-color: rgba(46, 213, 115, 0.35);
  background: rgba(16, 32, 34, 0.75);
}

.hrms-3d-fblock.is-live:hover {
  border-color: rgba(46, 213, 115, 0.6);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), 0 0 20px rgba(46, 213, 115, 0.3);
}

.fblock-icon {
  display: flex;
  align-items: center;
  color: #B3A8FF;
  flex-shrink: 0;
}

.fblock-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ED573;
  box-shadow: 0 0 8px #2ED573;
  flex-shrink: 0;
}

.fblock-title {
  white-space: nowrap;
}

/* 3D Enhancement on Showcase Browser Mockup */
.hrms-showcase-box {
  transform: perspective(1400px) rotateX(1deg);
  transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.4s ease;
}

.hrms-showcase-box:hover {
  transform: perspective(1400px) rotateX(0deg) translateY(-6px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.75), 0 0 50px rgba(123, 104, 238, 0.25);
}

/* Responsive Fitting */
@media (max-width: 992px) {
  .hrms-3d-hero-block {
    padding: 44px 28px 36px 28px;
    border-radius: 22px;
  }
  .hrms-3d-lead {
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .hrms-3d-hero-block {
    padding: 32px 18px 28px 18px;
    border-radius: 18px;
    margin-bottom: 40px;
  }
  .hrms-showcase-box {
    transform: none !important;
  }
  .hrms-3d-eyebrow-pill {
    padding: 6px 14px;
    gap: 7px;
  }
  .hrms-eyebrow-text {
    font-size: 11px;
    letter-spacing: 0.08em;
  }
  .hrms-eyebrow-tag {
    font-size: 10px;
    padding: 2px 6px;
  }
  .hrms-3d-title {
    font-size: clamp(26px, 7.5vw, 36px);
    gap: 10px;
  }
  .hrms-3d-chip {
    padding: 3px 14px 4px 14px;
    border-radius: 10px;
  }
  .hrms-3d-lead {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .hrms-3d-feature-blocks {
    gap: 8px;
  }
  .hrms-3d-fblock {
    padding: 8px 14px;
    font-size: 12px;
    border-radius: 10px;
  }
}
