:root {
  --primary: #FF6B00;
  --primary-hover: #FF8533;
  --bg-dark: #0f172a;
  --bg-darker: #0b0f19;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --glass-bg: rgba(30, 41, 59, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 20px 0 40px;
}

/* Dynamic Animated Background */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  background: radial-gradient(circle at 50% 50%, var(--bg-dark), var(--bg-darker));
}

.blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.4;
  border-radius: 50%;
  animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
  background: #FF6B00;
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.blob-2 {
  background: #0D8ABC;
  width: 250px;
  height: 250px;
  bottom: -50px;
  right: -50px;
  animation-delay: -5s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 50px) scale(1.1); }
  100% { transform: translate(-30px, 80px) scale(0.9); }
}

/* Container */
.vcard-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

/* Glassmorphism Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  text-align: center;
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Profile Section */
.profile-header {
  margin-bottom: 32px;
}

.avatar-container {
  width: 200px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.avatar-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent;
}

.name {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.title {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.company-badge {
  display: inline-block;
  background: rgba(255, 107, 0, 0.15);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 107, 0, 0.2);
}

.location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.location svg {
  color: var(--primary);
}

/* Action Grid */
.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.75rem;
  font-weight: 500;
  transition: transform 0.2s ease;
}

.action-btn:hover {
  transform: translateY(-3px);
}

.icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.icon-wrap.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
}

.action-btn:hover .icon-wrap.primary {
  background: var(--primary-hover);
  box-shadow: 0 12px 25px rgba(255, 107, 0, 0.4);
}

.icon-wrap.secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--glass-border);
}

.action-btn:hover .icon-wrap.secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Save Contact Button */
.save-contact-wrapper {
  margin-bottom: 24px;
}

.save-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.save-contact-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Services */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.service-pill {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.2);
  padding: 6px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Social & Messengers */
.vcard-social {
  margin-top: 32px;
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
}

.social-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.social-icons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.soc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.soc-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive Tweaks */
@media screen and (max-width: 400px) {
  .glass-card {
    padding: 32px 16px;
  }
  .action-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }
  .avatar-container {
    width: 100px;
    height: 100px;
    margin-bottom: 16px;
  }
  .name {
    font-size: 1.5rem;
  }
  .vcard-container {
    padding: 12px;
  }
}

/* Google Review CTA */
.review-cta {
  margin: 24px 0;
  padding: 20px;
  background: linear-gradient(135deg, rgba(251,188,5,0.08), rgba(66,133,244,0.06));
  border: 1px solid rgba(251,188,5,0.25);
  border-radius: 18px;
  text-align: center;
}

.review-stars {
  font-size: 1.5rem;
  letter-spacing: 4px;
  margin-bottom: 8px;
  animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.review-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 400;
}

.review-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
  border-radius: 14px;
  color: #3c4043;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  letter-spacing: -0.01em;
}

.review-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(251,188,5,0.35);
  background: linear-gradient(135deg, #fff 0%, #fffde7 100%);
}
