/* BotForge 2.4: work portfolio and secure on-site messaging */
.bf-demos { background: radial-gradient(ellipse at 90% 0%,rgba(61,103,161,.11),transparent 48%),#0c1220; }
.bf-demo-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px; }
.bf-demo-card { display:flex; flex-direction:column; overflow:hidden; border:1px solid rgba(162,191,236,.14); background:#10192b; border-radius:20px; transition:transform .25s,border-color .25s,box-shadow .25s; }
.bf-demo-card:hover { transform:translateY(-5px); border-color:rgba(104,236,237,.42); box-shadow:0 23px 50px rgba(0,0,0,.24); }
.bf-demo-art { min-height:215px;padding:20px 22px 16px;overflow:hidden;display:flex;flex-direction:column;position:relative;background:#172d42; }
.art-top {font-size:10px;letter-spacing:.15em;font-weight:850;opacity:.64;margin-bottom:auto;}
.bf-demo-art .art-bubble { max-width:90%;background:rgba(255,255,255,.93);color:#27314b;padding:13px 15px;border-radius:14px 14px 14px 4px;font-size:13px;font-weight:750;margin:7px 0 11px; }
.bf-demo-art .art-choice {border:1px solid rgba(255,255,255,.27);border-radius:9px;padding:7px 11px;background:rgba(255,255,255,.11);font-size:12px;margin-bottom:6px;max-width:72%;}
.art-lead{background:radial-gradient(circle at 80% 0%,#3ca3ad 0%,transparent 50%),linear-gradient(135deg,#164652,#10273c);}
.art-book{background:radial-gradient(circle at 85% 20%,#8f7cce 0%,transparent 58%),linear-gradient(130deg,#42345d,#1c273c);}
.art-catalogbot{background:radial-gradient(circle at 95% 0%,#ba8051 0%,transparent 54%),linear-gradient(130deg,#5b3c39,#182738);}
.art-viz {background:#dfd2ba;color:#423b34;}
.art-landing{background:#20231e;color:#d3f866;}
.art-catalog{background:#b9c7b6;color:#233f34;}
.art-large{font-size:clamp(36px,4vw,55px);font-weight:900;letter-spacing:-.07em;margin-top:19px;line-height:1;display:flex;align-items:center;justify-content:space-between;}
.art-small{font-size:12px;font-weight:700;opacity:.74;margin-top:11px;}
.art-blob{font-size:65px;transform:rotate(-25deg);opacity:.5;}
.art-symbol{font-size:65px;}
.art-products{margin-top:18px;display:flex;gap:14px;}
.art-products span {font-size:38px;display:flex;justify-content:center;align-items:center;width:60px;height:68px;background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.25);border-radius:10px;}
.bf-demo-content{padding:23px 24px 25px;display:flex;flex-direction:column;flex:1;}
.bf-demo-type{font-size:10px;color:#8fe6e5;letter-spacing:.12em;font-weight:850;}
.bf-demo-content h3{font-size:22px;letter-spacing:-.04em;margin:11px 0;}
.bf-demo-content p{font-size:13px;line-height:1.65;color:#a5b5ce;margin:0 0 20px;flex:1;}
.bf-demo-link{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;padding-bottom:3px;color:#7ff5f0;font-weight:800;font-size:13px;border-bottom:1px solid rgba(127,245,240,.5);}
.bf-demo-link:hover {color:white;}
.bf-demo-note{font-size:12px;color:#99a9c2;margin-top:25px;line-height:1.6;}
.bf-chat-fab{position:fixed;bottom:24px;right:24px;z-index:65;display:flex;align-items:center;gap:9px;border:1px solid rgba(151,255,250,.38);border-radius:100px;padding:13px 19px;color:#081622;font-weight:830;background:linear-gradient(120deg,#76f2e8,#d0effc);box-shadow:0 15px 45px rgba(10,204,219,.2);}
.bf-chat-fab span{font-size:20px;}.bf-chat-fab i{width:7px;height:7px;border-radius:100%;background:#249d84;}
.bf-chat-panel{position:fixed;z-index:66;right:22px;bottom:88px;width:min(396px,calc(100vw - 24px));height:min(590px,calc(100dvh - 115px));display:flex;flex-direction:column;border:1px solid rgba(144,202,234,.32);border-radius:21px;overflow:hidden;box-shadow:0 22px 90px rgba(0,0,0,.65);background:#111b2c;color:#f4f7ff;font-size:14px;}
.bf-chat-head{padding:17px 19px;background:linear-gradient(115deg,#203a4c,#222946);display:flex;align-items:center;justify-content:space-between;gap:10px;}
.bf-chat-head strong{font-size:16px;display:block;}.bf-chat-head span{font-size:11px;color:#b8cadb;margin-top:5px;display:block;}
#chat-close{width:32px;height:32px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.07);border-radius:10px;color:white;}
.bf-chat-intro{padding:19px;overflow-y:auto;flex:1;line-height:1.5;}
.bf-chat-privacy{padding:14px;background:#19273b;color:#afc4d7;border:1px solid rgba(201,228,255,.12);border-radius:10px;font-size:11px;line-height:1.65;}
.bf-chat-consent{display:flex;align-items:flex-start;gap:9px;font-size:12px;margin:15px 0;color:#d5e4f5;}
.bf-chat-consent input{margin-top:2px;width:16px;height:16px;accent-color:#67eee9;}
.bf-chat-start{width:100%;background:linear-gradient(100deg,#71efe8,#b1e7fb);color:#06121d;border:0;border-radius:10px;padding:13px;font-weight:800;}
.bf-chat-thread{flex:1;overflow-y:auto;padding:17px;display:flex;flex-direction:column;gap:12px;}
.bf-chat-bubble{max-width:88%;padding:11px 13px;border-radius:14px;line-height:1.5;white-space:pre-wrap;word-break:break-word;font-size:13px;}
.bf-chat-bubble.client{align-self:flex-end;background:#2b6373;color:white;border-bottom-right-radius:4px;}
.bf-chat-bubble.admin{align-self:flex-start;background:#26334a;border:1px solid rgba(255,255,255,.06);border-bottom-left-radius:4px;}
.bf-chat-timestamp{display:block;font-size:10px;opacity:.65;margin-top:6px;}
.bf-chat-empty{font-size:13px;color:#a8bfd0;line-height:1.6;}
.bf-chat-form{display:flex;gap:8px;border-top:1px solid rgba(255,255,255,.08);padding:12px;align-items:flex-end;}
.bf-chat-form textarea{flex:1;min-width:0;resize:none;border:1px solid rgba(186,224,245,.2);border-radius:10px;padding:11px;background:#0f1829;color:#f1f8ff;max-height:95px;}
.bf-chat-form button{width:43px;height:43px;flex:none;border:0;border-radius:11px;background:#7cefe8;color:#08232a;font-size:24px;}
.bf-chat-footer{border-top:1px solid rgba(255,255,255,.07);padding:11px 14px;display:flex;gap:9px;align-items:center;justify-content:space-between;flex-wrap:wrap;font-size:10px;color:#a8bad2;line-height:1.4;}
#chat-status{flex:1 1 100%;}#chat-delete{background:transparent;border:0;color:#ddacac;padding:0;font-size:11px;} .bf-chat-footer a{color:#8ff1e9;font-size:11px;}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
@media (max-width:990px){.bf-demo-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:650px){.bf-demo-grid{grid-template-columns:1fr;}.bf-demo-art{min-height:200px;}.bf-chat-panel{right:12px;bottom:76px;height:min(590px,calc(100dvh - 93px));}.bf-chat-fab{bottom:13px;right:13px;}}

/* Hidden states must override layout display declarations. */
#bf-chat-panel[hidden], #chat-intro[hidden], #chat-thread[hidden],
#chat-form[hidden], #chat-delete[hidden] { display: none !important; }
.bf-chat-head-main{display:flex;align-items:center;gap:11px;min-width:0;}
.bf-support-avatar{width:43px;height:43px;flex:0 0 43px;border-radius:50%;object-fit:cover;border:1px solid rgba(200,164,255,.5);background:#130b27;}
.bf-chat-fab .bf-support-avatar{width:30px;height:30px;flex:0 0 30px;border-color:rgba(70,42,110,.4);}
.bf-chat-fab{padding:8px 17px 8px 8px;}
.bf-chat-head strong{font-size:14px;}
@media (prefers-reduced-motion:reduce){.bf-demo-card{transition:none;}.bf-demo-card:hover{transform:none;}}

.bf-chat-start:disabled{opacity:.53;cursor:not-allowed;filter:grayscale(.4);}


/* BotForge custom programming service: accent editorial panel */
.bf-custom-section{padding-top:26px;padding-bottom:clamp(52px,7vw,104px);}
.bf-custom-card{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(0,.78fr);overflow:hidden;border:1px solid rgba(135,225,234,.24);border-radius:24px;background:linear-gradient(110deg,#101c30 0%,#141f36 58%,#1c203c 100%);box-shadow:0 24px 65px rgba(0,0,0,.12);}
.bf-custom-copy{padding:clamp(28px,4.2vw,62px);display:flex;flex-direction:column;align-items:flex-start;}
.bf-custom-eyebrow{display:inline-flex;align-items:center;gap:10px;color:#8bf1e9;font-size:10px;letter-spacing:.16em;font-weight:800;}
.bf-custom-pulse{width:8px;height:8px;border-radius:50%;background:#80f6eb;box-shadow:0 0 0 5px rgba(126,239,230,.1);}
.bf-custom-copy h2{margin:23px 0 15px;font-size:clamp(34px,4vw,56px);letter-spacing:-.06em;line-height:1.08;color:#f5f8ff;max-width:620px;}
.bf-custom-copy h2 span{color:#86e9e7;}
.bf-custom-copy>p{max-width:580px;color:#b7c6da;line-height:1.8;font-size:15px;margin:0 0 25px;}
.bf-custom-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:32px;}
.bf-custom-tags span{padding:8px 11px;border-radius:50px;background:rgba(141,229,241,.08);border:1px solid rgba(160,238,251,.15);font-size:11px;font-weight:650;color:#d9eefb;}
.bf-custom-bottom{border-top:1px solid rgba(224,244,255,.15);width:100%;padding-top:22px;display:flex;align-items:end;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:auto;}
.bf-custom-price{display:flex;flex-direction:column;gap:5px;}
.bf-custom-price small{font-size:10px;letter-spacing:.13em;color:#98aec8;font-weight:800;}
.bf-custom-price strong{font-size:20px;letter-spacing:-.025em;color:#fff;}
.bf-custom-price>span{font-size:11px;color:#a9bad0;}
.bf-custom-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;}
.bf-custom-actions .btn{white-space:nowrap;font-size:13px;}
.bf-custom-telegram{font-size:13px;color:#94f7ef;font-weight:750;white-space:nowrap;}
.bf-custom-telegram:hover{color:#fff;}
.bf-custom-visual{margin:25px 25px 25px 0;align-self:stretch;display:flex;flex-direction:column;justify-content:center;min-height:290px;border-radius:17px;overflow:hidden;background:rgba(5,11,24,.68);border:1px solid rgba(117,198,218,.16);box-shadow:0 28px 65px rgba(0,0,0,.2);color:#c6d4f1;}
.bf-custom-code-top{height:46px;border-bottom:1px solid rgba(182,203,234,.1);display:flex;align-items:center;gap:13px;padding:0 19px;color:#8a9bb6;font-size:10px;letter-spacing:.03em;}
.bf-custom-dots{display:flex;gap:5px;}.bf-custom-dots i{width:7px;height:7px;border-radius:50%;background:#73849f;}.bf-custom-dots i:first-child{background:#f08088;}.bf-custom-dots i:nth-child(2){background:#ffd26d;}.bf-custom-dots i:nth-child(3){background:#6edaad;}
.bf-custom-terminal-icon{margin-left:auto;font-size:17px;color:#66dace;}
.bf-custom-code-lines{padding:25px 24px;display:flex;flex-direction:column;gap:23px;font:500 clamp(11px,1vw,14px)/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:nowrap;overflow:hidden;}
.bf-custom-code-lines .code-num{color:#596886;display:inline-block;margin-right:18px;}
.bf-custom-code-lines .code-purple{color:#c8a3fd;}.bf-custom-code-lines .code-green{color:#86e0b3;}.bf-custom-code-lines .code-accent{color:#68e4ec;}
.code-cursor{display:inline-block;background:#75eae4;width:6px;height:16px;vertical-align:middle;margin-left:4px;animation:bf-cursor 1.2s steps(1) infinite;}
@keyframes bf-cursor{50%{opacity:0}}
.bf-custom-code-foot{border-top:1px solid rgba(182,203,234,.1);padding:17px 20px;color:#5de9d0;display:flex;gap:8px;align-items:center;font-size:10px;font-weight:750;letter-spacing:.1em;}
.bf-custom-code-foot span:last-child{margin-left:auto;color:#7b8baf;}
@media(max-width:990px){.bf-custom-card{grid-template-columns:1fr;}.bf-custom-visual{margin:0 27px 27px;min-height:240px;}}
@media(max-width:650px){.bf-custom-card{border-radius:20px;}.bf-custom-copy{padding:30px 23px;}.bf-custom-copy>p{font-size:14px;}.bf-custom-price strong{font-size:18px;}.bf-custom-actions{width:100%;}.bf-custom-visual{margin:0 15px 15px;min-height:230px;}.bf-custom-code-lines{padding:20px 13px;gap:17px;font-size:11px;}.bf-custom-code-lines .code-num{margin-right:9px;}.bf-custom-code-top{padding:0 13px;}}
@media(prefers-reduced-motion:reduce){.code-cursor{animation:none;}}
