@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ==========================================
   CSS VARIABLES & DESIGN TOKENS
   ========================================== */
:root {
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Theme: Dark (Default) - Stripe & Vercel inspired premium palette */
  --bg-color: #02040a;
  --bg-grid: rgba(255, 255, 255, 0.02);
  --bg-gradient: radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
                 radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.08) 0px, transparent 50%),
                 radial-gradient(at 50% 100%, rgba(139, 92, 246, 0.05) 0px, transparent 50%),
                 #02040a;
  --text-color: #f3f4f6;
  --text-muted: #9ca3af;
  
  --primary-hsl: 263, 90%, 50%; /* Purple */
  --primary: hsl(var(--primary-hsl));
  --primary-glow: rgba(139, 92, 246, 0.3);
  
  --secondary-hsl: 189, 94%, 43%; /* Cyan */
  --secondary: hsl(var(--secondary-hsl));
  --secondary-glow: rgba(6, 182, 212, 0.3);
  
  --accent-hsl: 294, 90%, 55%; /* Fuchsia */
  --accent: hsl(var(--accent-hsl));

  --card-bg: rgba(10, 15, 30, 0.45);
  --card-border: rgba(255, 255, 255, 0.04);
  --card-hover-border: rgba(6, 182, 212, 0.25);
  --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);

  --navbar-bg: rgba(2, 4, 10, 0.6);
  --navbar-border: rgba(255, 255, 255, 0.04);
  
  --input-bg: rgba(10, 15, 30, 0.45);
  --input-border: rgba(255, 255, 255, 0.06);
  --input-focus-border: var(--secondary);
  
  --scroll-track: #02040a;
  --scroll-thumb: #1f2937;
  --scroll-thumb-hover: #374151;

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Theme: Light Mode Override */
body.light-theme {
  --bg-color: #f8fafc;
  --bg-grid: rgba(99, 102, 241, 0.015);
  --bg-gradient: radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.04) 0px, transparent 50%),
                 radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.04) 0px, transparent 50%),
                 radial-gradient(at 50% 100%, rgba(139, 92, 246, 0.02) 0px, transparent 50%),
                 #f8fafc;
  --text-color: #0f172a;
  --text-muted: #4b5563;

  --primary-hsl: 250, 84%, 54%;
  --primary: hsl(var(--primary-hsl));
  --primary-glow: rgba(79, 70, 229, 0.15);

  --secondary-hsl: 195, 90%, 40%;
  --secondary: hsl(var(--secondary-hsl));
  --secondary-glow: rgba(14, 116, 144, 0.15);

  --card-bg: rgba(255, 255, 255, 0.75);
  --card-border: rgba(0, 0, 0, 0.05);
  --card-hover-border: rgba(79, 70, 229, 0.25);
  --card-shadow: 0 10px 40px -10px rgba(79, 70, 229, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);

  --navbar-bg: rgba(248, 249, 250, 0.75);
  --navbar-border: rgba(0, 0, 0, 0.04);

  --input-bg: rgba(255, 255, 255, 0.9);
  --input-border: rgba(0, 0, 0, 0.08);

  --scroll-track: #f1f5f9;
  --scroll-thumb: #cbd5e1;
  --scroll-thumb-hover: #94a3b8;
}

/* ==========================================
   RESET & CORE BASE STYLES
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  background-image: var(--bg-gradient);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* Dynamic Aurora Background Effects */
body::before {
  content: '';
  position: fixed;
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, rgba(139, 92, 246, 0) 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  animation: aurora-1 25s infinite alternate;
}
body::after {
  content: '';
  position: fixed;
  bottom: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, rgba(6, 182, 212, 0) 70%);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  animation: aurora-2 30s infinite alternate-reverse;
}

@keyframes aurora-1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8vw, 5vh) scale(1.15); }
  100% { transform: translate(-5vw, -8vh) scale(0.9); }
}
@keyframes aurora-2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-8vw, -5vh) scale(1.2); }
  100% { transform: translate(5vw, 8vh) scale(0.85); }
}

