/* ==========================================================================
   VoteMyBaby — UI Components Stylesheet
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.45rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  line-height: 1.25;
  white-space: nowrap;
}

.btn-primary {
  background-color: #FF6B00;
  color: #FFFFFF;
  border-color: #FF6B00;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.28);
}

.btn-primary:hover {
  background-color: #E05A00;
  border-color: #E05A00;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.36);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: #0F0F12;
  border-color: #0F0F12;
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background-color: #0F0F12;
  border-color: #0F0F12;
  color: #FFFFFF;
}

.btn-outline {
  background-color: transparent;
  color: #FF6B00;
  border-color: #FF6B00;
}

.btn-outline:hover {
  background-color: #FFF0E5;
  color: #E05A00;
}

.btn-gold {
  background: linear-gradient(135deg, #0F0F12 0%, #242429 100%);
  color: #FFFFFF;
  border-color: #FF6B00;
  box-shadow: 0 4px 14px rgba(15, 15, 18, 0.25);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #FF6B00 0%, #E05A00 100%);
  border-color: #FF6B00;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-google {
  background-color: #FFFFFF;
  color: #0F0F12;
  border: 1px solid #DADCE0;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.12);
  font-weight: 600;
  width: 100%;
}

.btn-google:hover {
  background-color: #FFF8F4;
  border-color: #FF6B00;
  box-shadow: 0 2px 6px rgba(255, 107, 0, 0.14);
}

.btn-google svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 1.95rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled, .btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Badges & Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.775rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  line-height: 1.2;
}

.badge-coral {
  background-color: #FFF0E5;
  color: #FF6B00;
}

.badge-gold {
  background-color: #0F0F12;
  color: #FF8533;
  border: 1px solid #FF6B00;
}

.badge-success {
  background-color: var(--color-success-bg);
  color: var(--color-success);
}

.badge-warning {
  background-color: var(--color-warning-bg);
  color: var(--color-warning);
}

.badge-neutral {
  background-color: var(--color-surface-soft);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

/* Baby Participant Cards */
.baby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.75rem;
}

.baby-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-xs);
}

.baby-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #FF6B00;
}

.baby-card-media {
  position: relative;
  width: 100%;
  padding-top: 105%; /* Aspect ratio square-ish */
  background-color: var(--color-surface-soft);
  overflow: hidden;
}

.baby-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.baby-card:hover .baby-card-img {
  transform: scale(1.03);
}

.baby-card-badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.baby-card-rank {
  background-color: rgba(15, 15, 18, 0.9);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.775rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
}

.baby-card-rank.rank-1 {
  background: linear-gradient(135deg, #FF6B00, #FF944D);
  color: #FFFFFF;
  font-weight: 800;
}

.baby-card-rank.rank-2 {
  background: #0F0F12;
  border: 1px solid #FF6B00;
  color: #FFFFFF;
}

.baby-card-rank.rank-3 {
  background: #242429;
  color: #FFB070;
}

.baby-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.baby-card-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.baby-card-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.2;
}

.baby-card-name a {
  color: inherit;
}

.baby-card-name a:hover {
  color: var(--color-coral);
}

.baby-card-age {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.baby-card-city {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.85rem;
}

/* Certificate Progress Bar */
.cert-progress {
  margin: 0.75rem 0 1.15rem 0;
}

.cert-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-text-charcoal);
}

.cert-progress-header span:last-child {
  color: var(--color-coral);
}

.progress-track {
  width: 100%;
  height: 7px;
  background-color: var(--color-surface-soft);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF8533 0%, #FF6B00 100%);
  border-radius: var(--radius-full);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-fill.completed {
  background: linear-gradient(90deg, #0F0F12 0%, #FF6B00 100%);
}

.baby-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: auto;
}

/* Leaderboard Podium */
.podium-section {
  margin-bottom: 3rem;
}

.podium-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  align-items: flex-end;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.podium-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--transition-normal);
}

