/* ═══════════════════════════════════════════════
   BotForge — dark neon theme (bwmxmd-pro inspired)
   ═══════════════════════════════════════════════ */
:root {
  --bg: #06070d;
  --bg2: #0b0d18;
  --bg3: #101324;
  --card: #0e1120;
  --border: #1c2138;
  --border2: #2a3050;
  --text: #e8ecff;
  --muted: #8b93b8;
  --dim: #5a6184;
  --blue: #3b82f6;
  --blue2: #60a5fa;
  --neon: #22d3ee;
  --green: #22c55e;
  --green2: #4ade80;
  --pink: #f43f5e;
  --amber: #f59e0b;
  --purple: #a78bfa;
  --glow-blue: 0 0 24px rgba(59, 130, 246, .45);
  --glow-green: 0 0 24px rgba(34, 197, 94, .45);
  --glow-pink: 0 0 24px rgba(244, 63, 94, .45);
  --radius: 14px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', ui-monospace, Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
}
::selection { background: rgba(59, 130, 246, .4); }
a { color: var(--blue2); text-decoration: none; }
button { font-family: var(--font); cursor: pointer; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ═══ layout ═══ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ═══ nav ═══ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 7, 13, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; gap: 26px;
}
.logo {
  font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em;
  display: flex; align-items: center; gap: 10px; color: var(--text);
}
.logo .zap { color: var(--neon); font-size: 1.4rem; filter: drop-shadow(0 0 8px rgba(34, 211, 238, .8)); }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a {
  color: var(--muted); padding: 8px 14px; border-radius: 8px; font-size: .92rem;
  transition: all .18s;
}
.nav-links a:hover { color: var(--text); background: var(--bg3); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ═══ buttons ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; transition: all .18s; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, #2563eb 100%);
  color: #fff; box-shadow: var(--glow-blue);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 34px rgba(59, 130, 246, .65); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border2); }
.btn-ghost:hover { background: var(--bg3); border-color: var(--blue); }
.google-btn { background: #fff; color: #3c4043; border-color: #dadce0; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 500; }
.google-btn:hover { background: #f8f9fa; border-color: #dadce0; box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.google-btn svg { flex-shrink: 0; }
.github-btn { background: #24292e; color: #fff; border-color: #24292e; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 500; }
.github-btn:hover { background: #1a1e22; border-color: #1a1e22; }
.github-btn svg { flex-shrink: 0; }
.btn-green { background: linear-gradient(135deg, var(--green) 0%, #16a34a 100%); color: #fff; box-shadow: var(--glow-green); }
.btn-green:hover { transform: translateY(-2px); }
.btn-danger { background: transparent; color: var(--pink); border-color: rgba(244, 63, 94, .4); }
.btn-danger:hover { background: rgba(244, 63, 94, .12); }
.btn-sm { padding: 7px 14px; font-size: .85rem; border-radius: 8px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }

/* ═══ hero ═══ */
.hero {
  padding: 90px 0 60px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, .16) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .35);
  color: var(--neon); padding: 6px 14px; border-radius: 999px;
  font-size: .8rem; font-weight: 600; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.12;
  letter-spacing: -.03em; margin-bottom: 18px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--blue2), var(--neon), var(--green2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub { color: var(--muted); font-size: 1.08rem; max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.hstat b { font-size: 1.5rem; font-weight: 800; color: var(--text); display: block; }
.hstat span { color: var(--dim); font-size: .82rem; }

/* terminal mock */
.term-mock {
  background: var(--bg2); border: 1px solid var(--border2); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5), var(--glow-blue);
  overflow: hidden; font-family: var(--mono); font-size: .82rem;
}
.term-mock .bar {
  display: flex; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--border);
  background: var(--bg3); align-items: center;
}
.term-mock .dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.term-mock .title { margin-left: 8px; color: var(--dim); font-size: .78rem; }
.term-mock .body { padding: 18px 20px; min-height: 280px; line-height: 1.85; }
.tl { color: var(--dim); }
.tg { color: var(--green2); }
.tb { color: var(--blue2); }
.tn { color: var(--neon); }
.tp { color: var(--pink); }
.tw { color: var(--amber); }

/* ═══ sections ═══ */
.section { padding: 70px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .eyebrow {
  color: var(--neon); font-weight: 700; font-size: .8rem; letter-spacing: .18em;
  text-transform: uppercase; margin-bottom: 12px; display: block;
}
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.section-head p { color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ═══ cards ═══ */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: all .2s;
}
.card:hover { border-color: var(--border2); }
.card h3 { font-size: 1.06rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .9rem; }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-size: 1.3rem; margin-bottom: 16px;
}
.icon-blue { background: rgba(59, 130, 246, .14); }
.icon-green { background: rgba(34, 197, 94, .14); }
.icon-pink { background: rgba(244, 63, 94, .14); }
.icon-neon { background: rgba(34, 211, 238, .14); }
.icon-purple { background: rgba(167, 139, 250, .14); }
.icon-amber { background: rgba(245, 158, 11, .14); }

/* template cards */
.tpl-card { cursor: pointer; position: relative; }
.tpl-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--glow-blue); }
.tpl-card .badge-author {
  font-size: .72rem; color: var(--dim); text-transform: uppercase; letter-spacing: .08em;
}
.tpl-features { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tpl-features span {
  background: var(--bg3); border: 1px solid var(--border); color: var(--muted);
  padding: 3px 10px; border-radius: 999px; font-size: .74rem;
}

/* ═══ dashboard layout ═══ */
.dash { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 60px); }
@media (max-width: 860px) { .dash { grid-template-columns: 1fr; } }
.side {
  background: var(--bg2); border-right: 1px solid var(--border); padding: 22px 14px;
  display: flex; flex-direction: column; gap: 4px; position: sticky; top: 60px;
  height: calc(100vh - 60px); overflow-y: auto;
}
.hamburger-btn { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 4px 8px; margin-right: 4px; }
.drawer-backdrop { display: none; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger-btn { display: block; }
  .side {
    position: fixed; top: 0; left: 0; z-index: 210; width: 260px; max-width: 80vw;
    height: 100vh; padding-top: 76px; flex-direction: column; flex-wrap: nowrap;
    border-right: 1px solid var(--border); border-bottom: none;
    transform: translateX(-100%); transition: transform .25s ease;
    box-shadow: 6px 0 28px rgba(0,0,0,.45);
  }
  .side.open { transform: translateX(0); }
  .drawer-backdrop {
    display: block; position: fixed; inset: 0; background: rgba(0,0,0,.55);
    z-index: 200; opacity: 0; pointer-events: none; transition: opacity .2s ease;
  }
  .drawer-backdrop.open { opacity: 1; pointer-events: auto; }
}
.side a {
  display: flex; align-items: center; gap: 12px; color: var(--muted);
  padding: 11px 16px; border-radius: 10px; font-size: .93rem; font-weight: 500;
  transition: all .15s;
}
.side a:hover { color: var(--text); background: var(--bg3); }
.side a.active { color: var(--neon); background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .25); }
.side .sep { height: 1px; background: var(--border); margin: 12px 6px; }
.main { padding: 30px 34px; max-width: 1080px; }
@media (max-width: 600px) { .main { padding: 20px 16px; } }

.page-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; flex-wrap: wrap; gap: 12px; }
.page-head h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.page-head .sub { color: var(--muted); font-size: .9rem; }

/* stats row */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
@media (max-width: 800px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.stat {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px;
}
.stat b { font-size: 1.4rem; font-weight: 800; display: block; }
.stat span { color: var(--dim); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }

/* ═══ bot cards ═══ */
.bot-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 14px;
  transition: border-color .2s;
}
.bot-card:hover { border-color: var(--border2); }
.bot-head { display: flex; align-items: flex-start; gap: 14px; }
.bot-emoji {
  width: 48px; height: 48px; border-radius: 12px; background: var(--bg3);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0;
}
.bot-head h4 { font-size: 1.05rem; font-weight: 700; }
.bot-head .meta { color: var(--dim); font-size: .8rem; margin-top: 3px; }
.bot-stats { display: flex; gap: 18px; color: var(--muted); font-size: .82rem; flex-wrap: wrap; }
.bot-stats b { color: var(--text); }

/* status pill */
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px;
  border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .04em;
}
.pill-running { background: rgba(34, 197, 94, .14); color: var(--green2); border: 1px solid rgba(34, 197, 94, .35); }
.pill-stopped { background: rgba(139, 147, 184, .12); color: var(--muted); border: 1px solid var(--border2); }
.pill-crashed { background: rgba(244, 63, 94, .14); color: var(--pink); border: 1px solid rgba(244, 63, 94, .4); }
.pill-deploying { background: rgba(245, 158, 11, .14); color: var(--amber); border: 1px solid rgba(245, 158, 11, .4); }
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-running::before { animation: pulse 1.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ═══ forms ═══ */
.field { margin-bottom: 18px; }
.field label { display: block; color: var(--muted); font-size: .84rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg2); border: 1px solid var(--border2); color: var(--text);
  padding: 11px 14px; border-radius: 10px; font-size: .95rem; font-family: var(--font);
  outline: none; transition: all .18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59, 130, 246, .18);
}
.field .hint { color: var(--dim); font-size: .76rem; margin-top: 5px; }

