/* ══════════════════════════════════════════════════════════════════════════
   FASTPRINT ERP — ENTERPRISE OPERATIONS SHOWCASE STYLESHEET
   Harmonized with FAST GROUP & Dorint Design System
   Canvas: #f8fafd • Navy: #0b192c / #071527 • Accent: #0461be • Cyan: #00d2d3
   Zero Slop • Clean Contrast • Accessible WCAG AA/AAA
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Surface & Foundations (100% matched with index.html & dorint.css) */
  --erp-canvas: #f8fafd;
  --erp-surface: #ffffff;
  --erp-surface-alt: #f1f5f9;
  --erp-surface-subtle: #eef4fb;
  --erp-card-tint: #ebf3fc;
  --erp-card-border: #d6e6f8;

  /* Deep Enterprise Navy & Slate */
  --erp-navy-darkest: #071527;
  --erp-navy-dark: #0b192c;
  --erp-navy-mid: #1e3e62;
  --erp-slate-dark: #1e293b;
  --erp-slate-text: #334155;
  --erp-slate-muted: #475569;
  --erp-slate-light: #64748b;

  /* Telemetry & Brand Accents */
  --erp-blue: #0461be;
  --erp-blue-hover: #0353a4;
  --erp-blue-subtle: rgba(4, 97, 190, 0.08);
  --erp-cyan: #00d2d3;
  --erp-emerald: #10b981;
  --erp-emerald-bg: #ecfdf5;
  --erp-amber: #f59e0b;
  --erp-red: #ef4444;

  /* Borders & Dividers */
  --erp-border: #e2e8f0;
  --erp-border-subtle: #edf2f7;
  --erp-border-dark: rgba(255, 255, 255, 0.12);

  /* Geometry & Physics */
  --erp-radius-xs: 6px;
  --erp-radius-sm: 8px;
  --erp-radius-md: 14px;
  --erp-radius-lg: 20px;
  --erp-radius-xl: 28px;
  --erp-radius-pill: 9999px;
  --erp-header-height: 68px;

  /* Layered Neutral Elevation Shadows (Strictly pure neutral black, blur <= 12px) */
  --erp-shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
  --erp-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --erp-shadow-md: 0 3px 8px rgba(0, 0, 0, 0.07);
  --erp-shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.08);
  --erp-shadow-dark: 0 6px 12px rgba(0, 0, 0, 0.25);

  /* Typography */
  --erp-font-sans:
    "Public Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  --erp-font-mono:
    ui-monospace, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono",
    monospace;
  --erp-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── BROWSER SURFACES ─── */
::selection {
  background: var(--erp-blue);
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--erp-canvas);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--erp-radius-pill);
  border: 2px solid var(--erp-canvas);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ─── BASE RESET & SKIP LINK (FIXED: NEVER VISIBLE AT (0,0)) ─── */
.skip-link,
.drt-skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 9999;
  background: var(--erp-navy-darkest);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--erp-radius-sm);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: top 0.2s ease;
}

.skip-link:focus,
.drt-skip-link:focus {
  top: 16px;
  outline: 2px solid var(--erp-blue);
  outline-offset: 2px;
}

html {
  scroll-behavior: smooth;
}

body.erp-theme {
  background-color: var(--erp-canvas);
  color: var(--erp-slate-text);
  font-family: var(--erp-font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  margin: 0;
  padding: 0;
  position: relative;
}

.erp-container {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
}

@media (max-width: 640px) {
  .erp-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ─── ENTERPRISE TOP NAVBAR (100% IDENTICAL TO INDEX.HTML & DORINT) ─── */
nav#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 400;
  height: var(--erp-header-height);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--erp-border);
  transition: box-shadow 0.24s ease;
  box-sizing: border-box;
}

nav#nav.scrolled {
  box-shadow: var(--erp-shadow-md);
}

@media (max-width: 900px) {
  nav#nav {
    padding: 0 20px;
  }
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-brand-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--erp-navy-dark);
  letter-spacing: -0.02em;
}

