.vanity-landing-card {
  max-width: 420px;
  width: 92vw;
  margin: 2em auto 1.2em auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px #0001;
  padding: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  position: relative;
}
.vanity-header-extended {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  background: linear-gradient(135deg, #232526 0%, #3b3b3b 100%);
  color: #fff;
  border-radius: 20px;
  padding: 20px 8px 14px 8px;
  gap: 18px;
  border-bottom: 1px solid #222;
  position: relative;
  margin-bottom: 0.7em;
}
.vanity-logo-rect {
  width: 94px;
  height: 94px;
  object-fit: contain;
  background: #d4d4d4;                  /* darker grey so white logos stand out */
  border: 1px solid #c5c5c5;
  border-radius: 12px;
  box-shadow: 0 1px 6px #0002 inset;    /* soft inner shadow for contrast */
  flex-shrink: 0;
  margin-top: 0;
  align-self: flex-start;
}
/* Add THIS block right here */
.vanity-logo-rect img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.35));
}


.vanity-top-details-right {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 0;
  gap: 2px;
  justify-content: flex-start;
}
.vanity-bizname {
  font-size: 1.30em;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
  padding-bottom: 3px;
}
.vanity-contact-row-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  width: 100%;
  margin-top: 2px;
}
.vanity-contact-item {
  display: flex;
  align-items: center;
  font-size: 1.08em;
  font-weight: 500;
  color: #ffd600;
  gap: 7px;
  text-align: right;
}
.vanity-id-badge {
  background: #1fc36c;
  color: #ffffff;
  border: 2px solid #ffffff;
  font-weight: 700;
  font-size: 0.9em;
  border-radius: 8px;
  padding: 2px 10px;
  margin-right: 6px;
  letter-spacing: .01em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.vanity-id-val {
  color: #fff;
  font-size: 1.08em;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.vanity-slogan-centered {
  color: #ffd600;
  font-size: 1.14em;
  margin: 12px 0 0 0;
  text-align: center;
  font-weight: bold;
  opacity: .97;
  width: 100%;
  align-self: center;
  display: block;
}
.vanity-header-extended .vanity-banner {
  width: 100%;
  max-width: 100%;
  margin: 11px 0 0 0;
  padding: 11px 0;
  border-radius: 10px;
  background: #ffd600;
  color: #232526;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  border: 3px solid #232526;
  text-align: center;
  box-shadow: 0 1px 7px #0001;
  letter-spacing: .03em;
  cursor: pointer;
  transition: background 0.13s;
  font-size: 0.8em;
}
.vanity-header-extended .vanity-banner:hover {
  background: #ffe873;
  color: #1a1919;
  border-color: #444;
}
@media (max-width: 600px) {
  .vanity-header-extended {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 2vw 8px 2vw;
  }
  .vanity-logo-rect {
    margin-top: 0;
  }
  .vanity-top-details-right {
    align-items: flex-end;
    width: 100%;
  }
  .vanity-bizname {
    font-size: 1.05em;
  }
  .vanity-header-extended .vanity-banner {
    font-size: 0.8em;
  }
}
.vanity-social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 6px;
  justify-items: center;
  margin: 1.1em 0 .7em 0;
  padding: 0 16px;
}
.vanity-social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
  margin: 0 auto;
  cursor: pointer;
  text-decoration: none;
}
.vanity-social-icon {
  width: 48px;
  height: 48px;

  /* neutral soft surface */
  background: #f2f3f5;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px auto;
  font-size: 24px;

  /* lighter, calmer shadow */
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);

  transition: background 0.15s ease;
}
.vanity-social-icon {
  filter: saturate(85%);
}

