:root {
  /* Premium Garden Theme Palette */
  --primary-dark: #052e16;
  /* Deepest Green */
  --primary: #14532d;
  /* Rich Forest Green */
  --primary-light: #166534;
  /* Lighter Forest Green */
  --accent: #d97706;
  /* Golden Amber Accent */
  --accent-light: #fbbf24;
  /* Light Amber */

  /* Neutral Tones */
  --bg-body: #f8fafc;
  /* Cool Gray Background */
  --bg-card: #ffffff;
  /* White Card Background */
  --bg-sidebar: #022c22;
  /* Very Dark Green Sidebar */

  /* Text Colors */
  --text-main: #1e293b;
  /* Slate 800 */
  --text-muted: #64748b;
  /* Slate 500 */
  --text-light: #94a3b8;
  /* Slate 400 */
  --text-white: #ffffff;

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

  /* UI Elements */
  --radius-sm: 6px;
  --text-medium: var(--text-muted);
  --surface: var(--bg-card);
  --border: #e2e8f0;
  --shadow: var(--shadow-md);
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: 'Inter', 'Segoe UI', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--primary);
  transition: var(--transition);
}

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

.theme-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.theme-card:hover {
  box-shadow: var(--shadow-lg);
}

.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-md);
  padding: 10px 20px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}

.theme-btn.primary {
  background: var(--primary);
  color: var(--text-white);
  box-shadow: 0 4px 6px -1px rgba(20, 83, 45, 0.2);
}

.theme-btn.primary:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(20, 83, 45, 0.3);
}

.theme-btn.outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.theme-btn.outline:hover {
  background: rgba(20, 83, 45, 0.05);
}

.theme-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: var(--transition);
  color: var(--text-main);
  font-size: 0.95rem;
}

.theme-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20, 83, 45, 0.1);
}

/* Garden shell helpers shared across parent + landing pages */
body.garden-body {
  background: var(--bg-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.garden-header,
.garden-footer {
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.garden-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  border-bottom: none;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.85rem 0;
}

.brand-pill {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-pill img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-pill span {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.025em;
}

.garden-main {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  flex: 1;
  padding: 3rem 0;
  position: relative;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.back-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.back-link:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateX(-2px);
}

.section-lead {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-lead h1 {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.section-lead p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.theme-grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .garden-main {
    width: 95%;
    padding: 2.5rem 0;
  }

  .theme-grid-two {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .brand-pill {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .garden-main {
    width: 100%;
    padding: 2rem 1rem;
  }

  .brand-pill span {
    font-size: 1.1rem;
  }

  .back-link {
    width: 100%;
    justify-content: center;
  }

  .theme-grid-two {
    gap: 1.5rem;
  }
}

.theme-divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

.theme-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(217, 119, 6, 0.1);
  font-weight: 600;
  color: var(--accent);
  font-size: 0.85rem;
}

.theme-list {
  list-style: none;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  color: var(--text-muted);
}

.theme-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.theme-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.theme-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.theme-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

@media (max-width: 640px) {

  .garden-header,
  .garden-footer {
    padding: 1rem;
  }

  .brand-pill span {
    font-size: 1.1rem;
  }

  .garden-main {
    width: 92%;
    padding: 2rem 0;
  }

  .section-lead h1 {
    font-size: 2rem;
  }
}
