:root {
  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #10b981;
  --bg-soft: #ecfdf5;
  --bg-page: #f0fdf4;
  --text: #0f172a;
  --muted: #64748b;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(5, 150, 105, 0.12);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

/* Nav */
.public-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; display: grid; place-items: center; font-weight: 800;
}
.nav-links { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; }
.nav-links a { font-weight: 500; color: #334155; font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary); }
.btn-nav-outline {
  border: 1.5px solid var(--primary); color: var(--primary) !important;
  padding: 8px 16px; border-radius: 999px; font-weight: 600 !important;
}
.btn-nav-solid {
  background: var(--primary); color: #fff !important;
  padding: 8px 18px; border-radius: 999px; font-weight: 600 !important;
}
.btn-nav-solid:hover { background: var(--primary-dark); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.3rem; color: var(--text); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; flex-direction: column; padding: 16px;
    border-bottom: 1px solid #e2e8f0; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
}

/* Hero */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(160deg, #ecfdf5 0%, #d1fae5 40%, #fff 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.15;
  margin-bottom: 16px; letter-spacing: -0.02em;
}
.hero h1 span { color: var(--primary); }
.hero p.lead { color: var(--muted); font-size: 1.1rem; max-width: 520px; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px; font-weight: 700; font-size: 1rem;
  transition: transform .2s, box-shadow .2s;
}
.btn-hero:hover { transform: translateY(-2px); }
.btn-hero-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; box-shadow: 0 8px 24px rgba(5,150,105,.35);
}
.btn-hero-ghost {
  background: #fff; color: var(--primary); border: 1.5px solid #a7f3d0;
}
.hero-card {
  background: linear-gradient(145deg, #059669, #10b981);
  border-radius: 24px; padding: 28px; color: #fff;
  box-shadow: 0 20px 50px rgba(5,150,105,.35);
  animation: floatY 6s ease-in-out infinite;
  position: relative; overflow: hidden;
}
.hero-card::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.hero-card .label { opacity: .85; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.hero-card .balance { font-size: 2.4rem; font-weight: 800; margin: 8px 0 16px; }
.hero-card .row-meta { display: flex; justify-content: space-between; font-size: .85rem; opacity: .9; }

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

/* Features */
.section { padding: 72px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-title p { color: var(--muted); max-width: 560px; margin: 8px auto 0; }
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
}
.feature-card {
  background: var(--card); border: 1px solid #e2e8f0; border-radius: var(--radius);
  padding: 28px 22px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow); border-color: #a7f3d0;
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--bg-soft); color: var(--primary);
  display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 14px;
}
.feature-card h5 { font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Plans */
.plan-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px;
}
.plan-card {
  background: #fff; border-radius: var(--radius); border: 1px solid #e2e8f0;
  padding: 28px; position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-card .roi {
  font-size: 2rem; font-weight: 800; color: var(--primary); margin: 8px 0;
}
.plan-card .badge-tier {
  display: inline-block; background: var(--bg-soft); color: var(--primary);
  font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.cta-band {
  background: linear-gradient(135deg, #047857, #10b981);
  color: #fff; border-radius: 24px; padding: 48px 32px; text-align: center;
  margin: 40px 0;
}
.cta-band h3 { font-weight: 800; margin-bottom: 12px; }
.cta-band a {
  display: inline-block; margin-top: 16px; background: #fff; color: var(--primary);
  padding: 12px 28px; border-radius: 12px; font-weight: 700;
}

/* About / contact */
.soft-bg { background: var(--bg-page); }
.content-card {
  background: #fff; border-radius: var(--radius); padding: 32px;
  border: 1px solid #e2e8f0; box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
.form-control, .form-select {
  border-radius: 12px; border-color: #e2e8f0; padding: 12px 14px;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(5,150,105,.15);
}
.btn-primary-uf {
  background: var(--primary); border: none; color: #fff;
  padding: 12px 24px; border-radius: 12px; font-weight: 700;
}
.btn-primary-uf:hover { background: var(--primary-dark); color: #fff; }

/* Footer */
.public-footer {
  background: #0f172a; color: #e2e8f0; padding: 56px 0 24px; margin-top: 40px;
}
.public-footer .brand-text { color: #fff; }
.public-footer h6 { color: #fff; font-weight: 700; margin-bottom: 12px; }
.public-footer a { display: block; color: #94a3b8; margin-bottom: 6px; font-size: .95rem; }
.public-footer a:hover { color: #6ee7b7; }
.footer-muted { color: #94a3b8; font-size: .95rem; }
.footer-bottom {
  border-top: 1px solid #1e293b; margin-top: 32px; padding-top: 20px;
  text-align: center; color: #64748b; font-size: .85rem;
}

/* Toasts */
.toast-stack {
  position: fixed; top: 80px; right: 16px; z-index: 2000;
  display: flex; flex-direction: column; gap: 10px; max-width: 360px;
}
.toast-item {
  background: #fff; border-radius: 12px; padding: 14px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  animation: slideIn .35s ease;
  border-left: 4px solid var(--primary);
}
.toast-error, .toast-danger { border-left-color: #dc2626; }
.toast-warning { border-left-color: #d97706; }
.toast-success { border-left-color: #059669; }
.toast-item button {
  background: none; border: none; font-size: 1.2rem; cursor: pointer; color: #94a3b8;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: all .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 64px; }
  .hero-card { max-width: 400px; }
}
