:root {
  --color-primary: #0D4F6F;
  --color-secondary: #1E6B8A;
  --color-accent: #00BCD4;
}

html { 
  scroll-behavior: smooth; 
  scroll-padding-top: 5rem; 
}

body { 
  font-family: 'Outfit', system-ui, sans-serif; 
}

/* Button fixes */
button, .btn, [class*="btn-"], a[href="#order_form"] {
  white-space: nowrap;
  min-width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

form button[type="submit"] {
  white-space: normal;
  width: 100%;
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: all 0.7s ease-out;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.rotate-180 { 
  transform: rotate(180deg); 
}

/* Decorative patterns */
.decor-grid-dots {
  background-image: radial-gradient(circle, currentColor 1px, transparent 1px);
  background-size: 20px 20px;
}

.decor-grid-lines {
  background-image: linear-gradient(currentColor 1px, transparent 1px), 
                    linear-gradient(90deg, currentColor 1px, transparent 1px);
  background-size: 20px 20px;
}

.decor-diagonal {
  background-image: repeating-linear-gradient(45deg, 
    transparent, transparent 10px, 
    currentColor 10px, currentColor 11px);
}

.decor-mesh {
  background: radial-gradient(circle at 20% 50%, currentColor 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, currentColor 0%, transparent 50%),
              radial-gradient(circle at 40% 80%, currentColor 0%, transparent 50%);
}

.decor-subtle { opacity: 0.05; }
.decor-moderate { opacity: 0.1; }
.decor-bold { opacity: 0.2; }

.decor-gradient-blur::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
  z-index: -1;
}

.decor-corner-tr::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(225deg, var(--color-accent), transparent);
  opacity: 0.1;
  z-index: -1;
}

.decor-glow-element {
  position: relative;
}

.decor-glow-element::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0.15;
  z-index: -1;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.15; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.25; }
}

/* Form styling */
.form-input {
  @apply w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-accent focus:border-accent transition-colors;
}

.form-select {
  @apply w-full px-4 py-3 border border-gray-300 rounded-xl focus:ring-2 focus:ring-accent focus:border-accent transition-colors bg-white;
}

.form-checkbox {
  @apply w-5 h-5 text-accent border-gray-300 rounded focus:ring-accent;
}

/* Rating stars */
.rating-stars {
  display: flex;
  gap: 2px;
}

.rating-stars .star {
  color: #fbbf24;
  width: 16px;
  height: 16px;
}

.rating-stars .star.empty {
  color: #e5e7eb;
}

/* CTA Button Styles */
.cta-solid {
  @apply bg-accent text-white hover:bg-accent/90 transition-all;
}

.cta-solid-rounded {
  @apply bg-accent text-white hover:bg-accent/90 rounded-full transition-all;
}

.cta-outline {
  @apply border-2 border-accent text-accent hover:bg-accent hover:text-white transition-all;
}

.cta-gradient {
  @apply bg-gradient-to-r from-accent to-secondary text-white hover:from-accent/90 hover:to-secondary/90 transition-all;
}

.cta-shadow {
  @apply bg-accent text-white hover:bg-accent/90 shadow-lg hover:shadow-xl transition-all;
}

.cta-minimal {
  @apply text-accent hover:text-accent/80 underline transition-all;
}

/* Loader */
.loader {
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--color-accent);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-right: 8px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-question {
  cursor: pointer;
  display: flex;
  justify-content: between;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  font-weight: 500;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-bottom: 0;
}

.faq-answer.open {
  max-height: 200px;
  padding-bottom: 1.5rem;
}

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-icon.open {
  transform: rotate(180deg);
}

/* Mobile menu animation */
#mobile-menu {
  transition: all 0.3s ease;
  max-height: 0;
  overflow: hidden;
}

#mobile-menu.open {
  max-height: 300px;
}

/* Success/Error messages */
.alert {
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.alert-success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.alert-error {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* Order form styling */
.order-form {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid #e2e8f0;
}

.order-summary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
  color: white;
}

.price-display {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
}

.price-old {
  text-decoration: line-through;
  color: #9ca3af;
  font-size: 1.25rem;
}

/* Testimonial cards */
.testimonial-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Ingredient cards */
.ingredient-card {
  position: relative;
  overflow: hidden;
}

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

.ingredient-card:hover::before {
  left: 100%;
}

/* Statistics counter animation */
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.stat-number {
  animation: countUp 0.8s ease-out;
}

/* Responsive utilities */
@media (max-width: 640px) {
  .mobile-text-center { text-align: center; }
  .mobile-full-width { width: 100%; }
  .mobile-px-4 { padding-left: 1rem; padding-right: 1rem; }
}

/* Print styles */
@media print {
  .no-print { display: none !important; }
  body { font-size: 12pt; line-height: 1.4; }
  .print-break { page-break-before: always; }
}