/* Heo Farm - Green Pig Farm Landing Page */
:root {
  --primary: #2E7D32;
  --primary-soft: #A3D9A5;
  --gradient-start: #D0F0C0;
  --gradient-end: #A3D9A5;
  --text-primary: #1A1A1A;
  --text-secondary: #4C5B5C;
  --surface: #FFFFFF;
  --background: #F4F4F4;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background: var(--background);
}
.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  padding: 60px 20px 80px;
  text-align: center;
}
.hero h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
.hero-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 24px;
}
.hero-badges { margin-top: 20px; }
.badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.875rem;
  margin: 0 6px;
}

/* Header */
.header {
  background: var(--primary);
  color: white;
  padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.header .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo h1 { font-size: 1.5rem; margin: 0; }
.logo .tagline { font-size: 0.875rem; opacity: 0.9; margin: 4px 0 0; }
.logo-icon {
  width: 42px;
  height: 38px;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}
.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  display: block;
}
.nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
}
.nav a:hover { text-decoration: underline; }

/* Sections */
section {
  padding: 48px 20px;
  background: var(--surface);
}
section:nth-child(even) { background: var(--background); }
section h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 24px;
  text-align: center;
  border-bottom: 2px solid var(--primary-soft);
  padding-bottom: 12px;
}

/* Feature grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.feature-card {
  background: var(--surface);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 4px solid var(--primary);
}
.feature-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.feature-card p { font-size: 0.9rem; color: var(--text-secondary); }
.lead { font-size: 1.1rem; margin-bottom: 16px; color: var(--text-secondary); }

/* Tech stack */
.tech-list {
  margin-top: 16px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.tech-list ul {
  list-style: none;
}
.tech-list li {
  padding: 10px 16px;
  margin-bottom: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 8px;
  font-size: 0.95rem;
}
.note { font-size: 0.9rem; color: var(--text-secondary); margin-top: 16px; font-style: italic; }

/* Target users */
.target-list { margin-top: 16px; }
.target-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  list-style: none;
  padding-left: 28px;
  position: relative;
}
.target-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Footer */
.footer {
  text-align: center;
  padding: 32px 20px;
  background: var(--primary);
  color: white;
  font-size: 0.9rem;
}
.footer a { color: #D0F0C0; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* Support section */
.support-block {
  background: var(--primary-soft);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 28px;
  font-size: 1rem;
}
.support-block a { color: var(--primary); font-weight: 600; }
.faq-title {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.faq-list {
  list-style: none;
  padding: 0;
}
.faq-list li {
  padding: 12px 16px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.faq-list li:last-child { border-bottom: none; }
.faq-list li strong { color: var(--text-primary); display: block; margin-bottom: 4px; }

/* Privacy page */
.privacy-section { padding: 48px 20px; }
.privacy-section h2 { font-size: 1.5rem; color: var(--primary); margin: 28px 0 10px; border-bottom: none; text-align: left; padding-bottom: 0; }
.privacy-section h2:first-child { margin-top: 0; }
.privacy-section p { color: var(--text-secondary); margin-bottom: 12px; }

/* Back link - trong header nền xanh nên dùng màu sáng */
.header .back-link {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  font-weight: 500;
}
.header .back-link:hover { color: white; text-decoration: underline; }
