/* ═══════════════════════════════════════════════════════════════════════
   BLOSSOM HOST — design system  ·  "holo-card night garden"
   Near-black violet depths · blossom pink · holographic foil · glass
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --bg: #060509;
  --bg-2: #0b0a12;
  --bg-3: #110f1a;
  --ink: #f7f4fb;
  --ink-soft: #d9d3e4;
  --muted: #9a92ad;
  --muted-2: #6d6580;

  --pink: #f49ac2;
  --pink-hot: #ff5fb1;
  --cyan: #5ed6ff;
  --violet: #a78bfa;
  --gold: #f8b85a;
  --green: #74e39b;
  --red: #ff7d9c;

  --line: rgba(217, 211, 228, .13);
  --line-pink: rgba(244, 154, 194, .32);
  --glass: rgba(17, 15, 26, .62);
  --glass-2: rgba(24, 21, 36, .72);

  --holo: linear-gradient(110deg,
      #f49ac2 0%, #ffb8d9 12%, #5ed6ff 32%, #a78bfa 52%,
      #ff5fb1 72%, #f8b85a 88%, #f49ac2 100%);

  --shadow: 0 30px 80px rgba(0, 0, 0, .5);
  --glow-pink: 0 0 34px rgba(255, 95, 177, .35);
  --r: 16px;
  --r-sm: 10px;
  --max: 1180px;

  --font-display: "Unbounded", "Inter", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

::selection { background: rgba(255, 95, 177, .4); color: #fff; }

/* ── atmosphere ─────────────────────────────────────────────────────── */

.atmo {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(167, 139, 250, .14), transparent 60%),
    radial-gradient(800px 600px at -10% 30%, rgba(244, 154, 194, .10), transparent 60%),
    radial-gradient(700px 500px at 60% 110%, rgba(94, 214, 255, .08), transparent 60%),
    var(--bg);
}

