@import "tailwindcss";

html {
  scroll-behavior: smooth;
}

:root {
  /* Ocean Trust Pro Color Scheme - Light Mode Only */
  --color-primary-500: 0 102 255;        /* #0066FF */
  --color-accent-500: 255 107 53;        /* #FF6B35 */
  --color-success-500: 16 185 129;       /* #10B981 */
  
  /* Background Colors */
  --color-text-primary: 26 31 54;        /* #1A1F36 */
  --color-text-secondary: 71 85 105;     /* #475569 */
  --color-background: 248 250 255;       /* #F8FAFF - Light blueish */
  --color-surface: 255 255 255;          /* #FFFFFF - Pure white */
  --color-neutral-800: 26 31 54;         /* #1A1F36 */
  
  /* Custom CSS Variables for gradients */
  --gradient-ocean: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
  --gradient-premium: linear-gradient(135deg, #0066FF 0%, #00D4FF 50%, #7C3AED 100%);
  --gradient-card: linear-gradient(135deg, #F8FAFF 0%, #FFFFFF 100%);
}

/* Define animations using standard CSS */
@keyframes glow {
  0% { 
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  }
  100% { 
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
  }
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px); 
  }
  50% { 
    transform: translateY(-20px); 
  }
}

@keyframes pulse-slow {
  0%, 100% { 
    opacity: 1; 
  }
  50% { 
    opacity: 0.5; 
  }
}

/* Apply animations to utility classes */
.animate-glow {
  animation: glow 2s ease-in-out infinite alternate;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-slow {
  animation: pulse-slow 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Base styles */
body {
  background-color: rgb(var(--color-background)) !important;
  color: rgb(var(--color-text-primary)) !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Custom utility classes */
.btn-primary {
  background: var(--gradient-ocean);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary:hover {
  box-shadow: 0 10px 25px rgba(0, 102, 255, 0.25);
  transform: scale(1.05);
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn-accent {
  background-color: rgb(var(--color-accent-500));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.btn-accent:hover {
  background-color: rgb(230, 95, 45);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.25);
  transform: scale(1.05);
}

.card-glass {
  background-color: rgb(var(--color-surface));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card-glass:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.text-gradient {
  background: var(--gradient-ocean);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Ensure surface classes use solid colors */
.bg-surface {
  background-color: rgb(var(--color-surface)) !important;
}

.bg-background {
  background-color: rgb(var(--color-background)) !important;
}
/* Form elements styling */
input, select, textarea {
  background-color: rgb(var(--color-surface)) !important;
  border-color: rgba(71, 85, 105, 0.2) !important;
  color: rgb(var(--color-text-primary)) !important;
  transition: all 0.2s ease-in-out;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgb(var(--color-primary-500));
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.animate-shimmer {
  animation: shimmer 1.5s infinite;
}