/* Background Grid Overlay */
.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 60px 60px;
  background-image: linear-gradient(to right, var(--bg-grid) 1px, transparent 1px),
                    linear-gradient(to bottom, var(--bg-grid) 1px, transparent 1px);
  pointer-events: none;
  z-index: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--scroll-track);
}
::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--scroll-thumb-hover);
}

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

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

ul {
  list-style: none;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, #a855f7 35%, #06b6d4 70%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
body.light-theme .gradient-text {
  background: linear-gradient(135deg, #0f172a 0%, #4f46e5 40%, #0891b2 75%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-cyan {
  color: var(--secondary) !important;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 70px;
}
.section-subtitle {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 12px;
  display: inline-block;
}
.section-title {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ==========================================
   INTERACTIVE NET CANVAS
   ========================================== */
.canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.canvas-particles {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================
   HEADER & STICKY NAVIGATION
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: var(--transition-smooth);
}
.header.scrolled {
  background-color: var(--navbar-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--navbar-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-wrapper img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--text-color);
  opacity: 0.85;
}
.nav-link:hover, .nav-item.active .nav-link {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.05);
}
body.light-theme .nav-link:hover, body.light-theme .nav-item.active .nav-link {
  background-color: rgba(0, 0, 0, 0.04);
}

/* Dropdown Menu styling */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--navbar-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--navbar-border);
  border-radius: 12px;
  width: 240px;
  padding: 12px;
  box-shadow: var(--card-shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-link {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  padding-left: 18px;
}
body.light-theme .dropdown-link:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

/* Mega Menu Grid Layout */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--navbar-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--navbar-border);
  border-radius: 16px;
  width: 900px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}
.nav-item.has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-column-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--navbar-border);
  padding-bottom: 8px;
}
.mega-grid-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mega-link {
  display: flex;
  flex-direction: column;
  padding: 10px;
  border-radius: 8px;
}
.mega-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
}
body.light-theme .mega-link:hover {
  background-color: rgba(0, 0, 0, 0.04);
}
.mega-link-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-color);
}
.mega-link-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Theme Toggle Button */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--navbar-border);
  background-color: rgba(255, 255, 255, 0.03);
}
.theme-toggle:hover {
  background-color: rgba(255, 255, 255, 0.08);
}
body.light-theme .theme-toggle:hover {
  background-color: rgba(0, 0, 0, 0.04);
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
}
.theme-toggle .sun-icon {
  display: none;
  stroke: #f59e0b;
}
.theme-toggle .moon-icon {
  display: block;
  stroke: var(--text-muted);
}
body.light-theme .theme-toggle .sun-icon {
  display: block;
}
body.light-theme .theme-toggle .moon-icon {
  display: none;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid var(--navbar-border);
  background-color: rgba(255, 255, 255, 0.03);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-color);
  border-radius: 2px;
  transition: 0.3s ease;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Menu Overlay */
.mobile-nav {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background-color: var(--bg-color);
  z-index: 999;
  padding: 30px;
  overflow-y: auto;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  border-bottom: 1px solid var(--navbar-border);
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
.mobile-nav-item .mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
  padding: 8px 0;
}
.mobile-sub-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-sub-toggle svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}
.mobile-sub-toggle.active svg {
  transform: rotate(180deg);
}
.mobile-sub-links {
  display: none;
  padding-left: 20px;
  margin-top: 10px;
  flex-direction: column;
  gap: 10px;
  border-left: 1px solid var(--navbar-border);
}
.mobile-sub-link {
  font-size: 1rem;
  color: var(--text-muted);
  display: block;
  padding: 6px 0;
}

/* ==========================================
   BUTTONS & CTAS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 99px; /* Pill shapes look modern & premium */
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.btn-primary {
  background: #ffffff;
  color: #02040a;
  box-shadow: 0 4px 20px -4px rgba(255, 255, 255, 0.2);
}
.btn-primary:hover {
  background: #f3f4f6;
  box-shadow: 0 12px 30px -5px rgba(255, 255, 255, 0.35);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.02);
  color: #ffffff;
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.05);
}

