/* ==========================================================================
   Global CSS & Variables
   ========================================================================== */

:root {
  /* Colors */
  --primary-color: #007bff;
  /* Neon Mavi - Base Blue */
  --primary-light: #00e5ff;
  /* Cyan / Light Blue */
  --primary-dark: #0056b3;
  --secondary-color: #ffffff;
  /* Beyaz (Başlıklar için) */
  --bg-color: #080808;
  /* Koyu arkaplan - Dark background */
  --white: #ffffff;
  --text-main: #e0e0e0;
  /* Açık gri metin */
  --text-muted: #a0aabf;
  /* Gri metin */
  --accent-color: #00e5ff;
  /* Hover vurguları - Cyan */

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Spacing & Layout */
  --container-width: 1200px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Radius & Shadows */
  --border-radius: 12px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --box-shadow-hover: 0 15px 40px rgba(13, 71, 161, 0.15);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  background: linear-gradient(135deg, #00e5ff 0%, #0056b3 50%, #b000ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--secondary-color);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section-padding {
  padding: var(--spacing-xl) 0;
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: 1rem;
  box-sizing: border-box;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), #b000ff);
  transform: translateY(0);
  box-shadow: 0 6px 25px rgba(0, 229, 255, 0.6);
  border: 2px solid var(--primary-light);
}

.btn-outline {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: var(--bg-color);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #fff;
  border: 2px solid transparent;
}

.btn-whatsapp:hover {
  background-color: #1ebe57;
  transform: translateY(0);
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   Floating Logos Background Animation & Game UI
   ========================================================================== */
#logo-game-score {
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
  z-index: 10;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 15px 30px;
  border-radius: 15px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  transition: transform 0.2s, box-shadow 0.2s, border 0.3s;
}

.score-wrap {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 15px;
}

#logo-game-score span {
  font-size: 3rem;
  color: #00e5ff;
  text-shadow: 0 0 15px rgba(0, 229, 255, 0.8);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.game-instruction {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  animation: pulseInstruction 2s infinite;
}

@keyframes pulseInstruction {

  0%,
  100% {
    opacity: 0.7;
  }

  50% {
    opacity: 1;
    color: #00e5ff;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
  }
}

@media (max-width: 768px) {
  #logo-game-score {
    display: none;
  }

  .score-wrap {
    font-size: 1.2rem;
  }

  #logo-game-score span {
    font-size: 2rem;
  }

  .game-instruction {
    font-size: 0.8rem;
  }
}

.floating-logos-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  /* Above video, behind overlay and content */
  pointer-events: none;
}

.f-logo {
  position: absolute;
  top: -10%;
  /* Start slightly above screen */
  color: rgba(255, 255, 255, 0.6);
  /* Clearer, not matte */
  font-size: 3rem;
  font-weight: 800;
  white-space: nowrap;
  animation: fallAndSway linear infinite;
  text-shadow: 0 0 15px rgba(0, 229, 255, 0.8), 0 0 30px rgba(176, 0, 255, 0.6);
  /* Glowing effect */
  pointer-events: auto;
  /* Allow clicking individual logos */
  cursor: crosshair;
  /* Indicate it's a target */
  transition: filter 0.2s ease;
}

