﻿/* โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
   EmgageBot Analytics โ€” Clean White/Purple Design
   Matches reference: engagement gauge + metric cards
   โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ• */

:root {
  color-scheme: only light;
  --bg:          #f9f9fb;
  --bg-card:     #ffffff;
  --primary:     #5b21b6;
  --primary-mid: #7C3AED;
  --primary-lt:  #ede9fe;
  --border:      #e5e7eb;
  --text:        #111827;
  --text-sub:    #374151;
  --text-muted:  #9ca3af;
  --success:     #10b981;
  --warning:     #f59e0b;
  --danger:      #ef4444;
  --radius:      14px;
  --radius-sm:   8px;
  --shadow:      0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-md:   0 2px 8px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.06);
  --font:        'Anakotmai', 'Pracharath', system-ui, sans-serif;
}

/* โ•โ•โ• ANAKOTMAI FONT โ•โ•โ• */
@font-face {
  font-family: 'Anakotmai';
  src: url('/fonts/webfont/Anakotmai-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Anakotmai';
  src: url('/fonts/webfont/Anakotmai-Light.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Anakotmai';
  src: url('/fonts/webfont/Anakotmai-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Anakotmai';
  src: url('/fonts/webfont/Anakotmai-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* โ•โ•โ• PRACHARATH FONT โ•โ•โ• */
@font-face {
  font-family: 'Pracharath';
  src: url('/fonts/webfont/Pracharath-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Pracharath';
  src: url('/fonts/webfont/Pracharath-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--bg);
  max-width: 100%;
  overflow-x: clip;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

html, body, .an-main, .an-section, .an-nav {
  forced-color-adjust: none;
}

/* โ•โ•โ• NAV โ•โ•โ• */
.an-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 2rem;
  padding: 0 2rem; height: 64px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.an-nav__brand { display: flex; align-items: center; flex-shrink: 0; }
.an-nav__logo  {
  height: 168px;
  width: auto;
  object-fit: contain;
  transition:
    filter 0.35s ease,
    transform 0.25s ease;
  filter: drop-shadow(0 0 0px rgba(124, 58, 237, 0));
}
.an-nav__brand:hover .an-nav__logo {
  transform: scale(1.06);
  filter:
    drop-shadow(0 0 8px rgba(201, 103, 232, 0.70))
    drop-shadow(0 0 20px rgba(124, 58, 237, 0.40))
    drop-shadow(0 0 40px rgba(124, 58, 237, 0.18));
}


.an-nav__links {
  display: flex; align-items: center; gap: 0.25rem;
  flex: 1;
}
.an-nav__link {
  text-decoration: none;
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  transition: color 0.18s, background 0.18s;
}
.an-nav__link:hover        { color: var(--text-sub); background: #f3f4f6; }
.an-nav__link--active      { color: var(--primary); background: var(--primary-lt); }

.an-nav__right {
  display: flex; align-items: center; gap: 0.85rem; flex-shrink: 0;
}
.an-nav__badge {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem; border-radius: 100px;
  background: #fef3c7; color: #92400e;
}
.an-nav__period { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }

.an-btn-secondary {
  text-decoration: none;
  font-size: 0.82rem; font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-sub);
  background: white;
  transition: border-color 0.18s, transform 0.15s, box-shadow 0.18s;
}
.an-btn-secondary:hover {
  border-color: var(--primary-mid);
  color: var(--primary);
  transform: translateX(-2px);
  box-shadow: var(--shadow);
}

/* โ•โ•โ• MAIN โ•โ•โ• */
.an-main {
  max-width: 1160px; margin: 0 auto;
  padding: 2.5rem 1.75rem 5rem;
  display: flex; flex-direction: column; gap: 2.5rem;
  width: min(100%, 1160px);
  overflow-x: clip;
}

/* โ•โ•โ• SECTION / OVERLINE โ•โ•โ• */
.an-section { display: flex; flex-direction: column; gap: 1.25rem; }

.an-section,
.an-section > *,
.an-section-hero,
.an-gauge-wrap,
.an-engagement-grid,
.an-card,
.an-summary-example,
.testimonial-carousel,
.hm-wrap,
.hm-body,
.hm-grid {
  min-width: 0;
  max-width: 100%;
}

.an-overline {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--primary);
}

.an-section-title {
  font-size: 1.55rem; font-weight: 700;
  color: var(--text); line-height: 1.3;
  max-width: 680px;
}

/* โ•โ•โ• HERO โ•โ•โ• */
.an-section-hero {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 2rem;
  flex-wrap: wrap;
}
.an-section-hero__left { flex: 1; min-width: 280px; }
.an-section-hero__right { flex-shrink: 0; }

.an-hero-title {
  font-size: 1.5rem; font-weight: 700; line-height: 1.35;
  color: var(--text); max-width: 600px; margin-top: 0.5rem;
}
.an-hero-link {
  color: var(--primary-mid); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-color: rgba(124,58,237,0.4);
}

.an-filter-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.an-select {
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
  font-family: var(--font);
  font-size: 0.85rem; color: var(--text-sub);
  cursor: pointer; outline: none;
  transition: border-color 0.18s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  padding-right: 2rem;
}
.an-select:focus { border-color: var(--primary-mid); }

/* โ•โ•โ• GAUGE โ•โ•โ• */
.an-gauge-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 2rem 1.25rem;
}

.an-gauge { width: 100%; max-width: 900px; margin: 0 auto; }

.an-gauge__bar {
  position: relative;
  height: 24px;
  border-radius: 100px;
  background: linear-gradient(to right, #ef4444 0%, #f59e0b 30%, #84cc16 60%, #22c55e 85%, #16a34a 100%);
  margin-bottom: 0.5rem;
}

.an-gauge__pointer {
  position: absolute;
  top: -22px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  pointer-events: none;
}
.an-gauge__pointer svg { display: block; }

.an-gauge__labels {
  display: flex; justify-content: space-between;
  font-size: 0.75rem; color: var(--text-muted); font-weight: 500;
  margin-top: 0.35rem;
}

.an-gauge__score {
  text-align: center;
  font-size: 1.05rem; color: var(--text-sub);
  margin-top: 0.85rem;
}
.an-gauge__score strong {
  font-size: 1.4rem; font-weight: 800; color: var(--text);
  margin-right: 0.2rem;
}
.an-gauge__score span { color: var(--text-muted); }

/* โ•โ•โ• KPI ROW โ•โ•โ• */
.an-kpi-row {
  display: flex; gap: 1rem; flex-wrap: wrap;
}

.an-kpi {
  flex: 1; min-width: 160px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.25rem;
  display: flex; align-items: center; gap: 0.85rem;
  position: relative; overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
}
.an-kpi:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.an-kpi::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), #C967E8);
}
.an-kpi__icon { font-size: 1.5rem; flex-shrink: 0; }
.an-kpi__val  { font-size: 1.5rem; font-weight: 800; line-height: 1; color: var(--text); }
.an-kpi__lbl  { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.15rem; }
.an-kpi__trend {
  margin-left: auto; font-size: 0.7rem; font-weight: 700;
  align-self: flex-start;
}
.trend-up   { color: var(--success); }
.trend-down { color: var(--danger); }

/* โ•โ•โ• METRIC CARDS โ•โ•โ• */
.an-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.an-metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: box-shadow 0.2s, transform 0.15s;
}
.an-metric-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.an-metric-card__header {
  display: flex; align-items: center; justify-content: space-between;
}
.an-metric-card__header strong { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.an-metric-card__trend { font-size: 0.75rem; font-weight: 700; }
.an-metric-card__desc { font-size: 0.8rem; color: var(--text-muted); }
.an-metric-card__val  { font-size: 2.25rem; font-weight: 800; line-height: 1; margin: 0.25rem 0; }
.an-metric-card__bar  { height: 5px; border-radius: 100px; background: #f3f4f6; overflow: hidden; }
.an-metric-card__fill { height: 100%; border-radius: 100px; transition: width 0.8s ease; }

/* โ•โ•โ• ENGAGEMENT CARDS (CryptoCard Style) โ•โ•โ• */
.an-engagement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .an-engagement-grid {
    grid-template-columns: 1fr;
  }
}

.an-engagement-card {
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  min-height: 140px;
}

.an-engagement-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-md);
}

/* Left gradient panel */
.an-engagement-card__left {
  width: 38%;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  position: relative;
  overflow: hidden;
}

.an-engagement-card__left--positive {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.an-engagement-card__left--warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.an-engagement-card__left--negative {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.an-engagement-card__left--neutral {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.an-engagement-card__icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  font-size: 1.25rem;
}

.an-engagement-card__percentage {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  font-family: 'Anakotmai', sans-serif;
}

.an-engagement-card__change {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-top: 0.25rem;
  font-family: 'Anakotmai', sans-serif;
}

/* Right data panel */
.an-engagement-card__right {
  width: 62%;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-card);
}

.an-engagement-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.an-engagement-card__value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  font-family: 'Anakotmai', sans-serif;
}

.an-engagement-card__badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
}

.an-engagement-card__badge--up {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
}

.an-engagement-card__badge--down {
  background: rgba(239, 68, 68, 0.15);
  color: #dc2626;
}

.an-engagement-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 0.25rem;
  font-family: 'Anakotmai', sans-serif;
}

.an-engagement-card__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: 'Anakotmai', sans-serif;
}

