/* SmartBooks by SmartOps Digital - Global Standard Fintech / ERP Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;1,400;1,600&family=Space+Grotesk:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --color-bg: #050505;
  --color-bg-card: #0c0d12;
  --color-bg-card-hover: #11131b;
  --color-surface: #0e1017;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(16, 185, 129, 0.35);
  
  --color-accent: #10b981;
  --color-accent-dim: rgba(16, 185, 129, 0.1);
  --color-accent-glow: rgba(16, 185, 129, 0.3);
  
  --color-blue: #3b82f6;
  --color-blue-glow: rgba(59, 130, 246, 0.2);
  --color-emerald: #10b981;
  --color-emerald-glow: rgba(16, 185, 129, 0.2);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--color-bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle Film Noise Texture from SmartOps */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.font-space {
  font-family: 'Space Grotesk', sans-serif;
}

.serif {
  font-family: 'Playfair Display', serif;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

::selection {
  background-color: var(--color-accent);
  color: #000000;
}

/* Premium Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #050505;
}
::-webkit-scrollbar-thumb {
  background: #1a1e29;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
}

/* Global Standard Floating Navigation */
.glass-nav {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #94a3b8;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-link.active {
  color: var(--color-accent);
  background: rgba(16, 185, 129, 0.08);
}

/* Glassmorphism & Cards */
.glass-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-border);
  border-radius: 1.25rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
}

.glass-card:hover {
  transform: translateY(-3px);
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-hover);
  box-shadow: 0 20px 40px -15px rgba(16, 185, 129, 0.12), inset 0 1px 0 0 rgba(16, 185, 129, 0.2);
}

.glass-accent {
  background: rgba(16, 185, 129, 0.02);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 185, 129, 0.15);
  box-shadow: inset 0 1px 0 0 rgba(16, 185, 129, 0.1);
}

/* Ambient Radial Glows */
.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 700px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(59, 130, 246, 0.08) 35%, rgba(5, 5, 5, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #ffffff 0%, #10b981 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #ffffff 0%, #10b981 50%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* App Mockup Window */
.app-window-dark {
  border-radius: 16px;
  box-shadow: 0 35px 80px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 50px rgba(16, 185, 129, 0.09);
  overflow: hidden;
  background: #090a0f;
}

.app-titlebar {
  background: #0d0f15;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-dots {
  display: flex;
  gap: 7px;
}
.window-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

/* Terminal code blocks */
.terminal-block {
  background: #08090d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 20px;
  font-family: 'JetBrains Mono', monospace;
  color: #10b981;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

.copy-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s;
}
.copy-btn:hover {
  background: var(--color-accent);
  color: #000;
  border-color: var(--color-accent);
}

/* Custom Interactive Sliders */
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: #141721;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
input[type=range]::-webkit-slider-thumb {
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: #10b981;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -7px;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.6);
  border: 2px solid #ffffff;
}

/* Tab Active Styles */
.tab-btn {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 2px solid transparent;
}
.tab-btn.active {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: rgba(16, 185, 129, 0.05);
}

/* Modal animation */
.modal-enter {
  opacity: 0;
  transform: scale(0.95);
}
.modal-enter-active {
  opacity: 1;
  transform: scale(1);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* High Precision Badges */
.badge-tech {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(16, 185, 129, 0.08);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.1);
}

.btn-primary-glow {
  background: #10b981;
  color: #050505;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.28);
}
.btn-primary-glow:hover {
  background: #34d399;
  transform: translateY(-1px);
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.45);
}

.btn-secondary-glass {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-secondary-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* =========================================================
   GOOGLE TRANSLATE & NIGERIAN LANGUAGE SELECTOR STYLING
   ========================================================= */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}
body {
  top: 0px !important;
}
#google_translate_element {
  display: inline-block !important;
}
.goog-te-gadget-simple {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 4px 8px !important;
  border-radius: 9999px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 11px !important;
  font-family: 'Space Grotesk', sans-serif !important;
  color: #e2e8f0 !important;
  transition: all 0.2s ease !important;
}
.goog-te-gadget-simple:hover {
  background: rgba(16, 185, 129, 0.08) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
}
.goog-te-gadget-simple img {
  display: none !important;
}
.goog-te-gadget-simple .goog-te-menu-value {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  color: #cbd5e1 !important;
}
.goog-te-gadget-simple .goog-te-menu-value span {
  color: #cbd5e1 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  border-left: none !important;
}
.goog-te-gadget-simple .goog-te-menu-value span:nth-child(3) {
  display: none !important;
}
.goog-te-gadget-simple .goog-te-menu-value:after {
  content: '▾' !important;
  font-size: 10px !important;
  color: #10b981 !important;
}

/* Custom Language Switcher Dropdown */
.lang-dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 220px;
  background: #0c0d12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(16, 185, 129, 0.1);
  backdrop-filter: blur(20px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.lang-dropdown-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.15s ease;
}
.lang-item:hover {
  background: rgba(16, 185, 129, 0.12);
  color: #ffffff;
}
.lang-item.selected {
  background: rgba(16, 185, 129, 0.18);
  color: #10b981;
  font-weight: 700;
}

