/* ========================================
   BULK AUTH TOOL — Global Stylesheet
   Modern dark theme with circuit-board aesthetics
   ======================================== */

/* === CSS Variables === */
:root {
  --bg: #080d1a;
  --bg-card: rgba(17, 24, 39, 0.7);
  --bg-card-hover: rgba(17, 24, 39, 0.9);
  --bg-secondary: rgba(30, 41, 59, 0.6);
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-10: rgba(59, 130, 246, 0.1);
  --primary-20: rgba(59, 130, 246, 0.2);
  --primary-30: rgba(59, 130, 246, 0.3);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(59, 130, 246, 0.4);
  --destructive: #ef4444;
  --green: #22c55e;
  --orange: #f97316;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* === Container === */
.bat-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Typography === */
.bat-primary { color: var(--primary); }
.bat-muted { color: var(--text-muted); }
.bat-green { color: var(--green); }
.bat-red { color: var(--destructive); }
.bat-orange { color: var(--orange); }

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; }

/* ========================================
   HEADER / NAVBAR
   ======================================== */
.bat-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 13, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.bat-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.bat-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bat-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--primary-10);
  border: 1px solid var(--primary-20);
  color: var(--primary);
  transition: background var(--transition);
}

.bat-logo:hover .bat-logo-icon {
  background: var(--primary-20);
}

.bat-logo-text {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.bat-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.bat-nav-link {
  position: relative;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}

.bat-nav-link:hover {
  color: var(--text);
  background: var(--bg-secondary);
}

.bat-nav-link.active {
  color: var(--text);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
}

.bat-auth-buttons {
  display: none;
  align-items: center;
  gap: 12px;
}

.bat-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
}

.bat-mobile-toggle:hover { color: var(--text); }

.bat-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.bat-mobile-menu.open { display: flex; }

.bat-mobile-link {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}

.bat-mobile-link:hover, .bat-mobile-link.active {
  color: var(--primary);
  background: var(--primary-10);
}

.bat-mobile-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .bat-nav { display: flex; }
  .bat-auth-buttons { display: flex; }
  .bat-mobile-toggle { display: none; }
}

/* ========================================
   BUTTONS
   ======================================== */
.bat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.bat-btn-primary {
  background: var(--primary);
  color: #fff;
}

.bat-btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.bat-btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.bat-btn-outline:hover {
  border-color: var(--primary-30);
  background: var(--primary-10);
}

.bat-btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.bat-btn-ghost:hover {
  color: var(--text);
  background: var(--bg-secondary);
}

.bat-btn-secondary {
  background: var(--bg-secondary);
  color: var(--text);
  border: 1px solid var(--border);
}

.bat-btn-secondary:hover {
  border-color: var(--border-hover);
}

.bat-btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: var(--radius);
}

.bat-btn-block { width: 100%; }

.bat-btn-whatsapp {
  background: #25D366;
  color: #fff;
}

.bat-btn-whatsapp:hover {
  background: #20b858;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
}

/* ========================================
   CARDS
   ======================================== */
.bat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  overflow: hidden;
}

.bat-card:hover {
  border-color: var(--border-hover);
}

.bat-card-content { padding: 24px; }

.bat-card-header {
  padding: 24px 24px 0;
}

.glass-panel {
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--primary-20);
  border-radius: var(--radius-lg);
}

/* ========================================
   INPUTS
   ======================================== */
.bat-input-group { position: relative; }

.bat-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.bat-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  padding-left: 42px;
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--text);
  transition: all var(--transition);
  outline: none;
}

.bat-input::placeholder { color: #475569; }

.bat-input:focus {
  border-color: var(--primary-30);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px var(--primary-10);
}

.bat-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  padding-left: 2px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.bat-hero {
  position: relative;
  padding: 96px 0 128px;
  overflow: hidden;
}

.bat-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bat-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg);
}

.bat-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(30, 80, 180, 0.18) 0%, transparent 70%);
}

.bat-hero .bat-container { position: relative; z-index: 1; }

.bat-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--primary-30);
  background: var(--primary-10);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