.nav-brand-meta {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--erp-blue);
  text-transform: uppercase;
}

.nav-brand-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  background: var(--erp-card-tint);
  border: 1px solid var(--erp-card-border);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--erp-blue);
  letter-spacing: 0.04em;
  margin-left: 6px;
}

@media (max-width: 480px) {
  .nav-brand-badge {
    display: none;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    top: var(--erp-header-height);
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px 32px;
    gap: 18px;
    border-bottom: 1px solid var(--erp-border);
    box-shadow: var(--erp-shadow-md);
    transform: translateY(-130%);
    transition: transform 0.25s var(--erp-ease);
    z-index: 399;
  }

  .nav-links.open {
    transform: translateY(0);
  }
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--erp-slate-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--erp-blue);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--erp-ease);
}

.nav-links a:hover {
  color: var(--erp-navy-dark);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-r {
  display: flex;
  align-items: center;
  gap: 12px;
}

.n-ghost {
  background: none;
  color: var(--erp-navy-dark);
  border: 1px solid #d5e2ee;
  padding: 9px 18px;
  border-radius: var(--erp-radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  box-sizing: border-box;
}

.n-ghost:hover {
  border-color: var(--erp-navy-mid);
  background: var(--erp-surface-alt);
  color: var(--erp-navy-mid);
}

@media (max-width: 640px) {
  .n-ghost {
    display: none;
  }
}

.n-cta {
  background: var(--erp-navy-dark);
  color: #ffffff;
  border: none;
  padding: 9px 20px;
  border-radius: var(--erp-radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  box-sizing: border-box;
  cursor: pointer;
}

.n-cta:hover {
  background: var(--erp-blue);
  transform: translateY(-1px);
  color: #ffffff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #d5e2ee;
  border-radius: var(--erp-radius-sm);
  padding: 8px;
  color: var(--erp-navy-dark);
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }
}

/* ─── HERO SECTION ─── */
.erp-hero-section {
  padding-top: calc(var(--erp-header-height) + 56px);
  padding-bottom: 80px;
  position: relative;
  background: linear-gradient(180deg, #f8fafd 0%, #edf4fc 100%);
  border-bottom: 1px solid var(--erp-border);
}

.erp-hero-header {
  text-align: center;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

/* Breadcrumbs */
.breadcrumb-nav {
  margin-bottom: 24px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
}

.breadcrumb-item a {
  color: var(--erp-blue);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--erp-slate-light);
}

.breadcrumb-item.active {
  color: var(--erp-slate-muted);
  font-weight: 500;
}

.erp-hero-title {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--erp-navy-darkest);
  margin-top: 0;
  margin-bottom: 20px;
  text-wrap: balance;
}

.erp-hero-lead {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.65;
  color: var(--erp-slate-muted);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
  text-wrap: balance;
}

.erp-hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.erp-btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background: var(--erp-navy-dark);
  border: 1px solid var(--erp-navy-dark);
  border-radius: var(--erp-radius-sm);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.2s var(--erp-ease);
}

.erp-btn-hero-primary:hover {
  background: var(--erp-blue);
  border-color: var(--erp-blue);
  transform: translateY(-1px);
}

.erp-btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  color: var(--erp-navy-dark);
  background: #ffffff;
  border: 1px solid #d5e2ee;
  border-radius: var(--erp-radius-sm);
  text-decoration: none;
  transition: all 0.2s var(--erp-ease);
}

.erp-btn-hero-secondary:hover {
  border-color: var(--erp-blue);
  background: var(--erp-surface-alt);
  transform: translateY(-1px);
}

/* ─── LIVE TELEMETRY STRIP ─── */
.erp-telemetry-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--erp-border);
  border: 1px solid var(--erp-border);
  border-radius: var(--erp-radius-md);
  overflow: hidden;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 56px;
  box-shadow: var(--erp-shadow-xs);
}

@media (max-width: 800px) {
  .erp-telemetry-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .erp-telemetry-strip {
    grid-template-columns: 1fr;
  }
}

