/* 
  Enterprise AI Home Page - Premium Styles
  Includes glassmorphism, marquee, and hover elevations.
*/

:root {
  --premium-glass-bg: rgba(255, 255, 255, 0.05);
  --premium-glass-border: rgba(255, 255, 255, 0.1);
  --premium-glow: 0 0 40px rgba(207, 107, 72, 0.18);
  --ai-gradient-text: linear-gradient(135deg, #cf6b48 0%, #a3432a 100%);
  --hero-bg-gradient: linear-gradient(145deg, #1f1d1a 0%, #0f0e0c 100%);
}

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--premium-glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--premium-glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel.dark {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}

.hover-elevate {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-elevate:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(207, 107, 72, 0.14);
}

.hover-elevate-glow:hover {
  transform: translateY(-5px);
  box-shadow: var(--premium-glow);
  border-color: rgba(207, 107, 72, 0.35);
}

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

/* Logo Marquee Infinite Scroll */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, white 0%, transparent 100%);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, white 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  animation: scrollMarquee 30s linear infinite;
  gap: 3rem;
  padding-left: 3rem;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-logo {
  height: 40px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.marquee-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Floating Animations */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

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

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

/* AI Glowing Nodes (Hero Visual) */
.ai-network-bg {
  position: relative;
  overflow: hidden;
}

.ai-node {
  position: absolute;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.2);
  filter: blur(40px);
  z-index: 0;
  animation: pulseNode 8s infinite alternate;
}

.node-1 { width: 300px; height: 300px; top: -10%; left: -10%; background: rgba(207, 107, 72, 0.2); }
.node-2 { width: 400px; height: 400px; bottom: -20%; right: -10%; background: rgba(31, 29, 26, 0.4); }

@keyframes pulseNode {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 0.9; }
}

/* Modern Slider Dots (Case Studies & Testimonials) */
.premium-carousel-indicators {
  position: relative;
  margin-top: 2rem;
  margin-bottom: 0;
}

.premium-carousel-indicators button {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background-color: #cbd5e1 !important;
  opacity: 0.5 !important;
  transition: all 0.3s ease !important;
  border: none !important;
  margin: 0 6px !important;
}

.premium-carousel-indicators button.active {
  width: 24px !important;
  border-radius: 12px !important;
  background-color: #cf6b48 !important;
  opacity: 1 !important;
}

/* Dark Mode Overrides for specific sections */
.bg-dark-enterprise {
  background: var(--hero-bg-gradient);
  color: #fff;
}

/* Typography Refinements for Professionalism */
.display-3 {
    font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
}

.display-5 {
    font-size: clamp(2rem, 4vw, 3.5rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
}

.display-6 {
    font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
}

.lead {
    font-size: 1.25rem !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
}

.text-muted {
    color: #475569 !important; /* Slate 600 - better contrast */
}

.text-secondary {
    color: #64748b !important; /* Slate 500 */
}