body.light-theme .btn-primary {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.2);
}
body.light-theme .btn-primary:hover {
  background: #1e293b;
  box-shadow: 0 12px 30px -5px rgba(15, 23, 42, 0.35);
}
body.light-theme .btn-secondary {
  border-color: rgba(0, 0, 0, 0.08);
  background-color: rgba(0, 0, 0, 0.02);
  color: #0f172a;
}
body.light-theme .btn-secondary:hover {
  border-color: rgba(0, 0, 0, 0.2);
  background-color: rgba(0, 0, 0, 0.05);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* ==========================================
   GLASSMORPHISM CARD STYLING
   ========================================== */
.glass-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 35px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition-smooth);
}
.glass-card:hover {
  border-color: var(--card-hover-border);
  transform: translateY(-8px) scale(1.005);
  box-shadow: 0 30px 60px -15px rgba(6, 182, 212, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
body.light-theme .glass-card:hover {
  box-shadow: 0 30px 60px -15px rgba(79, 70, 229, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Card Glow Spotlight Effect */
.glow-card-container {
  position: relative;
}
.glow-card-spotlight {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}
.glow-card-container:hover .glow-card-spotlight {
  opacity: 1;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background-color: rgba(6, 182, 212, 0.05);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 24px;
}
body.light-theme .hero-tag {
  background-color: rgba(79, 70, 229, 0.06);
  border-color: rgba(79, 70, 229, 0.2);
  color: var(--primary);
}
.hero-tag span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--secondary);
  display: block;
  animation: pulse 1.5s infinite alternate;
}

.hero-title {
  font-size: clamp(3rem, 1rem + 6vw, 5.5rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: clamp(1.1rem, 0.9rem + 1.5vw, 1.35rem);
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 640px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

/* Hero Art - Futuristic AI graphic */
.hero-art-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-glow-blob {
  position: absolute;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(139, 92, 246, 0.1) 40%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  filter: blur(50px);
  animation: float-slow 10s infinite alternate;
}
.hero-art-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  border-radius: 24px;
  border: 1px solid var(--card-border);
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.7), 0 0 50px rgba(6, 182, 212, 0.15);
  background-color: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  padding: 24px;
}
.hero-art-mockup {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Floating Elements Animation */
.floating-element {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--card-shadow);
  z-index: 3;
}
.floating-el-1 {
  top: 10%;
  left: -20px;
  animation: float-y 4s ease-in-out infinite alternate;
}
.floating-el-2 {
  bottom: 15%;
  right: -30px;
  animation: float-y 5s ease-in-out infinite alternate-reverse;
}

/* ==========================================
   TRUSTED BY / LOGO CAROUSEL
   ========================================== */
.trusted-logos {
  overflow: hidden;
  padding: 45px 0;
  border-top: 1px solid var(--navbar-border);
  border-bottom: 1px solid var(--navbar-border);
  background-color: rgba(255, 255, 255, 0.005);
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}
.logo-carousel-track {
  display: flex;
  width: calc(250px * 12);
  animation: scroll-carousel 30s linear infinite;
  gap: 60px;
}
.logo-carousel-item {
  width: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-carousel-item span {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.6;
  letter-spacing: -0.02em;
}

/* ==========================================
   SERVICES OVERVIEW
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover .service-icon {
  transform: scale(1.08) rotate(3deg);
  border-color: var(--secondary);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}
.service-title {
  font-size: 1.5rem;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.service-desc {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
  flex-grow: 1;
}
.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.service-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.service-features-list svg {
  width: 14px;
  height: 14px;
  color: var(--secondary);
}
.service-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover .service-link svg {
  transform: translateX(6px);
}

/* ==========================================
   PRODUCTS SHOWCASE
   ========================================== */
.products-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.product-showcase-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-nav-btn {
  text-align: left;
  padding: 24px;
  border-radius: 16px;
  cursor: pointer;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  transition: var(--transition-smooth);
}
.product-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.02);
}
.product-nav-btn.active {
  background: linear-gradient(to right, rgba(6, 182, 212, 0.05), transparent);
  border-color: var(--card-border);
  border-left: 3px solid var(--secondary);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}
body.light-theme .product-nav-btn.active {
  background: linear-gradient(to right, rgba(79, 70, 229, 0.05), transparent);
  border-left-color: var(--primary);
}
.product-nav-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  transition: var(--transition-fast);
}
.product-nav-btn.active .product-nav-title {
  color: var(--secondary);
}
body.light-theme .product-nav-btn.active .product-nav-title {
  color: var(--primary);
}
.product-nav-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.product-display-panel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 480px;
}
.product-panel-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: scale(0.96);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-panel-content.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.product-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.product-tag {
  padding: 6px 12px;
  background-color: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary);
}
.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 30px 0;
}
.product-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}
.product-feature-item svg {
  width: 16px;
  height: 16px;
  color: var(--success);
}