.podium-card.rank-1-card {
  border: 2px solid #FF6B00;
  box-shadow: 0 12px 32px rgba(255, 107, 0, 0.16);
  background: linear-gradient(180deg, #FFF6F0 0%, #FFFFFF 100%);
  transform: translateY(-12px);
  padding-top: 2.25rem;
}

.podium-card.rank-1-card:hover {
  transform: translateY(-16px);
}

.podium-avatar-wrapper {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 1rem auto;
}

.podium-card.rank-1-card .podium-avatar-wrapper {
  width: 120px;
  height: 120px;
}

.podium-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.podium-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  border: 2px solid #FFFFFF;
  box-shadow: var(--shadow-xs);
}

.podium-card.rank-1-card .podium-badge {
  background: #FF6B00;
  color: #FFFFFF;
  width: 38px;
  height: 38px;
  font-size: 1.05rem;
}

.podium-card.rank-2-card .podium-badge {
  background: #0F0F12;
  color: #FFFFFF;
}

.podium-card.rank-3-card .podium-badge {
  background: #242429;
  color: #FF8533;
}

.podium-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.podium-card.rank-1-card .podium-name {
  font-size: 1.45rem;
}

.podium-votes {
  font-weight: 700;
  color: #FF6B00;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Leaderboard List Table */
.leaderboard-list {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.leaderboard-item {
  display: grid;
  grid-template-columns: 60px 72px 1fr 140px 180px 180px;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--color-border-subtle);
  transition: background-color var(--transition-fast);
}

.leaderboard-item:last-child {
  border-bottom: none;
}

.leaderboard-item:hover {
  background-color: var(--color-surface-soft);
}

.leaderboard-rank {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text-muted);
  text-align: center;
}

.leaderboard-item:nth-child(1) .leaderboard-rank { color: #FF6B00; }
.leaderboard-item:nth-child(2) .leaderboard-rank { color: #0F0F12; }
.leaderboard-item:nth-child(3) .leaderboard-rank { color: #EA580C; }

.leaderboard-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.leaderboard-info {
  display: flex;
  flex-direction: column;
}

.leaderboard-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.leaderboard-sub {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.leaderboard-votes-col {
  text-align: center;
}

.leaderboard-votes-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1;
}

.leaderboard-votes-lbl {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Star Certificate Showcase Card */
.cert-showcase-box {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF6F0 100%);
  border: 2px solid #FF6B00;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(255, 107, 0, 0.12);
}

.cert-showcase-box::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px dashed rgba(255, 107, 0, 0.4);
  border-radius: calc(var(--radius-xl) - 6px);
  pointer-events: none;
}

.cert-stamp {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #FF6B00, #0F0F12);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-align: center;
  padding: 0.5rem;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.3);
}

.cert-stamp span:first-child {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.cert-stamp span:last-child {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 800;
}

/* Forms */
.form-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.45rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 0.45rem;
}

.form-label .required {
  color: var(--color-coral);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--color-text-main);
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-coral);
  box-shadow: 0 0 0 3px rgba(217, 101, 76, 0.14);
  outline: none;
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.35rem;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--color-text-charcoal);
  cursor: pointer;
}

.form-checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: var(--color-coral);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* File Dropzone */
.dropzone {
  border: 2px dashed var(--color-border);
  background-color: var(--color-surface-soft);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.dropzone:hover, .dropzone.dragover {
  border-color: var(--color-coral);
  background-color: var(--color-blush-light);
}

.dropzone-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.dropzone-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem auto;
  color: var(--color-coral);
}

.photo-preview-container {
  display: none;
  margin-top: 1rem;
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--color-peach);
}

.photo-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-preview-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  background-color: rgba(35, 32, 29, 0.75);
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(35, 32, 29, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background-color: var(--color-surface);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px);
  transition: transform var(--transition-normal);
  padding: 2.25rem;
  position: relative;
}

.modal-backdrop.active .modal-dialog {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}

.modal-close:hover {
  color: var(--color-text-main);
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 380px;
  pointer-events: none;
}

.toast {
  background-color: var(--color-text-main);
  color: #FFFFFF;
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  pointer-events: auto;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-success {
  background-color: #2E7D32;
}

.toast-warning {
  background-color: #D97706;
}

.toast-error {
  background-color: #C62828;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Blog Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-peach);
}

.blog-card-media {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background-color: var(--color-surface-soft);
  overflow: hidden;
}

.blog-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.04);
}