.an-engagement-card__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
}

.an-engagement-card__btn {
  width: 28px;
  height: 28px;
  border: none;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
}

.an-engagement-card__btn:hover {
  background: var(--primary-lt);
  color: var(--primary);
}

/* โ•โ•โ• TEAM CARDS CAROUSEL โ•โ•โ• */
.an-carousel-section {
  margin-top: 1rem;
}

.an-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.an-carousel-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  font-family: 'Anakotmai', sans-serif;
}

.an-carousel-controls {
  display: flex;
  gap: 0.5rem;
}

.an-carousel-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.15s;
}

.an-carousel-btn:hover {
  background: var(--primary-lt);
  color: var(--primary);
  border-color: var(--primary-mid);
}

.an-carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.an-carousel-row {
  display: flex;
  gap: 1rem;
  overflow: hidden;
  position: relative;
}

.an-carousel-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.an-carousel-card {
  flex: 0 0 calc((100% - 2rem) / 3);
  min-width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: 'Anakotmai', sans-serif;
}

.an-carousel-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.an-carousel-card__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.an-carousel-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary), #C967E8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
}

.an-carousel-card__info {
  flex: 1;
}

.an-carousel-card__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.an-carousel-card__role {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.an-carousel-card__score {
  text-align: right;
}

.an-carousel-card__score-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.an-carousel-card__score-lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
  display: block;
}