/* ==========================================
   WHY CHOOSE US / METRICS
   ========================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.why-card {
  padding: 40px 30px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.why-number {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
}

/* ==========================================
   DEVELOPMENT PROCESS
   ========================================== */
.process-timeline {
  position: relative;
  max-width: 1000px;
  margin: 60px auto 0;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  transform: translateX(-50%);
  opacity: 0.15;
}
.process-step {
  position: relative;
  width: 50%;
  padding: 30px 40px;
  box-sizing: border-box;
  transition: transform 0.5s ease;
}
.process-step:nth-child(odd) {
  left: 0;
  text-align: right;
}
.process-step:nth-child(even) {
  left: 50%;
  text-align: left;
}
.process-step::after {
  content: '';
  position: absolute;
  top: 35px;
  width: 16px;
  height: 16px;
  background-color: var(--bg-color);
  border: 4px solid var(--secondary);
  border-radius: 50%;
  z-index: 5;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.process-step:nth-child(odd)::after {
  right: -8px;
}
.process-step:nth-child(even)::after {
  left: -8px;
}
.process-step:hover::after {
  transform: scale(1.3);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}
.process-step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: 15px;
  letter-spacing: -0.03em;
  font-family: var(--font-heading);
}
body.light-theme .process-step-num {
  color: rgba(0, 0, 0, 0.04);
}
.process-step:nth-child(odd) .process-step-num {
  left: 40px;
}
.process-step:nth-child(even) .process-step-num {
  right: 40px;
}
.process-step-card {
  padding: 28px;
  border-radius: 20px;
  background: rgba(10, 15, 30, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}
body.light-theme .process-step-card {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.05);
}
.process-step:hover .process-step-card {
  border-color: rgba(6, 182, 212, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(6, 182, 212, 0.05);
}

/* ==========================================
   PORTFOLIO FILTER & PREVIEW
   ========================================== */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--card-border);
  background-color: rgba(255, 255, 255, 0.02);
  transition: var(--transition-fast);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--secondary);
  color: var(--secondary);
  background-color: rgba(6, 182, 212, 0.04);
}
body.light-theme .filter-btn {
  background-color: rgba(0, 0, 0, 0.02);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}
.portfolio-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}
.portfolio-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--card-hover-border);
  box-shadow: 0 30px 60px -15px rgba(6, 182, 212, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.portfolio-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.portfolio-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-card:hover .portfolio-img-wrapper img {
  transform: scale(1.05);
}
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(2, 4, 10, 0.95) 0%, rgba(2, 4, 10, 0.4) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}
.portfolio-info {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.portfolio-tech {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.portfolio-tech span {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  background-color: rgba(6, 182, 212, 0.05);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: 99px;
  color: var(--secondary);
}
body.light-theme .portfolio-tech span {
  background-color: rgba(79, 70, 229, 0.05);
  border-color: rgba(79, 70, 229, 0.15);
  color: var(--primary);
}

/* ==========================================
   TESTIMONIALS SLIDER
   ========================================== */
.testimonials-slider-container {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
.testimonials-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.testimonial-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px;
}
.testimonial-content {
  text-align: center;
}
.testimonial-quote {
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 30px;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.testimonial-name {
  font-size: 1.1rem;
  font-weight: 700;
}
.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  color: var(--warning);
}
.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}
.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
.slider-arrow:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--secondary);
  color: var(--secondary);
}
body.light-theme .slider-arrow:hover {
  background-color: rgba(0, 0, 0, 0.04);
}
.slider-arrow svg {
  width: 20px;
  height: 20px;
}

