/* Self-hosted brand fonts */
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/Raleway-VariableFont_wght.ttf") format("truetype-variations");
}
@font-face {
  font-family: "Raleway";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/Raleway-Italic-VariableFont_wght.ttf") format("truetype-variations");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url("fonts/Roboto-VariableFont_wdth_wght.ttf") format("truetype-variations");
}
@font-face {
  font-family: "Roboto";
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url("fonts/Roboto-Italic-VariableFont_wdth_wght.ttf") format("truetype-variations");
}

/* Button system */
.btn-base {
  display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center;
  gap: 4px; border-radius: 8px;
  font-family: Roboto, system-ui, sans-serif;
  font-size: 14px; line-height: 28px; font-weight: 500;
  transition: background-color .15s ease, color .15s ease;
  white-space: nowrap; border: none; cursor: pointer; text-decoration: none;
}
.btn-md { padding: 4px 12px; }
.btn-lg { padding: 8px 16px; }
.btn-dark { background:#212529; color:#fff; }
.btn-dark:hover { background:#343a40; }
.btn-light { background:#fff; color:#212529; }
.btn-light:hover { background:#f1f3f5; }
.btn-soft { background:rgba(33,37,41,0.10); color:#212529; }
.btn-soft:hover { background:rgba(33,37,41,0.15); }
.btn-plain { background:transparent; color:#212529; }
.btn-plain:hover { background:rgba(33,37,41,0.10); }
.btn-plain-light { background:transparent; color:#fff; border:1px solid rgba(255,255,255,0.30); }
.btn-plain-light:hover { background:rgba(255,255,255,0.15); }

.bg-card { background: rgba(33,37,41,0.025); }
.bg-card-2 { background: rgba(33,37,41,0.05); }
.bg-card-3 { background: rgba(33,37,41,0.10); }
.border-mist-5  { border-color: rgba(33,37,41,0.05); }
.border-mist-10 { border-color: rgba(33,37,41,0.10); }
.border-mist-20 { border-color: rgba(33,37,41,0.20); }

/* Hero gradient rule under headline */
.hero-rule {
  width: 422px; max-width: 100%; height: 4px;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgb(227,253,250) 17%, rgb(0,61,214) 100%);
}

/* Full-bleed blue CTA panel */
.blue-cta {
  background:
    linear-gradient(rgba(0,73,255,0) 0%, rgb(0,73,255) 44%),
    rgb(0,73,255);
}

html, body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

pre::-webkit-scrollbar { height: 6px; }
pre::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.20); border-radius: 3px; }

/* ===== Slack landing additions ===== */

:root {
  --aubergine: #2c0929;
  --pink-accent: #f26cb5;
  --lavender: #b197fc;
  --shader-purple: rgba(123, 107, 254, 0.65);
}

.bg-aubergine { background-color: var(--aubergine); }
.text-pink-accent { color: var(--pink-accent); }

.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

.glass-pill .ping-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #34d399;
}
.glass-pill .ping-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #34d399;
  animation: slack-ping 1.5s cubic-bezier(0,0,0.2,1) infinite;
}

@keyframes slack-ping {
  0% { transform: scale(1); opacity: 0.75; }
  75%,100% { transform: scale(2.5); opacity: 0; }
}

.aubergine-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
}

.icon-tile {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(177, 151, 252, 0.22);
  color: #fff;
}

.btn-aubergine {
  background: #2c0929;
  color: #fff;
  border-radius: 8px;
}
.btn-aubergine:hover { background: #3a0c37; }

.btn-on-aubergine {
  background: #fff;
  color: #2c0929;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.15s ease;
}
.btn-on-aubergine:hover { transform: scale(1.04); }
.btn-on-aubergine:active { transform: scale(0.97); }

.btn-ghost-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.06); }

.recommended-glow {
  animation: slack-recommended-glow 2.4s ease-in-out infinite;
}

@keyframes slack-recommended-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 108, 181, 0); }
  50% { box-shadow: 0 0 24px 0 rgba(242, 108, 181, 0.35); }
}

.aubergine-cta-panel {
  background: linear-gradient(135deg, #2c0929 0%, #3d0f3a 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.hero-shader-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
  .glass-pill .ping-dot::after,
  .recommended-glow { animation: none; }
}