.f-logo:hover {
  filter: brightness(1.5) drop-shadow(0 0 20px #00e5ff);
}

.logo-pop {
  animation: popEffect 0.3s ease-out forwards !important;
}

@keyframes popEffect {
  0% {
    transform: scale(1);
    opacity: 1;
    filter: brightness(1);
  }

  40% {
    transform: scale(1.4) rotate(15deg);
    filter: brightness(2) drop-shadow(0 0 30px #fff);
  }

  100% {
    transform: scale(0);
    opacity: 0;
    filter: blur(10px);
  }
}

/* Stagger positions, sizes, and animation durations to look organic */
.l-meta {
  left: 10%;
  font-size: 4rem;
  animation-duration: 18s;
  animation-delay: 0s;
}

.l-insta {
  left: 25%;
  font-size: 2.5rem;
  animation-duration: 22s;
  animation-delay: 5s;
}

.l-face {
  left: 40%;
  font-size: 3.5rem;
  animation-duration: 15s;
  animation-delay: 2s;
}

.l-tik {
  left: 55%;
  font-size: 4rem;
  animation-duration: 25s;
  animation-delay: 8s;
}

.l-goog {
  left: 70%;
  font-size: 3rem;
  animation-duration: 19s;
  animation-delay: 1s;
}

.l-chatgpt {
  left: 85%;
  font-size: 2rem;
  animation-duration: 21s;
  animation-delay: 4s;
}

.l-gemini {
  left: 15%;
  font-size: 2.5rem;
  animation-duration: 17s;
  animation-delay: 9s;
}

.l-sora {
  left: 35%;
  font-size: 2.2rem;
  animation-duration: 24s;
  animation-delay: 11s;
}

.l-veo {
  left: 65%;
  font-size: 2.8rem;
  animation-duration: 20s;
  animation-delay: 6s;
}

.l-kling {
  left: 80%;
  font-size: 2.4rem;
  animation-duration: 23s;
  animation-delay: 3s;
}

.l-pxversai {
  left: 50%;
  font-size: 3.2rem;
  font-weight: 900;
  color: rgba(0, 229, 255, 0.4);
  text-shadow: 0 0 25px rgba(0, 229, 255, 0.9);
  animation-duration: 16s;
  animation-delay: 1.5s;
}

@keyframes fallAndSway {
  0% {
    transform: translateY(-50px) translateX(0) rotate(0deg) scale(0.8);
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  50% {
    transform: translateY(50vh) translateX(30px) rotate(10deg) scale(1);
  }

  85% {
    opacity: 1;
  }

  100% {
    transform: translateY(calc(100vh + 100px)) translateX(-20px) rotate(-10deg) scale(0.8);
    opacity: 0;
  }
}

/* Custom 3D Animated Cursor */
body,
a,
button,
input,
textarea,
select {
  /* cursor: none !important; */
}

#custom-cursor,
.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 44px;
  pointer-events: none !important;
  z-index: 999999;
  transform-style: preserve-3d;
  animation: spin3D 4s infinite linear, colorShift 6s infinite linear;
  margin-top: -5px;
  margin-left: -5px;
}

.custom-cursor-follower {
  z-index: 999998;
  /* Under the main cursor */
  opacity: 0.8;
  /* Slight scale difference to differentiate */
  transform: scale(0.85);
}

.cursor-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00e5ff, #0056b3);
  clip-path: polygon(0 0, 0 100%, 35% 70%, 100% 60%);
  transform-origin: center center;
  pointer-events: none !important;
}

/* Secondary Cursor Colors */
.cursor-layer.trailer-1 {
  background: linear-gradient(135deg, #ff007f, #b30059);
}

/* Neon Pink */
.cursor-layer.trailer-2 {
  background: linear-gradient(135deg, #00ff66, #00993d);
}

/* Neon Green */
.cursor-layer.trailer-3 {
  background: linear-gradient(135deg, #b000ff, #5e008c);
}

/* Purple */

/* Layer Translations to create 3D Thickness */
.cursor-layer:nth-child(1) {
  transform: translateZ(6px) scale(0.9);
  background: #ffffff;
  filter: brightness(1.5);
}

.cursor-layer:nth-child(2) {
  transform: translateZ(4px);
  filter: brightness(1.2);
}

.cursor-layer:nth-child(3) {
  transform: translateZ(2px);
  filter: brightness(1.1);
}

.cursor-layer:nth-child(4) {
  transform: translateZ(0px);
  filter: brightness(1.0);
}

.cursor-layer:nth-child(5) {
  transform: translateZ(-2px);
  filter: brightness(0.9);
}

.cursor-layer:nth-child(6) {
  transform: translateZ(-4px);
  filter: brightness(0.8);
}

.cursor-layer:nth-child(7) {
  transform: translateZ(-6px);
  filter: brightness(0.7);
}

.cursor-layer:nth-child(8) {
  transform: translateZ(-8px) scale(0.9);
  filter: brightness(0.5);
}

@keyframes spin3D {
  0% {
    transform: perspective(800px) rotate3d(-0.6, -0.8, 0, 0deg);
  }

  100% {
    transform: perspective(800px) rotate3d(-0.6, -0.8, 0, 360deg);
  }
}

@keyframes colorShift {
  0% {
    filter: drop-shadow(0 15px 30px rgba(0, 229, 255, 0.4)) hue-rotate(0deg);
  }

  100% {
    filter: drop-shadow(0 15px 30px rgba(0, 229, 255, 0.4)) hue-rotate(360deg);
  }
}

/* ==========================================================================
   pxvers AI Chatbot Styles
   ========================================================================== */

/* 1. Global Floating Trigger */
.pxvers-toggle-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00e5ff, #0056b3);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer !important;
  box-shadow: 0 5px 20px rgba(0, 229, 255, 0.4);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pxvers-toggle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.6);
}

.pxvers-toggle-btn.hide {
  display: none !important;
}

/* 2. Hero Inline Trigger */
.hero-ai-chat-trigger {
  margin-top: 1.5rem;
  width: 100%;
  max-width: 500px;
  background: rgba(10, 10, 15, 0.85);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  backdrop-filter: blur(15px);
  padding: 15px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-ai-chat-trigger:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 229, 255, 0.2);
  border-color: rgba(0, 229, 255, 0.6);
}

.chat-intro-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #00e5ff;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.chat-fake-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fake-placeholder {
  color: #a0aabf;
  font-size: 0.9rem;
}

