/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  background: linear-gradient(155deg, #f0fdf4 0%, #dcfce7 45%, #f8fffe 100%);
  display: flex; align-items: center;
  padding: 100px 5% 60px;
  position: relative; overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(34,197,94,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,197,94,0.07) 1px, transparent 1px);
  background-size: 52px 52px;
  animation: gridDrift 28s linear infinite;
}
@keyframes gridDrift { from{transform:translate(0,0)} to{transform:translate(52px,52px)} }

.sheet-bar {
  position: absolute; top: 68px; left: 0; right: 0; height: 24px;
  background: rgba(34,197,94,0.05);
  border-bottom: 1px solid rgba(34,197,94,0.1);
  display: flex; overflow: hidden;
}
.sheet-bar-col {
  flex: 1; font-size: .62rem; color: rgba(22,163,74,0.4);
  font-family: 'Figtree', sans-serif; font-weight: 600; letter-spacing: .08em;
  border-right: 1px solid rgba(34,197,94,0.08);
  display: flex; align-items: center; justify-content: center;
}

/* Floating background symbols */
.bg-sym {
  position: absolute; pointer-events: none;
  font-family: 'Fraunces', serif; font-weight: 900;
  color: rgba(34,197,94,0.08); line-height: 1;
  animation: symFloat linear infinite;
}
@keyframes symFloat {
  0%{transform:translateY(0) rotate(0deg)}
  50%{transform:translateY(-18px) rotate(3deg)}
  100%{transform:translateY(0) rotate(0deg)}
}

/* Hero two-column layout */
.hero-wrap { max-width: var(--max); margin: 0 auto; width: 100%; position: relative; z-index: 2; }
.hero-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

/* Left column */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.25);
  color: var(--sage); font-size: .76rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase;
  padding: .35rem 1rem; border-radius: 100px; margin-bottom: 1.75rem;
  opacity: 0; animation: fadeUp .7s ease forwards .2s;
}
.hero-eyebrow::before { content:''; width:6px; height:6px; background:var(--green); border-radius:50%; animation:pulse 2s infinite; }
@keyframes pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.8);opacity:.4}}

.hero-h1 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.4rem;
  opacity: 0; animation: fadeUp .8s ease forwards .35s;
}
.hero-h1 .typed-wrap { color: var(--green); display: inline-block; }
.cursor { border-right: 3px solid var(--green); animation: blink .75s step-end infinite; }
@keyframes blink{0%,100%{border-color:var(--green)}50%{border-color:transparent}}

.hero-sub {
  font-size: 1.05rem; color: var(--muted); line-height: 1.8;
  max-width: 460px; margin-bottom: 2.25rem;
  opacity: 0; animation: fadeUp .8s ease forwards .5s;
}
.hero-btns {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .8s ease forwards .65s;
}
.trust-row {
  display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 2.5rem;
  opacity: 0; animation: fadeUp .8s ease forwards .8s;
}
.trust-pill {
  background: white; border: 1px solid var(--border);
  padding: .35rem .85rem; border-radius: 100px;
  font-size: .74rem; font-weight: 500; color: var(--body);
  display: flex; align-items: center; gap: 6px;
  box-shadow: 0 2px 8px rgba(22,101,52,0.06);
}
.trust-dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; }

@keyframes fadeUp { to { opacity:1; transform:translateY(0); } }

/* ===== HERO SPREADSHEET ===== */
.hero-sheet {
  background: white;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(22,101,52,0.18), 0 0 0 1px rgba(34,197,94,0.12);
  overflow: hidden;
  opacity: 0; animation: fadeUp .9s ease forwards .4s;
  position: relative;
}

.hs-topbar {
  background: #f8fffe;
  border-bottom: 1px solid rgba(34,197,94,0.12);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 8px;
}
.hs-dot { width: 11px; height: 11px; border-radius: 50%; }
.hs-title {
  font-size: .72rem; font-weight: 600; color: var(--muted);
  margin-left: auto; margin-right: auto; letter-spacing: .04em;
  font-family: 'Figtree', sans-serif;
}

.hs-toolbar {
  background: #f0fdf4;
  border-bottom: 1px solid rgba(34,197,94,0.1);
  padding: 6px 14px;
  display: flex; align-items: center; gap: 12px;
}
.hs-tool { font-size: .68rem; color: var(--muted); font-family:'Figtree',sans-serif; cursor:pointer; padding: 3px 8px; border-radius: 4px; transition: background .2s; }
.hs-tool:hover { background: rgba(34,197,94,0.1); color: var(--sage); }