.grain {
  position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  animation: grain-shift 9s steps(6) infinite;
}
@keyframes grain-shift {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

/* falling sakura petals (spawned by JS, GPU-cheap transforms only) */
.petals { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.petal {
  position: absolute; top: -4vh; left: var(--x, 50%);
  width: var(--s, 12px); height: var(--s, 12px);
  background: radial-gradient(circle at 35% 30%, #ffd9ec, #f49ac2 65%, #e87bb0);
  border-radius: 80% 0 70% 0;
  opacity: 0;
  animation: petal-fall var(--t, 14s) linear var(--d, 0s) infinite;
  filter: drop-shadow(0 0 6px rgba(244, 154, 194, .35));
}
@keyframes petal-fall {
  0%   { transform: translate3d(0, -5vh, 0) rotate(0deg); opacity: 0; }
  6%   { opacity: var(--o, .7); }
  90%  { opacity: var(--o, .7); }
  100% { transform: translate3d(var(--drift, 8vw), 108vh, 0) rotate(var(--spin, 540deg)); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .petal, .grain { animation: none !important; display: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ── typography ─────────────────────────────────────────────────────── */

h1, h2, h3 { margin-top: 0; font-family: var(--font-display); font-weight: 600; }

.display-xl {
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}

h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.08; margin-bottom: 16px; }
h3 { font-size: 1.02rem; line-height: 1.3; margin-bottom: 10px; }

.eyebrow {
  font-family: var(--font-display);
  color: var(--pink);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.lead { color: var(--ink-soft); font-size: clamp(1rem, 1.6vw, 1.13rem); line-height: 1.75; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

/* iridescent text — the signature */
.holo-text {
  background: var(--holo);
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: holo-slide 7s ease-in-out infinite;
}
@keyframes holo-slide {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── layout ─────────────────────────────────────────────────────────── */

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; position: relative; }
.section { position: relative; padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ── header ─────────────────────────────────────────────────────────── */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 80;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: rgba(6, 5, 9, .65);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
}
.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 70px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; font-family: var(--font-display);
  font-weight: 600; font-size: .98rem; letter-spacing: .02em;
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-pink);
  background:
    radial-gradient(circle at 30% 25%, rgba(244, 154, 194, .25), transparent 70%),
    rgba(244, 154, 194, .07);
  box-shadow: 0 0 26px rgba(244, 154, 194, .3);
}
.brand-mark svg { width: 22px; height: 22px; animation: bloom-spin 24s linear infinite; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
@keyframes bloom-spin { to { transform: rotate(360deg); } }

.nav-links { display: flex; align-items: center; gap: 26px; color: var(--ink-soft); font-size: .9rem; }
.nav-links > a { text-decoration: none; transition: color .2s; }
.nav-links > a:hover { color: #fff; }

/* ── buttons ────────────────────────────────────────────────────────── */

.btn {
  --btn-bg: rgba(255, 255, 255, .07);
  position: relative;
  min-height: 48px; padding: 0 22px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  color: #fff; text-decoration: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  border: 1px solid rgba(255, 255, 255, .14);
  background: var(--btn-bg);
  transition: transform .2s cubic-bezier(.2, .9, .3, 1.4), border-color .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .3); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.btn.primary {
  border-color: rgba(255, 138, 196, .75);
  background: linear-gradient(135deg, #f7a7cb 0%, #f0599f 55%, #d6418c 100%);
  color: #270614;
  box-shadow: 0 14px 40px rgba(244, 95, 177, .3);
}
.btn.primary:hover { box-shadow: 0 18px 52px rgba(244, 95, 177, .45); }

.btn.ghost { background: transparent; }
.btn.small { min-height: 38px; padding: 0 14px; font-size: .85rem; border-radius: 10px; }
.btn.danger { border-color: rgba(255, 125, 156, .4); color: var(--red); }
.btn.danger:hover { background: rgba(255, 125, 156, .1); }

.btn .icon { width: 18px; height: 18px; flex: 0 0 auto; }

.bh-icon {
  width: 1.75em;
  height: 1.75em;
  display: inline-block;
  flex: 0 0 auto;
  object-fit: contain;
  vertical-align: -.18em;
}
.bh-icon.brand-icon {
  width: 1.15em;
  height: 1.15em;
}
.icon-label {
  display: inline-flex;
  align-items: center;
  gap: .45em;
}
.empty-state .brand-icon {
  width: 3rem;
  height: 3rem;
}

/* holographic CTA — foil sweep on hover */
.btn.holo::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--holo);
  background-size: 250% 100%;
  opacity: 0; mix-blend-mode: overlay;
  transition: opacity .25s;
  animation: holo-slide 3.2s linear infinite;
  pointer-events: none;
}
.btn.holo:hover::after { opacity: .85; }

/* ── glass + holo cards ─────────────────────────────────────────────── */

.glass {
  background: linear-gradient(165deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015) 55%), var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* holo-card: mouse-tracked foil sheen + tilt (JS sets --mx/--my/--tilt*) */
.holo-card {
  position: relative;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012) 60%),
    var(--glass-2);
  transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: transform .18s ease-out, border-color .25s, box-shadow .25s;
  will-change: transform;
  overflow: hidden;
}
.holo-card::before {
  content: ""; position: absolute; inset: -1px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%),
      rgba(255, 255, 255, .16), transparent 45%),
    conic-gradient(from 180deg at var(--mx, 50%) var(--my, 50%),
      rgba(244, 154, 194, .22), rgba(94, 214, 255, .18), rgba(167, 139, 250, .2),
      rgba(255, 95, 177, .2), rgba(248, 184, 90, .14), rgba(244, 154, 194, .22));
  opacity: 0;
  transition: opacity .3s;
  mix-blend-mode: plus-lighter;
}
.holo-card:hover { border-color: var(--line-pink); box-shadow: var(--shadow), var(--glow-pink); }
.holo-card:hover::before { opacity: .55; }
.holo-card > * { position: relative; z-index: 1; }

.holo-card.featured {
  border-color: var(--line-pink);
  box-shadow: 0 0 0 1px rgba(244, 154, 194, .14), 0 30px 80px rgba(244, 95, 177, .14);
}
.holo-card.featured::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; z-index: 2;
  background: var(--holo); background-size: 250% 100%;
  animation: holo-slide 4.5s linear infinite;
}

/* ── badges, pills, dots ────────────────────────────────────────────── */

.badge {
  min-height: 26px; padding: 1px 11px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-size: .62rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .22em;
  background: rgba(94, 214, 255, .1); border: 1px solid rgba(94, 214, 255, .26); color: #bfeeff;
}
.badge.pink { background: rgba(244, 154, 194, .12); border-color: var(--line-pink); color: #ffd5e7; }
.badge.gold { background: rgba(248, 184, 90, .1); border-color: rgba(248, 184, 90, .3); color: #ffe2b3; }
.badge.green { background: rgba(116, 227, 155, .1); border-color: rgba(116, 227, 155, .3); color: #b9f3cf; }
.badge.red { background: rgba(255, 125, 156, .12); border-color: rgba(255, 125, 156, .32); color: #ffc4d2; }

.pill {
  min-height: 32px; padding: 0 12px; border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .12);
  display: inline-flex; align-items: center;
  color: var(--ink-soft); background: rgba(255, 255, 255, .045); font-size: .86rem;
}

.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: var(--green); box-shadow: 0 0 14px var(--green); }
.dot.pulse { animation: dot-pulse 2.2s ease-in-out infinite; }
@keyframes dot-pulse { 50% { box-shadow: 0 0 4px var(--green); opacity: .65; } }
.dot.off { background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.dot.dead { background: var(--red); box-shadow: 0 0 12px var(--red); }

/* ── forms ──────────────────────────────────────────────────────────── */

.field { display: grid; gap: 7px; }
.field label {
  font-family: var(--font-display); font-size: .62rem; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
}
.field input, .field select {
  min-height: 46px; padding: 0 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(6, 5, 9, .6);
  color: var(--ink); font-family: var(--font-body); font-size: .95rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus {
  border-color: var(--line-pink);
  box-shadow: 0 0 0 3px rgba(244, 154, 194, .14);
}

/* ── reveal-on-scroll ───────────────────────────────────────────────── */

/* gated behind body.js (set by site.js) so content is never hidden without JS */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-stagger="1"] { transition-delay: .08s; }
.reveal[data-stagger="2"] { transition-delay: .16s; }
.reveal[data-stagger="3"] { transition-delay: .24s; }
.reveal[data-stagger="4"] { transition-delay: .32s; }

/* ── toast ──────────────────────────────────────────────────────────── */

.toast-zone { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 10px; }
.toast {
  padding: 13px 20px; border-radius: 12px;
  background: rgba(17, 15, 26, .92); border: 1px solid var(--line-pink);
  color: var(--ink); font-size: .92rem; font-weight: 600;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  animation: toast-in .35s cubic-bezier(.2, .9, .3, 1.3);
}
.toast.err { border-color: rgba(255, 125, 156, .5); }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }

/* ── support chat widget ────────────────────────────────────────────── */

.chat-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 150;
  width: 60px; height: 60px; border-radius: 50%;
  border: 1px solid var(--line-pink); cursor: pointer;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .22), transparent 50%),
    linear-gradient(135deg, #f7a7cb, #e0509a);
  box-shadow: 0 14px 44px rgba(244, 95, 177, .45);
  display: grid; place-items: center;
  transition: transform .25s cubic-bezier(.2, .9, .3, 1.5);
}
.chat-fab:hover { transform: scale(1.08) rotate(8deg); }
.chat-fab svg { width: 30px; height: 30px; }
.chat-fab::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid rgba(244, 154, 194, .5);
  animation: fab-ring 2.6s ease-out infinite;
}
@keyframes fab-ring { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.45); opacity: 0; } }

