/* Vantis AI — Premium Design System 3.0 */
/* New Aesthetic: Deep Violet + Emerald + Crystal Glass */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Sora:wght@400;600;700;800&display=swap');

:root {
  --primary: #0A0F1E;
  --primary-mid: #111827;
  --primary-light: #1E293B;
  --accent: #10B981;
  --accent-hover: #059669;
  --accent-glow: rgba(16, 185, 129, 0.3);
  --violet: #7C3AED;
  --violet-light: #8B5CF6;
  --blue: #3B82F6;
  --cyan: #06B6D4;
  --slate: #64748B;
  --light-gray: #F8FAFC;
  --white: #FFFFFF;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.15), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 40px -8px rgb(0 0 0 / 0.2), 0 8px 16px -4px rgb(0 0 0 / 0.1);
  --shadow-emerald: 0 0 30px rgba(16, 185, 129, 0.25);
  --shadow-violet: 0 0 30px rgba(124, 58, 237, 0.2);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-emerald: rgba(16, 185, 129, 0.25);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== ANIMATIONS ===== */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(16, 185, 129, 0.2); }
  50%       { box-shadow: 0 0 40px rgba(16, 185, 129, 0.5); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -20px) scale(1.05); }
  66%       { transform: translate(-15px, 10px) scale(0.95); }
}

/* ===== ANIMATION CLASSES ===== */

.animate-fade-in-up {
  animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-fade-in {
  animation: fadeIn 0.7s ease-out forwards;
}

.animate-slide-in-right {
  animation: slideInRight 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-float {
  animation: floatY 4s ease-in-out infinite;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== GLASS EFFECTS ===== */

.glass {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.glass-dark {
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-glass);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.glass-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== CARD HOVER ===== */

.card-hover {
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ===== GRADIENT TEXT ===== */

.gradient-text {
  background: linear-gradient(135deg, #10B981, #06B6D4, #3B82F6);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease infinite;
}

.gradient-text-violet {
  background: linear-gradient(135deg, #8B5CF6, #06B6D4, #10B981);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease infinite;
}

/* ===== ORB DECORATIONS ===== */

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.orb-emerald {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35), transparent 70%);
}

.orb-violet {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent 70%);
  animation-delay: -3s;
}

.orb-blue {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25), transparent 70%);
  animation-delay: -6s;
}

/* ===== NAVIGATION ===== */

.nav-link {
  position: relative;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -6px;
  left: 0;
  background: linear-gradient(90deg, #10B981, #06B6D4);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover::after,
.nav-link-active::after {
  width: 100%;
}

/* ===== MOBILE BURGER MENU ===== */

.burger-menu {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 100;
}

.burger-menu.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.burger-menu.active .translate-x-full {
  transform: translateX(0) !important;
}

.burger-button.active .burger-icon:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.burger-button.active .burger-icon:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger-button.active .burger-icon:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ===== BUTTONS ===== */

.btn-primary {
  background: linear-gradient(135deg, #10B981, #059669);
  color: #ffffff !important;
  font-weight: 700;
  padding: 1rem 2.25rem;
  border-radius: 1rem;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #059669, #047857);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: scale(0.96);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 0.875rem;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: scale(0.96);
}

/* ===== FORM INPUTS ===== */

.form-input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border-radius: 0.875rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
  transition: all 0.25s ease;
  outline: 2px solid transparent;
  outline-offset: 2px;
  font-size: 0.875rem;
}

.form-input:focus {
  outline: none;
  border-color: #10b981;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12), 0 1px 3px rgba(0,0,0,0.08);
}

/* ===== COOKIE BANNER ===== */

.cookie-banner {
  animation: slideInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== STAT COUNTER PULSE ===== */

.stat-glow {
  animation: pulseGlow 3s ease-in-out infinite;
  border-radius: 1.5rem;
}

/* ===== SECTION DIVIDER ===== */

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), rgba(99, 102, 241, 0.3), transparent);
}

/* ===== FEATURE CARD GRADIENT BORDER ===== */

.gradient-border {
  position: relative;
  border-radius: 2rem;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.4), rgba(99, 102, 241, 0.4), rgba(6, 182, 212, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ===== SCROLLBAR ===== */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #10B981, #6366F1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #10B981; }

/* ===== HIGHLIGHT ===== */

::selection {
  background: rgba(16, 185, 129, 0.3);
  color: #fff;
}