﻿:root {
  --bg: #0f0a1f;
  --panel-soft: rgba(255, 255, 255, 0.06);
  --text: #f6f2ff;
  --muted: #c8bfde;
  --primary: #b065ff;
  --primary-2: #7a3dff;
  --accent: #d8a7ff;
  --border: rgba(255, 255, 255, 0.16);
  --shadow: 0 20px 60px rgba(88, 40, 160, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  background: radial-gradient(circle at 20% 10%, #2c165d 0%, var(--bg) 40%), radial-gradient(circle at 80% 90%, #261248 0%, #0a0714 45%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: "Space Grotesk", sans-serif; margin-top: 0; }
.container { width: min(1100px, 92vw); margin: 0 auto; }
.page-main { padding: 24px 0 70px; }

.bg-orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: -1;
  animation: drift 12s ease-in-out infinite alternate;
}
.orb-1 { background: rgba(186, 109, 255, 0.35); top: -120px; left: -80px; }
.orb-2 { background: rgba(117, 63, 255, 0.28); right: -120px; bottom: -120px; animation-delay: 1s; }

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(10, 7, 20, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 40;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
.brand img { width: 38px; height: 38px; }

.nav-links { display: flex; gap: 14px; }
.nav-links a, .footer-links a {
  color: var(--muted);
  text-decoration: none;
}
.nav-links a:hover, .footer-links a:hover, .active-link { color: var(--accent) !important; }
.nav-fav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  margin-left: 6px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(120deg, #ff6f9f, #ff9f6f);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  vertical-align: middle;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding: 72px 0 36px;
}
.hero-single { grid-template-columns: 1fr; }
.hero-copy h1 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; margin-bottom: 14px; }
.hero-copy p { color: var(--muted); max-width: 62ch; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 8px;
}
.hero-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.hero-card ul { margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.8; }
.pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  position: absolute;
  bottom: 20px;
  right: 20px;
  box-shadow: 0 0 0 0 rgba(176, 101, 255, 0.9);
  animation: pulse 1.8s infinite;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 16px auto 48px;
}
.feature, .card-form, .services, .publish, .legal-page {
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}
.feature p, .section-head p, .info, .legal-page p { color: var(--muted); }
.section-head { margin-bottom: 14px; }
.section-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

.service-grid, .request-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.service-card, .request-card, .proposal-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px;
}
.service-card .meta, .request-card .meta {
  display: flex;
  justify-content: space-between;
  color: var(--accent);
  font-size: 0.88rem;
}
.card-actions { margin-top: 10px; display: flex; gap: 8px; }
.linked-proposals { margin-top: 12px; display: grid; gap: 8px; }

.publish { margin: 28px auto; }
.card-form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 0.92rem; }
.consent-line { display: flex; align-items: center; gap: 10px; }
input, select, textarea {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  padding: 12px;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(176, 101, 255, 0.55); border-color: transparent; }

