/* ============================================
   FAIZ WASTI — DIGITAL BUSINESS CARD
   Palette: Copper & Slate + Deep Navy
   Fonts: Cormorant Garamond + Manrope
   ============================================ */

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

:root {
  --copper:       #B87333;
  --copper-light: #D4A574;
  --copper-pale:  #E8C99A;
  --slate-dark:   #1E2A35;
  --slate:        #2F3640;
  --slate-mid:    #3D4A57;
  --cream:        #F5F0EB;
  --cream-dark:   #EDE5D8;
  --text-primary: #1E2A35;
  --text-muted:   #6B7A8A;
  --white:        #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Manrope', sans-serif;

  --radius-card:  24px;
  --radius-chip:  100px;
  --shadow-card:  0 32px 80px rgba(30,42,53,0.22), 0 8px 24px rgba(184,115,51,0.12);
  --shadow-hover: 0 48px 100px rgba(30,42,53,0.28), 0 12px 32px rgba(184,115,51,0.18);
}

/* ── Body & Background ── */
body {
  min-height: 100vh;
  background: linear-gradient(135deg, #0F1923 0%, #1E2A35 40%, #2A1F14 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
}

/* ── Ambient Orbs ── */
.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #B87333, transparent 70%);
  top: -100px; left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #D4A574, transparent 70%);
  bottom: -80px; right: -80px;
  animation-delay: -4s;
}

.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #7B9BB5, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -8s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-20px, 30px) scale(0.95); }
}

/* ── Scene ── */
.scene {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  perspective: 1200px;
}

/* ── Card ── */
.card {
  background: linear-gradient(160deg, #FDFAF6 0%, #F5F0EB 50%, #EDE5D8 100%);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
  animation: cardReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.card:hover {
  box-shadow: var(--shadow-hover);
}

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

/* ── Accent Bars ── */
.card__accent-bar {
  height: 5px;
  background: linear-gradient(90deg, var(--slate-dark) 0%, var(--copper) 40%, var(--copper-light) 70%, var(--copper-pale) 100%);
  position: relative;
  overflow: hidden;
}

.card__accent-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
  animation: shimmer 3s ease-in-out infinite;
}

.card__accent-bar--bottom {
  background: linear-gradient(90deg, var(--copper-pale) 0%, var(--copper-light) 30%, var(--copper) 60%, var(--slate-dark) 100%);
}

@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ── Header ── */
.card__header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 36px 36px 28px;
  animation: fadeUp 0.7s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── Avatar ── */
.card__avatar {
  position: relative;
  flex-shrink: 0;
}

.avatar__initials {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--slate-dark) 0%, var(--slate) 50%, var(--slate-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--copper-light);
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(30,42,53,0.3);
}

.avatar__ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--copper);
  opacity: 0.5;
  animation: ringPulse 3s ease-in-out infinite;
}

.avatar__ring--2 {
  inset: -11px;
  border-color: var(--copper-light);
  opacity: 0.25;
  animation-delay: -1.5s;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%       { transform: scale(1.04); opacity: 0.8; }
}

/* ── Identity ── */
.card__identity {
  flex: 1;
  min-width: 0;
}

.card__name {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--slate-dark);
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--slate-dark) 0%, var(--copper) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: nameReveal 1s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes nameReveal {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}

.card__title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--copper);
  margin-top: 6px;
}

.card__subtitle {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.4;
}

/* ── Divider ── */
.card__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 36px;
  margin: 4px 0;
}

.divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper-light), transparent);
  opacity: 0.5;
}

.divider__icon {
  font-size: 8px;
  color: var(--copper);
  opacity: 0.7;
}

/* ── Tagline ── */
.card__tagline {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.7;
  color: var(--slate-mid);
  padding: 20px 36px;
  text-align: center;
  animation: fadeUp 0.7s 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── Sections ── */
.card__section {
  padding: 20px 36px;
  animation: fadeUp 0.7s 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.section__label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section__label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--copper-light), transparent);
  opacity: 0.4;
}

/* ── Expertise Chips ── */
.expertise__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.expertise__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(184,115,51,0.08) 0%, rgba(212,165,116,0.06) 100%);
  border: 1px solid rgba(184,115,51,0.2);
  border-radius: var(--radius-chip);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--slate);
  transition: all 0.25s ease;
  cursor: default;
  animation: chipPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.expertise__chip:nth-child(1)  { animation-delay: 0.5s; }
