/* San Automation Elegant Premium Theme */

:root {
  /* Premium Light Concept */
  --background: #EFF1F3; 
  --background-secondary: #ffffff;
  --surface: #ffffff;
  --surface-hover: #fafafa;
  
  --foreground: #272727; 
  --foreground-muted: #696773; 
  
  --primary: #009FB7; 
  --primary-dark: #007d91;
  --primary-light: rgba(0, 159, 183, 0.08);
  
  --secondary: #FED766; 
  --secondary-dark: #dca326;
  --secondary-light: rgba(254, 215, 102, 0.15);
  
  --border: rgba(105, 103, 115, 0.15); 
  --border-hover: rgba(105, 103, 115, 0.3);
  
  /* Fonts */
  --font-inter: 'Epilogue', system-ui, sans-serif;
  --font-space-grotesk: 'Encode Sans', system-ui, sans-serif;
  
  --font-sans: var(--font-inter);
  --font-heading: var(--font-space-grotesk);
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--primary-light);
  color: var(--primary);
}

/* Premium Shadows & Cards */
.card-elegant {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  box-shadow: 0 10px 30px -10px rgba(39, 39, 39, 0.06),
              0 1px 2px rgba(39, 39, 39, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-elegant:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(39, 39, 39, 0.1),
              0 4px 12px rgba(39, 39, 39, 0.04);
}

/* Elegant Buttons */
.btn-primary-elegant {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: #fff !important;
  border-radius: 9999px; /* Pill shape */
  padding: 0.875rem 2.25rem;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px 0 rgba(0, 159, 183, 0.4);
  gap: 0.5rem;
}
.btn-primary-elegant:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(0, 159, 183, 0.25);
  transform: translateY(-2px);
}

.btn-secondary-elegant {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.7);
  color: var(--foreground) !important;
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.875rem 2.25rem;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
}
.btn-secondary-elegant:hover {
  background-color: #fff;
  border-color: rgba(105, 103, 115, 0.3);
  box-shadow: 0 4px 12px rgba(39, 39, 39, 0.05);
}

/* Subtle Highlights */
.text-gradient-elegant {
  background: linear-gradient(135deg, var(--primary), #007d91);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Layout Utilities */
.glass-nav {
  background: rgba(239, 241, 243, 0.7) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6) !important;
}

/* Beautiful soft overlay for light designs */
.bg-mesh-light {
  background-image: radial-gradient(at 0% 0%, rgba(0, 159, 183, 0.08) 0px, transparent 50%),
                    radial-gradient(at 100% 0%, rgba(254, 215, 102, 0.12) 0px, transparent 50%),
                    radial-gradient(at 100% 100%, rgba(0, 159, 183, 0.05) 0px, transparent 50%);
}

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

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

.animate-slide-up {
  animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