.btn {
  border: 0;
  border-radius: 12px;
  padding: 11px 16px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: white;
  background: linear-gradient(110deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 28px rgba(114, 45, 220, 0.45);
}
.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-actions { display: flex; gap: 12px; margin-top: 22px; }

.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.quick-link {
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 12px;
}
.quick-link:hover { border-color: rgba(176, 101, 255, 0.8); }

.pager {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-window {
  min-height: 300px;
  max-height: 420px;
  overflow: auto;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 8px;
}
.chat-bubble {
  max-width: min(80%, 620px);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.chat-bubble.mine {
  justify-self: end;
  background: rgba(176, 101, 255, 0.2);
}
.chat-bubble.theirs {
  justify-self: start;
  background: rgba(255, 255, 255, 0.06);
}
.chat-bubble p { margin: 6px 0; }
.chat-form {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.legal-page h2 { margin-top: 20px; }

.auth-modal {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0;
  max-width: 460px;
  width: calc(100% - 24px);
  background: #130d25;
  color: var(--text);
}
.auth-modal::backdrop { background: rgba(0, 0, 0, 0.62); }
.modal-wrap { position: relative; padding: 24px; display: grid; gap: 10px; }
.close {
  position: absolute;
  right: 14px;
  top: 10px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.2rem;
  cursor: pointer;
}
.tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.tab {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  padding: 10px;
  cursor: pointer;
}
.tab.active {
  color: var(--text);
  border-color: rgba(176, 101, 255, 0.7);
  background: rgba(176, 101, 255, 0.15);
}

.hidden { display: none !important; }

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 18px;
  text-align: center;
  color: var(--muted);
  background: rgba(10, 7, 20, 0.45);
}
.footer-links { display: flex; justify-content: center; gap: 16px; }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.65s ease forwards;
}

@keyframes reveal { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse {
  70% { box-shadow: 0 0 0 16px rgba(176, 101, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(176, 101, 255, 0); }
}
@keyframes drift {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(26px) scale(1.06); }
}

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .hero-actions, .nav-actions, .nav { flex-wrap: wrap; }
  .nav { justify-content: center; }
  .nav-links { order: 3; }
  .chat-form { grid-template-columns: 1fr; }
}

.thread-list {
  display: grid;
  gap: 12px;
}

.thread-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}

.stat-card h3 {
  margin: 0;
  font-size: 1.5rem;
}

.stat-card p {
  margin: 4px 0 0;
  color: var(--muted);
}

.admin-table {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}

.admin-row {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1fr 1fr 140px;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
}

.admin-head {
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
}

/* Motion + micro-interactions */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.24) 45%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.45s ease;
  pointer-events: none;
}