.erp-telemetry-item {
  background: #ffffff;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.erp-telemetry-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--erp-navy-darkest);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.erp-telemetry-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--erp-slate-light);
  line-height: 1.3;
}

/* ─── HERO MAIN SHOWCASE STAGE (HIGH-TECH WINDOW) ─── */
.erp-hero-stage-card {
  position: relative;
  border-radius: var(--erp-radius-lg);
  background: var(--erp-navy-darkest);
  border: 1px solid var(--erp-slate-dark);
  box-shadow: var(--erp-shadow-dark);
  overflow: hidden;
  padding: 12px;
  transition: border-color 0.2s var(--erp-ease);
}

.erp-window-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--erp-navy-dark);
  border-bottom: 1px solid #1e293b;
  border-radius: var(--erp-radius-sm) var(--erp-radius-sm) 0 0;
}

.erp-chrome-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.erp-chrome-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.erp-chrome-dot.red {
  background: #ef4444;
}
.erp-chrome-dot.yellow {
  background: #f59e0b;
}
.erp-chrome-dot.green {
  background: #10b981;
}

.erp-chrome-title {
  font-size: 12px;
  font-family: var(--erp-font-mono);
  color: #94a3b8;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.erp-chrome-host {
  color: #cbd5e1;
  font-weight: 600;
}

.erp-chrome-path {
  color: #64748b;
}

@media (max-width: 640px) {
  .erp-chrome-path {
    display: none;
  }
}

.erp-chrome-status {
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
}

.erp-stage-viewport {
  position: relative;
  background: #03070e;
  overflow: hidden;
  cursor: zoom-in;
  border-radius: 0 0 var(--erp-radius-sm) var(--erp-radius-sm);
}

/* ─── HERO MODULES ECOSYSTEM GRID (REPLACING STATIC IMAGE) ─── */
.erp-stage-viewport--modules {
  cursor: default;
  background:
    radial-gradient(
      circle at 20% 15%,
      rgba(4, 97, 190, 0.16) 0%,
      transparent 70%
    ),
    #071527;
  padding: 20px;
}

.erp-hero-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.erp-hero-module-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  background: rgba(11, 25, 44, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--erp-radius-md, 12px);
  padding: 16px 16px 18px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.24s ease;
  cursor: pointer;
}