.bat-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.05;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.bat-hero-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(249, 115, 22, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}

.bat-hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.bat-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.bat-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 600px;
}

.bat-hero-stat-value {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text);
}

.bat-hero-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* Circuit SVG pattern */
.bat-circuit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.07;
}

/* === Gradient Fade Bottom === */
.bat-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.bat-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.bat-section-header svg { color: var(--primary); }

.bat-section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

/* ========================================
   FEATURE / INFO CARDS GRID
   ======================================== */
.bat-grid-4 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
}

.bat-grid-3 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

.bat-grid-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .bat-grid-stats { grid-template-columns: repeat(3, 1fr); }
  .bat-hero-stats { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  .bat-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .bat-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .bat-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .bat-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .bat-grid-stats { grid-template-columns: repeat(4, 1fr); }
}

/* Feature Card */
.bat-feature-card {
  padding: 24px;
  background: rgba(17, 24, 39, 0.4);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.bat-feature-card:hover {
  border-color: var(--primary-30);
}

.bat-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 16px;
}

.bat-feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.bat-feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========================================
   SERVER STATUS
   ======================================== */
.bat-status-card {
  background: rgba(17, 24, 39, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition);
}

.bat-status-card:hover { border-color: var(--primary-30); }

.bat-status-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #d1d5db;
}

.bat-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bat-status-dot {
  position: relative;
  width: 12px;
  height: 12px;
}

.bat-status-dot .dot-inner {
  position: relative;
  display: inline-flex;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.bat-status-dot.online .dot-inner { background: var(--green); }
.bat-status-dot.offline .dot-inner { background: var(--destructive); }

.bat-status-dot.online .dot-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.75; }
  75%, 100% { transform: scale(2); opacity: 0; }
}

.bat-status-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.bat-status-label.online { color: var(--green); }
.bat-status-label.offline { color: var(--destructive); }

/* ========================================
   DOWNLOAD TOOL CARDS
   ======================================== */
.bat-tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  overflow: hidden;
}

.bat-tool-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.bat-tool-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.bat-tool-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: transform var(--transition);
}

.bat-tool-card:hover .bat-tool-icon { transform: scale(1.1); }

.bat-tool-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--bg-secondary);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.bat-tool-body { padding: 24px; }

.bat-tool-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.bat-tool-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ========================================
   STAT BOXES / TELEMETRY
   ======================================== */
.bat-stat-box {
  background: rgba(17, 24, 39, 0.3);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
}

.bat-stat-box:hover {
  transform: scale(1.02);
  border-color: var(--border-hover);
}

.bat-stat-value {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.bat-stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.bat-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.bat-live-dot {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
}

.bat-live-dot .inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  position: relative;
}

.bat-live-dot .pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* ========================================
   SERVICES PAGE
   ======================================== */
.bat-page-header {
  position: relative;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 64px 0;
  text-align: center;
}

.bat-page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.bat-page-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 640px;
  margin: 0 auto;
}

.bat-page-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--primary-10);
  border: 1px solid var(--primary-20);
  color: var(--primary);
  margin-bottom: 24px;
}

/* Filter Buttons */
.bat-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
}

.bat-filter-btn {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.bat-filter-btn:hover {
  border-color: var(--primary-30);
}

.bat-filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Service Card */
.bat-service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  overflow: hidden;
}

.bat-service-card:hover { border-color: var(--border-hover); }

.bat-service-top {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.bat-service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.bat-service-icon.enterprise {
  background: var(--primary-20);
  color: var(--primary);
  border: 1px solid var(--primary-30);
}

.bat-service-price {
  text-align: right;
}

.bat-service-price-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.bat-chipset-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid;
  margin-top: 4px;
}

.bat-chipset-qcom {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.2);
}

.bat-chipset-mtk {
  background: rgba(249, 115, 22, 0.1);
  color: #fb923c;
  border-color: rgba(249, 115, 22, 0.2);
}

.bat-chipset-all {
  background: rgba(168, 85, 247, 0.1);
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.2);
}

.bat-service-body {
  padding: 0 24px 24px;
  flex: 1;
}

