<!-- =============================================================
     STYLES
     To use CDN: move everything between these tags to aa-showcase.css,
     upload to your CDN, and add the <link>https://inhousevideo.b-cdn.net/aa-showcase.css to your theme footer.
     ============================================================= -->
<style>
/* ── Reset & wrapper ───────────────────────────────────────── */
.aas-wrap {
  background-color: #060810;
  background: linear-gradient(160deg, #060810 0%, #0c1020 50%, #060d18 100%);
  padding: 5rem 1.5rem 4rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Subtle ambient glow behind cards */
.aas-wrap::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  width: 800px;
  height: 400px;
  margin-left: -400px;
  background: radial-gradient(ellipse at center, rgba(56,189,248,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.aas-inner {
  max-width: 1140px;
  margin: 0 auto;
}

/* ── Header ────────────────────────────────────────────────── */
.aas-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.aas-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #38bdf8;
  border: 1px solid rgba(56,189,248,0.3);
  border-radius: 999px;
  padding: 0.35rem 1.1rem;
  margin-bottom: 1.2rem;
}

.aas-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #f1f5f9;
  margin: 0 0 1.1rem;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.aas-lead {
  font-size: 1.2rem;
  color: #94a3b8;
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto;
}

/* ── Grid (no gap — uses child margins) ────────────────────── */
.aas-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: -1rem;
}

/* ── Card base ─────────────────────────────────────────────── */
.aas-card {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 calc(33.333% - 2rem);
  flex: 0 0 calc(33.333% - 2rem);
  max-width: calc(33.333% - 2rem);
  margin: 1rem;
  background: #0f172a;
  border: 1px solid rgba(148,163,184,0.12);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  -webkit-transition: -webkit-transform 0.25s ease, box-shadow 0.25s ease;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.aas-card:hover {
  -webkit-transform: translateY(-6px);
  transform: translateY(-6px);
}

/* Gradient top bar */
.aas-card-bar {
  height: 4px;
  width: 100%;
}

/* Per-card accent colors */
.aas-card--rs  { box-shadow: 0 4px 24px rgba(0,0,0,0.4); }
.aas-card--rs:hover  { box-shadow: 0 16px 48px rgba(79,142,247,0.25); }
.aas-card--rs  .aas-card-bar { background: linear-gradient(90deg, #4f8ef7, #38bdf8); }

.aas-card--pepi { box-shadow: 0 4px 24px rgba(0,0,0,0.4); }
.aas-card--pepi:hover { box-shadow: 0 16px 48px rgba(244,63,94,0.25); }
.aas-card--pepi .aas-card-bar { background: linear-gradient(90deg, #f43f5e, #fb923c); }

.aas-card--cf  { box-shadow: 0 4px 24px rgba(0,0,0,0.4); }
.aas-card--cf:hover  { box-shadow: 0 16px 48px rgba(52,211,153,0.25); }
.aas-card--cf  .aas-card-bar { background: linear-gradient(90deg, #34d399, #22d3ee); }

.aas-card-content {
  padding: 2rem;
}

/* ── Kicker / live row ─────────────────────────────────────── */
.aas-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.aas-live-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 0.6rem;
}

.aas-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f43f5e;
  margin-right: 0.5rem;
  -webkit-animation: aas-pulse 2s ease-in-out infinite;
  animation: aas-pulse 2s ease-in-out infinite;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

@-webkit-keyframes aas-pulse {
  0%, 100% { opacity: 1; -webkit-transform: scale(1); transform: scale(1); }
  50%       { opacity: 0.4; -webkit-transform: scale(1.4); transform: scale(1.4); }
}
@keyframes aas-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.4); }
}

/* ── Card title ────────────────────────────────────────────── */
.aas-card-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #f1f5f9;
  margin: 0 0 0.85rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

/* ── Partner pills ─────────────────────────────────────────── */
.aas-partners {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.aas-partner-pill {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(148,163,184,0.1);
  color: #cbd5e1;
  text-decoration: none;
  border: 1px solid rgba(148,163,184,0.15);
  margin-right: 0.35rem;
  margin-bottom: 0.35rem;
  -webkit-transition: background 0.2s, color 0.2s;
  transition: background 0.2s, color 0.2s;
}

a.aas-partner-pill:hover {
  background: rgba(148,163,184,0.2);
  color: #f1f5f9;
}

.aas-partner-pill--self {
  background: rgba(56,189,248,0.1);
  color: #38bdf8;
  border-color: rgba(56,189,248,0.2);
}

.aas-partner-sep {
  color: #475569;
  margin-right: 0.35rem;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
}

.aas-partner-role {
  font-size: 0.78rem;
  color: #475569;
  margin-bottom: 0.35rem;
  font-style: italic;
}

/* ── Description ───────────────────────────────────────────── */
.aas-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: #94a3b8;
  margin: 0 0 1.25rem;
}

/* ── Tags (no gap — use inline-block with right margin) ────── */
.aas-tags {
  margin-bottom: 1.25rem;
}

.aas-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #475569;
  background: rgba(71,85,105,0.15);
  border: 1px solid rgba(71,85,105,0.2);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-right: 0.35rem;
  margin-bottom: 0.35rem;
}

/* ── CTA row ───────────────────────────────────────────────── */
.aas-cta-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.aas-btn {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  letter-spacing: 0.02em;
  -webkit-transition: opacity 0.2s, -webkit-transform 0.2s;
  transition: opacity 0.2s, transform 0.2s;
  margin-right: 0.6rem;
  margin-bottom: 0.35rem;
}

.aas-btn:hover {
  opacity: 0.88;
  -webkit-transform: translateX(2px);
  transform: translateX(2px);
}

.aas-card--rs   .aas-btn { background: linear-gradient(90deg, #4f8ef7, #38bdf8); color: #fff; }
.aas-card--pepi .aas-btn { background: linear-gradient(90deg, #f43f5e, #fb923c); color: #fff; }
.aas-card--cf   .aas-btn { background: linear-gradient(90deg, #34d399, #22d3ee); color: #0a0f1a; }

.aas-btn-ghost {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: #64748b;
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  -webkit-transition: color 0.2s, border-color 0.2s;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: 0.35rem;
}

.aas-btn-ghost:hover {
  color: #94a3b8;
  border-bottom-color: #94a3b8;
}

/* ── Footer attribution ────────────────────────────────────── */
.aas-attribution {
  text-align: center;
  font-size: 0.88rem;
  color: #334155;
  margin-top: 2.5rem;
  letter-spacing: 0.02em;
}

.aas-attr-link {
  color: #38bdf8;
  text-decoration: none;
}

.aas-attr-link:hover {
  text-decoration: underline;
}

/* ── Responsive ────────────────────────────────────────────── */

/* Tablet: 2 columns */
@media (max-width: 960px) {
  .aas-card {
    -ms-flex: 0 0 calc(50% - 2rem);
    flex: 0 0 calc(50% - 2rem);
    max-width: calc(50% - 2rem);
  }
}

/* Mobile: 1 column */
@media (max-width: 600px) {
  .aas-wrap { padding: 3rem 1rem 2.5rem; }
  .aas-grid { margin: -0.6rem; }
  .aas-card {
    -ms-flex: 0 0 calc(100% - 1.2rem);
    flex: 0 0 calc(100% - 1.2rem);
    max-width: calc(100% - 1.2rem);
    margin: 0.6rem;
  }
  .aas-card-content { padding: 1.5rem; }
  .aas-card-title { font-size: 1.45rem; }
  .aas-lead { font-size: 1.05rem; }
  .aas-cta-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }
}
</style>
