/* =========================================================
   Kabaciz — Dropship & Affiliate Platform
   ========================================================= */
:root {
  --brand: #5b2eff;
  --brand-2: #8a5cff;
  --brand-dark: #3d17cc;
  --accent: #ff7a1a;
  --accent-2: #ffb21a;
  --ink: #12101f;
  --ink-2: #3b3a4a;
  --muted: #6e6c80;
  --line: #e7e5f0;
  --bg: #ffffff;
  --bg-soft: #f6f4ff;
  --bg-dark: #0f0c1d;
  --ok: #16a34a;
  --warn: #f59e0b;
  --err: #dc2626;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(32, 16, 96, .08);
  --shadow-lg: 0 24px 60px rgba(32, 16, 96, .16);
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: .18s ease; white-space: nowrap; border: 1.5px solid transparent;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(91, 46, 255, .35); }
.btn-accent { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; }
.btn-accent:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255, 122, 26, .35); }
.btn-ghost { border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 13.5px; }
.btn-lg { padding: 15px 28px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ---------- Top bar & header ---------- */
.topbar {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand), var(--accent));
  color: #fff; font-size: 13.5px; text-align: center; padding: 8px 12px;
}
.topbar b { color: #ffe08a; }
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 24px; letter-spacing: -.5px; line-height: 1; }
.logo-mark { width: 36px; height: 36px; flex: none; display: block; filter: drop-shadow(0 4px 10px rgba(91, 46, 255, .28)); transition: transform .2s; }
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.05); }
.logo-word b { font-weight: 800; color: var(--accent); }
.nav { display: flex; gap: 4px; flex: 1; }
.nav a { padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; }
.nav a:hover, .nav a.active { background: var(--bg-soft); color: var(--brand); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; }
.icon-btn:hover { background: var(--bg-soft); }
.badge-dot {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
.burger { display: none; font-size: 24px; }
.subnav { border-top: 1px solid var(--line); background: #fff; }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 8px; padding-bottom: 8px; scrollbar-width: none; }
.subnav a { padding: 5px 12px; font-size: 13.5px; border-radius: 999px; color: var(--muted); white-space: nowrap; }
.subnav a:hover { color: var(--brand); background: var(--bg-soft); }
.user-chip { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; display: grid; place-items: center; font-weight: 700; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: #fff; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.section-dark .eyebrow { color: var(--accent-2); }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.5px; }
.h-xl { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
.h-lg { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.h-md { font-size: 22px; font-weight: 700; }
.lead { font-size: 18px; color: var(--muted); }
.section-dark .lead { color: #b9b5d4; }
.center { text-align: center; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head .lead { margin-top: 12px; }
.grad-text { background: linear-gradient(90deg, var(--brand-2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(255, 122, 26, .25), transparent 60%), radial-gradient(900px 500px at 0% 0%, rgba(91, 46, 255, .45), transparent 60%), var(--bg-dark); color: #fff; padding: 72px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero p.lead { color: #c9c5e6; margin: 20px 0 30px; max-width: 520px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.hero-trust { display: flex; gap: 22px; margin-top: 34px; color: #a9a5c7; font-size: 14px; flex-wrap: wrap; }
.hero-trust span::before { content: "✓ "; color: var(--accent-2); font-weight: 700; }

/* Hero picker — dark glass card */
.picker { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); color: #fff; border-radius: 22px; padding: 30px 28px 26px; box-shadow: 0 30px 80px rgba(0,0,0,.35); backdrop-filter: blur(14px); }
.picker h3 { font-size: 23px; font-weight: 800; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.picker h3 .h-ico { width: 32px; height: 32px; border-radius: 8px; background: #fff; display: grid; place-items: center; font-size: 17px; flex: none; }
.picker .step-note { font-size: 13.5px; color: #a9a5c7; margin-bottom: 18px; }
.picker .step-note.center { text-align: center; margin: 18px 0 0; }
.picker-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 12px; }
.pick {
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); color: #fff; border-radius: 10px; padding: 16px 8px 13px; text-align: center; transition: .15s;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 80px;
}
.pick:hover { border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.07); }
.pick.on { border-color: #22c55e; background: rgba(34,197,94,.12); box-shadow: 0 0 0 1px #22c55e inset; }
.pick .ico { font-size: 24px; }
.pick b { font-size: 14px; }
.pick small { font-size: 11px; font-weight: 500; letter-spacing: .4px; color: #a9a5c7; text-transform: uppercase; }
.picker-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.picker-alt .pick { flex-direction: row; justify-content: flex-start; min-height: 0; padding: 11px 14px; font-size: 14px; font-weight: 600; gap: 10px; }
/* text wordmarks */
.wm { font-size: 22px; line-height: 1; font-weight: 800; letter-spacing: -.5px; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.wm-shopify { color: #95bf47; font-style: italic; font-weight: 700; }
.wm-amazon { color: #fff; font-weight: 700; position: relative; padding-bottom: 6px; }
.wm-amazon::after { content: ""; position: absolute; left: 14%; right: 8%; bottom: 0; height: 7px; border-bottom: 2.5px solid #ff9900; border-radius: 0 0 50% 50%; }
.wm-tiktok { color: #fff; font-size: 19px; font-weight: 700; }
.wm-tiktok i { font-style: normal; color: #fff; text-shadow: -1.5px -1px 0 #25f4ee, 1.5px 1px 0 #fe2c55; }
.wm-walmart { color: #3d9bff; font-weight: 800; }
.wm-walmart i { font-style: normal; color: #ffc220; }
.wm-woo { color: #9b5cff; font-size: 27px; font-weight: 900; letter-spacing: -1px; }
.wm-ebay { font-size: 26px; font-weight: 600; letter-spacing: -1.5px; }
.wm-ebay span:nth-child(1) { color: #e53238; } .wm-ebay span:nth-child(2) { color: #0064d2; } .wm-ebay span:nth-child(3) { color: #f5af02; } .wm-ebay span:nth-child(4) { color: #86b817; }
.wm-etsy { color: #f1641e; font-family: Georgia, serif; font-weight: 700; font-size: 24px; }
.wm-facebook { color: #4b9bff; font-weight: 800; }
.wm-temu { color: #fb7701; font-weight: 900; letter-spacing: 1px; }
.picker-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; gap: 10px; }
.picker-foot .btn-next { background: #22c55e; color: #fff; border: 0; }
.picker-foot .btn-next:hover { background: #16a34a; }
.picker-foot .btn-next:disabled { background: rgba(34,197,94,.45); color: rgba(255,255,255,.8); cursor: not-allowed; }
.picker-foot .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.picker-progress { display: flex; gap: 6px; }
.picker-progress i { width: 26px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.15); }
.picker-progress i.on { background: #22c55e; }
.goal-list { display: grid; gap: 10px; }
.goal-list .pick { flex-direction: row; justify-content: flex-start; text-align: left; padding: 14px; gap: 12px; min-height: 0; }
.goal-list .pick div { display: flex; flex-direction: column; }
.goal-list .pick span { font-size: 13px; color: #a9a5c7; }
.roadmap { display: grid; gap: 10px; }
.roadmap li { list-style: none; display: flex; gap: 12px; align-items: flex-start; padding: 12px; background: var(--bg-soft); border-radius: 12px; font-size: 14.5px; }
.picker .roadmap li { background: rgba(255,255,255,.06); color: #e8e6f7; }
.roadmap li b { display: block; }
.roadmap .num { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -46px; position: relative; z-index: 2; }
.stat { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); text-align: center; border: 1px solid var(--line); }
.stat b { display: block; font-size: 34px; font-weight: 800; color: var(--brand); }
.stat span { color: var(--muted); font-size: 14.5px; }

/* ---------- Feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 90px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.rev .feature-visual { order: -1; }
.feature-row ul { margin: 20px 0 26px; display: grid; gap: 10px; }
.feature-row li { list-style: none; padding-left: 28px; position: relative; color: var(--ink-2); }
.feature-row li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #ece6ff; color: var(--brand); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.feature-visual { background: linear-gradient(135deg, #efeaff, #fff2e6); border-radius: 22px; padding: 28px; min-height: 340px; display: flex; align-items: center; justify-content: center; }
.mock { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 18px; width: 100%; max-width: 440px; }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.mock-row:last-child { border-bottom: 0; }
.mock-thumb { width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center; font-size: 20px; background: var(--bg-soft); flex: none; overflow: hidden; }
.mock-thumb > img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.mock-row .grow { flex: 1; }
.mock-row small { color: var(--muted); display: block; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pill-ok { background: #dcfce7; color: #15803d; }
.pill-warn { background: #fef3c7; color: #b45309; }
.pill-brand { background: #ece6ff; color: var(--brand); }
.pill-accent { background: #ffedd5; color: #c2410c; }
.pill-gray { background: #f1f0f5; color: var(--muted); }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .ico-lg { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; font-size: 24px; background: var(--bg-soft); margin-bottom: 16px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card .link { display: inline-block; margin-top: 14px; color: var(--brand); font-weight: 600; font-size: 14.5px; }

/* Category tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.tab { padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; font-size: 14.5px; background: #fff; }
.tab.on, .tab:hover { border-color: var(--brand); color: var(--brand); background: var(--bg-soft); }

/* ---------- Product card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.p-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .2s; cursor: pointer; }
.p-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #d8d2f5; }
.p-img { aspect-ratio: 1/1; display: grid; place-items: center; font-size: 76px; position: relative; overflow: hidden; }
.p-img > img { width: 100%; height: 100%; object-fit: contain; background: #fff; transition: transform .3s; }
.p-card:hover .p-img > img { transform: scale(1.04); }
.pd-img { overflow: hidden; }
.pd-img > img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.thumb-img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: #fff; flex: none; }
.p-tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 5px; flex-wrap: wrap; }
.p-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-title { font-size: 14.5px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 44px; }
.p-supplier { font-size: 12.5px; color: var(--muted); }
.p-price { display: flex; align-items: baseline; gap: 8px; }
.p-price b { font-size: 18px; color: var(--ink); }
.p-price s { font-size: 13px; color: var(--muted); }
.p-meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.p-profit { color: var(--ok); font-weight: 700; }
.p-actions { padding: 0 14px 14px; display: flex; gap: 8px; }
.p-actions .btn { flex: 1; }
.p-actions .btn.added { background: var(--ok); }

/* ---------- Integrations logos ---------- */
.logo-cloud { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.logo-tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 10px; text-align: center; font-weight: 700; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: .2s; }
.logo-tile:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.logo-tile .ch-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 20px; font-weight: 800; }
.logo-tile small { font-weight: 500; color: var(--muted); font-size: 12px; }

/* Channel cards (integrations page) */
.channel-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.channel-head { display: flex; align-items: center; gap: 12px; }
.channel-head .ch-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 20px; font-weight: 800; flex: none; }
.channel-head h3 { font-size: 17px; }
.channel-head small { color: var(--muted); font-size: 13px; }
.channel-card p { font-size: 14px; color: var(--muted); flex: 1; }
.channel-feats { display: flex; gap: 6px; flex-wrap: wrap; }
.channel-card.connected { border-color: #86efac; background: linear-gradient(180deg, #f0fdf4, #fff 50%); }

/* ---------- Testimonials ---------- */
.testi-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.testi { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 22px; }
.testi p { color: #d6d3ec; font-size: 14.5px; margin: 12px 0 16px; }
.testi .who { display: flex; align-items: center; gap: 10px; }
.testi .who small { color: #9e9abc; display: block; font-size: 12.5px; }
.stars { color: var(--accent-2); letter-spacing: 2px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.faq-q { width: 100%; text-align: left; padding: 18px 22px; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; }
.faq-q::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand); transition: .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 22px 18px; color: var(--muted); font-size: 15px; }
.faq-item.open .faq-a { display: block; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand-dark), var(--brand) 55%, var(--accent)); color: #fff; border-radius: 26px; padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta-band ul { display: grid; gap: 10px; }
.cta-band li { list-style: none; background: rgba(255,255,255,.12); padding: 12px 16px; border-radius: 12px; font-size: 15px; }
.cta-band .btn { background: #fff; color: var(--brand); margin-top: 24px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: #b9b5d4; padding: 64px 0 28px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer-contact { margin: 16px 0 18px; gap: 8px !important; font-size: 13.5px; }
.footer-contact li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.45; }
.footer-contact li span { flex: none; width: 18px; text-align: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.footer-bottom div { display: flex; gap: 18px; }
.newsletter { display: flex; gap: 8px; margin-top: 16px; }
.newsletter input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: radial-gradient(800px 300px at 90% 0%, rgba(255,122,26,.2), transparent 60%), radial-gradient(700px 400px at 0% 0%, rgba(91,46,255,.4), transparent 60%), var(--bg-dark); color: #fff; padding: 56px 0; }
.page-hero .lead { color: #c9c5e6; margin-top: 12px; max-width: 680px; }

/* ---------- Catalog ---------- */
.catalog { display: grid; grid-template-columns: 250px 1fr; gap: 28px; padding: 34px 0 80px; }
.filters { position: sticky; top: 130px; align-self: start; display: grid; gap: 22px; }
.filter-group h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); margin-bottom: 10px; }
.filter-group label { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 14.5px; cursor: pointer; }
.filter-group input[type=checkbox], .filter-group input[type=radio] { accent-color: var(--brand); width: 16px; height: 16px; }
.range-row { display: flex; gap: 8px; align-items: center; }
.input { width: 100%; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: .15s; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(91,46,255,.12); }
.toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.search-box { flex: 1; min-width: 220px; position: relative; }
.search-box input { padding-left: 40px; }
.search-box::before { content: "🔍"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 14px; }
.result-count { color: var(--muted); font-size: 14px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { padding: 6px 14px; border-radius: 999px; background: var(--bg-soft); font-size: 13.5px; font-weight: 500; border: 1.5px solid transparent; }
.chip.on { border-color: var(--brand); color: var(--brand); background: #fff; }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); border: 2px dashed var(--line); border-radius: var(--radius); }
.empty .big { font-size: 46px; margin-bottom: 10px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.pager button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; }
.pager button.on { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- Modal ---------- */
.modal-back { position: fixed; inset: 0; background: rgba(15, 12, 29, .6); backdrop-filter: blur(3px); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; animation: fade .15s; }
.modal { background: #fff; border-radius: 20px; width: 100%; max-width: 460px; max-height: 92vh; overflow-y: auto; position: relative; box-shadow: var(--shadow-lg); animation: pop .2s; }
.modal.wide { max-width: 900px; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-soft); font-size: 18px; z-index: 2; }
.modal-body { padding: 32px; }
.modal h2 { font-size: 24px; margin-bottom: 6px; }
.form { display: grid; gap: 14px; margin-top: 20px; }
.form label { font-size: 13.5px; font-weight: 600; display: grid; gap: 6px; }
.form-switch { text-align: center; font-size: 14px; color: var(--muted); margin-top: 16px; }
.form-switch a { color: var(--brand); font-weight: 600; cursor: pointer; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 4px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pd-grid { display: grid; grid-template-columns: 1fr 1.1fr; }
.pd-img { display: grid; place-items: center; font-size: 150px; min-height: 380px; border-radius: 20px 0 0 20px; }
.pd-info { padding: 34px 30px; display: grid; gap: 14px; align-content: start; }
.pd-info h2 { font-size: 22px; }
.pd-table { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-table div { background: var(--bg-soft); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--muted); }
.pd-table b { display: block; color: var(--ink); font-size: 16px; }
.pd-channels { display: flex; gap: 6px; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 22px; right: 22px; z-index: 200; display: grid; gap: 10px; }
.toast { background: var(--ink); color: #fff; padding: 13px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: 14.5px; display: flex; gap: 10px; align-items: center; animation: pop .2s; max-width: 360px; }
.toast.ok { background: #14532d; }
.toast.err { background: #7f1d1d; }

/* ---------- Pricing ---------- */
.billing-toggle { display: inline-flex; background: rgba(255,255,255,.1); padding: 5px; border-radius: 999px; margin-top: 26px; }
.billing-toggle button { padding: 9px 20px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: #d6d3ec; }
.billing-toggle button.on { background: #fff; color: var(--brand); }
.billing-toggle small { color: var(--accent-2); font-weight: 700; margin-left: 4px; }
.billing-toggle button.on small { color: var(--accent); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -40px; position: relative; }
.plan { background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: 28px 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.plan.best { border-color: var(--brand); box-shadow: 0 20px 50px rgba(91,46,255,.22); position: relative; }
.plan.best::before { content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, var(--brand), var(--accent)); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.plan h3 { font-size: 21px; }
.plan .desc { color: var(--muted); font-size: 14px; min-height: 42px; }
.plan .price { font-size: 38px; font-weight: 800; letter-spacing: -1px; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan .billed { font-size: 13px; color: var(--muted); min-height: 20px; }
.plan .billed b { color: var(--ok); }
.plan ul { list-style: none; display: grid; gap: 9px; font-size: 14px; border-top: 1px solid var(--line); padding-top: 16px; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.plan li.head { padding-left: 0; font-weight: 700; }
.plan li.head::before { content: none; }
.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: var(--bg-soft); font-size: 15px; }
.compare .grp td { background: #faf9ff; font-weight: 700; color: var(--brand); text-align: left; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- Tools ---------- */
.tool-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.tool-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.tool-card h3 { font-size: 20px; margin-bottom: 6px; }
.tool-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.result-box { margin-top: 20px; background: var(--bg-soft); border-radius: 14px; padding: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.result-box div { font-size: 13px; color: var(--muted); }
.result-box b { display: block; font-size: 20px; color: var(--ink); }
.result-box b.pos { color: var(--ok); }
.result-box b.neg { color: var(--err); }
.name-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.name-results div { padding: 14px; border-radius: 12px; background: var(--bg-soft); font-weight: 700; display: flex; justify-content: space-between; align-items: center; }

/* ---------- Dashboard ---------- */
.dash { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 68px); }
.dash-side { background: var(--bg-dark); color: #c9c5e6; padding: 22px 14px; display: flex; flex-direction: column; gap: 4px; }
.dash-side .label { font-size: 11.5px; text-transform: uppercase; letter-spacing: 1px; color: #77739a; padding: 14px 12px 6px; }
.dash-side button { text-align: left; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; display: flex; align-items: center; gap: 10px; }
.dash-side button:hover { background: rgba(255,255,255,.06); color: #fff; }
.dash-side button.on { background: var(--brand); color: #fff; }
.dash-side .count { margin-left: auto; background: rgba(255,255,255,.15); font-size: 11.5px; padding: 1px 8px; border-radius: 999px; }
.dash-main { background: #f8f7fc; padding: 28px 32px 60px; min-width: 0; }
.dash-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.dash-title h1 { font-size: 26px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.kpi span { font-size: 13px; color: var(--muted); }
.kpi b { display: block; font-size: 26px; margin: 4px 0; }
.kpi small { font-size: 12.5px; color: var(--ok); font-weight: 600; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; flex-wrap: wrap; }
.panel-head h3 { font-size: 17px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); padding: 10px; border-bottom: 1px solid var(--line); font-weight: 600; }
.tbl td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .prod { display: flex; align-items: center; gap: 10px; }
.tbl .prod .mock-thumb { width: 42px; height: 42px; }
.tbl select, .tbl input { padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 13.5px; background: #fff; }
.tbl input { width: 90px; }
.chart { display: flex; align-items: flex-end; gap: 10px; height: 190px; padding-top: 10px; }
.chart .bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.chart .bar i { width: 100%; max-width: 42px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--brand-2), var(--brand)); display: block; }
.chart .bar span { font-size: 12px; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.gate { max-width: 480px; margin: 80px auto; text-align: center; }
.gate .big { font-size: 56px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .product-grid, .plans { grid-template-columns: repeat(3, 1fr); }
  .logo-cloud { grid-template-columns: repeat(4, 1fr); }
  .testi-track { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 1180px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .burger { display: block; }
  .header-row { justify-content: space-between; }
}
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .burger { display: block; }
  .header-actions .hide-m { display: none; }
  .hero-grid, .feature-row, .cta-band, .tool-layout, .two-col, .pd-grid { grid-template-columns: 1fr; }
  .feature-row.rev .feature-visual { order: 0; }
  .stats, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .plans { grid-template-columns: repeat(2, 1fr); }
  .plans { margin-top: 30px; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; grid-template-columns: repeat(2, 1fr); }
  .dash { grid-template-columns: 1fr; }
  .dash-side { flex-direction: row; overflow-x: auto; padding: 10px; }
  .dash-side .label { display: none; }
  .dash-side button { white-space: nowrap; }
  .dash-main { padding: 20px 16px; }
  .pd-img { min-height: 220px; border-radius: 20px 20px 0 0; font-size: 110px; }
  .cta-band { padding: 34px 24px; }
  section { padding: 60px 0; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .product-grid, .stats, .grid-3, .grid-4, .plans, .testi-track, .filters, .form-2, .kpis { grid-template-columns: 1fr; }
  .logo-cloud { grid-template-columns: repeat(2, 1fr); }
  .picker-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .result-box { grid-template-columns: 1fr 1fr; }
  .tbl { display: block; overflow-x: auto; }
  .modal-body { padding: 24px 20px; }
}

/* =========================================================
   Partner Program (partners.html)
   ========================================================= */
.job-card-hero { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 26px; backdrop-filter: blur(8px); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.jch-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.jch-head > div { flex: 1; min-width: 0; }
.jch-head b { display: block; font-size: 16.5px; }
.jch-head small { color: #a9a5c7; font-size: 13px; }
.jch-ico { width: 46px; height: 46px; flex: none; border-radius: 13px; display: grid; place-items: center; font-size: 22px; background: linear-gradient(135deg, var(--brand), var(--accent)); }
.jch-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin: 20px 0 22px; }
.jch-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .8px; color: #a9a5c7; margin-bottom: 3px; }
.jch-facts dd { font-weight: 600; font-size: 14.5px; color: #fff; }
.jch-facts dd.budget { font-size: 22px; font-weight: 800; color: var(--accent-2); }
.jch-note { text-align: center; color: #a9a5c7; font-size: 13px; margin-top: 10px; }

.role-card { display: flex; flex-direction: column; }
.role-card p { flex: 1; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.role-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.role-foot b { color: var(--ink); font-size: 16px; }

.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.req-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.req-box-strong { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.req-box h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 16px; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: #dcfce7; color: var(--ok); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.nice-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin-top: 26px; font-size: 14.5px; }
.nice-row .pill { font-size: 13px; padding: 5px 12px; background: #fff; border: 1px solid var(--line); }

.process { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.process li { position: relative; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 24px; }
.process .num { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: linear-gradient(135deg, var(--brand), var(--accent)); margin-bottom: 14px; }
.process b { display: block; font-size: 17px; margin-bottom: 6px; }
.process p { color: #b9b5d4; font-size: 14.5px; }




@media (max-width: 960px) {
  .req-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .process, .jch-facts { grid-template-columns: 1fr; }
  .role-foot { flex-wrap: wrap; gap: 10px; }
}
