/* ==========================================================================
   BMS Enterprise Luxury Stylesheet
   Designed for Executive FinTech & Cloud ERP Showcase
   ========================================================================== */

:root {
  --bms-bg-base: #040816;
  --bms-bg-surface: #091024;
  --bms-bg-card: #0d1733;
  --bms-bg-card-hover: #132247;
  --bms-border-subtle: rgba(255, 255, 255, 0.08);
  --bms-border-gold: rgba(212, 175, 55, 0.35);
  --bms-border-glow: rgba(56, 189, 248, 0.35);
  
  --bms-gold-primary: #d4af37;
  --bms-gold-light: #fbe28c;
  --bms-gold-dark: #b8860b;
  --bms-gold-gradient: linear-gradient(135deg, #fce08c 0%, #d4af37 50%, #aa7c11 100%);
  
  --bms-cobalt-primary: #38bdf8;
  --bms-cobalt-dark: #1d4ed8;
  --bms-cobalt-gradient: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #1d4ed8 100%);

  --bms-text-primary: #f8fafc;
  --bms-text-secondary: #94a3b8;
  --bms-text-muted: #64748b;
  --bms-text-gold: #fde68a;

  --bms-glass-bg: rgba(9, 16, 36, 0.75);
  --bms-glass-blur: blur(18px);
  --bms-glass-border: 1px solid rgba(255, 255, 255, 0.1);
  --bms-box-shadow-lux: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 30px -10px rgba(212, 175, 55, 0.15);
  --bms-box-shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  
  --bms-radius-sm: 8px;
  --bms-radius-md: 14px;
  --bms-radius-lg: 20px;
  --bms-radius-full: 9999px;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  background-color: var(--bms-bg-base) !important;
  color: var(--bms-text-primary) !important;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient Radial Background Glows */
.ambient-orb {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.4;
}
.orb-hero {
  width: 700px;
  height: 700px;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28) 0%, rgba(99, 102, 241, 0.15) 50%, transparent 70%);
}
.orb-gold {
  width: 550px;
  height: 550px;
  top: 38%;
  right: -120px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
}
.orb-blue {
  width: 650px;
  height: 650px;
  bottom: 8%;
  left: -150px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 70%);
}