.erp-hero-module-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.erp-hero-module-card[data-module="manufacturing"]::before {
  background: var(--erp-cyan, #00d2d3);
}
.erp-hero-module-card[data-module="accounting"]::before {
  background: #3392e6;
}
.erp-hero-module-card[data-module="fastpos"]::before {
  background: #f85920;
}
.erp-hero-module-card[data-module="marketplace"]::before {
  background: #c21919;
}
.erp-hero-module-card[data-module="sales"]::before {
  background: #10b981;
}
.erp-hero-module-card[data-module="crm"]::before {
  background: #8b5cf6;
}
.erp-hero-module-card[data-module="helpdesk"]::before {
  background: #f59e0b;
}

.erp-hero-module-card:hover {
  transform: translateY(-3px);
  background: rgba(15, 33, 58, 0.96);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.erp-hero-module-card:hover::before {
  opacity: 1;
}

.erp-hero-module-card:focus-visible {
  outline: 2px solid var(--erp-blue, #0461be);
  outline-offset: 2px;
}

.erp-module-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 8px;
}

.erp-module-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--erp-radius-sm, 8px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
  box-shadow: rgba(0, 0, 0, 0.2) 0 2px 6px;
  transition: transform 0.2s var(--erp-ease);
}

.erp-hero-module-card:hover .erp-module-icon-wrap {
  transform: scale(1.06);
}

.erp-module-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.erp-module-spec-badge {
  font-family: var(--erp-font-mono, monospace);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.erp-module-card-title {
  font-family: var(--erp-font-sans, sans-serif);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
  line-height: 1.35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.erp-module-card-arrow {
  color: #64748b;
  font-size: 14px;
  transition:
    transform 0.2s var(--erp-ease),
    color 0.2s var(--erp-ease);
  opacity: 0.7;
}

.erp-hero-module-card:hover .erp-module-card-arrow {
  transform: translateX(4px);
  color: var(--erp-cyan, #00d2d3);
  opacity: 1;
}

.erp-module-card-benefit {
  font-family: var(--erp-font-sans, sans-serif);
  font-size: 11.5px;
  line-height: 1.5;
  color: #94a3b8;
  margin: 0;
}

.erp-module-card-benefit strong {
  color: #e2e8f0;
  font-weight: 600;
}

/* Wide 7th Card (Helpdesk) */
.erp-hero-module-card--wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-items: center;
  padding: 14px 18px;
}

.erp-hero-module-card--wide .erp-module-card-header {
  margin-bottom: 0;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.erp-hero-module-card--wide .erp-module-card-title {
  margin-bottom: 4px;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .erp-hero-modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .erp-hero-module-card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .erp-stage-viewport--modules {
    padding: 14px 10px;
  }
  .erp-hero-modules-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .erp-hero-module-card--wide {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .erp-hero-module-card--wide .erp-module-card-header {
    flex-direction: row;
    width: 100%;
    margin-bottom: 8px;
  }
}

.erp-stage-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s var(--erp-ease);
}

.erp-stage-viewport:hover .erp-stage-image {
  transform: scale(1.012);
}

.erp-hud-badge {
  position: absolute;
  padding: 8px 14px;
  background: rgba(11, 25, 44, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--erp-radius-pill);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  pointer-events: none;
  z-index: 2;
}

.erp-hud-badge-tl {
  top: 18px;
  left: 18px;
}

.erp-hud-badge-br {
  bottom: 18px;
  right: 18px;
}

@media (max-width: 640px) {
  .erp-hud-badge {
    display: none;
  }
}

.erp-hud-icon {
  width: 16px;
  height: 16px;
  color: var(--erp-cyan);
  flex-shrink: 0;
}

/* ─── SECTION HEADERS ─── */
.erp-section {
  padding-top: 88px;
  padding-bottom: 88px;
  position: relative;
}

.erp-section-header {
  margin-bottom: 52px;
}

.erp-section-header.text-center {
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.erp-section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--erp-navy-darkest);
  margin-top: 0;
  margin-bottom: 14px;
  text-wrap: balance;
}

.erp-section-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--erp-slate-muted);
  max-width: 680px;
  margin-top: 0;
  margin-bottom: 0;
}

.erp-section-header.text-center .erp-section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ─── INTERACTIVE MODULE SHOWCASE (6 CORE APPS) ─── */
.erp-showcase-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.erp-module-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 6px;
  background: #ffffff;
  border: 1px solid var(--erp-border);
  border-radius: var(--erp-radius-pill);
  scrollbar-width: none;
  box-shadow: var(--erp-shadow-xs);
}

.erp-module-tabs::-webkit-scrollbar {
  display: none;
}

.erp-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--erp-slate-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--erp-radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s var(--erp-ease);
}

.erp-tab-btn:hover {
  color: var(--erp-navy-dark);
  background: var(--erp-surface-alt);
}

.erp-tab-btn.is-active {
  color: #ffffff;
  background: var(--erp-navy-dark);
  border-color: var(--erp-navy-dark);
}

.erp-tab-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--erp-blue);
}

.erp-tab-btn.is-active .erp-tab-indicator {
  background: var(--erp-cyan);
}

/* Module Panel */
.erp-module-panel {
  display: none;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 8px 0;
}

.erp-module-panel.is-active {
  display: grid;
  animation: erp-panel-fade 0.35s var(--erp-ease) forwards;
}

@keyframes erp-panel-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .erp-module-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.erp-panel-media {
  position: relative;
  border-radius: var(--erp-radius-md);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--erp-border);
  cursor: zoom-in;
  box-shadow: var(--erp-shadow-sm);
}