.chat-panel {
  position: fixed; right: 26px; bottom: 100px; z-index: 150;
  width: min(390px, calc(100vw - 40px));
  height: min(600px, calc(100svh - 130px));
  display: flex; flex-direction: column;
  border-radius: 20px; overflow: hidden;
  background: var(--glass-2);
  border: 1px solid var(--line-pink);
  box-shadow: var(--shadow), var(--glow-pink);
  backdrop-filter: blur(22px);
  transform-origin: bottom right;
  animation: chat-pop .3s cubic-bezier(.2, .9, .3, 1.3);
}
@keyframes chat-pop { from { opacity: 0; transform: scale(.85) translateY(12px); } }
.chat-panel[hidden] { display: none; }

.chat-head {
  flex: 0 0 auto;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(244, 154, 194, .2), rgba(167, 139, 250, .12));
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 11px;
}
.chat-avatar {
  width: 38px; height: 38px; border-radius: 12px; flex: 0 0 auto;
  overflow: hidden; border: 1px solid var(--line-pink);
  box-shadow: 0 0 18px rgba(244, 154, 194, .35);
}
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-head .title { font-family: var(--font-display); font-size: .85rem; font-weight: 600; }
.chat-head .sub { font-size: .74rem; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.chat-close {
  margin-left: auto; width: 32px; height: 32px; border-radius: 9px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .05);
  color: var(--muted); font-size: 1rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: border-color .2s, color .2s, background .2s;
}
.chat-close:hover { border-color: var(--line-pink); color: #fff; background: rgba(244, 154, 194, .12); }

.chat-body {
  flex: 1 1 auto; min-height: 0;
  padding: 16px 14px; display: flex; flex-direction: column; gap: 10px;
  overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(244, 154, 194, .35) transparent;
}

.chat-row { display: flex; gap: 8px; align-items: flex-end; animation: msg-in .28s cubic-bezier(.2, .8, .3, 1.2) both; }
.chat-row.me { flex-direction: row-reverse; }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.chat-pfp {
  width: 26px; height: 26px; border-radius: 8px; flex: 0 0 auto;
  overflow: hidden; border: 1px solid var(--line-pink); align-self: flex-end;
}
.chat-pfp img { width: 100%; height: 100%; object-fit: cover; }

.chat-msg {
  max-width: 82%; padding: 10px 14px; border-radius: 16px 16px 16px 5px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line);
  font-size: .88rem; line-height: 1.55; color: var(--ink-soft);
  word-break: break-word;
}
.chat-row.me .chat-msg { white-space: pre-wrap; }
.chat-msg b { color: #fff; }
.chat-msg code {
  font-family: var(--font-mono); font-size: .82em;
  background: rgba(6, 5, 9, .55); border: 1px solid var(--line);
  border-radius: 5px; padding: 1px 5px;
}
.chat-msg ul { margin: 6px 0; padding-left: 18px; display: grid; gap: 4px; }
.chat-msg li::marker { color: var(--pink); }
.chat-row.me .chat-msg {
  border-radius: 16px 16px 5px 16px;
  background: linear-gradient(135deg, rgba(244, 154, 194, .2), rgba(255, 95, 177, .14));
  border-color: rgba(244, 154, 194, .32); color: #ffe3f0;
}

.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 34px; transition: opacity .3s, transform .3s; }
.chat-quick.bye { opacity: 0; transform: translateY(6px); pointer-events: none; }
.chat-quick button {
  border: 1px solid var(--line-pink); background: rgba(244, 154, 194, .08);
  color: #ffd5e7; border-radius: 999px; padding: 7px 13px;
  font-size: .8rem; font-weight: 600; cursor: pointer;
  transition: background .2s, transform .15s;
}
.chat-quick button:hover { background: rgba(244, 154, 194, .18); transform: translateY(-1px); }

