/* Snipe.Run — page-level inline styles consolidated from the design (1:1) */

/* ===== from index.html ===== */
/* connect modal */
  .modal-bg { position: fixed; inset: 0; z-index: 100; background: rgba(3,7,5,0.72); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 20px; }
  .modal-bg.open { display: flex; animation: fade .2s ease; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  .modal { width: 420px; max-width: 100%; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); animation: pop .22s cubic-bezier(.2,.8,.3,1); }
  @keyframes pop { from { transform: translateY(12px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
  .modal-head { padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .modal-head h3 { font-family: var(--display); font-size: 18px; margin: 0; }
  .modal-x { background: var(--bg-2); border: 1px solid var(--line); color: var(--tx-2); width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 16px; }
  .modal-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
  .wallet-opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--bg-1); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: all .15s; text-align: left; }
  .wallet-opt:hover { border-color: var(--line-2); background: var(--bg-2); }
  .wallet-opt.connecting { border-color: var(--green); }
  .wallet-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; overflow: hidden; }
  .wallet-opt { color: var(--tx); }
  .wallet-opt .nm { font-weight: 700; font-size: 15px; color: var(--tx); }
  .wallet-opt .w-state { font-size: 12px; color: var(--tx-3); margin-top: 1px; }
  .wallet-opt .chev { margin-left: auto; color: var(--tx-3); }
  .modal-foot { padding: 14px 22px 20px; color: var(--tx-3); font-size: 12px; text-align: center; line-height: 1.5; border-top: 1px solid var(--line); }
  .modal-foot a { color: var(--green); text-decoration: none; }
  .divider { display: flex; align-items: center; gap: 12px; color: var(--tx-3); font-size: 11px; font-family: var(--mono); margin: 6px 2px; }
  .divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
  /* mobile nav */
  .mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 14px 24px 20px; border-top: 1px solid var(--line); background: var(--bg-1); }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { color: var(--tx-2); text-decoration: none; padding: 10px 0; font-weight: 600; }
  .bill-toggle { display: inline-flex; background: var(--bg-1); border: 1px solid var(--line); border-radius: 100px; padding: 4px; gap: 4px; }
  .bill-toggle button { border: none; background: transparent; color: var(--tx-2); font-family: var(--ui); font-weight: 700; font-size: 13px; padding: 8px 18px; border-radius: 100px; cursor: pointer; transition: all .15s; }
  .bill-toggle button.on { background: var(--green); color: #04140a; }
  .annual-note { color: var(--green); font-size: 12px; font-family: var(--mono); display: none; }
  .free-note { color: var(--amber); font-size: 12px; font-family: var(--mono); }

/* ===== from paper-trading.html ===== */
/* page-specific accents that reuse the token system */
  .paper-kicker { color: var(--amber); background: rgba(255,194,75,0.07); border-color: rgba(255,194,75,0.22); }
  .paper-kicker .live-dot { background: var(--amber); box-shadow: 0 0 0 0 rgba(255,194,75,0.4); }
  .hero h1 .amber { color: var(--amber); }

  .benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
  .benefit { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
  .benefit .b-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(22,255,122,0.08); border: 1px solid var(--line-2); color: var(--green); margin-bottom: 16px; }
  .benefit h3 { font-family: var(--display); font-size: 18px; margin: 0 0 8px; letter-spacing: -0.01em; }
  .benefit p { color: var(--tx-2); font-size: 14px; line-height: 1.55; margin: 0; }

  /* comparison */
  .compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .cmp-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
  .cmp-card.paper { border-color: rgba(255,194,75,0.3); background: linear-gradient(180deg, rgba(255,194,75,0.05), var(--panel)); }
  .cmp-card.live { border-color: var(--line-2); background: linear-gradient(180deg, rgba(22,255,122,0.05), var(--panel)); }
  .cmp-head { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
  .cmp-badge { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px; }
  .cmp-card.paper .cmp-badge { background: rgba(255,194,75,0.14); color: var(--amber); }
  .cmp-card.live .cmp-badge { background: rgba(22,255,122,0.12); color: var(--green); }
  .cmp-card h3 { font-family: var(--display); font-size: 21px; margin: 0; }
  .cmp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
  .cmp-list li { display: flex; gap: 11px; font-size: 14.5px; color: var(--tx-2); line-height: 1.45; align-items: flex-start; }
  .cmp-list li svg { flex-shrink: 0; margin-top: 2px; }
  .cmp-list li b { color: var(--tx); font-weight: 700; }

  .paper-console { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid rgba(255,194,75,0.25); border-radius: var(--r-xl); padding: 6px; box-shadow: var(--shadow); }
  .pc-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; }
  .pc-bar .dots { display: flex; gap: 6px; } .pc-bar .dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
  .pc-inner { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
  .pc-tag { font-family: var(--mono); font-size: 12px; color: var(--amber); display: inline-flex; align-items: center; gap: 7px; }
  .pc-feed { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
  .pc-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-family: var(--mono); }
  .pc-row .tag { font-size: 10px; padding: 2px 6px; border-radius: 5px; font-weight: 700; background: rgba(255,194,75,0.14); color: var(--amber); }
  .pc-row .sim { margin-left: auto; color: var(--tx-3); }

  .step .no.amber { color: var(--amber); }
  @media (max-width: 960px) {
    .benefits { grid-template-columns: 1fr; }
    .compare { grid-template-columns: 1fr; }
  }

/* ===== from checkout.html ===== */
.co-wrap { max-width: 980px; margin: 0 auto; padding: 40px 24px 60px; position: relative; z-index: 1; }
  .co-back { color: var(--tx-3); text-decoration: none; font-size: 13px; font-family: var(--mono); display: inline-flex; align-items: center; gap: 6px; }
  .co-back:hover { color: var(--tx); }
  .co-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 22px; margin-top: 20px; align-items: start; }
  .co-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
  .co-card h3 { font-family: var(--display); font-size: 18px; margin: 0 0 4px; }
  .co-step-ey { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--green); margin-bottom: 16px; }
  /* crypto-only payment methods */
  .pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
  .pay-m { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-1); cursor: pointer; transition: all .14s; text-align: left; color: var(--tx); }
  .pay-m:hover { border-color: var(--line-2); }
  .pay-m.on { border-color: var(--green); box-shadow: 0 0 0 1px var(--green) inset; background: linear-gradient(180deg, rgba(22,255,122,0.05), var(--bg-1)); }
  .pay-m .sym { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 17px; background: var(--bg-2); border: 1px solid var(--line); flex-shrink: 0; }
  .pay-m .nm { font-weight: 700; font-size: 14px; }
  .pay-m .net { font-family: var(--mono); font-size: 11px; color: var(--tx-3); margin-top: 1px; }
  .crypto-note { display: flex; align-items: center; gap: 9px; margin-top: 16px; padding: 12px 14px; background: rgba(22,255,122,0.05); border: 1px solid var(--line-2); border-radius: 10px; font-size: 12.5px; color: var(--tx-2); }
  .co-cycle { display: inline-flex; background: var(--bg-1); border: 1px solid var(--line); border-radius: 100px; padding: 4px; gap: 4px; margin-top: 6px; }
  .co-cycle button { border: none; background: transparent; color: var(--tx-2); font-family: var(--ui); font-weight: 700; font-size: 13px; padding: 8px 16px; border-radius: 100px; cursor: pointer; }
  .co-cycle button.on { background: var(--green); color: #04140a; }
  .pay-addr { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-1); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-top: 16px; }
  .qr { width: 120px; height: 120px; background: #fff; border-radius: 12px; padding: 8px; flex-shrink: 0; display: grid; grid-template-columns: repeat(21,1fr); grid-template-rows: repeat(21,1fr); }
  .qr i { display: block; }
  .addr-val { font-family: var(--mono); font-size: 12.5px; color: var(--tx-2); word-break: break-all; margin: 4px 0 10px; line-height: 1.5; }
  /* summary */
  .sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 14px; color: var(--tx-2); border-bottom: 1px solid var(--line); }
  .sum-row:last-of-type { border-bottom: none; }
  .sum-row b { color: var(--tx); }
  .sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line-2); }
  .sum-total .amt { font-family: var(--display); font-weight: 700; font-size: 34px; }
  .sum-plan { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--bg-1); border: 1px solid var(--line); border-radius: 12px; }
  .sum-plan .ico { width: 40px; height: 40px; border-radius: 11px; background: rgba(22,255,122,0.1); border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--green); flex-shrink: 0; }
  .trust-mini { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }
  .trust-mini div { display: flex; gap: 9px; align-items: center; font-size: 13px; color: var(--tx-2); }
  .field-co { margin-top: 14px; }
  .field-co label { display: block; font-size: 12px; color: var(--tx-3); font-family: var(--mono); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 7px; }
  .field-co input { width: 100%; background: var(--bg-1); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--tx); font-size: 14px; font-family: var(--ui); }
  .field-co input:focus { outline: none; border-color: var(--green); }
  .co-done { text-align: center; padding: 30px 0; }
  @media (max-width: 820px){ .co-grid { grid-template-columns: 1fr; } }

