:root {
  --bg: linear-gradient(180deg, #eafaf1 0%, #f7fff7 30%, #e8f8ec 100%);
  --card: #fff;
  --muted: #48565a;
  --text: #04210a;
  --primary: #2e8b57; /* medium green */
  --primary-dark: #074b2d; /* dark green */
  --primary-yellow: #adff2f; /* green-yellow */
  --primary-yellow-2: #9acd32; /* yellow-green */
  --accent: #8fd6ff; /* sky blue tint */
  --ring: #e4f0e9;
  --shadow: 0 10px 30px rgba(2, 17, 9, 0.07);
}

/* ================= BASIC ================= */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* Containers */
.container {
  width: min(1280px, 92%);
  margin: auto;
  padding: 1rem;
}

/* ================= HEADER ================= */

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ring);
  z-index: 999;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ring);
  z-index: 999;
  padding: 4px 0;
  min-height: 56px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand .logo {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 6px;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

@media (max-width: 960px) {
  .brand .logo { width: 64px; height: 64px; }
}

@media (max-width: 520px) {
  .brand .logo { width: 48px; height: 48px; }
}

/* Navigation */
.main-nav {
  display: flex;
  gap: 18px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  padding: 6px 10px;
  border-radius: 6px;
}

.main-nav a:hover {
  background: rgba(0,0,0,0.05);
}

/* Mobile Nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--ring);
  padding: 8px;
  border-radius: 8px;
}

.nav-toggle .bar {
  width: 22px;
  height: 2px;
  background: black;
}

/* ================= HERO ================= */

.hero {
  padding: 60px 0;
  background: linear-gradient(180deg, rgba(46,139,87,0.08) 0%, rgba(46,139,87,0.02) 30%, transparent 100%);
}

.hero-inner {
  display: grid;
  /* left = text, right = visualization (fixed visual column) */
  grid-template-columns: 1fr min(520px, 44%);
  gap: 36px;
  align-items: center;
}

.hero-inner .content { text-align: left; }

/* Center primary hero and section headings for balanced layout */
.hero-inner, .section-head, .section-actions, .yt-copy { text-align: center; }

.badge {
  display: inline-flex;
  gap: 8px;
  background: rgba(39,174,96,0.15);
  padding: 8px 16px;
  border-radius: 20px;
}

h1 {
  font-size: clamp(42px, 5vw, 68px);
  margin: 10px 0;
}

.gardener {
  background: linear-gradient(120deg, #27ae60, #9acd64);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.description {
  font-size: 18px;
  color: var(--muted);
}

.buttons {
  margin-top: 25px;
  display: flex;
  gap: 14px;
  position: relative;
  z-index: 10;
}

.btn {
  padding: 12px 18px;
  border-radius: 10px;
  display: inline-flex;
  text-decoration: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ring);
  position: relative;
  z-index: 10;
}

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

.btn.primary:hover {
  background: var(--primary-dark);
}

/* HERO VISUAL SIDE */
.visualization {
  position: relative;
  width: 100%;
  max-width: 520px;
  /* make visualization tall enough so outer-ring and floating cards don't get clipped */
  min-height: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.outer-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 460px;
  max-height: 460px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39,174,96,.3), transparent);
  animation: breathe 4s infinite ease-in-out;
}

@keyframes breathe {
  0%,100% { transform: scale(1); opacity: .7; }
  50% { transform: scale(1.05); opacity: .5; }
}

.dotted-circle {
  border-radius: 50%;
  border: 2px dashed #27ae60;
  opacity: .4;
  position: absolute;
}

.dotted-circle-1 {
  width: 260px;
  height: 260px;
  animation: rotateCW 18s infinite linear;
}

.dotted-circle-2 {
  width: 340px;
  height: 340px;
  animation: rotateCCW 22s infinite linear;
}

@keyframes rotateCW { to { transform: rotate(360deg); } }
@keyframes rotateCCW { to { transform: rotate(-360deg); } }