.an-carousel-card__bar {
  height: 4px;
  background: #f3f4f6;
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.an-carousel-card__bar-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--primary), #C967E8);
  transition: width 0.6s ease;
}

.an-carousel-card__insight {
  font-size: 0.8rem;
  color: var(--text-sub);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.an-carousel-card__tags {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.an-carousel-card__tag {
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  background: #f3f4f6;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .an-carousel-card {
    flex: 0 0 calc((100% - 1rem) / 2);
    min-width: 240px;
  }
}

@media (max-width: 600px) {
  .an-carousel-card {
    flex: 0 0 100%;
    min-width: 200px;
  }
}

.an-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
}

.an-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e5e7eb;
  cursor: pointer;
  transition: all 0.2s;
}

.an-carousel-dot--active {
  background: var(--primary-mid);
  transform: scale(1.2);
}

/* Additional carousel card styles */
.an-carousel-card__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.an-carousel-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary), #C967E8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.an-carousel-card__info {
  flex: 1;
  min-width: 0;
}

.an-carousel-card__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.an-carousel-card__role {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.an-carousel-card__score {
  text-align: right;
  flex-shrink: 0;
}

.an-carousel-card__score-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.an-carousel-card__score-lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.1rem;
}

.an-carousel-card__bar {
  height: 4px;
  background: #f3f4f6;
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.an-carousel-card__bar-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--primary), #C967E8);
  transition: width 0.6s ease;
}

