/* Masna AI - Modern AI Theme Styles */

/* 1. Core Variables & Defaults */
:root {
  --ai-bg-dark: #0B0F19;
  --ai-bg-card: rgba(255, 255, 255, 0.03);
  --ai-border: rgba(255, 255, 255, 0.08);
  --ai-primary: #3B82F6;
  --ai-accent: #8B5CF6;
  --ai-glow: rgba(59, 130, 246, 0.5);
}

body {
  background-color: var(--ai-bg-dark);
  color: #F1F5F9;
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
}

/* 2. Typography Overrides */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

/* 3. Background Effects */
.hero-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-glow::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(11, 15, 25, 0) 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: float-glow 10s ease-in-out infinite alternate;
}

.hero-glow::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: 10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(11, 15, 25, 0) 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: float-glow 12s ease-in-out infinite alternate-reverse;
}

@keyframes float-glow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -30px) scale(1.1); }
}

.grid-pattern-ai {
  background-size: 40px 40px;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

/* 4. Glassmorphism Components */
.glass-panel {
  background: var(--ai-bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--ai-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px -10px rgba(59, 130, 246, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

/* 5. Text Effects */
.text-gradient-ai {
  background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 50%, #2DD4BF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradient-shift 5s ease infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 6. Button Styles */
.btn-ai-primary {
  background: linear-gradient(90deg, #2563EB 0%, #4F46E5 100%);
  color: white;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

.btn-ai-primary:hover {
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.5);
  transform: translateY(-1px);
}

.btn-ai-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-ai-primary:hover::before {
  left: 100%;
}

.btn-ai-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #E2E8F0;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.btn-ai-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
}

/* 7. Utilities */
.text-glow {
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.border-glow {
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}
