/* GuardMyWeb marketing site — dark cybersecurity theme */
:root {
  --ink: #070b12;
  --surface: #0d131e;
  --surface-2: #121a28;
  --border: rgba(148, 178, 220, 0.14);
  --border-strong: rgba(148, 178, 220, 0.28);
  --text: #eaf1fb;
  --text-soft: #a9b3cc;
  --text-muted: #6b7690;
  --brand: #3ad0ff;
  --brand-2: #7c5cff;
  --signal: #23e39a;
  --danger: #ff5470;
  --font-head: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 500px at 15% -10%, rgba(58, 208, 255, 0.10), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(124, 92, 255, 0.10), transparent 55%),
    var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 12px; color: var(--text-soft); }
ul { padding: 0; margin: 0; list-style: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 0.94rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, filter .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #04101c;
  box-shadow: 0 0 0 1px rgba(58,208,255,0.35), 0 8px 24px -8px rgba(58,208,255,0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(58,208,255,0.5), 0 12px 30px -6px rgba(58,208,255,0.65); }
.btn-ghost {
  background: rgba(255,255,255,0.03); color: var(--text); border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,0.07); border-color: var(--brand); transform: translateY(-2px); }
.btn-on-dark { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.2); }
.btn-on-dark:hover { background: rgba(255,255,255,0.16); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 18, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
/* The header's own row gets more room than the (narrower) body content
   container — 9 nav links + logo + 2 buttons doesn't fit inside the
   1160px content width, and re-using that same width caused each of the
   longer links ("How It Works", "QR Tool") to wrap onto two lines. */
.site-header .container { max-width: 1400px; }
.site-header .nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: #fff; white-space: nowrap; }
.brand .mark { color: var(--brand); text-shadow: 0 0 16px rgba(58,208,255,0.7); }
.nav-links { display: flex; align-items: center; gap: 16px; }
.nav-links a { font-size: 0.85rem; color: var(--text-soft); transition: color .15s ease; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: none; }
.nav-toggle { flex-direction: column; gap: 5px; padding: 6px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; }
@media (max-width: 1080px) {
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px 24px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border); white-space: normal; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .site-header .nav { position: relative; }
}
@media (min-width: 1081px) {
  .nav-toggle { display: none; }
  /* The "Log In" link inside .nav-links is only needed inside the mobile
     dropdown (where .nav-cta's ghost button is hidden) — on desktop it
     duplicates the ghost "Log In" button that already sits in .nav-cta. */
  .nav-login-mobile-only { display: none; }
}

/* ---------- PROMO BANNER (injected by main.js, appears on every page) ---------- */
.promo-banner {
  position: relative; z-index: 60; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 14px; row-gap: 6px; flex-wrap: wrap;
  padding: 11px 46px;
  background: linear-gradient(180deg, #0b1524, #0a121e);
  border-bottom: 1px solid rgba(255,138,61,0.25);
}
.promo-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255,171,64,0.14) 50%, transparent 70%);
  background-size: 240% 100%; background-position: 200% 0;
}
.promo-banner .badge {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: #2a1200; background: linear-gradient(135deg, #ffd166, #ff7a59);
  padding: 4px 11px; border-radius: 999px; box-shadow: 0 0 16px rgba(255,138,61,0.5); white-space: nowrap;
}
.promo-banner .msg { position: relative; z-index: 1; color: var(--text-soft); font-size: 0.86rem; }
.promo-banner .msg b { color: #fff; }
.promo-banner a.banner-cta {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  font-size: 0.8rem; font-weight: 700; color: #2a1200; text-decoration: none;
  background: linear-gradient(135deg, #ffd166, #ff7a59);
  padding: 6px 15px; border-radius: 999px; box-shadow: 0 4px 16px -4px rgba(255,138,61,0.65);
  transition: transform .15s ease, box-shadow .2s ease;
}
.promo-banner a.banner-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px -4px rgba(255,138,61,0.8); }
.promo-banner .close-banner {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%); z-index: 2;
  background: none; border: none; color: var(--text-muted); opacity: 0.7; cursor: pointer; font-size: 1rem; line-height: 1; padding: 4px;
}
.promo-banner .close-banner:hover { opacity: 1; color: #fff; }
@media (max-width: 560px) {
  .promo-banner { padding: 10px 40px; }
  .promo-banner .msg { font-size: 0.78rem; }
}

/* ---------- HERO ---------- */
.hero { padding: 96px 0 64px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal);
  background: rgba(35, 227, 154, 0.08); border: 1px solid rgba(35, 227, 154, 0.3);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero .lead { font-size: 1.12rem; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin: 28px 0 18px; flex-wrap: wrap; }
.hero-note { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-muted); }

