@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=DM+Sans:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap');

:root {
  --void: #071306;
  --mist: #f7faf5;
  --leaf: #a3e635;
  --leaf-light: #bef264;
  --leaf-dark: #65a30d;
  --earth: #3f6212;
  --text: #0f172a;
  --muted: #64748b;
  --card-bg: rgba(255,255,255,0.82);
  --line: rgba(63, 98, 18, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  line-height: 1.65;
}

a {
  text-decoration: none;
  color: inherit;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}

.nav.scrolled {
  background: rgba(7, 19, 6, 0.88);
  backdrop-filter: blur(14px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(163,230,53,0.1);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
}
.logo img, .logo-img {
  height: 42px;
  width: auto;
  display: block;
  border-radius: 10px;
}

.foot-brand .logo-img {
  height: 48px;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

.nav-links a:hover {
  color: var(--leaf);
}

.nav-links a.active {
  color: var(--leaf);
}

.nav-cta {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
}

.btn-leaf {
  background: var(--leaf);
  color: var(--void);
}

.btn-leaf:hover {
  background: var(--leaf-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(163, 230, 53, 0.35);
}

.btn-outline-light {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
  border-color: var(--leaf);
  color: var(--leaf);
  background: rgba(163,230,53,0.08);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(15,23,42,0.14);
}

.btn-outline-dark:hover {
  border-color: var(--earth);
  color: var(--earth);
}

.btn-sm {
  padding: 11px 20px;
  font-size: 0.85rem;
}

.page-hero {
  position: relative;
  padding: 150px 0 90px;
  background: var(--void);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?w=2400&q=85&auto=format') center/cover no-repeat;
  filter: brightness(0.35) saturate(1.1);
}

.page-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,19,6,0.3) 0%, rgba(7,19,6,0.75) 70%, var(--void) 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-hero .eyebrow {
  display: inline-block;
  color: var(--leaf);
  background: rgba(163,230,53,0.12);
  border: 1px solid rgba(163,230,53,0.25);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.page-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 18px;
}

.page-hero h1 .accent {
  color: var(--leaf);
}

.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.section-light {
  background: var(--mist);
}

.section-head {
  margin-bottom: 56px;
}

.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--earth);
  margin-bottom: 12px;
}

h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text);
}

h2 .accent {
  color: var(--leaf-dark);
}

h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.section-head p {
  max-width: 560px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.65;
  font-size: 1.05rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(63, 98, 18, 0.08);
  border-color: rgba(163,230,53,0.3);
}

.card p, .card li {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.form-group {
  margin-bottom: 22px;
}

label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

input, textarea, select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--leaf-dark);
  box-shadow: 0 0 0 3px rgba(163,230,53,0.15);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%233f6212' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 6px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

table th {
  text-align: left;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

table tr:hover td {
  background: rgba(163,230,53,0.04);
}

.badge {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(163,230,53,0.15);
  color: var(--earth);
}

.glass-stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.glass-stat {
  flex: 1;
  min-width: 150px;
  background: rgba(7,19,6,0.38);
  border: 1px solid rgba(163,230,53,0.15);
  border-radius: 16px;
  padding: 18px 22px;
  backdrop-filter: blur(8px);
  color: #fff;
}

.glass-stat-value {
  font-family: 'Space Mono', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--leaf);
  margin-bottom: 4px;
}

.glass-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}

.metric {
  color: var(--leaf-dark);
  font-weight: 700;
}

.footer {
  background: var(--void);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 40px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr repeat(2, 1fr);
  gap: 50px;
  margin-bottom: 50px;
}

.foot-brand {
  max-width: 320px;
}

.foot-brand .logo {
  margin-bottom: 16px;
  display: inline-flex;
}

.foot-brand p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.58);
}

.foot-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 18px;
}

.foot-col ul {
  list-style: none;
}

.foot-col li {
  margin-bottom: 10px;
}

.foot-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s ease;
}

.foot-col a:hover {
  color: var(--leaf);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 0.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.pool-name {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pool-progress {
  height: 5px;
  width: 100px;
  background: rgba(163,230,53,0.15);
  border-radius: 999px;
  overflow: hidden;
}
.pool-progress i {
  display: block;
  height: 100%;
  background: var(--leaf);
  border-radius: 999px;
  transition: width 1s ease;
}

.wallet-box.connected, [data-wallet].connected {
  box-shadow: 0 0 18px rgba(163,230,53,0.25);
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .page-hero { padding: 120px 0 70px; }
}