.bat-service-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.bat-service-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

.bat-ready-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.bat-ready-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.bat-service-action {
  padding: 0 24px 24px;
  margin-top: auto;
}

/* ========================================
   RESELLER PAGE
   ======================================== */
.bat-reseller-card {
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
}

@media (min-width: 640px) {
  .bat-reseller-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.bat-reseller-card:hover { border-color: var(--primary-30); }

.bat-reseller-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.bat-reseller-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}

.bat-reseller-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.bat-reseller-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.bat-reseller-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ========================================
   STATS PAGE
   ======================================== */
.bat-summary-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.bat-summary-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.bat-summary-value {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.bat-summary-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ========================================
   LOGIN / REGISTER PAGES
   ======================================== */
.bat-auth-page {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.bat-auth-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 40%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.bat-auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
}

.bat-auth-card-lg { max-width: 520px; }

.bat-auth-topline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.bat-auth-header {
  text-align: center;
  padding: 40px 24px 32px;
}

.bat-auth-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
  color: var(--primary);
}

.bat-auth-title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bat-auth-subtitle {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 8px;
}

.bat-auth-body { padding: 0 24px 24px; }

.bat-auth-form { display: flex; flex-direction: column; gap: 20px; }

.bat-auth-form .bat-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 480px) {
  .bat-auth-form .bat-form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.bat-checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 2px;
}

.bat-checkbox {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.3);
  accent-color: var(--primary);
  cursor: pointer;
}

.bat-checkbox-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
}

.bat-auth-footer {
  text-align: center;
  padding: 0 24px 24px;
  margin-top: 8px;
}

.bat-auth-footer p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.bat-auth-footer a {
  color: var(--primary);
  font-weight: 600;
}

.bat-auth-footer a:hover { text-decoration: underline; }

.bat-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bat-label-row a {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.bat-label-row a:hover { text-decoration: underline; }

/* Alert */
.bat-alert {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.875rem;
}

.bat-alert-success {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: var(--green);
}

/* ========================================
   FOOTER
   ======================================== */
.bat-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 0;
  background: rgba(8, 13, 26, 0.95);
}

.bat-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .bat-footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
  }
}

.bat-footer-links h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.bat-footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bat-footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.bat-footer-links a:hover { color: var(--primary); }

.bat-social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.bat-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.bat-social-btn:hover {
  border-color: var(--primary-30);
  color: var(--primary);
}

.bat-footer-bottom {
  text-align: center;
  padding: 24px 0;
  margin-top: 40px;
  border-top: 1px solid var(--border);
}

.bat-footer-bottom p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ========================================
   FLOATING SOCIAL
   ======================================== */
.bat-floating-social {
  position: fixed;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99;
}

.bat-float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all var(--transition);
}

.bat-float-btn:hover { transform: scale(1.1); }

.bat-float-btn.telegram { background: linear-gradient(135deg, #0088cc, #00a8e8); }
.bat-float-btn.whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); }

