:root {
  --ink: #17191d;
  --muted: #747982;
  --border: #e2e5e9;
  --surface: #fff;
  --page: #f6f7f9;
  --soft: #eef1f4;
  --blue: #4169e1;
  --teal: #168d83;
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--page); }
body { min-height: 100vh; margin: 0; color: var(--ink); background: var(--page); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
.site-header { height: 66px; border-bottom: 1px solid rgba(22,25,29,.08); background: rgba(255,255,255,.86); backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 10; }
.header-inner { width: min(1180px, calc(100% - 44px)); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 750; letter-spacing: .01em; }
.brand-mark { width: 32px; height: 32px; border-radius: 10px; background: #17191d; color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 800; box-shadow: 0 4px 12px rgba(0,0,0,.13); }
.header-meta { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.header-label { color: var(--ink); font-weight: 650; }
.header-dot { width: 4px; height: 4px; border-radius: 50%; background: #aeb4bc; }
.page-shell { width: min(1180px, calc(100% - 44px)); margin: 0 auto; padding: 30px 0 84px; }
.toolbar { padding-bottom: 14px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.filters { display: flex; gap: 5px; flex-wrap: wrap; }
.filter { min-height: 34px; padding: 0 13px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 13px; transition: background .16s var(--ease), color .16s var(--ease), transform .12s var(--ease); }
.filter:hover { background: #e9edf1; color: var(--ink); }
.filter.active { background: var(--ink); color: #fff; }
.filter:not(:disabled):active { transform: scale(.96); }
.search-box { width: 198px; height: 36px; padding: 0 11px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); display: flex; align-items: center; gap: 7px; transition: border-color .16s var(--ease), box-shadow .16s var(--ease); }
.search-box:focus-within { border-color: #aeb6c0; box-shadow: 0 0 0 3px rgba(65,105,225,.1); }
.search-symbol { color: var(--muted); font-size: 20px; line-height: 1; transform: rotate(-20deg); }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.product-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { min-width: 0; border: 1px solid var(--border); border-radius: 15px; background: var(--surface); overflow: hidden; box-shadow: 0 3px 10px rgba(20,30,40,.035); display: flex; flex-direction: column; transition: border-color .18s var(--ease), box-shadow .2s var(--ease), transform .18s var(--ease); }
.product-card[hidden] { display: none; }
.product-card:hover { border-color: #c8ced6; box-shadow: 0 14px 30px rgba(20,30,40,.1); transform: translateY(-3px); }
.product-card:focus-visible { outline: 3px solid rgba(65,105,225,.24); outline-offset: 3px; }
.product-preview { width: 100%; aspect-ratio: 16 / 8.7; border-bottom: 1px solid var(--border); overflow: hidden; }
.image-preview { display: block; background: #eef0f2; object-fit: cover; object-position: center; }
.ai-preview { padding: 17px 18px; background: #fbfbfc; color: #202228; position: relative; }
.ai-preview::after { content: ""; position: absolute; width: 160px; height: 160px; right: -38px; bottom: -80px; border-radius: 50%; background: rgba(65,105,225,.08); }
.ai-preview-top { display: flex; align-items: center; gap: 7px; color: #52565d; font-size: 11px; font-weight: 700; }
.mini-brand { width: 20px; height: 20px; border-radius: 6px; background: #17191d; color: #fff; display: grid; place-items: center; font-size: 9px; }
.preview-menu { margin-left: auto; color: #a7abb2; letter-spacing: 2px; }
.ai-preview-center { height: calc(100% - 55px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; position: relative; z-index: 1; }
.ai-preview-mark { width: 29px; height: 29px; border-radius: 9px; background: #17191d; color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; box-shadow: 0 5px 14px rgba(0,0,0,.15); }
.ai-preview-center strong { font-size: 15px; }
.ai-preview-input { height: 27px; padding: 0 10px; border: 1px solid #dadde1; border-radius: 9px; background: #fff; color: #9b9fa6; display: flex; align-items: center; justify-content: space-between; font-size: 10px; position: relative; z-index: 1; }
.ai-preview-input span { width: 17px; height: 17px; border-radius: 50%; background: #17191d; color: #fff; display: grid; place-items: center; font-size: 11px; }
.product-body { padding: 17px 18px 15px; display: flex; flex-direction: column; flex: 1; }
.product-heading { min-width: 0; display: flex; align-items: center; gap: 10px; }
.product-icon { width: 31px; height: 31px; flex: 0 0 auto; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 800; }
.ai-icon { background: #536fe0; }.api-icon { background: #1f879b; }.mail-icon { background: #202329; }.sms-icon { background: #238b79; }.tools-icon { background: #5a63b6; }.registrator-icon { background: #6255df; }.store-icon { background: #c66b38; }
.product-heading h2 { margin: 0; font-size: 16px; line-height: 1.3; font-weight: 720; }
.product-heading p { margin: 2px 0 0; color: var(--muted); font-size: 11px; }
.product-arrow { margin-left: auto; color: #a3a9b1; font-size: 19px; transition: color .16s var(--ease), transform .16s var(--ease); }
.product-card:hover .product-arrow { color: var(--ink); transform: translate(2px,-2px); }
.product-description { min-height: 42px; margin: 14px 0 17px; color: #626871; font-size: 13px; line-height: 1.6; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.category-tag { padding: 4px 8px; border-radius: 6px; font-size: 10px; font-weight: 700; }
.ai-tag { background: #edf0ff; color: #4d64c3; }.communication-tag { background: #eaf7f3; color: #277d70; }.tools-tag { background: #efeffb; color: #5b5fa3; }
.online { color: #6d747c; font-size: 11px; }.online i { width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: #2da16f; display: inline-block; vertical-align: 1px; }
.testing i { background: #d48a27; }
.empty-state { margin: 48px 0; color: var(--muted); text-align: center; font-size: 14px; }
.store-preview { padding: 17px 18px; color: #39251e; background: #fff8f1; position: relative; overflow: hidden; }
.store-preview::after { content: ""; position: absolute; width: 180px; height: 180px; right: -46px; bottom: -92px; border-radius: 50%; background: rgba(198,107,56,.12); }
.store-preview-bar { display: flex; align-items: center; gap: 7px; color: #684535; font-size: 11px; font-weight: 750; position: relative; z-index: 1; }
.store-logo { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; color: #fff; background: #c66b38; font-size: 10px; }
.store-preview-menu { margin-left: auto; color: #9d7764; font-size: 10px; font-weight: 650; }
.store-preview-content { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: calc(100% - 25px); position: relative; z-index: 1; }
.store-preview-content strong { font-size: 16px; }
.store-preview-content > span:last-child { color: #9d7764; font-size: 10px; }
.store-badge { padding: 3px 7px; border-radius: 5px; color: #a64e22; background: #ffe2cc; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.store-preview-line { position: absolute; left: 18px; bottom: 13px; z-index: 1; display: flex; gap: 4px; }
.store-preview-line i { width: 22px; height: 3px; border-radius: 9px; background: #e8bd9f; }
.site-footer { width: min(1180px, calc(100% - 44px)); margin: 0 auto; padding: 0 0 28px; color: #9ba1a8; display: flex; justify-content: space-between; font-size: 11px; }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .site-header { height: 60px; } .header-inner, .page-shell, .site-footer { width: min(100% - 28px, 520px); } .header-meta { display: none; } .page-shell { padding-top: 22px; } .toolbar { align-items: stretch; flex-direction: column-reverse; } .search-box { width: 100%; } .product-grid { grid-template-columns: 1fr; gap: 14px; } .product-preview { aspect-ratio: 16 / 8; } .product-description { min-height: 0; } .site-footer { padding-bottom: 20px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