/* ═══ auth pages ═══ */
.auth-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 40px 20px; position: relative;
}
.auth-wrap::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 20%, rgba(59, 130, 246, .12), transparent),
    radial-gradient(ellipse 500px 350px at 80% 80%, rgba(34, 211, 238, .1), transparent);
  pointer-events: none;
}
.auth-card {
  width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--border2);
  border-radius: 18px; padding: 36px; position: relative; z-index: 1;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.auth-card .logo { justify-content: center; margin-bottom: 10px; }
.auth-card h2 { text-align: center; font-size: 1.35rem; margin-bottom: 6px; }
.auth-card .sub { text-align: center; color: var(--muted); font-size: .88rem; margin-bottom: 26px; }
.auth-swap { text-align: center; margin-top: 20px; color: var(--muted); font-size: .86rem; }

/* ═══ alerts / toast ═══ */
.alert {
  padding: 12px 16px; border-radius: 10px; font-size: .88rem; margin-bottom: 16px;
  border: 1px solid; display: none;
}
.alert.show { display: block; }
.alert-err { background: rgba(244, 63, 94, .1); border-color: rgba(244, 63, 94, .4); color: #fda4af; }
.alert-ok { background: rgba(34, 197, 94, .1); border-color: rgba(34, 197, 94, .4); color: var(--green2); }

/* ═══ tabs ═══ */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border); margin-bottom: 24px; flex-wrap: wrap; }
.tab {
  padding: 10px 18px; color: var(--muted); font-weight: 600; font-size: .9rem;
  border-bottom: 2px solid transparent; transition: all .15s; background: none; border-top: none;
  border-left: none; border-right: none;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--neon); border-bottom-color: var(--neon); }

