.hero {
  position: relative;
  width: 100%;
  height: 520px;
  background: #f8fafc;
  overflow: hidden;
}

.canvas {
  position: absolute;
  left: 80px;
  top: 60px;
  width: 620px;
  height: 400px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
}

.sidebar {
  position: absolute;
  right: 60px;
  top: 60px;
  width: 200px;
  height: 400px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.widget {
  width: 100%;
  height: 72px;
  background: #fff;
  border: 2px solid #38bdf8;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.canvas .widget {
  position: absolute;
}

.cursor {
  position: absolute;
  font-size: 26px;
  pointer-events: none;
  z-index: 10;
}

.resize-handle {
  position: absolute;
  width: 14px;
  height: 14px;
  right: 12px;
  bottom: 12px;
  border-right: 2px solid #38bdf8;
  border-bottom: 2px solid #38bdf8;
  opacity: 0;
}



.sidebar {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, #1e3a8a, #1e293b);
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
  animation: sidebarEnter 1s cubic-bezier(.22,.61,.36,1),
             floating 6s ease-in-out infinite 1s;
}

.card {
  height: 60px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: white;
  opacity: 0;
  transform: translateY(-30px);
  animation: cardEnter 0.8s cubic-bezier(.22,.61,.36,1) forwards;
}

.card:nth-child(1){ animation-delay: .4s; }
.card:nth-child(2){ animation-delay: .6s; }
.card:nth-child(3){ animation-delay: .8s; }
.card:nth-child(4){ animation-delay: 1s; }
.card:nth-child(5){ animation-delay: 1.2s; }
.card:nth-child(6){ animation-delay: 1.4s; }

/* Sidebar Slide */
@keyframes sidebarEnter {
  from {
    transform: translate(80px,-50%);
    opacity: 0;
  }
  to {
    transform: translate(0,-50%);
    opacity: 1;
  }
}

/* Card Stagger */
@keyframes cardEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating */
@keyframes floating {
  0%,100% { transform: translateY(-50%) }
  50% { transform: translateY(-48%) }
}


.progress-bar {
  width: 0%;
  height: 6px;
  background: #22c55e;
  border-radius: 4px;
  animation: progressFill 2s ease-out 1.2s forwards;
}

@keyframes progressFill {
  to { width: 85%; }
}


.check {
  animation: glow 2s ease-in-out infinite 2s;
}

@keyframes glow {
  0%,100% { box-shadow: 0 0 0 rgba(59,130,246,0); }
  50% { box-shadow: 0 0 20px rgba(59,130,246,0.6); }
}