/* Subtle Geometric Grid Mesh */
.bms-grid-pattern {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Text Gradients */
.text-gradient-gold {
  background: var(--bms-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-cyan {
  background: var(--bms-cobalt-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-silver {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 60%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Luxury Header & Navigation */
.bms-navbar-luxury {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  transition: all 0.3s ease;
  background: rgba(4, 8, 22, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.bms-navbar-luxury.scrolled {
  background: rgba(4, 8, 22, 0.96);
  border-bottom-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.nav-link-lux {
  color: var(--bms-text-secondary) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 16px !important;
  transition: all 0.25s ease;
}
.nav-link-lux:hover {
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Luxury Buttons */
.btn-lux-gold {
  background: var(--bms-gold-gradient);
  color: #040816 !important;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-lux-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.55);
  color: #040816 !important;
}
.btn-lux-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-lux-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--bms-gold-primary);
  transform: translateY(-2px);
  color: #ffffff !important;
}

/* Luxury Cards */
.lux-card {
  background: var(--bms-bg-card);
  border: 1px solid var(--bms-border-subtle);
  border-radius: 16px;
  padding: 30px 24px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.lux-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.lux-card:hover {
  background: var(--bms-bg-card-hover);
  border-color: var(--bms-border-gold);
  transform: translateY(-6px);
  box-shadow: var(--bms-box-shadow-lux);
}
.lux-card:hover::before {
  opacity: 1;
}

/* Hero Showcase Frame */
.hero-mockup-frame {
  position: relative;
  border-radius: 20px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.35) 0%, rgba(255, 255, 255, 0.1) 40%, rgba(56, 189, 248, 0.25) 100%);
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.9), 0 0 50px -10px rgba(212, 175, 55, 0.2);
}
.hero-mockup-frame img {
  border-radius: 14px;
  width: 100%;
  height: auto;
  display: block;
}

/* Floating Trust Pill */
.floating-stat-card {
  position: absolute;
  background: rgba(9, 16, 36, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 14px 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  z-index: 10;
}
.stat-badge-top {
  top: -25px;
  left: -20px;
  animation: floatSlow 6s ease-in-out infinite alternate;
}
.stat-badge-bottom {
  bottom: -25px;
  right: -20px;
  animation: floatSlow 6s ease-in-out infinite alternate-reverse;
}
@keyframes floatSlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* Interactive Tabs for Module Showcase */
.module-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 30px;
  transition: all 0.25s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}
.module-tab-btn.active, .module-tab-btn:hover {
  background: var(--bms-gold-gradient);
  color: #040816;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
}

/* Custom ROI Slider */
.slider-custom {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 6px;
  background: #1e293b;
  outline: none;
}
.slider-custom::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bms-gold-primary);
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.7);
}

/* Comparison Matrix Table */
.bms-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--bms-radius-md);
  overflow: hidden;
  border: 1px solid var(--bms-border-subtle);
  background: var(--bms-bg-card);
}
.bms-matrix-table th, .bms-matrix-table td {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.bms-matrix-table th {
  background: #091126;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.bms-matrix-table th.highlight-col, .bms-matrix-table td.highlight-col {
  background: rgba(212, 175, 55, 0.07);
  border-left: 2px solid rgba(212, 175, 55, 0.4);
  border-right: 2px solid rgba(212, 175, 55, 0.4);
}
.bms-matrix-table th.highlight-col {
  border-top: 2px solid var(--bms-gold-primary);
}
.bms-matrix-table tr:last-child td {
  border-bottom: none;
}

/* FAQ Accordion */
.bms-accordion-item {
  background: var(--bms-bg-card);
  border: 1px solid var(--bms-border-subtle);
  border-radius: var(--bms-radius-md) !important;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.bms-accordion-item:hover {
  border-color: rgba(212, 175, 55, 0.35);
}
.bms-accordion-button {
  background: transparent !important;
  color: var(--bms-text-primary) !important;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 20px 24px;
  box-shadow: none !important;
}
.bms-accordion-button:not(.collapsed) {
  color: var(--bms-gold-light) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.bms-accordion-button::after {
  filter: invert(1);
}
.bms-accordion-body {
  padding: 22px 24px;
  color: var(--bms-text-secondary);
  line-height: 1.7;
}

/* Floating WhatsApp Connect Button */
.floating-wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1040;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  padding: 14px 24px;
  border-radius: 40px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.floating-wa-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.65);
  color: #ffffff !important;
}

/* Executive AIO Direct Answer Box */
.bms-fact-box {
  background: linear-gradient(180deg, rgba(14, 26, 56, 0.85) 0%, rgba(9, 16, 36, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--bms-radius-lg);
  padding: 34px;
}

/* Enterprise Footer */
.bms-footer {
  background: #02050e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 80px;
  padding-bottom: 40px;
  color: var(--bms-text-secondary);
}
.bms-footer-heading {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}
.bms-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bms-footer-links li {
  margin-bottom: 12px;
}
.bms-footer-links a {
  color: var(--bms-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
.bms-footer-links a:hover {
  color: var(--bms-gold-light);
  transform: translateX(3px);
}

/* VIP Demo Modal Styling */
.bms-modal-content {
  background: #091024;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--bms-radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  color: #ffffff;
}
.bms-modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 28px;
}
.bms-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border-radius: var(--bms-radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
}
.bms-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--bms-gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}
.bms-input::placeholder {
  color: #64748b;
}

@media (max-width: 991px) {
  .stat-badge-top, .stat-badge-bottom {
    position: static;
    margin-top: 15px;
    animation: none;
  }
  .bms-matrix-table {
    display: block;
    overflow-x: auto;
  }
}
@media (max-width: 767px) {
  .floating-wa-btn span {
    display: none;
  }
  .floating-wa-btn {
    padding: 14px;
    border-radius: 50%;
  }
}
