/* ── Harvester — harvesterpublic.com ─────────────────────────────── */

:root {
  --bg: #0A0A0A;
  --bg-card: #1A1A1A;
  --gold: #D4AF37;
  --gold-dim: rgba(212, 175, 55, 0.15);
  --gold-border: rgba(212, 175, 55, 0.25);
  --text: #E0E0E0;
  --text-secondary: #999;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1100px;
  --nav-height: 64px;
}

/* ── Reset ──────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .8; }

img { max-width: 100%; height: auto; display: block; }

ul, ol { padding-left: 24px; }
li { margin-bottom: 8px; }

h1, h2, h3 { color: var(--gold); line-height: 1.3; }
h1 { font-size: 28px; margin-bottom: 16px; }
h2 { font-size: 22px; margin-top: 32px; margin-bottom: 12px; }
h3 { font-size: 17px; margin-top: 24px; margin-bottom: 8px; }
p  { margin-bottom: 12px; }

/* ── Navigation ─────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-border);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}

.nav-logo img { height: 32px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding: 0;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--gold); opacity: 1; }

.nav-cta {
  display: inline-block;
  padding: 8px 20px;
  background: var(--gold);
  color: #0A0A0A;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  transition: background .2s;
}

.nav-cta:hover { background: #c9a430; opacity: 1; }

/* Hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: .3s;
}

/* ── Hero ────────────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 40px) 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/topo_pattern.png') repeat center;
  opacity: 0.04;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 900px; }

.hero-logo { width: 100%; max-width: 800px; height: auto; margin: -100px auto -80px; display: block; }

.hero h1 {
  font-size: 42px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.hero p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gold);
  color: #0A0A0A;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background .2s;
}

.btn-primary:hover { background: #c9a430; opacity: 1; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: background .2s, color .2s;
}

.btn-outline:hover { background: var(--gold-dim); opacity: 1; }

/* ── Sections ────────────────────────────────────────────────────── */

.section {
  padding: 80px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-alt {
  background: var(--bg-card);
  padding: 80px 24px;
}

.section-alt .section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 32px;
  margin-top: 0;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Feature Grid ────────────────────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color .2s, transform .2s;
}

.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}

.feature-card h3 {
  font-size: 17px;
  margin-top: 0;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ── Community / About ───────────────────────────────────────────── */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.two-col h2 { font-size: 28px; margin-top: 0; }
.two-col p { color: var(--text-secondary); font-size: 15px; }

.highlight-box {
  background: var(--bg);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 32px;
}

.highlight-box ul {
  list-style: none;
  padding: 0;
}

.highlight-box li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}

.highlight-box li:last-child { border-bottom: none; }

.highlight-box .icon { font-size: 18px; }

/* ── Footer ──────────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--gold-border);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 48px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.footer-brand img { height: 28px; width: auto; }

.footer-tagline { font-size: 13px; color: var(--text-secondary); }

.footer-links h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.footer-links ul { list-style: none; padding: 0; }

.footer-links li { margin-bottom: 8px; }

.footer-links a { color: var(--text-secondary); font-size: 14px; }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 14px;
}

.social-link:hover { color: var(--gold); }

.social-link svg { width: 18px; height: 18px; fill: currentColor; }

/* ── Legal Pages ─────────────────────────────────────────────────── */

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 40px) 24px 60px;
}

.legal-content h1 { font-size: 28px; }
.legal-content h2 { font-size: 20px; }
.legal-content h3 { font-size: 16px; }
.legal-content a { color: var(--gold); }
.legal-content strong { color: var(--text); }
.legal-content em { color: var(--text-secondary); }

/* ── Support Page ────────────────────────────────────────────────── */

.support-hero {
  text-align: center;
  padding: calc(var(--nav-height) + 60px) 24px 40px;
  max-width: 600px;
  margin: 0 auto;
}

.support-hero h1 { font-size: 36px; margin-bottom: 12px; }
.support-hero p { color: var(--text-secondary); font-size: 16px; }

.contact-card {
  max-width: 480px;
  margin: 0 auto 48px;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}

.contact-card .email-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.contact-card a {
  font-size: 18px;
  font-weight: 600;
}

.contact-card .response-time {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 8px;
  margin-bottom: 0;
}

.faq {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.faq h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 24px;
  margin-top: 0;
}

.faq details {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  margin-bottom: 10px;
  transition: border-color .2s;
}

.faq details[open] { border-color: var(--gold-border); }

.faq summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  font-size: 20px;
  color: var(--gold);
  font-weight: 300;
  transition: transform .2s;
}

.faq details[open] summary::after { content: '\2212'; }

.faq .faq-answer {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── 404 Page ────────────────────────────────────────────────────── */

.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.page-404 h1 { font-size: 72px; margin-bottom: 8px; }
.page-404 p { color: var(--text-secondary); font-size: 18px; margin-bottom: 32px; }

/* ── Responsive ──────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta.desktop { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid var(--gold-border);
    padding: 20px 24px;
    gap: 16px;
  }

  .hero h1 { font-size: 30px; }
  .hero p { font-size: 15px; }
  .hero-logo { max-width: 500px; margin: -40px auto -20px; }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .section-header h2 { font-size: 26px; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
}
