:root {
  --color-primary: 141 46% 19%;
  --color-primary-dark: 141 46% 10%;
  --color-primary-light: 141 16% 95%;
  --color-secondary: 141 10% 96%;
  --color-accent: 261 70% 40%;
  --color-text: 141 40% 11%;
  --color-text-muted: 141 15% 47%;
  --color-background: 0 0% 100%;
  --color-surface: 141 30% 98%;
  --color-border: 141 25% 91%;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius: 0.5rem;
}

*, ::before, ::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: hsl(var(--color-text));
  background-color: hsl(var(--color-background));
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: hsl(var(--color-primary-dark));
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }

@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.75rem; }
}

a {
  color: hsl(var(--color-primary));
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: hsl(var(--color-primary-dark));
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  gap: 0.5rem;
}

.btn-primary {
  background-color: hsl(var(--color-primary));
  color: white;
}

.btn-primary:hover {
  background-color: hsl(var(--color-primary-dark));
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background-color: transparent;
  border-color: hsl(var(--color-primary));
  color: hsl(var(--color-primary));
}

.btn-outline:hover {
  background-color: hsl(var(--color-primary-light));
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  background-color: hsl(var(--color-primary-light));
  color: hsl(var(--color-primary-dark));
}

.card {
  background-color: hsl(var(--color-background));
  border: 1px solid hsl(var(--color-border));
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.section-spacing {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .section-spacing {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.bg-brand {
  background-color: hsl(var(--color-primary));
  color: white;
}

.bg-brand-light {
  background-color: hsl(var(--color-primary-light));
}

.text-brand {
  color: hsl(var(--color-primary));
}

.border-brand {
  border-color: hsl(var(--color-border));
}

.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.product-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.product-modal {
  background: white;
  border-radius: 1rem;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  position: relative;
}

.product-modal-overlay.active .product-modal {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  background: white;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid hsl(var(--color-border));
  z-index: 70;
}

@media (min-width: 768px) {
  #mobile-menu, #mobile-menu-overlay {
    display: none !important;
  }
}

@media (max-width: 767px) {
  #mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80%;
    max-width: 400px;
    background: white;
    z-index: 50;
    padding: 2rem;
    box-shadow: -4px 0 15px rgba(0,0,0,0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100%);
  }
  
  #mobile-menu:not(.hidden) {
    transform: translateX(0);
  }
  
  #mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 40;
    backdrop-filter: blur(2px);
  }
}

.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(var(--color-border));
  border-radius: var(--radius);
  font-family: inherit;
  transition: border-color 0.2s ease, ring 0.2s ease;
}

.input-field:focus {
  outline: none;
  border-color: hsl(var(--color-primary));
  box-shadow: 0 0 0 2px hsl(var(--color-primary) / 0.1);
}

.icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: hsl(var(--color-primary-light));
  color: hsl(var(--color-primary));
}

[data-lucide] {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
}

.hero-gradient {
  background: linear-gradient(135deg, hsl(var(--color-primary)), hsl(var(--color-primary-dark)));
}

.nav-link {
  font-weight: 500;
  color: hsl(var(--color-text));
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: hsl(var(--color-primary));
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.footer-link {
  color: hsl(var(--color-text-muted));
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: white;
}

.aspect-video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.aspect-square {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}