:root {
  /* Primary Colors */
  --primary-green: #059669;      /* Emerald - Health, Growth */
  --primary-dark: #047857;       /* Deep Green - Trust */
  --primary-light: #d1fae5;      /* Mint - Freshness */

  /* Accent Colors */
  --accent-sunrise: #f59e0b;     /* Amber - Morning Energy */
  --accent-calm: #3b82f6;        /* Blue - Calm, Focus */
  --accent-vitality: #ec4899;    /* Pink - Vitality */

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --black: #000000;

  /* Semantic Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-headings: 'Sora', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Type Scale (Fluid) */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.5vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.8rem + 2vw, 3rem);
  --text-5xl: clamp(3rem, 2rem + 3vw, 4rem);

  /* Font Weights */
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max: 1280px;
  --content-width: 720px;
  --header-height: 80px;

  /* Animations */
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --transition-base: all 0.2s var(--ease-in-out);
  --transition-smooth: all 0.3s var(--ease-out);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary);
  background-color: var(--gray-50);
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: var(--weight-bold);
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: var(--space-4);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { margin-bottom: var(--space-4); }

a {
  color: var(--primary-green);
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Components: Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  cursor: pointer;
  transition: var(--transition-base);
  box-shadow: var(--shadow-sm);
  border: none;
}

.btn--primary {
  background-color: var(--primary-green);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.btn--secondary {
  background-color: var(--white);
  border: 2px solid var(--gray-200);
  color: var(--gray-700);
}

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

.btn--full {
  width: 100%;
}

/* Header & Nav */
.site-header {
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--gray-100);
}

.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-family: var(--font-headings);
  font-weight: var(--weight-extrabold);
  font-size: var(--text-xl);
  color: var(--gray-900);
  letter-spacing: -0.5px;
}

.logo span { color: var(--primary-green); }

.main-nav ul {
  display: flex;
  gap: var(--space-8);
  list-style: none;
}

.main-nav a {
  color: var(--gray-600);
  font-weight: var(--weight-medium);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-green);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background-color: var(--gray-900);
  overflow: hidden;
}

.hero__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: var(--space-5);
}

.hero__title {
  color: var(--white);
  font-size: var(--text-5xl);
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero__subtitle {
  font-size: var(--text-xl);
  opacity: 0.9;
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Components: Cards */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  padding: var(--space-8) 0;
}

.article-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.article-card__image {
  aspect-ratio: 3/2;
  overflow: hidden;
}

.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.article-card:hover .article-card__image img {
  transform: scale(1.05);
}

.article-card__content {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card__category {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-green);
  margin-bottom: var(--space-2);
}

.article-card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.article-card__title a {
  color: var(--gray-900);
}

.article-card__title a:hover {
  color: var(--primary-green);
}

.article-card__excerpt {
  color: var(--gray-600);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  flex-grow: 1;
}

.article-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--gray-400);
  padding-top: var(--space-4);
  border-top: 1px solid var(--gray-100);
}

/* About Section */
.about-section {
  padding: var(--space-20) 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.about-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-content h2 {
  color: var(--primary-dark);
}

/* Newsletter */
.newsletter {
  background-color: var(--gray-900);
  color: var(--white);
  padding: var(--space-20) 0;
  text-align: center;
}

.newsletter h2 { color: var(--white); }
.newsletter p { color: var(--gray-300); max-width: 600px; margin: 0 auto var(--space-8); }

.newsletter-form {
  display: flex;
  gap: var(--space-4);
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--gray-700);
  background: var(--gray-800);
  color: var(--white);
  font-family: var(--font-primary);
}

.newsletter-input:focus {
  outline: 2px solid var(--primary-green);
  border-color: transparent;
}

/* Post Page Specifics */
.post-header {
  text-align: center;
  padding: var(--space-16) 0 var(--space-8);
  max-width: 800px;
  margin: 0 auto;
}

.post-meta {
  color: var(--gray-500);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

.post-content {
  max-width: var(--content-width);
  margin: 0 auto;
  font-size: 1.125rem; /* Large readable text */
  padding-bottom: var(--space-16);
}

.post-content p {
  margin-bottom: 2em;
}

.post-content h2 {
  margin-top: 2em;
  margin-bottom: 0.75em;
  color: var(--primary-dark);
}

.post-content ul, .post-content ol {
  margin-bottom: 2em;
  padding-left: 1.5em;
}

.post-content li {
  margin-bottom: 0.5em;
}

.post-image-full {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 500px;
  object-fit: cover;
  margin-bottom: var(--space-12);
}

/* Product Card (Within Content) */
.product-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: var(--space-6);
  margin: var(--space-8) 0;
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
}

.product-card--featured {
  border-left: 4px solid var(--primary-green);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.product-card__image {
  flex: 0 0 200px;
  border-radius: 8px;
  overflow: hidden;
}

.product-card__content {
  flex: 1;
}

.product-card__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.product-card__rating {
  color: var(--warning);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Footer */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: var(--space-12) 0;
  text-align: center;
  color: var(--gray-500);
  font-size: var(--text-sm);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero { min-height: 50vh; }
  .about-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .product-card { flex-direction: column; }
  .product-card__image { flex: 0 0 auto; width: 100%; }
  .main-nav { display: none; } /* Simplified for now - assume hamburger later if needed */
}