.blog-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.65rem;
}

.blog-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.blog-card-title a {
  color: var(--color-text-main);
}

.blog-card-title a:hover {
  color: var(--color-coral);
}

.blog-card-excerpt {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 0.85rem;
  font-size: 0.85rem;
}

/* Filter Bar & Search */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
}

.search-input-wrap {
  position: relative;
  flex: 1 1 260px;
}

.search-input-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.45rem;
  background-color: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
}

.search-input:focus {
  outline: none;
  border-color: var(--color-coral);
  background-color: #FFFFFF;
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Category Pills */
.pill-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.pill-btn {
  padding: 0.45rem 1rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-charcoal);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.pill-btn:hover {
  border-color: var(--color-coral);
  color: var(--color-coral);
}

.pill-btn.active {
  background-color: var(--color-coral);
  border-color: var(--color-coral);
  color: #FFFFFF;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  background-color: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-xl);
  margin: 1.5rem 0;
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  color: var(--color-text-muted);
  margin: 0 auto 1.25rem auto;
}

.empty-state h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--color-text-muted);
  max-width: 440px;
  margin: 0 auto 1.5rem auto;
}

/* Cooldown countdown banner */
.cooldown-alert {
  background-color: var(--color-warning-bg);
  border: 1px solid #F3C47D;
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #7D4A00;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.cooldown-alert strong {
  color: #593400;
}

/* Hero Quick Search Box */
.hero-search-box {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 24px rgba(35, 32, 29, 0.08);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.5rem 0.4rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 540px;
  margin-top: 1.5rem;
  transition: all var(--transition-fast);
}

.hero-search-box:focus-within {
  border-color: var(--color-coral);
  box-shadow: 0 10px 28px rgba(217, 101, 76, 0.18);
}

.hero-search-input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 0.95rem;
  color: var(--color-text-main);
  outline: none;
}

.hero-search-input::placeholder {
  color: var(--color-text-subtle);
}

/* Social Proof Bar */
.social-proof-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  object-fit: cover;
  margin-left: -8px;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.social-proof-text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.social-proof-text strong {
  color: var(--color-text-main);
}

/* Deluxe Certificate Mockup */
.cert-deluxe-frame {
  background: #FFFFFF;
  border: 10px solid #0F0F12;
  box-shadow: 0 20px 48px rgba(15, 15, 18, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.cert-inner-border {
  border: 2px solid #FF6B00;
  padding: 2rem 1.5rem;
  position: relative;
}

.cert-inner-border::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 1px dashed rgba(255, 107, 0, 0.45);
  pointer-events: none;
}

.cert-title-header {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 800;
  color: #FF6B00;
  margin-bottom: 0.4rem;
}

.cert-main-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 800;
  color: #0F0F12;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.cert-recipient-name {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: #FF6B00;
  font-style: italic;
  font-weight: 700;
  margin: 1rem 0;
  border-bottom: 2px solid #0F0F12;
  display: inline-block;
  padding: 0 1.5rem 0.25rem 1.5rem;
}

.cert-text-body {
  font-size: 0.88rem;
  color: #242429;
  line-height: 1.6;
  max-width: 420px;
  margin: 0 auto 1.5rem auto;
}

.cert-seal-wrap {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-subtle);
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.gold-foil-seal {
  width: 96px;
  height: 96px;
  padding: 0.65rem;
  background: radial-gradient(circle, #FF8533 0%, #FF6B00 68%, #C2410C 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.32), inset 0 0 0 3px rgba(255, 255, 255, 0.45);
  border: 2.5px solid #0F0F12;
  color: #FFFFFF;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-align: center;
  flex-shrink: 0;
  margin: 0 auto;
}

/* Parent Trust Strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.trust-item-icon {
  width: 36px;
  height: 36px;
  background: var(--color-blush);
  color: var(--color-coral);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-main);
  margin-bottom: 0.2rem;
}

.trust-item-desc {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

/* Parent Testimonial Card */
.testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.85rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-text-charcoal);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text-main);
}

.testimonial-author-meta {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

