/* ============================================================
   ENTERPRISE SAAS SYSTEM STYLING (2026 EDITION)
   Pansoft Technologies Design System
   ============================================================ */

/* Root Variables */
:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --color-primary: #0284c7;
  --color-orange: #ea580c;
  --color-slate-900: #0f172a;
  --color-slate-800: #1e293b;
  --color-slate-600: #475569;
  --color-slate-500: #64748b;
  --color-slate-100: #f1f5f9;
  --color-slate-50: #f8fafc;
  --border-subtle: #e2e8f0;
}

body.enterprise-body {
  font-family: var(--font-main) !important;
  color: var(--color-slate-800) !important;
  background-color: #ffffff !important;
  margin: 0;
  padding: 0;
}

/* 1. TOP ANNOUNCEMENT BAR */
.top-announcement-bar {
  background: #0f172a;
  color: #94a3b8;
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcement-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  font-weight: 600;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.announcement-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.announcement-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.announcement-links a:hover {
  color: #38bdf8;
}

.sep-dot {
  color: #475569;
}

/* 2. SINGLE-ROW STICKY HEADER */
.header-container {
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.enterprise-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 9999;
  transition: all 0.3s ease;
}

.enterprise-header.header-scrolled {
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
}

.enterprise-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

/* Brand Logo */
.enterprise-brand {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  flex-shrink: 0;
  margin-right: 15px;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-text-box {
  display: none !important; /* Hide redundant text since logo.png already has PANSOFT TECHNOLOGIES */
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--color-slate-900);
  line-height: 1;
  letter-spacing: -0.5px;
}

.brand-tagline {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 2px;
}

/* Desktop Navigation */
.enterprise-nav {
  display: flex;
  align-items: center;
}

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

.nav-item-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  color: var(--color-slate-800) !important;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: 8px;
  white-space: nowrap !important;
  transition: all 0.2s ease;
}

.nav-item-link:hover {
  background-color: var(--color-slate-100);
  color: var(--color-primary) !important;
}

.nav-caret {
  font-size: 10px;
  color: var(--color-slate-500);
  transition: transform 0.2s;
}

.nav-dropdown-wrapper:hover .nav-caret {
  transform: rotate(180deg);
}

/* Dropdown Wrapper & Menus */
.nav-dropdown-wrapper {
  position: relative;
}

.mega-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -120px;
  width: 780px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  padding: 24px;
  display: none;
  z-index: 10000;
  animation: fadeInDown 0.25s ease forwards;
}

.simple-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
  padding: 12px;
  display: none;
  z-index: 10000;
  animation: fadeInDown 0.25s ease forwards;
}

.nav-dropdown-wrapper:hover .mega-dropdown-menu,
.nav-dropdown-wrapper:hover .simple-dropdown-menu {
  display: block;
}

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

/* Mega Menu Grid */
.mega-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 220px;
  gap: 20px;
}

.mega-col-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--color-slate-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  padding-left: 8px;
}

.mega-product-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  margin-bottom: 4px;
}

.mega-product-item:hover {
  background-color: var(--color-slate-50);
  transform: translateX(4px);
}

