/* ==========================================================================
   WiseAnts Business Services - Enterprise Design System (CSS3)
   Brand Palette: WiseAnts Orange (#FF5500) & Deep Charcoal (#1A1D20)
   ========================================================================== */

:root {
  /* Brand Tokens */
  --wa-orange: #FF5500;
  --wa-orange-hover: #E04B00;
  --wa-orange-glow: rgba(255, 85, 0, 0.25);
  --wa-charcoal: #1A1D20;
  --wa-charcoal-light: #262B30;
  --wa-slate-dark: #0F1215;

  /* Theme System: Light Default */
  --bg-body: #F4F6F8;
  --bg-surface: #EBF0F5;
  --bg-card: #FFFFFF;
  --bg-subtle: #E2E8F0;
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --border-color: #CBD5E1;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.12);
  --navbar-bg: rgba(244, 246, 248, 0.92);

  /* Typography */
  --font-family: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Theme */
[data-theme="dark"] {
  --bg-body: #0C0F12;
  --bg-surface: #14171A;
  --bg-card: #191D22;
  --bg-subtle: #21262C;
  --text-primary: #F8F9FA;
  --text-secondary: #A0AAB4;
  --text-muted: #6C757D;
  --border-color: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.5);
  --navbar-bg: rgba(12, 15, 18, 0.88);
}

/* Reset & Core Body */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

.container-custom {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Hierarchy */
.hero-title {
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.section-title {
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.sub-title {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-secondary);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--wa-orange);
  margin-bottom: 14px;
}

.text-gradient-orange {
  background: linear-gradient(135deg, #FF5500 0%, #FF8833 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navbar */
.wa-navbar {
  position: sticky;
  top: 0;
  z-index: 1050;
  background-color: var(--navbar-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  transition: all var(--transition-fast);
}

.wa-brand-logo {
  height: 42px;
  width: auto;
  display: block;
}

.nav-link-custom {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-link-custom:hover, .nav-link-custom.active {
  color: var(--wa-orange);
  background-color: rgba(255, 85, 0, 0.08);
}

/* Buttons */
.btn-wa-primary {
  background-color: var(--wa-orange);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--wa-orange);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 16px var(--wa-orange-glow);
  cursor: pointer;
}

.btn-wa-primary:hover {
  background-color: var(--wa-orange-hover);
  border-color: var(--wa-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 85, 0, 0.35);
}

.btn-wa-secondary {
  background-color: transparent;
  color: var(--text-primary) !important;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-wa-secondary:hover {
  border-color: var(--wa-orange);
  color: var(--wa-orange) !important;
  background-color: rgba(255, 85, 0, 0.06);
  transform: translateY(-2px);
}

/* Section Wrapper */
.py-section {
  padding: 96px 0;
}

.py-section-lg {
  padding: 128px 0;
}

/* Cards & Grid */
.wa-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--wa-orange) !important;
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
  position: relative;
  overflow: hidden;
}

.wa-card:hover {
  transform: translateY(-6px) !important;
  border-color: var(--wa-orange) !important;
  box-shadow: 0 16px 36px rgba(255, 85, 0, 0.18) !important;
}

.wa-card .text-warning {
  color: #C83C00 !important; /* High contrast dark orange tagline for light mode readability */
  font-weight: 700 !important;
}

[data-theme="dark"] .wa-card .text-warning {
  color: #FFAA00 !important;
}

.wa-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 85, 0, 0.12);
  color: var(--wa-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 85, 0, 0.2);
  transition: all var(--transition-fast);
}

.wa-card:hover .wa-card-icon {
  background: var(--wa-orange);
  color: #FFFFFF;
  border-color: var(--wa-orange);
  transform: scale(1.08);
}

/* Ecosystem Visual Container */
.ecosystem-container {
  width: 100%;
  height: 480px;
  position: relative;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at center, rgba(255, 85, 0, 0.06) 0%, transparent 70%);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

#ecosystemCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Capability Cards */
.capability-card {
  border-left: 4px solid var(--wa-orange);
  padding: 24px;
  background: var(--bg-card);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
}

/* Stats Counter */
.stat-box {
  text-align: center;
  padding: 32px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

.stat-number {
  font-size: 54px;
  font-weight: 800;
  color: var(--wa-orange);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* WisePay Interactive Mockup Styling */
.wisepay-mockup-wrapper {
  background: #14171A;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: #F8F9FA;
}

.mockup-header {
  background: #0C0F12;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-dots {
  display: flex;
  gap: 8px;
}
.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

/* Smart Facilities Technical Blueprint Styling */
.facilities-blueprint {
  background-color: #0A192F;
  color: #E6F1FF;
  background-image: 
    linear-gradient(rgba(0, 210, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 210, 255, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid rgba(0, 210, 255, 0.2);
}

/* Timeline Horizontal (Desktop) / Vertical (Mobile) */
.timeline-stepper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
  margin-top: 40px;
}

.timeline-step {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 24px 16px;
  border-radius: var(--radius-md);
  position: relative;
  text-align: left;
}

.timeline-step-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--wa-orange);
  margin-bottom: 8px;
}

/* Filter Buttons */
.filter-btn {
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--wa-orange);
  color: #FFFFFF;
  border-color: var(--wa-orange);
}

/* Footer */
.wa-footer {
  background-color: var(--wa-slate-dark);
  color: #A0AAB4;
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-color);
}

.wa-footer h5 {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
}

.wa-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wa-footer li {
  margin-bottom: 12px;
}