/* ==========================================
   FOUNDER HIGHLIGHT
   ========================================== */
.founder-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.founder-image-box {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--card-border);
}
.founder-image-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.founder-quote-box {
  padding: 40px;
}
.founder-sign {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 24px;
}

/* ==========================================
   DEDICATED SECTIONS FOR OTHER PAGES
   ========================================== */
/* Page Banner/Hero */
.page-banner {
  padding: 140px 0 80px;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.page-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 16px;
}
.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.breadcrumbs a:hover {
  color: var(--secondary);
}

/* Forms & Leads */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text-color);
  transition: var(--transition-fast);
}
.form-input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}
textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* Accordion / FAQ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background-color: var(--card-bg);
  overflow: hidden;
  transition: var(--transition-smooth);
}
.faq-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
}
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
body.light-theme .faq-icon {
  background-color: rgba(0, 0, 0, 0.04);
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 24px;
  color: var(--text-muted);
}
.faq-item.active .faq-body {
  padding-bottom: 24px;
}

/* Blog layouts */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}
.blog-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog-img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
}
.blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.blog-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
}
.blog-title a:hover {
  color: var(--secondary);
}
.blog-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* ==========================================
   AI CHAT WIDGET
   ========================================== */
.ai-chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-family: var(--font-body);
}

.ai-chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px -5px var(--primary-glow);
  transition: var(--transition-smooth);
  color: #ffffff;
}
.ai-chat-toggle:hover {
  transform: scale(1.08) rotate(5deg);
}
.ai-chat-toggle svg {
  width: 28px;
  height: 28px;
}

.ai-chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  height: 500px;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: var(--transition-smooth);
}
.ai-chat-widget.open .ai-chat-window {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.ai-chat-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  border-bottom: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ai-chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ai-chat-status {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  display: block;
}
.ai-chat-header-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}
.ai-chat-header-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.ai-chat-close {
  cursor: pointer;
  opacity: 0.7;
}
.ai-chat-close:hover {
  opacity: 1;
}

.ai-chat-messages {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ai-msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.4;
}
.ai-msg-bot {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
body.light-theme .ai-msg-bot {
  background-color: rgba(0, 0, 0, 0.03);
}
.ai-msg-user {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.ai-chat-input-area {
  padding: 16px;
  border-top: 1px solid var(--card-border);
  display: flex;
  gap: 8px;
}
.ai-chat-input {
  flex-grow: 1;
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.85rem;
}
.ai-chat-send {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
}

/* Blinking chat cursor */
.typing-dots {
  display: flex;
  gap: 4px;
  padding: 4px 8px;
}
.typing-dots span {
  width: 6px;
  height: 6px;
  background-color: var(--text-muted);
  border-radius: 50%;
  animation: typing-bounce 1s infinite alternate;
}
.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

/* ==========================================
   WHATSAPP & FLOATING ACTIONS
   ========================================== */
.whatsapp-float {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  z-index: 9998;
  transition: var(--transition-smooth);
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.45);
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.footer {
  background-color: #02050b;
  border-top: 1px solid var(--navbar-border);
  padding: 80px 0 30px;
  color: #9ca3af;
  font-size: 0.9rem;
}
body.light-theme .footer {
  background-color: #0f172a;
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.8fr) 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer-logo-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-logo-col .logo-text {
  color: #ffffff;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.footer-social-link:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  background-color: rgba(6, 182, 212, 0.05);
}
.footer-social-link svg {
  width: 18px;
  height: 18px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a:hover {
  color: var(--secondary);
  padding-left: 4px;
}

.footer-newsletter-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.newsletter-form {
  display: flex;
  gap: 8px;
}
.newsletter-input {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #ffffff;
  flex-grow: 1;
}
.newsletter-btn {
  background: var(--primary);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}

/* ==========================================
   ANIMATIONS & KEYFRAMES
   ========================================== */
@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.1); opacity: 1; }
}

