:root {
  --bg: #f4f8f6;
  --ink: #10251c;
  --brand: #00684a;
  --brand-2: #d6ffe8;
  --line: #d7e2dc;
  --panel: #ffffff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top right, #e8fff3, var(--bg));
  color: var(--ink);
}

.container { max-width: 1100px; margin: 0 auto; padding: 1rem; }
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 2rem; background: rgba(255,255,255,0.8); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav nav { display: flex; gap: 1rem; align-items: center; }
.brand { font-weight: 800; color: var(--ink); text-decoration: none; }
a { color: var(--brand); text-decoration: none; }

.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; margin: 2rem 0; }
.kicker { font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand); }
.hero h1 { font-size: 2.8rem; margin: 0.4rem 0 1rem; }
.actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.btn {
  border: 1px solid var(--brand);
  background: var(--brand);
  color: white;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  cursor: pointer;
}
.btn.secondary { background: white; color: var(--brand); }
.btn.ghost { background: transparent; color: var(--brand); }

.illustration-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem; min-height: 120px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.steps article { background: var(--panel); border: 1px solid var(--line); padding: 1rem; border-radius: 12px; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1rem; margin: 1rem 0; }
.narrow { max-width: 560px; }

label { display: block; margin: 0.7rem 0; }
input, select { width: 100%; padding: 0.55rem; border: 1px solid var(--line); border-radius: 8px; }
.inline { display: flex; gap: 0.4rem; align-items: center; }
.inline input { width: auto; }

.metrics { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); margin-top: 1rem; }
.metric { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1rem; }
.metric h2 { margin: 0.3rem 0 0; }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; border-bottom: 1px solid var(--line); padding: 0.6rem 0.4rem; }
.flash { margin: 1rem 0; padding: 0.7rem; border-radius: 8px; }
.flash.success { background: #e7faef; }
.flash.error { background: #ffe8e8; }
.flash.info { background: #edf5ff; }
.link-btn { border: 0; background: transparent; color: var(--brand); cursor: pointer; }
.guide {
  margin: 0.8rem 0 1rem;
  border: 1px solid #cfe5d8;
  border-radius: 12px;
  background: #f6fff9;
  padding: 0.9rem;
}
.guide h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}
.guide ol {
  margin: 0.4rem 0 0.2rem 1.2rem;
  padding: 0;
}
.guide li {
  margin: 0.25rem 0;
}
.guide-note {
  margin: 0.5rem 0 0;
  color: #345648;
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps, .metrics { grid-template-columns: 1fr; }
}

/* Landing page v2 */
.lp-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 10%, rgba(16, 169, 103, 0.14), transparent 35%),
    radial-gradient(circle at 90% 90%, rgba(29, 143, 208, 0.14), transparent 35%),
    #fff;
  animation: rise 500ms ease-out both;
}

.lp-kicker {
  display: inline-block;
  margin: 0 0 0.6rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #d8ffec;
  color: #0d5d41;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lp-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.lp-sub {
  margin-top: 1rem;
  color: #345648;
  max-width: 58ch;
  font-size: 1.03rem;
}

.lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.lp-actions.center {
  justify-content: center;
}

.lp-proof {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.lp-proof span {
  font-size: 0.84rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid #cfe5d8;
  border-radius: 999px;
  background: #f8fcfa;
}

.lp-visual img {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
  margin: 0 auto;
  animation: drift 4s ease-in-out infinite;
}

.lp-flow,
.lp-value,
.lp-steps,
.lp-cta {
  margin-top: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 1.35rem;
  animation: rise 600ms ease-out both;
}

.lp-flow h2,
.lp-value h2,
.lp-cta h2 {
  margin: 0;
  font-size: 1.7rem;
}

.lp-flow p,
.lp-value p,
.lp-cta p {
  color: #36594b;
}

.lp-flow img,
.lp-value img {
  width: 100%;
  height: auto;
  margin-top: 0.8rem;
  border-radius: 12px;
  border: 1px solid #e5ece8;
}

.lp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.lp-steps article {
  border: 1px solid #e4ece7;
  border-radius: 14px;
  padding: 0.95rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfa 100%);
}

.lp-steps h3 {
  margin: 0;
  font-size: 1rem;
}

.lp-steps p {
  margin: 0.45rem 0 0;
  color: #446358;
  font-size: 0.93rem;
}

.lp-cta {
  text-align: center;
  background:
    radial-gradient(circle at 15% 85%, rgba(64, 205, 141, 0.17), transparent 35%),
    radial-gradient(circle at 85% 15%, rgba(64, 134, 205, 0.17), transparent 35%),
    #fff;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 980px) {
  .lp-hero {
    grid-template-columns: 1fr;
    padding: 1.3rem;
  }
  .lp-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .lp-steps {
    grid-template-columns: 1fr;
  }
  .lp-flow,
  .lp-value,
  .lp-steps,
  .lp-cta {
    padding: 1rem;
  }
}
