﻿:root {
  --green: #0f6a32;
  --green-light: #19a44c;
  --accent: #0f6a32;
  --muted: #555;
  --bg-light: #f8fff8;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
}
a {
  color: var(--green);
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
.site-header {
  background: linear-gradient(90deg, #0f5e2e, #19a44c);
  color: #fff;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.logo img {
  height: 56px;
}
.brand .site-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.header-tagline {
  font-size: 0.85rem;
  color: #e0fbe5;
  letter-spacing: 0.5px;
}
.site-nav a {
  color: #fff;
  margin-left: 20px;
  font-weight: 600;
}
.site-nav a:hover {
  color: #bfeecf;
}
.support-btn {
  background: var(--green);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.2s;
}
.support-btn:hover {
  background: var(--green-light);
  color: #fff;
}

/* Hero */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 20px;
  background: var(--bg-light);
  border-bottom: 1px solid #eee;
  text-align: center;
}
.hero-text {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}
.hero-text h1 {
  font-size: 2.2rem;
  color: var(--green);
}
.hero-text span {
  color: var(--green-light);
}
.hero-text .subtitle {
  color: #444;
  margin: 10px 0 20px;
}
.hero .btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  margin-right: 8px;
  text-decoration: none;
}
.btn.primary {
  background: var(--green);
  color: #fff;
}
.btn.primary:hover {
  background: var(--green-light);
}
.btn.secondary {
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
}
.btn.secondary:hover {
  background: var(--green);
  color: #fff;
}
.book-cover {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  width: 250px;
}

/* Content Sections */
.content {
  text-align: center;
  padding: 50px 20px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.feature {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.feature h3 {
  color: var(--green);
  margin-bottom: 10px;
}

/* Support Section */
.support-author {
  text-align: center;
  padding: 50px 20px;
  background: #f5faf6;
  border-top: 1px solid #eee;
}
.support-btn-green {
  background: var(--green);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  display: inline-block;
  margin-top: 15px;
  transition: 0.25s;
}
.support-btn-green:hover {
  background: var(--green-light);
}

/* Footer */
.site-footer {
  background: var(--green);
  color: #fff;
  padding: 20px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  text-align: center;
}
.footer-logo {
  height: 50px;
}
.footer-tagline {
  font-weight: 600;
  margin-bottom: 6px;
}
.footer-right a {
  color: #bfeecf;
}
.footer-right a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-image {
    order: -1;
  }
  .logo img {
    height: 48px;
  }
  .site-nav {
    margin-top: 10px;
  }
  .site-nav a {
    display: inline-block;
    margin: 5px;
  }
}