/* ==========================================================================
   ERPPWA-NG Design System & Main CSS
   Architecture: Modern Utility CSS, CSS Custom Properties, Glassmorphism
   Font Family: Inter & Plus Jakarta Sans
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  /* Brand Palette */
  --color-primary-dark: #0A192F;
  --color-navy: #1E293B;
  --color-accent-cyan: #06B6D4;
  --color-accent-cyan-hover: #0891B2;
  --color-accent-blue: #3B82F6;
  --color-gradient-brand: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
  --color-gradient-dark: linear-gradient(180deg, #0A192F 0%, #0F172A 100%);
  
  /* Neutral Palette */
  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-glass: rgba(10, 25, 47, 0.85);
  --bg-glass-card: rgba(255, 255, 255, 0.9);
  
  /* Text Palette */
  --text-heading: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;
  
  /* Borders & Shadows */
  --border-subtle: #E2E8F0;
  --border-brand: rgba(6, 182, 212, 0.3);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px -10px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 30px rgba(6, 182, 212, 0.25);

  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--color-accent-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-cyan-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-narrow {
  max-width: 960px;
}

/* Typography Utilities */
.text-gradient {
  background: var(--color-gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-padding {
  padding-top: 90px;
  padding-bottom: 90px;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  gap: 10px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-gradient-brand);
  color: #FFFFFF !important;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent-cyan) !important;
  border: 1.5px solid var(--color-accent-cyan);
}

.btn-outline:hover {
  background: var(--color-accent-cyan);
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

/* Keyframe Animations for Animated CTA Button */
@keyframes shimmerBg {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 4px 18px rgba(6, 182, 212, 0.45), 0 0 0 0 rgba(6, 182, 212, 0.35);
  }
  50% {
    box-shadow: 0 6px 26px rgba(59, 130, 246, 0.7), 0 0 0 6px rgba(6, 182, 212, 0);
  }
}

/* High-Converting Animated Request Demo Button */
.btn-request-demo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px !important;
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #06B6D4 0%, #2563EB 50%, #06B6D4 100%);
  background-size: 200% 200%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px !important;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
  line-height: 1.3;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              background 0.4s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease !important;
  animation: shimmerBg 4s ease infinite, glowPulse 3s ease-in-out infinite;
}

.btn-request-demo .btn-icon {
  transition: transform 0.25s ease;
}

.btn-request-demo:hover {
  transform: translateY(-2px) scale(1.04);
  background-position: 100% 50%;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.65) !important;
  color: #FFFFFF !important;
}

.btn-request-demo:hover .btn-icon {
  transform: translateX(4px);
}

.btn-request-demo:active {
  transform: translateY(0) scale(0.98);
}

/* Glassmorphism Header & Navigation */
.navbar-ng {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  transition: all var(--transition-normal);
}

.navbar-ng .nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.5px;
}

.brand-logo img {
  height: 38px;
  width: auto;
}

.brand-badge {
  display: none; /* Removed as requested */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent-cyan);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-cyan);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Prevent nav-link pseudo element and padding inheritance on buttons */
.nav-links a.btn,
.nav-links a.btn-request-demo {
  padding: 10px 24px !important;
  color: #FFFFFF !important;
}

.nav-links a.btn::after,
.nav-links a.btn-request-demo::after {
  display: none !important;
  content: none !important;
}

/* Mega Menu Dropdown */
.nav-dropdown {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: -200px;
  width: 780px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all var(--transition-bounce);
  margin-top: 15px;
  border: 1px solid var(--border-subtle);
}

.nav-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.mega-menu-item:hover {
  background: rgba(6, 182, 212, 0.06);
}

.mega-menu-item img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.mega-menu-item .title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
}

.mega-menu-item .desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 992px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .mega-menu { width: 90vw; left: 50%; transform: translateX(-50%) translateY(15px); }
  .nav-dropdown:hover .mega-menu { transform: translateX(-50%) translateY(0); }
}

/* Mobile Drawer Overlay */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: var(--color-primary-dark);
  z-index: 1001;
  padding: 30px 24px;
  transition: right var(--transition-normal);
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  overflow-y: auto;
}

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

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 15px;
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-list a {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: var(--color-gradient-dark);
  padding-top: 160px;
  padding-bottom: 100px;
  color: #FFFFFF;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

@media (max-width: 768px) {
  .hero-title { font-size: 34px; }
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 35px;
  line-height: 1.6;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent-cyan);
}

.hero-mockup-wrapper {
  position: relative;
}

.hero-mockup-img {
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform var(--transition-normal);
}

.hero-mockup-img:hover {
  transform: translateY(-5px);
}

/* Feature & Module Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.module-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 30px;
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.module-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-brand);
  box-shadow: var(--shadow-lg);
}

.module-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.module-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.module-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-heading);
}

.module-feature-list {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.module-feature-list li {
  font-size: 14px;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.module-feature-list li::before {
  content: '✓';
  color: var(--color-accent-cyan);
  font-weight: 800;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 14px;
  transition: all var(--transition-normal);
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #FFFFFF;
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Footer Styling */
.footer-ng {
  background: var(--color-primary-dark);
  color: var(--text-light);
  padding-top: 70px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

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

.footer-col h4 {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: var(--text-light);
  font-size: 14px;
}

.footer-col ul a:hover {
  color: var(--color-accent-cyan);
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: var(--text-muted);
}