.chat-fake-send {
  background: transparent;
  border: none;
  color: #00e5ff;
  font-size: 1.1rem;
  cursor: pointer;
}

/* 3. Main Modal */
.pxvers-chat-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 800px;
  max-width: calc(100vw - 40px);
  height: 600px;
  max-height: calc(100vh - 40px);
  background-color: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pxvers-chat-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* Controls Header */
.chat-controls {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.chat-ctrl-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.chat-ctrl-btn:hover {
  background: rgba(0, 229, 255, 0.2);
  color: #00e5ff;
}

/* Modal Layout Area */
.chat-layout-container {
  display: flex;
  flex: 1;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.chat-sidebar-form {
  width: 300px;
  background: rgba(10, 10, 10, 0.98);
  border-right: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  flex-direction: column;
  padding: 20px;
  display: none;
  /* Hidden by default in normal modal */
}

.chat-main-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  background: rgba(15, 15, 15, 0.5);
  padding-top: 50px;
  /* Space for absolute controls */
}

/* Fullscreen State */
.pxvers-chat-modal.fullscreen {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  border-radius: 0;
  border: none;
}

.pxvers-chat-modal.fullscreen .chat-sidebar-form {
  display: flex;
  /* Show sidebar form only in fullscreen */
}

.pxvers-chat-modal.fullscreen .chat-layout-container {
  border-radius: 0;
}

.pxvers-chat-modal.fullscreen .pxvers-chat-body,
.pxvers-chat-modal.fullscreen .pxvers-chat-footer {
  /* Center chat area in fullscreen */
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

/* Sidebar Elements */
.form-header h3 {
  color: #00e5ff;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.form-header p {
  color: #a0aabf;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.cb-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 12px;
  outline: none;
}

.cb-input:focus {
  border-color: #00e5ff;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  border: none;
}

.btn-whatsapp:hover {
  background: #1ebc5a;
  color: white;
}

.whatsapp-cta {
  margin-top: 25px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}

.whatsapp-cta p {
  color: #a0aabf;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

/* Chat Body */
.pxvers-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pxvers-chat-body::-webkit-scrollbar {
  width: 6px;
}

.pxvers-chat-body::-webkit-scrollbar-thumb {
  background: rgba(0, 229, 255, 0.2);
  border-radius: 10px;
}

.pxvers-message {
  max-width: 85%;
  animation: slideIn 0.3s ease;
}

.pxvers-message.bot .msg-content {
  background: rgba(255, 255, 255, 0.05);
  color: #e0e0e0;
  padding: 12px 16px;
  border-radius: 12px 12px 12px 0;
  font-size: 0.95rem;
  line-height: 1.5;
  border-left: 2px solid #00e5ff;
}

.pxvers-message.user {
  align-self: flex-end;
}

.pxvers-message.user .msg-content {
  background: linear-gradient(135deg, #0056b3, #00e5ff);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px 12px 0 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Markdown parsing support visually */
.pxvers-message.bot .msg-content h1,
.pxvers-message.bot .msg-content h2,
.pxvers-message.bot .msg-content h3 {
  color: #fff;
  margin-top: 10px;
  margin-bottom: 5px;
  font-size: 1.1em;
}

.pxvers-message.bot .msg-content p {
  margin-bottom: 8px;
}

.pxvers-message.bot .msg-content ul {
  margin-left: 20px;
  margin-bottom: 8px;
}

.pxvers-chat-footer {
  padding: 15px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-input-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
}

#pxvers-chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

#pxvers-chat-input:focus {
  border-color: #00e5ff;
}

#pxvers-send-btn {
  background: linear-gradient(135deg, #00e5ff, #0056b3);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer !important;
  transition: transform 0.2s;
  font-size: 1.1rem;
}

#pxvers-send-btn:hover {
  transform: scale(1.05);
}

.pxvers-loading .msg-content {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 15px 20px !important;
}

.dot {
  width: 6px;
  height: 6px;
  background: #00e5ff;
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) {
  animation-delay: -0.32s;
}

.dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes bounce {

  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .pxvers-chat-modal {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }

  .chat-sidebar-form {
    display: none !important;
    /* Hide sidebar on small screens entirely to save space */
  }
}

.btn-corporate {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
  color: #fff;
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 12px;
  font-size: 1.05rem;
  padding: 14px 28px;
  text-transform: none;
  letter-spacing: 0.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-corporate:hover {
  background: linear-gradient(135deg, #0056b3 0%, #00e5ff 100%);
  color: #ffffff;
  border-color: #00e5ff;
  box-shadow: 0 5px 25px rgba(0, 229, 255, 0.4);
  transform: translateY(-4px);
}

/* ==========================================================================
   Animated Page Header
   ========================================================================== */
.page-header {
  padding: 150px 0 80px !important;
  background: linear-gradient(135deg, #050505 0%, #0a1128 50%, #050505 100%) !important;
  color: #fff !important;
  text-align: center !important;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
  box-shadow: inset 0 -10px 40px rgba(0, 229, 255, 0.05);
}

.page-header::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: pulse-glow-header 4s ease-in-out infinite alternate;
}

@keyframes pulse-glow-header {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 1;
  }
}

/* The Animated Tech Grid / Lines */
.page-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
  animation: move-header-grid 20s linear infinite;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
}

@keyframes move-header-grid {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 40px 40px;
  }
}

/* Elevate the content above the animated grid */
.page-header .container,
.page-header h1,
.page-header p {
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   Consolidated Mobile Fixes
   ========================================================================== */
@media (max-width: 768px) {
    /* About Page Mobile Fixes */
    .about-hero-section {
        padding-top: 100px !important;
        padding-bottom: 60px !important;
        height: auto !important;
        min-height: 100vh !important;
        display: block !important;
        overflow: visible !important;
    }

    .about-content-wrapper {
        margin-top: 10px !important;
        padding: 25px 15px !important;
        display: block !important;
        position: relative !important;
        z-index: 100 !important;
        opacity: 1 !important; /* Force visibility even if JS fails */
        transform: none !important;
    }

    .floating-logos-container {
        display: none !important;
    }

    /* GLOBAL CHATBOT MOBILE POSITIONING */
    .pxvers-toggle-btn {
        bottom: 100px !important; /* Move well above mobile navigation bars */
        right: 20px !important;
        width: 55px !important;
        height: 55px !important;
        z-index: 999999 !important;
        display: flex !important;
    }

    /* Prevent animations from hiding content on mobile if JS fails */
    .slide-up, .fade-in, .fade-in-up {
        opacity: 1 !important;
        animation: none !important;
        transform: none !important;
        transition: none !important;
    }
}

