@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

:root {
  --color-brand-50: #ecf3ff;
  --color-brand-100: #dde9ff;
  --color-brand-500: #465fff;
  --color-brand-600: #3641f5;
  --color-brand-950: #161950;
  --color-gray-900: #101828;
  --color-gray-950: #0c111d;
  --color-purple: #7a5af8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Outfit', sans-serif;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background-color: var(--color-gray-950);
  color: #f2f4f7;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-gray-950);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Glassmorphism Styles */
.glass-navbar {
  background: rgba(12, 17, 29, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(70, 95, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(70, 95, 255, 0.08);
}

/* Glow Background Effects - Animated CSS Aurora Blobs */
.glow-spot-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(70, 95, 255, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  top: -150px;
  left: -150px;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  animation: floatSpot1 18s ease-in-out infinite;
}

.glow-spot-2 {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(122, 90, 248, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  top: 10%;
  right: -200px;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
  animation: floatSpot2 25s ease-in-out infinite;
}

.glow-spot-3 {
  position: absolute;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(238, 70, 188, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  bottom: -100px;
  left: 20%;
  pointer-events: none;
  z-index: 0;
  filter: blur(85px);
  animation: floatSpot3 20s ease-in-out infinite;
}

@keyframes floatSpot1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 50px) scale(1.15); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes floatSpot2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-100px, 80px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes floatSpot3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -60px) scale(1.2); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Custom Interactive Canvas */
#threejs-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Neon Gradient Buttons */
.btn-neon {
  background: linear-gradient(135deg, var(--color-brand-500) 0%, var(--color-purple) 100%);
  box-shadow: 0 4px 15px rgba(70, 95, 255, 0.4);
  transition: all 0.3s ease;
}

.btn-neon:hover {
  box-shadow: 0 6px 22px rgba(70, 95, 255, 0.6);
  transform: translateY(-1px);
}

/* Text Gradient */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #a6c0fe 70%, var(--color-brand-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Form Styling */
.form-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #fff;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-brand-500);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(70, 95, 255, 0.15);
}

/* Feature Details Overlay/Tabs */
.tab-btn {
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}
.tab-btn.active {
  border-color: var(--color-brand-500);
  color: #ffffff;
}

/* Loading Success Reveal Animation */
@keyframes drawCheck {
  0% { stroke-dashoffset: 80; }
  100% { stroke-dashoffset: 0; }
}

.checkmark {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: drawCheck 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.2s;
}
