/**
 * pumpmaster.pro — общий стиль сайта-визитки (тема Terminal)
 * Палитра синхронизирована с alertox.ru (navy/cyan)
 * @version 2.2
 */
:root{
  color-scheme: dark;
  padding-top: env(safe-area-inset-top,0px);
  padding-bottom: env(safe-area-inset-bottom,0px);

  --bg:#050b12;
  --bg-panel:#07111b;
  --panel:#091622;
  --panel-2:#0c1d2c;
  --line:rgba(117,159,190,.18);
  --line-grid:rgba(87,124,151,.08);
  --line-strong:rgba(35,211,238,.45);
  --text:#eef7ff;
  --muted:#8fa4b8;
  --muted-2:#4d6478;
  --signal:#23d3ee;
  --signal-dim:#1a7f8f;
  --accent-blue:#1677ff;
  --positive:#55d98a;
  --down:#ff7085;
  --watch:#f2b84c;
}
*,*::before,*::after{box-sizing:border-box;}
html,body{margin:0;}
body{
  background:
    radial-gradient(circle at 78% 13%, rgba(22,119,255,.12), transparent 28rem),
    radial-gradient(circle at 12% 28%, rgba(35,211,238,.07), transparent 24rem),
    var(--bg);
  color:var(--text);
  font-family:'Manrope',system-ui,sans-serif; line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;} [hidden]{display:none!important;}