.mega-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.bg-orange-light { background: #ffedd5; }
.bg-blue-light { background: #e0f2fe; }
.bg-amber-light { background: #fef3c7; }
.bg-indigo-light { background: #e0e7ff; }
.bg-green-light { background: #dcfce7; }
.bg-pink-light { background: #fce7f3; }

.mega-item-text {
  display: flex;
  flex-direction: column;
}

.mega-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-slate-900);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mega-item-desc {
  font-size: 12px;
  color: var(--color-slate-500);
  line-height: 1.35;
  margin-top: 2px;
}

.badge-pill-hot {
  background: #ea580c;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
}

/* Mega Highlight Column */
.mega-highlight-card {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mega-highlight-badge {
  font-size: 10px;
  font-weight: 800;
  color: #1d4ed8;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.mega-highlight-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-slate-900);
  margin: 0 0 6px 0;
}

.mega-highlight-card p {
  font-size: 12px;
  color: var(--color-slate-600);
  line-height: 1.4;
  margin-bottom: 12px;
}

.mega-quick-links {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
  font-size: 12px;
}

.mega-quick-links li {
  margin-bottom: 6px;
}

.mega-quick-links a {
  color: #1e40af;
  text-decoration: none;
  font-weight: 600;
}

.mega-quick-links a:hover {
  text-decoration: underline;
}

.btn-mega-all {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  color: #0284c7;
  text-decoration: none !important;
}

/* Simple Dropdown */
.dropdown-link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  margin-bottom: 2px;
}

.dropdown-link-item:hover {
  background-color: var(--color-slate-50);
  transform: translateX(4px);
}

.dropdown-link-item i {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.dropdown-link-item div {
  display: flex;
  flex-direction: column;
}

.dropdown-link-item strong {
  font-size: 13px;
  color: var(--color-slate-900);
}

.dropdown-link-item small {
  font-size: 11px;
  color: var(--color-slate-500);
}

/* Header Action Buttons */
.enterprise-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: 10px;
}

.btn-header-wa {
  background: #25d366;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 0 16px;
  height: 38px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
  transition: all 0.2s ease;
}

.btn-header-wa:hover {
  background: #1ebc59;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.btn-header-cta {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 0 18px;
  height: 38px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
  transition: all 0.2s ease;
}
  gap: 6px;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
  transition: all 0.2s ease;
}

.btn-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.4);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-slate-900);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: #ffffff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 100000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.drawer-open {
  right: 0;
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  display: none;
}

.drawer-header {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-brand {
  font-weight: 800;
  font-size: 16px;
  color: var(--color-slate-900);
}

.drawer-close {
  background: none;
  border: none;
  font-size: 26px;
  color: var(--color-slate-500);
  cursor: pointer;
}

.drawer-body {
  padding: 15px 20px;
  overflow-y: auto;
  flex: 1;
}

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

.drawer-section-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--color-slate-500);
  margin-top: 15px;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.drawer-menu li a {
  display: block;
  padding: 9px 0;
  color: var(--color-slate-800);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
}

.drawer-footer {
  padding: 15px 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-drawer-wa {
  background: #25d366;
  color: #fff !important;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none !important;
}

.btn-drawer-call {
  background: var(--color-slate-100);
  color: var(--color-slate-900) !important;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none !important;
}

/* 3. ENTERPRISE FOOTER */
.enterprise-footer {
  background: #090e1a;
  color: #94a3b8;
  padding-top: 0;
}

.footer-top-cta {
  position: relative;
  top: -40px;
  margin-bottom: -10px;
}

.footer-cta-card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cta-mini-badge {
  font-size: 11px;
  font-weight: 800;
  color: #f97316;
  letter-spacing: 1px;
}

.footer-cta-title {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin: 6px 0 10px 0;
}

.footer-cta-subtitle {
  font-size: 15px;
  color: #94a3b8;
  margin: 0;
  max-width: 600px;
}

.footer-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.btn-footer-wa {
  background: #25d366;
  color: #ffffff !important;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-footer-call {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
}

.footer-main-area {
  padding: 40px 0 50px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col {
  margin-bottom: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo {
  height: 38px;
  filter: brightness(0) invert(1);
}

.footer-brand-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.footer-about-text {
  font-size: 13px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 20px;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

.contact-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.text-orange { color: #f97316; }

.footer-heading {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s;
}

.footer-links-list a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.bullet-dot {
  color: #475569;
  margin-right: 4px;
}

.footer-bottom-bar {
  padding: 20px 0;
  font-size: 13px;
  color: #64748b;
}

.copyright-text {
  margin: 0;
}

.footer-social-links {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.social-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: all 0.2s;
}

.social-icon-btn:hover {
  background: #0284c7;
  color: #fff !important;
}

/* Responsive Rules */
@media (max-width: 991px) {
  .enterprise-nav {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .announcement-content {
    justify-content: center;
    gap: 8px;
  }
  .footer-cta-btns {
    justify-content: flex-start;
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  .announcement-links .sep-dot,
  .announcement-links a:nth-child(n+3),
  .announcement-location {
    display: none;
  }
  .top-announcement-bar {
    font-size: 11px;
    padding: 6px 0;
  }
  .enterprise-navbar {
    height: 64px;
  }
  .brand-logo-img {
    height: 36px;
  }
  .btn-header-wa span {
    display: none;
  }
  .btn-header-wa {
    padding: 8px 12px;
    border-radius: 50%;
  }
  .btn-header-cta {
    padding: 7px 14px;
    font-size: 12px;
  }
  .footer-cta-card {
    padding: 24px;
  }
  .footer-cta-title {
    font-size: 22px;
  }
  .saas-hero-title {
    font-size: 28px !important;
  }
  .saas-hero-desc {
    font-size: 15px !important;
  }
  .saas-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .btn-saas-wa, .btn-saas-primary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}