.erp-panel-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s var(--erp-ease);
}

.erp-panel-media:hover .erp-panel-img {
  transform: scale(1.015);
}

.erp-panel-zoom-pill {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(11, 25, 44, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--erp-radius-pill);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.erp-panel-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.erp-module-name-chip {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--erp-blue);
  background: var(--erp-card-tint);
  border: 1px solid var(--erp-card-border);
  padding: 3px 10px;
  border-radius: var(--erp-radius-pill);
}

.erp-panel-heading {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.22;
  color: var(--erp-navy-darkest);
  margin: 0;
}

.erp-panel-summary {
  font-size: 15px;
  line-height: 1.65;
  color: var(--erp-slate-muted);
  margin: 0;
}

.erp-panel-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.erp-panel-bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--erp-slate-text);
}

.erp-bullet-icon {
  width: 18px;
  height: 18px;
  color: var(--erp-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.erp-panel-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--erp-border-subtle);
  font-size: 13px;
  color: var(--erp-slate-light);
}

/* ─── KEY BENEFITS BENTO GRID ─── */
.erp-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .erp-bento-grid {
    grid-template-columns: 1fr;
  }
}

.erp-bento-card {
  background: #ffffff;
  border: 1px solid var(--erp-border);
  border-radius: var(--erp-radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--erp-shadow-xs);
  transition: all 0.25s var(--erp-ease);
}

.erp-bento-card:hover {
  border-color: var(--erp-card-border);
  transform: translateY(-2px);
  box-shadow: var(--erp-shadow-md);
}

.erp-bento-heading-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.erp-bento-icon {
  width: 22px;
  height: 22px;
  color: var(--erp-blue);
  flex-shrink: 0;
}

.erp-bento-heading {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--erp-navy-darkest);
  margin: 0;
  line-height: 1.25;
}

.erp-bento-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--erp-slate-muted);
  margin: 0;
}

.erp-bento-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--erp-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--erp-blue);
}

/* ─── TARGET AUDIENCE ARCHITECTURE ─── */
.erp-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .erp-audience-grid {
    grid-template-columns: 1fr;
  }
}

.erp-audience-card {
  background: #ffffff;
  border: 1px solid var(--erp-border);
  border-radius: var(--erp-radius-md);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--erp-shadow-xs);
  transition: all 0.25s var(--erp-ease);
}

.erp-audience-card:hover {
  border-color: var(--erp-card-border);
  transform: translateY(-2px);
  box-shadow: var(--erp-shadow-md);
}

.erp-audience-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--erp-blue);
}

.erp-audience-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--erp-navy-darkest);
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.erp-audience-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--erp-slate-muted);
  margin: 0;
}

/* ─── DEDICATED CYBER 1 JAKARTA INFRASTRUCTURE (DEEP NAVY STAGE) ─── */
.erp-infra-stage {
  background: var(--erp-navy-darkest);
  border: 1px solid #1e293b;
  border-radius: var(--erp-radius-lg);
  padding: 48px;
  box-shadow: var(--erp-shadow-lg);
  color: #ffffff;
}

@media (max-width: 640px) {
  .erp-infra-stage {
    padding: 24px;
  }
}

.erp-infra-stage .erp-section-title {
  color: #ffffff;
}

.erp-infra-stage .erp-section-desc {
  color: #94a3b8;
}

.erp-infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  padding-top: 32px;
}

@media (max-width: 860px) {
  .erp-infra-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.erp-infra-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 24px;
}

@media (max-width: 860px) {
  .erp-infra-item {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-left: 0;
    padding-top: 20px;
  }
}

.erp-infra-chip {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--erp-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
}

.erp-infra-heading {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.erp-infra-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
}

/* ─── CROSS-SUITE ECOSYSTEM ─── */
.erp-suite-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .erp-suite-grid {
    grid-template-columns: 1fr;
  }
}

