@import "tailwindcss";

/* Professional Dark SaaS Design System - High Contrast */
:root {
  /* Primary: Indigo for modern SaaS feel */
  --primary: 239 84% 67%;
  --primary-foreground: 0 0% 100%;
  
  /* Background: Deep dark */
  --background: 240 10% 4%;
  --foreground: 0 0% 98%;
  
  /* Card: Slightly lighter dark */
  --card: 240 10% 6%;
  --card-foreground: 0 0% 98%;
  --popover: 240 10% 6%;
  --popover-foreground: 0 0% 98%;
  
  /* Secondary: Zinc gray */
  --secondary: 240 4% 16%;
  --secondary-foreground: 0 0% 98%;
  
  /* Muted: Dark gray with good contrast */
  --muted: 240 4% 20%;
  --muted-foreground: 240 5% 65%;
  
  /* Accent: Purple gradient ready */
  --accent: 270 60% 55%;
  --accent-foreground: 0 0% 100%;
  
  /* Destructive: Red */
  --destructive: 0 72% 51%;
  --destructive-foreground: 0 0% 100%;
  
  /* Borders: Dark zinc */
  --border: 240 4% 16%;
  --input: 240 4% 16%;
  --ring: 239 84% 67%;
  --radius: 1rem;
  
  /* Typography */
  --font-sans: var(--font-geist-sans);
  --font-mono: var(--font-geist-mono);
  --font-display: var(--font-display);
  --font-body: var(--font-body);
  --font-arabic: var(--font-noto-arabic);
}

/* Dark mode: Professional high contrast */
.dark {
  --background: 240 10% 4%;
  --foreground: 0 0% 98%;
  --card: 240 10% 6%;
  --card-foreground: 0 0% 98%;
  --popover: 240 10% 6%;
  --popover-foreground: 0 0% 98%;
  --primary: 239 84% 67%;
  --primary-foreground: 0 0% 100%;
  --secondary: 240 4% 16%;
  --secondary-foreground: 0 0% 98%;
  --muted: 240 4% 20%;
  --muted-foreground: 240 5% 65%;
  --accent: 270 60% 55%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 72% 51%;
  --destructive-foreground: 0 0% 100%;
  --border: 240 4% 16%;
  --input: 240 4% 16%;
  --ring: 239 84% 67%;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --font-sans: var(--font-geist-sans);
  --font-mono: var(--font-geist-mono);
}

body {
  background: hsl(240 10% 4%);
  color: hsl(0 0% 98%);
  font-family: var(--font-sans), ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-arabic {
  font-family: var(--font-noto-arabic), var(--font-body), system-ui, sans-serif;
}

.font-display {
  font-family: var(--font-display), var(--font-noto-arabic), serif;
}

.font-body {
  font-family: var(--font-body), var(--font-noto-arabic), serif;
}

/* Glass morphism card - dark theme */
.glass-card {
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Luxury gradients */
.gradient-gold {
  background: linear-gradient(135deg, hsl(45 90% 55%) 0%, hsl(35 80% 45%) 100%);
}

.gradient-cream {
  background: linear-gradient(180deg, hsl(30 10% 99%) 0%, hsl(30 10% 94%) 100%);
}

.gradient-hero {
  background: linear-gradient(135deg, hsl(30 10% 97%) 0%, hsl(45 60% 90%) 50%, hsl(30 10% 97%) 100%);
}

@layer utilities {
  .animate-fade-in {
    animation: fadeIn 0.5s ease-out;
  }
  .animate-slide-up {
    animation: slideUp 0.4s ease-out;
  }
  .animate-scale-in {
    animation: scaleIn 0.3s ease-out;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.camera-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.6) 100%);
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background: hsl(239 84% 67% / 0.3);
  color: hsl(0 0% 100%);
}