.center-circle {
  position: absolute;
  width: 200px;
  height: 200px;
  background: linear-gradient(180deg, #ffffff, rgba(250, 255, 240, 0.9));
  border-radius: 50%;
  display:flex;
  justify-content:center;
  align-items:center;
  box-shadow: 0 18px 40px rgba(3, 30, 10, 0.08);
}

/* Center the circle exactly within the visualization */
.visualization { position: relative; }
.center-circle { left: 50%; top: 50%; transform: translate(-50%, -50%); }

.tree-icon, .tree-gif { width: 120%; max-width: 260px; height: auto; pointer-events: none; display:block; transform: translateY(4%); }

/* soft pulse/glow for the center circle to make hero feel alive */
.center-circle::after {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(154, 205, 50, 0.18), transparent 40%);
  filter: blur(8px);
  opacity: .9;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { transform: scale(.98); opacity: .9; }
  50% { transform: scale(1.06); opacity: .6; }
}

/* FLOATING CARDS */
.card {
  position: absolute;
  background: white;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 600;
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width: 140px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.card:hover {
  background: var(--primary);
  color: white;
  box-shadow: 0 12px 30px rgba(46, 139, 87, 0.3);
  transform: scale(1.08);
}

.card-1 { top: 10%; left: 5%; animation-delay: 0s; }
.card-2 { bottom: 25%; left: 0%; animation-delay: .8s; }
.card-3 { top: 15%; right: 6%; animation-delay: 1.4s; }
.card-4 { bottom: 10%; right: 8%; animation-delay: 2s; }

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

/* ================= PRODUCT GRID ================= */

.products-section { padding: 50px 0; }

.section-head h2 { margin: 0; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 16px;
}

.product-card {
  background: white;
  border: 1px solid var(--ring);
  border-radius: 12px;
  overflow:hidden;
  transition: 0.25s;
}

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

.product-media {
  aspect-ratio: 4/3;
  width: 100%;
  overflow: hidden;
}

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

/* Post Cards */
.post-card .product-media {
  aspect-ratio: 4/3;
}

/* ================= YOUTUBE ================= */

.youtube-section {
  padding: 50px 0;
  border-top: 1px solid var(--ring);
}

.youtube-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.yt-frame {
  width: 100%;
  height: 320px;
  border-radius: 12px;
  border: 0;
  box-shadow: var(--shadow);
}

/* ================= FOOTER ================= */

.site-footer {
  background: #e8f8ec;
  padding: 30px 0;
  border-top: 1px solid var(--ring);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
}

.footer-list {
  list-style: none;
  padding: 0;
}

.footer-list a {
  color: var(--text);
  text-decoration: none;
}

.footer-bottom {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .visualization {
    margin-top: 40px;
  }
  .main-nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.outer-ring {
  position: absolute;
  width: 460px;
  height: 460px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1); /* base position */
  transform-origin: center center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39,174,96,.28), transparent);
  animation: breatheFix 4s infinite ease-in-out;
  z-index: 1 !important;
}

/* FIXED animation: no override of translate() */
@keyframes breatheFix {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: .75;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.06);
    opacity: .55;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: .75;
  }
}
/* FIX: reduce hero top spacing */
.hero {
  padding: 30px 0 40px !important;
}

/* FIX: tree image smaller so circles become visible */
.tree-icon,
.tree-gif {
  width: 110% !important;
  max-width: 240px !important;
  transform: translateY(2%) !important;
}

/* FIX: restore dotted circle rotation */
.dotted-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  opacity: 0.4;
  border-radius: 50%;
  border: 2px dashed #27ae60;
}

.dotted-circle-1 {
  width: 260px;
  height: 260px;
  animation: rotateCW 18s infinite linear;
}

.dotted-circle-2 {
  width: 340px;
  height: 340px;
  animation: rotateCCW 22s infinite linear;
}

@keyframes rotateCW {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateCCW {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(-360deg); }
}
