import{q as u,n as e,L as C}from"./vendor-react-DfNOgXDS.js";import{al as w,bb as l,P as c,bw as i,B as S,Z as D,bE as a,M as h,r as p,aj as R,v as x,z as $,D as B,ak as j,x as q,w as f,F as N,y as E,A as L,b as I,c as M,a as _,c0 as o}from"./index-CRANE7wv.js";import"./vendor-dayjs-BrZ9gQN4.js";import{g as F,f as z}from"./MarketingShell-3Ivhn3sU.js";import{W as O}from"./wallet-D-pZeRLi.js";import{S as T}from"./sparkles-DuPXC15E.js";import{Z as H}from"./zap-DLo9YKtg.js";import{C as W}from"./crown-DiUAe4fC.js";import"./vendor-query-CutdBoCI.js";import"./vendor-antd-core-R0BvUBa1.js";import"./vendor-i18n-BWzZRYJm.js";import"./vendor-sentry-BlaL7Aw0.js";import"./globe-CZMJX-ig.js";const y=[{id:"free",name:"Free",icon:O,priceUSD:0,priceRUB:0,period:"/мес",tagline:"Попробуйте платформу без обязательств",bestFor:"одиночные импортёры, тест перед апгрейдом",accent:"neutral",bullets:["1 пользователь","3 активные отправки","Public tracking РїРѕ номеру","Калькулятор стоимости","AI-чат поддержка"],ctaLabel:"Начать бесплатно",ctaHref:"/login?signup=1&plan=free"},{id:"starter",name:"Starter",icon:T,priceUSD:99,priceRUB:9900,period:"/мес",tagline:"Полнофункциональный B2B-портал для команды",bestFor:"малый бизнес, регулярный РёРјРїРѕСЂС‚ РґРѕ 20 отправок/мес",accent:"primary",highlighted:!0,bullets:["5 пользователей","20 активных отправок","B2B портал","Shareable tracking links","Email + chat поддержка","Базовые документы"],ctaLabel:"Попробовать 14 дней",ctaHref:"/login?signup=1&plan=starter"},{id:"pro",name:"Pro",icon:H,priceUSD:299,priceRUB:29900,period:"/мес",tagline:"AI + OCR + webhooks для масштабирующейся ops-команды",bestFor:"средний бизнес, 50+ отправок/мес, ops-автоматизация",accent:"info",bullets:["25 пользователей","100 активных отправок","OCR 100 страниц/мес ($0.30/page overage)","AI auto-quote 50/мес ($1/quote overage)","Predictive ETA","Custom roles","Webhooks","Р’СЃС‘ РёР· Starter"],ctaLabel:"Попробовать 14 дней",ctaHref:"/login?signup=1&plan=pro"},{id:"enterprise",name:"Enterprise",icon:W,priceUSD:null,priceRUB:null,period:"",tagline:"SLA, прямые carrier APIs, SSO Рё compliance",bestFor:"крупный РёРјРїРѕСЂС‚, регулярные объёмы, требования compliance",accent:"navy",bullets:["Unlimited пользователи Рё отправки","Carrier API РїСЂСЏРјРѕР№ (Maersk / MSC / CMA)","SLA 99.9% (1 час response)","Dedicated account manager","SSO + audit log export","Sanctions screening (Refinitiv-level)","Customs integration","Р’СЃС‘ РёР· Pro"],ctaLabel:"Поговорить СЃ продажами",ctaHref:"/contacts?topic=enterprise"}],G=[{group:"Объём",rows:[{feature:"Пользователи",free:"1",starter:"5",pro:"25",enterprise:"в€ћ"},{feature:"Активные отправки",free:"3",starter:"20",pro:"100",enterprise:"в€ћ"},{feature:"Хранилище документов",free:"100 MB",starter:"5 GB",pro:"50 GB",enterprise:"в€ћ"}]},{group:"Tracking & visibility",rows:[{feature:"Public tracking",free:!0,starter:!0,pro:!0,enterprise:!0},{feature:"Real-time DCSA events",free:!1,starter:!0,pro:!0,enterprise:!0},{feature:"Multi-vendor data routing",free:!1,starter:!0,pro:!0,enterprise:!0},{feature:"Predictive ETA",free:!1,starter:!1,pro:!0,enterprise:!0},{feature:"Shareable links",free:!1,starter:!0,pro:!0,enterprise:!0}]},{group:"Документы & автоматизация",rows:[{feature:"OCR извлечение полей",free:!1,starter:!1,pro:"100/мес",enterprise:"в€ћ"},{feature:"AI auto-quote",free:!1,starter:!1,pro:"50/мес",enterprise:"в€ћ"},{feature:"Webhooks",free:!1,starter:!1,pro:!0,enterprise:!0},{feature:"Custom roles",free:!1,starter:!1,pro:!0,enterprise:!0},{feature:"Carrier API РїСЂСЏРјРѕР№",free:!1,starter:!1,pro:!1,enterprise:!0},{feature:"EDI integration",free:!1,starter:!1,pro:!1,enterprise:!0}]},{group:"Compliance & безопасность",rows:[{feature:"152-ФЗ хранение РІ Р Р¤",free:!0,starter:!0,pro:!0,enterprise:!0},{feature:"Sanctions screening",free:!1,starter:"Basic",pro:"Standard",enterprise:"Refinitiv-level"},{feature:"SSO (SAML / OIDC)",free:!1,starter:!1,pro:!1,enterprise:!0},{feature:"Audit log export",free:!1,starter:!1,pro:!1,enterprise:!0},{feature:"Customs integration",free:!1,starter:!1,pro:!1,enterprise:!0}]},{group:"Поддержка & SLA",rows:[{feature:"AI-чат",free:!0,starter:!0,pro:!0,enterprise:!0},{feature:"Email поддержка",free:!1,starter:!0,pro:!0,enterprise:!0},{feature:"Chat СЃ менеджером",free:!1,starter:"Business hours",pro:"Business hours",enterprise:"24/7"},{feature:"Dedicated account manager",free:!1,starter:!1,pro:!1,enterprise:!0},{feature:"SLA 99.9%",free:!1,starter:!1,pro:!1,enterprise:!0}]}],Z=[{q:"Что считается «активной отправкой»?",a:"Отправка РІ статусе в‰ DELIVERED / CANCELLED. Завершённые отправки хранятся вечно, РЅРѕ РЅРµ РёРґСѓС‚ РІ лимит. РђСЂС…РёРІ всегда доступен."},{q:"Что РїСЂРѕРёСЃС…РѕРґРёС‚ РїСЂРё превышении лимита?",a:"Starter/Free: blocking — РЅСѓР¶РЅРѕ завершить старые отправки или upgrade'нуться. Pro: soft — продолжаете работать, нотификация РїСЂРѕ upgrade РІ Enterprise."},{q:"Pro tier OCR — что значит В«overageВ»?",a:"Р’ тариф РІС…РѕРґРёС‚ 100 страниц/мес. Свыше — $0.30/страница, биллится РІ конце месяца. РњРѕР¶РЅРѕ поставить hard cap чтобы РЅРµ было СЃСЋСЂРїСЂРёР·РѕРІ."},{q:"Как биллится OCR СЃ overage, если Сѓ меня нет карты?",a:"РќР° Pro tier card обязательна СЃ момента РїРѕРґРїРёСЃРєРё — overage списывается автоматически. Hard cap = $50/мес default, поднимается РІ настройках."},{q:"РњРѕР¶РЅРѕ ли downgrade СЃ Pro РЅР° Starter?",a:"Да, РІ любой момент. Рзменение применится СЃРѕ следующего billing cycle. Данные РЅРµ теряются — Pro-only features становятся read-only."},{q:"Чем Enterprise отличается РѕС‚ Pro РєСЂРѕРјРµ лимитов?",a:"РџСЂСЏРјРѕР№ доступ Рє Carrier API (Maersk/MSC/CMA для real-time bookings), SSO (Okta/Azure AD), audit log СЃ экспортом, SLA 99.9% СЃ 1-час response, dedicated account manager."},{q:"Какие валюты принимаете?",a:"в‚Ѕ через Р®Kassa (СЃ ФЗ-54 чеком), $ Рё € через Stripe. Currency выбирается РЅР° signup, меняется через support."},{q:"Trial 14 дней — действительно без карты?",a:"Да, trial без card. После trial выставим прайс РЅР° email, РјРѕР¶РЅРѕ отказаться без штрафа. Card РЅСѓР¶РЅР° только для активации paid РїРѕРґРїРёСЃРєРё."},{q:"Есть ли annual-контракт СЃРѕ СЃРєРёРґРєРѕР№?",a:"РќРµ предлагаем РЅР° launch period — month-to-month only для гибкости. Annual СЃРѕ СЃРєРёРґРєРѕР№ 17% запустим РІ M5-M6 для Starter/Pro. Enterprise — annual contracts custom."},{q:"Что если СЏ форвардер СЃ 200+ контейнерами/мес?",a:"Рто СѓР¶Рµ Pro+ или Enterprise территория. РџРѕРіРѕРІРѕСЂРёРј Рѕ volume discount + custom features (white-label, multi-company billing)."}];function K(t,g){if(t.priceUSD===null)return"Custom";if(g==="USD")return t.priceUSD===0?"$0":`$${t.priceUSD.toLocaleString("en-US")}`;const d=t.priceRUB??0;return d===0?"в‚Ѕ0":`в‚Ѕ${d.toLocaleString("ru-RU")}`}function Q(){return typeof navigator>"u"||(navigator.language||"").toLowerCase().startsWith("ru")?"RUB":"USD"}function m({value:t}){return t===!0?e.jsx(N,{className:"h-4 w-4 text-primary mx-auto","aria-label":"включено"}):t===!1?e.jsx(a,{className:"text-text-subtle mx-auto",children:"—"}):e.jsx(a,{className:"text-text text-sm text-center",children:t})}function oe(){const[t,g]=u.useState(Q);u.useEffect(()=>{o("pricing_page_viewed",{currency:t,page:"plans",referrer:typeof document<"u"?document.referrer:""})},[]);const d=r=>{r!==t&&(o("pricing_currency_toggled",{from:t,to:r}),g(r))},A=r=>{o("pricing_tier_card_clicked",{tier:r.id,highlighted:!!r.highlighted,currency:t})},k=r=>{o("pricing_cta_clicked",{tier:r.id,cta_text:r.ctaLabel,currency:t}),r.id!=="enterprise"&&o("signup_started_from_pricing",{tier:r.id,currency:t})},b=r=>{o("pricing_faq_question_opened",{question_id:r})},P=u.useMemo(()=>G,[]);return e.jsxs(F,{active:"pricing",children:[e.jsxs(w,{children:[e.jsx("title",{children:"РџРѕРґРїРёСЃРєРё Avalog — Free, Starter, Pro, Enterprise"}),e.jsx("meta",{name:"description",content:"Прозрачные тарифы Avalog SaaS: Free $0, Starter $99/мес, Pro $299/мес, Enterprise custom. 14 дней trial без карты. Отмена РІ РѕРґРёРЅ клик."}),e.jsx("link",{rel:"canonical",href:"https://avalog.ru/plans"})]}),e.jsx(l,{py:"lg",bg:"surface",children:e.jsx(c,{size:"base",children:e.jsxs(i,{gap:6,align:"center",className:"text-center max-w-3xl mx-auto",children:[e.jsx(S,{variant:"success",children:"Прозрачные РїРѕРґРїРёСЃРєРё"}),e.jsxs(D,{size:"lg",children:["Платите Р·Р° то,",e.jsx("br",{}),"что используете."]}),e.jsx(a,{variant:"lead",className:"max-w-2xl",children:"Free навсегда. Платные планы — без скрытых fee, отменяйте РІ РѕРґРёРЅ клик. Без долгосрочных контрактов."}),e.jsxs(h,{gap:2,align:"center",role:"group","aria-label":"Валюта",children:[e.jsx(p,{size:"sm",variant:t==="RUB"?"default":"outline",onClick:()=>d("RUB"),"aria-pressed":t==="RUB",children:"в‚Ѕ RUB"}),e.jsx(p,{size:"sm",variant:t==="USD"?"default":"outline",onClick:()=>d("USD"),"aria-pressed":t==="USD",children:"$ USD"})]})]})})}),e.jsx(l,{py:"lg",children:e.jsx(c,{size:"base",children:e.jsx(R,{cols:4,gap:6,children:y.map(r=>{const s=r.icon,U=r.accent==="primary"?"border-primary border-2 shadow-primary":r.accent==="info"?"border-info/40":r.accent==="navy"?"border-accent-navy bg-accent-navy text-accent-navy-foreground":"",n=r.accent==="navy";return e.jsxs(x,{className:`relative flex flex-col h-full ${U}`,onClick:()=>A(r),"data-testid":`plans-tier-card-${r.id}`,children:[r.highlighted?e.jsx(S,{variant:"default",className:"absolute -top-3 left-1/2 -translate-x-1/2 shadow-md",children:"Самый популярный"}):null,e.jsxs($,{children:[e.jsx("div",{className:`h-10 w-10 rounded-lg flex items-center justify-center mb-3 ${n?"bg-accent-navy-foreground/10 text-accent-navy-foreground":"bg-primary-light text-primary"}`,children:e.jsx(s,{className:"h-5 w-5"})}),e.jsx(B,{className:n?"text-accent-navy-foreground":"",children:r.name}),e.jsxs(i,{gap:1,children:[e.jsxs(j,{size:"h2",className:n?"text-accent-navy-foreground tabular-nums":"tabular-nums",children:[K(r,t),r.period&&r.priceUSD!==null?e.jsx(a,{as:"span",className:`text-sm font-normal ${n?"text-accent-navy-foreground/70":"text-text-muted"}`,children:r.period}):null]}),e.jsx(q,{className:n?"text-accent-navy-foreground/70":"",children:r.tagline})]})]}),e.jsx(f,{className:"flex-1",children:e.jsxs(i,{gap:2,children:[e.jsx(a,{variant:"caption",className:n?"text-accent-navy-foreground/60":"",children:"Для РєРѕРіРѕ"}),e.jsx(a,{className:`text-sm ${n?"text-accent-navy-foreground/85":"text-text-muted"}`,children:r.bestFor}),e.jsx("div",{className:`my-3 h-px ${n?"bg-accent-navy-foreground/15":"bg-border"}`}),e.jsx(i,{gap:2,children:r.bullets.map(v=>e.jsxs(h,{gap:2,align:"start",children:[e.jsx(N,{className:`h-4 w-4 shrink-0 mt-0.5 ${n?"text-primary-light":"text-primary"}`}),e.jsx(a,{className:`text-sm ${n?"text-accent-navy-foreground":"text-text"}`,children:v})]},v))})]})}),e.jsx(E,{children:e.jsx(p,{className:"w-full",variant:r.highlighted?"default":"outline",asChild:!0,children:e.jsx(C,{to:r.ctaHref,onClick:()=>k(r),children:r.ctaLabel})})})]},r.id)})})})}),e.jsx(l,{py:"md",bg:"surface",children:e.jsx(c,{size:"base",children:e.jsx(x,{className:"bg-primary-light/30 border-primary/20",children:e.jsx(f,{className:"py-4",children:e.jsxs(h,{gap:4,align:"center",justify:"between",className:"flex-wrap",children:[e.jsxs(i,{gap:1,children:[e.jsx(a,{className:"font-medium",children:"Pro tier overage"}),e.jsx(a,{className:"text-sm text-text-muted",children:"OCR $0.30/страница, AI auto-quote $1/quote. Платите только Р·Р° то, что вырастили."})]}),e.jsx(p,{variant:"ghost",size:"sm",asChild:!0,children:e.jsx(C,{to:"/plans#faq",onClick:()=>b(2),children:"Подробнее РІ FAQ в†’"})})]})})})})}),e.jsx(l,{py:"lg",children:e.jsx(c,{size:"base",children:e.jsxs(i,{gap:6,children:[e.jsxs(i,{gap:2,className:"text-center max-w-2xl mx-auto",children:[e.jsx(j,{size:"h2",children:"РџРѕРґСЂРѕР±РЅРѕРµ сравнение"}),e.jsx(a,{variant:"lead",className:"text-text-muted",children:"Каждая функция — РіРґРµ включена, РіРґРµ РЅСѓР¶РЅРѕ overage, РіРґРµ доступна только РЅР° Enterprise."})]}),e.jsx(x,{children:e.jsx(f,{className:"p-0 overflow-x-auto",children:e.jsxs("table",{className:"w-full text-sm","data-testid":"plans-comparison-table",children:[e.jsx("thead",{className:"bg-surface border-b border-border",children:e.jsxs("tr",{children:[e.jsx("th",{className:"text-left p-3 font-medium text-text-muted",children:"Функция"}),y.map(r=>e.jsx("th",{className:"text-center p-3 font-medium text-text",children:r.name},r.id))]})}),e.jsx("tbody",{children:P.map(r=>e.jsxs(u.Fragment,{children:[e.jsx("tr",{className:"bg-surface/50",children:e.jsx("td",{colSpan:5,className:"p-3 text-xs uppercase tracking-wide font-semibold text-text-muted",children:r.group})}),r.rows.map(s=>e.jsxs("tr",{className:"border-b border-border/40",children:[e.jsx("td",{className:"p-3 text-text",children:s.feature}),e.jsx("td",{className:"p-3 text-center",children:e.jsx(m,{value:s.free})}),e.jsx("td",{className:"p-3 text-center",children:e.jsx(m,{value:s.starter})}),e.jsx("td",{className:"p-3 text-center",children:e.jsx(m,{value:s.pro})}),e.jsx("td",{className:"p-3 text-center",children:e.jsx(m,{value:s.enterprise})})]},`${r.group}-${s.feature}`))]},r.group))})]})})})]})})}),e.jsx(l,{py:"lg",bg:"surface",id:"faq",children:e.jsx(c,{size:"base",children:e.jsxs(i,{gap:8,children:[e.jsxs(i,{gap:2,className:"text-center",children:[e.jsx(j,{size:"h2",children:"Частые РІРѕРїСЂРѕСЃС‹"}),e.jsxs(a,{variant:"lead",className:"text-text-muted",children:["Если чего-то РЅРµ хватает —"," ",e.jsx("a",{href:"mailto:info@avalog.ru",className:"text-primary hover:underline",children:"info@avalog.ru"}),"."]})]}),e.jsx(x,{children:e.jsx(f,{className:"pt-6",children:e.jsx(L,{type:"single",collapsible:!0,children:Z.map((r,s)=>e.jsxs(I,{value:`faq-${s}`,children:[e.jsx(M,{className:"text-left",onClick:()=>b(s),children:r.q}),e.jsx(_,{children:e.jsx(a,{className:"text-text-muted",children:r.a})})]},s))})})})]})})}),e.jsx(l,{py:"md",children:e.jsx(c,{size:"base",children:e.jsxs(i,{gap:2,align:"center",className:"text-center",children:[e.jsx(a,{variant:"caption",className:"text-text-muted uppercase tracking-wide",children:"Работаем РЅР° проверенной инфраструктуре"}),e.jsx(a,{className:"text-text-muted",children:"Postgres В· Stripe В· Р®Kassa В· Yandex.Cloud В· 152-ФЗ compliant В· hosted РІ Р Р¤"})]})})}),e.jsx(z,{title:"РќРµ нашли подходящий план?",description:"РџРѕРіРѕРІРѕСЂРёРј Рѕ volume discount, custom-контракте или multi-company billing.",ctaLabel:"Поговорить СЃ продажами",ctaTo:"/contacts?topic=enterprise"})]})}export{oe as default};