.an-carousel-card__insight {
  font-size: 0.8rem;
  color: var(--text-sub);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.an-carousel-card__tags {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.an-carousel-card__tag {
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  background: #f3f4f6;
  color: var(--text-muted);
}

/* โ•โ•โ• CARD SWIPER โ•โ•โ• */
.cs-wrapper {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  padding: 0.5rem 0;
}
.cs-area {
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.cs-stack {
  position: relative; width: 420px; height: 290px;
  cursor: grab;
}
.cs-stack:active { cursor: grabbing; }
.cs-hint { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.04em; }

.cs-card {
  position: absolute; inset: 0;
  background: var(--bg-card);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.85rem;
  user-select: none; will-change: transform;
  transform-origin: center bottom;
}
.cs-card[data-pos="0"] { z-index:3; transform: translateY(0) rotate(0deg) scale(1); box-shadow: 0 12px 40px rgba(0,0,0,0.14); }
.cs-card[data-pos="1"] { z-index:2; transform: translateY(10px) rotate(-1.8deg) scale(0.97); opacity:0.7; }
.cs-card[data-pos="2"] { z-index:1; transform: translateY(20px) rotate(-3.5deg) scale(0.94); opacity:0.4; }

.cs-card__top  { display: flex; align-items: center; gap: 0.85rem; }
.cs-card__avatar-placeholder {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), #C967E8);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700; color: white;
}
.cs-card__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
/* โ”€โ”€ Card Thai font โ”€โ”€ */
.cs-card {
  font-family: 'Anakotmai', 'Pracharath', system-ui, sans-serif;
}
.cs-card__name  { font-size: 0.98rem; font-weight: 700; font-family: 'Anakotmai', sans-serif; }
.cs-card__pos   { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.1rem; font-family: 'Anakotmai', sans-serif; }
.cs-card__badges { display: flex; gap: 0.35rem; flex-wrap: wrap; margin-left: auto; flex-shrink: 0; }
.cs-badge { font-size: 0.62rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 100px; }
.cs-badge--low  { background: #d1fae5; color: #065f46; }
.cs-badge--med  { background: #fef3c7; color: #92400e; }
.cs-badge--high { background: #fee2e2; color: #991b1b; }

.cs-card__score-row { display: flex; align-items: center; gap: 0.75rem; }
.cs-card__score-label { font-size: 0.7rem; color: var(--text-muted); white-space: nowrap; }
.cs-card__score-bar { flex:1; height: 5px; border-radius: 100px; background: #f3f4f6; overflow: hidden; }
.cs-card__score-fill { height:100%; border-radius:100px; background: linear-gradient(90deg, var(--primary), #C967E8); }
.cs-card__score-num { font-size: 0.82rem; font-weight: 700; color: var(--primary); white-space: nowrap; }

.cs-card__insights { list-style:none; flex:1; display:flex; flex-direction:column; gap:0.3rem; }
.cs-card__insights li { font-size: 0.77rem; color: var(--text-sub); display:flex; gap:0.35rem; align-items:flex-start; line-height:1.45; }
.cs-card__insights li::before { content: 'โ€ข'; color: var(--primary-mid); font-weight:700; flex-shrink:0; margin-top:0.05rem; }

.cs-card__tags { display:flex; gap:0.35rem; flex-wrap:wrap; margin-top:auto; }
.cs-card__tag { font-size:0.62rem; padding:0.18rem 0.5rem; border-radius:100px; border:1px solid var(--border); color:var(--text-muted); }

.cs-controls { display:flex; align-items:center; gap:1.25rem; }
.cs-btn {
  width:38px; height:38px; border-radius:50%;
  border:1px solid var(--border); background:white; color:var(--primary);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:all 0.18s; box-shadow:var(--shadow);
}
.cs-btn:hover { background:var(--primary-lt); transform:scale(1.08); }

.cs-info { display:flex; flex-direction:column; align-items:center; gap:0.5rem; }
.cs-counter { font-size:0.8rem; font-weight:600; color:var(--text-muted); }
.cs-dots { display:flex; gap:0.3rem; }
.cs-dot { width:6px; height:6px; border-radius:50%; background:#e5e7eb; transition:all 0.18s; }
.cs-dot--active { background:var(--primary-mid); transform:scale(1.3); }

/* โ•โ•โ• CHARTS โ•โ•โ• */
.an-charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.an-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.4rem;
  transition: box-shadow 0.2s;
}
.an-card:hover { box-shadow: var(--shadow-md); }
.an-card--wide { grid-column: 1 / -1; }

.an-card__label {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--primary);
}
.an-card__title { font-size: 1rem; font-weight: 700; color: var(--text); }

.an-canvas-wrap { position:relative; height: 220px; margin-top: 0.75rem; }

/* โ•โ•โ• HEATMAP โ•โ•โ• */
/* โ•โ•โ• HEATMAP (Correlation Style) โ•โ•โ• */
.hm-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 0;
}

.hm-col-labels {
  display: grid;
  margin-left: 100px;
  gap: 4px;
}

.hm-col-label {
  font-size: 0.7rem;
  color: var(--text-sub);
  text-align: center;
  font-weight: 600;
  line-height: 1.3;
  font-family: 'Pracharath', sans-serif;
}

.hm-body {
  display: flex;
  gap: 8px;
}

.hm-row-labels {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100px;
}

.hm-row-label {
  font-size: 0.72rem;
  color: var(--text-sub);
  font-weight: 600;
  display: flex;
  align-items: center;
  height: 44px;
  font-family: 'Pracharath', sans-serif;
}

.hm-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.hm-row {
  display: grid;
  gap: 4px;
}

.hm-cell {
  height: 44px;
  width: 100%;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hm-cell:hover {
  transform: scale(1.1);
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hm-cell::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(17, 24, 39, 0.95);
  color: white;
  font-size: 0.7rem;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  max-width: min(16rem, calc(100vw - 2rem));
  white-space: normal;
  overflow-wrap: anywhere;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
  z-index: 20;
  font-weight: 500;
}

.hm-cell:hover::after {
  opacity: 1;
  visibility: visible;
}

.hm-legend {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 106px;
  margin-top: 0.5rem;
}

.hm-legend__label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hm-legend__bar {
  flex: 1;
  max-width: 200px;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg,
    #3b82f6 0%,
    #8b5cf6 25%,
    #a855f7 50%,
    #d946ef 75%,
    #ec4899 100%
  );
}

/* Heatmap labels */
.hm-col-label {
  font-size: 0.72rem;
  color: var(--text-sub);
  text-align: center;
  font-weight: 600;
  font-family: 'Pracharath', sans-serif;
  padding: 0.25rem;
}

.hm-row-label {
  font-size: 0.72rem;
  color: var(--text-sub);
  font-weight: 600;
  display: flex;
  align-items: center;
  height: 44px;
  font-family: 'Pracharath', sans-serif;
}

.hm-row {
  display: grid;
  gap: 4px;
}

.hm-legend__label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* โ•โ•โ• FOOTER โ•โ•โ• */
.an-footer {
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:0.5rem;
  padding-top:1.25rem;
  border-top:1px solid var(--border);
  font-size:0.75rem; color:var(--text-muted);
}

/* โ•โ•โ• TESTIMONIAL CAROUSEL (Stacked Cards) โ•โ•โ• */
.testimonial-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding: 1rem 0;
}

.testimonial-carousel__container {
  position: relative;
  width: 380px;
  height: 440px;
  perspective: 1000px;
}

.testimonial-card {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: white;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  cursor: grab;
  user-select: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.3s ease,
              box-shadow 0.3s ease;
  overflow: hidden;
}

.testimonial-card:active {
  cursor: grabbing;
}

.testimonial-card--current {
  z-index: 3;
  transform: translateY(0) rotate(0deg) scale(1);
  box-shadow: 0 15px 50px rgba(91, 33, 182, 0.2);
}

.testimonial-card--next {
  z-index: 2;
  transform: translateY(12px) rotate(-2deg) scale(0.96);
  opacity: 0.7;
}

.testimonial-card--prev {
  z-index: 1;
  transform: translateY(24px) rotate(-4deg) scale(0.92);
  opacity: 0.4;
}

.testimonial-card__content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  height: 100%;
  font-family: 'Anakotmai', 'Pracharath', sans-serif;
  overflow: hidden;
}

.testimonial-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-lt);
  box-shadow: 0 4px 12px rgba(91, 33, 182, 0.15);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  font-family: 'Anakotmai', sans-serif;
}

.testimonial-card__role {
  font-size: 1rem;
  color: var(--text-muted);
  text-align: center;
  font-family: 'Anakotmai', sans-serif;
}

.testimonial-card__feedback {
  font-size: 1rem;
  color: var(--text-sub);
  text-align: center;
  line-height: 1.75;
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-family: 'Anakotmai', 'Pracharath', sans-serif;
  padding: 0.25rem 0.5rem;
  overflow-y: auto;
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.75rem;
  margin-top: auto;
  flex-shrink: 0;
  padding-top: 0.5rem;
}

/* Risk Badge */
.testimonial-risk {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-family: 'Anakotmai', sans-serif;
}

.testimonial-risk--low {
  background: #d1fae5;
  color: #065f46;
}

.testimonial-risk--medium {
  background: #fef3c7;
  color: #92400e;
}

.testimonial-risk--high {
  background: #fee2e2;
  color: #991b1b;
}

.testimonial-card__score {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.45rem 0.85rem;
  background: var(--primary-lt);
  border-radius: 100px;
  font-family: 'Anakotmai', sans-serif;
}

.testimonial-card__score-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.testimonial-card__score-lbl {
  font-size: 0.85rem;
  color: var(--primary-mid);
}

.testimonial-carousel__dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.an-summary-example {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.1), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #faf7ff 100%);
  box-shadow: var(--shadow);
}

.an-summary-example__hero {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.an-summary-example__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem 1.5rem;
}

.an-summary-example__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.an-summary-example__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.an-summary-filter {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 12.5rem;
  flex-shrink: 0;
}

.an-summary-filter__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.an-summary-filter__select {
  min-width: 12.5rem;
  background-color: #ffffff;
}

.an-summary-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.an-summary-badge--level {
  background: #ede9fe;
  color: #6d28d9;
}

.an-summary-badge--status {
  background: #f3e8ff;
  color: #9333ea;
}

.an-summary-badge--confidence {
  background: #fef3c7;
  color: #92400e;
}

.an-summary-example__lead {
  max-width: 58rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-sub);
}