.expertise__chip:nth-child(2)  { animation-delay: 0.55s; }
.expertise__chip:nth-child(3)  { animation-delay: 0.6s; }
.expertise__chip:nth-child(4)  { animation-delay: 0.65s; }
.expertise__chip:nth-child(5)  { animation-delay: 0.7s; }
.expertise__chip:nth-child(6)  { animation-delay: 0.75s; }
.expertise__chip:nth-child(7)  { animation-delay: 0.8s; }
.expertise__chip:nth-child(8)  { animation-delay: 0.85s; }
.expertise__chip:nth-child(9)  { animation-delay: 0.9s; }
.expertise__chip:nth-child(10) { animation-delay: 0.95s; }
.expertise__chip:nth-child(11) { animation-delay: 1.0s; }
.expertise__chip:nth-child(12) { animation-delay: 1.05s; }

@keyframes chipPop {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

.expertise__chip:hover {
  background: linear-gradient(135deg, rgba(184,115,51,0.18) 0%, rgba(212,165,116,0.14) 100%);
  border-color: var(--copper);
  color: var(--slate-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(184,115,51,0.2);
}

.chip__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
  flex-shrink: 0;
}

/* ── Support List ── */
.support__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.support__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--slate);
  line-height: 1.5;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background 0.2s ease;
  animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.support__item:nth-child(1) { animation-delay: 0.6s; }
.support__item:nth-child(2) { animation-delay: 0.65s; }
.support__item:nth-child(3) { animation-delay: 0.7s; }
.support__item:nth-child(4) { animation-delay: 0.75s; }
.support__item:nth-child(5) { animation-delay: 0.8s; }
.support__item:nth-child(6) { animation-delay: 0.85s; }
.support__item:nth-child(7) { animation-delay: 0.9s; }

.support__item:hover {
  background: rgba(184,115,51,0.06);
}

.support__check {
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Contact ── */
.card__contact {
  padding: 20px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fadeUp 0.7s 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(30,42,53,0.04) 0%, rgba(184,115,51,0.04) 100%);
  border: 1px solid rgba(184,115,51,0.15);
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.contact__item--phone {
  background: linear-gradient(135deg, rgba(30,42,53,0.06) 0%, rgba(184,115,51,0.08) 100%);
  border-color: rgba(184,115,51,0.3);
}

.contact__item:hover {
  background: linear-gradient(135deg, rgba(30,42,53,0.08) 0%, rgba(184,115,51,0.12) 100%);
  border-color: var(--copper);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(184,115,51,0.15);
}

.contact__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--slate-dark), var(--slate));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__icon svg {
  width: 18px;
  height: 18px;
  color: var(--copper-light);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact__label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--copper);
}

.contact__value {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-dark);
}

/* ── CTA Button ── */
.card__cta {
  padding: 8px 36px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: fadeUp 0.7s 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--slate-dark) 0%, var(--slate) 50%, var(--slate-mid) 100%);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(30,42,53,0.3);
}

.cta__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--copper) 0%, var(--copper-light) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cta__btn:hover::before {
  opacity: 1;
}

.cta__btn span,
.cta__btn svg {
  position: relative;
  z-index: 1;
}

.cta__btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.cta__btn:hover svg {
  transform: translateX(4px);
}

.cta__btn:hover {
  box-shadow: 0 10px 30px rgba(184,115,51,0.4);
  transform: translateY(-2px);
}

/* ── WhatsApp Button ── */
.cta__btn--whatsapp {
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
  box-shadow: 0 6px 20px rgba(37,211,102,0.3);
  margin-top: 0;
}

.cta__btn--whatsapp::before {
  background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
}

.cta__btn--whatsapp:hover {
  box-shadow: 0 10px 30px rgba(37,211,102,0.45);
}

.wa-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* ── Footer ── */
.card__footer {
  padding: 16px 36px 20px;
  text-align: center;
  animation: fadeUp 0.7s 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.card__footer p {
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

/* ── Shared Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 560px) {
  body { padding: 24px 16px; }

  .card__header {
    padding: 28px 24px 22px;
    gap: 18px;
  }

  .avatar__initials {
    width: 68px;
    height: 68px;
    font-size: 24px;
  }

  .card__name { font-size: 28px; }
  .card__title { font-size: 11px; }

  .card__tagline,
  .card__section,
  .card__contact,
  .card__cta,
  .card__footer,
  .card__divider { padding-left: 24px; padding-right: 24px; }

  .expertise__chip { font-size: 11px; padding: 5px 11px; }
  .contact__value { font-size: 13px; }
}

@media (max-width: 380px) {
  .card__name { font-size: 24px; }
  .card__header { flex-direction: column; text-align: center; }
  .card__identity { text-align: center; }
}