.wa-footer a {
  color: #A0AAB4;
  text-decoration: none;
  transition: color var(--transition-fast);
  font-size: 15px;
}

.wa-footer a:hover {
  color: var(--wa-orange);
}

/* Dark Mode Switcher Button */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  color: var(--wa-orange);
  border-color: var(--wa-orange);
}

/* Badges */
.badge-wa {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 85, 0, 0.12);
  color: var(--wa-orange);
}

/* Portal Placeholder Disabled Button */
.btn-portal-placeholder {
  opacity: 0.6;
  cursor: not-allowed !important;
  font-size: 13px;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  .py-section { padding: 64px 0; }
  .hero-title { font-size: 42px; }
  .section-title { font-size: 32px; }
  .ecosystem-container { height: 380px; }
  .timeline-stepper { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .timeline-stepper { grid-template-columns: 1fr; }
  .hero-title { font-size: 34px; }
  .container-custom { padding: 0 16px; }
}

/* Dynamic Page Hero Banners */
.page-hero-banner {
  position: relative;
  padding: 96px 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #ffffff !important;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 85, 0, 0.3);
}

.page-hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 29, 32, 0.94) 0%, rgba(15, 17, 19, 0.88) 50%, rgba(255, 85, 0, 0.22) 100%);
  z-index: 1;
}

.page-hero-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 85, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
}

.page-hero-banner .container-custom {
  position: relative;
  z-index: 3;
}

.page-hero-banner .hero-title {
  color: #ffffff !important;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.page-hero-banner .sub-title {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 1.15rem;
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.page-hero-banner .eyebrow {
  color: var(--wa-orange) !important;
  background: rgba(255, 85, 0, 0.2) !important;
  border: 1px solid rgba(255, 85, 0, 0.4);
  padding: 6px 18px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 16px;
  font-weight: 700;
}

/* Specific Page Hero Background Images */
.hero-products-bg {
  background-image: url('../images/heroes/hero-products.png');
}

.hero-industries-bg {
  background-image: url('../images/heroes/hero-industries.png');
}

.hero-services-bg {
  background-image: url('../images/heroes/hero-services.png');
}

.hero-about-bg {
  background-image: url('../images/heroes/hero-about.png');
}

.hero-insights-bg {
  background-image: url('../images/heroes/hero-insights.png');
}

.hero-facilities-bg {
  background-image: url('../images/heroes/hero-services.png');
}

.hero-circular-bg {
  background-image: url('../images/heroes/hero-products.png');
}

/* Premium Homepage Enhancements */
.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(255, 85, 0, 0.12);
  border: 1px solid rgba(255, 85, 0, 0.35);
  color: var(--wa-orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(255, 85, 0, 0.15);
}

.glowing-container {
  border-radius: 20px;
  background: rgba(26, 29, 32, 0.85);
  border: 1px solid rgba(255, 85, 0, 0.25);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 85, 0, 0.12);
  backdrop-filter: blur(12px);
}

.wa-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.wa-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(255, 85, 0, 0.5) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 85, 0, 0.15) !important;
}

.btn-wa-primary {
  box-shadow: 0 4px 20px rgba(255, 85, 0, 0.35);
}

.btn-wa-primary:hover {
  box-shadow: 0 8px 28px rgba(255, 85, 0, 0.55);
  transform: translateY(-2px);
}

.text-gradient-orange {
  background: linear-gradient(135deg, #FF5500 0%, #FFAA00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Pulse Dot Animation */
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #FF5500;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  box-shadow: 0 0 0 rgba(255, 85, 0, 0.4);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 85, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 85, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 85, 0, 0);
  }
}

/* Glassmorphic Window Container */
.hero-window-frame {
  border-radius: 18px;
  background: rgba(22, 25, 29, 0.92);
  border: 1px solid rgba(255, 85, 0, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 85, 0, 0.15);
  backdrop-filter: blur(16px);
  overflow: hidden;
  position: relative;
}

.hero-window-bar {
  background: rgba(15, 18, 21, 0.95);
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.window-dot.red { background: #FF5F56; }
.window-dot.yellow { background: #FFBD2E; }
.window-dot.green { background: #27C93F; }

.floating-hero-badge {
  position: absolute;
  z-index: 10;
  background: rgba(26, 29, 32, 0.92);
  border: 1px solid rgba(255, 85, 0, 0.35);
  backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.floating-badge-1 {
  top: 60px;
  left: 20px;
}

.floating-badge-2 {
  bottom: 25px;
  right: 20px;
}

/* Interactive Showcase Tabs */
.showcase-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.showcase-tab-btn:hover, .showcase-tab-btn.active {
  background: var(--wa-orange);
  color: #FFFFFF !important;
  border-color: var(--wa-orange);
  box-shadow: 0 6px 20px rgba(255, 85, 0, 0.35);
  transform: translateY(-2px);
}

/* Glass Card Accents */
.wa-card {
  position: relative;
  overflow: hidden;
}

.wa-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--wa-orange), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.wa-card:hover::before {
  opacity: 1;
}

.stat-box {
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.timeline-stepper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.timeline-step {
  padding: 24px;
  border-radius: var(--radius-md);
  position: relative;
}

.timeline-step-num {
  font-size: 12px;
  font-weight: 800;
  color: var(--wa-orange);
  background: rgba(255, 85, 0, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}

.facilities-blueprint {
  background: linear-gradient(135deg, #161A1E 0%, #0F1215 100%);
  border: 1px solid rgba(255, 85, 0, 0.3);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}