/* Column headers */
.hs-col-headers {
  display: grid;
  grid-template-columns: 28px 1fr 90px 80px 70px;
  background: #f0fdf4;
  border-bottom: 1.5px solid rgba(34,197,94,0.2);
}
.hs-ch {
  padding: 6px 10px;
  font-size: .65rem; font-weight: 700; color: var(--sage);
  letter-spacing: .07em; text-transform: uppercase;
  border-right: 1px solid rgba(34,197,94,0.1);
  font-family: 'Figtree', sans-serif;
}

/* Rows */
.hs-body { }
.hs-row {
  display: grid;
  grid-template-columns: 28px 1fr 90px 80px 70px;
  border-bottom: 1px solid rgba(34,197,94,0.07);
  transition: background .2s;
}
.hs-row:hover { background: rgba(34,197,94,0.04); }
.hs-row.hs-active { background: rgba(34,197,94,0.06); }

.hs-cell {
  padding: 9px 10px;
  font-size: .73rem; color: var(--body);
  border-right: 1px solid rgba(34,197,94,0.07);
  font-family: 'Figtree', sans-serif;
  display: flex; align-items: center;
  overflow: hidden; white-space: nowrap;
}
.hs-cell.num { font-weight: 600; color: var(--charcoal); justify-content: flex-end; }
.hs-cell.row-num { color: var(--muted); font-size: .64rem; justify-content: center; font-weight: 500; }

.hs-status {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 100px;
  font-size: .64rem; font-weight: 700;
}
.status-paid { background: rgba(34,197,94,0.15); color: var(--sage); }
.status-pending { background: rgba(234,179,8,0.15); color: #854d0e; }
.status-overdue { background: rgba(239,68,68,0.1); color: #b91c1c; }

/* Typing animation for cells */
.hs-cell .typing {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  animation: typeIn .5s ease forwards;
}
@keyframes typeIn { to { width: 100%; } }

/* Formula bar */
.hs-formula {
  background: #f8fffe;
  border-top: 1px solid rgba(34,197,94,0.12);
  padding: 7px 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: .68rem; font-family: 'Figtree', sans-serif;
}
.hs-cell-ref {
  background: var(--green-pale); border: 1px solid var(--border);
  border-radius: 4px; padding: 2px 8px;
  color: var(--sage); font-weight: 700; font-size: .66rem;
  min-width: 36px; text-align: center;
}
.hs-formula-text { color: var(--muted); font-size: .68rem; }
.hs-formula-text span { color: var(--green-dark); font-weight: 600; }

/* Progress bar at bottom of sheet */
.hs-progress {
  padding: 10px 14px;
  background: #f0fdf4;
  border-top: 1px solid rgba(34,197,94,0.1);
  display: flex; align-items: center; gap: 10px;
}
.hs-progress-label { font-size: .65rem; color: var(--muted); font-family:'Figtree',sans-serif; white-space: nowrap; }
.hs-progress-bar { flex: 1; height: 5px; background: rgba(34,197,94,0.15); border-radius: 100px; overflow: hidden; }
.hs-progress-fill { height: 100%; background: var(--green); border-radius: 100px; width: 0; transition: width 2s ease; }
.hs-progress-pct { font-size: .68rem; font-weight: 700; color: var(--green-dark); font-family:'Figtree',sans-serif; }

/* Floating icons over sheet */
.sheet-badge {
  position: absolute;
  background: white; border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 8px 28px rgba(22,101,52,0.15);
  display: flex; align-items: center; gap: 8px;
  border: 1px solid rgba(34,197,94,0.12);
  animation: floatBob ease-in-out infinite;
  z-index: 10;
}
@keyframes floatBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.sb-icon { width: 30px; height: 30px; background: var(--green-pale); border-radius: 8px; display:flex;align-items:center;justify-content:center;flex-shrink:0; }
.sb-text .sb-l { font-size:.62rem; color:var(--muted); font-family:'Figtree',sans-serif; }
.sb-text .sb-v { font-size:.82rem; font-weight:700; color:var(--charcoal); font-family:'Fraunces',serif; }