.terminal {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(58,208,255,0.06);
  overflow: hidden;
}
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.terminal-bar span:not(.label) { width: 10px; height: 10px; border-radius: 50%; background: #4a5468; }
.terminal-bar span:nth-child(1) { background: #ff5f57; }
.terminal-bar span:nth-child(2) { background: #febc2e; }
.terminal-bar span:nth-child(3) { background: #28c840; }
.terminal-bar .label { margin-left: 8px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); }
.terminal-body {
  min-height: 180px; padding: 18px 20px; font-family: var(--font-mono); font-size: 0.82rem; color: var(--signal);
  background:
    repeating-linear-gradient(transparent, transparent 27px, rgba(255,255,255,0.02) 28px);
}
.terminal-body::before {
  content: "$ tail -f /var/log/guardmyweb/access.log\A[ok] request allowed  203.0.113.9  GET /\A[block] xss_detected  198.51.100.4  POST /contact\A[ok] request allowed  192.0.2.7  GET /pricing\A[block] scanner_blocked  203.0.113.55  GET /wp-config.php.bak";
  white-space: pre-wrap; opacity: 0.85;
}

/* ---------- SECTIONS / GRID / CARDS ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(58,208,255,0.03) 15%, rgba(58,208,255,0.03) 85%, transparent); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.head-block { max-width: 640px; margin: 0 0 40px; }
.head-block.center, .center { text-align: center; margin-left: auto; margin-right: auto; }
.lead.center { margin-left: auto; margin-right: auto; }

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

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.card .icon, .card .tag { display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.threat-card .icon {
  width: 42px; height: 42px; border-radius: 10px; font-size: 1.1rem;
  background: rgba(255, 84, 112, 0.1); color: var(--danger); border: 1px solid rgba(255,84,112,0.28);
}
.card .tag {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--brand);
  background: rgba(58,208,255,0.08); border: 1px solid rgba(58,208,255,0.25);
  padding: 4px 10px; border-radius: 6px;
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 24px; border-left: 2px solid var(--border-strong); }
.step .num {
  font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--brand);
  margin-bottom: 10px;
}

/* ---------- PRICING ---------- */
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 40px; }
.toggle-pill { display: flex; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px; }
.toggle-pill button { border: none; background: transparent; color: var(--text-soft); padding: 8px 18px; border-radius: 999px; font-size: 0.85rem; cursor: pointer; }
.toggle-pill button.is-active { background: var(--brand); color: #04101c; font-weight: 600; }
.save-tag { font-size: 0.8rem; color: var(--signal); }

.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 760px; margin: 0 auto; }
.plans:has(.plan:nth-child(3)) { grid-template-columns: repeat(3, 1fr); max-width: 1080px; }
@media (max-width: 800px) { .plans { grid-template-columns: 1fr; } }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; text-align: left;
}
.plan.featured {
  border-color: rgba(58,208,255,0.5);
  box-shadow: 0 0 0 1px rgba(58,208,255,0.25), 0 20px 50px -20px rgba(58,208,255,0.4);
  background: linear-gradient(180deg, rgba(58,208,255,0.06), var(--surface) 40%);
}
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #04101c;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; padding: 5px 14px; border-radius: 999px;
}
.plan-name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; }
.plan-price { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.plan-price span:last-child { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); font-family: var(--font-body); }
.plan-desc { font-size: 0.88rem; margin-bottom: 20px; }
.plan-features { margin-bottom: 24px; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: 0.9rem; color: var(--text-soft); }
.plan-features li.off { color: var(--text-muted); }
.plan-features .check { color: var(--signal); font-weight: 700; }
.plan-features li.off .check { color: var(--text-muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table.compare { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
table.compare th, table.compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
table.compare th { font-family: var(--font-head); color: var(--text-muted); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
table.compare tr:last-child td { border-bottom: none; }

.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-q { width: 100%; text-align: left; background: none; border: none; color: var(--text); font-size: 1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; padding: 0; font-family: var(--font-body); }
.faq-a { padding-top: 10px; }
.faq-a p { margin: 0; }
.plus { color: var(--brand); }

/* ---------- TESTIMONIALS ---------- */
.quote-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.quote-who { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.quote-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2)); flex-shrink: 0; }
.quote-name { font-weight: 600; font-size: 0.9rem; }
.quote-role { font-size: 0.8rem; color: var(--text-muted); }

/* ---------- CTA BAND ---------- */
.cta-band {
  text-align: center; padding: 56px 32px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(58,208,255,0.12), rgba(124,92,255,0.12));
  border: 1px solid var(--border-strong);
}
.cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }

/* ---------- AUTH PAGES ---------- */
.auth-side { background: linear-gradient(160deg, var(--surface-2), var(--ink)); }
.auth-side .eyebrow { margin-bottom: 22px; }
.stack li { padding: 6px 0; font-size: 0.9rem; }
.field { margin: 14px 0; text-align: left; }
.field label { display: block; font-size: 0.82rem; color: var(--text-soft); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; background: rgba(255,255,255,0.03); border: 1px solid var(--border-strong); color: var(--text);
  border-radius: var(--radius-sm); padding: 11px 14px; font-size: 0.92rem; font-family: var(--font-body); resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(58,208,255,0.15); }
