:root {
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --soft: #f4f8ff;
  --bg: #ffffff;
  --brand: #1990ff; /* ColibriERP logo blue */
  --brand-dark: #0b6fd8; /* buttons and links: readable on white */
  --brand-soft: #e6f2ff;
  --wa: #25d366;
  --wa-dark: #128c4b;
  --ml: #ffe600;
  --good: #16a34a;
  --bad: #dc2626;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--brand-dark); }
img { max-width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* header */
header.top {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  position: sticky;
  top: 0;
  backdrop-filter: blur(6px);
  z-index: 10;
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 21px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo img { width: 40px; height: 40px; }
.logo .name b { color: var(--brand); font-weight: 800; }
nav.links { display: flex; gap: 22px; align-items: center; font-size: 15px; }
nav.links a { color: var(--muted); text-decoration: none; }
nav.links a:hover { color: var(--ink); }
nav.links .lang { border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px; text-decoration: none; font-weight: 600; border: 1px solid transparent; }
.btn img { width: 20px; height: 20px; }
.btn-wa { background: var(--wa-dark); color: #fff; }
.btn-wa:hover { background: #0f7a41; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cbd5e1; }
.btn-sm { padding: 7px 14px; font-size: 14px; border-radius: 8px; }

/* hero */
.hero { padding: 64px 0 56px; background: radial-gradient(1200px 500px at 85% -10%, #d6eaff 0%, rgba(214, 234, 255, 0) 60%), linear-gradient(180deg, var(--soft) 0%, var(--bg) 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.eyebrow b { color: var(--brand-dark); }
.hero h1 { font-size: clamp(32px, 4.6vw, 50px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.with { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.mk-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* marketplace logo chips */
.mk { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 15px; color: var(--ink); }
.mk img { height: 22px; width: auto; }
.mk.ml { background: var(--ml); border-color: #f5dc00; }
.mk.ml img { height: 26px; }

/* product mockup */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px -24px rgba(15, 23, 42, 0.28); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #f8fafc; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; display: block; }
.mock-bar span { margin-left: 8px; font-size: 12px; color: var(--muted); }
.mock-body { padding: 16px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.kpi small { display: block; color: var(--muted); font-size: 11px; }
.kpi strong { font-size: 18px; }
.kpi .up { color: var(--good); font-size: 11px; font-weight: 600; white-space: nowrap; }
.chart { border: 1px solid var(--line); border-radius: 10px; padding: 10px 10px 4px; margin-bottom: 14px; }
.chart small { color: var(--muted); font-size: 11px; }
.chart svg { width: 100%; height: 90px; display: block; }
.stores { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.store { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; font-size: 13px; }
.store + .store { border-top: 1px solid var(--line); }
.store .ic { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: #f1f5f9; }
.store .ic img { width: 18px; height: 18px; }
.store .ic.ml { background: var(--ml); }
.store .ic.ml img { width: 26px; height: auto; }
.store small { display: block; color: var(--muted); font-size: 11px; }
.store b { color: var(--good); }
.mock-note { font-size: 11px; color: #94a3b8; text-align: right; padding: 0 16px 10px; }

/* sections */
section { padding: 72px 0; }
section h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; margin: 0 0 10px; letter-spacing: -0.01em; }
section p.sub { color: var(--muted); margin: 0 0 36px; max-width: 720px; font-size: 17px; }
.center { text-align: center; }
.center p.sub { margin-left: auto; margin-right: auto; }
.band { background: var(--soft); }

/* integrations */
.integrations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.integ { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: #fff; }
.integ .head { height: 64px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; font-weight: 700; font-size: 20px; }
.integ .head img { height: 30px; width: auto; }
.integ .head.ml { background: var(--ml); }
.integ .head.ml img { height: 40px; }
.integ .head.sp { background: #fff1ee; color: #ee4d2d; }
.integ .head.tk { background: #f1f5f9; color: #000; }
.integ ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.integ li { margin-bottom: 6px; }

/* features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: #fff; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.ico svg { width: 24px; height: 24px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 14px; color: #1e293b; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6fd8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* creator mockup */
.creators { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px -28px rgba(15, 23, 42, 0.3); padding: 16px; }
.creators .title { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 12px; }
.creators .title img { width: 20px; height: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.filters span { font-size: 12px; background: #f1f5f9; border-radius: 999px; padding: 3px 10px; color: var(--muted); }
.creator { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; }
.creator + .creator { border-top: 1px solid var(--line); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; }
.creator small { display: block; color: var(--muted); font-size: 12px; }
.invite { font-size: 12px; font-weight: 600; border-radius: 8px; padding: 6px 10px; background: var(--brand-dark); color: #fff; }
.invite.sent { background: #dcfce7; color: #166534; }

/* company + contact */
.company dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.company dt { color: var(--muted); }
.company dd { margin: 0; }
.contact-card { border-radius: 20px; padding: 32px; background: linear-gradient(135deg, var(--brand) 0%, #0b6fd8 100%); color: #fff; }
.contact-card h2 { color: #fff; }
.contact-card p { color: #e0efff; margin: 0 0 22px; }
.contact-card .btn-wa { background: #fff; color: var(--wa-dark); }
.contact-card .btn-wa:hover { background: #f0fdf4; }
.contact-card .phone { display: block; margin-top: 14px; color: #e0efff; font-size: 15px; }

/* floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px -8px rgba(18, 140, 75, 0.6); z-index: 20; }
.wa-float img { width: 30px; height: 30px; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: var(--muted); }
footer .tm { flex-basis: 100%; font-size: 12px; color: #94a3b8; }

/* legal pages */
.legal { padding: 48px 0 64px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: 34px; margin: 0 0 4px; }
.legal .updated { color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-size: 21px; margin: 32px 0 8px; }
.legal p, .legal li { color: #1e293b; }
.legal ul { padding-left: 22px; }

@media (max-width: 900px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .integrations, .grid, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  nav.links a.hide-sm { display: none; }
  .hero { padding: 40px 0 40px; }
  section { padding: 48px 0; }
  .kpi strong { font-size: 15px; }
  .contact-card { padding: 24px; }
}
.soon { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #fff4e5; color: #b45309; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
