/* Demo inspired by the screenshot layout (not an exact copy). */
:root{
  --blue1:#2749ff;
  --blue2:#4a7cff;
  --ink:#0f172a;
  --muted:#6b7280;
  --card:#ffffff;
  --line:#e5e7eb;
  --cta:#ff3b6a;
  --top:#111827;
  --wa:#22c55e;
  --shadow: 0 18px 40px rgba(0,0,0,.18);
  --radius: 18px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

*{box-sizing:border-box}
body{margin:0;font-family:var(--sans);color:var(--ink);background:#f3f4f6}

.topbar{
  height:44px;
  background:var(--top);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-size:14px;
}
.wa-dot{
  width:18px;height:18px;border-radius:999px;
  background:var(--wa);
  box-shadow:0 0 0 3px rgba(34,197,94,.18);
}

.site-header{
  position:sticky;top:0;z-index:10;
  background:#fff;
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 14px;
  border-bottom:1px solid var(--line);
}
.brand{display:flex;align-items:center;gap:10px;flex:1}
.brand-mark{
  width:28px;height:28px;border-radius:6px;
  background: linear-gradient(180deg, #2dd4bf, #22c55e);
  transform: rotate(45deg);
}
.brand-name{display:flex;align-items:center;gap:8px}
.brand-name strong{font-size:20px;letter-spacing:.2px}
.demo-pill{
  font-size:11px;
  padding:3px 8px;
  border-radius:999px;
  border:1px solid var(--line);
  color:var(--muted);
}

.cta{
  background:var(--cta);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  padding:10px 14px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.menu{
  border:none;background:transparent; padding:10px; cursor:pointer;
  display:grid;gap:4px;
}
.menu span{display:block;width:20px;height:2px;background:#111827;border-radius:2px}

.hero{
  background: linear-gradient(180deg, var(--blue2), var(--blue1));
  padding:34px 16px 46px;
}
.hero-inner{
  max-width:760px;
  margin:0 auto;
}
.hero h1{
  margin:0;
  color:#fff;
  font-size:36px;
  line-height:1.05;
  letter-spacing:-0.6px;
}
.hero p{
  margin:10px 0 0;
  color:rgba(255,255,255,.88);
  font-size:14px;
}

.card{
  margin-top:22px;
  background:var(--card);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}
.card h2{
  margin:0 0 12px;
  font-size:20px;
}
.tabs{
  display:flex;
  gap:12px;
  border-bottom:2px solid #dbeafe;
  margin-bottom:12px;
}
.tab{
  border:none;background:transparent;
  padding:10px 2px;
  font-weight:700;
  color:#6b7280;
  border-bottom:3px solid transparent;
}
.tab.active{
  color: #1d4ed8;
  border-bottom-color:#1d4ed8;
}
.tab:disabled{opacity:.5}

.search{
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px 12px;
  background:#f9fafb;
}
.search-icon{
  width:18px;height:18px;border-radius:99px;
  border:2px solid #9ca3af;
  position:relative;
}
.search-icon:after{
  content:"";
  width:8px;height:2px;background:#9ca3af;
  position:absolute; right:-6px; bottom:-3px;
  transform: rotate(45deg);
  border-radius:2px;
}
input{
  border:none;outline:none;background:transparent;
  width:100%;
  font-size:16px;
}
.search-btn{
  width:100%;
  margin-top:12px;
  border:none;
  padding:12px 14px;
  border-radius:14px;
  background:#e5e7eb;
  color:#6b7280;
  font-weight:800;
  cursor:pointer;
}
.search-btn.active{
  background:#1d4ed8;
  color:#fff;
}
.result{
  margin-top:12px;
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px;
  background:#fff;
}
.hidden{display:none}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:900;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
}
.badge.ok{color:#166534;background:rgba(34,197,94,.12);border:1px solid rgba(34,197,94,.35)}
.badge.bad{color:#991b1b;background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.35)}

.grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:10px;
}
.item{
  border:1px solid #f3f4f6;
  border-radius:12px;
  padding:10px;
  background:#fafafa;
}
.k{font-size:12px;color:var(--muted);margin-bottom:6px}
.v{font-size:14px;font-weight:800;word-break:break-word}
.mono{font-family:var(--mono)}

.footnote{
  margin:12px 0 0;
  font-size:12px;
  color:var(--muted);
}

@media (max-width:520px){
  .hero h1{font-size:32px}
  .grid{grid-template-columns:1fr}
}
.logo{
height:28px;
margin-right:10px;
}
.btn-pdf{
  display:inline-block;
  margin-top:12px;
  padding:12px 20px;
  background:#2563eb;
  color:white;
  text-decoration:none;
  border-radius:8px;
  font-weight:600;
  transition:0.2s;
}

.btn-pdf:hover{
  background:#1d4ed8;
}