@media (max-width: 768px) {
  .bat-floating-social { right: 16px; bottom: 16px; top: auto; transform: none; }
  .bat-float-btn { width: 44px; height: 44px; }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.animate-in { animation: fadeInUp 0.6s ease-out forwards; }
.animate-in-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-in-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-in-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animate-in-delay-4 { animation-delay: 0.4s; opacity: 0; }
.animate-in-delay-5 { animation-delay: 0.5s; opacity: 0; }

/* Section spacing */
.bat-section { padding: 64px 0; }
.bat-section + .bat-section { padding-top: 0; }

/* Utility */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.gap-3 { gap: 12px; }

/* ========================================
   DASHBOARD LAYOUT FRAMEWORK
   ======================================== */
.bat-dashboard-wrapper {
  display: flex;
  min-height: 100vh;
  background: var(--bg);
}

.bat-sidebar {
  width: 260px;
  background: rgba(8, 13, 26, 0.95);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  transition: transform var(--transition);
}

.bat-sidebar-header {
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
}

.bat-sidebar-nav {
  padding: 24px 16px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bat-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 500;
  font-size: 0.875rem;
  transition: all var(--transition);
  text-decoration: none;
}

.bat-sidebar-link:hover, .bat-sidebar-link.active {
  background: var(--primary-10);
  color: var(--primary);
}

.bat-sidebar-link i {
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
}

.bat-main-content {
  flex: 1;
  margin-left: 260px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: margin var(--transition);
}

.bat-topbar {
  height: 64px;
  background: rgba(8, 13, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 90;
}

.bat-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bat-page-content {
  padding: 32px 24px;
  flex: 1;
}

.bat-page-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}

/* Dashboard Forms */
.bat-form-control {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.875rem;
  transition: all var(--transition);
  color-scheme: dark;
}
.bat-form-control option {
  background-color: var(--bg-card);
  color: var(--text);
}
.bat-form-control::-webkit-calendar-picker-indicator {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23ffffff" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"/></svg>') !important;
    opacity: 0.7;
    cursor: pointer;
}
.bat-form-control::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}
.bat-form-control:focus {
  border-color: var(--primary-30);
  outline: none;
  background: rgba(0, 0, 0, 0.4);
}
.bat-form-group {
  margin-bottom: 16px;
}

/* Dashboard Tables */
.bat-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}
.bat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.bat-table th {
  background: rgba(255, 255, 255, 0.02);
  padding: 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}
