/**
 * DentGPT Platform Mockup Styles
 * Realistic social media and review platform mockups
 *
 * Created: December 3, 2025
 */

/* ============================================
   SHARED MOCKUP BASE
   ============================================ */

.mockup {
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  max-width: 400px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.mockup--sm {
  max-width: 320px;
}

.mockup--lg {
  max-width: 500px;
}

/* ============================================
   GOOGLE REVIEW MOCKUP
   ============================================ */

.google-review {
  padding: var(--space-5);
}

.google-review__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.google-review__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: var(--border-light);
}

.google-review__avatar--placeholder,
.yelp-review__avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-warm-alt);
}

.google-review__name {
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--text-primary);
}

.google-review__meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.google-review__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-3);
}

.google-review__star {
  color: #FBBC04; /* Google yellow */
  display: inline-flex;
  align-items: center;
}

.google-review__star--empty {
  color: var(--border-medium);
}

.google-review__text {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.google-review__response {
  background: #F8F9FA;
  border-left: 3px solid #4285F4; /* Google blue */
  padding: var(--space-4);
  margin-top: var(--space-4);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.google-review__response-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.google-review__response-name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.google-review__response-badge {
  font-size: var(--text-xs);
  color: #4285F4;
  background: #E8F0FE;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.google-review__response-text {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}

.google-review__response-date {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-2);
}

/* No response state */
.google-review--no-response {
  position: relative;
}

.google-review--no-response::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(254, 226, 226, 0.8));
  pointer-events: none;
}

/* ============================================
   YELP REVIEW MOCKUP
   ============================================ */

.yelp-review {
  padding: var(--space-5);
}

.yelp-review__header {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.yelp-review__avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--border-light);
}

.yelp-review__user-info {
  flex: 1;
}

.yelp-review__logo {
  width: 40px;
  height: auto;
  object-fit: contain;
}

.yelp-review__name {
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.yelp-review__location {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-1);
}

.yelp-review__stats {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.yelp-review__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-3);
}

.yelp-review__star {
  color: #FF1A1A; /* Yelp red */
  display: inline-flex;
  align-items: center;
}

.yelp-review__star svg {
  display: block;
}

.yelp-review__star--empty {
  color: var(--border-medium);
}

.yelp-review__date {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

.yelp-review__text {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-primary);
}

.yelp-review__response {
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: #f8f7f4;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.yelp-review__response-header {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  margin-bottom: var(--space-3);
}

.yelp-review__response-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: white;
  border: 1px solid var(--border-light);
  padding: 4px;
}

.yelp-review__response-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.yelp-review__response-meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.yelp-review__response-text {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
}

.yelp-review__response-badge {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs);
  color: #d32323;
  background: rgba(211, 35, 35, 0.1);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

/* ============================================
   INSTAGRAM POST MOCKUP
   ============================================ */

.instagram-post {
  background: var(--bg-white);
}

.instagram-post__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-light);
}

.instagram-post__avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  padding: 2px;
}

.instagram-post__avatar img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid white;
}

.instagram-post__username {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.instagram-post__image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--bg-warm);
}

.instagram-post__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.instagram-post__actions {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
}

.instagram-post__action {
  font-size: 24px;
  cursor: pointer;
}

.instagram-post__action svg {
  display: block;
}

.instagram-post__likes {
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 0 var(--space-4);
  margin-bottom: var(--space-2);
}

.instagram-post__caption {
  padding: 0 var(--space-4);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.instagram-post__caption strong {
  font-weight: 600;
}

.instagram-post__hashtags {
  color: #00376B;
}

.instagram-post__timestamp {
  font-size: var(--text-xs);
  color: var(--text-muted);
  padding: var(--space-2) var(--space-4) var(--space-4);
  text-transform: uppercase;
}

/* ============================================
   FACEBOOK POST MOCKUP
   ============================================ */

.facebook-post {
  background: var(--bg-white);
}

.facebook-post__header {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4);
}

.facebook-post__avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: var(--border-light);
}

.facebook-post__page-name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.facebook-post__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.facebook-post__content {
  padding: 0 var(--space-4) var(--space-4);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.facebook-post__image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--bg-warm);
}

.facebook-post__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.facebook-post__reactions {
  display: flex;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--border-light);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.facebook-post__reaction-icons {
  display: flex;
}

.facebook-post__reaction-icons span {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  margin-left: -4px;
  border: 2px solid white;
}

.facebook-post__reaction-icons span:first-child {
  margin-left: 0;
}

.facebook-post__actions {
  display: flex;
  border-top: 1px solid var(--border-light);
}

.facebook-post__action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
}

.facebook-post__action svg {
  display: block;
}

.facebook-post__action:hover {
  background: var(--bg-warm);
}