/* dismissable human-handoff card, lives IN the message stream */
.chat-card {
  position: relative; margin-left: 34px; padding: 13px 14px;
  border-radius: 14px; border: 1px solid rgba(94, 214, 255, .28);
  background: linear-gradient(150deg, rgba(94, 214, 255, .08), rgba(167, 139, 250, .07));
  animation: msg-in .28s both;
}
.chat-card .t { font-weight: 700; font-size: .85rem; margin-bottom: 3px; }
.chat-card .s { color: var(--muted); font-size: .79rem; line-height: 1.5; margin-bottom: 10px; }
.chat-card .row { display: flex; gap: 8px; flex-wrap: wrap; }
.chat-card .row .btn { min-height: 36px; padding: 0 12px; font-size: .8rem; border-radius: 9px; }
.chat-card-x {
  position: absolute; top: 8px; right: 8px;
  width: 24px; height: 24px; border-radius: 7px; border: 0;
  background: transparent; color: var(--muted-2); font-size: .9rem; cursor: pointer;
  display: grid; place-items: center; transition: color .2s, background .2s;
}
.chat-card-x:hover { color: #fff; background: rgba(255, 255, 255, .08); }

.chat-typing { display: inline-flex; gap: 5px; padding: 12px 14px; }
.chat-typing i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--pink);
  animation: typing-bounce 1.1s ease-in-out infinite;
}
.chat-typing i:nth-child(2) { animation-delay: .18s; }
.chat-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes typing-bounce { 0%, 60%, 100% { transform: none; opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }

.chat-input {
  flex: 0 0 auto;
  display: flex; gap: 8px; align-items: center;
  padding: 11px 12px;
  border-top: 1px solid var(--line);
  background: rgba(6, 5, 9, .35);
}
.chat-input input {
  flex: 1; min-height: 44px; padding: 0 14px;
  border-radius: 13px; border: 1px solid var(--line);
  background: rgba(6, 5, 9, .6); color: var(--ink);
  font-family: var(--font-body); font-size: .9rem; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.chat-input input:focus { border-color: var(--line-pink); box-shadow: 0 0 0 3px rgba(244, 154, 194, .12); }
.chat-input button {
  width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 13px; border: 1px solid rgba(255, 138, 196, .6);
  background: linear-gradient(135deg, #f7a7cb, #e0509a); color: #270614;
  font-size: 1.05rem; cursor: pointer; transition: transform .15s, box-shadow .2s;
}
.chat-input button:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(244, 95, 177, .35); }
.chat-input button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.chat-foot {
  flex: 0 0 auto; text-align: center; font-size: .68rem; color: var(--muted-2);
  padding: 0 12px 9px; background: rgba(6, 5, 9, .35);
}
.chat-foot a { color: var(--muted); text-decoration: none; }
.chat-foot a:hover { color: var(--pink); }

/* legacy footer (canned-FAQ mode only) */
.chat-cta { flex: 0 0 auto; padding: 14px 16px 16px; border-top: 1px solid var(--line); display: grid; gap: 9px; }

/* ── modal ──────────────────────────────────────────────────────────── */

.modal-veil {
  position: fixed; inset: 0; z-index: 180;
  background: rgba(4, 3, 7, .7); backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 20px;
  animation: veil-in .25s ease;
}
@keyframes veil-in { from { opacity: 0; } }
.modal {
  width: min(440px, 100%);
  padding: 28px;
  border-radius: 18px;
  background: var(--glass-2); border: 1px solid var(--line-pink);
  box-shadow: var(--shadow), var(--glow-pink);
  backdrop-filter: blur(20px);
  animation: chat-pop .3s cubic-bezier(.2, .9, .3, 1.3);
}
.modal h3 { font-size: 1.15rem; margin-bottom: 8px; }
.modal .muted { font-size: .9rem; line-height: 1.6; }
.modal .row { display: flex; gap: 10px; margin-top: 20px; justify-content: flex-end; }

/* ── skeleton shimmer ───────────────────────────────────────────────── */

.skel {
  position: relative; overflow: hidden; border-radius: 8px;
  background: rgba(255, 255, 255, .05); color: transparent !important; min-height: 1em;
}
.skel::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(244, 154, 194, .14) 50%, transparent 80%);
  animation: skel-sweep 1.4s ease infinite;
}
@keyframes skel-sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ── dashboard: summary strip, order cards, connect panel ───────────── */