.bat-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text);
}
.bat-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Utilities for Dashboard */
.bat-dropdown {
  position: relative;
}
.bat-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  min-width: 200px;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 4px;
}
.bat-dropdown.show .bat-dropdown-menu {
  display: flex;
}
.bat-dropdown-item {
  padding: 8px 12px;
  border-radius: 4px;
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.bat-dropdown-item:hover {
  background: var(--bg-secondary);
  color: var(--text);
}

#batSidebarToggle { display: none !important; }

@media (max-width: 991px) {
  #batSidebarToggle { display: inline-flex !important; }
  .bat-sidebar {
    transform: translateX(-100%);
  }
  .bat-sidebar.open {
    transform: translateX(0);
  }
  .bat-main-content {
    margin-left: 0;
  }
}

/* Pagination Overrides */
.pagination {
  display: inline-flex;
  padding-left: 0;
  margin: 0;
  list-style: none;
  border-radius: var(--radius-sm);
}
.pagination > li {
  margin: 0 4px;
}
.pagination > li > a,
.pagination > li > span {
  display: block;
  padding: 8px 14px;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all var(--transition);
}
.pagination > li > a:hover {
  background: var(--bg-secondary);
  color: var(--text);
}
.pagination > .active > a,
.pagination > .active > span {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ========================================
   SERVICES PAGE ENHANCEMENTS
   ======================================== */
/* 1. Overall Theme Enhancements */
body {
    background: radial-gradient(circle at 50% 0%, #0a1128 0%, #050810 100%);
    background-attachment: fixed;
}
.bat-circuit-svg {
    opacity: 0.15;
    filter: drop-shadow(0 0 8px rgba(74, 158, 255, 0.3));
}
.bat-page-header {
    position: relative;
    overflow: hidden;
}
.bat-page-header::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at top, rgba(74,158,255,0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* 2. Service Cards Enhancement */
.bat-service-card {
    background: linear-gradient(145deg, rgba(20, 25, 40, 0.8), rgba(10, 15, 25, 0.6)) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    animation: fadeUp 0.5s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.bat-service-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(74, 158, 255, 0.2) !important;
    border-color: rgba(74, 158, 255, 0.5) !important;
}

/* Initial Staggering */
#services-grid .bat-service-card:nth-child(1) { animation-delay: 0.05s; }
#services-grid .bat-service-card:nth-child(2) { animation-delay: 0.10s; }
#services-grid .bat-service-card:nth-child(3) { animation-delay: 0.15s; }
#services-grid .bat-service-card:nth-child(4) { animation-delay: 0.20s; }
#services-grid .bat-service-card:nth-child(5) { animation-delay: 0.25s; }
#services-grid .bat-service-card:nth-child(6) { animation-delay: 0.30s; }
#services-grid .bat-service-card:nth-child(7) { animation-delay: 0.35s; }
#services-grid .bat-service-card:nth-child(8) { animation-delay: 0.40s; }
#services-grid .bat-service-card:nth-child(9) { animation-delay: 0.45s; }
#services-grid .bat-service-card:nth-child(10) { animation-delay: 0.50s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* 3. Dynamic Icons */
.bat-service-icon {
    transition: all 0.3s ease;
    background: rgba(74, 158, 255, 0.1) !important;
    border-radius: 8px;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #718096;
}
.bat-service-card:hover .bat-service-icon {
    transform: scale(1.15) rotate(5deg);
    background: rgba(74, 158, 255, 0.2) !important;
    box-shadow: 0 0 15px rgba(74, 158, 255, 0.4);
    color: #4A9EFF;
}

/* 4. Buttons Upgrade */
.bat-btn-primary {
    background: linear-gradient(135deg, #4A9EFF, #6b4aff) !important;
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.bat-btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #6b4aff, #4A9EFF);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}
.bat-btn-primary:hover::before {
    opacity: 1;
}
.bat-btn-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(107, 74, 255, 0.4);
}
.bat-btn-primary:active {
    transform: scale(0.97);
}

/* 5. Status Indicators */
.bat-ready-badge {
    background: rgba(34, 197, 94, 0.1) !important;
    border: 1px solid rgba(34, 197, 94, 0.2) !important;
    color: #4ade80 !important;
    padding: 4px 10px !important;
    border-radius: 12px !important;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.05);
}
.bat-ready-dot {
    width: 8px;
    height: 8px;
    background-color: #4ade80;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #4ade80;
    position: relative;
}
.bat-ready-dot::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: inherit;
    border-radius: inherit;
    animation: pulseGlow 2s infinite;
}
@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.8; }
    70% { transform: scale(2.5); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* 6. Filter Tabs */
.bat-filters {
    position: relative;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    border-radius: 30px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.2);
}
.bat-filter-btn {
    background: transparent !important;
    border: 1px solid transparent !important;
    color: #a0aec0 !important;
    padding: 8px 18px !important;
    border-radius: 20px !important;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: inherit;
}
.bat-filter-btn:hover {
    color: #fff !important;
}
.bat-filter-btn.active {
    background: rgba(74, 158, 255, 0.15) !important;
    border-color: rgba(74, 158, 255, 0.3) !important;
    color: #4A9EFF !important;
    box-shadow: 0 0 15px rgba(74, 158, 255, 0.2);
}

/* Typography Enhancements */
.bat-service-name {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: #f7fafc;
    letter-spacing: 0.2px;
}
.bat-service-desc {
    color: #a0aec0;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 18px;
}
.bat-service-price-value {
    font-weight: 800;
    font-size: 1.35rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.bat-container {
    position: relative;
    z-index: 2;
}

/* ========================================
   HOME PAGE ENHANCEMENTS
   ======================================== */
.bat-feature-card, .bat-tool-card {
    background: linear-gradient(145deg, rgba(20, 25, 40, 0.8), rgba(10, 15, 25, 0.6)) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.bat-tool-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(74, 158, 255, 0.2) !important;
    border-color: rgba(74, 158, 255, 0.5) !important;
}

.bat-tool-icon {
    transition: all 0.3s ease !important;
    background: rgba(74, 158, 255, 0.1) !important;
    color: #4A9EFF !important;
}

.bat-tool-card:hover .bat-tool-icon {
    transform: scale(1.15) rotate(5deg) !important;
    background: rgba(74, 158, 255, 0.2) !important;
    box-shadow: 0 0 15px rgba(74, 158, 255, 0.4) !important;
    color: #4A9EFF !important;
}

/* Feature cards specific colors on hover */
.bat-feature-card:hover {
    transform: translateY(-8px) !important;
}

.bat-feature-icon {
    transition: all 0.3s ease !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #718096 !important;
}

/* Feat: Blue */
.bat-feature-card.feat-blue:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(74, 158, 255, 0.2) !important;
    border-color: rgba(74, 158, 255, 0.5) !important;
}
.bat-feature-card.feat-blue:hover .bat-feature-icon {
    transform: scale(1.15) rotate(5deg) !important;
    background: rgba(74, 158, 255, 0.2) !important;
    box-shadow: 0 0 15px rgba(74, 158, 255, 0.4) !important;
    color: #4A9EFF !important;
}
.bat-feature-card.feat-blue .bat-feature-icon {
    background: rgba(74, 158, 255, 0.1) !important;
    color: #4A9EFF !important;
}

/* Feat: Orange */
.bat-feature-card.feat-orange:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(249, 115, 22, 0.2) !important;
    border-color: rgba(249, 115, 22, 0.5) !important;
}
.bat-feature-card.feat-orange:hover .bat-feature-icon {
    transform: scale(1.15) rotate(5deg) !important;
    background: rgba(249, 115, 22, 0.2) !important;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.4) !important;
    color: #f97316 !important;
}
.bat-feature-card.feat-orange .bat-feature-icon {
    background: rgba(249, 115, 22, 0.1) !important;
    color: #f97316 !important;
}

