:root {
  --background: #F8F6F1;
  --foreground: #08281A;
  --primary: #0D5C3B;
  --primary-foreground: #FFFFFF;
  --secondary: #1E7A53;
  --secondary-foreground: #FFFFFF;
  --accent: #A7E35F;
  --accent-foreground: #08281A;
  --muted: #E8E4DA;
  --muted-foreground: #5A6B5E;
  --card: #FFFFFF;
  --card-foreground: #08281A;
  --border: #D4CFBF;
  --input: #D4CFBF;
  --ring: #0D5C3B;
  --dark: #08281A;
  --radius: 0.75rem;
  --font-sans: 'Manrope', sans-serif;
}

* {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

::-webkit-scrollbar {
  width: 3px;
}
::-webkit-scrollbar-track {
  background: var(--background);
}
::-webkit-scrollbar-thumb {
  background-color: var(--primary);
}

::selection {
  background: var(--accent);
  color: var(--foreground);
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.text-hero-xl {
  font-size: clamp(3.5rem, 9vw, 9rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
}

.text-section-xl {
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.text-section-lg {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.gradient-primary {
  background: linear-gradient(135deg, #0D5C3B 0%, #1E7A53 50%, #0D5C3B 100%);
}

.gradient-dark {
  background: linear-gradient(135deg, #08281A 0%, #0D5C3B 100%);
}

.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.glass-card-light {
  background: rgba(248, 246, 241, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(13, 92, 59, 0.12);
}

.magnetic-btn {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.magnetic-btn:hover {
  transform: scale(1.04);
}

.img-zoom {
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.img-zoom:hover {
  transform: scale(1.06);
}

.underline-hover {
  position: relative;
}
.underline-hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}
.underline-hover:hover::after {
  width: 100%;
}

.fade-in-up {
  animation: fadeInUp 0.9s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  opacity: 0;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

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

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

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.7; }
  70% { transform: scale(1.1); opacity: 0; }
  100% { transform: scale(1.1); opacity: 0; }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.float-anim {
  animation: floatY 5s ease-in-out infinite;
}

.shimmer-text {
  background: linear-gradient(90deg, var(--accent) 0%, #FFFFFF 40%, var(--accent) 80%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

.section-reveal {
  opacity: 1;
}

.blob-accent {
  background: radial-gradient(ellipse at center, rgba(167, 227, 95, 0.18) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.blob-primary {
  background: radial-gradient(ellipse at center, rgba(13, 92, 59, 0.22) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.product-card-hover {
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.product-card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 64px rgba(13, 92, 59, 0.18);
}

.scrim-dark {
  background: linear-gradient(to top, rgba(8, 40, 26, 0.82) 0%, rgba(8, 40, 26, 0.4) 50%, rgba(8, 40, 26, 0.1) 100%);
}

.scrim-hero {
  background: linear-gradient(to right, rgba(8, 40, 26, 0.88) 0%, rgba(8, 40, 26, 0.65) 55%, rgba(8, 40, 26, 0.1) 100%);
}

.img-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1), transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

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