/* Veggiebotics Custom Styles */

/* Custom Properties */
:root {
  --color-primary: #0a0a0a;
  --color-secondary: #171717;
  --color-accent: #a3e635;
  --color-accent-warm: #fbbf24;
  --color-text: #fafafa;
  --color-text-muted: #a3a3a3;
  --color-border: #262626;
  --glow-accent: 0 0 40px rgba(163, 230, 53, 0.15);
}

/* Base */
html {
  scroll-behavior: smooth;
}

body {
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-muted);
}

/* Glow effects */
.glow-accent {
  box-shadow: var(--glow-accent);
}

.glow-text {
  text-shadow: 0 0 30px rgba(163, 230, 53, 0.3);
}

/* Gradient backgrounds */
.gradient-dark {
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.gradient-radial {
  background: radial-gradient(ellipse at center, rgba(163, 230, 53, 0.05) 0%, transparent 70%);
}

/* Grid pattern overlay */
.grid-pattern {
  background-image: 
    linear-gradient(rgba(163, 230, 53, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 230, 53, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(163, 230, 53, 0.2); }
  50% { box-shadow: 0 0 40px rgba(163, 230, 53, 0.4); }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.animate-pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

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

/* Stagger animation delays */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* Card styles */
.card-dark {
  background: rgba(23, 23, 23, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
}

.card-dark:hover {
  border-color: rgba(163, 230, 53, 0.3);
}

/* Button styles */
.btn-primary {
  background: linear-gradient(135deg, #a3e635 0%, #84cc16 100%);
  color: var(--color-primary);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(163, 230, 53, 0.3);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Navigation */
.nav-link {
  position: relative;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

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

/* Image placeholder styles */
.img-placeholder {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(163, 230, 53, 0.1) 0%, transparent 70%);
}

/* Section transitions */
section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* Form styles */
input[type="email"],
input[type="text"] {
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
input[type="text"]:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* Typography enhancements */
.text-gradient {
  background: linear-gradient(135deg, #a3e635 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Kit cards */
.kit-card {
  position: relative;
  overflow: hidden;
}

.kit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.kit-card:hover::before {
  opacity: 1;
}

/* Feature icons */
.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(163, 230, 53, 0.1);
  border-radius: 12px;
  color: var(--color-accent);
}

/* Steps */
.step-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 14px;
}

/* Pricing tiers */
.pricing-popular {
  position: relative;
  border-color: var(--color-accent);
}

.pricing-popular::before {
  content: 'Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 4px 16px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
}