.an-summary-example__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.an-summary-panel {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.1rem 1.15rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
}

.an-summary-panel--positive {
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.12);
}

.an-summary-panel--concerns {
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.12);
}

.an-summary-panel--rationale {
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.12);
}

.an-summary-panel--actions {
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.12);
}

.an-summary-panel__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.an-summary-panel__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.an-summary-panel__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.an-summary-panel__list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-sub);
}

.an-summary-panel__list li::before {
  content: '•';
  flex-shrink: 0;
  color: var(--primary-mid);
  font-weight: 700;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e5e7eb;
  cursor: pointer;
  transition: all 0.25s ease;
}

.testimonial-dot--active {
  background: var(--primary-mid);
  transform: scale(1.3);
}

.testimonial-dot:hover {
  background: var(--primary-lt);
}

.testimonial-arrow {
  font-size: 1.5rem;
  color: var(--text-muted);
  pointer-events: auto;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
}

.testimonial-arrow:hover {
  color: var(--primary);
  transform: scale(1.2);
}

@media (max-width: 480px) {
  .testimonial-carousel__container {
    width: 320px;
    height: 400px;
  }

  .testimonial-card__content {
    padding: 1.25rem;
    gap: 0.5rem;
  }

  .testimonial-card__avatar {
    width: 56px;
    height: 56px;
  }

  .testimonial-card__feedback {
    font-size: 0.8rem;
    line-height: 1.6;
  }
}

/* โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
   RESPONSIVE โ€” MOBILE-ONLY IMPROVEMENTS
   โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ• */

/* โ”€โ”€ Tablet (โค900px) โ”€โ”€ */
@media (max-width: 900px) {
  .an-charts-grid { grid-template-columns: 1fr; }
  .an-card--wide { grid-column: auto; }
  .cs-stack { width: 340px; height: 300px; }
}

/* โ”€โ”€ Tablet portrait (โค768px) โ”€โ”€ */
@media (max-width: 768px) {
  .an-nav {
    padding: 0 1rem;
    gap: 0.75rem;
    height: 56px;
  }

  .an-nav__logo {
    height: 120px;
  }

  .an-nav__links {
    display: none;
  }

  .an-btn-secondary {
    font-size: 0.78rem;
    padding: 0.4rem 0.85rem;
  }

  .an-main {
    padding: 1.5rem 1rem 3rem;
    gap: 2rem;
  }

  .an-engagement-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .an-engagement-card {
    min-height: 120px;
  }

  .an-engagement-card__left {
    width: 35%;
    padding: 1rem;
  }

  .an-engagement-card__percentage {
    font-size: 2rem;
  }

  .an-engagement-card__change {
    font-size: 0.78rem;
  }

  .an-engagement-card__right {
    width: 65%;
    padding: 1rem;
  }

  .an-hero-title {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .an-section-title {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .an-gauge-wrap {
    padding: 1.25rem 1rem 1rem;
  }

  .an-gauge__bar {
    height: 18px;
  }

  .an-gauge__labels {
    font-size: 0.68rem;
  }

  .an-gauge__score {
    font-size: 0.92rem;
  }

  .an-gauge__score strong {
    font-size: 1.2rem;
  }

  .hm-wrap {
    overflow-x: clip;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem 0 0;
  }

  .hm-body {
    min-width: 0;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 6px;
    align-items: start;
  }

  .hm-col-labels {
    min-width: 0;
    width: calc(100% - 76px);
    margin-left: 76px;
    gap: 6px;
  }

  .hm-col-label {
    min-width: 0;
    padding: 0.15rem 0;
    font-size: 0.62rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .hm-row-labels {
    width: auto;
    gap: 6px;
  }

  .hm-row-label {
    height: 40px;
    font-size: 0.64rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .hm-grid {
    min-width: 0;
    gap: 6px;
  }

  .hm-row {
    gap: 6px;
  }

  .hm-cell {
    min-width: 0;
    height: 40px;
    border-radius: 6px;
    font-size: 0.68rem;
  }

  .hm-legend {
    margin-left: 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .cs-stack {
    width: min(92vw, 340px);
    height: 300px;
  }

  .cs-card {
    padding: 1.25rem;
  }

  .testimonial-carousel__container {
    width: min(100%, 92vw, 380px);
    height: 420px;
  }

  .testimonial-card__content {
    padding: 1.5rem;
  }

  .an-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
  }

  .an-summary-example {
    padding: 1rem;
    gap: 1rem;
    border-radius: 20px;
  }

  .an-summary-example__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .an-summary-filter,
  .an-summary-filter__select {
    min-width: 0;
    width: 100%;
  }

  .an-summary-example__lead {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .an-summary-example__grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .an-summary-panel {
    padding: 0.95rem;
  }

  .an-summary-panel__title {
    font-size: 0.94rem;
  }

  .an-summary-panel__list li {
    font-size: 0.84rem;
    line-height: 1.55;
  }
}

/* โ”€โ”€ Mobile (โค640px) โ”€โ”€ */
@media (max-width: 640px) {
  .an-main { padding: 1.25rem 0.85rem 3rem; }
  .an-nav__links { display: none; }
  .cs-stack { width: min(88vw, 300px); }
  .an-kpi-row { gap: 0.75rem; }
  .an-kpi { min-width: 140px; }

  .an-nav,
  .an-nav__brand,
  .an-nav__right,
  .an-section-hero__left,
  .an-summary-filter,
  .an-summary-filter__select {
    min-width: 0;
    max-width: 100%;
  }

  .an-engagement-card__left {
    width: 32%;
    padding: 0.85rem;
  }

  .an-engagement-card__percentage {
    font-size: 1.65rem;
  }

  .an-engagement-card__icon {
    width: 32px;
    height: 32px;
  }

  .an-engagement-card__right {
    width: 68%;
  }
}

/* โ”€โ”€ Small mobile (โค480px) โ”€โ”€ */
@media (max-width: 480px) {
  .an-nav {
    height: 50px;
    padding: 0 0.75rem;
  }

  .an-nav__logo {
    height: 96px;
  }

  .an-main {
    padding: 1rem 0.75rem 2.5rem;
    gap: 1.75rem;
  }

  .an-hero-title {
    font-size: 1.05rem;
  }

  .an-section-title {
    font-size: 1.05rem;
  }

  .an-overline {
    font-size: 0.65rem;
  }

  .an-engagement-card {
    flex-direction: column;
    min-height: auto;
  }

  .an-engagement-card__left {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
  }

  .an-engagement-card__right {
    width: 100%;
    padding: 0.85rem 1rem 1rem;
  }

  .an-engagement-card__percentage {
    font-size: 1.5rem;
  }

  .an-gauge-wrap {
    padding: 1rem 0.75rem 0.75rem;
  }

  .an-gauge__bar {
    height: 14px;
  }

  .hm-col-labels {
    width: calc(100% - 68px);
    margin-left: 68px;
    gap: 4px;
  }

  .hm-col-label {
    font-size: 0.56rem;
    line-height: 1.05;
    padding: 0.1rem 0;
  }

  .hm-body {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 4px;
  }

  .hm-row-labels,
  .hm-grid,
  .hm-row {
    gap: 4px;
  }

  .hm-row-label {
    height: 36px;
    font-size: 0.58rem;
  }

  .hm-cell {
    height: 36px;
    font-size: 0.62rem;
  }

  .hm-legend__label {
    font-size: 0.64rem;
  }

  .testimonial-carousel__container {
    width: min(100%, 90vw, 320px);
    height: 400px;
  }

  .testimonial-card__content {
    padding: 1.25rem;
    gap: 0.5rem;
  }

  .testimonial-card__avatar {
    width: 56px;
    height: 56px;
  }

  .testimonial-card__name {
    font-size: 1.1rem;
  }

  .testimonial-card__role {
    font-size: 0.85rem;
  }

  .testimonial-card__feedback {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .an-btn-secondary {
    font-size: 0.72rem;
    padding: 0.35rem 0.7rem;
  }

  .cs-stack {
    width: min(86vw, 280px);
    height: 280px;
  }

  .an-summary-example__badges {
    gap: 0.45rem;
  }

  .an-summary-badge {
    width: 100%;
    justify-content: center;
    font-size: 0.76rem;
  }

  .an-summary-example__lead {
    font-size: 0.86rem;
  }

  .an-summary-panel__label {
    font-size: 0.66rem;
  }
}

