/* ==========================================================================
   DIGITAL BUSINESS CONTACT CARD - MODERN GLASSMORPHISM DARK THEME
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #070913;
  --bg-secondary: #0c1021;
  --card-bg: rgba(18, 24, 38, 0.65);
  --card-border: rgba(255, 255, 255, 0.12);
  --card-border-highlight: rgba(255, 255, 255, 0.25);
  
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-purple: #7928ca;
  --accent-pink: #ff0080;
  --accent-emerald: #10b981;
  --accent-whatsapp: #25d366;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-sub: #64748b;
  
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Radii & Shadows */
  --radius-card: 28px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-full: 9999px;
  --card-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.8),
                 0 0 50px -10px rgba(121, 40, 202, 0.2),
                 0 0 30px -5px rgba(0, 242, 254, 0.15);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  min-height: 100vh;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ==========================================
   AMBIENT BACKGROUND GLOWS & PARTICLES
   ========================================== */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.bg-glow-1 {
  width: 480px;
  height: 480px;
  top: -10%;
  left: 15%;
  background: radial-gradient(circle, rgba(121, 40, 202, 0.55), transparent 70%);
}

.bg-glow-2 {
  width: 420px;
  height: 420px;
  bottom: -8%;
  right: 15%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.4), transparent 70%);
  animation-delay: -6s;
}

.bg-glow-3 {
  width: 350px;
  height: 350px;
  top: 45%;
  left: 65%;
  background: radial-gradient(circle, rgba(255, 0, 128, 0.35), transparent 70%);
  animation-delay: -12s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.1); }
  100% { transform: translate(-30px, 30px) scale(0.95); }
}

.bg-particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
}

/* ==========================================
   PAGE CONTAINER & 3D TILT
   ========================================== */
.page-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 460px;
  padding: 24px 16px;
  perspective: 1200px;
  display: flex;
  justify-content: center;
}

.card-tilt-container {
  width: 100%;
  transition: transform 0.12s ease-out;
  transform-style: preserve-3d;
}

/* ==========================================
   THE GLASSMORPHISM BUSINESS CARD
   ========================================== */
.business-card {
  position: relative;
  width: 100%;
  background: var(--card-bg);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-radius: var(--radius-card);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  padding: 32px 24px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.business-card:hover {
  border-color: var(--card-border-highlight);
  box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.85),
              0 0 60px -5px rgba(121, 40, 202, 0.3),
              0 0 40px 0px rgba(0, 242, 254, 0.2);
}

/* Dynamic Glass Glare Reflection */
.card-glare {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 5;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.16) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-border-glow {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-card);
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(0, 242, 254, 0.3), rgba(121, 40, 202, 0.3), rgba(255, 255, 255, 0.05));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ==========================================
   CARD HEADER & AVATAR
   ========================================== */
.card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}

.avatar-wrapper {
  position: relative;
  width: 104px;
  height: 104px;
  margin-bottom: 18px;
}

.avatar-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple), var(--accent-pink));
  opacity: 0.85;
  animation: rotateRing 8s linear infinite;
  filter: blur(1px);
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.avatar-img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0d1322;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  display: block;
}

.status-indicator {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  background-color: var(--accent-emerald);
  border: 3px solid #0d1322;
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
  z-index: 2;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.status-indicator::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent-emerald);
  animation: pulseStatus 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  transition: border-color 0.4s ease;
}

/* Open Status (Green - Before 5:00 PM) */
.status-indicator.is-open {
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.status-indicator.is-open::after {
  border-color: var(--accent-emerald);
  animation: pulseStatus 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Closed Status (Red - After 5:00 PM) */
.status-indicator.is-closed {
  background-color: #ef4444 !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.9) !important;
}

.status-indicator.is-closed::after {
  border-color: #ef4444 !important;
  animation: pulseStatusRed 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulseStatus {
  0%, 100% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 0; }
}

@keyframes pulseStatusRed {
  0%, 100% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 6px rgba(239, 68, 68, 0.6); }
  50% { transform: scale(1.4); opacity: 0; }
}

.name-badge-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.person-name {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 30%, #d8e2fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.verified-badge {
  color: #38bdf8;
  display: flex;
  align-items: center;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.5));
}