/* ═══ pairing UI ═══ */
.pair-box {
  display: grid; grid-template-columns: 340px 1fr; gap: 26px; align-items: start;
}
@media (max-width: 800px) { .pair-box { grid-template-columns: 1fr; } }
.qr-frame {
  background: #fff; padding: 18px; border-radius: 16px; text-align: center;
  box-shadow: var(--glow-green); margin: 0 auto; width: fit-content;
}
.qr-frame img { width: 300px; height: 300px; display: block; }
.paircode-display {
  font-family: var(--mono); font-size: 2.4rem; font-weight: 800; letter-spacing: .22em;
  color: var(--green2); text-align: center; padding: 26px;
  background: var(--bg2); border: 1px dashed rgba(34, 197, 94, .5); border-radius: 14px;
  text-shadow: 0 0 18px rgba(34, 197, 94, .5); margin: 14px 0;
}
.steps { color: var(--muted); font-size: .92rem; line-height: 2; }
.steps b { color: var(--text); }
.steps .n {
  display: inline-flex; width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg3); border: 1px solid var(--border2); color: var(--neon);
  align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; margin-right: 8px;
}

/* ═══ terminal ═══ */
.terminal {
  background: #05060b; border: 1px solid var(--border2); border-radius: 12px;
  font-family: var(--mono); font-size: .8rem; overflow: hidden;
}
.terminal .tbar {
  display: flex; align-items: center; gap: 8px; padding: 10px 16px;
  background: var(--bg3); border-bottom: 1px solid var(--border);
}
.terminal .tbody {
  padding: 14px 18px; height: 420px; overflow-y: auto; line-height: 1.75;
}
.log-line { word-break: break-all; }
.log-line .ts { color: var(--dim); margin-right: 10px; font-size: .72rem; }
.log-info { color: #9fb0d0; }
.log-warn { color: var(--amber); }
.log-chat { color: #86efac; }
.log-chatout { color: #93c5fd; }
#term-body.chat-only .log-line:not(.log-chat):not(.log-chatout) { display: none; }
.log-error { color: var(--pink); }
.log-success { color: var(--green2); }

/* ═══ tables ═══ */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th {
  text-align: left; padding: 12px 16px; color: var(--dim); font-size: .74rem;
  text-transform: uppercase; letter-spacing: .08em; background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--muted); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(59, 130, 246, .04); }
td b { color: var(--text); }

/* ═══ modal ═══ */
.modal-bg {
  position: fixed; inset: 0; background: rgba(3, 4, 8, .78); backdrop-filter: blur(6px);
  z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-bg.show { display: flex; }
.modal {
  background: var(--card); border: 1px solid var(--border2); border-radius: 18px;
  padding: 30px; width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6);
}
.modal h3 { font-size: 1.2rem; margin-bottom: 4px; }
.modal .msub { color: var(--muted); font-size: .88rem; margin-bottom: 22px; }
.modal-close { float: right; background: none; border: none; color: var(--dim); font-size: 1.4rem; }
.modal-close:hover { color: var(--pink); }

/* ═══ pricing ═══ */
.price-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 950px) { .price-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .price-cards { grid-template-columns: 1fr; } }
.price-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px 24px; display: flex; flex-direction: column; position: relative;
}
.price-card.featured { border-color: var(--blue); box-shadow: var(--glow-blue); }
.price-card .pname { font-weight: 700; font-size: 1rem; }
.price-card .pamount { font-size: 2.1rem; font-weight: 800; margin: 10px 0 2px; }
.price-card .pamount small { font-size: .85rem; color: var(--dim); font-weight: 500; }
.price-card ul { list-style: none; margin: 18px 0 24px; flex: 1; }
.price-card li {
  color: var(--muted); font-size: .88rem; padding: 6px 0;
  display: flex; align-items: center; gap: 9px;
}
.price-card li::before { content: '✓'; color: var(--green2); font-weight: 700; }
.tag-pop {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--blue), var(--neon)); color: #fff;
  padding: 3px 14px; border-radius: 999px; font-size: .72rem; font-weight: 700;
}