/* Feat: Purple */
.bat-feature-card.feat-purple:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(168, 85, 247, 0.2) !important;
    border-color: rgba(168, 85, 247, 0.5) !important;
}
.bat-feature-card.feat-purple:hover .bat-feature-icon {
    transform: scale(1.15) rotate(5deg) !important;
    background: rgba(168, 85, 247, 0.2) !important;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4) !important;
    color: #c084fc !important;
}
.bat-feature-card.feat-purple .bat-feature-icon {
    background: rgba(168, 85, 247, 0.1) !important;
    color: #c084fc !important;
}

/* Feat: Green */
.bat-feature-card.feat-green:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(34, 197, 94, 0.2) !important;
    border-color: rgba(34, 197, 94, 0.5) !important;
}
.bat-feature-card.feat-green:hover .bat-feature-icon {
    transform: scale(1.15) rotate(5deg) !important;
    background: rgba(34, 197, 94, 0.2) !important;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.4) !important;
    color: #22c55e !important;
}
.bat-feature-card.feat-green .bat-feature-icon {
    background: rgba(34, 197, 94, 0.1) !important;
    color: #22c55e !important;
}

/* ========================================
   GLOBAL UI ENHANCEMENTS & MICRO-INTERACTIONS
   ======================================== */
   
/* Smooth Navigation Underlines */
.bat-nav-link {
    position: relative;
}
.bat-nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    right: 50%;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 2px;
    opacity: 0;
}
.bat-nav-link:hover::after, .bat-nav-link.active::after {
    left: 15px;
    right: 15px;
    opacity: 1;
}

/* Stat Box Hover Lifting */
.bat-stat-box {
    background: linear-gradient(145deg, rgba(20, 25, 40, 0.7), rgba(10, 15, 25, 0.5)) !important;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    border: 1px solid rgba(255,255,255,0.03) !important;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
    transform: translateZ(0); /* Force GPU */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.bat-stat-box:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4), 0 0 15px rgba(74, 158, 255, 0.1) !important;
    border-color: rgba(74, 158, 255, 0.3) !important;
}

/* Pulsing effect for elements that need live feeling */
.pulsing {
    animation: slowPulse 3s infinite alternate ease-in-out;
    will-change: filter;
    transform: translateZ(0);
}
@keyframes slowPulse {
    0% { filter: brightness(1) drop-shadow(0 0 0 rgba(0,0,0,0)); }
    100% { filter: brightness(1.2) drop-shadow(0 0 8px rgba(34,197,94,0.4)); }
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px) translateZ(0);
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.scroll-animate-delay-1 { transition-delay: 0.1s; }
.scroll-animate-delay-2 { transition-delay: 0.2s; }
.scroll-animate-delay-3 { transition-delay: 0.3s; }
.scroll-animate-delay-4 { transition-delay: 0.4s; }
.scroll-animate-delay-5 { transition-delay: 0.5s; }

