/* ==========================================================================
   Waqas Maqbool - Modern SaaS Stylesheet
   Theme: Modern SaaS
   Primary: #2563EB | Secondary: #0EA5E9 | Accent: #10B981
   Background: #F8FAFC | Dark: #0F172A
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties & Design System
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: rgba(37, 99, 235, 0.1);
  --secondary: #0ea5e9;
  --secondary-hover: #0284c7;
  --accent: #10b981;
  --accent-hover: #059669;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  --grad-accent: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
  --grad-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --grad-glow: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(14, 165, 233, 0.15) 100%);

  /* Light Mode Theme */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-surface: #ffffff;
  --bg-alt: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-white: #ffffff;
  --border-color: #e2e8f0;

  /* Glassmorphism Light */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 32px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.3);

  /* Fonts & Radius */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Theme Overrides */
[data-theme="dark"] {
  --bg-body: #0b0f19;
  --bg-card: #151c2c;
  --bg-surface: #111827;
  --bg-alt: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: #1e293b;

  /* Glassmorphism Dark */
  --glass-bg: rgba(21, 28, 44, 0.8);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* --------------------------------------------------------------------------
   2. Reset & Typography
   -------------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

/* Gradient Text Effect */
.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-accent-text {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --------------------------------------------------------------------------
   3. Buttons & UI Elements
   -------------------------------------------------------------------------- */
.btn-saas {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-saas-primary {
  background: var(--grad-primary);
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.btn-saas-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
}

.btn-saas-secondary {
  background: var(--grad-accent);
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-saas-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-saas-outline {
  background: transparent;
  color: var(--text-main) !important;
  border: 2px solid var(--border-color);
}

.btn-saas-outline:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  background: var(--primary-light);
  transform: translateY(-3px);
}

.btn-saas-white {
  background: #ffffff;
  color: var(--primary) !important;
  box-shadow: var(--shadow-md);
}

.btn-saas-white:hover {
  background: #f8fafc;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

/* Section Header */
.section-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--primary-light);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
}

/* --------------------------------------------------------------------------
   4. Header & Navigation (Mega Menu)
   -------------------------------------------------------------------------- */
.navbar-saas {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}

.navbar-saas.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--glass-shadow);
  border-bottom: 1px solid var(--border-color);
  padding: 0.65rem 0;
}

.navbar-brand-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: var(--grad-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-main) !important;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
}

/* Mega Menu Dropdown */
.mega-dropdown {
  position: static !important;
}

.mega-menu-content {
  width: 100%;
  left: 0;
  right: 0;
  top: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  margin-top: 0.5rem;
  display: none;
}

.dropdown-menu.show {
  display: block;
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mega-menu-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mega-menu-item:hover {
  background: var(--bg-alt);
}

.mega-menu-icon {
  width: 42px;
  height: 42px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.mega-menu-text h6 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.mega-menu-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* Dark Mode Switcher & Search Toggle */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.icon-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 180px 0 100px 0;
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 40%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-subtext {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-illustration-wrapper {
  position: relative;
  text-align: center;
}

.hero-svg-illustration {
  width: 100%;
  max-width: 600px;
  filter: drop-shadow(0 20px 30px rgba(37, 99, 235, 0.15));
}

/* Floating animation elements */
.floating-card {
  position: absolute;
  padding: 0.75rem 1.25rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float 4s ease-in-out infinite;
  z-index: 10;
}

.floating-card-1 {
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 15%;
  right: -5%;
  animation-delay: 2s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* --------------------------------------------------------------------------
   6. Statistics Counter Section
   -------------------------------------------------------------------------- */
.stats-section {
  padding: 60px 0;
  background: var(--grad-dark);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #94a3b8;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   7. Features & Services Section
   -------------------------------------------------------------------------- */
.services-section {
  padding: 100px 0;
}

.service-card {
  padding: 2.5rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--grad-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--grad-primary);
  color: #ffffff;
  transform: scale(1.08) rotate(3deg);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.875rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.service-features-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features-list li i {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   8. Product Showcase Section
   -------------------------------------------------------------------------- */
.products-section {
  padding: 100px 0;
  background: var(--bg-alt);
}

.product-card {
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-img-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--grad-glow);
  padding: 2rem;
  text-align: center;
}

.product-img-wrapper svg {
  max-height: 180px;
  width: 100%;
  transition: var(--transition);
}

.product-card:hover .product-img-wrapper svg {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  background: var(--grad-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.product-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
}

/* --------------------------------------------------------------------------
   9. Tech Stack Section
   -------------------------------------------------------------------------- */
.tech-section {
  padding: 100px 0;
}

.tech-tab-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tech-tab-btn.active,
.tech-tab-btn:hover {
  background: var(--grad-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.tech-card {
  padding: 1.5rem;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.tech-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.tech-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   10. Testimonials & FAQ Section
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: 100px 0;
  background: var(--bg-alt);
}

.testimonial-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

.rating-stars {
  color: #f59e0b;
  margin-bottom: 1rem;
}

.client-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.faq-accordion .accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md) !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  background: var(--bg-card);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.25rem 1.5rem;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: var(--primary-light);
}

.faq-accordion .accordion-body {
  color: var(--text-muted);
  padding: 1.25rem 1.5rem;
}

/* --------------------------------------------------------------------------
   11. Call to Action Banner
   -------------------------------------------------------------------------- */
.cta-section {
  padding: 80px 0;
  background: var(--grad-primary);
  color: #ffffff;
  border-radius: var(--radius-lg);
  margin: 40px auto;
  position: relative;
  overflow: hidden;
}

.cta-title {
  color: #ffffff;
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.cta-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   12. Footer Section
   -------------------------------------------------------------------------- */
.footer-saas {
  background: var(--grad-dark);
  color: #94a3b8;
  padding-top: 80px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand h4 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-title {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  margin-top: 3rem;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   13. Floating WhatsApp & Back to Top Widgets
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 25px;
  width: 58px;
  height: 58px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.7;
  animation: pulse-ring 1.8s infinite;
  z-index: -1;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-4px);
}

/* WhatsApp Chat Box Modal */
.whatsapp-chat-box {
  position: fixed;
  bottom: 160px;
  right: 25px;
  width: 320px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  z-index: 1000;
  display: none;
  overflow: hidden;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.whatsapp-box-header {
  background: #075e54;
  color: white;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-box-body {
  padding: 1.25rem;
  background: var(--bg-alt);
}

.whatsapp-msg-bubble {
  background: #dcf8c6;
  color: #000000;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.875rem;
  position: relative;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   14. Search Overlay & Cookie Consent
   -------------------------------------------------------------------------- */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.search-input-wrapper {
  width: 90%;
  max-width: 600px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 1.25rem 2rem;
  font-size: 1.5rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--primary);
  background: var(--bg-card);
  color: var(--text-main);
  outline: none;
}

.search-close-btn {
  position: absolute;
  top: -60px;
  right: 0;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 2rem;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   15. Timeline & Custom Page Elements
   -------------------------------------------------------------------------- */
.timeline-saas {
  position: relative;
  padding: 2rem 0;
}

.timeline-saas::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--grad-primary);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 2.5rem;
  position: relative;
  width: 50%;
}

.timeline-item.left {
  left: 0;
  padding-right: 3rem;
}

.timeline-item.right {
  left: 50%;
  padding-left: 3rem;
}

.timeline-dot {
  position: absolute;
  top: 15px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.timeline-item.left .timeline-dot {
  right: -10px;
}

.timeline-item.right .timeline-dot {
  left: -10px;
}

.timeline-content {
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

/* Filter Badges */
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}