/* ============================================
   TWITTER POST MOCKUP
   ============================================ */

.twitter-post {
  padding: var(--space-4);
}

.twitter-post__header {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.twitter-post__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: var(--border-light);
}

.twitter-post__user {
  flex: 1;
}

.twitter-post__name {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--text-primary);
}

.twitter-post__handle {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.twitter-post__content {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.twitter-post__timestamp {
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-light);
}

.twitter-post__stats {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-light);
  font-size: var(--text-sm);
}

.twitter-post__stat strong {
  font-weight: 700;
  color: var(--text-primary);
}

.twitter-post__stat span {
  color: var(--text-muted);
}

.twitter-post__actions {
  display: flex;
  justify-content: space-around;
  padding-top: var(--space-3);
}

.twitter-post__action {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-muted);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.twitter-post__action svg {
  display: block;
}

.twitter-post__action:hover {
  color: #1DA1F2; /* Twitter blue */
}

/* ============================================
   THREADS POST MOCKUP
   ============================================ */

.threads-post {
  padding: var(--space-4);
}

.threads-post__header {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.threads-post__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
}

.threads-post__avatar img {
  width: 20px;
  height: 20px;
  filter: invert(1);
}

.threads-post__user {
  flex: 1;
}

.threads-post__name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.threads-post__time {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.threads-post__content {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.threads-post__actions {
  display: flex;
  gap: var(--space-4);
  color: var(--text-muted);
}

.threads-post__actions svg {
  display: block;
}

.threads-post__meta {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--text-muted);
  display: flex;
  gap: var(--space-2);
}

/* ============================================
   LINKEDIN POST MOCKUP
   ============================================ */

.linkedin-post {
  padding: var(--space-4);
}

.linkedin-post__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.linkedin-post__logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: #0a66c2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: var(--text-lg);
}

.linkedin-post__author {
  flex: 1;
}

.linkedin-post__name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-primary);
}

.linkedin-post__title {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.linkedin-post__timestamp {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.linkedin-post__content {
  font-size: var(--text-sm);
  color: var(--text-primary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-3);
}

.linkedin-post__image {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-warm);
}

.linkedin-post__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.linkedin-post__stats {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-3);
  display: flex;
  gap: var(--space-4);
}

.linkedin-post__actions {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.linkedin-post__actions span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.linkedin-post__actions svg {
  display: block;
}

/* ============================================
   EMAIL CAMPAIGN MOCKUP
   ============================================ */

.email-mockup {
  background: #F3F4F6;
  padding: var(--space-4);
  border-radius: var(--radius-xl);
}

.email-mockup__envelope {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.email-mockup__header {
  padding: var(--space-4);
  border-bottom: 1px solid var(--border-light);
}

.email-mockup__subject {
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.email-mockup__preheader {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.email-mockup__from {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
  font-size: var(--text-sm);
}

.email-mockup__from-avatar {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 600;
}

.email-mockup__body {
  padding: var(--space-6);
}

.email-mockup__logo {
  text-align: center;
  margin-bottom: var(--space-6);
}

.email-mockup__content {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}

.email-mockup__content p {
  margin-bottom: var(--space-4);
}

.email-mockup__cta {
  display: block;
  width: fit-content;
  margin: var(--space-6) auto;
  padding: var(--space-3) var(--space-6);
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  text-align: center;
}

.email-mockup__footer {
  text-align: center;
  padding: var(--space-4);
  background: var(--bg-warm);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ============================================
   MOCKUP GRID LAYOUTS
   ============================================ */

.mockup-grid {
  display: grid;
  gap: var(--space-6);
  justify-items: center;
}

@media (min-width: 768px) {
  .mockup-grid--2col {
    grid-template-columns: repeat(2, 1fr);
  }

  .mockup-grid--3col {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   REVIEW SHOWCASE GRID
   ============================================ */

.review-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-card {
  position: relative;
}

.review-card .badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  z-index: 1;
}

.review-card .badge.danger {
  background: var(--status-critical-bg);
  color: var(--status-critical-text);
}

.review-card .badge.success {
  background: var(--status-success-bg);
  color: var(--status-success-text);
}

/* ============================================
   BLOG PREVIEW MOCKUP (Professional Card)
   ============================================ */

.blog-preview {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 360px;
}

.blog-preview__image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.blog-preview__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-preview__category {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--ai-primary);
  color: white;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.blog-preview__content {
  padding: var(--space-5);
}

.blog-preview__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.blog-preview__divider {
  opacity: 0.5;
}

.blog-preview__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
  line-height: 1.3;
  color: var(--text-primary);
}

.blog-preview__excerpt {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-4);
}

.blog-preview__author {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.blog-preview__avatar {
  width: 24px;
  height: 24px;
  background: var(--ai-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 10px;
  font-weight: 600;
}