.person-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: #c7d2fe;
  margin-top: 4px;
}

.person-company {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.company-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-sub);
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================
   QUICK ACTION BUTTONS
   ========================================== */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  outline: none;
}

.action-btn .btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.06);
  transition: all 0.25s ease;
}

.action-btn:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
}

/* Specific button theme glows on hover */
.call-btn:hover .btn-icon {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
}

.whatsapp-btn:hover .btn-icon {
  background: rgba(37, 211, 102, 0.2);
  color: var(--accent-whatsapp);
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.4);
}

.email-btn:hover .btn-icon {
  background: rgba(79, 172, 254, 0.2);
  color: var(--accent-blue);
  box-shadow: 0 0 16px rgba(79, 172, 254, 0.4);
}

.directions-btn:hover .btn-icon,
.location-btn:hover .btn-icon {
  background: rgba(245, 158, 11, 0.22);
  color: #fbbf24;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.45);
}

.qr-btn:hover .btn-icon {
  background: rgba(121, 40, 202, 0.25);
  color: #c084fc;
  box-shadow: 0 0 16px rgba(121, 40, 202, 0.45);
}

/* ==========================================
   PRIMARY CTA: SAVE CONTACT
   ========================================== */
.primary-cta-container {
  margin-bottom: 24px;
}

.save-contact-btn {
  position: relative;
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #7928ca 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.3),
              0 4px 15px rgba(121, 40, 202, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.save-contact-btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 30px rgba(0, 242, 254, 0.45),
              0 6px 20px rgba(121, 40, 202, 0.45);
}

.save-contact-btn:active {
  transform: translateY(1px) scale(0.99);
}

.save-contact-btn .btn-glow-ring {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.save-contact-btn:hover .btn-glow-ring {
  transform: translateX(100%);
}

/* ==========================================
   CONTACT DETAILS LIST
   ========================================== */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.detail-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.detail-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(3px);
}

.detail-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.detail-card:hover .detail-icon {
  background: rgba(0, 242, 254, 0.15);
  transform: scale(1.05);
}

.detail-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow: hidden;
}

.detail-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-sub);
  font-weight: 600;
}

.detail-value {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.card-badges-group {
  display: flex;
  align-items: center;
  gap: 4px;
}

.copy-badge, .badge-action-btn {
  background: transparent;
  border: none;
  color: var(--text-sub);
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  text-decoration: none;
}

.detail-card:hover .copy-badge,
.detail-card:hover .badge-action-btn {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
}

.badge-action-btn:hover {
  color: var(--accent-cyan) !important;
  background: rgba(0, 242, 254, 0.15) !important;
  transform: scale(1.1);
}

.external-arrow {
  color: var(--text-sub);
  padding: 6px;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.link-card:hover .external-arrow {
  color: var(--accent-cyan);
  transform: translate(2px, -2px);
}

/* ==========================================
   FOOTER & SOCIAL LINKS
   ========================================== */
.card-footer {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 18px;
}

.social-title {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 12px;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-link:hover {
  transform: translateY(-4px) scale(1.1);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4),
              0 0 12px rgba(121, 40, 202, 0.4);
}

.social-link-fb:hover {
  color: #1877f2 !important;
  border-color: rgba(24, 119, 242, 0.5) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4), 0 0 14px rgba(24, 119, 242, 0.5) !important;
}

.social-link-wa:hover {
  color: #25d366 !important;
  border-color: rgba(37, 211, 102, 0.5) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4), 0 0 14px rgba(37, 211, 102, 0.5) !important;
}

.social-link-map:hover {
  color: #f59e0b !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4), 0 0 14px rgba(245, 158, 11, 0.5) !important;
}