/* ═══ footer ═══ */
.footer { border-top: 1px solid var(--border); padding: 44px 0 30px; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer p { color: var(--dim); font-size: .84rem; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: .88rem; }
.footer-links a:hover { color: var(--neon); }

/* ═══ misc ═══ */
.empty {
  text-align: center; padding: 60px 20px; color: var(--dim);
  border: 1px dashed var(--border2); border-radius: var(--radius);
}
.empty .big { font-size: 2.6rem; margin-bottom: 12px; }
.mono { font-family: var(--mono); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.flex { display: flex; } .between { justify-content: space-between; } .center { align-items: center; }
.gap-1 { gap: 8px; } .gap-2 { gap: 14px; }
.wrap { flex-wrap: wrap; }
.dim { color: var(--dim); } .muted { color: var(--muted); }
.right { text-align: right; }
.clickable { cursor: pointer; }
code.inline {
  background: var(--bg3); border: 1px solid var(--border); padding: 2px 8px;
  border-radius: 6px; font-family: var(--mono); font-size: .82rem; color: var(--neon);
}

/* toast */
#toast {
  position: fixed; bottom: 26px; right: 26px; z-index: 500;
  background: var(--bg3); border: 1px solid var(--border2); color: var(--text);
  padding: 14px 22px; border-radius: 12px; font-size: .9rem; box-shadow: 0 18px 50px rgba(0, 0, 0, .6);
  display: none; max-width: 360px;
}
#toast.show { display: block; animation: slideIn .25s; }
#toast.err { border-color: rgba(244, 63, 94, .5); }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* deploy steps visual */
.deploy-progress { display: flex; flex-direction: column; gap: 0; }
.dstep { display: flex; gap: 14px; position: relative; padding-bottom: 22px; }
.dstep:last-child { padding-bottom: 0; }
.dstep::before {
  content: ''; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px;
  background: var(--border2);
}
.dstep:last-child::before { display: none; }
.dstep .dot2 {
  width: 32px; height: 32px; border-radius: 50%; background: var(--bg3);
  border: 1px solid var(--border2); display: flex; align-items: center; justify-content: center;
  font-size: .85rem; flex-shrink: 0; z-index: 1; color: var(--dim);
}
.dstep.done .dot2 { background: rgba(34, 197, 94, .18); border-color: var(--green); color: var(--green2); }
.dstep.active .dot2 { background: rgba(59, 130, 246, .18); border-color: var(--blue); color: var(--blue2); animation: pulse 1.5s infinite; }
.dstep .dl { font-weight: 600; font-size: .92rem; }
.dstep .dd { color: var(--muted); font-size: .82rem; }
