/* Custom Tailwind Configuration */
:root {
  --wellness-50: #f0fdf4;
  --wellness-100: #dcfce7;
  --wellness-200: #bbf7d0;
  --wellness-300: #86efac;
  --wellness-400: #4ade80;
  --wellness-500: #22c55e;
  --wellness-600: #16a34a;
  --wellness-700: #15803d;
  --wellness-800: #166534;
  --wellness-900: #14532d;

  --hydration-50: #eff6ff;
  --hydration-100: #dbeafe;
  --hydration-200: #bfdbfe;
  --hydration-300: #93c5fd;
  --hydration-400: #60a5fa;
  --hydration-500: #3b82f6;
  --hydration-600: #2563eb;
  --hydration-700: #1d4ed8;
  --hydration-800: #1e40af;
  --hydration-900: #1e3a8a;
}

/* Configure Tailwind with custom colors */
.bg-wellness-50 {
  background-color: var(--wellness-50);
}
.bg-wellness-100 {
  background-color: var(--wellness-100);
}
.bg-wellness-200 {
  background-color: var(--wellness-200);
}
.bg-wellness-300 {
  background-color: var(--wellness-300);
}
.bg-wellness-400 {
  background-color: var(--wellness-400);
}
.bg-wellness-500 {
  background-color: var(--wellness-500);
}
.bg-wellness-600 {
  background-color: var(--wellness-600);
}
.bg-wellness-700 {
  background-color: var(--wellness-700);
}
.bg-wellness-800 {
  background-color: var(--wellness-800);
}
.bg-wellness-900 {
  background-color: var(--wellness-900);
}

.bg-hydration-50 {
  background-color: var(--hydration-50);
}
.bg-hydration-100 {
  background-color: var(--hydration-100);
}
.bg-hydration-200 {
  background-color: var(--hydration-200);
}
.bg-hydration-300 {
  background-color: var(--hydration-300);
}
.bg-hydration-400 {
  background-color: var(--hydration-400);
}
.bg-hydration-500 {
  background-color: var(--hydration-500);
}
.bg-hydration-600 {
  background-color: var(--hydration-600);
}
.bg-hydration-700 {
  background-color: var(--hydration-700);
}
.bg-hydration-800 {
  background-color: var(--hydration-800);
}
.bg-hydration-900 {
  background-color: var(--hydration-900);
}

.text-wellness-400 {
  color: var(--wellness-400);
}
.text-wellness-500 {
  color: var(--wellness-500);
}
.text-wellness-600 {
  color: var(--wellness-600);
}
.text-wellness-700 {
  color: var(--wellness-700);
}
.text-hydration-700 {
  color: var(--hydration-700);
}

.border-wellness-200 {
  border-color: var(--wellness-200);
}
.border-wellness-300 {
  border-color: var(--wellness-300);
}
.border-wellness-500 {
  border-color: var(--wellness-500);
}
.border-hydration-200 {
  border-color: var(--hydration-200);
}
.border-hydration-500 {
  border-color: var(--hydration-500);
}

.from-wellness-50 {
  --tw-gradient-from: var(--wellness-50);
}
.from-wellness-500 {
  --tw-gradient-from: #22c55e;
  --tw-gradient-to: rgb(34 197 94 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.to-hydration-50 {
  --tw-gradient-to: var(--hydration-50);
}
.to-hydration-500 {
  --tw-gradient-to: #3b82f6;
}

/* Custom Styles */
.gradient-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.phone-mockup {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: 2rem;
  background: #000;
  padding: 8px;
}

.phone-screen {
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 9/19.5;
}

.floating-animation {
  animation: float 3s ease-in-out infinite;
}

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

.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
  .phone-mockup {
    max-width: 140px;
  }

  .floating-animation {
    animation: none;
  }

  .grid-cols-2 {
    gap: 1rem;
  }
}

/* Smooth scrolling for the whole page */
html {
  scroll-behavior: smooth;
}

/* Custom gradient text support */
.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Backdrop blur support */
.backdrop-blur-md {
  backdrop-filter: blur(12px);
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

.phone-mockup-large {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: 2rem;
  background: #000;
  padding: 6px;
  width: 100%;
  max-width: 180px;
  margin: 0 auto;
}

.phone-screen-large {
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 9/19.5;
  position: relative;
}

.phone-screen-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Enhanced floating animation */
.floating-animation {
  animation: float 4s ease-in-out infinite;
}

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

/* Flow arrows */
.flow-arrow {
  color: var(--wellness-500);
  font-size: 1.5rem;
  opacity: 0.6;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .phone-mockup-large {
    max-width: 160px;
  }
}

@media (max-width: 768px) {
  .phone-mockup-large {
    max-width: 140px;
  }

  .floating-animation {
    animation: none;
  }
}

/* Better responsive text sizing */
@media (max-width: 640px) {
  .phone-mockup-large {
    max-width: 140px;
  }
}

@media (min-width: 1024px) {
  .phone-mockup-large {
    max-width: 200px;
  }
}

@media (min-width: 1280px) {
  .phone-mockup-large {
    max-width: 220px;
  }
}

/* Add this working gradient class */
.gradient-text {
  background: linear-gradient(to right, #22c55e, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Photo pair rotation */
.photo-pair {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.photo-pair.active {
  opacity: 1;
}

.photo-pair img {
  transition: transform 0.3s ease;
}

.photo-pair:hover img {
  transform: scale(1.05);
}