@keyframes float-slow {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
  100% { transform: translateY(5px) rotate(-3deg); }
}

@keyframes float-y {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

@keyframes scroll-carousel {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-250px * 6)); }
}

@keyframes typing-bounce {
  0% { transform: translateY(0); opacity: 0.4; }
  100% { transform: translateY(-6px); opacity: 1; }
}

/* Scroll Entrance Reveals */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1200px) {
  .mega-menu {
    width: 750px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-desc {
    margin: 0 auto 30px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-art-wrapper {
    margin-top: 20px;
  }
  .nav-links, .header-actions .btn {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .products-layout {
    grid-template-columns: 1fr;
  }
  .product-display-panel {
    height: 380px;
  }
  .founder-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .process-timeline::before {
    left: 40px;
  }
  .process-step {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: 80px;
    padding-right: 20px;
  }
  .process-step::after {
    left: 32px !important;
    right: auto !important;
  }
  .process-step-num {
    right: 40px !important;
    left: auto !important;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .ai-chat-window {
    width: calc(100vw - 40px);
    right: -10px;
  }
  .whatsapp-float, .ai-chat-widget {
    bottom: 20px;
  }
  .whatsapp-float {
    right: 20px;
  }
  .ai-chat-widget {
    right: 90px;
  }
}

/* ==========================================
   ACCESSIBILITY & WCAG FOCUS OUTLINES
   ========================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--secondary) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 5px rgba(6, 182, 212, 0.25) !important;
}

/* ==========================================
   VISUAL REDESIGN MOCKUPS & ANIMATIONS
   ========================================== */
.floating-mockup-frame {
  position: relative;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--card-border);
  padding: 8px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 
              0 0 50px 0 rgba(6, 182, 212, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  animation: float-device 6s ease-in-out infinite;
}
.floating-mockup-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.05), transparent);
  pointer-events: none;
  z-index: 2;
}
.floating-mockup-frame:hover {
  transform: translateY(-12px) rotate(1deg);
  box-shadow: 0 40px 80px -20px rgba(6, 182, 212, 0.3), 
              0 0 60px 0 rgba(168, 85, 247, 0.2);
}
.floating-mockup-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

@keyframes float-device {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Premium Visual Cards for Index Pages */
.visual-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 40px;
  margin-top: 50px;
}
.visual-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition-smooth);
  overflow: hidden;
  position: relative;
}
.visual-card:hover {
  border-color: var(--card-hover-border);
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -15px rgba(6, 182, 212, 0.15);
}
.visual-card-img-wrap {
  width: 100%;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.03);
}
.visual-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.visual-card:hover .visual-card-img-wrap img {
  transform: scale(1.08) rotate(-0.5deg);
}
.visual-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(15, 23, 42, 0.8));
  pointer-events: none;
}
.visual-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.visual-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.visual-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.visual-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.3s ease;
}
.visual-card:hover .visual-card-link {
  gap: 12px;
  color: var(--text-main);
}

/* Modern Badge / Tag */
.modern-badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(6, 182, 212, 0.1);
  color: var(--secondary);
  border: 1px solid rgba(6, 182, 212, 0.2);
  margin-bottom: 16px;
  width: fit-content;
}
.modern-badge-tag.orange {
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
  border-color: rgba(249, 115, 22, 0.2);
}
.modern-badge-tag.purple {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
  border-color: rgba(168, 85, 247, 0.2);
}
.modern-badge-tag.green {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.2);
}

/* Subpage Dual-Column Split Hero Layouts */
.split-hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}
@media (max-width: 991px) {
  .split-hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0;
  }
}


