@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');
@import './design-tokens.css';


/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-sans);
  line-height: 1.6;
  color: var(--color-neutral-800);
  background-color: var(--color-neutral-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}



/* Glass Effect */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-herbal-500), var(--color-herbal-600));
  color: white;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  background: linear-gradient(135deg, var(--color-herbal-600), var(--color-herbal-700));
}

.btn-secondary {
  background: transparent;
  color: var(--color-herbal-600);
  border: 2px solid var(--color-herbal-600);
}

.btn-secondary:hover {
  background: var(--color-herbal-600);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold-500), var(--color-gold-600));
  color: white;
  box-shadow: var(--shadow-soft);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-gold);
  background: linear-gradient(135deg, var(--color-gold-600), var(--color-gold-700));
}

/* Card Styles */
.card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-normal);
  overflow: hidden;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-herbal-500), var(--color-gold-500));
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large);
}

.card:hover::before {
  transform: scaleX(1);
}

/* Product Card Specific */
.product-card {
  position: relative;
  overflow: hidden;
}

.product-card .product-image {
  transition: transform var(--transition-slow);
  position: relative;
}



/* Navigation Styles */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
}

.nav-link {
  position: relative;
  color: var(--color-neutral-700);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-herbal-500), var(--color-gold-500));
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--color-herbal-600);
}

.nav-link:hover::after {
  width: 100%;
}

/* Form Styles */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-neutral-200);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-fluid-base);
  transition: all var(--transition-normal);
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-herbal-500);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-input::placeholder {
  color: var(--color-neutral-400);
}

/* Background Patterns */
.bg-organic {
  background-image: var(--bg-organic-pattern);
  background-size: 100px 100px;
  background-position: 0 0, 50px 50px;
}

.bg-leaf {
  background-image: var(--bg-leaf-pattern);
  background-size: 60px 60px;
}

/* Hero Section */
.hero-gradient {
  background: linear-gradient(135deg, 
    var(--color-herbal-50) 0%, 
    var(--color-herbal-100) 25%, 
    var(--color-sage-100) 50%, 
    var(--color-herbal-200) 75%, 
    var(--color-herbal-100) 100%);
  position: relative;
  overflow: hidden;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,%3Csvg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%23bbf7d0" fill-opacity="0.03"%3E%3Cpath d="M50 50c0-27.614-22.386-50-50-50s-50 22.386-50 50 22.386 50 50 50 50-22.386 50-50zm0 0c0 27.614 22.386 50 50 50s50-22.386 50-50-22.386-50-50-50-50 22.386-50 50z\"/%3E%3C/g%3E%3C/svg%3E');
  background-size: 100px 100px;
  animation: float 20s ease-in-out infinite;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

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

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

@keyframes pulseGlow {
  0% { box-shadow: 0 0 20px rgba(34, 197, 94, 0.3); }
  100% { box-shadow: 0 0 30px rgba(34, 197, 94, 0.6); }
}

/* Animation Classes */
.animate-fade-in {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-down {
  animation: fadeInDown 0.6s ease-out;
}

.animate-slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.4s ease-out;
}

.animate-pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite alternate;
}

/* Scroll Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Loading States */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Responsive Typography */
.text-fluid-sm { font-size: var(--font-size-fluid-sm); }
.text-fluid-base { font-size: var(--font-size-fluid-base); }
.text-fluid-lg { font-size: var(--font-size-fluid-lg); }
.text-fluid-xl { font-size: var(--font-size-fluid-xl); }
.text-fluid-2xl { font-size: var(--font-size-fluid-2xl); }
.text-fluid-3xl { font-size: var(--font-size-fluid-3xl); }
.text-fluid-4xl { font-size: var(--font-size-fluid-4xl); }
.text-fluid-5xl { font-size: var(--font-size-fluid-5xl); }

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--color-herbal-600), var(--color-gold-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.border-gradient {
  border: 2px solid;
  border-image: linear-gradient(135deg, var(--color-herbal-500), var(--color-gold-500)) 1;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
}

/* Focus Styles */
.focus-visible:focus {
  outline: 2px solid var(--color-herbal-500);
  outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--color-neutral-300);
  }
  
  .btn-primary {
    border: 2px solid var(--color-herbal-700);
  }
}