.form-row { display: flex; gap: 12px; }
.form-row .field { flex: 1; }
.small { font-size: 0.82rem; color: var(--text-muted); }
.small.muted { color: var(--text-muted); }
.muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0; }
.field-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 12px; text-align: center; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- FOOTER ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; margin-bottom: 36px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
.footer-brand p { max-width: 260px; font-size: 0.88rem; }
.footer-col h4 { font-family: var(--font-head); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 0.9rem; color: var(--text-soft); padding: 4px 0; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--text-muted); flex-wrap: wrap; gap: 10px; }

/* ---------- MOTION: ambient background, reveal-on-scroll, glow pulses ---------- */
@media (prefers-reduced-motion: no-preference) {
  .promo-banner::before { animation: banner-shimmer 5s ease-in-out infinite; }
  @keyframes banner-shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -40% 0; }
  }

  body::before {
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
      radial-gradient(680px 420px at 10% 15%, rgba(58,208,255,0.10), transparent 60%),
      radial-gradient(620px 420px at 90% 75%, rgba(124,92,255,0.10), transparent 60%);
    animation: ambient-drift 22s ease-in-out infinite;
  }
  @keyframes ambient-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(2%, -3%) scale(1.05); }
  }

  .gmw-radar { animation: gmw-radar-sweep 3s linear infinite; }
  @keyframes gmw-radar-sweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  .eyebrow::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
    box-shadow: 0 0 0 0 currentColor; animation: eyebrow-pulse 1.8s ease-out infinite;
  }
  @keyframes eyebrow-pulse {
    0% { box-shadow: 0 0 0 0 rgba(35,227,154,0.5); }
    70% { box-shadow: 0 0 0 6px rgba(35,227,154,0); }
    100% { box-shadow: 0 0 0 0 rgba(35,227,154,0); }
  }

  .btn-primary { animation: btn-glow-pulse 3s ease-in-out infinite; }
  @keyframes btn-glow-pulse {
    0%, 100% { box-shadow: 0 0 0 1px rgba(58,208,255,0.35), 0 8px 24px -8px rgba(58,208,255,0.55); }
    50% { box-shadow: 0 0 0 1px rgba(58,208,255,0.55), 0 10px 34px -6px rgba(58,208,255,0.85); }
  }
  .btn-primary:hover { animation-play-state: paused; }

  /* .reveal is only ever added by main.js's IntersectionObserver path (never
     when reduced-motion is on, or JS fails to load) — so it's safe for this
     to start invisible with no fallback needed elsewhere. */
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(.16,.84,.44,1), transform 0.7s cubic-bezier(.16,.84,.44,1); }
  .reveal-visible { opacity: 1; transform: translateY(0); }
}

/* ---------- CUSTOMER CENTER (support chat widget, injected by main.js) ---------- */
.hidden { display: none !important; }
#chatBubble {
  position: fixed; right: 22px; bottom: 22px; z-index: 999; width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  box-shadow: 0 10px 28px -6px rgba(58,208,255,0.55); transition: transform .15s ease;
}
#chatBubble:hover { transform: scale(1.08); }
#chatBubble .dot {
  position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--signal); border: 2px solid var(--ink);
}
#chatPanel {
  position: fixed; right: 22px; bottom: 92px; z-index: 999; width: 340px; max-width: calc(100vw - 44px);
  height: 460px; max-height: calc(100vh - 140px); background: var(--surface); border: 1px solid var(--border-2, rgba(148,178,220,0.28));
  border-radius: var(--radius); box-shadow: 0 24px 60px -12px rgba(0,0,0,0.6); display: flex; flex-direction: column;
  overflow: hidden; font-family: var(--font-body);
}
.chat-header {
  padding: 14px 16px; background: linear-gradient(135deg, rgba(58,208,255,0.14), rgba(124,92,255,0.14));
  border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between;
}
.chat-header .title { font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; color: #fff; }
.chat-header .sub { font-size: 0.72rem; color: var(--signal); }
.chat-header button { background: none; border: none; color: var(--text-soft); font-size: 1.1rem; cursor: pointer; line-height: 1; }
.chat-messages { flex: 1; overflow-y: auto; padding: 14px 14px 6px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 84%; font-size: 0.84rem; line-height: 1.4; padding: 9px 12px; border-radius: 12px; }
.chat-msg.bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border); color: var(--text, #eaf1fb); border-bottom-left-radius: 3px; }
.chat-msg.user { align-self: flex-end; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #04101c; font-weight: 500; border-bottom-right-radius: 3px; }
.chat-msg.typing { align-self: flex-start; color: var(--text-soft); font-style: italic; }
.chat-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.chat-input-row input {
  flex: 1; background: rgba(255,255,255,0.03); color: var(--text, #eaf1fb); border: 1px solid var(--border-2, rgba(148,178,220,0.28));
  border-radius: 999px; padding: 9px 14px; font-size: 0.84rem; font-family: var(--font-body);
}
.chat-input-row input:focus { outline: none; border-color: var(--brand); }
.chat-input-row button {
  border: none; cursor: pointer; border-radius: 50%; width: 38px; height: 38px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #04101c; font-size: 1rem;
}
.chat-input-row button:disabled { opacity: 0.5; cursor: default; }
@media (max-width: 480px) {
  #chatPanel { right: 12px; left: 12px; width: auto; }
  #chatBubble { right: 16px; }
}