a{color:inherit; text-decoration:none;}
h1,h2,h3{text-wrap:balance; margin:0;}
button{font-family:inherit;}
.mono{font-family:'JetBrains Mono',ui-monospace,monospace;}
.display{font-family:'Sora',system-ui,sans-serif;}
.wrap{max-width:1200px; margin:0 auto; padding-inline:24px;}
::selection{background:var(--signal); color:#03130a;}

body::before{
  content:''; position:fixed; inset:0; pointer-events:none; z-index:0;
  background-image:
    linear-gradient(var(--line-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-grid) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity:.7;
  mask-image: radial-gradient(ellipse 900px 500px at 50% 0%, black, transparent 70%);
}

header.site{
  position:sticky; top:0; z-index:40; background:rgba(5,8,7,.88); backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.nav{display:flex; align-items:center; justify-content:space-between; gap:20px; padding:16px 0;}
.brand{display:flex; align-items:center; gap:10px; font-size:.92rem;}
.brand .dot{width:8px; height:8px; border-radius:50%; background:var(--signal); box-shadow:0 0 8px var(--signal); flex-shrink:0; animation:blink 2.4s ease-in-out infinite;}
@keyframes blink{ 0%,100%{opacity:1;} 50%{opacity:.35;} }
.brand b{color:var(--signal); font-weight:600;}
.nav-links{display:flex; gap:22px;}
.nav-links a{font-size:.82rem; color:var(--muted); transition:color .15s;}
.nav-links a:hover, .nav-links a.active{color:var(--text);}
.nav-links a.active{color:var(--signal);}
.nav-links a::before{content:'/'; color:var(--muted-2); margin-right:1px;}
.nav-cta{
  border:1px solid var(--line-strong); color:var(--signal); font-size:.82rem; font-weight:600;
  padding:8px 16px; border-radius:3px; background:rgba(62,240,139,.06); white-space:nowrap;
}
.nav-cta:hover{background:rgba(62,240,139,.14);}
@media (max-width:860px){ .nav-links{display:none;} }

/* ===== HERO / page-hero (главная и подстраницы) ===== */
.hero{position:relative; z-index:1; padding:56px 0 0;}
.hero.compact{padding:44px 0 0;}
.hero-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:start; padding-bottom:40px;}
@media (max-width:940px){ .hero-grid{grid-template-columns:1fr;} }

.back-link{display:inline-block; font-size:.8rem; color:var(--muted); margin-bottom:18px;}
.back-link:hover{color:var(--signal);}

.prompt-line{font-size:.82rem; color:var(--muted); margin-bottom:22px; display:flex; gap:8px; align-items:baseline;}
.prompt-line .ps1{color:var(--signal);}

.hero h1, .page-title{font-size:clamp(2rem,4.2vw,3.2rem); font-weight:800; line-height:1.1; margin-bottom:20px; max-width:640px; font-family:'Sora',sans-serif;}
.page-title{font-size:clamp(1.7rem,3.2vw,2.4rem); margin-bottom:14px;}
.hero h1 .hl, .accent-text{color:var(--signal);}
.hero p.lead, .page-lead{color:var(--muted); font-size:1.02rem; max-width:520px; margin-bottom:26px;}
.hero-actions{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:30px;}
.btn-primary{
  background:var(--signal); color:#03130a; font-weight:700; font-size:.92rem;
  padding:13px 24px; border-radius:3px; display:inline-block;
}
.btn-primary:hover{background:#5bf5a2;}
.btn-ghost{
  border:1px solid var(--line-strong); color:var(--text); font-weight:600; font-size:.92rem;
  padding:13px 24px; border-radius:3px; display:inline-block;
}
.btn-ghost:hover{border-color:var(--signal); color:var(--signal);}

.status-log{font-size:.82rem; color:var(--muted-2); max-width:560px; min-height:88px;}
.status-log .ln{margin-bottom:4px; white-space:pre-wrap;}
.status-log .ok{color:var(--signal-dim);}
.status-log b{color:var(--text); font-weight:600;}
.caret{display:inline-block; width:7px; height:1em; background:var(--signal); vertical-align:text-bottom; animation:caret 1s steps(1) infinite;}
@keyframes caret{ 0%,49%{opacity:1;} 50%,100%{opacity:0;} }

/* chart panel — переиспользуется на всех страницах с разным сценарием */
.chart-panel{border:1px solid var(--line); border-radius:6px; background:var(--panel); overflow:hidden;}
.panel-bar{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:9px 14px; border-bottom:1px solid var(--line); font-size:.76rem; color:var(--muted);}
.panel-bar .status{display:flex; align-items:center; gap:6px;}
.panel-bar .status .dot{width:6px; height:6px; border-radius:50%;}
.panel-bar .status.live{color:var(--positive);}
.panel-bar .status.live .dot{background:var(--positive); animation:blink 1.6s ease-in-out infinite;}
.panel-bar .status.example{color:var(--watch);}
.panel-bar .status.example .dot{background:var(--watch);}
.panel-bar .status.static{color:var(--muted);}
.panel-bar .status.static .dot{background:var(--muted-2);}
canvas.pm-chart{display:block; width:100%; height:260px;}
.chart-foot{display:flex; justify-content:space-between; padding:10px 14px; border-top:1px solid var(--line); font-size:.74rem; color:var(--muted-2);}
.chart-foot b{color:var(--signal);}
.chart-caption{padding:9px 14px; border-top:1px solid var(--line); font-size:.72rem; color:var(--muted-2); font-style:normal;}

/* ===== TICKER ===== */
.ticker{border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--bg-panel); overflow:hidden; padding:10px 0; position:relative; z-index:1;}
.ticker-track{display:flex; width:max-content; animation:tick 36s linear infinite; font-size:.78rem; color:var(--muted-2);}
.ticker-track:hover{animation-play-state:paused;}
@keyframes tick{ from{transform:translateX(0);} to{transform:translateX(-50%);} }
.tick-item{padding:0 24px; border-right:1px solid var(--line); white-space:nowrap;}
.tick-item b{color:var(--text);}
@media (prefers-reduced-motion: reduce){ .ticker-track{animation:none;} .caret{animation:none;} }

/* ===== SECTIONS ===== */
section{position:relative; z-index:1; padding:72px 0;}
section.tight{padding:52px 0;}
.sec-head{display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:34px; flex-wrap:wrap;}
.sec-path{font-size:.8rem; color:var(--muted-2); margin-bottom:8px;}
.sec-path b{color:var(--signal);}
.sec-title{font-family:'Sora',sans-serif; font-weight:800; font-size:clamp(1.4rem,2.4vw,1.9rem);}
.sec-sub{color:var(--muted); font-size:.94rem; max-width:520px; margin-top:8px;}

/* process-list таблица (боты / индикаторы) */
.plist{border:1px solid var(--line); border-radius:6px; overflow:hidden; background:var(--panel);}
.plist-head, .prow{display:grid; grid-template-columns:108px 1.6fr 1.4fr 1fr 120px; gap:16px; padding:14px 18px; align-items:center;}
.plist-head{font-size:.72rem; color:var(--muted-2); text-transform:uppercase; letter-spacing:.06em; border-bottom:1px solid var(--line); background:var(--panel-2);}
.prow{border-bottom:1px solid var(--line); font-size:.88rem; transition:background .15s;}
.prow:last-child{border-bottom:none;}
.prow:hover{background:rgba(62,240,139,.045);}
.prow .id{color:var(--muted-2); font-size:.82rem;}
.prow .name{font-weight:700; color:var(--text);}
.prow .name small{display:block; font-weight:400; color:var(--muted); font-size:.78rem; margin-top:2px;}
.prow .meta{color:var(--muted); font-size:.82rem;}
.prow .price{font-size:.82rem;}
.prow .price.live{color:var(--positive);}
.prow .price.pending{color:var(--muted-2);}
.prow .go{justify-self:end; font-size:.8rem; color:var(--signal); white-space:nowrap;}
.status-dot{display:inline-block; width:7px; height:7px; border-radius:50%; margin-right:7px;}
.status-dot.on{background:var(--positive); box-shadow:0 0 6px var(--positive);}
.status-dot.pending{background:var(--watch);}
@media (max-width:760px){
  .plist-head{display:none;}
  .prow{grid-template-columns:1fr; gap:6px; padding:16px 18px;}
  .prow .go{justify-self:start;}
}

/* build-log панель (конструктор) */
.buildlog{border:1px solid var(--line); border-radius:6px; background:var(--panel); padding:22px 24px;}
.buildlog .step{display:flex; gap:14px; padding:9px 0; font-size:.88rem; border-bottom:1px dashed var(--line);}
.buildlog .step:last-child{border-bottom:none;}
.buildlog .tag{color:var(--signal); flex-shrink:0; width:120px;}
.buildlog .txt{color:var(--muted);}
.buildlog .txt b{color:var(--text); font-weight:600;}

.empty-state{border:1px dashed var(--line-strong); border-radius:6px; padding:28px 24px; color:var(--muted); font-size:.9rem;}
.empty-state .mono{color:var(--muted-2); display:block; margin-bottom:10px;}

.pipe-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:6px; overflow:hidden;}
.pipe-step{background:var(--panel); padding:24px 20px;}
.pipe-step .n{font-size:.76rem; color:var(--signal); margin-bottom:10px;}
.pipe-step h3{font-family:'Sora',sans-serif; font-size:1rem; font-weight:700; margin-bottom:8px;}
.pipe-step p{color:var(--muted); font-size:.85rem; margin:0;}
@media (max-width:860px){ .pipe-grid{grid-template-columns:1fr 1fr;} }
@media (max-width:560px){ .pipe-grid{grid-template-columns:1fr;} }

.price-note{margin-top:18px; font-size:.85rem; color:var(--watch);}

.cta-band{border-top:1px solid var(--line); text-align:center; padding:76px 0; position:relative; z-index:1;}
.cta-band h2{font-family:'Sora',sans-serif; font-weight:800; font-size:clamp(1.4rem,2.8vw,2rem); margin-bottom:14px;}
.cta-band p{color:var(--muted); margin-bottom:26px;}

footer.site{border-top:1px solid var(--line); padding:30px 0; color:var(--muted-2); font-size:.82rem; position:relative; z-index:1;}
footer.site .foot-row{display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;}
footer.site a{color:var(--signal);}
.disclaimer{font-size:.76rem; color:var(--muted-2); margin-top:14px; max-width:780px; line-height:1.5;}

a:focus-visible, button:focus-visible{outline:2px solid var(--signal); outline-offset:2px;}

/* ===== SHOP: карточки раздела (каталог) ===== */
.shop-grid{display:grid; grid-template-columns:repeat(auto-fill, minmax(260px,1fr)); gap:16px;}
.shop-card{border:1px solid var(--line); border-radius:6px; background:var(--panel); padding:22px; display:flex; flex-direction:column; gap:10px; transition:border-color .15s, transform .15s;}
.shop-card:hover{border-color:var(--line-strong); transform:translateY(-2px);}
.shop-card .cat{font-family:'JetBrains Mono',monospace; font-size:.7rem; color:var(--muted-2); text-transform:uppercase; letter-spacing:.06em;}
.shop-card h3{font-family:'Sora',sans-serif; font-size:1.05rem; font-weight:700;}
.shop-card p{color:var(--muted); font-size:.86rem; line-height:1.5; margin:0; flex-grow:1;}
.shop-card .price{font-family:'JetBrains Mono',monospace; font-size:.8rem; color:var(--watch);}
.shop-card .price.live{color:var(--positive);}
.shop-card .cta{font-family:'JetBrains Mono',monospace; font-size:.82rem; font-weight:600; color:var(--signal); margin-top:4px;}

/* ===== SHOP: страница товара (бот) ===== */
.product-head{max-width:680px;}
.product-cat{display:inline-block; font-family:'JetBrains Mono',monospace; font-size:.74rem; color:var(--signal); background:rgba(35,211,238,.08); border:1px solid rgba(35,211,238,.25); border-radius:5px; padding:3px 10px; margin-bottom:16px;}
.feature-list{list-style:none; padding:0; margin:24px 0; display:flex; flex-direction:column; gap:11px; max-width:600px;}
.feature-list li{display:flex; gap:10px; align-items:flex-start; font-size:.92rem; color:var(--text); line-height:1.5;}
.feature-list li::before{content:'▸'; color:var(--signal); flex-shrink:0;}
.product-price{font-family:'JetBrains Mono',monospace; font-size:.88rem; color:var(--watch); margin:6px 0 24px;}
.product-price b{color:var(--text); font-weight:600;}
