/*
Theme Name: Future Agent Lab Modern V93
Theme URI: https://futureagentlab.com/
Author: Future Agent Lab Global Engineering
Author URI: https://futureagentlab.com/
Description: Ultra-modern Next-Gen Enterprise AI, Web Engineering, SEO/GEO & In-Browser Growth Tools Suite.
Version: 93.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: futureagentlab
*/

:root {
  --fal-primary: #4f46e5;
  --fal-primary-glow: rgba(79, 70, 229, 0.4);
  --fal-secondary: #06b6d4;
  --fal-accent: #10b981;
  --fal-dark: #090d16;
  --fal-card-bg: #111827;
  --fal-card-border: rgba(255, 255, 255, 0.08);
  --fal-text-main: #f3f4f6;
  --fal-text-muted: #9ca3af;
  --fal-light-bg: #f8fafc;
  --fal-gradient-ai: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --fal-gradient-glow: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
  background-color: #ffffff;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ===== CARDS ===== */
.fal-glass-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fal-glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -8px rgba(79, 70, 229, 0.12), 0 8px 16px -4px rgba(79, 70, 229, 0.06);
  border-color: rgba(79, 70, 229, 0.35);
}

.fal-dark-section {
  background: radial-gradient(circle at 50% 0%, #171e2e 0%, #090d16 100%);
  color: #f8fafc;
}

.fal-dark-card {
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fal-dark-card:hover {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.35);
  transform: translateY(-4px);
}

/* ===== TEXT GRADIENT ===== */
.fal-text-gradient {
  background: var(--fal-gradient-ai);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== BADGE / PILL ===== */
.fal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.fal-badge-glow {
  background: rgba(79, 70, 229, 0.1);
  color: #4f46e5;
  border: 1px solid rgba(79, 70, 229, 0.25);
  box-shadow: 0 0 15px rgba(79, 70, 229, 0.15);
}

/* ===== BUTTONS ===== */
.fal-btn-primary {
  background: var(--fal-gradient-ai);
  color: #ffffff !important;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4);
  transition: all 0.25s ease;
  cursor: pointer;
}

.fal-btn-primary:hover {
  box-shadow: 0 15px 35px -5px rgba(99, 102, 241, 0.65);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.fal-btn-secondary {
  background: #ffffff;
  color: #1e293b !important;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.fal-btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a !important;
  transform: translateY(-1px);
}

/* ===== NAVIGATION ===== */
.fal-header { position: sticky; top: 0; z-index: 1050; }

.fal-navbar {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
}

.fal-nav-link {
  font-weight: 500;
  color: #334155 !important;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.fal-nav-link:hover, .fal-nav-link.active-link {
  color: #4f46e5 !important;
  background: rgba(79, 70, 229, 0.07);
}

.fal-mega-dropdown { position: static !important; }

.fal-mega-menu {
  width: 100%;
  left: 0;
  right: 0;
  top: 100%;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.18);
  padding: 28px 36px;
  background: #ffffff;
  animation: fadeSlideDown 0.2s ease;
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== SERVICE LINKS (in nav) ===== */
.fal-service-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #334155;
  transition: all 0.15s ease;
  font-size: 0.875rem;
}

.fal-service-link:hover {
  background: #f1f5f9;
  color: #4f46e5;
  transform: translateX(3px);
}

/* ===== SERVICE ICON ===== */
.fal-service-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(79, 70, 229, 0.1);
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.fal-glass-card:hover .fal-service-icon {
  background: var(--fal-gradient-ai);
  color: #ffffff;
}

/* ===== HERO ===== */
.fal-hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 75% 20%, rgba(79, 70, 229, 0.07) 0%, rgba(255, 255, 255, 1) 65%);
}

@media (max-width: 991px) {
  .fal-hero { min-height: auto; padding: 3rem 0; }
  .fal-hero .col-lg-5 { order: -1; margin-bottom: 2rem; }
}

/* ===== STATS SECTION ===== */
.fal-stats-section {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a21caf 100%);
  color: #fff;
  padding: 4rem 0;
}

.fal-stat-item {
  text-align: center;
  padding: 1rem;
}

.fal-stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1;
  letter-spacing: -0.03em;
}

.fal-stat-label {
  font-size: 0.875rem;
  opacity: 0.85;
  margin-top: 4px;
  font-weight: 500;
}

/* ===== TOOLS SECTION — improved contrast ===== */
#fal-tools-section .text-muted {
  color: #a0aec0 !important;
}

#fal-tools-section .badge.bg-primary {
  background: var(--fal-gradient-ai) !important;
  border: none;
}

.fal-tool-tab-btn {
  font-size: 0.9rem;
  white-space: nowrap;
}

@media (max-width: 575px) {
  .fal-tool-tab-btn { font-size: 0.78rem; padding: 8px 12px !important; }
  #fal-tools-section .d-inline-flex { flex-direction: column; width: 100%; }
}

/* ===== SERVICE CARDS ===== */
.fal-service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4f46e5;
  text-decoration: none;
  margin-top: 16px;
  padding: 6px 14px;
  border: 1.5px solid rgba(79, 70, 229, 0.3);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.fal-service-card-link:hover {
  background: #4f46e5;
  color: #ffffff;
  border-color: #4f46e5;
}

/* ===== WHY CHOOSE US ===== */
.fal-why-section {
  background: #f8fafc;
}

.fal-why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.25s ease;
}

.fal-why-item:hover {
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: 0 8px 24px -4px rgba(79, 70, 229, 0.1);
  transform: translateY(-3px);
}

.fal-why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

/* ===== PROCESS SECTION ===== */
.fal-process-section {
  background: radial-gradient(circle at 50% 0%, #171e2e 0%, #090d16 100%);
  color: #f8fafc;
  padding: 5rem 0;
}

.fal-process-step {
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem;
}

.fal-process-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--fal-gradient-ai);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.fal-process-connector {
  position: absolute;
  top: 52px;
  right: -10%;
  width: 20%;
  height: 2px;
  background: linear-gradient(90deg, rgba(99,102,241,0.5) 0%, rgba(168,85,247,0.5) 100%);
}

@media (max-width: 767px) {
  .fal-process-connector { display: none; }
}

/* ===== TESTIMONIALS ===== */
.fal-testimonial-card {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px -4px rgba(0,0,0,0.05);
  transition: all 0.25s ease;
  height: 100%;
}

.fal-testimonial-card:hover {
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: 0 12px 32px -4px rgba(79, 70, 229, 0.1);
  transform: translateY(-4px);
}

.fal-stars { color: #f59e0b; font-size: 0.9rem; }

/* ===== CONTACT SECTION ===== */
.fal-contact-section { background: #f8fafc; }

/* ===== FOOTER ===== */
.fal-footer {
  background: radial-gradient(circle at 50% 0%, #171e2e 0%, #090d16 100%);
  color: #f8fafc;
}

/* ===== HOVER UTILITY ===== */
.hover-primary { transition: color 0.15s; }
.hover-primary:hover { color: #4f46e5 !important; }

/* ===== SECTION TITLE UTILITY ===== */
.fal-section-label {
  display: inline-block;
  background: var(--fal-gradient-ai);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 12px;
}

/* ===== MAX-WIDTH UTILITY ===== */
.max-w-700 { max-width: 700px; }
.max-w-580 { max-width: 580px; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: rgba(79, 70, 229, 0.35); border-radius: 3px; }

/* ===== ACCESSIBILITY ===== */
:focus-visible { outline: 2px solid #4f46e5; outline-offset: 3px; border-radius: 4px; }