/* ===== fix: footer logo alignment =====
   .foot-col a { display:block } (landing.css) was overriding .logo's flex,
   so the reticle icon + "Snipe.Run" text lost vertical centering. Restore it. */
.foot-col a.logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot-col a.logo svg { display: block; flex: 0 0 auto; }
.foot-col a.logo .logo-word { line-height: 1; }

/* ===== mobile header + dropdown menu ===== */
@media (max-width: 960px) {
  .nav-cta .btn-tg { display: none; }   /* Telegram lives in the menu on mobile */
  .nav-cta { gap: 8px; }
}
@media (max-width: 480px) {
  .nav-cta .btn-ghost:not(.menu-btn) { display: none; }  /* tuck "Log in" into menu on very small screens */
}
/* proper mobile dropdown panel */
.mobile-nav {
  display: none; flex-direction: column; gap: 0;
  padding: 6px 20px 16px; border-top: 1px solid var(--line);
  background: var(--bg-1); box-shadow: var(--shadow);
}
.mobile-nav.open { display: flex; animation: fade .18s ease; }
.mobile-nav a {
  color: var(--tx-2); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 13px 4px; border-bottom: 1px solid var(--hairline);
  display: flex; align-items: center; gap: 9px;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a.active { color: var(--green); }
.mobile-nav a.mnav-tg { color: #229ED9; margin-top: 4px; }
.mobile-nav a.mnav-tg svg { flex: 0 0 auto; }

/* mobile menu OVERLAYS the page (absolute) instead of pushing content down */
.mobile-nav { position: absolute; top: 100%; left: 0; right: 0; z-index: 50; }