.social-pill-tag {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1877f2;
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #0f172a;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* ==========================================
   QR CODE MODAL
   ========================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: #0f1526;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9),
              0 0 40px rgba(0, 242, 254, 0.2);
  transform: scale(0.92) translateY(15px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #ffffff;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}

.modal-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 20px;
}

.qr-canvas-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 20px;
  background: #ffffff;
  padding: 12px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#qrContainer canvas, #qrContainer svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.qr-scanner-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00f2fe, transparent);
  box-shadow: 0 0 10px #00f2fe;
  animation: scanAnimation 2.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scanAnimation {
  0% { top: 5%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 92%; opacity: 0; }
}

.qr-target-url {
  font-size: 0.76rem;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-top: -10px;
  margin-bottom: 16px;
  word-break: break-all;
  font-weight: 500;
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.modal-btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.modal-btn-copy:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
  color: #ffffff;
}

.modal-btn-open {
  background: rgba(0, 242, 254, 0.12);
  border-color: rgba(0, 242, 254, 0.3);
  color: #38bdf8;
}

.modal-btn-open:hover {
  background: rgba(0, 242, 254, 0.2);
  border-color: rgba(0, 242, 254, 0.45);
  color: #ffffff;
}

/* ==========================================
   MODAL CHOICE LIST (ACTION SHEET FOR CALL & WHATSAPP)
   ========================================== */
.modal-header-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.call-icon-bg {
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.whatsapp-icon-bg {
  background: rgba(37, 211, 102, 0.12);
  color: var(--accent-whatsapp);
  border: 1px solid rgba(37, 211, 102, 0.3);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.2);
}

.choice-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
  text-align: left;
}

.choice-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.choice-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.choice-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.choice-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  display: inline-block;
  width: fit-content;
}