.summary-strip {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px;
}
.summary-strip .pill { gap: 8px; font-size: .84rem; }
.summary-strip .pill b { color: #fff; }

.section-label {
  font-family: var(--font-display); font-size: .64rem; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
  margin: 26px 0 14px;
}

.spec-line {
  display: flex; flex-wrap: wrap; gap: 7px 14px;
  color: var(--ink-soft); font-size: .84rem; margin: 2px 0 4px;
}
.spec-line span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }

.addon-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.addon-pills .pill { min-height: 24px; padding: 0 9px; font-size: .74rem; border-radius: 7px; }

.status-explain {
  margin: 10px 0 2px; font-size: .82rem; line-height: 1.55; color: var(--muted);
}
.status-explain.warn { color: #ffe2b3; }
.status-explain.dire { color: #ffc4d2; }

/* connect panel — credentials grouped, never bare table rows */
.connect {
  margin-top: 14px; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(6, 5, 9, .45); overflow: hidden;
}
.connect-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: .64rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}
.connect .kv { padding: 8px 14px; border-bottom: 1px solid rgba(255,255,255,.05); }
.connect .kv:last-child { border-bottom: none; }
.quick-connect { display: flex; flex-wrap: wrap; gap: 8px; padding: 11px 14px; border-top: 1px solid var(--line); }
.creds-note { padding: 11px 14px; font-size: .8rem; line-height: 1.55; color: var(--muted); }

.connect-hint { padding: 0 14px 12px; }
.connect-hint summary {
  cursor: pointer; color: var(--cyan); font-size: .8rem; padding: 8px 0 4px;
  list-style: none;
}
.connect-hint summary::before { content: "✦ "; }
.connect-hint p { margin: 6px 0 0; font-size: .82rem; line-height: 1.6; color: var(--muted); }
.connect-hint .mono { color: var(--ink-soft); background: rgba(255,255,255,.06); padding: 1px 6px; border-radius: 5px; }

/* unpaid order card */
.order-card { padding: 24px; border-color: rgba(248, 184, 90, .28); }
.order-card .server-top h3 { font-size: 1.1rem; }
.order-card .price-line {
  display: flex; align-items: baseline; gap: 8px; margin: 12px 0 4px;
}
.order-card .price-line strong { font-family: var(--font-display); font-size: 1.7rem; }
.order-card .reassure { font-size: .8rem; color: var(--muted); line-height: 1.55; margin: 10px 0 0; }
.order-age { color: var(--muted-2); font-size: .78rem; }

/* ── footer ─────────────────────────────────────────────────────────── */

.site-footer {
  padding: 44px 0 38px; color: var(--muted);
  background: #040308; border-top: 1px solid rgba(255, 255, 255, .06);
  position: relative; z-index: 1;
}
.footer-inner {
  width: min(var(--max), calc(100% - 40px)); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 22px; align-items: center; font-size: .9rem;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { text-decoration: none; color: var(--ink-soft); transition: color .2s; }
.footer-links a:hover { color: var(--pink); }

@media (max-width: 720px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .chat-fab { right: 16px; bottom: 16px; }
  .chat-panel { right: 16px; bottom: 88px; }
}
