:root {
  --bg: #20BC62;
  --text: #1f2937;
  --muted: #6b7280;
  --primary: #2563eb;
  --primary-2: #10b981;
  --card: #ffffff;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Poppins", Helvetica, Arial, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  max-width: 620px;
  margin: 0 auto;
  padding: 32px 20px 40px;
  display: grid;
  gap: 0;
  min-height: 100vh;
  place-items: center;
}

.hero {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 60px;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
  width: 100%;
  max-width: 620px;
  position: relative;
  overflow: visible;
  margin-bottom:40px;
  margin-top: 40px;
  animation: heroIn 600ms cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: transform, opacity;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 3px solid #ffffff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  animation: fadeIn 500ms 150ms ease-out both;
}

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

.name {
  font-size: 28px;
  line-height: 1.15;
  margin: 12px 0 0;
  font-family: "Urbanist", Helvetica, Arial, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  animation: upIn 500ms 250ms ease-out both;
}

.tagline {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
  animation: upIn 500ms 350ms ease-out both;
}

.btn {
  margin-top: 8px;
  padding: 12px 24px;
  font-size: 15px;
  border-radius: 4px;
  border: none;
  color: #fff;
  background: #20BC62;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  min-width: 260px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
  text-decoration: none;
  animation: upIn 500ms 500ms ease-out both;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(32, 188, 98, 0.35);
  filter: brightness(1.05);
}

.btn:focus {
  outline: 1px solid #9fd08b;
  outline-offset: 2px;
}

.btn-icon {
  display: inline-block;
}

.btn i {
  font-size: 18px;
  line-height: 1;
}

.description {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--text);
  max-width: 48ch;
  animation: upIn 500ms 650ms ease-out both;
}

.meta-line {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--muted);
}

.meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

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

.meta-card {
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 0;
}

.meta-card h2 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--text);
}

.meta-card p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.inline {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin: 10px 0 0;
  animation: upIn 500ms 900ms ease-out both;
}

.social-link {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: transparent;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.25s ease, filter 0.2s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: none;
  filter: brightness(1.08);
}

.SVGInline-svg {
  display: block;
  width: 28px;
  height: 28px;
  filter: grayscale(100%);
  transition: filter 0.2s ease;
}

.social-link:hover .SVGInline-svg {
  filter: grayscale(0%);
}

.social-link.upwork .SVGInline-svg path { fill: #14a800; }
.social-link.fiverr .SVGInline-svg path { fill: #1dbf73; }
.social-link.linkedin .SVGInline-svg path { fill: #0a66c2; }

.meta-pairs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 10px;
  animation: upIn 500ms 800ms ease-out both;
}

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

.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 9999px;
  background: #ffffff;
  color: #20BC62;
  border: 2px solid #20BC62;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.18);
  text-decoration: none;
  z-index: 1000;
  transition: transform 0.15s ease, box-shadow 0.25s ease, filter 0.2s ease, background 0.2s ease, color 0.2s ease;
  animation: floatInUp 500ms 950ms cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: transform, opacity;
}

.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(32, 188, 98, 0.35);
}

.wa-float i {
  font-size: 22px;
  line-height: 1;
}

.wa-float .label {
  font-size: 14px;
  font-weight: 600;
}

@supports (padding: env(safe-area-inset-bottom)) {
  .wa-float {
    right: calc(16px + env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
  }
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@media (prefers-reduced-motion: reduce) {
  .hero, .avatar, .name, .tagline, .btn, .description, .meta-pairs, .inline, .wa-float {
    animation: none !important;
  }
}
.meta-heading {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  font-family: "Urbanist", Helvetica, Arial, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.meta-value {
  font-size: 15px;
  color: var(--muted);
}

@media (max-width: 480px) {
  .container {
    padding: 40px 12px 28px;
    padding-top: calc(40px + env(safe-area-inset-top));
    min-height: 100vh;
  }
  .hero {
    padding: 60px 16px 20px;
    max-width: 100%;
  }
  .avatar {
    width: 96px;
    height: 96px;
  }
  .name {
    font-size: 24px;
    margin-top: 14px;
  }
  .tagline {
    font-size: 14px;
  }
  .btn {
    min-width: 0;
    width: 100%;
    padding: 12px;
  }
  .inline {
    flex-wrap: wrap;
    gap: 10px;
  }
  .SVGInline-svg {
    width: 24px;
    height: 24px;
  }
  .meta-pairs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 360px) {
  .container {
    padding: 48px 10px 24px;
    padding-top: calc(48px + env(safe-area-inset-top));
  }
  .hero {
    padding: 68px 12px 18px;
  }
  .avatar {
    width: 88px;
    height: 88px;
    transform: translate(-50%, -30%);
    border-width: 2px;
  }
  .name {
    font-size: 22px;
    margin-top: 12px;
  }
  .tagline {
    font-size: 13px;
  }
  .inline {
    gap: 8px;
  }
  .SVGInline-svg {
    width: 22px;
    height: 22px;
  }
  .meta-pairs {
    gap: 8px;
    grid-template-columns: repeat(2, 1fr);
  }
  .meta-heading {
    font-size: 13px;
  }
  .meta-value {
    font-size: 14px;
  }
}

@media (max-width: 320px) {
  .container {
    padding: 52px 8px 20px;
    padding-top: calc(52px + env(safe-area-inset-top));
  }
  .hero {
    padding: 64px 10px 16px;
  }
  .avatar {
    width: 80px;
    height: 80px;
    transform: translate(-50%, -26%);
  }
  .name {
    font-size: 21px;
  }
  .tagline {
    font-size: 12px;
  }
  .SVGInline-svg {
    width: 20px;
    height: 20px;
  }
  .meta-pairs {
    gap: 6px;
    grid-template-columns: repeat(2, 1fr);
  }
}