.erp-suite-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  background: #ffffff;
  border: 1px solid var(--erp-border);
  border-radius: var(--erp-radius-md);
  text-decoration: none;
  box-shadow: var(--erp-shadow-xs);
  transition: all 0.25s var(--erp-ease);
}

.erp-suite-card:hover {
  border-color: var(--erp-card-border);
  transform: translateY(-2px);
  box-shadow: var(--erp-shadow-md);
}

.erp-suite-card-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--erp-blue);
  margin-bottom: 12px;
}

.erp-suite-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--erp-navy-darkest);
  margin-top: 0;
  margin-bottom: 10px;
}

.erp-suite-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--erp-slate-muted);
  margin-bottom: 24px;
}

.erp-suite-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--erp-blue);
}

/* ─── CONVERSION CTA ─── */
.erp-cta-stage {
  background: linear-gradient(135deg, #071527 0%, #0b192c 100%);
  border: 1px solid #1e293b;
  border-radius: var(--erp-radius-lg);
  padding: 64px 36px;
  text-align: center;
  box-shadow: var(--erp-shadow-lg);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.erp-cta-heading {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 16px;
  text-wrap: balance;
}

.erp-cta-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
  text-wrap: balance;
}

.erp-cta-action-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.erp-btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 700;
  color: #0b192c;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: var(--erp-radius-sm);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.2s var(--erp-ease);
}

.erp-btn-cta-primary:hover {
  background: var(--erp-surface-alt);
  transform: translateY(-1px);
}

.erp-btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--erp-radius-sm);
  text-decoration: none;
  transition: all 0.2s var(--erp-ease);
}

.erp-btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}

.erp-cta-direct-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  color: #cbd5e1;
}

.erp-cta-direct-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ─── ENTERPRISE FOOTER ─── */
.erp-footer {
  border-top: 1px solid var(--erp-border);
  background: var(--erp-navy-darkest);
  padding-top: 64px;
  padding-bottom: 32px;
  position: relative;
  z-index: 1;
}

.erp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (max-width: 880px) {
  .erp-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 540px) {
  .erp-footer-grid {
    grid-template-columns: 1fr;
  }
}

.erp-footer-brand-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.erp-footer-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 320px;
  margin-top: 12px;
}

.erp-footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 16px;
}

.erp-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.erp-footer-link {
  font-size: 13px;
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.18s ease;
}

.erp-footer-link:hover {
  color: #ffffff;
}

.erp-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #94a3b8;
}

@media (max-width: 640px) {
  .erp-footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ─── SCREENSHOT LIGHTBOX MODAL ─── */
.erp-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 14, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s var(--erp-ease);
}

.erp-lightbox.is-active {
  display: flex;
  opacity: 1;
}

.erp-lightbox-inner {
  position: relative;
  max-width: 1200px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: #0b192c;
  border: 1px solid #1e293b;
  border-radius: var(--erp-radius-md);
  box-shadow: var(--erp-shadow-dark);
  overflow: hidden;
  transform: scale(0.97);
  transition: transform 0.25s var(--erp-ease);
}

.erp-lightbox.is-active .erp-lightbox-inner {
  transform: scale(1);
}

.erp-lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #071527;
  border-bottom: 1px solid #1e293b;
}

.erp-lightbox-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.erp-lightbox-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--erp-radius-xs);
  transition: color 0.15s ease;
}

.erp-lightbox-close:hover {
  color: #ffffff;
}

.erp-lightbox-image-wrap {
  overflow: auto;
  max-height: calc(92vh - 60px);
  background: #03070e;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.erp-lightbox-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--erp-radius-xs);
  display: block;
}

/* ─── FLOATING WHATSAPP BUTTON ─── */
.erp-wa-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  z-index: 90;
  text-decoration: none;
  transition: transform 0.2s var(--erp-ease);
}

.erp-wa-floating:hover {
  transform: scale(1.08);
}

/* ─── ACCESSIBLE FOCUS VISIBILITY ─── */
:focus-visible {
  outline: 2px solid var(--erp-blue);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
