/* ==========================================================================
   NexusAI - Modern Dark Mode AI SaaS Landing Page Template
   Author: NexusAI
   Version: 1.0.0
   Description: Core custom styles, glassmorphism utilities, and keyframe animations.
   Commercial Submission Standard (ThemeForest / Codester)
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. Base & Layout Normalization (Prevent Mobile Horizontal Overflow)
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   02. Custom Glassmorphic Cards & Glow Effects
   -------------------------------------------------------------------------- */
.glass-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: rgba(168, 85, 247, 0.3);
}

.glow-gradient {
  background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0.05) 50%, transparent 100%);
}

/* --------------------------------------------------------------------------
   03. Gradient Text Utilities
   -------------------------------------------------------------------------- */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #c084fc 70%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   04. Accordion Smooth Transition Utilities
   -------------------------------------------------------------------------- */
.accordion-content {
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.faq-body {
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  will-change: max-height, opacity;
}

.faq-icon {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   05. Keyframes & Animation Utilities
   -------------------------------------------------------------------------- */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   06. Custom Scrollbar Styling (Dark Mode)
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #020617;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}