.choice-tag.primary {
  background: rgba(0, 242, 254, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.choice-tag.secondary {
  background: rgba(121, 40, 202, 0.18);
  color: #c084fc;
  border: 1px solid rgba(121, 40, 202, 0.35);
}

.choice-tag.wa-tag {
  background: rgba(37, 211, 102, 0.15);
  color: #4ade80;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.choice-number {
  font-size: 0.96rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.choice-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #070913;
  box-shadow: 0 4px 12px rgba(0, 242, 254, 0.3);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.choice-item:hover .choice-btn {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 242, 254, 0.45);
}

.choice-btn.wa-btn-action {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.choice-item:hover .choice-btn.wa-btn-action {
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

/* WhatsApp Detail Cards in Main List */
.detail-card.whatsapp-card .detail-icon {
  color: var(--accent-whatsapp);
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.15);
}

.detail-card.whatsapp-card:hover .detail-icon {
  background: rgba(37, 211, 102, 0.2);
  transform: scale(1.08);
  box-shadow: 0 0 14px rgba(37, 211, 102, 0.3);
}

.detail-card.whatsapp-card:hover {
  border-color: rgba(37, 211, 102, 0.3);
}

/* Location / Showroom & Workshop Cards & Modals */
.location-icon-bg {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
}

.choice-tag.location-tag-showroom {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.choice-tag.location-tag-workshop {
  background: rgba(0, 242, 254, 0.16);
  color: #38bdf8;
  border: 1px solid rgba(0, 242, 254, 0.35);
}

.choice-btn.map-btn-action {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.choice-item:hover .choice-btn.map-btn-action {
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.5);
}

.detail-card.location-card .detail-icon {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.18);
}

.detail-card.location-card:hover .detail-icon {
  background: rgba(245, 158, 11, 0.2);
  transform: scale(1.08);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.35);
}

.detail-card.location-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
}

.detail-card.facebook-card .detail-icon {
  color: #1877f2;
  background: rgba(24, 119, 242, 0.08);
  border: 1px solid rgba(24, 119, 242, 0.18);
}

.detail-card.facebook-card:hover .detail-icon {
  background: rgba(24, 119, 242, 0.2);
  transform: scale(1.08);
  box-shadow: 0 0 14px rgba(24, 119, 242, 0.35);
}

.detail-card.facebook-card:hover {
  border-color: rgba(24, 119, 242, 0.3);
}

/* ==========================================
   TOAST NOTIFICATION
   ========================================== */
.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  opacity: 0;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(16, 185, 129, 0.2);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 200;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-icon {
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
}

.toast-text {
  font-size: 0.85rem;
  font-weight: 600;
}

/* ==========================================
   MOBILE & TOUCH SCREEN ENHANCEMENTS
   ========================================== */
@media (max-width: 600px) {
  html, body {
    align-items: flex-start;
    padding: 0;
    min-height: 100dvh;
  }

  .page-container {
    width: 100%;
    max-width: 100%;
    padding: 10px 8px 24px;
    perspective: none;
  }

  .card-tilt-container {
    transform: none !important;
  }

  .business-card {
    padding: 28px 16px;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7),
                0 0 30px rgba(121, 40, 202, 0.2);
  }

  /* Header & Avatar */
  .avatar-wrapper {
    width: 114px;
    height: 114px;
    margin-bottom: 16px;
  }

  .avatar-img {
    width: 98px;
    height: 98px;
  }

  .status-indicator {
    width: 18px;
    height: 18px;
    bottom: 2px;
    right: 2px;
  }

  .person-name {
    font-size: 1.75rem;
    letter-spacing: -0.01em;
  }

  .verified-badge svg {
    width: 20px;
    height: 20px;
  }

  .person-title {
    font-size: 1.02rem;
    font-weight: 500;
    margin-top: 4px;
  }

  .person-company {
    font-size: 0.88rem;
    gap: 8px;
    margin-top: 8px;
  }

  .location-tag {
    font-size: 0.82rem;
    padding: 6px 14px;
    margin-top: 10px;
    gap: 7px;
  }

  .location-tag svg {
    width: 15px;
    height: 15px;
  }

  /* Quick Action Buttons */
  .quick-actions {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 20px;
  }

  .action-btn {
    padding: 12px 3px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 16px;
  }

  .action-btn .btn-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 7px;
  }

  .action-btn .btn-icon svg {
    width: 20px;
    height: 20px;
  }

  /* Save Contact CTA */
  .save-contact-btn {
    padding: 16px 20px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 16px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
  }

  .save-contact-btn svg {
    width: 20px;
    height: 20px;
  }

  /* Section Title */
  .section-title {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
  }

  /* Detail Cards */
  .detail-card {
    padding: 14px 14px;
    border-radius: 16px;
    margin-bottom: 10px;
    gap: 12px;
  }

  .detail-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
  }

  .detail-icon svg {
    width: 20px;
    height: 20px;
  }

  .detail-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
  }

  .detail-value {
    font-size: 0.98rem;
    font-weight: 600;
    margin-top: 2px;
    white-space: normal;
    word-break: break-word;
    line-height: 1.35;
  }

  .badge-action-btn, .copy-badge, .external-arrow {
    padding: 8px;
  }

  .badge-action-btn svg, .copy-badge svg, .external-arrow svg {
    width: 16px;
    height: 16px;
  }

  /* Footer Socials */
  .card-footer {
    padding-top: 20px;
    margin-top: 8px;
  }

  .social-title {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
  }

  .social-links {
    gap: 16px;
  }

  .social-link {
    width: 48px;
    height: 48px;
  }

  .social-link svg {
    width: 22px;
    height: 22px;
  }

  .social-pill-tag {
    width: 18px;
    height: 18px;
    font-size: 10.5px;
    top: -4px;
    right: -4px;
  }

  /* Modals */
  .modal-card {
    max-width: 94%;
    padding: 26px 18px;
    border-radius: 22px;
  }

  .modal-title {
    font-size: 1.25rem;
  }

  .choice-item {
    padding: 14px 14px;
  }

  .choice-number {
    font-size: 1rem;
  }

  .choice-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
  }
}

@media (max-width: 360px) {
  .page-container {
    padding: 6px 4px 18px;
  }

  .business-card {
    padding: 22px 10px;
    border-radius: 18px;
  }

  .person-name {
    font-size: 1.55rem;
  }

  .action-btn {
    padding: 10px 2px;
    font-size: 0.76rem;
  }

  .action-btn .btn-icon {
    width: 38px;
    height: 38px;
  }

  .detail-value {
    font-size: 0.9rem;
  }
}
