@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --green: #1a6b4a;
  --green-light: #e8f5ef;
  --green-mid: #2d8f64;
  --green-dark: #0f4530;
  --gold: #c9a84c;
  --gold-light: #fdf6e3;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg: #fafaf8;
  --bg-card: #ffffff;
  --border: rgba(0,0,0,0.08);
  --border-mid: rgba(0,0,0,0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  color: var(--green-dark);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--green-mid); }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.875rem; color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--green); }

.nav-cta {
  background: var(--green);
  color: #fff;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--green-dark); }

/* HERO */
.hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-light);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--green-dark);
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--green-mid);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  font-weight: 300;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--green);
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 0.8rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border-mid);
  transition: border-color 0.15s, transform 0.1s;
}
.btn-secondary:hover { border-color: var(--green); color: var(--green); transform: translateY(-1px); }

/* STATS BAR */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  margin: 0;
}

.stat-item { text-align: center; }
.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  color: var(--green-dark);
  line-height: 1;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

/* SECTIONS */
section { padding: 4rem 2rem; }
.section-inner { max-width: 1000px; margin: 0 auto; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--green-dark);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  font-weight: 300;
}

/* PAPERS GRID */
.papers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.paper-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow);
}

.paper-card:hover {
  border-color: var(--green-mid);
  box-shadow: 0 4px 24px rgba(26,107,74,0.1);
  transform: translateY(-2px);
}

.paper-card.coming-soon {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.paper-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  width: fit-content;
}

.tag-acca { background: var(--green-light); color: var(--green); }
.tag-coming { background: #f3f4f6; color: var(--text-light); }

.paper-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: var(--green-dark);
  line-height: 1.3;
}

.paper-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }

.paper-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.paper-meta span { font-size: 0.8rem; color: var(--text-light); }
.paper-meta strong { color: var(--text-muted); }

.paper-arrow {
  margin-left: auto;
  color: var(--green-mid);
  font-size: 1.1rem;
}

/* WHY SECTION */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.why-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.why-icon {
  width: 40px;
  height: 40px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.why-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
.why-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* FOOTER */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.7);
  padding: 3rem 2rem 2rem;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand { grid-column: 1; }

.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer-logo span { color: #6fcfa0; }

.footer-brand p { font-size: 0.85rem; line-height: 1.6; margin-top: 0.5rem; }

.footer-col h4 { font-size: 0.8rem; font-weight: 600; color: #fff; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 0.5rem; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: 1000px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.8); }

/* DONATION */
.donate-bar {
  background: var(--gold-light);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.donate-bar p { font-size: 0.9rem; color: #7a5c1e; line-height: 1.5; }
.donate-bar p strong { color: #5a3e0e; }
.btn-donate {
  background: var(--gold);
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.btn-donate:hover { background: #a8872e; }

/* RESPONSIVE */
@media (max-width: 680px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .stats-bar { gap: 1.5rem; padding: 1.5rem 1rem; flex-wrap: wrap; }
  section { padding: 3rem 1.25rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1; }
}
