@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

:root {
  --primary: #4CAF50;
  --secondary: #A5D6A7;
  --bg-color: #ffffff;
  --text-color: #171717;
  --text-muted: #4a4a4a;
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-main: 'Montserrat', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Subtle organic grain effect */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  pointer-events: none;
  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");
  z-index: 9999;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  font-weight: 300;
  color: var(--text-muted);
}

/* Asymmetric Grid Layout */
.grid-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  padding: 4rem 5%;
}

.grid-item {
  grid-column: span 6;
  position: relative;
}

.grid-item:nth-child(odd) {
  grid-column: span 7;
  margin-top: 2rem;
}

.grid-item:nth-child(even) {
  grid-column: span 5;
  margin-top: -2rem;
}

/* Glassmorphism Elements */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.8);
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1.5rem 5%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
  background-color: #3d8b40;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--text-color);
}

.btn-secondary:hover {
  filter: brightness(0.95);
  transform: scale(1.05);
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 10%;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: 1.5rem;
}

.hero p {
  max-width: 600px;
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

/* Accents & Highlights */
.highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 30%;
  background: var(--secondary);
  bottom: 5%;
  left: 0;
  z-index: -1;
  opacity: 0.4;
}

/* Product Cards */
.product-card {
  overflow: hidden;
  border-radius: 24px;
}

.product-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.product-card:hover .product-image {
  transform: scale(1.02);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .grid-item, .grid-item:nth-child(odd), .grid-item:nth-child(even) {
    grid-column: span 12;
    margin-top: 0;
  }
  
  .nav-links {
    display: none;
  }
}

/* Accessibility */
a:focus, button:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 4px;
}

::selection {
  background: var(--secondary);
  color: var(--text-color);
}