/* landing.css v1 — public entry page: hero, hex flow animation, sections */

.hero-landing {
  background:
    radial-gradient(900px 480px at 88% 0%, rgba(224, 151, 91, .22), transparent 62%),
    radial-gradient(780px 520px at 0% 18%, rgba(70, 137, 112, .20), transparent 64%),
    linear-gradient(135deg, #f8f3e8 0%, #f2f7f2 48%, #fff4eb 100%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 2.5rem;
  align-items: center;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.eyebrow {
  margin: 0 0 .6rem;
  font-size: .78rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 700;
}
.hero-copy h1 {
  margin: 0 0 .9rem;
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -.015em;
}
.hero-copy .lead {
  margin: 0 0 1.6rem;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 34rem;
}
.hero-copy .actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  margin: 0;
  padding: 0;
  font-size: .88rem;
  color: var(--muted);
}
.trust li { position: relative; padding-left: 1.15rem; }
.trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: .5rem;
  height: .5rem;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}

/* —— Hero figure: the member → invoice → bank → books loop —— */
.hero-figure { margin: 0; }
.hero-figure svg { display: block; width: 100%; height: auto; }
.hero-figure figcaption {
  margin-top: .5rem;
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
}
.flow-track {
  fill: none;
  stroke: var(--line);
  stroke-width: 2;
}
.flow-spark {
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 70 930;
  stroke-dashoffset: 1000;
  animation: flow-run 9s linear infinite;
}
.flow-cell {
  fill: var(--card);
  stroke: var(--accent);
  stroke-width: 1.5;
  opacity: .55;
  transform-box: fill-box;
  transform-origin: center;
  animation: flow-pulse 9s ease-in-out infinite;
}
.flow-node-0 .flow-cell { fill: #e6f2ec; }
.flow-node-1 .flow-cell { fill: #fff0e5; stroke: var(--accent-2); }
.flow-node-2 .flow-cell { fill: #e7eff6; stroke: #356985; }
.flow-node-3 .flow-cell { fill: #f5ead7; stroke: #9b6a29; }
.flow-node-1 .flow-core { fill: var(--accent-2); }
.flow-node-2 .flow-core { fill: #356985; }
.flow-node-3 .flow-core { fill: #9b6a29; }
.flow-core {
  fill: var(--accent);
  opacity: .28;
  animation: flow-glow 9s ease-in-out infinite;
}
.flow-label {
  fill: var(--muted);
  font-family: var(--font);
  font-size: 12px;
  text-anchor: middle;
}
.flow-node-0 .flow-cell, .flow-node-0 .flow-core { animation-delay: 0s; }
.flow-node-1 .flow-cell, .flow-node-1 .flow-core { animation-delay: 2.25s; }
.flow-node-2 .flow-cell, .flow-node-2 .flow-core { animation-delay: 4.5s; }
.flow-node-3 .flow-cell, .flow-node-3 .flow-core { animation-delay: 6.75s; }
.flow-ghost {
  fill: var(--accent);
  opacity: .06;
  animation: flow-drift 22s ease-in-out infinite alternate;
}
.flow-drift polygon:nth-child(2) { animation-delay: -11s; }

@keyframes flow-run { to { stroke-dashoffset: 0; } }
@keyframes flow-pulse {
  0%, 14%, 100% { opacity: .55; }
  4% { opacity: 1; }
}
@keyframes flow-glow {
  0%, 14%, 100% { opacity: .28; }
  4% { opacity: .95; }
}
@keyframes flow-drift {
  from { transform: translateY(0); }
  to { transform: translateY(-14px); }
}

/* —— Sections —— */
.band { padding: 3.2rem 0; }
.band > .wrap, .band.wrap { padding-top: 0; padding-bottom: 0; }
.band h2 {
  margin: 0 0 .5rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -.01em;
}
.section-lead { margin: 0 0 1.8rem; color: var(--muted); max-width: 44rem; }
.section-note { margin: 1.4rem 0 0; font-size: .86rem; color: var(--muted); }
.band-soft {
  background: linear-gradient(120deg, #fffaf2 0%, #f1f7f3 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: var(--shadow);
}
.feature:nth-child(1), .feature:nth-child(4) { background: #f1f8f4; border-color: #cfe1d8; }
.feature:nth-child(2), .feature:nth-child(5) { background: #fff6ef; border-color: #edd7c6; }
.feature:nth-child(3), .feature:nth-child(6) { background: #f2f6f9; border-color: #d3e0e7; }
.feature:nth-child(2) .feature-mark,
.feature:nth-child(5) .feature-mark { color: var(--accent-2); }
.feature:nth-child(3) .feature-mark,
.feature:nth-child(6) .feature-mark { color: #356985; }
.feature h3 { margin: .55rem 0 .35rem; font-size: 1.02rem; }
.feature p { margin: 0; color: var(--muted); font-size: .93rem; }
.feature-mark { color: var(--accent); display: inline-flex; }

/* —— Product scene: turns the workflow into a compact interface illustration —— */
.showcase {
  background:
    radial-gradient(520px 330px at 86% 52%, rgba(53, 105, 133, .13), transparent 70%),
    linear-gradient(115deg, #edf7f1 0%, #f7f3e9 58%, #fff2e8 100%);
  border-top: 1px solid var(--line);
}
.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(24rem, 1.22fr);
  gap: 3rem;
  align-items: center;
}
.showcase-steps {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: .85rem;
}
.showcase-steps li { display: flex; gap: .75rem; align-items: flex-start; }
.showcase-steps li > span {
  width: 1.8rem;
  height: 1.8rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-size: .78rem;
  font-weight: 700;
}
.showcase-steps li:nth-child(2) > span { background: var(--accent-2); }
.showcase-steps li:nth-child(3) > span { background: #356985; }
.showcase-steps strong, .showcase-steps small { display: block; }
.showcase-steps small { margin-top: .15rem; color: var(--muted); }
.product-scene {
  position: relative;
  min-height: 25rem;
  margin: 0;
  isolation: isolate;
}
.scene-glow {
  position: absolute;
  inset: 12% 8%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  filter: blur(2px);
  box-shadow: 0 18px 70px rgba(31, 77, 58, .12);
}
.scene-window {
  position: absolute;
  background: rgba(255, 253, 248, .96);
  border: 1px solid rgba(31, 77, 58, .18);
  border-radius: 14px;
  box-shadow: 0 14px 35px rgba(28, 25, 22, .11);
}
.scene-members {
  left: 2%;
  top: 9%;
  width: 54%;
  padding: 1rem;
  animation: scene-float 7s ease-in-out infinite;
}
.scene-bar { display: flex; gap: .25rem; margin-bottom: 1rem; }
.scene-bar i { width: .42rem; height: .42rem; border-radius: 50%; background: #d6ded9; }
.scene-bar i:nth-child(2) { background: #e7b18c; }
.scene-bar i:nth-child(3) { background: #a9c4d1; }
.scene-person {
  display: grid;
  grid-template-columns: 1.65rem 1fr 1.2rem;
  gap: .55rem;
  align-items: center;
  padding: .58rem 0;
  border-bottom: 1px solid var(--line);
}
.scene-person:last-child { border-bottom: 0; }
.scene-person i { width: 1.65rem; height: 1.65rem; border-radius: 50%; background: #d8e9df; }
.scene-person:nth-of-type(3) i { background: #f3ddcc; }
.scene-person:nth-of-type(4) i { background: #d8e5eb; }
.scene-person b { width: var(--line); height: .42rem; border-radius: 1rem; background: #d8d4ca; }
.scene-person em { width: 1.05rem; height: 1.05rem; border-radius: 50%; background: #d9eee1; }
.scene-invoice {
  right: 1%;
  top: 22%;
  width: 38%;
  padding: 1rem;
  display: flex;
  gap: .8rem;
  align-items: center;
  border-color: rgba(196, 92, 38, .28);
  animation: scene-float 7s ease-in-out -2.2s infinite;
}
.scene-invoice small, .scene-payment small { display: block; margin-top: .2rem; color: var(--muted); }
.scene-qr {
  width: 3rem;
  height: 3rem;
  flex: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .2rem;
  padding: .35rem;
  background: #fff;
  border: 1px solid var(--line);
}
.scene-qr i { background: var(--accent); }
.scene-qr i:nth-child(2), .scene-qr i:nth-child(3) { background: var(--accent-2); transform: scale(.68); }
.scene-payment {
  right: 12%;
  bottom: 9%;
  width: 42%;
  padding: .9rem 1rem;
  display: flex;
  gap: .75rem;
  align-items: center;
  border-color: rgba(53, 105, 133, .3);
  animation: scene-float 7s ease-in-out -4.4s infinite;
}
.scene-check {
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #356985;
  font-weight: 800;
}
.scene-connector {
  position: absolute;
  height: 2px;
  overflow: visible;
  background: linear-gradient(90deg, rgba(31, 77, 58, .2), rgba(196, 92, 38, .45));
  transform-origin: left center;
}
.connector-one { left: 47%; top: 42%; width: 20%; transform: rotate(-8deg); }
.connector-two { left: 60%; top: 58%; width: 18%; transform: rotate(65deg); }
.scene-connector i {
  position: absolute;
  top: -.24rem;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(196, 92, 38, .12);
  animation: scene-transfer 3.2s ease-in-out infinite;
}
.connector-two i { background: #356985; animation-delay: -1.6s; }
.product-scene figcaption {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  color: var(--muted);
  text-align: center;
  font-size: .8rem;
}
@keyframes scene-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes scene-transfer {
  0% { left: 0; opacity: 0; }
  18%, 82% { opacity: 1; }
  100% { left: calc(100% - .55rem); opacity: 0; }
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1rem;
  align-items: start;
}
.price-card {
  position: relative;
  background: rgba(255, 253, 248, .88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.price-card.is-featured {
  border-color: var(--accent);
  background: #eef7f1;
  box-shadow: 0 10px 30px rgba(31, 77, 58, .12);
}
.price-card h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.price-card p { color: var(--muted); font-size: .93rem; }
.price-card .price {
  margin: 0;
  color: var(--ink);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.price-card .price-note { margin: .1rem 0 .9rem; font-size: .85rem; }
.price-card .btn { margin-top: .4rem; }
.landing-cycle-list {
  list-style: none;
  margin: 1rem 0;
  padding: .75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}
.landing-cycle-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .18rem 0;
}
.landing-cycle-list strong { color: var(--ink); }
.price-flag {
  position: absolute;
  top: -.7rem;
  right: 1rem;
  background: var(--accent-2);
  color: #fff;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: 999px;
}

.closing {
  background:
    radial-gradient(560px 240px at 85% 5%, rgba(224, 151, 91, .24), transparent 70%),
    linear-gradient(120deg, #173e30 0%, var(--accent) 60%, #285f4b 100%);
  color: #fff;
}
.closing-inner { text-align: center; }
.closing h2 { margin-bottom: .5rem; }
.closing p { margin: 0 auto 1.5rem; max-width: 38rem; opacity: .88; }
.closing .actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }
.btn-on-dark { background: #fff; color: var(--accent) !important; border-color: #fff; }
.btn-on-dark:hover { background: #f2ede3; }
.btn-ghost-dark {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .55);
}
.btn-ghost-dark:hover { border-color: #fff; }

/* Cards lift in once, only after the visitor scrolls them into view. */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease-out, transform .5s ease-out;
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.8rem; padding-top: 2.4rem; }
  .hero-figure { order: 2; max-width: 26rem; margin: 0 auto; }
  .showcase-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .product-scene { width: min(100%, 36rem); margin: 0 auto; }
  .band { padding: 2.4rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  .flow-spark { animation: none; stroke-dashoffset: 0; stroke-dasharray: none; opacity: .45; }
  .flow-cell, .flow-core, .flow-ghost { animation: none; }
  .flow-core { opacity: .6; }
  .scene-members, .scene-invoice, .scene-payment, .scene-connector i { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
