/**
 * SHAREABLE EXPERIENCES - PHASE 3 DAY 3-4
 * Protected interactive experiences with social sharing
 * CRITICAL: Demo/teaser versions only - drives to consultation
 */

/* ============================================
   1. SHAREABLE RESULTS CARDS
   ============================================ */

.shareable-results-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 2px solid rgba(0, 102, 204, 0.2);
  border-radius: 16px;
  padding: 32px;
  margin: 24px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.shareable-results-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0066cc, #00d4ff);
}

.shareable-results-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 102, 204, 0.15);
}

.results-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(0, 102, 204, 0.1);
}

.results-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #0b2540;
  margin: 0;
}

.results-card-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #0066cc;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.results-card-content {
  margin: 24px 0;
}

.result-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 102, 204, 0.1);
}

.result-metric-row:last-child {
  border-bottom: none;
}

.result-metric-label {
  font-size: 16px;
  color: #5a6c7d;
  font-weight: 500;
}

.result-metric-value {
  font-size: 28px;
  font-weight: 900;
  color: #0066cc;
}

.result-metric-value.positive {
  color: #00cc66;
}

.result-metric-value.negative {
  color: #ff3333;
}

/* ============================================
   2. SHARE BUTTONS ENHANCED
   ============================================ */

.share-actions-enhanced {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin: 24px 0;
  padding: 20px;
  background: rgba(0, 102, 204, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(0, 102, 204, 0.1);
}

.share-label {
  font-size: 14px;
  font-weight: 700;
  color: #0b2540;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 8px;
}

.share-btn-enhanced {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #ffffff;
  border: 2px solid #0066cc;
  border-radius: 8px;
  color: #0066cc;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.share-btn-enhanced:hover {
  background: #0066cc;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.share-btn-enhanced.linkedin {
  border-color: #0077b5;
  color: #0077b5;
}

.share-btn-enhanced.linkedin:hover {
  background: #0077b5;
  color: #ffffff;
}

.share-btn-enhanced.twitter {
  border-color: #1da1f2;
  color: #1da1f2;
}

.share-btn-enhanced.twitter:hover {
  background: #1da1f2;
  color: #ffffff;
}

.share-btn-enhanced.email {
  border-color: #ea4335;
  color: #ea4335;
}

.share-btn-enhanced.email:hover {
  background: #ea4335;
  color: #ffffff;
}

.share-btn-enhanced.copy {
  border-color: #34a853;
  color: #34a853;
}

.share-btn-enhanced.copy:hover {
  background: #34a853;
  color: #ffffff;
}

.share-btn-enhanced .share-icon {
  font-size: 16px;
}

/* ============================================
   3. PROTECTED TEASER OVERLAY
   ============================================ */

.protected-teaser-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.95) 40%, rgba(255, 255, 255, 0.98) 100%);
  padding: 60px 32px 32px;
  text-align: center;
  backdrop-filter: blur(4px);
  z-index: 100;
}

.teaser-lock-icon {
  font-size: 48px;
  color: #0066cc;
  margin-bottom: 16px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.teaser-message {
  font-size: 18px;
  font-weight: 700;
  color: #0b2540;
  margin-bottom: 12px;
}

.teaser-submessage {
  font-size: 14px;
  color: #5a6c7d;
  margin-bottom: 20px;
}

.teaser-cta {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, #0066cc, #0052a3);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 102, 204, 0.3);
}

.teaser-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 102, 204, 0.4);
  background: linear-gradient(135deg, #0052a3, #003d7a);
}

/* ============================================
   4. COMPARISON WIDGET (AGGREGATED)
   ============================================ */

.comparison-widget {
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
  border: 2px solid rgba(0, 102, 204, 0.2);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}

.comparison-header {
  font-size: 16px;
  font-weight: 700;
  color: #0b2540;
  margin-bottom: 16px;
  text-align: center;
}

.comparison-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.comparison-label {
  min-width: 120px;
  font-size: 14px;
  font-weight: 600;
  color: #5a6c7d;
}

.comparison-track {
  flex: 1;
  height: 32px;
  background: rgba(0, 102, 204, 0.1);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.comparison-fill {
  height: 100%;
  background: linear-gradient(90deg, #0066cc, #00d4ff);
  border-radius: 16px;
  transition: width 1s ease;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
}

.comparison-value {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.comparison-marker {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 40px;
  background: #ff3333;
  box-shadow: 0 0 12px rgba(255, 51, 51, 0.6);
}

.comparison-marker-label {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  color: #ff3333;
  white-space: nowrap;
  background: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #ff3333;
}

/* ============================================
   5. DOWNLOAD REPORT BUTTON
   ============================================ */

.download-report-section {
  margin: 32px 0;
  padding: 24px;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(0, 212, 255, 0.05));
  border-radius: 12px;
  border: 2px dashed rgba(0, 102, 204, 0.3);
  text-align: center;
}

.download-report-title {
  font-size: 18px;
  font-weight: 700;
  color: #0b2540;
  margin-bottom: 12px;
}

.download-report-description {
  font-size: 14px;
  color: #5a6c7d;
  margin-bottom: 20px;
}

.download-report-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #ffffff;
  border: 2px solid #0066cc;
  border-radius: 8px;
  color: #0066cc;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.download-report-btn:hover {
  background: #0066cc;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.download-report-btn .icon {
  font-size: 20px;
}

/* ============================================
   6. SUCCESS/COPIED TOAST
   ============================================ */

.share-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #00cc66;
  color: #ffffff;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0, 204, 102, 0.4);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10000;
  animation: slideIn 0.3s ease, slideOut 0.3s ease 2.7s;
  opacity: 0;
  pointer-events: none;
}

.share-toast.show {
  opacity: 1;
  pointer-events: auto;
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

/* ============================================
   7. RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .share-actions-enhanced {
    flex-direction: column;
    align-items: stretch;
  }
  
  .share-btn-enhanced {
    width: 100%;
    justify-content: center;
  }
  
  .comparison-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .comparison-label {
    min-width: auto;
  }
  
  .comparison-track {
    width: 100%;
  }
}







