/* ==========================================================================
   MALA SOFTWARE COMPANY - Primary Stylesheet
   Modern, Enterprise Tech Styling with Bootstrap 5
   ========================================================================== */

:root {
  --primary-color: #1e3a8a;
  --primary-hover: #172554;
  --secondary-color: #0f172a;
  --accent-color: #2563eb;
  --accent-light: #dbeafe;
  --cyan-accent: #06b6d4;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --card-hover-shadow: 0 20px 35px -5px rgba(37, 99, 235, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.08);
  --transition-smooth: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------------- Navbar Styling ---------------- */
.navbar-custom {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.navbar-brand .brand-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #06b6d4 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.35rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.brand-text {
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--secondary-color);
  font-size: 1.25rem;
  line-height: 1.1;
}

.brand-subtext {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-color);
  font-weight: 700;
  display: block;
}

.nav-link {
  font-weight: 500;
  color: #334155 !important;
  padding: 0.6rem 1rem !important;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-color) !important;
}

.dropdown-menu {
  border: 1px solid var(--border-color);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 0.75rem;
}

.dropdown-item {
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.dropdown-item:hover {
  background-color: var(--accent-light);
  color: var(--primary-color);
  transform: translateX(4px);
}

/* ---------------- Hero Section ---------------- */
.hero-section {
  position: relative;
  background: radial-gradient(circle at top right, #1e3a8a 0%, #0f172a 70%);
  color: #ffffff;
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
}

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

.hero-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #93c5fd;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 650px;
}

.hero-glow-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ---------------- Stats Section ---------------- */
.stats-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
}

.stat-item {
  padding: 1.75rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------------- Product Cards ---------------- */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.75rem;
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--card-shadow);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-hover-shadow);
  border-color: #93c5fd;
}

.product-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: var(--transition-smooth);
}

.product-card:hover .product-icon-wrap {
  transform: scale(1.1);
}

.icon-primary { background: #dbeafe; color: #1e40af; }
.icon-success { background: #dcfce7; color: #15803d; }
.icon-warning { background: #fef3c7; color: #b45309; }
.icon-danger  { background: #fee2e2; color: #b91c1c; }
.icon-info    { background: #cffafe; color: #0e7490; }
.icon-purple  { background: #f3e8ff; color: #7e22ce; }
.icon-secondary { background: #f1f5f9; color: #475569; }

.product-category-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent-color);
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.9rem;
  color: #475569;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.feature-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.feature-pill {
  font-size: 0.75rem;
  background: #f1f5f9;
  color: #334155;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-weight: 500;
}

.btn-launch-product {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.55rem 0.95rem;
  font-size: 0.88rem;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-launch-product:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(16, 185, 129, 0.35);
  transform: translateY(-2px);
}

.btn-explore-product {
  background: #f8fafc;
  color: var(--secondary-color);
  border: 1px solid var(--border-color);
  font-weight: 600;
  border-radius: 8px;
  padding: 0.55rem 0.95rem;
  font-size: 0.88rem;
  transition: var(--transition-smooth);
}

.btn-explore-product:hover {
  background: var(--accent-light);
  color: var(--accent-color);
  border-color: #bfdbfe;
}

/* ---------------- Filter Pills ---------------- */
.filter-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-dark);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-color);
  color: #ffffff;
  border-color: var(--accent-color);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* ---------------- Feature Box ---------------- */
.feature-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  transition: var(--transition-smooth);
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
  border-color: #cbd5e1;
}

.feature-box-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  color: var(--accent-color);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

/* ---------------- Testimonial Card ---------------- */
.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  box-shadow: var(--card-shadow);
}

.star-rating {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

/* ---------------- Footer Styling ---------------- */
.footer-custom {
  background: #0b132b;
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
}

.footer-custom h5 {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.2px;
}

.footer-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.55rem;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: #38bdf8;
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  margin-top: 3rem;
  font-size: 0.85rem;
}

/* ---------------- WhatsApp Float ---------------- */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

/* ---------------- Breadcrumb & Section Headers ---------------- */
.page-header-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 3.5rem 0 3rem;
  margin-bottom: 3rem;
}

.section-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-color);
  background: var(--accent-light);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--secondary-color);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* ---------------- Quick Launcher Modal & Badges ---------------- */
.launch-badge {
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .hero-title { font-size: 2.2rem; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border-color); }
  .stat-item:last-child { border-bottom: none; }
}