.vanity-social-label {
  font-size: 0.97em;
  text-align: center;
  color: #262626;
  word-break: break-word;
}
.vanity-action-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 7px 0 12px 0;
  gap: 14px;
}
.vanity-action-btn {
  background: #ede9fe;
  border-radius: 13px;
  padding: 9px 16px;
  color: #2d208c;
  font-size: 1.09em;
  display: flex;
  align-items: center;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 1px 5px #0001;
  transition: background .13s;
  font-weight: 600;
}
.vanity-action-btn:hover {
  background: #7c3aed;
  color: #fff;
}
.vanity-action-btn .fa {
  margin-right: 7px;
}
.vanity-info-btn {
  background: #e7f3ff;
  color: #0062b8;
}
.vanity-info-btn:hover {
  background: #ffd600;
  color: #232526;
}
.vanity-bottom-btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}
.vanity-call-btn,
.vanity-ai-btn {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 22px;
  font-size: 1em;
  padding: 15px 0 !important;
  font-weight: 700;
  box-shadow: 0 2px 12px #7c3aed1a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  text-align: center;
  text-decoration: none;
  transition: box-shadow .18s, background .14s, transform .09s;
  line-height: 1.1 !important;
}
.vanity-call-btn {
  background: linear-gradient(90deg, #25d366 65%, #43e97b 100%);
  color: #fff;
}
.vanity-call-btn:hover {
  background: #1da851;
  box-shadow: 0 4px 16px #25d36644;
  transform: translateY(-2px) scale(1.04);
}
/* AI Button "WOW" EFFECTS */
.vanity-ai-btn {
  background: linear-gradient(90deg, #1fbf75 65%, #6ee7b7 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  font-weight: bold;
}
.vanity-ai-btn::before {
  content: '';
  position: absolute;
  left: -60%;
  top: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, #fff9 0%, #fff0 100%);
  filter: blur(0.5px);
  opacity: 0.7;
  transform: skewX(-28deg);
  animation: aiShine 2.6s infinite linear;
  z-index: 0;
}
@keyframes aiShine {
  0% { left: -60%; }
  100% { left: 120%; }
}
.vanity-ai-btn .ai-emoji {
  font-size: 1em;
  margin-right: 7px;
  z-index: 1;
}
.vanity-ai-btn .vanity-social-label {
  z-index: 1;
}
.vanity-ai-btn:hover {
  background: linear-gradient(90deg, #0a8ace 55%, #53e1fa 100%);
  box-shadow: 0 4px 20px #0bb0ff44;
  transform: translateY(-2px) scale(1.04);
}
/* Keep bullets tight left in modals/lists */
.modal-body ul {
  margin-left: 0 !important;
  padding-left: 1.2em !important;
  list-style-position: outside;
}
/* Auto-detect light logos and adjust background so they become visible */
.vanity-logo-rect.smart-light-logo {
  background: #f1f1f1 !important;
  border: 1px solid #d0d0d0 !important;
}
.vanity-social-icon{ background: #87CEEB !important; }
/* AI teaser bubble */
.vanity-ai-teaser{
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  background: rgba(234, 246, 255, 0.98);
  border: 1px solid rgba(10, 138, 206, 0.18);
  color: #0b2a3a;
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.1;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
  z-index: 50;
  white-space: nowrap;
}
.vanity-ai-teaser.is-show{
  opacity: 1;
  transform: translateY(0);
}
.vanity-ai-teaser::after{
  content:"";
  position:absolute;
  right: 18px;
  bottom: -8px;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid rgba(234, 246, 255, 0.98);
  filter: drop-shadow(0 2px 1px rgba(0,0,0,.10));
}
@media (max-width: 360px){
  .vanity-ai-teaser{
    white-space: normal;
    max-width: 220px;
  }
}
/* Ensure AI teaser bubble can float above */
.vanity-bottom-btn-row { overflow: visible; }

.vanity-ai-wrap{
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  overflow: visible;
  z-index: 5;
}

.vanity-ai-wrap .vanity-ai-btn{
  width: 100%;
}
/* --- Teaser bubble contrast upgrade (safe overrides) --- */
.vanity-ai-teaser{
  border: 2px solid rgba(0,0,0,0.45) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.18) !important;
}

/* Pointer outline (border) */
.vanity-ai-teaser::before{
  content:"";
  position:absolute;
  right: 26px;
  bottom: -10px;
  width: 0; height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid rgba(0,0,0,0.45);
}

/* Pointer fill (bubble color) */
.vanity-ai-teaser::after{
  content:"";
  position:absolute;
  right: 26px;
  bottom: -8px;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid rgba(234, 246, 255, 0.98);
}