.btn:hover::after,
.btn:focus-visible::after {
  transform: translateX(120%);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.nav-links a,
.footer-links a,
.quick-link {
  transition: color 0.25s ease, transform 0.2s ease, border-color 0.25s ease;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active-link::after {
  width: 100%;
}

.service-card,
.request-card,
.proposal-card,
.thread-card,
.feature,
.stat-card,
.quick-link,
.legal-page {
  transition: transform 0.22s ease, box-shadow 0.28s ease, border-color 0.22s ease;
}

.service-card:hover,
.request-card:hover,
.proposal-card:hover,
.thread-card:hover,
.feature:hover,
.stat-card:hover,
.quick-link:hover,
.legal-page:hover {
  transform: translateY(-3px);
  border-color: rgba(176, 101, 255, 0.55);
  box-shadow: 0 10px 24px rgba(126, 63, 229, 0.24);
}

.chat-bubble {
  animation: chatIn 0.25s ease;
}

@keyframes chatIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Home Landing */
.home-main {
  padding-top: 24px;
  padding-bottom: 70px;
}

.home-hero {
  align-items: stretch;
}

.hero-badges {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-badges span {
  padding: 7px 10px;
  border: 1px solid rgba(216, 167, 255, 0.35);
  background: rgba(176, 101, 255, 0.09);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--accent);
}

.hero-showcase {
  display: grid;
  gap: 12px;
}

.show-card {
  background: linear-gradient(165deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.show-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 8px;
}

.project-story {
  margin: 8px 0 24px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.story-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 14px;
}

.story-card p {
  color: var(--muted);
}

.progress-section {
  margin: 0 0 28px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.progress-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.progress-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.progress-stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  font-family: "Space Grotesk", sans-serif;
  color: var(--accent);
}

.progress-stat span {
  font-size: 0.86rem;
  color: var(--muted);
}

.progress-list {
  display: grid;
  gap: 12px;
}

.progress-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 12px;
}

.progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.progress-head span {
  color: var(--accent);
  font-weight: 600;
}

.progress-track {
  height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}

.progress-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 960px) {
  .home-hero {
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .progress-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .progress-stats {
    grid-template-columns: 1fr;
  }

  .progress-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Home additions: dashboard + timeline + social proof */
.dashboard-mockup {
  background: linear-gradient(160deg, rgba(18, 13, 39, 0.96), rgba(33, 20, 63, 0.86));
  border: 1px solid rgba(216, 167, 255, 0.35);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 20px 45px rgba(84, 37, 160, 0.45);
}

.dashboard-mockup header,
.dashboard-mockup footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.dashboard-mockup header p,
.dashboard-mockup footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.dashboard-mockup header span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(62, 220, 158, 0.2);
  border: 1px solid rgba(62, 220, 158, 0.4);
  color: #b7ffe3;
  font-size: 0.74rem;
}

.dash-stats {
  margin: 14px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.dash-stats div {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 9px;
}

.dash-stats strong {
  display: block;
  font-size: 1.1rem;
  color: var(--accent);
}

.dash-stats small {
  color: var(--muted);
  font-size: 0.73rem;
}

.dash-bars {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.dash-bars span {
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  width: var(--w);
  opacity: 0.92;
}

.floating-pill {
  margin-top: 8px;
  width: fit-content;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.78rem;
}

.pill-1 { animation: floatPill 2.8s ease-in-out infinite; }
.pill-2 { animation: floatPill 3.2s ease-in-out infinite reverse; }

@keyframes floatPill {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.timeline-section {
  margin: 0 0 28px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 12px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--accent), transparent);
}

.timeline-item {
  margin-left: 34px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 12px;
  position: relative;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(176, 101, 255, 0.25);
}

.timeline-item.timeline-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-date {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.social-proof {
  margin: 0 0 28px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.proof-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px;
}

.proof-card p {
  color: var(--text);
  margin-top: 0;
}

.proof-card strong,
.proof-card span {
  display: block;
}

.proof-card span {
  color: var(--accent);
  font-size: 0.83rem;
}

.logo-cloud {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.logo-cloud span {
  padding: 7px 10px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.84rem;
}

@media (max-width: 960px) {
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .dash-stats {
    grid-template-columns: 1fr;
  }
}

/* Pro landing upgrades */
.cred-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 0 24px;
}

.cred-strip article {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.cred-strip strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  color: var(--accent);
}

.cred-strip span {
  color: var(--muted);
  font-size: 0.84rem;
}

.why-section {
  margin: 0 0 28px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 14px;
}

.dashboard-mockup {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dashboard-mockup.dashboard-live {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(110, 54, 211, 0.44);
}

.dashboard-mockup .dash-bars span {
  width: 0;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.dashboard-mockup.dashboard-live .dash-bars span {
  width: var(--w);
}

.faq-section {
  margin: 0 0 28px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 10px 12px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-list p {
  margin: 10px 0 2px;
  color: var(--muted);
}

.cta-final {
  margin: 0 0 28px;
  border: 1px solid rgba(216, 167, 255, 0.35);
  background: linear-gradient(140deg, rgba(176, 101, 255, 0.16), rgba(122, 61, 255, 0.12));
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.cta-final p {
  color: var(--muted);
  margin-bottom: 16px;
}

@media (max-width: 960px) {
  .cred-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .cred-strip {
    grid-template-columns: 1fr;
  }
}

/* Floating support chat */
.support-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
}

.support-fab {
  border: 1px solid rgba(216, 167, 255, 0.45);
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  color: #fff;
  border-radius: 999px;
  padding: 11px 16px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(114, 45, 220, 0.45);
}

.support-panel {
  width: min(360px, calc(100vw - 28px));
  height: 470px;
  margin-top: 10px;
  background: rgba(17, 11, 33, 0.96);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 24px 54px rgba(45, 15, 92, 0.5);
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  overflow: hidden;
}

.support-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.support-panel header h3 {
  margin: 0;
  font-size: 1rem;
}

.support-panel header button {
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
}

.support-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 10px 12px;
}

.support-tabs button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  padding: 8px;
  cursor: pointer;
}

.support-tabs button.active {
  color: var(--text);
  border-color: rgba(176, 101, 255, 0.7);
  background: rgba(176, 101, 255, 0.15);
}

.support-meta {
  padding: 0 12px 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.support-toggle {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.support-body {
  margin: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px;
  overflow: auto;
  display: grid;
  gap: 8px;
}

.support-msg {
  border-radius: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.support-msg.me {
  justify-self: end;
  max-width: 86%;
  background: rgba(176, 101, 255, 0.22);
}

.support-msg.ai,
.support-msg.mod {
  justify-self: start;
  max-width: 86%;
  background: rgba(255, 255, 255, 0.06);
}

.support-msg p {
  margin: 4px 0 0;
  color: var(--text);
}

.support-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
}

.support-form input {
  padding: 10px;
}

@media (max-width: 600px) {
  .support-widget {
    right: 10px;
    bottom: 10px;
  }

  .support-panel {
    height: 60vh;
  }
}

.support-admin-tools {
  display: grid;
  gap: 8px;
}

.support-admin-tools select {
  width: 100%;
  margin-top: 4px;
}

/* Notification widget */
.notif-widget {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 121;
}

.notif-fab {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(19, 13, 37, 0.96);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.notif-badge {
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  background: linear-gradient(120deg, #ff6f9f, #ff9f6f);
  color: white;
}

.notif-panel {
  width: min(360px, calc(100vw - 28px));
  max-height: 440px;
  margin-top: 10px;
  background: rgba(17, 11, 33, 0.96);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 24px 54px rgba(45, 15, 92, 0.5);
  display: grid;
  grid-template-rows: auto auto 1fr;
  overflow: hidden;
}

.notif-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.notif-panel header h3 {
  margin: 0;
  font-size: 1rem;
}

.notif-panel header button,
.notif-actions button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border-radius: 8px;
  padding: 6px 8px;
  cursor: pointer;
}

.notif-actions {
  padding: 8px 12px;
}

.notif-list {
  padding: 0 12px 12px;
  overflow: auto;
  display: grid;
  gap: 8px;
}

.notif-item {
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 9px;
}

.notif-item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.87rem;
}

@media (max-width: 600px) {
  .notif-widget {
    right: 10px;
    bottom: 80px;
  }
}
.admin-controls {
  margin: 18px 0 24px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.admin-toolbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 10px;
}

.admin-toolbar label {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  color: var(--muted);
}

.admin-toolbar input,
.admin-toolbar select,
.admin-actions-cell select {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(16, 10, 28, 0.82);
  color: var(--text);
  padding: 8px 10px;
}

.admin-actions-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-actions-cell {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 0.74rem;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.admin-role-admin {
  color: #ffe7a8;
  background: rgba(255, 200, 70, 0.16);
  border-color: rgba(255, 200, 70, 0.35);
}

.admin-role-pro {
  color: #d0e8ff;
  background: rgba(97, 177, 255, 0.16);
  border-color: rgba(97, 177, 255, 0.36);
}

.admin-role-user {
  color: #dec7ff;
  background: rgba(195, 132, 255, 0.16);
  border-color: rgba(195, 132, 255, 0.36);
}

.admin-status-on {
  color: #c7ffd6;
  background: rgba(88, 214, 141, 0.14);
  border-color: rgba(88, 214, 141, 0.35);
}

.admin-status-off {
  color: #ffd0d0;
  background: rgba(255, 108, 108, 0.14);
  border-color: rgba(255, 108, 108, 0.35);
}

@media (max-width: 980px) {
  .admin-toolbar {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

@media (max-width: 640px) {
  .admin-toolbar {
    grid-template-columns: 1fr;
  }

  .admin-row {
    font-size: 0.83rem;
  }
}
.founder-section {
  margin: 0 0 26px;
}

.founder-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

.founder-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: radial-gradient(circle at 30% 20%, rgba(179, 122, 255, 0.45), rgba(96, 44, 170, 0.5));
}

.founder-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-fallback {
  display: none;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
}

.founder-content h2 {
  margin: 4px 0 8px;
  font-size: clamp(1.6rem, 1.6vw + 1rem, 2.2rem);
}

.founder-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.founder-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.founder-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(216, 167, 255, 0.35);
  background: rgba(216, 167, 255, 0.13);
  color: #f8efff;
  font-size: 0.82rem;
}

.founder-content .hero-actions {
  margin-top: 16px;
}

@media (max-width: 900px) {
  .founder-card {
    grid-template-columns: 1fr;
  }

  .founder-media {
    max-width: 320px;
  }
}
.brand img.brand-wordmark {
  width: auto;
  height: 24px;
  max-width: 140px;
}
.favorites-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.favorites-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 10px;
}

@media (max-width: 720px) {
  .favorites-stats {
    grid-template-columns: 1fr;
  }
}





.captcha-line {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
}

.auth-toast {
  position: fixed;
  top: 84px;
  right: 18px;
  z-index: 160;
  max-width: min(360px, calc(100vw - 24px));
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(88, 214, 141, 0.45);
  background: rgba(14, 33, 24, 0.94);
  color: #d9ffe6;
  box-shadow: 0 16px 32px rgba(6, 18, 11, 0.45);
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.auth-toast-show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 600px) {
  .auth-toast {
    right: 10px;
    top: 76px;
  }
}
.auth-toast {
  position: fixed;
  top: 84px;
  right: 18px;
  overflow: hidden;
  padding: 12px 14px 8px;
}


.auth-center-welcome {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  z-index: 200;
  min-width: min(560px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  text-align: center;
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid rgba(216, 167, 255, 0.44);
  background: linear-gradient(140deg, rgba(32, 17, 58, 0.95), rgba(78, 41, 133, 0.9));
  color: #f7ecff;
  box-shadow: 0 24px 64px rgba(22, 10, 44, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.auth-center-welcome strong {
  display: block;
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  letter-spacing: 0.01em;
}

.auth-center-welcome small {
  display: block;
  margin-top: 6px;
  color: #decaf2;
  font-size: 0.92rem;
}

.auth-center-welcome.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.auth-toast-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-toast-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(88, 214, 141, 0.2);
  border: 1px solid rgba(88, 214, 141, 0.5);
  color: #b8ffd4;
  font-size: 0.86rem;
  font-weight: 800;
}

.auth-toast-text {
  display: grid;
  line-height: 1.25;
}

.auth-toast-text strong {
  color: #eafff0;
  font-size: 0.92rem;
}

.auth-toast-text small {
  color: #c7f5d6;
  font-size: 0.8rem;
}

.auth-toast-progress {
  display: block;
  margin-top: 9px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(88, 214, 141, 1), rgba(153, 255, 199, 1));
  transform-origin: left center;
}

.auth-toast-animate .auth-toast-progress {
  animation: authToastProgress 2.4s linear forwards;
}

@keyframes authToastProgress {
  from { transform: scaleX(1); opacity: 1; }
  to { transform: scaleX(0); opacity: 0.6; }
}
/* Auth loading + login logs */
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.78;
  transform: none !important;
}

.btn-loading {
  position: relative;
  padding-left: 34px;
}

.btn-loading::before {
  content: "";
  position: absolute;
  left: 12px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  animation: btnSpin 0.7s linear infinite;
}

@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

.admin-auth-login {
  background: rgba(97, 203, 255, 0.18);
  border-color: rgba(97, 203, 255, 0.45);
  color: #d8f5ff;
}

.admin-auth-signup {
  background: rgba(143, 255, 196, 0.16);
  border-color: rgba(143, 255, 196, 0.4);
  color: #d9ffe9;
}

.auth-toast-pop {
  animation: authToastPop 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-toast-leave {
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
}

@keyframes authToastPop {
  0% { opacity: 0; transform: translateY(-12px) scale(0.95); }
  70% { opacity: 1; transform: translateY(0) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}



